{"id":120,"date":"2018-01-11T22:49:00","date_gmt":"2018-01-11T14:49:00","guid":{"rendered":"http:\/\/kylemcdonald.com.au\/?p=120"},"modified":"2018-08-14T00:32:55","modified_gmt":"2018-08-13T16:32:55","slug":"vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib","status":"publish","type":"post","link":"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/","title":{"rendered":"VMware vSphere Replication – com.vmware.vcHms continuously installing vr2c-firewall.vib"},"content":{"rendered":"

Having recently installed VMware vSphere Replication 6.5.1.2243 (Build 7184803) for a customer, I was surprised to see the Recent Tasks window pane filling up with “install” tasks with com.vmware.vcHms listed as the initiator. These tasks were occurring every minute for all hosts in the cluster.<\/p>\n

The vSphere 6.5 web interface didn’t provide much information when looking at host tasks, other than the install task being successful. While being successful is normally great, these tasks should not be happening every minute. It was time to look through the raw logs, so I SSH’d into a host to read the \/var\/log\/esxupdate.log<\/em> file.<\/p>\n

Esxupdate.log was filled with ERROR entries showing that vr2c-firewall.vib was failing to be installed. Vr2c-firewall.vib is used for the “Replicate to a cloud provider” option within vSphere Replication. The install failure was due to the file download from the vSphere Replication appliance failing with entries including these;<\/p>\n

<\/p>\n

\r\nesxupdate: ERROR: urlgrabber.grabber.URLGrabError: [Errno 14] curl#56 - \"Content-Length: in 200 response\"\r\nesxupdate: ERROR: vmware.esximage.Downloader.DownloaderError: ('https:\/\/10.0.0.1:8043\/vib\/vr2c-firewall.vib', '\/tmp\/vibtransaction\/tmp.vib', '[Errno 14] curl#56 - \"Content-Length: in 200 response\"')\r\n<\/pre>\n

Manually downloading vr2c-firewall.vib from the URL was successful from my PC, but all attempts failed when trying to download from the hosts. There were no proxies or firewalls between the hosts and the vSphere Replication appliance, so there shouldn’t have been anything blocking it. I used WinSCP to manually copy the downloaded vr2c-firewall.vib from my PC to a datastore and performed a manual installation of the vib;<\/p>\n

\r\n[root@esx-prod1:~] esxcli software vib install -v \"\/vmfs\/volumes\/datastore-1\/tmp\/vr2c-firewall.vib\"\r\nInstallation Result\r\n   Message: Operation finished successfully.\r\n   Reboot Required: false\r\n   VIBs Installed: VMware_bootbank_vr2c-firewall_6.5.1.2924-7184802\r\n   VIBs Removed:\r\n   VIBs Skipped:\r\n[root@esx-prod1:~] esxcli software vib list | grep vr2c-firewall\r\nvr2c-firewall                      6.5.1.2924-7184802                   VMware   VMwareCertified   2018-01-11\r\n[root@esx-prod1:~]\r\n<\/pre>\n

Despite the manual installation being successful on all hosts, the Recent Tasks window and esxupdate.log kept filling up. It was time to look at stopping these installation attempts being pushed from the vSphere Replication appliance itself. If you haven’t already done so, enable SSH on the vSphere Replication appliance following the steps listed at Connecting to VMware vSphere Replication 6.0.x Appliance (2112307)<\/a> and then disable the push installation with the following commands;<\/p>\n

\r\nvra:~ # \/opt\/vmware\/hms\/bin\/hms-configtool -cmd reconfig -property hms-auto-install-vr2c-vib=false\r\nvra:~ # service hms restart\r\n<\/pre>\n

Once the hms service was restarted, I monitored the logs and GUI for any further errors but they did not return.<\/p>\n","protected":false},"excerpt":{"rendered":"

Having recently installed VMware vSphere Replication 6.5.1.2243 (Build 7184803) for a customer, I was surprised to see the Recent Tasks window pane filling up with “install” tasks with com.vmware.vcHms listed as the initiator. These tasks were occurring every minute for Continue reading VMware vSphere Replication – com.vmware.vcHms continuously installing vr2c-firewall.vib<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,7],"tags":[],"yoast_head":"\nVMware vSphere Replication - com.vmware.vcHms continuously installing vr2c-firewall.vib - Kyle McDonald<\/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:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VMware vSphere Replication - com.vmware.vcHms continuously installing vr2c-firewall.vib - Kyle McDonald\" \/>\n<meta property=\"og:description\" content=\"Having recently installed VMware vSphere Replication 6.5.1.2243 (Build 7184803) for a customer, I was surprised to see the Recent Tasks window pane filling up with “install” tasks with com.vmware.vcHms listed as the initiator. These tasks were occurring every minute for Continue reading VMware vSphere Replication – com.vmware.vcHms continuously installing vr2c-firewall.vib→\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/\" \/>\n<meta property=\"og:site_name\" content=\"Kyle McDonald\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-11T14:49:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-13T16:32:55+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@KarmicIT\" \/>\n<meta name=\"twitter:site\" content=\"@KarmicIT\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kylemcdonald.com.au\/#website\",\"url\":\"https:\/\/kylemcdonald.com.au\/\",\"name\":\"Kyle McDonald\",\"description\":\"Perth-based IT enthusiast\",\"publisher\":{\"@id\":\"https:\/\/kylemcdonald.com.au\/#\/schema\/person\/f3fe27d0e0f57ef43e2444fbe8989906\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/kylemcdonald.com.au\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-AU\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/#webpage\",\"url\":\"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/\",\"name\":\"VMware vSphere Replication - com.vmware.vcHms continuously installing vr2c-firewall.vib - Kyle McDonald\",\"isPartOf\":{\"@id\":\"https:\/\/kylemcdonald.com.au\/#website\"},\"datePublished\":\"2018-01-11T14:49:00+00:00\",\"dateModified\":\"2018-08-13T16:32:55+00:00\",\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/#webpage\"},\"author\":{\"@id\":\"https:\/\/kylemcdonald.com.au\/#\/schema\/person\/f3fe27d0e0f57ef43e2444fbe8989906\"},\"headline\":\"VMware vSphere Replication – com.vmware.vcHms continuously installing vr2c-firewall.vib\",\"datePublished\":\"2018-01-11T14:49:00+00:00\",\"dateModified\":\"2018-08-13T16:32:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/#webpage\"},\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/kylemcdonald.com.au\/#\/schema\/person\/f3fe27d0e0f57ef43e2444fbe8989906\"},\"articleSection\":\"ESXi,VMware\",\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kylemcdonald.com.au\/2018\/01\/11\/vmware-vsphere-replication-com-vmware-vchms-continuously-installing-vr2c-firewall-vib\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/kylemcdonald.com.au\/#\/schema\/person\/f3fe27d0e0f57ef43e2444fbe8989906\",\"name\":\"Kyle McDonald\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/kylemcdonald.com.au\/#personlogo\",\"inLanguage\":\"en-AU\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/74b24af47c7a561be463563db3fa821c?s=96&d=mm&r=g\",\"caption\":\"Kyle McDonald\"},\"logo\":{\"@id\":\"https:\/\/kylemcdonald.com.au\/#personlogo\"},\"sameAs\":[\"http:\/\/au.linkedin.com\/in\/karmicit\",\"https:\/\/twitter.com\/KarmicIT\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/posts\/120"}],"collection":[{"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":20,"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":245,"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/posts\/120\/revisions\/245"}],"wp:attachment":[{"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kylemcdonald.com.au\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}