[Merge] lp:~manjo/ubuntu/trusty/systemd/HP-m800 into lp:ubuntu/trusty/systemd

Manoj Iyer manoj.iyer at canonical.com
Tue Aug 5 15:51:25 UTC 2014


== C3N3 ===

ubuntu at ubuntu:~$ cat /lib/udev/rules.d/70-power-switch.rules
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

ACTION=="remove", GOTO="power_switch_end"

SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="platform", KERNELS=="gpio_keys.12", ATTRS{keys}=="116", PROGRAM="/bin/cat /proc/device-tree/model", RESULT=="HP ProLiant m800 Server Cartridge", TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch"

LABEL="power_switch_end"

ubuntu at ubuntu:~$ uname -a 
Linux ubuntu 3.13.0-8-keystone #12-Ubuntu SMP Sat Jul 19 07:56:07 UTC 2014 armv7l armv7l armv7l GNU/Linux

ubuntu at ubuntu:~$ cat /proc/device-tree/model 
HP ProLiant m800 Server Cartridgeubuntu at ubuntu:~$ 

== INITIATING SOFT SHUTDOWN FROM ILO ==
</>hpiLO-> set node power off shutdown c3n3

  c3: #Cartridge 3
    c3n3: #Node 3 Shutting node down gracefully

hpiLO-> 


== SYSTEM SHUTTING DOWN AS EXPECTED ==
ubuntu at ubuntu:~$ cat /proc/device-tree/model 
HP ProLiant m800 Server Cartridgeubuntu at ubuntu:~$ 
Broadcast message from root at ubuntu
	(unknown) at 11:49 ...

The system is going down for power off NOW!
Connection to 192.168.17.24 closed by remote host.
Connection to 192.168.17.24 closed.

== CONFIRM WITH ILO THAT NODE IS POWERED DOWN ==
hpiLO-> show node list 

Slot ID    Proc Manufacturer      Architecture         Memory Power Health
---- ----- ---------------------- -------------------- ------ ----- ------
  3  c3n1  *                      ARM Architecture     8 GB   Off   OK 
  3  c3n2  *                      ARM Architecture     8 GB   On    OK 
  3  c3n3  *                      ARM Architecture     8 GB   Off   OK 
  3  c3n4  *                      ARM Architecture     8 GB   On    OK 


hpiLO-> 

-- 
https://code.launchpad.net/~manjo/ubuntu/trusty/systemd/HP-m800/+merge/227649
Your team Ubuntu branches is requested to review the proposed merge of lp:~manjo/ubuntu/trusty/systemd/HP-m800 into lp:ubuntu/trusty/systemd.



More information about the Ubuntu-reviews mailing list