Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Unified Computing UCS Manager Developer Center
Overview
UCS Manager XML Schema
UCS Automation Tool (goUCS)
Server and Host Management API
UCS Standalone C-Series Servers
Cisco Standalone C-Series CIMC XML API
goUCS Automation Tool
Cisco Standalone C-Series HUU Utilities
Documentation
Community
Testing
UCS Management Ecosystem
Management with HP Software
HP Operations Manager (HPOM)
HP Operations Orchestration (HPOO)
Management with Microsoft Software
Microsoft System Center
Cisco UCS PowerTool for UCSM
SDK
System Management Resources
Altiris
UCS Management with VMware Software
OpenStack
UCS Labs
Labs Wiki
VM-FEX
Overview
Getting Started
Resources
Flexpod
Overview
Getting Started
Resources
Everything
This Site
Blogs
Cisco UCS for RackTables
Jeffrey Silberman
25 Oct 2012
Cisco UCS PowerTool Examples
Eric Williams
20 Jul 2012
ANNOUNCEMENT: goUCS version 2.0 Released
Eric Williams
08 Mar 2012
Getting to Know your UCS Fabric Interconnect Neighbors
John McDonough
10 Nov 2011
SCOM MP version 2.0 for Cisco UCS is now available
Chakri Avala
01 Sep 2011
Showing 1 - 5 of 16 results.
Items per Page 5
Page
(Changing the value of this field will reload the page.)
1
2
3
4
of 4
First
Previous
Next
Last
Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Technical Discussions
Associating a Service Profile to a Blade.
Threads [
Previous
|
Next
]
Kshitij Korde
Posts:
4
Join Date:
1/30/13
Recent Posts
Associating a Service Profile to a Blade.
Answer
3/14/13 7:10 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
I am trying to associate a Service Profile to an available Blade server (“sys/chassis-1/blade-5”) using curl & HTTP post method. I am doing this on a Cisco UCS Emulator.
Command
"curl -H \"Content-Type: text/xml\" -N -s -d '<configConfMo cookie=\"$cookie\" inHierarchical=\"no\" dn=\"sys/chassis-1/blade-5\"> <inConfig><computeBlade descr=\"XXXXXUUUU1\" name=\"ISV_Blade_V\" assignedToDn=\"org-root/ls-ISV_Profile_File_3\"></computeBlade></inConfig></configConfMo>' http://1X.X6X.XX.4X/nuova";
But it gives me an error.
[ <configConfMo dn="sys/chassis-1/blade-5" cookie="1363262334/5b30d022-02f4-41ac-96a4-806c0fe6eb84" response="yes" errorCode="170" invocationResult="unidentified-fail" errorDescr="
Admin implicit props cannot be modified, class=computeBlade, prop=assignedToDn
"> </configConfMo> ]
Before executing this command I login <aaaLogin> using XYZ user. This user has all the roles enabled. I can modify the Server Name as well as the description but I cannot associate a server with a Service Profile.
How do I achieve this.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Eric Williams
Posts:
42
Join Date:
3/31/10
Recent Posts
RE: Associating a Service Profile to a Blade.
Answer
3/14/13 12:41 PM as a reply to Kshitij Korde.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Here's an example of associating a service profile w/ a blade with UCSPE 2.1(1aPE3)
Hope this helps
==>UCSPE-192-168-6-184:
<configConfMo cookie="1362850478/15650465-9841-4654-817d-a11fb53c80a9" dn="org-root/ls-bob" inHierarchical="false"><inConfig><lsServer dn="org-root/ls-bob" status="modified"><lsBinding pnDn="sys/chassis-1/blade-1" rn="pn" /><lsRequirement rn="pn-req" status="deleted" /></lsServer></inConfig></configConfMo>
<==UCSPE-192-168-6-184:
<configConfMo dn="org-root/ls-bob" cookie="1362850478/15650465-9841-4654-817d-a11fb53c80a9" response="yes"> <outConfig> <lsServer agentPolicyName="" assignState="unassigned" assocState="unassociated" biosProfileName="" bootPolicyName="" configQualifier="" configState="not-applied" descr="" dn="org-root/ls-bob" dynamicConPolicyName="" extIPPoolName="ext-mgmt" extIPState="none" fltAggr="1" fsmDescr="" fsmFlags="" fsmPrev="ConfigureSuccess" fsmProgr="100" fsmRmtInvErrCode="none" fsmRmtInvErrDescr="" fsmRmtInvRslt="" fsmStageDescr="" fsmStamp="2013-03-09T18:34:51.791" fsmStatus="nop" fsmTry="0" hostFwPolicyName="" identPoolName="" intId="41030" localDiskPolicyName="" maintPolicyName="" mgmtAccessPolicyName="" mgmtFwPolicyName="" name="bob" operBiosProfileName="" operBootPolicyName="org-root/boot-policy-default" operDynamicConPolicyName="" operExtIPPoolName="" operHostFwPolicyName="org-root/fw-host-pack-default" operIdentPoolName="" operLocalDiskPolicyName="org-root/local-disk-config-default" operMaintPolicyName="org-root/maint-default" operMgmtAccessPolicyName="" operMgmtFwPolicyName="" operPowerPolicyName="org-root/power-policy-default" operScrubPolicyName="org-root/scrub-default" operSolPolicyName="" operSrcTemplName="" operState="unassociated" operStatsPolicyName="org-root/thr-policy-default" operVconProfileName="" owner="management" pnDn="" policyLevel="0" policyOwner="local" powerPolicyName="default" scrubPolicyName="" solPolicyName="" srcTemplName="" statsPolicyName="default" status="modified" type="instance" usrLbl="" uuid="derived" uuidSuffix="0000-000000000000" vconProfileName=""/> </outConfig> </configConfMo>
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Kshitij Korde
Posts:
4
Join Date:
1/30/13
Recent Posts
RE: Associating a Service Profile to a Blade.
Answer
3/14/13 12:41 PM as a reply to Kshitij Korde.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Found the correct XML .... thanks you all.
# ASSOCIATING A SERVICE PROFILE WITH A SERVER
$profile_dn = "org-root/ls-ISV_Profile_File_2";
$server_dn = "sys/chassis-1/blade-2";
$cmd_configConfMo = $cmd_curl."'<configConfMo cookie=\"$cookie\" inHierarchical=$flag_inHierarchical><inConfig><lsServer dn=\"$profile_dn\"><lsBinding pnDn=\"$server_dn\"/></lsServer></inConfig></configConfMo>'".$url;
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Kshitij Korde
Posts:
4
Join Date:
1/30/13
Recent Posts
RE: Associating a Service Profile to a Blade.
Answer
3/14/13 12:43 PM as a reply to Eric Williams.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Thanks a lot Eric.
Best Regards,
¬Kshitij
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Collateral
No files available