Working on a solution with Chris Colotti and other colleagues, we came across a KB article that details how to change the IP address on a vCD cell.
I had never thought about this previously, having never changed an IP address of a cell. When you build your vCD cells, you bind specific services to IP addresses. You need to make the database aware of these changes once you have re-ip’d the operating system. This KB Article explains the full procedure on how to do this.
These are the steps how to reconfigure the vCD database from the KB article above:
- Ensure to shutdown all the cells.To shutdown a cell, run this command from within the Red Hat system which is hosting the vCloud Director software:service vmware-vcd stop
- Change the column value of PRIMARY_IP in the CELLS table to the new primary IP.
- In the DB machine, run this command from the command prompt:sqlplus vcloud-db-user/vcloud-db-user-password
- Execute these SQL statements:
- select name from cells;Note: This returns a list of all the cells in the cluster.
- update cells set primary_ip='<new-cell-primary-ip>’ where name='<name-of-the-cell>’;Where <new-cell-primary-ip> is the new primary IP of the vCloud Director server and <name-of-the-cell> is the name of the cell from Step i.
- commit;
- From within the Red Hat system which is hosting the vCloud Director software, navigate into the $VCLOUD_HOME/etcdirectory using the cd command and change these values in the global.properties file:
- vcloud.cell.ip.primary – Change it to the new primary IP address
- consoleproxy.host.https – Change it to the new console proxy IP address
- vcloud.cell.ips – Change both the IPs in this field appropriately
- Restart the cells.To restart a cell, run this command:service vmware-vcd start

No comments yet.