[Linux-PowerEdge] LC remote changing from raid1 to raid0

Martin Flemming martin.flemming at desy.de
Wed Nov 14 07:42:51 CST 2012


Hi, Ganesh et all !


On Fri, 9 Nov 2012, Ganesh_Viswanathan at Dell.com wrote:
> Hello Martin,
> This might be much easier using Recite available here: http://dell.to/recite-wsman.
>
> You can refer to the Best Practices guide for details on RAID creation. Section 4.1 has the methods to invoke. There are also sample Recite scripts that will help you get started.

thanks for the hints ... but i'm not very successfully :-(
Hopeing to get the right direction to get this running

I'm starting with RAIDstacking_TIME_NOW.win from BestPracticeFlows-collection
and "rewrite" it for RAID0 and only for two disks ..

cat RAID-Stripe0-stacking_TIME_NOW.win|grep -v \^#
######################################################
Set $swait 30
Set $lwait 1800
Set $FQDD RAID.Integrated.1-1
Set $poll_reloading FALSE
Set $poll_ready TRUE
batch BestPracticeFlows/helpers/GetSystemStatus.win
batch BestPracticeFlows/DisableCSIOR.win
ResetConfig Target=$FQDD
Until ReturnValue=0 $swait $lwait CreateVirtualDisk Target=$FQDD PDArray=Disk.Bay.0:Enclosure.Internal.0-0:$FQDD PDArray=Disk.Bay.1:Enclosure.Internal.0-0:$FQDD VDPropValueArray=2
Find InstanceID $vd1
Until ReturnValue=4096 $swait $lwait CreateRAIDConfigJob Target=$FQDD 
ScheduledStartTime=TIME_NOW RebootJobType=3
Find InstanceID $jid
Until JobStatus=Completed $swait $lwait GetLifecycleJob InstanceID=$jid
Set $poll_reloading TRUE
Set $poll_ready TRUE
batch BestPracticeFlows/helpers/GetSystemStatus.win
-GetVirtualDiskViews
-GetPhysicalDiskViews
##############################################################

but get finally  follow error messages "CreateVirtualDisk_OUTPUT Message = Physical disk not found"

-> Until ReturnValue=0 $swait $lwait CreateVirtualDisk Target=$FQDD PDArray=Disk.Bay.0:Enclosure.Internal.0-0 PDArray=Disk.Bay.1:Enclosure.Internal.0-0 VDPropValueArray=2
Wed Nov 14 14:16:29 2012: Until ReturnValue=0 $swait $lwait 
CreateVirtualDisk Target=$FQDD PDArray=Disk.Bay.0:Enclosure.Internal.0-0 PDArray=Disk.Bay.1:Enclosure.Internal.0-0 VDPropValueArray=2
Wed Nov 14 14:16:29 2012: CreateVirtualDisk Target=RAID.Integrated.1-1 PDArray=Disk.Bay.0:Enclosure.Internal.0-0 PDArray=Disk.Bay.1:Enclosure.Internal.0-0 VDPropValueArray=2
wsman invoke -a CreateVirtualDisk "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService" 
-h 10.13.58.189 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y basic -J /tmp/tmpTxHkhU

<p:CreateVirtualDisk_INPUT 
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService">
   <p:PDArray>Disk.Bay.0:Enclosure.Internal.0-0</p:PDArray>
   <p:PDArray>Disk.Bay.1:Enclosure.Internal.0-0</p:PDArray>
   <p:Target>RAID.Integrated.1-1</p:Target>
   <p:VDPropNameArray>RAIDLevel</p:VDPropNameArray>
   <p:VDPropNameArray>SpanLength</p:VDPropNameArray>
   <p:VDPropValueArray>2</p:VDPropValueArray>
</p:CreateVirtualDisk_INPUT>

CreateVirtualDisk_OUTPUT
   Message = Physical disk not found
   MessageID = STOR029
   ReturnValue = 2

   Until: ReturnValue != 0  [['2']]


What's going wrong ?! :-(

Any Help is welcome ! :-)


Thanks in Advance

 	             martin


Below all steps till the error message :


python recite.py IP=root:calvin at IP_HOST

GetVirtualDiskViews

CIM_VirtualDiskView
   BusProtocol = 6
   Cachecade = 0
   DiskCachePolicy = 1024
   FQDD = Disk.Virtual.0:RAID.Integrated.1-1
   InstanceID = Disk.Virtual.0:RAID.Integrated.1-1
   LastSystemInventoryTime = 20121113223602.000000+000
   LastUpdateTime = 20121113223602.000000+000
   LockStatus = 0
   MediaType = 1
   Name = Virtual Disk 00
   ObjectStatus = 0
   OperationName = None
   OperationPercentComplete = 0
   PhysicalDiskIDs = Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1
   PhysicalDiskIDs = Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1
   PrimaryStatus = 1
   RAIDStatus = 2
   RAIDTypes = 2
   ReadCachePolicy = 16
   RemainingRedundancy = 0
   RollupStatus = 1
   SizeInBytes = 598879502336
   SpanDepth = 1
   SpanLength = 2
   StartingLBAinBlocks = 0
   StripeSize = 128
   VirtualDiskTargetID = 0
   WriteCachePolicy = 1




--> Set $FQDD RAID.Integrated.1-1
Wed Nov 14 14:11:57 2012: Set $FQDD RAID.Integrated.1-1
--> batch BestPracticeFlows/helpers/GetSystemStatus.win
Wed Nov 14 14:12:07 2012: batch 
BestPracticeFlows/helpers/GetSystemStatus.win
Wed Nov 14 14:12:07 2012: Set $swait 30
Wed Nov 14 14:12:07 2012: Set $lwait 1800
Wed Nov 14 14:12:07 2012: GetSystemViews
wsman enumerate "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_SystemView" 
-h 10.13.58.189 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y basic

DCIM_SystemView
   AssetTag
   BIOSReleaseDate = 08/21/2012
   BIOSVersionString = 1.3.5
   BaseBoardChassisSlot = Slot 07
   BatteryRollupStatus = 1
   BladeGeometry = 0
   BoardPartNumber = 0W8TY0A01
   BoardSerialNumber = CN70163278002O
   CMCIP = 10.13.58.134
   CPLDVersion = 1.0.3
   CPURollupStatus = 1
   ChassisName = Server Blade
   ChassisServiceTag = 7FB645J
   ChassisSystemHeight
   ExpressServiceCode = 34271419015
   FQDD = System.Embedded.1
   FanRollupStatus = 0
   HostName
   InstanceID = System.Embedded.1
   LastSystemInventoryTime = 20121012171734.000000+000
   LastUpdateTime = 20121012152509.000000+000
   LicensingRollupStatus = 1
   LifecycleControllerVersion = 2.0.0
   Manufacturer = Dell Inc.
   MaxCPUSockets = 2
   MaxDIMMSlots = 12
   MaxPCIeSlots = 0
   MemoryOperationMode = Unknown
   Model = PowerEdge M520
   PSRollupStatus = 0
   PlatformGUID = 4a35474f-c0c6-4280-5310-00514c4c4544
   PopulatedCPUSockets = 2
   PopulatedDIMMSlots = 6
   PopulatedPCIeSlots = 0
   PowerCap = 296
   PowerCapEnabledState = 3
   PowerState = 8
   PrimaryStatus = 0
   RollupStatus = 1
   ServerAllocation = 0
   ServiceTag = FQSBG5J
   StorageRollupStatus = 1
   SysMemErrorMethodology = 6
   SysMemFailOverState = NotInUse
   SysMemLocation = 3
   SysMemPrimaryStatus = 1
   SysMemTotalSize = 49152
   SystemGeneration = 12G Modular
   SystemID = 1244
   SystemRevision = 0
   TempRollupStatus = 1
   UUID = 4c4c4544-0051-5310-8042-c6c04f47354a
   VoltRollupStatus = 1
   smbiosGUID = 44454c4c-5100-1053-8042-c6c04f47354a

Wed Nov 14 14:12:12 2012: Find LifecycleControllerVersion $lc_version
Wed Nov 14 14:12:12 2012: if $lc_version=1.5.1 >GETRSSTATUS
Wed Nov 14 14:12:12 2012: if $lc_version=2.0.0 >GETREMOTESERVICEAPISTATUS
Wed Nov 14 14:12:12 2012: Goto GETREMOTESERVICEAPISTATUS
Wed Nov 14 14:12:12 2012: Until Message="Lifecycle Controller Remote 
Services is ready." 20 1800 GetRemoteServicesAPIStatus
Wed Nov 14 14:12:12 2012: GetRemoteServicesAPIStatus
wsman invoke -a GetRemoteServicesAPIStatus 
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_LCService,SystemName=DCIM:ComputerSystem,Name=DCIM:LCService" 
-h 10.13.58.189 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y 
basic

GetRemoteServicesAPIStatus_OUTPUT
   LCStatus = 0
   Message = Lifecycle Controller Remote Services is ready.
   MessageID = LC061
   ReturnValue = 0
   ServerStatus = 0
   Status = 0

Wed Nov 14 14:12:14 2012: Set $LCrev 2.0.0
--> batch BestPracticeFlows/DisableCSIOR.win
Wed Nov 14 14:12:23 2012: batch BestPracticeFlows/DisableCSIOR.win
Wed Nov 14 14:12:23 2012: Set $poll_reloading FALSE
Wed Nov 14 14:12:23 2012: Set $poll_ready TRUE
Wed Nov 14 14:12:23 2012: batch 
BestPracticeFlows/helpers/GetSystemStatus.win
Wed Nov 14 14:12:23 2012: Set $swait 30
Wed Nov 14 14:12:23 2012: Set $lwait 1800
Wed Nov 14 14:12:23 2012: GetSystemViews
wsman enumerate 
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_SystemView" 
-h 10.13.58.189 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y 
basic

DCIM_SystemView
   AssetTag
   BIOSReleaseDate = 08/21/2012
   BIOSVersionString = 1.3.5
   BaseBoardChassisSlot = Slot 07
   BatteryRollupStatus = 1
   BladeGeometry = 0
   BoardPartNumber = 0W8TY0A01
   BoardSerialNumber = CN70163278002O
   CMCIP = 10.13.58.134
   CPLDVersion = 1.0.3
   CPURollupStatus = 1
   ChassisName = Server Blade
   ChassisServiceTag = 7FB645J
   ChassisSystemHeight
   ExpressServiceCode = 34271419015
   FQDD = System.Embedded.1
   FanRollupStatus = 0
   HostName
   InstanceID = System.Embedded.1
   LastSystemInventoryTime = 20121012171734.000000+000
   LastUpdateTime = 20121012152509.000000+000
   LicensingRollupStatus = 1
   LifecycleControllerVersion = 2.0.0
   Manufacturer = Dell Inc.
   MaxCPUSockets = 2
   MaxDIMMSlots = 12
   MaxPCIeSlots = 0
   MemoryOperationMode = Unknown
   Model = PowerEdge M520
   PSRollupStatus = 0
   PlatformGUID = 4a35474f-c0c6-4280-5310-00514c4c4544
   PopulatedCPUSockets = 2
   PopulatedDIMMSlots = 6
   PopulatedPCIeSlots = 0
   PowerCap = 296
   PowerCapEnabledState = 3
   PowerState = 8
   PrimaryStatus = 0
   RollupStatus = 1
   ServerAllocation = 0
   ServiceTag = FQSBG5J
   StorageRollupStatus = 1
   SysMemErrorMethodology = 6
   SysMemFailOverState = NotInUse
   SysMemLocation = 3
   SysMemPrimaryStatus = 1
   SysMemTotalSize = 49152
   SystemGeneration = 12G Modular
   SystemID = 1244
   SystemRevision = 0
   TempRollupStatus = 1
   UUID = 4c4c4544-0051-5310-8042-c6c04f47354a
   VoltRollupStatus = 1
   smbiosGUID = 44454c4c-5100-1053-8042-c6c04f47354a

Wed Nov 14 14:12:27 2012: Find LifecycleControllerVersion $lc_version
Wed Nov 14 14:12:27 2012: if $lc_version=1.5.1 >GETRSSTATUS
Wed Nov 14 14:12:27 2012: if $lc_version=2.0.0 >GETREMOTESERVICEAPISTATUS
Wed Nov 14 14:12:27 2012: Goto GETREMOTESERVICEAPISTATUS
Wed Nov 14 14:12:27 2012: Until Message="Lifecycle Controller Remote 
Services is ready." 20 1800 GetRemoteServicesAPIStatus
Wed Nov 14 14:12:27 2012: GetRemoteServicesAPIStatus
wsman invoke -a GetRemoteServicesAPIStatus 
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_LCService,SystemName=DCIM:ComputerSystem,Name=DCIM:LCService" 
-h 10.13.58.189 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y 
basic

GetRemoteServicesAPIStatus_OUTPUT
   LCStatus = 0
   Message = Lifecycle Controller Remote Services is ready.
   MessageID = LC061
   ReturnValue = 0
   ServerStatus = 0
   Status = 0

Wed Nov 14 14:12:29 2012: Set $LCrev 2.0.0
Wed Nov 14 14:12:29 2012: GetLCEnumerations
wsman enumerate 
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCEnumeration" 
-h 10.13.58.189 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y 
basic

DCIM_LCEnumeration
   AttributeName = Collect System Inventory on Restart
   CurrentValue = Disabled
   DefaultValue = Enabled
   ElementName = LC.emb.1
   InstanceID = 
LifecycleController.Embedded.1#LCAttributes.1#CollectSystemInventoryOnRestart
   IsReadOnly = false
   PendingValue
   PossibleValues = Enabled
   PossibleValues = Disabled

DCIM_LCEnumeration
   AttributeName = Part Configuration Update
   CurrentValue = Disabled
   DefaultValue = Disabled
   ElementName = LC.emb.1
   InstanceID = 
LifecycleController.Embedded.1#LCAttributes.1#PartConfigurationUpdate
   IsReadOnly = false
   PendingValue
   PossibleValues = Disabled
   PossibleValues = Apply always
   PossibleValues = Apply only if firmware match

DCIM_LCEnumeration
   AttributeName = Part Firmware Update
   CurrentValue = Disable
   DefaultValue = Disable
   ElementName = LC.emb.1
   InstanceID = 
LifecycleController.Embedded.1#LCAttributes.1#PartFirmwareUpdate
   IsReadOnly = false
   PendingValue
   PossibleValues = Disable
   PossibleValues = Allow version upgrade only
   PossibleValues = Match firmware of replaced part

DCIM_LCEnumeration
   AttributeName = Lifecycle Controller State
   CurrentValue = Enabled
   DefaultValue = Enabled
   ElementName = LC.emb.1
   InstanceID = 
LifecycleController.Embedded.1#LCAttributes.1#LifecycleControllerState
   IsReadOnly = false
   PendingValue
   PossibleValues = Enabled
   PossibleValues = Disabled
   PossibleValues = Recovery

DCIM_LCEnumeration
   AttributeName = Licensed
   CurrentValue = Yes
   DefaultValue = No
   ElementName = LC.emb.1
   InstanceID = LifecycleController.Embedded.1#LCAttributes.1#Licensed
   IsReadOnly = true
   PendingValue
   PossibleValues = No
   PossibleValues = Yes

DCIM_LCEnumeration
   AttributeName = Auto Discovery
   CurrentValue = Off
   DefaultValue = Off
   ElementName = LC.emb.1
   InstanceID = LifecycleController.Embedded.1#LCAttributes.1#AutoDiscovery
   IsReadOnly = true
   PendingValue
   PossibleValues = On
   PossibleValues = Off

DCIM_LCEnumeration
   AttributeName = Discovery Factory Defaults
   CurrentValue = Off
   DefaultValue = Off
   ElementName = LC.emb.1
   InstanceID = 
LifecycleController.Embedded.1#LCAttributes.1#DiscoveryFactoryDefaults
   IsReadOnly = true
   PendingValue
   PossibleValues = On
   PossibleValues = Off

DCIM_LCEnumeration
   AttributeName = IPChangeNotifyPS
   CurrentValue = Off
   DefaultValue = Off
   ElementName = LC.emb.1
   InstanceID = 
LifecycleController.Embedded.1#LCAttributes.1#IPChangeNotifyPS
   IsReadOnly = false
   PendingValue
   PossibleValues = On
   PossibleValues = Off

DCIM_LCEnumeration
   AttributeName = VirtualAddressManagement
   CurrentValue = FlexAddress
   DefaultValue = FlexAddress
   ElementName = LC.emb.1
   InstanceID = 
LifecycleController.Embedded.1#LCAttributes.1#VirtualAddressManagement
   IsReadOnly = false
   PendingValue
   PossibleValues = FlexAddress
   PossibleValues = Console

Wed Nov 14 14:12:45 2012: Context AttributeName="Collect System Inventory 
on Restart" Find CurrentValue $current_csior_value
Wed Nov 14 14:12:45 2012: Find CurrentValue $current_csior_value
Wed Nov 14 14:12:45 2012: If Disabled=$current_csior_value Goto END
Wed Nov 14 14:12:45 2012: Goto END
--> ResetConfig Target=$FQDD
Wed Nov 14 14:15:51 2012: ResetConfig Target=$FQDD
wsman invoke -a ResetConfig 
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService" 
-k "Target=RAID.Integrated.1-1" -h 10.13.58.189 -P 443 -u root -p ****** 
-V -v -c dummy.cert -j utf-8 -y basic

ResetConfig_OUTPUT
   RebootRequired = YES
   ReturnValue = 0

--> Until ReturnValue=0 $swait $lwait CreateVirtualDisk Target=$FQDD 
PDArray=Disk.Bay.0:Enclosure.Internal.0-0:$FQDD 
PDArray=Disk.Bay.1:Enclosure.Internal.0-0:$FQDD VDPropValueArray=2
Wed Nov 14 14:16:15 2012: Until ReturnValue=0 $swait $lwait 
CreateVirtualDisk Target=$FQDD 
PDArray=Disk.Bay.0:Enclosure.Internal.0-0:$FQDD 
PDArray=Disk.Bay.1:Enclosure.Internal.0-0:$FQDD VDPropValueArray=2
Wed Nov 14 14:16:15 2012: CreateVirtualDisk Target=RAID.Integrated.1-1 
PDArray=Disk.Bay.0:Enclosure.Internal.0-0:RAID.Integrated.1-1 
PDArray=Disk.Bay.1:Enclosure.Internal.0-0:RAID.Integrated.1-1 
VDPropValueArray=2
wsman invoke -a CreateVirtualDisk 
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService" 
-h 10.13.58.189 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y 
basic -J /tmp/tmpiAcJZi

<p:CreateVirtualDisk_INPUT 
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService">

<p:PDArray>Disk.Bay.0:Enclosure.Internal.0-0:RAID.Integrated.1-1</p:PDArray>

<p:PDArray>Disk.Bay.1:Enclosure.Internal.0-0:RAID.Integrated.1-1</p:PDArray>
   <p:Target>RAID.Integrated.1-1</p:Target>
   <p:VDPropNameArray>RAIDLevel</p:VDPropNameArray>
   <p:VDPropNameArray>SpanLength</p:VDPropNameArray>
   <p:VDPropValueArray>2</p:VDPropValueArray>
</p:CreateVirtualDisk_INPUT>

CreateVirtualDisk_OUTPUT
   Message = Physical disk not found
   MessageID = STOR029
   ReturnValue = 2

   Until: ReturnValue != 0  [['2']]

^CDeleting /tmp/tmpiAcJZi
Set $IP root:******@10.13.58.189
--> Until ReturnValue=0 $swait $lwait CreateVirtualDisk Target=$FQDD 
PDArray=Disk.Bay.0:Enclosure.Internal.0-0 
PDArray=Disk.Bay.1:Enclosure.Internal.0-0 VDPropValueArray=2
Wed Nov 14 14:16:29 2012: Until ReturnValue=0 $swait $lwait 
CreateVirtualDisk Target=$FQDD PDArray=Disk.Bay.0:Enclosure.Internal.0-0 
PDArray=Disk.Bay.1:Enclosure.Internal.0-0 VDPropValueArray=2
Wed Nov 14 14:16:29 2012: CreateVirtualDisk Target=RAID.Integrated.1-1 
PDArray=Disk.Bay.0:Enclosure.Internal.0-0 
PDArray=Disk.Bay.1:Enclosure.Internal.0-0 VDPropValueArray=2
wsman invoke -a CreateVirtualDisk 
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService" 
-h 10.13.58.189 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y 
basic -J /tmp/tmpTxHkhU

<p:CreateVirtualDisk_INPUT 
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService">
   <p:PDArray>Disk.Bay.0:Enclosure.Internal.0-0</p:PDArray>
   <p:PDArray>Disk.Bay.1:Enclosure.Internal.0-0</p:PDArray>
   <p:Target>RAID.Integrated.1-1</p:Target>
   <p:VDPropNameArray>RAIDLevel</p:VDPropNameArray>
   <p:VDPropNameArray>SpanLength</p:VDPropNameArray>
   <p:VDPropValueArray>2</p:VDPropValueArray>
</p:CreateVirtualDisk_INPUT>

CreateVirtualDisk_OUTPUT
   Message = Physical disk not found
   MessageID = STOR029
   ReturnValue = 2

   Until: ReturnValue != 0  [['2']]






>
> LC on TechCenter: http://en.community.dell.com/techcenter/systems-management/w/wiki/1979.lifecycle-controller.aspx
> BP guide: http://en.community.dell.com/techcenter/extras/m/white_papers/20066173.aspx
> BP script samples: http://en.community.dell.com/techcenter/extras/m/white_papers/20066178.aspx
>
> Also, do check out the RAID profile document which goes into all the RAID capabilities of Lifecycle Controller.
>
> Profiles: http://en.community.dell.com/techcenter/systems-management/w/wiki/1906.dcim-library-profile.aspx
> RAID profile: http://en.community.dell.com/techcenter/systems-management/w/wiki/3527.dcim-raid-profile-1-2.aspx
>
> Hope this helps.
>
> Best regards,
> Ganesh Viswanathan
>
>
> -----Original Message-----
> From: linux-poweredge-bounces-Lists On Behalf Of martin.flemming at desy.de
> Sent: Friday, November 09, 2012 3:37 AM
> To: linux-poweredge-Lists
> Subject: [Linux-PowerEdge] LC remote changing from raid1 to raid0
>
>
> Hi !
>
> I've got 50 M520 server which are delivered with raid1, but we want to change the raid-configuration to raid0 because they are only batch-machines an we need fast scratch ...
>
> So what's the best practise to change the raid-configuration remotely ?
>
> .. thinking it's the way with  the LifeCyclecontroller, isn't it ?
>
>
> I've found the wiki-side
>
> http://en.community.dell.com/techcenter/systems-management/w/wiki/1981.scripting-the-dell-lifecycle-controller.aspx
>
>
> My first try was to use
>
> RAID Attributes push pull 	Python and Shell scripts to inventory
> (pull) and configure (push) RAID attributes using WSMan.
>
> wsmanclipy, sh
>
>
> flemming@:/scratch/flemming/lc2/raid $ ./pullRAID.sh IP address (ENTER for default: ) ? XXXXXX User name (ENTER for default: ) ? XXXXX User password (ENTER for default: ) ? XXXX
>
>  Building the Order Attributes Template File...
>
>  Getting the Attributes ....
> pullraid.py:197: DeprecationWarning: os.popen3 is deprecated.  Use the subprocess module.
>   (fin, fout, ferr) = os.popen3(command, "t")
>  Creating the .ini file ....
> Traceback (most recent call last):
>   File "pullraid.py", line 244, in <module>
>     CNARunner(idracIp, idracUser, idracPass, attrSet)
>   File "pullraid.py", line 54, in __init__
>     self.run()
>   File "pullraid.py", line 90, in run
>     self.buildIni(self.idracIp, self.settings, orderAttr)
>   File "pullraid.py", line 137, in buildIni
>     if vallist[j].hasChildNodes() == True:
> IndexError: list index out of range
> flemming at ip-console3:/scratch/flemming/lc2/raid $
>
> ...  what means the error-messages above ?
>
>
> I've got these files
> XXXX_raid.ini
> XXXX_raid.log
> XXXX_raidorder.xml
>
> .. thinking that i can't change my raid-configuration with these scripts, can i ?
>
>
> After that i switch to the scriptcollection linux_lc1_5_scripts_2011_09_8_v1_2.zip
>
> .. specialy
>
> 16_RAID_Storage_Management
>
> ... got somebody an quick advice, how i delete my virtual disk(raid1) an create a new one with raid0 ?
>
> thanks & cheers
>
>        Martin
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>



More information about the Linux-PowerEdge mailing list