/etc/powerman/hpmpblade.dev is in powerman 2.3.5-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | # HP Management Processor device (MP)
# a.k.a. Integrity Integrated Lights-Out 2
#
# (c) Copyright 2009 Hewlett-Packard Development Company, L.P.
# Bjorn Helgaas <bjorn.helgaas@hp.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# Example:
# device "bl860c-001" "hpmpblade" "bl860c-001-mp.test:23"
# node "bl860c-001" "bl860c-001"
#
# Tested on:
# BL860c (MP firmware T.02.16)
specification "hpmpblade" {
timeout 10
plug name { "1" }
script login {
expect "login: "
send "Admin\r\n"
expect "password: "
send "Admin\r\n"
expect "MP> "
send "cm\r\n"
expect "MP:CM> "
}
script status {
send "ps\r\n"
expect "System Power state[^O]+(On|Off)"
setplugstate "1" $1 on="On" off="Off"
expect "MP:CM> "
}
script on {
send "pc -on -nc\r\n"
expect "MP:CM> "
}
script off {
send "pc -off -nc\r\n"
expect "MP:CM> "
}
script reset {
send "rs -nc\r\n"
expect "MP:CM> "
}
script status_beacon {
send "loc -nc\r\n"
expect "Server Locator UID LED[^O]+(On|Off)"
setplugstate "1" $1 on="On" off="Off"
expect "MP:CM> "
}
script beacon_on {
send "loc -on -nc\r\n"
expect "MP:CM> "
}
script beacon_off {
send "loc -off -nc\r\n"
expect "MP:CM> "
}
}
|