ผู้เขียน หัวข้อ: Upgrading from ESXi 6.5 to ESXi 6.7 via SSH and esxcli  (อ่าน 114 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ ผู้ดูแลระบบ

  • ยิ้มวันละนิด จิตแจ่มใส
  • Administrator
  • *****
  • กระทู้: 178
  • จิตใจสงบ ชีวิตเป็นสุข
    • ดูรายละเอียด
    • ศูนย์คอมพิวเตอร์และเครือข่ายวารินชำราบ
Upgrading from ESXi 6.5 to ESXi 6.7 via SSH and esxcli
« เมื่อ: วันที่ 07 กรกฎาคม 2019, เวลา 11:32:06 am »
 :28: :28: :28:
Upgrading from ESXi 6.5 to ESXi 6.7 via SSH and esxcli
Following VMware’s release of ESXi 6.7, I upgraded my ESXi 6.5 server to ESXi 6.7 using SSH and esxcli. For those interested, see below the jump for the details of the process I used.



To upgrade from ESXi 6.5 to 6.7 using esxcli
 
1. Shut down all VMs running on your ESXi host machine.
2. Enable SSH on your ESXi server, if it is not already enabled.
3. Connect via SSH.


4. Once logged in, run the following command to enter maintenance mode:
 
1vim-cmd /hostsvc/maintenance_mode_enter
 

 
5. After putting ESXi into maintenance mode, run the following command to set the correct firewall rules for the httpClient:
 
1esxcli network firewall ruleset set -e true -r httpClient
 

 
6. Next, run the following command to list the ESXi 6.7 updates available. You want the latest one that ends in -standard for your version of VMware.
 
1esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.7
 

 
7. Once you’ve identified the correct version of VMware (as of 5-18-2018, this is ESXi-6.7.0-8169922-standard), run the following command to download and install the update.
 
1esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-8169922-standard
 

 
Note: It is very important that you run esxcli software profile update here. Running esxcli software profile install may overwrite drivers that your ESXi host needs.
 
8. Once the update has been installed and prompts you to reboot, run the following command to restart:
 
1reboot
 


9. After your ESXi host restarts, connect via SSH and run the following command to exit maintenance mode:
 
1vim-cmd /hostsvc/maintenance_mode_exit
 

 
At this point, your ESXi host should be upgraded to ESXi 6.7.0.