vCloud Director 5.1 cell – change the database

Adding a cell to an existing deployment requires accessing the same database (and using the responses.properties file from the initial install) but if you decide to make the second cell stand-alone or made a mistake during deployment or just want to migrate the database to a new server, here’s how you make the change:

edit the /opt/vmware/vcloud-director/etc/global.properties file
change the serverip (could be IP or FQDN) and database name in this line:
database.jdbcUrl = jdbc:jtds:sqlserver:\/\/serverip:1433\/databasename;socketTimeout=90

exit, stop the cell (service vmware-vcd stop) and run /opt/vmware/vcloud-director/bin/config again picking the defaults (you’ll need to remember your keystore path and password)

let it start the cell and voila!

Here’s a KB article on getting configure to prompt for all the DB info when it runs. To wit, blank the database.jbdcUrl=, database.username=, and database.password= lines in global.properties before running /bin/config.

About these ads

About JAndrews

Currently a VMware Certified Instructor and vExpert (2012) I have been a programmer, network admin, network engineer, security specialist, storage specialist and virtualization specialist. See About for more. Certifications include VMware: VCI, VCAP(4,5)-DCA, VCP (3,4,5) | Microsoft: MCSE (NT, 2003:Messaging, Security) | NetApp NACE | Novell CNE | IBM CATE
This entry was posted in Cloud Posts, Computing, Virtualization, VMware and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s