[Linux-cluster] ACPI like feature on RHEL 7 with Pacemaker?

Robert Hayden rhayden.public at gmail.com
Fri Mar 18 13:24:21 UTC 2016


I was testing fence_ipmilan on RHEL 7 cluster and noticed that running the
fence agent with the option to power off the remote node, it appears to
cleanly stop the remote node instead of removing power immediately.  I
suspect something like ACPI intercepting the power off and trying to stop
RHEL 7 nicely.  I read through the documentation and did not see any
mentions of turning off acpid in RHEL 7 (may because it does not exist)
like in the RHEL 6 documentation.



Is the proper way to disable acpi like functionality to use the kernel line
acpi=off?  Curious on what others are using with HP iLO.



Example of remote node’s /var/log/messages … the RHCS_TESTING lines are my
unit testing scripts that insert the command I am running.  You can see
where I attempt to power off the node and then how system is starting to
cleanly stop the node along with pacemaker.



Mar 17 15:38:37 node2 RHCS_TESTING: .

Mar 17 15:38:37 node2 RHCS_TESTING: CMD/MSG: fence_ipmilan -P -a x.x.x.x -l
XXXXXX -p XXXXX  -L OPERATOR -A password -o off

Mar 17 15:38:37 node2 RHCS_TESTING: .

Mar 17 15:38:37 node2 systemd-logind: Removed session 993.

Mar 17 15:38:37 node2 systemd: Removed slice user-0.slice.

Mar 17 15:38:37 node2 systemd: Stopping user-0.slice.

Mar 17 15:38:37 node2 systemd-logind: Power key pressed.

Mar 17 15:38:37 node2 systemd-logind: Powering Off...

Mar 17 15:38:37 node2 systemd-logind: System is powering down.

Mar 17 15:38:37 node2 systemd: Stopping Availability of block devices...

Mar 17 15:38:37 node2 systemd: Stopping LVM2 PV scan on device 8:2...

Mar 17 15:38:37 node2 systemd: Stopping Pacemaker High Availability Cluster
Manager...

Mar 17 15:38:37 node2 systemd: Deactivating swap
/dev/mapper/vg00-swaplv00...

Mar 17 15:38:37 node2 pacemakerd[79586]:  notice: Invoking handler for
signal 15: Terminated

Mar 17 15:38:37 node2 pacemakerd[79586]:  notice: Shuting down Pacemaker

Mar 17 15:38:37 node2 pacemakerd[79586]:  notice: Stopping crmd: Sent -15
to process 79592

Mar 17 15:38:37 node2 crmd[79592]:  notice: Invoking handler for signal 15:
Terminated

Mar 17 15:38:37 node2 crmd[79592]:  notice: Requesting shutdown, upper
limit is 1200000ms

Mar 17 15:38:37 node2 crmd[79592]:  notice: State transition S_IDLE ->
S_POLICY_ENGINE [ input=I_SHUTDOWN cause=C_SHUTDOWN origin=crm_shutdown ]

Mar 17 15:38:37 node2 multipathd: mpathb: stop event checker thread
(140595795502848





Thanks

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20160318/590638a3/attachment.htm>


More information about the Linux-cluster mailing list