Flash Storage​

 View Only
  • 1.  Is there a way using raidcom add resource command to reserve multiple host group ID in a ressource group ?

    Posted 12-18-2023 12:19

    Hello there :)

    We'd like to reserve host group range 51 to 254 for 54 ports to a new resource group.

    Is there a way using CCI command "raidcom add resource -resource_name GADGroup -port CL1-A-X to do it rather than use GUI ?

    Thanks by advanced.

    Regards,

    Sylvain.



  • 2.  RE: Is there a way using raidcom add resource command to reserve multiple host group ID in a ressource group ?

    Posted 12-19-2023 08:54

    Hi Sylvain, 

    I did not know a way to add multiple or a range of hostgroup-id's.
    That is also the reason why the OpsCenter Administrator takes so much time to a add a range of ids, because it submits a single raidcom add command for each single id. 

    regards
    Sven 



    ------------------------------
    Sven Kirsten
    Systems Engineer
    SVA System Vertrieb Alexander GmbH
    ------------------------------



  • 3.  RE: Is there a way using raidcom add resource command to reserve multiple host group ID in a ressource group ?
    Best Answer

    Posted 12-19-2023 12:17

    Sylvain - You can use a Linux or Windows "for" loop. For example: for i in {51..254}; do raidcom add resource -resource_name GADGroup -port CL1-A-$i; done.



    ------------------------------
    Dang Luong
    Hardware Test Engineer - Expert
    Hitachi Vantara
    ------------------------------



  • 4.  RE: Is there a way using raidcom add resource command to reserve multiple host group ID in a ressource group ?

    Posted 12-20-2023 08:55

    Hello Sven and Dang,

    thanks for your replies.

    It looks like loops is what we looking for. I will try your loop in another with the list of our 54 ports.

    Thanks again both of you.

    Regards,

    Sylvain.



    ------------------------------
    Sylvain Thabuis
    Systems Engineer
    ------------------------------