cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1839
Views
0
Helpful
1
Replies

Associate Service Profile via PowerTool

I use UCS Central regsitered with 4 UCS Manager. I was trying to Create Service Profile and associate it to one of the domain/chassis/slot via PowerTool (Powershell).

What command should be used to associate a Domain/Blade 

Eg : Domain2/Chassis1/Slot-1

 

I can reach till Associating Service Profile but how to define the blade ?

Command :

Associate-UcsCentralServiceProfile -ServiceProfile <ProfileName> -Blade

 

Thanks in Advance

Regards

Sathish

1 Reply 1

npetkar
Cisco Employee
Cisco Employee

Hi Sathish,


You can get the desired blade object in a prior step via Get-UcsCentralBlade cmdlet.
PS> $blade = Get-UcsCentralBlade -Dn <bladeDn>


Then, you can use that in Associate-UcsCentralServiceProfile cmdlet as follows :
PS> Associate-UcsCentralServiceProfile -ServiceProfile <ProfileName> -Blade $blade


Regards.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Cisco UCS X-Series Energy Efficiency Offer