vSphere PowerCLI Blog: Now Available: PowerCLI cmdlets for vCenter Update Manager!
Get your popcorn ready, sample TrainSignal PowerCLI video! | Main
March 02, 2010
Now Available: PowerCLI cmdlets for vCenter Update Manager!
I’m happy to announce that we’ve released PowerCLI cmdlets for Update Manager, a.k.a. VUM, that are compatible with PowerCLI 4.0 U1. This new PowerShell snapin provides 13 cmdlets as follows:
Cmdlet Name
Cmdlet Description
Attach-Baseline
Attaches baselines to the specified Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and VApp objects.
Attaching a baseline to a container object such as a folder or datacenter transitively attaches the baseline to all objects in the container.
Detach-Baseline
Detaches baselines from the specified inventory objects.
Download-Patch
Downloads new patches into the Update Manager patch repository from the enabled patch download sources.
Get-Baseline
Retrieves the baselines specified by the provided cmdlet
parameters.
Get-Compliance
Retrieve baseline compliance data for the specified object of type Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and VApp.
Get-Patch
Retrieves all available patches or those specified by the provided cmdlet parameters.
Get-PatchBaseline
Retrieves all patch baselines or those specified by the provided cmdlet parameters.
New-PatchBaseline
Creates a new patch baseline. Patch baselines can be applied to either hosts or virtual machines. Depending on the patch criteria you select, patch baselines can be either dynamic or static (fixed).
Remediate-Inventory
Remediates an inventory object against the specified baselines.
Remove-Baseline
Deletes the specified baselines from their servers. Before the
removal, the baselines are detached from all entities they have been attached to.
Scan-Inventory
Scans inventory objects for baselines attached to them.
Set-PatchBaseline
Modifies the properties of a patch baseline. You can specify explicitly the patches you want to include in the baseline through the IncludePatch parameter.
Stage-Patch
Initializes staging of patches. Staging allows you to download
patches from the Update Manager server to the ESX/ESXi hosts, without applying the patches immediately.
Download the VUM PowerCLI cmdlets now, remember you will also need PowerCLI 4.0 U1.
Posted at 09:56 PM | Permalink
TrackBack
TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c328153ef01310f56d730970cListed below are links to weblogs that reference Now Available: PowerCLI cmdlets for vCenter Update Manager!:
Comments
Re: Memory Compression
I was just reading Scott Drummonds article on Memory Compression. Scott explains where Memory Compression comes in to play. I guess the part I want to reply on is the following:
VMware’s long-term prioritization for managing the most aggressively over-committed memory looks like this:
- Do not swap if possible. We will continue to leverage transparent page sharing and ballooning to make swapping a last resort.
- Use ODMC to a predefined cache to decrease memory utilization.*
- Swap to persistent memory (SSD) installed locally in the server.**
- Swap to the array, which may benefit from installed SSDs.
(*) Demonstrated in the lab and coming in a future product.
(**) Part of our vision and not yet demonstrated.I just love it when we give insights in upcoming features but I am not sure I agree with the prioritization. I think there are several things that one needs to keep in mind. In other words there’s a cost associated to these decisions / features and your design needs to adjusted to these associated effects.
- TPS -> Although TPS is an amazing way of reducing the memory footprint you will need to figure out what the ratio of deduplication is. Especially when you are using Nehalem processors there’s a serious decrease. The reasons for the decrease of TPS effectiveness are the following:
- NUMA – By default there is no inter node transparent page sharing (read Frank’s article for more info on this topic)
- Large Pages – By default TPS does not share large(2MB) pages. TPS only shares small(4KB) pages. It will break large pages down in small pages when memory is scarce but it is definitely something you need to be aware off. (for more info read my article on this topic.
- Use ODMC -> I haven’t tested with ODMC yet and I don’t know what the associated cost is at the moment.
- Swap on local SSD -> Swap on local SSD will most definitely improve the speed when swapping occurs. However as Frank already described in his article there is an associated cost:
- Disk space – You will need to make sure you will have enough disk space available to power on VMs or migrate VMs as these swap files will be created at power on or at migration.
- Defaults – By default .vswp files are stored in the same folder as the .vmx. Changing this needs to be documented and taken into account during upgrades and design changes.
- Swap to array (SSD) -> This is the option that most customers use for the simple reason that it doesn’t require a local SSD disk. There are no changes needed to enable it and it’s easier to increase a SAN volume than it is to increase a local disk when needed. The associated costs however are:
- Costs – Shared storage is relatively expensive compared to local disks
- Defaults – If .vswp files need to be SSD based you will need to separate the .vswp from the rest of the VMs and created dedicated shared SSD volumes.
I fully agree with Scott that it’s an exciting feature and I can’t wait for it to be available. Keep in mind though that there is a trade off for every decision you make and that the result of a decision might not always end up as you expected it would. Even though Scott’s list makes totally sense there is more than meets the eye.