cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1187
Views
2
Helpful
1
Replies

New Boot Options in UCSM 2.2 with powerTool 1.0.1

tg_bennett
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

reswaran
Cisco Employee
Cisco Employee

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.

View solution in original post

1 Reply 1

reswaran
Cisco Employee
Cisco Employee

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.

Cisco UCS X-Series Energy Efficiency Offer