02-05-2014 09:28 AM
I am using PowerTool 1.0.1. With UCSM 2.2 there are new boot options, Internal USB, External USB, Internal SD or local LUN. In my script I use Add-UcsLsbootStorage, Add-UcsLsbootLan and Add-UcsLsbootLocalStorage to specify boot order in the policy.
# Create Boot Policy
Write-Host "UCS: Creating Boot Policy: $bootpolname"
Start-UcsTransaction
$bootpol = Get-UcsOrg -Level root | Get-UcsOrg -Name $org -LimitScope | Add-UcsBootPolicy -Descr "" -EnforceVnicName "yes" -Name $bootpolname -RebootOnUpdate "no" -ModifyPresent
$pxe = $bootpol | Add-UcsLsbootLan -ModifyPresent -Order "1" -Prot "pxe"
$eth0 = $pxe| Add-UcsLsbootLanImagePath -BootIpPolicyName "" -ISCSIVnicName "" -ImgPolicyName "" -ImgSecPolicyName "" -ProvSrvPolicyName "" -Type "primary" -VnicName "eth0" -ModifyPresent
$LocalDisk = $bootpol | Add-UcsLsbootStorage -ModifyPresent -Order "2"
$AddLocalDisk = $LocalDisk | Add-UcsLsbootLocalStorage -ModifyPresent
Complete-UcsTransaction
I looked at the help and did not see any extra cmdlets to specify USB or SD. How do I specify the boot order for these new devises?
thanks,
Tim
Solved! Go to Solution.
02-05-2014 09:54 AM
The PowerTool 1.1(1) which is in development now will support new features of UCSM 2.2. Till then, you can use the generic Get|Set|Add-UcsManagedObject cmdlets for these new MOs. PowerTool 1.1 is expected to be released by end of this month.
02-05-2014 09:54 AM
The PowerTool 1.1(1) which is in development now will support new features of UCSM 2.2. Till then, you can use the generic Get|Set|Add-UcsManagedObject cmdlets for these new MOs. PowerTool 1.1 is expected to be released by end of this month.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide