近日,看到了VMware發佈的vCenter 6.7 Update 1b的更新消息。其中有一條比較震撼。有誤刪全部VM的機率,這種BUG誰也承受不起。
Removing a virtual machine folder from the inventory by using the vSphere Client might delete all virtual machines
In the vSphere Client, if you right-click on a folder and select Remove from Inventory from the drop-down menu, the action might delete all virtual machines in that folder from the disk and underlying datastore, and cause data loss.
This issue is resolved in this release.
https://docs.vmware.com/en/VMware-vSphere/6.7/rn/vsphere-vcenter-server-67u1b-release-notes.htmlhtml
因此,趕快升級vCenter。個人VC是基於Windows 2016和SQL server 2017的6.7.0 10244807。其實也是很是新的版本了。
更新的時候只須要下載最新的文件VMware-VIM-all-6.7.0-11726888.iso。而後直接安裝其中的vCenter就會自動升級的。數據庫
升級的時候遇到一個錯誤。服務器
Installation of component VCSServiceManager failed with error code '1603'. Check the logs for more details.網絡
而後開始回滾。這個錯誤網上找了幾個方法,說要裝.net framework 3.5來解決的。其實不用,根本不是這個緣由。
還有說當前用戶需是vcdb數據庫的全部者,這個是官方KB,可是檢查了,設置沒有問題。感受這個有點沾邊了。ide
https://kb.vmware.com/s/article/2119768this
看了不少文章和檢查日誌後。經過如下2個設置並重啓服務器解決了問題。.net
1.將administrator@vsphere.local加入DCAdmin組
點擊Home-Administration-Users and Groups-DCAdmins,點擊下方的添加用戶。把administrator@vsphere.local 加進來。日誌
若是看不到圖,點我。code
2.啓用SQL server的 Name pipes和TCP/IP
在開始菜單中找到SQL server configuration manager,打開SQL Server網絡配置-MSSQLSERVER的協議 啓用Named Pipes和TCP/IP。這步須要重啓SQL服務生效。component
再次安裝vCenter,成功。版本更新到了11727065。