How to Re-IP a vCloud Director Cell

There’s been a comment on the vExpert Slack asking about how to Re-IP a VCD (vCloud Director) cell. Here’s a rough method to carry out the task.

The basic method would be to:

  • Log into the VCD Cell in question that needs to be re-IP’d
  • Enter ‘service vmware-vcd stop’
  • On the Database Server for the vCloud Director cells log into the SQL Manager session with an account with edit rights on the vCloud database
  • Open up a new query window and select the vCloud Director database as the target of the script
  • Execute the following SQL statements:

select name from cells;

update cells set primary_ip=’<new-cell-ip-address>’ where name=’<name-of-the-cell>’;

  • Back on the vCloud Director Cells navigate into the $VCLOUD_HOME/etc directory and change the following 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 the field appropriately

  • Change the IP address of the VM via whatever means the OS requires & update DNS records
  • When the VM has been successfully re-IP’d then start the VCD service on the cell with the command:

‘service vmware-vcd start’

PS: Be careful with any SSL certs that have IP’s embedded as Subject Alternative Names (SAN). You may need to generate new SSL certs and replace the existing ones if needs be.

This entry was posted in VMWare and tagged , , , . Bookmark the permalink.

177 Responses to How to Re-IP a vCloud Director Cell

  1. Emma says:

    I really liked how you broke the project into manageable steps, especially the tip about measuring twice before making any cuts. The finished result looks polished without requiring expensive tools or materials.

  2. Valuable information. Lucky me I found your site by accident, and I am shocked why this accident did not happened earlier! I bookmarked it.

  3. CAMA?EU says:

    This was helpful, the part about comfortable materials was covered thoroughly, exactly what I was looking for.

  4. Howdy! I cluld have sworn I’ve been tto thjis webeite befopre
    but afteer browsing through some of tthe post I realized it’s new to
    me. Anyhow, I’m definifely delkighted I fpund itt aand I’ll be bookmarking and checking backk often! xnxx

  5. The SQL update to the cells table and the changes to `vcloud.cell.ip.primary` and `consoleproxy.host.https` provide a useful checklist for re-IPing a vCloud Director cell. I’d also recommend validating the database entry and console proxy connectivity before bringing the cell back into service.

  6. The SQL update to the cells table is a useful detail, especially alongside changing both `vcloud.cell.ip.primary` and `consoleproxy.host.https`. It’s a practical checklist for avoiding missed references when re-IPing a vCloud Director cell.

  7. The SQL update to the cells table and the changes to `vcloud.cell.ip.primary` and `consoleproxy.host.https` make this a useful practical checklist for re-IPing a VCD cell. I’d also recommend highlighting any required service restarts or validation steps after applying the new addresses.

  8. The SQL update to the cells table is a useful detail, especially alongside changing both `vcloud.cell.ip.primary` and `consoleproxy.host.https`. It would also be helpful to include a note about taking a database backup and restarting the cell services after the re-IP.

  9. Quinn Zhao says:

    The SQL update to the cells table and the changes to `vcloud.cell.ip.primary` and `consoleproxy.host.https` make this a useful practical checklist for re-IPing a VCD cell. I’d also recommend highlighting any required service restarts or validation steps after the configuration changes.

Leave a Reply

Your email address will not be published. Required fields are marked *