All-

I'm trying to figure out how to use racadm within a script to switch the
PERC (in this case, an H730 mini in our R730s) from RAID mode to HBA mode.

I can successfully get the (single) controller with

        racadm get storage.controller

and I can get the controller mode for that one controller with

        racadm get storage.controller.1.CurrentControllerMode

I can even tell it I want it to switch to HBA mode:

        racadm set storage.controller.1.RequestedControllerMode HBA

The problem is that there's more to it; to make the change, I'm pretty
sure I have to create an entry in the "job queue", so that the change
goes into effect at next power cycle.  That's where I'm getting stuck.

I've tried doing this:

        racadm jobqueue create RAID.Integrated.1-1 -s TIME_NOW -r pwrcycle

but that generally returns:

     ERROR: STOR032 : Lifecycle Controller is currently in use.
     Wait for current Lifecycle Controller operation to complete.
     Verify that the system is
     1) Not currently in Lifecycle Controller Configuration utility
     2) Not waiting for user intervention at F1/F2 POST error
     3) Not in any of the device or controller Option ROMs and retry the
     operation.

Anyone have any experience doing this, that can share whatever the
magic is to get the jobqueue entry that's needed to complete the
switch from RAID to HBA?

PS: Doing this through the Lifecycle Controller, it's first necessary
to "Clear Configuration", to clear out the existing RAID set that's
associated with the PERC, before the GUI will allow switching to HBA
mode.  Is that required with 'racadm' too?

Thanks,

Tim
-- 
Tim Mooney                                             [email protected]
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building                  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

Reply via email to