-run Yum install OpenIPMI OpenIPMI-tools OpenIPMI-libs OpenIPMI-devel- -1) Enable the IPMI service: >/sbin/chkconfig ipmi on -2) Start the service: >/sbin/service start
once this is complete, run the following commands to set up server env.
- Set up the BMC for remote use:
-1) set up ipaddress, check with netdb for IP with $server-mgt >/usr/bin/ipmitool -I open lan set 1 ipaddr 172.25.77.123 -2) set up default gateway >/usr/bin/ipmitool -I open lan set 1 defgw ipaddr 172.25.77.1 -3) set up netmask >/usr/bin/ipmitool -I open lan set 1 netmask 255.255.255.0 -4) set up access >/usr/bin/ipmitool -I open lan set 1 access on- Set up the null security:
-1) Add the community name >/usr/bin/ipmitool -I open lan set 1 snmp cherry -2) make randum string for null password >/usr/bin/ipmitool -I open lan set 1 passwd blahblahblah -3) Check the settings that you just set up >>/usr/bin/ipmitool -I open lan print 1- Test the configuration from another server with IPMI installed:
-1) you can set the environment password as such >export IPMI_PASSWORD="whatever the password is" -1') if use variable then change the command line "-a" to "-E". -2) runthe command to test the connection and response >/usr/bin/ipmitool -I lan -U root -H $server -a chassis power status -3) should return this: >chassis power on- I made a quick shell file with the commands in it
>scp admin@pinot:/home/admin/ipm.sh . (get the sh file) >chmod +x ipm.shcat ipmi.sh #!/bin/sh echo "What is the IP?" read IP /sbin/chkconfig ipmi on /sbin/service ipmi start /usr/bin/ipmitool -I open lan set 1 ipaddr 172.25.77.$IP /usr/bin/ipmitool -I open lan set 1 defgw ipaddr 172.25.77.1 /usr/bin/ipmitool -I open lan set 1 netmask 255.255.255.0 /usr/bin/ipmitool -I open lan set 1 access on /usr/bin/ipmitool -I open lan set 1 snmp cherry /usr/bin/ipmitool -I open lan set 1 password psodjfoangfonagijapoijfn /usr/bin/ipmitool -I open user set password 2 nv2Clump /usr/bin/ipmitool -I open lan print echo "now test from budlight by typing: /usr/bin/ipmitool -I lan -U root -H batter-mgt -a chassis power status"