vCenter 7 no healthy upstream

访问vcenter 7时提示 no healthy upstream

网上查了一些资料,各式各样的,汇总下以免下次又花时间找解决方法:

1.Fix no healthy upstream vCenter 7 Issue

There is another guide to help you fix no healthy upstream error of vCenter 7. It might be occurred after upgrading vCenter 6.7 to vCenter 7.

  1. Shutdown the vCenter
  2. Upgrade the VM hardware version
  3. Edit settings > VM Options > General Options > Select VMware Photon OS

Note: make sure you have allocated enough memory and CPU for the vCenter 7 virtual machine. The vCenter 7 is CPU and memory hungry.

这个方法测试过不可行,VCSA创建的vcenter无法找到VMware Photon OS选项,只有新建的Linux才有此选项

 

2.Check your vCenter hosts file.

If it looks like this

10.200.111.25 vcenter.mydomain.local vcenter

10.200.111.25 vcenter.mydomain.local vcenter

then backup it first and after that change it to this

127.0.0.1 vcenter.mydomain.local vcenter localhost

::1 vcenter.mydomain.local vcenter localhost ipv6-localhost ipv6-loopback

Reboot the vCenter and check if you can access it

This is what support did when i raised a ticket.

Regards,

Foxmr

如果安装VCSA时,正常设置DNS解析了,/etc/hosts就是上面的结果了,好像也不能解决问题

 

3. 这位外佬也是溜了一大圈才解决。很搞笑的是前面设置了前面9步,最后告诉你这9步没Niao用。

no healthy upstream vCenter 7.0 error:

Issue fixed:

after 3.5 hrs of quick search on various blogs/vmware communities/mylab work/organization cook books. found the solution.

Steps tried out:

1. VAMI <IP add:5480> - Stop-Start all Services.

2. Stopped temp Antivirus solution on local host also stopped Windows Defender Firewall.

3. VAMI <https://IP add:5480> click on TIME  - change Time Zone to UTC also Time Sync - Mode - set it to Disabled.

4. upgraded VM hardware to version 18. <virtualhw.version = "18">

5. created a new host "A" record FLZ (forward lookup zone) on DNS Server for vcsa <192.168.40.110 vcsa.mylab.com>

6. created Pointer (PTR) record (Reverse lookup zone) on DNS Server for vcsa.<192.168.40.X vcsa.mylab.com>

7. restarted DNS server.

8. restarted vcsa 7.0.1 appliance (VM).

9. cleared web browser cache, tried multiple browsers thinking it can be a problem but, 

didn't work all above steps <1 to 9>. (wasted my time though but found a way to fix it by editing " host file"  on my local PC [DELL SERVER].

Added below entries on " host file" 

Path - C:\Windows\System32\drivers\etc

###########vcenter###################

192.168.40.110 vcsa.mylab.com

192.168.40.100 dc01.mylab.com

192.168.40.110 https://vcsa.mylab.com:5480

192.168.40.110 https://192.168.40.110:5480

127.0.0.1 vcsa.mylab.com

rebooted the vCenter Server and then try to access it and it " Worked fine"  for me. thanks.

 

4..缺少DNS反向指针

Spend 5 hours digging up today installing/reinstalling. So my problem with "no healthy upstream" was DNS:

It seems critical for VCSA 7 during setup stage to have access to the DNS. DNS should contain BOTH A record & PTR record.

My test environment was lacking PTR.

Hope that helps.

 

5 我自己的环境:

上面一堆设置,我的环境有,也是出现这个no healthy upstream错误。跟下面这个类似:

We see the same issue here on all new installations.

The trick seems to be waiting for the cpu usage of the vm goes down. It needs some time to start all the services.

On one installation we had to wait for about 30 minutes.

After the cpu usage is back to normal we were able to login to the vcsa.

It seems that vcsa7 needs a lot of ressources.

 

去vCenter检查下服务果然发现问题

https://192.168.0.201:5480/

启动确实慢,有好多服务“正在启动”

 

等系统各项服务启动完就可以登录vcenter,跟以前6.7版本比速度真是慢太多了。

官方的微型默认配置2CPU,12GB Mem不太可行啊,赶紧增加下。

VCSA7真的太吃资源了

 

 

posted @ 2021-04-06 20:10  ST运维  阅读(15085)  评论(1编辑  收藏  举报