Dependence
Assume we need access remote server from local machine, following package and configuration should be matched on them individually.
(following command are based on the SuperMicro X10 2U server, Host IP of the two servers are 192.168.1.114 and 192.168.1.115 respectively)
On local machine and remote server: install ipmitool.x86_64
Maybe you can run “yum install ipmitool.x86_64” to install it.
On remote server: we need set BMC LAN IP firstly.
Take remote server 192.168.1.114 for example:
ipmitool LAN set 1 ipaddr 192.168.1.80
Enable BMC LAN access:
ipmitool channel info
ipmitool channel info 1
ipmitool user list 1
ipmitool user enable 3
ipmitool channel setaccess 1 3 callin=on ipmi=on link=on privilege=4
Add BMC user name and password for LAN access:
ipmitool user priv 3 4 1
ipmitool user name 3 admin
ipmitool user set name 3 admin
ipmitool user set password 3 admin
Besides above, remote server's BMC and local machine should connect to same local network, then you can access remote server's BMC through LAN interface.