Un poquito de IPMI por favor

Hola,

paso a resaltar algunos comando practicos para gesti’on de IPMI. Estos comandos funcionan en entornos linux y nos permiten hacer cambio sin necesidad de rebotar la maquina, lo cual es de gran utilidad.

Habitualmente, al realizar cambios de configuraci’on, el IPMI se queda atascado y no queda otra que reiniciarlo, la forma de hacer esto es:

ipmitool mc reset cold

Esto no es un reset de la maquina, es un reset de la unidad IPMI.

Ejemplo de reconfiguracion IP

[root@hn2319c ~]# ipmitool lan set 1 ipaddr a.b.c.d
Setting LAN IP Address to a.b.c.d
[root@h ~]# ipmitool lan set 1 defgw ipaddr
Setting LAN Default Gateway IP to
[root@hn~]# ipmitool lan set 1 netmask 255.255.255.224
Setting LAN Subnet Mask to 255.255.255.224
[root@hn ~]# ipmitool lan print
Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback : MD2 MD5 PASSWORD
: User : MD2 MD5 PASSWORD
: Operator : MD2 MD5 PASSWORD
: Admin : MD2 MD5 PASSWORD
: OEM : MD2 MD5 PASSWORD
IP Address Source : Static Address
IP Address : a.b.c.d
Subnet Mask : 255.255.255.224
MAC Address : 00:25:90:12:48:20
SNMP Community String : public
IP Header : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
Default Gateway IP : 0.0.0.0
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 : 0,1,2,3,6,7,8,11,12
Cipher Suite Priv Max : aaaaXXaaaXXaaXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
[root@hn ~]# ipmitool mc reset cold

This entry was posted in Monitorizar. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *