[VMware] 登入Windows版 vCenter 6.5 vSphere Web Client (Flash-base) 會一直跳出 “發生內部錯誤 – Error #1009″

在客戶升級了5.5U2 > 6.0 > 6.5U2 但居然會出現vCenter 5.5U1 Bug ;但這Bug在5.5U2已修正居然會出現不解啊 ><

情境: 使用 vSphere Web Client (Flash-base) login後會一直跳出 “發生內部錯誤 – Error #1009″ 錯誤訊息。

Workaround :

step01. 進入 C:\programdata\vmware\vCenterServer\data\vSphere Web Client\SerenityDB\

step02. 刪除 serenity 這個整個目錄

delete C:\programdata\vmware\vCenterServer\data\vSphere Web Client\SerenityDB\serenity

step03. 重啟vSphere Web Client服務即可
.\service-control –stop vspherewebclientsvc && .\service-control –start vspherewebclientsvc

step04. 確認服務處於running
.\service-control –status vspherewebclientsvc

Done.


Reference : VMware vSphere Web Client reports an internal error 1009 (2089949)

[VMware] vCenter Server 6.5 @Windows How to restart Web Client or Client

step01. c:\> C:\Program Files\VMware\vCenter Server\bin

step02. .\service-control –list  // check current all VMware service

step03. .\service-control –stop vspherewebclientsvc  // 停止 vSphere Web client 服務

step04. .\service-control –start vspherewebclientsvc // 啟動 vSphere Web client 服務

PS:
* vSphere Web Client 名稱(Flash-base) > vspherewebclientsvc
* vSphere Client 名稱(HTML5) > vsphere-ui

 

vmware-imagebuilder
VMware Image Builder Manager
vmware-cm
VMware Component Manager
vmware-vpxd
VMware vCenter Server
vimPBSM
VMware vSphere Profile-Driven Storage Service
applmgmt
VMware Appliance Management Service
vmware-statsmonitor
VMware Appliance Monitoring Service
vmware-rhttpproxy
VMware HTTP Reverse Proxy
vmware-vapi-endpoint
VMware vAPI Endpoint
lwsmd
Likewise Service Manager
vmafdd
VMware Authentication Framework
vmware-vsm
VMware vService Manager
vmonapi
VMware Service Lifecycle Manager API
vmware-perfcharts
VMware Performance Charts
vmware-updatemgr
VMware Update Manager
vmware-vmon
VMware Service Lifecycle Manager
vmware-vsan-health
VMware VSAN Health Service
vspherewebclientsvc
VMware vSphere Web Client
vmware-vpostgres
VMware Postgres
vmware-eam
VMware ESX Agent Manager
vmcam
VMware vSphere Authentication Proxy
vmware-mbcs
VMware Message Bus Configuration Service
vmware-vcha
VMware vCenter High Availability
vsphere-ui
VMware vSphere Client
vmware-content-library
VMware Content Library Service
vmware-sca
VMware Service Control Agent
vmware-netdumper
VMware vSphere ESXi Dump Collector
vmware-vpxd-svcs
VMware vCenter-Services
vmware-rbd-watchdog
VMware vSphere Auto Deploy Waiter

Reference :

  1.  How to stop, start, or restart vCenter Server 6.x services (2109881)

[VMware] How to install vCSA 6.5 & 6.7 on Workstation

step01. extract vCSA iso , into \vcsa\VMware-vCenter-Server-Appliance-6.7.0.12000-8832884_OVF10.ova

step02. Workstation open %\vcsa\VMware-vCenter-Server-Appliance-6.7.0.12000-8832884_OVF10.ova

step03.
匯入好之後暫不要開機

step04.
編輯 .vmx加入
——————————————————————————————-
guestinfo.cis.appliance.net.addr.family = “ipv4″
guestinfo.cis.appliance.net.mode = “static"
guestinfo.cis.appliance.net.pnid = “vcsa67.homelab.local"
guestinfo.cis.appliance.net.addr = “10.1.110.88″
guestinfo.cis.appliance.net.prefix = “24″
guestinfo.cis.appliance.net.gateway = “10.1.110.253″
guestinfo.cis.appliance.net.dns.servers = “10.1.130.1″
guestinfo.cis.appliance.root.passwd = “P@ssw0rd"
guestinfo.cis.appliance.ssh.enabled = “True"
guestinfo.cis.deployment.autoconfig = “True"
guestinfo.cis.appliance.ntp.servers = “time4.google.com"
guestinfo.cis.vmdir.password = “P@ssw0rd"
guestinfo.cis.vmdir.site-name = “default-site"
guestinfo.cis.vmdir.domain-name = “homelab.local"
——————————————————————————————-
PS: 發現以上有餵食失敗幾行 e.g.
guestinfo.cis.appliance.root.passwd = “P@ssw0rd"
guestinfo.cis.vmdir.password = “P@ssw0rd"
在開機後會發現密碼無法登入需重新reset

step05.Power-on vCSA

step06.Waiting os enter success

step07.Reset root password

step08.登入時看到畫面按下 ‘e’

step09.在 Linux開頭最後面按下 end 跳到後面 加入 rw init=/bin/bash

step10.按下 ‘F10’ boot

step11. // 建議作一下免後重置密碼無效
> ls -sh /var/log/audit
rm /var/log/audit/*.log

step12.
> whoami // check account is root
> passwd

step13.
umount /

step14.
reboot -f

step15.
confirm root account can login

step17.
https://10.1.110.88:5480 // start initiate

step18.
需調入 SSO domain , 最後即需一段時間即完成stage2

Done.


Reference:

  1. vmwarearena – How to Deploy vCenter Server appliance 6.5 on VMware Workstation 14
  2. enterprisedaddy – Deploy VCSA 6.5 on Workstation
  3. VMware KB: 2147144 – How to reset the lost or forgotten root password in vCenter Server Appliance 6.5