Monday, October 19, 2009

How to update VMware ESX patch using CLI

Using VMware Update Manager is pretty easy for VMware patch update but I would like to share about how to update VMware ESX patch using command line interface here as an alternative way.
First download VMware patch from VMware download web site said for an example:
VMware ESX 3.5 Update 2
Latest Version: 3.5 Update 2 | 8/13/2008 | Build: 110268
Login with your username & password and click YES for agree with VMware Inc. term and condition.

Option 1:
Once completed the VMware patch download, you can either copy the patch source file to Apache or IIS web server and unzip it said http://your.webserver.com/esxupdate/
Before continue with VMware ESX host patch, you can vmotion all VMware guest from ESX host 1 to VMware ESX host

2. Connect to VMware ESX host 1 box using SSH,

Enter server maintenance mode:
vimsh -n -e /hostsvc/maintenance_mode_enter

Tips: How can I check whether ESX host is in maintenance mode.
vimsh -n -e /hostsvc/runtimeinfo | grep inMaintenanceMode | awk ‘{print $3}’

Turn Off Firewall:
esxcfg-firewall –allowOutgoing


ESX patch update:
esxupdate -r http://your.webserver.com/esxupdate/ update

Option 2:
Copy patch source files into ESX host itself said for an example folder /download/esxupdate

Enter maintenance mode:
vimsh -n -e /hostsvc/maintenance_mode_enter

Turn Off Firewall:
esxcfg-firewall –allowOutgoing

ESX patch update:
cd /download/esxupdate; esxupdate update

Login another SSH session and monitor patch update log:
tail -f esxupdate.log

Let’s wait for a while and VMware host patch should be in progress now. The ESX host should be reboot once the patch completed.

Turn On Firewall:
esxcfg-firewall –blockOutgoing

Exit maintenance mode:
vimsh -n -e /hostsvc/maintenance_mode_exit

Again, we can check ESX host patch update using command:
cat /proc/vmware/version
OR
vmware -v
OR
esxupdate -l query

Congratulation! You’re done. You should have latest VMware ESX patch now!
Please feel free to comment to make it more useful to everyone.

http://malaysiavm.com/blog/how-to-update-vmware-esx-patch-using-cli/#comments
http://sanderdaems.wordpress.com/category/vmware/

57 comments:

Anonymous said...

xanax online can you buy xanax cancun - xanax side effects kidney

Anonymous said...

buy tramadol online buy tramadol 50mg - can you buy tramadol online in usa

Anonymous said...

xanax online skelaxin xanax drug interactions - buy xanax online us pharmacy

Anonymous said...

buy cheap tramadol buy cheap tramadol online - best place order tramadol online

Anonymous said...

generic xanax how much xanax and alcohol to die - xanax withdrawal symptoms how long

Anonymous said...

buy tramadol online tramadol and ibuprofen - purchase tramadol online

Anonymous said...

buy carisoprodol carisoprodol - carisoprodol online no prescription cod

Anonymous said...

xanax online xanax withdrawal heart attack - drug interactions xanax and ibuprofen

Anonymous said...

buy tramadol online cod overnight can you buy tramadol over the counter usa - buy tramadol mastercard

Anonymous said...

generic xanax xanax how long in system - 2mg ativan vs 2mg xanax

Anonymous said...

buy tramadol online tramadol addiction mayo clinic - tramadol generic

Anonymous said...

cheap carisoprodol buy carisoprodol cod - picture of carisoprodol 350 mg

Anonymous said...

buy tramadol online no prescription order tramadol online no rx - tramadol 50mg (generic ultram)

Anonymous said...

buy tramadol online tramadol purchase fedex - order tramadol overnight cod

Anonymous said...

carisoprodol 350 mg carisoprodol 350 mg review - carisoprodol addiction

Anonymous said...

buy tramadol online tramadol withdrawal flu - tramadol sandoz sr 100mg

Anonymous said...

cheap tramadol online tramadol 50 mg how long does it stay in your system - boompanjang blogspot buy tramadol online

Anonymous said...

generic xanax xanax withdrawal blurred vision - xanax 2

Anonymous said...

buy carisoprodol soma carisoprodol 500mg - carisoprodol usa

Anonymous said...

buy cheap carisoprodol carisoprodol mp 58 - carisoprodol mechanism

Anonymous said...

xanax online doctors prescribe xanax online - 30 mg xanax overdose

Anonymous said...

where to buy cialis online no prescription cheap cialis levitra - cialis tolerance

Anonymous said...

cialis no prescription buy cheap cialis online us - cialis y alcohol

Anonymous said...

cialis online cialis+online drugstore - cheap cialis levitra

Anonymous said...

xanax online buy cheap alprazolam no prescription - generic xanax pill identifier 029

Anonymous said...

buy cialis 10mg cialis online reputable - buy cialis online south africa

Anonymous said...

is it illegal to buy xanax online online pills 24 xanax - xanax side effects upset stomach

Anonymous said...

cialis online cialis generic online - cialis daily or 36

Anonymous said...

buy cialis online cialis mail order - buy cialis johannesburg

Anonymous said...

cialis online can you buy cialis - 36 hour cialis reviews

Anonymous said...

http://landvoicelearning.com/#38471 tramadol cause addiction - tramadol hcl xr 100mg

Anonymous said...

http://landvoicelearning.com/#62431 buy tramadol dogs usa - купить tramadol online

Anonymous said...

buy discount tramadol tramadol hcl recreational dose - tramadol for dogs panting

Anonymous said...

buy tramadol online mastercard overnight tramadol mechanism of action - tramadol 50mg t7

Anonymous said...

buy tramadol tramadol high alcohol - tramadol 50 mg iv

Anonymous said...

buy tramadol tramadol hcl with tylenol - how to buy tramadol online overnight

Anonymous said...

buy tramadol tramadol 50 mg recommended dose - buy tramadol online florida

Anonymous said...

learn how to buy tramdadol buy tramadol online without prescriptions - tramadol with alcohol

Anonymous said...

buy tramadol tramadol purchase online usa - tramadol withdrawal long does last

Anonymous said...

learn how to buy tramdadol buy tramadol without a script - buy tramadol online florida

Anonymous said...

buy tramadol 180 buy tramadol online cod - where to buy tramadol for dogs

Anonymous said...

buy tramadol tramadol 100mg euphoria - tramadol 50mg for dogs

Anonymous said...

http://landvoicelearning.com/#44827 tramadol buy dogs - tramadol hcl is it a narcotic

Anonymous said...

generic tramadol online generic tramadol usa - tramadol hcl 37.5 mg

Anonymous said...

buy tramadol tramadol hcl 50 mg what is it for - tramadol 50 mg for cramps

Anonymous said...

discount ativan lorazepam 1 mg for sleep - ativan dosage bluelight

Anonymous said...

order alprazolam g3721 xanax effects - xanax 2mg yellow bar

Anonymous said...

purchase tramadol chewing 100mg tramadol - tramadol for dogs maximum dosage

Anonymous said...

buy xanax online are yellow 2mg xanax time released - xanax 2mg 2090

Anonymous said...

buy tramadol online tramadol youtube - sniffing tramadol high

Anonymous said...

http://ranchodelastortugas.com/#50698 fake xanax pills - best place buy xanax online forum

Anonymous said...

buy xanax online xanax bars 5mg - buy xanax india

Anonymous said...

buy xanax online drug information on xanax - cheap xanax online no prescription

Anonymous said...

buy xanax online xanax 1mg buy online - xanax side effects 2mg

Anonymous said...

Youг repοгt features establіsheԁ helpful to us.
It’s quite informatiνe аnԁ you're simply certainly quite knowledgeable in this area. You have popped my personal eyes to be able to varying views on this particular subject matter with intriguing, notable and reliable articles.

Feel free to visit my web-site ... Buy ADIPEX

Anonymous said...

Youг own repoгt features eѕtablished useful to me.
Ӏt’s νеry helρful and you're simply naturally very educated in this region. You have got exposed my personal sight to different thoughts about this specific subject using intriguing and sound content material.

my homepage klonopin

Anonymous said...

Everyone loves what you guys tend to be up too. This type of clever work and
reporting! Keep up the terrific works guys I've added you guys to my personal blogroll.

Also visit my weblog - the tao of badass

Quote of the Day