{"id":42515,"date":"2020-04-16T09:00:42","date_gmt":"2020-04-16T07:00:42","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=42515"},"modified":"2020-04-03T10:20:36","modified_gmt":"2020-04-03T08:20:36","slug":"change-hostname-in-vrealize-operations-manager-8-0","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/change-hostname-in-vrealize-operations-manager-8-0\/","title":{"rendered":"Change hostname in vRealize Operations Manager 8.0"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-42971 size-full\" title=\"change-hostname-vrealize-operation-manager-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/change-hostname-vrealize-operation-manager-01.jpg\" alt=\"change-hostname-vrealize-operation-manager-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>During the reorganization of a virtual infrastructure you may need to change the hostname in <a href=\"https:\/\/nolabnoparty.com\/en\/upgrade-vrealize-operations-manager-to-8-0-1\/\">vRealize Operations Manager<\/a> to fit the new standard name.<\/p>\n<p>The hostname change <strong>doesn't impact<\/strong> the normal functionality of vROPS and just requires a little offline.<!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>Change hostname in vRealize Operations Manager<\/h2>\n<p>From your preferred browser enter the address of your <strong>vROPS Admin Console<\/strong> and log in.<\/p>\n<p>To perform the hostname change, you must take the cluster offline before proceeding. From the main screen click on <strong>Take Offline<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42973\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/change-hostname-vrealize-operation-manager-02-600x277.jpg\" alt=\"\" width=\"600\" height=\"277\" title=\"\"><\/p>\n<p>After some seconds the <strong>Cluster Status<\/strong> is reported as <strong>Offline<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42975\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/change-hostname-vrealize-operation-manager-03-600x274.jpg\" alt=\"\" width=\"600\" height=\"274\" title=\"\"><\/p>\n<p>Now <strong>SSH the vROPS<\/strong> appliance and login as <em>root<\/em>.\u00a0To <strong>update the hostname<\/strong> run this command:<\/p>\n<p><span style=\"color: #0000ff;\"># $VMWARE_PYTHON_BIN \/usr\/lib\/vmware-vcopssuite\/utilities\/bin\/sethostname.py &lt;<em>NewHostName<\/em>&gt;<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42977\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/change-hostname-vrealize-operation-manager-04-600x345.jpg\" alt=\"\" width=\"600\" height=\"345\" title=\"\"><\/p>\n<p>Type <strong>reboot<\/strong> the press <strong>Enter<\/strong> to reboot the appliance.<\/p>\n<p><span style=\"color: #0000ff;\"># reboot<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42979\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-05-600x44.jpg\" alt=\"\" width=\"600\" height=\"44\" title=\"\"><\/p>\n<p>Login to vRealize Operations Manager Administration and click <strong>Bring Online<\/strong> to take the cluster online again.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42981\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-06-600x281.jpg\" alt=\"\" width=\"600\" height=\"281\" title=\"\"><\/p>\n<p>Wait until the <strong>Cluster Status<\/strong> is reported as <strong>Online<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42983\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-07-600x277.jpg\" alt=\"\" width=\"600\" height=\"277\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<h4>Correct the Node Address<\/h4>\n<p>Once the hostname has been changed successfully, SSH the vROPS appliance once again and login as <em>root<\/em>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42985\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-08-600x106.jpg\" alt=\"\" width=\"600\" height=\"106\" title=\"\"><\/p>\n<p>Stop the <strong>vmware-casa<\/strong> service with the command:<\/p>\n<p><span style=\"color: #0000ff;\"># service vmware-casa stop<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42987\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-09-600x79.jpg\" alt=\"\" width=\"600\" height=\"79\" title=\"\"><\/p>\n<p>Now edit the <strong>casa.db.script<\/strong> file with the following command:<\/p>\n<p><span style=\"color: #0000ff;\"># vi \/storage\/db\/casa\/webapp\/hsqldb\/casa.db.script<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42989\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-10-600x43.jpg\" alt=\"\" width=\"600\" height=\"43\" title=\"\"><\/p>\n<p>Scroll down until you find the <strong>ip_address<\/strong> item and update the FQDN accordingly. Save the file when done.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42991\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-11-600x361.jpg\" alt=\"\" width=\"600\" height=\"361\" title=\"\"><\/p>\n<p>Start the <em>vmware-casa<\/em> service.<\/p>\n<p><span style=\"color: #0000ff;\"># service vmware-casa start<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42993\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-12-600x182.jpg\" alt=\"\" width=\"600\" height=\"182\" title=\"\"><\/p>\n<p>Log into vRealize Operations Manager Administration and check the <strong>Node Address<\/strong>. It is now updated with the new FQDN.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-42995\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2020\/03\/vrops-rename-appliance-hostname-13-600x254.jpg\" alt=\"\" width=\"600\" height=\"254\" title=\"\"><\/p>\n<p>Additional info about vRealize Operations Manager can be found at <a href=\"https:\/\/vrealize.vmware.com\/t\/vrealize-operations\/\" target=\"_blank\" rel=\"noopener noreferrer\">VMware website<\/a>.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>During the reorganization of a virtual infrastructure you may need to change the hostname in vRealize Operations Manager to fit the new standard name. The hostname change doesn't impact the normal functionality of vROPS and just requires a little offline.<\/p>\n","protected":false},"author":3,"featured_media":42971,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[903,2128],"tags":[2135,1495,1652,2037],"class_list":["post-42515","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware-en","category-vrealize-en","tag-hostname-en","tag-operations-manager","tag-vrealize","tag-vrops","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/42515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=42515"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/42515\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/42971"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=42515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=42515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=42515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}