VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 Replies Last post: Oct 24, 2009 8:14 AM by lamw  

interface with update manager posted: Oct 23, 2009 11:15 AM

Click to view andyhsia's profile Lurker 1 posts since
Oct 23, 2009

Hi,

I need to retrieve compliant updates for particular baseline in each ESX server under update manager tab.

I am able to retrieve HostPatchManager reference but not sure how to go from there.

Can someone provide a guideline on this? Thanks

Regards,

Andrew

Re: interface with update manager

1. Oct 24, 2009 8:14 AM in response to: andyhsia
Click to view lamw's profile Champion 2,803 posts since
Nov 27, 2007
afaik, there are no APIs exposed for VUM, what you're seeing with the HostPatchManager is the ability to patch individual hosts specifying a local repo and primarily this was a function for ESXi but should also work for classic ESX

With the latest version of vCLI, you have two commands vihostupdate for ESX(i) 4.0 and vihostupdate35 for ESX(i) 3.5. The command allows you to query, scan install or list the bundles/patches that have been applied against a specific host but it does not have capabilities such as checking it against a baseline created using VUM. You would be manually downloading a set of patches and that is what you would consider your 'baseline'. Both of these scripts are implemented using vSphere SDK for Perl and are installed as part of the vCLI, you can take a look at the source for further questions.

I've heard VUM APIs are coming but not sure when


=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
vGhetto Script Repository
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity
Twitter: @lamw

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

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

Developer Social Media

Communities