IBM Support

Change BMC network IP address

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 -u

[{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":null,"Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 September 2018

UID

isg3T1014662