Blogs

Introduction

Racktables version 0.20.1 has new feature support for Cisco UCS environments. Racktables is a structured and robust open-source solution for datacenter asset management, that helps document hardware assets, network addresses, space in racks and network configuration.
...Read More

 

I just added a new section to the UCS PowerTool section on the UCS CDN site that will provide a central repository of PoSh scripts, examples, and videos that detail use cases and examples for UCS PowerTool.

Here is the link:
http://developer.cisco.com/web/unifiedcomputing/powertool-examples
...Read More

 

I would like to announce the general availability of goUCS version 2.0 on Cisco Developer Network. A lot of time and effort has been put into the newest goUCS release, with some of the main features being detailed below.

 

Lest anyone thinks I have forgotten about my blogging on the UCS API, I have not, but I have written a blog recently for the Data Center blog and it is applicable to the UCS so I thought I would share the link here along with the blog into.

Early in my career I moved quite a bit, new job, growing family, whatever the reason it seemed like every two or three years we were packing up and going to a new place and meeting our new neighbors.
...Read More

 

Updated and completely revised version 2.0 MP for Cisco UCS is now available for download. Please check the release notes for the complete list of bug fixes ...Read More

 

Showing 1 - 5 of 16 results.
Items per Page 5
of 4

Forums

« Back to Microsoft Discussions

UCS Service Profile Template creation

Combination View Flat View Tree View
Threads [ Previous | Next ]
Has anyone created a service profile template using the powertool? I could not find a cmdlet or an example that shows how to perform the task.  I have automated most of the steps for Cisco UCS configuration but am missisng this piece. Any help is appreciated.

Neville,

The cmdlet is:
Add-UcsServiceProfile –Type initial-template <other parameters>
Or:
Add-UcsServiceProfile –Type updating-template <other parameters>

When in doubt, please use the ConvertTo-UcsCmdlet cmdlet to dump GUI operations as cmdlets. Please ensure that you follow the process outlined in the QuickStart guide when launching the GUI, when used with this cmdlet.

Thanks,
- bhaskar



From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, March 07, 2013 1:08 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Neville George in Unified Computing UCS Manager - Microsoft Discussions: UCS Service Profile Template creation

Neville George has created a new message in the forum "Microsoft Discussions": -------------------------------------------------------------- Has anyone created a service profile template using the powertool? I could not find a cmdlet or an example that shows how to perform the task. I have automated most of the steps for Cisco UCS configuration but am missisng this piece. Any help is appreciated.
--
To respond to this post, please click the following link: or simply reply to this email.

Fantastic. This is great. I used the Add-UcsServiceProfile previously for creating Service Profiles from template but glad to know that it will suffice for the templates too. 
The Convertto-UCSCmdlet is great but I cannot find which QuickStart guide you are referring to. I found the Powertool User Guid at the following link (http://developer.cisco.com/web/unifiedcomputing/pshell-download) but it did not mention anything on how to get it working successfully. 
I tried copying XML from the GUI to a file and running ConvertTo-UcsCmdlet -Xml –LiteralPath "$outputFilePath\1.xml"
It completed successfully with the output (WARNING: Please review the generated cmdlets before deployment) but there were no cmdlets in the output. Could you point me to the Quick start guide? Or if there is anything obvious I am missing. 

I tried a simple script
############
$invocation = (Get-Variable MyInvocation).Value
$outputFilePath = Split-Path $invocation.MyCommand.Path
ConvertTo-UcsCmdlet -Xml -Request ' <orgOrg childAction="deleteNonPresent" descr="" dn="org-root/org-Test" fltAggr="0" level="1" name="Test"  > <powerPolicy childAction="deleteNonPresent" descr=""  intId="486088" name="default" operPrio="5" prio="5" rn="power-policy-default" /> <statsThresholdPolicy childAction="deleteNonPresent" descr=""  intId="486087" name="default" rn="thr-policy-default" /> </orgOrg>'
############
Output is just the below with nothing else:
WARNING: Please review the generated cmdlets before deployment.
 

Neville George:
Fantastic. This is great. I used the Add-UcsServiceProfile previously for creating Service Profiles from template but glad to know that it will suffice for the templates too. 
The Convertto-UCSCmdlet is great but I cannot find which QuickStart guide you are referring to. I found the Powertool User Guid at the following link (http://developer.cisco.com/web/unifiedcomputing/pshell-download) but it did not mention anything on how to get it working successfully. 
I tried copying XML from the GUI to a file and running ConvertTo-UcsCmdlet -Xml –LiteralPath "$outputFilePath\1.xml"
It completed successfully with the output (WARNING: Please review the generated cmdlets before deployment) but there were no cmdlets in the output. Could you point me to the Quick start guide? Or if there is anything obvious I am missing. 

 
Neville:
WHen would you be available to have a webex, as it might be easiest to help you that way.  Feel free to reach out to me directly at ericwill@cisco.com
Thanks,
Eric
 
 

Collateral


No files available