cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
421
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

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.

Content for Community-Ad