Troubleshooting
Problem
Change BMC network IP address
Resolving The Problem
You want to know how to change the existing BMC network and IP address in PCM.
Since the BMC network is already in used in the cluster, kusu does not allow you to edit the information using kusu-netedit command. You have to update them directly from the database.
To query the current information of BMC network in database:
# sqlrunner -q "select * from networks where device='bmc'"
You may need to update the network, subnet, gateway, and start IP of the BMC network. Run this command by replacing with your new BMC network information.
# sqlrunner -q "update networks set network='192.168.111.0', subnet='255.255.255.0', gateway='192.168.111.254', startip='192.168.111.1' where device='bmc'"
To update the IP address of each BMC device, run this command
# sqlrunner -q "UPDATE nics SET ip='' WHERE ip=' '"
For example, if you want to change the BMC IP address '172.18.1.5' to '192.168.1.5'
# sqlrunner -q "UPDATE nics SET ip='192.168.1.5' WHERE ip='172.18.1.5'"
Then update the configurations on the nodes by running command
# kusu-addhost -uWas this topic helpful?
Document Information
Modified date:
16 September 2018
UID
isg3T1014662