Apollo
1832610 Members
2396 Online
110043 Solutions
New Discussion

createlogicaldrive syntax

 
Manu
Occasional Contributor

createlogicaldrive syntax

Hi,

We automate deployments. We are creating logical volumes through iLOREST.

On the "exact" same XL450 models we see controllers in a different order

[1] Slot 0, [2] Slot 2, [3] Slot 1, [4] Slot 0b

or

[1] Slot 2, [2] Slot 0, [3] Slot 1, [4] Slot 0b

To create logical drives, we use 

createlogicaldrive customdrive Raid1 1,2 --name=OS --capacityGiB=-1 --accelerator-type=None --controller=1

What is the syntax to address the controller via "Slot x" rather than controller number?

Thanks and Regards

3 REPLIES 3
BPSingh
HPE Pro

Re: createlogicaldrive syntax

Greetings!

The controller in the syntax can be labelled/addressed using only controller number. Please find the user guide mentioned below

https://hewlettpackard.github.io/python-redfish-utility/#smart-arrary-commands  

 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Manu
Occasional Contributor

Re: createlogicaldrive syntax

We could not find a syntax to address controller by name, rather than numbering.

We adapted the code.

BPSingh
HPE Pro

Re: createlogicaldrive syntax

Okay @Manu 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo