Hi
A maintenance mode in the heartbeat-stack does not work by this
difference now in RHEL6.
The reason is because /var/run/heartbeat/rsctmp is deleted at the
time of initialization of Heartbeat.
Some RA makes a status file there.
The resource-agents.spec files are as follows.
------
151 %if 0%{?fedora} >= 11 || 0%{?centos_version} > 5 || 0%{?rhel} > 5
152 CFLAGS="$(echo '%{optflags}')"
153 %global conf_opt_rsctmpdir
"--with-rsctmpdir=%{_var}/run/heartbeat/rsctmp"
154 %global conf_opt_fatal "--enable-fatal-warnings=no"
155 %else
156 CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
157 %global conf_opt_fatal "--enable-fatal-warnings=yes"
158 %endif
------
Why is it that I use rsctmp in RHEL6?
Should I want to delete the 153 line if possible?
I contribute a patch if good.
Regards,
Tomo
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
A maintenance mode in the heartbeat-stack does not work by this
difference now in RHEL6.
The reason is because /var/run/heartbeat/rsctmp is deleted at the
time of initialization of Heartbeat.
Some RA makes a status file there.
The resource-agents.spec files are as follows.
------
151 %if 0%{?fedora} >= 11 || 0%{?centos_version} > 5 || 0%{?rhel} > 5
152 CFLAGS="$(echo '%{optflags}')"
153 %global conf_opt_rsctmpdir
"--with-rsctmpdir=%{_var}/run/heartbeat/rsctmp"
154 %global conf_opt_fatal "--enable-fatal-warnings=no"
155 %else
156 CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
157 %global conf_opt_fatal "--enable-fatal-warnings=yes"
158 %endif
------
Why is it that I use rsctmp in RHEL6?
Should I want to delete the 153 line if possible?
I contribute a patch if good.
Regards,
Tomo
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/