VMware

This Question is Answered

7 Replies Last post: Nov 24, 2009 2:14 PM by LucasAlbers  

Commandline upgrade from ESXi 4.0 to ESXi 4.0 U1 posted: Nov 23, 2009 2:13 PM

Click to view COS's profile Expert 721 posts since
Dec 12, 2005
I know there is a method in ESX using "esxupdate" but is there a simple method like this for ESXi commandline? Can anyone post a step by step method and let me know which download to install? I downloaded this one...

Upgrade package from ESXi Server 4.0 to ESXi Server 4.0 Update 1
This package provides expert users with remote, headless upgrade capability from ESXi Server 4.0 to ESXi Server 4.0 Update 1. Use this package with the Remote Command Line Interface "vihostupdate".

Or is this not available for ESXi?

Re: Commandline upgrade from ESXi 4.0 to ESXi 4.0 U1

1. Nov 23, 2009 2:35 PM in response to: COS
Click to view lamw's profile Champion vExpert 3,274 posts since
Nov 27, 2007
You need to download and install vCLI which runs on either a Windows or Linux system, you can also use VMware's vMA virtual appliance which is RHEL5 that includes the vCLI and vSphere SDK for Perl. You also have the option of just using the graphical update utility that is bundled with the installation of vCenter 4.0u1

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
Twitter: @lamw
vGhetto Script Repository
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

Re: Commandline upgrade from ESXi 4.0 to ESXi 4.0 U1

3. Nov 23, 2009 4:05 PM in response to: COS
Click to view lamw's profile Champion vExpert 3,274 posts since
Nov 27, 2007
No you don't need vCenter to use the vCLI nor the host update utility (this is a standalone Windows GUI tool). Please take a look at the upgrade documentation and its explained in detail on how to upgrade you hosts.

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
Twitter: @lamw
vGhetto Script Repository
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

Re: Commandline upgrade from ESXi 4.0 to ESXi 4.0 U1

5. Nov 23, 2009 5:06 PM in response to: COS
Click to view lamw's profile Champion vExpert 3,274 posts since
Nov 27, 2007
Probably because you're not passing in the right syntax params and by default it'll use localhost. All vCLI commands will always have the default --server, --username and --password (or you can leave password off and you'll be prompted)

Try this:

vihostupdate.pl --server 10.4.75.230 -user user -i -b C:\ESXi-4.0.0-update01.zip

and assuming that IP is your ESXi host, you'll be prompted for your password


Note: Also if you're using the vCLI to automate any tasks, ensure you're on an eval or properly licensed edition of ESXi, as you can not use the vCLI with the free version of ESXi else you'll get an error.


=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
Twitter: @lamw
vGhetto Script Repository
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

Re: Commandline upgrade from ESXi 4.0 to ESXi 4.0 U1

7. Nov 24, 2009 2:14 PM in response to: COS
Click to view LucasAlbers's profile Expert 420 posts since
Mar 29, 2005

you can also load a bundle from a http address.

esxupdate --bundle=http://server/esxi/dellopenmanage.zip update


VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities