Results 1 to 1 of 1
-
16-05-2018, 06:35 PM #1
- Join Date
- Nov 2007
- Location
- Arab world!
- Posts
- 6,169
- Blog Entries
- 4
- Rep Power
- 10
Upgrade ESXi 6.5 using CLI command in seconds
Hello,
You could upgrade ESXi in few seconds using CLI commands.
Please use offline bundle of ESXi version 6.5 , you could upload it directly to one of datastores or attach it as ISO file to console and then copy it to datastore.
1. after attach ISO to CD, then mount it in ESX via CLI.
To find the device reference of your CDROM:
esxcfg-mpath -l
Example output:
Code:ide.vmhba32-ide.0:0-mpx.vmhba32:C0:T0:L0 Runtime Name: vmhba32:C0:T0:L0 Device: mpx.vmhba32:C0:T0:L0 Device Display Name: Local TEAC CD-ROM (mpx.vmhba32:C0:T0:L0) State: active Transport: ide
vmkload_mod iso9660
Mount the CDROM using the device determined earlier with esxcfg-mpath -l:
/sbin/vsish -e set /vmkModules/iso9660/mount mpx.vmhba32:C0:T0:L0
The CDROM will be mounted under /vmfs/volumes/ [CDROM Label] /
2. You need to know the ISO profile using below command
Code:esxcli software profile update -p ESXi-6.5.0-20170702001-standard -d /vmfs/volumes/SCSIDatastore1/UPDATE~1.ZIP
Code:You will find output like below Name Vendor Acceptance Level -------------------------------- ------------ ---------------- ESXi-6.5.0-20170701001s-no-tools VMware, Inc. PartnerSupported ESXi-6.5.0-20170702001-no-tools VMware, Inc. PartnerSupported ESXi-6.5.0-20170701001s-standard VMware, Inc. PartnerSupported ESXi-6.5.0-20170702001-standard VMware, Inc. PartnerSupported
3. now you will run the command to perform the upgrade.
Code:esxcli software profile update -p ESXi-6.5.0-20170702001-standard -d /vmfs/volumes/SCSIDatastore1/UPDATE~1.ZIP
On other side, if Vcenter is Appliance version and have any issues in viewing right status you could reboot all services from its console as below.
Code:service-control --start --all
Last edited by Mohamed Fouad; 17-05-2018 at 11:52 AM.
Mohamed Fouad
Technical Team Leader
Or.
Connect your EgyEng.comand Facebook account NOW!
Just click on the Facebookicon so scroll till upper of the page and connect NOW!
من مواضيع Mohamed Fouad :
- 4Shared account for all EgyptEngineers Group members
- متجدد -برنامج Kaspersky Internet Security 2011-11.0.1.400 Final حصريا ايجى انج...
- برنامج خرافة تعليم mcse عملى
- Exchange 2007-2003- How to Set or Change the Location of Storage Group Log Files CCR
- Forgot the Administrator’s Password? - Change Domain Admin Password in Windows Server
- LPG fuel facts
- برنامج لا يفوت اى حد فى عالم حماية الشبكات GFI Web Monitor v4
- Need Training Materials For Sql Server 2005
- The New Generation of Microsoft Certifications for 2008
- Photos De Champions D'Afrique
- Forum Ads:
- Forum Ads:
-->
Facebook Comments - تعليقـك على الفيس بوك يسعدنا ويطور مجهوداتنـا
Similar Threads
-
Hp iLO 4 Firmware can cause VMware ESXi PSOD and Windows BSOD
By Mohamed Fouad in forum Hardware & MaintenanceReplies: 0Last Post: 24-07-2014, 12:10 PM -
Create Hyper-V VHD in Seconds With WAIK WIM2VHD.WSF
By mohamadoz in forum HyperVReplies: 0Last Post: 27-06-2011, 11:15 PM -
[Q] How To Upgrade from SPL 1.08 to 4.XX ?
By amrsohil2000 in forum Mobile technologyReplies: 4Last Post: 18-10-2010, 10:57 AM -
Upgrade MCSE to MCITP Resources
By Mohamed Fouad in forum Microsoft CertificationsReplies: 0Last Post: 06-02-2010, 09:33 PM -
IIS Command line
By mohsen_turki in forum Web developmentReplies: 1Last Post: 12-06-2009, 05:16 PM