VMware Cloud Community
denjoh44
Enthusiast
Enthusiast

two baselines

i have two Baseline,the first for the upgrade hardware and second for upgrade vmwaretool

i would upgraded templates with this two baseline

how use remediate-invotory to do the upgrade with this two baselines

the first Baseline name --> upgrade hardware

the second Baseline name --> upgrade wmwaretool 

how attach this two baseline

remediate-invotory with two baseines

and detach this Baseline

.... for template

ca help me

tnak

0 Kudos
2 Replies
denjoh44
Enthusiast
Enthusiast

Sorry, i don't speak englisk very well but can you help me

0 Kudos
sajal1
Hot Shot
Hot Shot

Typically from GUI you would create Baseline groups. It seems right now there is no way you can create a Baseline group from cmdline. But since you can apply the patches one by one, so check the script written below. Easiest and simplest solution. Let me know whether this works or not. Otherwise we can go ahead and write scripts to apply these one by one.

Re: Update Manager cmdlets and "Baseline Groups"

# Get MyTestCluster
$cluster
= Get-Cluster MyTestCluster


# Create a Baseline Group from multiple baselines
$baselines = get-baseline | `
     Where {$_.name.contains("ESXi5 Upgrade") `
     -or $_.name.contains("- Dell -") `
     -or $_.name.contains("VMware ESXi 5.x Patches")}


# Start remediating the cluster
$Cluster | Remediate-Inventory -Baseline $baselines `
     -ClusterDisableHighAvailability:
$true `
     -ClusterEnableParallelRemediation:$true `
     -HostIgnoreThirdPartyDrivers:$true -Confirm:$False


Based on the baseline names, I get one upgrade baseline (ESXi4.1 -> ESXi5) and a baseline with the latest patches,
and a vendor specific extension baseline. Update Manager puts these automatically in the correct order and upgrades and patc
0 Kudos