====== ipmitool Server内から、IPMI IP確認 ====== ipmitoolを利用すれば、サーバ内からIPMI IPを確認できる。 IPMIユーザの確認や、IPMIユーザのパスワードリセットなども... 困った時にちょっと便利 yum -y install ipmitool ===== IPMI IPの確認 ===== # modprobe -a ipmi_devintf ipmi_si ipmi_msghandler WARNING: Module ipmi_si not found. WARNING: Module ipmi_msghandler not found. # ipmitool lan print Set in Progress : Set Complete Auth Type Support : NONE MD2 MD5 OEM Auth Type Enable : Callback : NONE MD2 MD5 OEM : User : NONE MD2 MD5 OEM : Operator : NONE MD2 MD5 OEM : Admin : NONE MD2 MD5 OEM : OEM : IP Address Source : Static Address IP Address : 172.16.0.11 Subnet Mask : 255.255.255.0 MAC Address : bc:ae:c5:55:9c:1e SNMP Community String : AMI IP Header : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00 BMC ARP Control : ARP Responses Disabled, Gratuitous ARP Disabled Gratituous ARP Intrvl : 0.0 seconds 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 : 1,2,3,6,7,8,11,12,0,0,0,0,0,0,0,0 Cipher Suite Priv Max : aaaaXXaaaXXaaXX : X=Cipher Suite Unused : c=CALLBACK : u=USER : o=OPERATOR : a=ADMIN : O=OEM ===== ユーザの一覧確認 ===== # ipmitool user list 1 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 1 false false true ADMINISTRATOR 2 root true false true CALLBACK 3 administrator true false true ADMINISTRATOR ===== ユーザ名変更 ===== # ipmitool user set name 2 admin # ipmitool user list 2 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 1 Administrator true false true ADMINISTRATOR 2 admin true false true USER ===== パスワードリセット ===== # ipmitool user set password 3 Password for user 3: Password for user 3: ===== 権限追加 ===== ipmitool user priv [user id] [priv] [channel] # ipmitool user priv 2 4 2 {{tag>ipmi}}