{"id":7810,"date":"2021-01-12T13:20:05","date_gmt":"2021-01-12T18:20:05","guid":{"rendered":"https:\/\/chriscolotti.us\/?p=7810"},"modified":"2021-01-12T13:24:08","modified_gmt":"2021-01-12T18:24:08","slug":"how-to-properly-change-the-vmware-cloud-director-database-ip","status":"publish","type":"post","link":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/","title":{"rendered":"How to Properly Change The VMware Cloud Director Database IP"},"content":{"rendered":"\n

\"\"<\/a><\/p>\n

Believe it or not I ran into this problem recently.\u00a0 Suffice to say I realized if you deploy the VMware Cloud Director appliance with the primary and database IP on the same VLAN, some things go a little wonky.\u00a0 A few people mentioned outside the official docs that you should not do this, but it was too late I didn’t want to re-deploy again.\u00a0 That being said there a few ways to mange this, but one ends up being the “right” way.<\/p>\n


\n

First, Change the appliance IP<\/h3>\n

This is also not too hard to do.\u00a0 It is just a matter of changing the IP on the ethernet adapter that is interface one which is \/etc\/systemd\/network\/10-eth1.network and you just need to make the real time changes and restart the networking.\u00a0 This will get the IP changed but since the appliance is based on an OVA this WILL be re-written on a reboot<\/p>\n

Second, Change the Database Table<\/h3>\n

This is very well documented<\/a> by VMware so there is not much to really discuss on it.\u00a0 Basically it’s a few steps to ensure that the new IP is listed in the database.\u00a0 However, if you don’t perform the last step listed below this can be re-wrtten on a reboot.<\/p>\n

Third, Change OVA attributes<\/h3>\n

This is the most important step and one that took myself and Jon Hildebrand a little bit of digging.\u00a0 The fact is the appliance on reboots re-checks the original settings in the OVA files.\u00a0 Below are the commands to help you make the final change so you will not have issue on reboot<\/p>\n\n\n\n

root@vcloud [ ~ ]# ovfenv\n[vami.DNS.VMware_vCloud_Director]=10.25.10.101,10.25.10.102\n[vami.domain.VMware_vCloud_Director]=VCD01\n[vami.gateway.VMware_vCloud_Director]=10.25.0.1\n[vami.ip0.VMware_vCloud_Director]=10.25.10.130\n[vami.ip1.VMware_vCloud_Director]=10.25.10.131\n[vami.netmask0.VMware_vCloud_Director]=255.255.240.0\n[vami.netmask1.VMware_vCloud_Director]=255.255.240.0\n[vami.searchpath.VMware_vCloud_Director]=corp.cohesity.rocks\n[vcloudapp.db_ha_type.VMware_vCloud_Director]=primary\n[vcloudapp.enable_ssh.VMware_vCloud_Director]=True\n[vcloudapp.expire_root_password.VMware_vCloud_Director]=False\n[vcloudapp.nfs_mount.VMware_vCloud_Director]=prd-coh01.corp.cohesity.rocks:\/VCDTransfer\n[vcloudapp.ntp-server.VMware_vCloud_Director]=time.nist.gov\n[vcloudapp.varoot-password.VMware_vCloud_Director]=#vf6l7&amp;&amp;9YQn!H&amp;pH\n[vcloudconf.admin_email.VMware_vCloud_Director]=tag-admins@cohesity.com\n[vcloudconf.admin_fname.VMware_vCloud_Director]=vCD Admin\n[vcloudconf.admin_pwd.VMware_vCloud_Director]=Mdu2eaK9w00c@EmlO\n[vcloudconf.admin_uname.VMware_vCloud_Director]=administrator\n[vcloudconf.ceip_enabled.VMware_vCloud_Director]=False\n[vcloudconf.db_pwd.VMware_vCloud_Director]=#5e0#4$s0Mb76Gzgo\n[vcloudconf.inst_id.VMware_vCloud_Director]=1\n[vcloudconf.sys_name.VMware_vCloud_Director]=vcd\n[vcloudnet.routes0.VMware_vCloud_Director]=\n[vcloudnet.routes1.VMware_vCloud_Director]=\n[vm.vmname]=VMware_vCloud_Director\n\n#Determine the values to change which the key ones for me were:\n[vami.ip1.VMware_vCloud_Director]=10.25.10.131\n[vami.netmask1.VMware_vCloud_Director]=255.255.240.0\n\n#Update the Variables as needed\nroot@vcloud [ ~ ]# ovfenv --key vami.ip1.VMware_vCloud_Director --value \"10.10.10.130\"\nroot@vcloud [ ~ ]# ovfenv --key vami.netmask1.VMware_vCloud_Director --value \"255.255.255.0\"<\/pre>\n\n\n\n

Once all this is completed you can reboot the machine multiple times and you should be getting the new database IP consistently.<\/p>\n","protected":false},"excerpt":{"rendered":"

Believe it or not I ran into this problem recently.\u00a0 Suffice to say I realized if you deploy the VMware Cloud Director appliance with the primary and database IP on the same VLAN, some things go a little wonky.\u00a0 A few people mentioned outside the official docs that you should not do this, but it …<\/p>\n","protected":false},"author":2,"featured_media":7839,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[5],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"\nHow to Properly Change The VMware Cloud Director Database IP \u2022 Chris Colotti's Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Properly Change The VMware Cloud Director Database IP \u2022 Chris Colotti's Blog\" \/>\n<meta property=\"og:description\" content=\"Believe it or not I ran into this problem recently.\u00a0 Suffice to say I realized if you deploy the VMware Cloud Director appliance with the primary and database IP on the same VLAN, some things go a little wonky.\u00a0 A few people mentioned outside the official docs that you should not do this, but it …\" \/>\n<meta property=\"og:url\" content=\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/\" \/>\n<meta property=\"og:site_name\" content=\"Chris Colotti's Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-12T18:20:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-12T18:24:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png?fit=419%2C130&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"419\" \/>\n\t<meta property=\"og:image:height\" content=\"130\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Chris Colotti\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ccolotti\" \/>\n<meta name=\"twitter:site\" content=\"@ccolotti\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Chris Colotti\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/\",\"url\":\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/\",\"name\":\"How to Properly Change The VMware Cloud Director Database IP \u2022 Chris Colotti's Blog\",\"isPartOf\":{\"@id\":\"https:\/\/chriscolotti.us\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png\",\"datePublished\":\"2021-01-12T18:20:05+00:00\",\"dateModified\":\"2021-01-12T18:24:08+00:00\",\"author\":{\"@id\":\"https:\/\/chriscolotti.us\/#\/schema\/person\/7dd10fd3d400b31cbb9a4a4a14adb0c7\"},\"breadcrumb\":{\"@id\":\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#primaryimage\",\"url\":\"https:\/\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png\",\"contentUrl\":\"https:\/\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png\",\"width\":419,\"height\":130},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/chriscolotti.us\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Properly Change The VMware Cloud Director Database IP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/chriscolotti.us\/#website\",\"url\":\"https:\/\/chriscolotti.us\/\",\"name\":\"Chris Colotti's Blog\",\"description\":\"Thoughts and Theories About...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/chriscolotti.us\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/chriscolotti.us\/#\/schema\/person\/7dd10fd3d400b31cbb9a4a4a14adb0c7\",\"name\":\"Chris Colotti\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/chriscolotti.us\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c93553a4a3e76f774ead33ebad5dbc1e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c93553a4a3e76f774ead33ebad5dbc1e?s=96&d=mm&r=g\",\"caption\":\"Chris Colotti\"},\"description\":\"Chris is active on the VMUG and event speaking circuit and is available for many events if you want to reach out and ask. Previously to this he spent close to a decade working for VMware as a Principal Architect. Previous to his nine plus years at VMware, Chris was a System Administrator that evolved his career into a data center architect. Chris spends a lot of time mentoring co-workers and friends on the benefits of personal growth and professional development. Chris is also amongst the first VMware Certified Design Experts (VCDX#37), and author of multiple white papers. In his spare time he helps his wife Julie run her promotional products as the accountant, book keeper, and IT Support. Chris also believes in both a healthy body and healthy mind, and has become heavily involved with fitness as a Diamond Team Beachbody Coach using P90X and other Beachbody Programs. Although Technology is his day job, Chris is passionate about fitness after losing 60 pounds himself in the last few years.\",\"sameAs\":[\"http:\/\/chriscolotti.us\"],\"url\":\"https:\/\/chriscolotti.us\/author\/ccolotti\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Properly Change The VMware Cloud Director Database IP \u2022 Chris Colotti's Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/","og_locale":"en_US","og_type":"article","og_title":"How to Properly Change The VMware Cloud Director Database IP \u2022 Chris Colotti's Blog","og_description":"Believe it or not I ran into this problem recently.\u00a0 Suffice to say I realized if you deploy the VMware Cloud Director appliance with the primary and database IP on the same VLAN, some things go a little wonky.\u00a0 A few people mentioned outside the official docs that you should not do this, but it …","og_url":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/","og_site_name":"Chris Colotti's Blog","article_published_time":"2021-01-12T18:20:05+00:00","article_modified_time":"2021-01-12T18:24:08+00:00","og_image":[{"width":419,"height":130,"url":"https:\/\/i2.wp.com\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png?fit=419%2C130&ssl=1","type":"image\/png"}],"author":"Chris Colotti","twitter_card":"summary_large_image","twitter_creator":"@ccolotti","twitter_site":"@ccolotti","twitter_misc":{"Written by":"Chris Colotti","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/","url":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/","name":"How to Properly Change The VMware Cloud Director Database IP \u2022 Chris Colotti's Blog","isPartOf":{"@id":"https:\/\/chriscolotti.us\/#website"},"primaryImageOfPage":{"@id":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#primaryimage"},"image":{"@id":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#primaryimage"},"thumbnailUrl":"https:\/\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png","datePublished":"2021-01-12T18:20:05+00:00","dateModified":"2021-01-12T18:24:08+00:00","author":{"@id":"https:\/\/chriscolotti.us\/#\/schema\/person\/7dd10fd3d400b31cbb9a4a4a14adb0c7"},"breadcrumb":{"@id":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#primaryimage","url":"https:\/\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png","contentUrl":"https:\/\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png","width":419,"height":130},{"@type":"BreadcrumbList","@id":"https:\/\/chriscolotti.us\/everything-else\/miscellaneous\/how-to-properly-change-the-vmware-cloud-director-database-ip\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/chriscolotti.us\/"},{"@type":"ListItem","position":2,"name":"How to Properly Change The VMware Cloud Director Database IP"}]},{"@type":"WebSite","@id":"https:\/\/chriscolotti.us\/#website","url":"https:\/\/chriscolotti.us\/","name":"Chris Colotti's Blog","description":"Thoughts and Theories About...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/chriscolotti.us\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/chriscolotti.us\/#\/schema\/person\/7dd10fd3d400b31cbb9a4a4a14adb0c7","name":"Chris Colotti","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/chriscolotti.us\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c93553a4a3e76f774ead33ebad5dbc1e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c93553a4a3e76f774ead33ebad5dbc1e?s=96&d=mm&r=g","caption":"Chris Colotti"},"description":"Chris is active on the VMUG and event speaking circuit and is available for many events if you want to reach out and ask. Previously to this he spent close to a decade working for VMware as a Principal Architect. Previous to his nine plus years at VMware, Chris was a System Administrator that evolved his career into a data center architect. Chris spends a lot of time mentoring co-workers and friends on the benefits of personal growth and professional development. Chris is also amongst the first VMware Certified Design Experts (VCDX#37), and author of multiple white papers. In his spare time he helps his wife Julie run her promotional products as the accountant, book keeper, and IT Support. Chris also believes in both a healthy body and healthy mind, and has become heavily involved with fitness as a Diamond Team Beachbody Coach using P90X and other Beachbody Programs. Although Technology is his day job, Chris is passionate about fitness after losing 60 pounds himself in the last few years.","sameAs":["http:\/\/chriscolotti.us"],"url":"https:\/\/chriscolotti.us\/author\/ccolotti\/"}]}},"jetpack_featured_media_url":"https:\/\/chriscolotti.us\/wp-content\/uploads\/2021\/01\/New-VCD.png","jetpack_shortlink":"https:\/\/wp.me\/p1K3dw-21Y","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/posts\/7810"}],"collection":[{"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/comments?post=7810"}],"version-history":[{"count":0,"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/posts\/7810\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/media\/7839"}],"wp:attachment":[{"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/media?parent=7810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/categories?post=7810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chriscolotti.us\/wp-json\/wp\/v2\/tags?post=7810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}