{"id":778,"date":"2019-03-29T09:57:34","date_gmt":"2019-03-29T08:57:34","guid":{"rendered":"https:\/\/virtualguru.cz\/?p=778"},"modified":"2019-03-29T09:57:34","modified_gmt":"2019-03-29T08:57:34","slug":"problemy-pri-upgrade-vcenter-appliance","status":"publish","type":"post","link":"https:\/\/virtualguru.cz\/en\/2019\/03\/29\/problemy-pri-upgrade-vcenter-appliance\/","title":{"rendered":"Probl\u00e9my p\u0159i upgrade vCenter appliance"},"content":{"rendered":"<p>V\u011bt\u0161ina z\u00a0V\u00e1s ji\u017e zcela jist\u011b provedla upgrade vCenter na 6.7 Update 1 nebo minim\u00e1ln\u011b na 6.5 Update 2.<\/p>\n<p>Pro ty, kte\u0159\u00ed s\u00a0upgrade st\u00e1le ot\u00e1lej\u00ed a ob\u00e1vaj\u00ed se p\u0159\u00edpadn\u00fdch probl\u00e9m\u016f spojen\u00fdch s\u00a0upgrade je ur\u010den tento \u010dl\u00e1nek.<\/p>\n<p>Martin ve sv\u00e9m v\u00fdborn\u00e9m <a href=\"https:\/\/virtualguru.cz\/en\/2019\/02\/07\/upgrade-vcenter-server-6-5-na-6-7-a-jak-resit-nedostatek-mista\/\">\u010dl\u00e1nku<\/a>\u00a0p\u0159ehledn\u011b step-by-step popsal upgrade na 6.7 a to v\u010detn\u011b zn\u00e1m\u00e9ho probl\u00e9mu s\u00a0nedostatkem m\u00edsta pro export konfigurace.<\/p>\n<p>M\u016f\u017eete se ale setkat s i s\u00a0n\u011bkolika dal\u0161\u00edmi probl\u00e9my, kter\u00e9 se pokus\u00edm shrnout v\u00a0tomto \u010dl\u00e1nku, kter\u00fd se budu sna\u017eit pr\u016fb\u011b\u017en\u011b dopl\u0148ovat.<\/p>\n<p>Seznam probl\u00e9m\u016f \u0159e\u0161en\u00fdch v tomto \u010dl\u00e1nku:<\/p>\n<ul>\n<li><a href=\"#problem1\"><strong>&#8222;A Problem Occurred while getting data from the source vCenter Server&#8220;<\/strong><\/a><\/li>\n<li><a href=\"#problem2\"><strong>&#8222;Internal error occurs during vSphere ESX Agent Manager pre-upgrade checks&#8220;<\/strong><\/a><\/li>\n<\/ul>\n<h3 id=\"problem1\"><span style=\"font-size: 12pt;\">Probl\u00e9m \u010d. 1:<\/span><\/h3>\n<h3><strong>A Problem Occurred while getting data from the source vCenter Server<\/strong><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-782 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-01.png\" alt=\"\" width=\"624\" height=\"170\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-01.png 624w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-01-300x82.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>V\u00a0prvn\u00ed f\u00e1zi instalace se m\u016f\u017eete potkat s\u00a0v\u00fd\u0161e uvedenou hl\u00e1\u0161kou.<\/p>\n<p>V\u00a0logu pak naleznete tuto chybu<\/p>\n<blockquote><p>.. <em>error: sourcePrecheck: error in getting source Info: ServerFaultCode: Failed to authenticate with the guest operating system using the supplied credentials..<\/em><\/p><\/blockquote>\n<p>Na vin\u011b je expirovan\u00e9 heslo lok\u00e1ln\u00edho u\u017eivatele <strong>root<\/strong> v\u00a0p\u016fvodn\u00ed vCenter server appliance.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-783 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-02.png\" alt=\"\" width=\"394\" height=\"271\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-02.png 394w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-02-300x206.png 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/p>\n<p><strong>Pozor: A\u010dkoliv je heslo vyexpirovan\u00e9, pod t\u00edmto \u00fa\u010dtem se bez probl\u00e9mu p\u0159ihl\u00e1s\u00edte.<\/strong><\/p>\n<p>N\u00e1prava je jednoduch\u00e1. Sta\u010d\u00ed se p\u0159ihl\u00e1sit do vCenter server appliance a pomoc\u00ed p\u0159\u00edkazu <strong>passwd root<\/strong> nastavit nov\u00e9 heslo.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-784 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-03.png\" alt=\"\" width=\"536\" height=\"337\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-03.png 536w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-03-300x189.png 300w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/p>\n<p>Nyn\u00ed ji\u017e tento bod instal\u00e1toru prob\u011bhne bez probl\u00e9mu.<\/p>\n<h3 id=\"problem2\"><span style=\"font-size: 12pt;\">Probl\u00e9m \u010d. 2:<\/span><\/h3>\n<h3><strong>Internal error occurs during vSphere ESX Agent Manager pre-upgrade checks<\/strong><\/h3>\n<p>P\u0159i f\u00e1zi dva, tj. samotn\u00e1 p\u0159\u00edprava a n\u00e1sledn\u00e1 migrace dat ze star\u00e9ho vCenter do nov\u00e9ho se m\u016f\u017eete do\u010dkat chyby s ESX Agent Managerem \u2013 EAM.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-785 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-04.png\" alt=\"\" width=\"530\" height=\"170\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-04.png 530w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-04-300x96.png 300w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/p>\n<p>Velice jednodu\u0161e si ov\u011b\u0159\u00edme, \u017ee tato neb\u011b\u017e\u00ed. P\u0159ihl\u00e1s\u00edme se p\u0159es SSH do p\u016fvodn\u00edho vCenter server, spust\u00edme shell a zad\u00e1me p\u0159\u00edkaz \u00a0<strong>service-control &#8211;status vmware-eam<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-786 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-05.png\" alt=\"\" width=\"463\" height=\"86\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-05.png 463w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-05-300x56.png 300w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/p>\n<p>Chyba je v tom, \u017ee do\u0161lo k po\u0161kozen\u00ed souboru <strong>eam.properties<\/strong> a je t\u0159eba jej vytvo\u0159it znovu.<\/p>\n<p>Na\u0161t\u011bst\u00ed se na webu KB.VMware.com d\u00e1 nal\u00e9zt uveden vzorov\u00fd soubor <strong>eam.properties<\/strong>. Je t\u0159eba jej v\u0161ak personalizovat pro dan\u00fd vCenter.<\/p>\n<p>Nejprve najdeme p\u016fvodn\u00ed soubor v \u00a0<strong>\/etc\/vmware-eam\/ <\/strong>\u00a0a ud\u011bl\u00e1me si z\u00e1lohu p\u0159\u00edkazem\u00a0<strong>cp eam.properties eam.properties.old<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-787 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-06.png\" alt=\"\" width=\"624\" height=\"108\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-06.png 624w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-06-300x52.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>N\u00e1sledn\u011b spust\u00edme p\u0159\u00edkaz <strong>cat \/etc\/vmware\/install-defaults\/sca.hostid<\/strong>, kter\u00fd n\u00e1m vyp\u00ed\u0161e host id<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-788 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-07.png\" alt=\"\" width=\"624\" height=\"32\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-07.png 624w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-07-300x15.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>Pot\u00e9 si p\u0159iprav\u00edme nov\u00fd soubor<strong> eam.properties<\/strong><\/p>\n<p>V n\u011bm je t\u0159eba zm\u011bnit dv\u011b polo\u017eky:<\/p>\n<p>a) Host Id &#8211; cm.url=http:\/\/localhost:18090\/cm\/sdk\/?hostid=<span style=\"font-size: 14pt; color: #ff0000;\"><strong>Id z\u00edskan\u00e9 p\u0159\u00edkazem sca.hostid<\/strong><\/span><\/p>\n<p>b) DNS jm\u00e9no vCenter &#8211; vc.tunnelSdkUri=<span style=\"font-size: 14pt; color: #ff0000;\"><strong>Va\u0161e vCenter DNS jm\u00e9no<\/strong><\/span>:8089\/sdk\/vimService<\/p>\n<p>VZOR:<\/p>\n<p>#########################################################################<br \/>\n# Copyright 2013-2014 VMware, Inc. All rights reserved. VMware Confidential<br \/>\n#########################################################################<br \/>\nvc.proxy.host=localhost<br \/>\nvc.proxy.port=80<br \/>\n# Hostname or IP of the EAM server<br \/>\n# Fill only if EAM is not running on the same host as VC<br \/>\neam.host=<br \/>\n# EAM service port used to configure the HTTP connector of the application server.<br \/>\neam.int.http.port=15005<br \/>\n# Port and scheme configuration which is used by the ESX 6.x hosts to reach EAM Vib<br \/>\n# file server.<br \/>\neam.ext.port=443<br \/>\neam.ext.scheme=https<br \/>\n# Port and scheme configuration which is used by the ESX 5.x hosts to reach EAM Vib<br \/>\n# file server.<br \/>\neam.ext.port.deprecated=80<br \/>\neam.ext.scheme.deprecated=http<br \/>\neam.support_linked_clone=true<br \/>\neam.clear_db_on_startup=false<br \/>\neam.debug_ref_count=false<br \/>\neam.recent_event_size=20<br \/>\n# Enable\/disable VUM integration<br \/>\nvum.integration=true<br \/>\n# Value is specified in minutes (set to 24h = 1440m)<br \/>\neam.scan_for_unknown_agent_vms=1440<br \/>\n# The timeout to wait for hostd to restart on a host (set to 5m=300s)<br \/>\neam.hostd_restart_timeout=300<br \/>\n# The following entries will be added verbatim to the advanced options<br \/>\n# of hosts on which EAM is enabled. All are optional.<br \/>\nNet.DVFilterBindIpAddress=169.254.0.1<br \/>\nNet.TrafficFilterIpAddress=<br \/>\n#The IP for the VSWIF NIC on the dvFilter switch (for ESX classic).<br \/>\nNet.DVFilterVswifIpAddress=169.254.0.2<br \/>\n# Resource bundle configuration<br \/>\neam.resourcebundle.filename=eam-resourcebundle.jar<br \/>\n# VLSI embedded tcServer configuration<br \/>\n#<br \/>\ntcserver.tmp.dir=\/var\/tmp\/vmware\/eam\/tomcat<br \/>\n# EAM SSL configuration<br \/>\n#<br \/>\neam.keystore.type=VKS<br \/>\neam.key.alias=vpxd-extension<br \/>\neam.keystore.storename=vpxd-extension<br \/>\n# CM configuration<br \/>\n#<br \/>\ncm.url=http:\/\/localhost:18090\/cm\/sdk\/?hostid=<span style=\"font-size: 14pt; color: #ff0000;\"><strong>Id z\u00edskan\u00e9 p\u0159\u00edkazem sca.hostid<\/strong><\/span><br \/>\ncm.wait.attempts=360<br \/>\ncm.wait.intervalSeconds=5<br \/>\n# SSO configuration<br \/>\n#<br \/>\nsso.wait.attempts=360<br \/>\nsso.wait.intervalSeconds=5<br \/>\n# VC SSL configuration<br \/>\n#<br \/>\nvc.truststore.type=VKS<br \/>\nvc.truststore.storename=TRUSTED_ROOTS<br \/>\nvc.tunnelSdkUri.template=https:\/\/##{VC_HOST_NAME}##:8089\/sdk\/vimService<br \/>\nvc.tunnelSdkUri=<span style=\"font-size: 14pt; color: #ff0000;\"><strong>Va\u0161e vCenter DNS jm\u00e9no<\/strong><\/span>:8089\/sdk\/vimService<br \/>\ndrs.demandCapacityRatio=100<\/p>\n<p>Otev\u0159eme si nov\u00fd soubor <strong>eam.properties<\/strong> pomoc\u00ed p\u0159\u00edkazu <strong>vi eam.properties<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-789 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-08.png\" alt=\"\" width=\"562\" height=\"22\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-08.png 562w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-08-300x12.png 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/p>\n<p>Stiskneme <strong>INS \u00a0<\/strong>pro vkl\u00e1d\u00e1n\u00ed a cel\u00fd upraven\u00fd v\u00fd\u0161e uveden\u00fd obsah tam vlo\u017e\u00edme.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-790 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-09.png\" alt=\"\" width=\"624\" height=\"569\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-09.png 624w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-09-300x274.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>N\u00e1sledn\u011b pomoc\u00ed ESC a <strong>:wq<\/strong> ulo\u017e\u00edme.<\/p>\n<p>Pot\u00e9 je t\u0159eba zm\u011bnit atributy\u00a0nov\u011b vytvo\u0159en\u00e9ho souboru<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-791 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-10.png\" alt=\"\" width=\"624\" height=\"20\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-10.png 624w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-10-300x10.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>Pak ji\u017e m\u016f\u017eeme slu\u017ebu spustit <strong>service-control &#8211;start vmware-eam<\/strong>\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-792 size-full\" src=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-11.png\" alt=\"\" width=\"597\" height=\"86\" srcset=\"https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-11.png 597w, https:\/\/virtualguru.cz\/wp-content\/uploads\/2019\/03\/vcsa-upg-11-300x43.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>V\u011bt\u0161ina z\u00a0V\u00e1s ji\u017e zcela jist\u011b provedla upgrade vCenter na 6.7 Update 1 nebo minim\u00e1ln\u011b na 6.5 Update 2. Pro ty, kte\u0159\u00ed s\u00a0upgrade st\u00e1le ot\u00e1lej\u00ed a&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/virtualguru.cz\/en\/2019\/03\/29\/problemy-pri-upgrade-vcenter-appliance\/\">Continue Reading<span class=\"screen-reader-text\">Probl\u00e9my p\u0159i upgrade vCenter appliance<\/span> <i class=\"fas fa-angle-right\"><\/i><\/a><\/div>","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"iawp_total_views":23,"footnotes":""},"categories":[3],"tags":[7,19],"class_list":["post-778","post","type-post","status-publish","format-standard","hentry","category-vsphere","tag-vcenter","tag-vcsa","entry"],"_links":{"self":[{"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/posts\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/comments?post=778"}],"version-history":[{"count":14,"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/posts\/778\/revisions"}],"predecessor-version":[{"id":806,"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/posts\/778\/revisions\/806"}],"wp:attachment":[{"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/media?parent=778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/categories?post=778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtualguru.cz\/en\/wp-json\/wp\/v2\/tags?post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}