Hello All,
This is my first blog after decided to shutdown soon known forum egyeng.com and transfer posts to the blog.
I welcome you and wish you a great career, It will be my pleasure when you following me in blogs here.
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
Comments
Post a Comment