<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>iSCSI boot using the initiator pool; powertool script not running</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8531937" />
  <subtitle>iSCSI boot using the initiator pool; powertool script not running</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8531937</id>
  <updated>2013-06-19T09:00:23Z</updated>
  <dc:date>2013-06-19T09:00:23Z</dc:date>
  <entry>
    <title>RE: iSCSI boot using the initiator pool; powertool script not running</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8888572" />
    <author>
      <name>Vijay Balyan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8888572</id>
    <updated>2012-11-28T14:44:44Z</updated>
    <published>2012-11-28T14:44:44Z</published>
    <summary type="html">John,
We have spotted a change that needs to be done in ConvertTo-UcsCmdlet to set this right.
The issue is with the below cmdlet in the set. There is caused because of a missing 'Set' Verb for an MO. 
[color=#525252]$mo_8_1_2_1 = $mo_8_1_2 | Set-UcsManagedObject -PropertyMap @{IdentPoolName="iscsi-initiator-pool"; }[/color]
 
A fix would be available in 0.9.11.0
 
Thanks,
Vijay Vikrant Balyan</summary>
    <dc:creator>Vijay Balyan</dc:creator>
    <dc:date>2012-11-28T14:44:44Z</dc:date>
  </entry>
  <entry>
    <title>Automatic reply: New Message from John Kennedy in Unified Computing UCS Man</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8531952" />
    <author>
      <name>Tsu-Sheng Tsao</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8531952</id>
    <updated>2012-11-13T19:05:48Z</updated>
    <published>2012-11-13T19:05:48Z</published>
    <summary type="html">Thank you for your message, I am out of the office with limited access to e-mail. For urgent case please contact Luis Chang, I will be returning on Nov 20.

-James Tsao</summary>
    <dc:creator>Tsu-Sheng Tsao</dc:creator>
    <dc:date>2012-11-13T19:05:48Z</dc:date>
  </entry>
  <entry>
    <title>iSCSI boot using the initiator pool; powertool script not running</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8531936" />
    <author>
      <name>John Kennedy</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8531936</id>
    <updated>2012-11-13T19:04:32Z</updated>
    <published>2012-11-13T19:04:32Z</published>
    <summary type="html">All, 
I am trying to create a service profile with iscsi boot vnics that use the iscsi-initiator-pool. I used convertto-ucscmdlet to generate a script while performing the tasks manually. The resulting script gave an error "

WARNING: Attempt to set non-existent property 'IdentPoolName' in class 'VnicIPv4If'.
WARNING: Attempt to set non-existent property 'IdentPoolName' in class 'VnicIPv4If'.
Complete-UcsTransaction : ucsm:XML PARSING ERROR: unknown attribute 'identPoolName' in element 'vnicIPv4If'
At C:\Users\johnken\Desktop\FlexPod Scripts\scripts\Add-IPMIAddresses.ps1:26 char:24
+ Complete-UcsTransaction &lt;&lt;&lt;&lt; 
    + CategoryInfo          : NotSpecified: (:) [Complete-UcsTransaction], Exception
    + FullyQualifiedErrorId : 300,Cisco.Ucs.Cmdlets.CompleteUcsTransaction

 
Sounds like the version I'm using doesn't have this property written in. 
Any idea how I can script this?
 

Start-UcsTransaction
$mo = Get-UcsOrg -Level root  | Add-UcsServiceProfile -AgentPolicyName "" -BiosProfileName "" -BootPolicyName "Boot-Fabric-A" -Descr "" -DynamicConPolicyName "" -ExtIPState "none" -HostFwPolicyName "VM-Host-Infra" -IdentPoolName "UUID_Pool" -LocalDiskPolicyName "default" -MaintPolicyName "" -MgmtAccessPolicyName "" -MgmtFwPolicyName "VM-Host-Infra" -Name "VM-Host_Infra_Fabric_A" -PowerPolicyName "default" -ScrubPolicyName "" -SolPolicyName "" -SrcTemplName "" -StatsPolicyName "default" -Type "updating-template" -UsrLbl "" -Uuid "0" -VconProfileName "VM-Host-Infra"
$mo_1 = $mo | Add-UcsVnicDefBeh -ModifyPresent -Action "none" -NwTemplName "" -Type "vhba"
$mo_2 = $mo | Add-UcsVnic -AdaptorProfileName "VMWare" -Addr "derived" -AdminVcon "1" -IdentPoolName "" -Mtu 1500 -Name "iSCSI-vNIC-A" -NwCtrlPolicyName "" -NwTemplName "iSCSI_Template_A" -Order "3" -PinToGroupName "" -QosPolicyName "" -StatsPolicyName "default" -SwitchId "A"
$mo_3 = $mo | Add-UcsVnic -AdaptorProfileName "VMWare" -Addr "derived" -AdminVcon "1" -IdentPoolName "" -Mtu 1500 -Name "iSCSI-vNIC-B" -NwCtrlPolicyName "" -NwTemplName "iSCSI_Template_B" -Order "4" -PinToGroupName "" -QosPolicyName "" -StatsPolicyName "default" -SwitchId "A"
$mo_4 = $mo | Add-UcsVnic -AdaptorProfileName "VMWare" -Addr "derived" -AdminVcon "1" -IdentPoolName "" -Mtu 1500 -Name "vNIC-A" -NwCtrlPolicyName "" -NwTemplName "vNIC_Template_A" -Order "1" -PinToGroupName "" -QosPolicyName "" -StatsPolicyName "default" -SwitchId "A"
$mo_5 = $mo | Add-UcsVnic -AdaptorProfileName "VMWare" -Addr "derived" -AdminVcon "1" -IdentPoolName "" -Mtu 1500 -Name "vNIC-B" -NwCtrlPolicyName "" -NwTemplName "vNIC_Template_B" -Order "2" -PinToGroupName "" -QosPolicyName "" -StatsPolicyName "default" -SwitchId "A"
$mo_6 = $mo | Add-UcsVnicFcNode -ModifyPresent -Addr "pool-derived" -IdentPoolName "node-default"
$mo_7 = $mo | Add-UcsVnicIScsi -ModifyPresent -AdaptorProfileName "default" -Addr "derived" -AdminVcon "any" -AuthProfileName "" -ConfProfileName "" -ExtIPState "none" -IdentPoolName "" -InitiatorName "" -IqnIdentPoolName "IQN_Pool_A" -Name "iSCSI-vNIC-A" -NwTemplName "" -Order "1" -PinToGroupName "" -QosPolicyName "" -StatsPolicyName "default" -SwitchId "A" -VnicName "iSCSI-vNIC-A"
$mo_7_1 = $mo_7 | Add-UcsVnicVlan -ModifyPresent -Name "" -VlanName "iSCSI-VLAN"
$mo_7_1_1 = $mo_7_1 | Add-UcsVnicIScsiStaticTargetIf -AuthProfileName "" -IpAddress $FAS_A_iSCSI_IP -Name $FAS_A_iSCSI_IQN -Port 3260 -Priority 1
$mo_7_1_1_1 = $mo_7_1_1 | Add-UcsVnicLun -ModifyPresent -Bootable "no" -Id 0
$mo_7_1_2 = $mo_7_1 | Add-UcsVnicIPv4If -ModifyPresent -Name ""
$mo_7_1_2_1 = $mo_7_1_2 | Set-UcsManagedObject -PropertyMap @{IdentPoolName="iscsi-initiator-pool"; }
$mo_8 = $mo | Add-UcsVnicIScsi -ModifyPresent -AdaptorProfileName "default" -Addr "derived" -AdminVcon "any" -AuthProfileName "" -ConfProfileName "" -ExtIPState "none" -IdentPoolName "" -InitiatorName "" -IqnIdentPoolName "IQN_Pool_B" -Name "iSCSI-vNIC-B" -NwTemplName "" -Order "2" -PinToGroupName "" -QosPolicyName "" -StatsPolicyName "default" -SwitchId "A" -VnicName "iSCSI-vNIC-B"
$mo_8_1 = $mo_8 | Add-UcsVnicVlan -ModifyPresent -Name "" -VlanName "iSCSI-VLAN"
$mo_8_1_1 = $mo_8_1 | Add-UcsVnicIScsiStaticTargetIf -AuthProfileName "" -IpAddress $FAS_A_iSCSI_IP -Name $FAS_A_iSCSI_IQN -Port 3260 -Priority 1
$mo_8_1_1_1 = $mo_8_1_1 | Add-UcsVnicLun -ModifyPresent -Bootable "no" -Id 0
$mo_8_1_2 = $mo_8_1 | Add-UcsVnicIPv4If -ModifyPresent -Name ""
$mo_8_1_2_1 = $mo_8_1_2 | Set-UcsManagedObject -PropertyMap @{IdentPoolName="iscsi-initiator-pool"; }
$mo_9 = $mo | Add-UcsServerPoolAssignment -ModifyPresent -Name "Infra_Pool" -Qualifier "" -RestrictMigration "no"
$mo_10 = $mo | Set-UcsServerPower -State "admin-down"
Complete-UcsTransaction</summary>
    <dc:creator>John Kennedy</dc:creator>
    <dc:date>2012-11-13T19:04:32Z</dc:date>
  </entry>
</feed>

