from wiki
This commit is contained in:
parent
5e9ef5d63d
commit
6997c1cb37
1 changed files with 76 additions and 0 deletions
76
pages/IPMItool.md
Normal file
76
pages/IPMItool.md
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
# Installing IPMItool
|
||||
|
||||
## Install, of course
|
||||
|
||||
```
|
||||
apt-get install ipmitool
|
||||
```
|
||||
|
||||
which will, among other things, produce
|
||||
|
||||
```
|
||||
[....] Starting IPMI event daemon ipmievdipmievd: using pidfile /var/run/ipmievd.pid0
|
||||
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
|
||||
Unable to open interface
|
||||
failed!
|
||||
invoke-rc.d: initscript ipmievd, action "start" failed.
|
||||
Unable to start ipmievd during installation. Trying to disable.
|
||||
```
|
||||
|
||||
## Enable IPMI
|
||||
|
||||
```
|
||||
modprobe ipmi_devintf
|
||||
modprobe ipmi_si
|
||||
```
|
||||
|
||||
## Test
|
||||
|
||||
```
|
||||
vm0.dfw.rg.net:/root# ipmitool lan print 1
|
||||
Set in Progress : Set Complete
|
||||
Auth Type Support : MD2 MD5 OEM
|
||||
Auth Type Enable : Callback : MD2 MD5 OEM
|
||||
: User : MD2 MD5 OEM
|
||||
: Operator : MD2 MD5 OEM
|
||||
: Admin : MD2 MD5 OEM
|
||||
: OEM :
|
||||
IP Address Source : Static Address
|
||||
IP Address : 198.666.42.34
|
||||
Subnet Mask : 255.255.255.192
|
||||
MAC Address : 00:30:48:f6:38:15
|
||||
SNMP Community String : AMI
|
||||
IP Header : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
|
||||
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
|
||||
Gratituous ARP Intrvl : 0.0 seconds
|
||||
Default Gateway IP : 198.666.42.1
|
||||
Default Gateway MAC : 00:00:00:00:00:00
|
||||
Backup Gateway IP : 0.0.0.0
|
||||
Backup Gateway MAC : 00:00:00:00:00:00
|
||||
802.1q VLAN ID : Disabled
|
||||
802.1q VLAN Priority : 0
|
||||
RMCP+ Cipher Suites : 1,2,3,6,7,8,11,12,0
|
||||
Cipher Suite Priv Max : aaaaXXaaaXXaaXX
|
||||
: X=Cipher Suite Unused
|
||||
: c=CALLBACK
|
||||
: u=USER
|
||||
: o=OPERATOR
|
||||
: a=ADMIN
|
||||
: O=OEM
|
||||
```
|
||||
|
||||
## Configure IPMI Using ipmitool
|
||||
|
||||
Addresses and passwords have been changed to protect the guilty.
|
||||
|
||||
```
|
||||
ipmitool lan set 1 ipsrc static
|
||||
ipmitool lan set 1 ipaddr 198.666.42.37
|
||||
ipmitool lan set 1 netmask 255.255.255.0
|
||||
ipmitool lan set 1 defgw ipaddr 198.666.42.1
|
||||
ipmitool user set password 2 omphamoskepsis
|
||||
ipmitool user set name 3 admin
|
||||
ipmitool user enable 3
|
||||
ipmitool user set password 3 omphamoskepsis
|
||||
ipmitool channel setaccess 1 3 privilege=4
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue