ESXi

 View Only
  • 1.  Changing SATP / PSP rules

    Posted Dec 16, 2013 02:11 PM

    Hi. On ESXi 5.5 host I have three storage arrays connected. Hitachi HUS-VM and Hitachi DF600F AMS2500 and Hitachi HUS-130. After fresh ESXi install, the HUS-VM come with a multipath policy of "Fixed" and the other as "RoundRobin". I would like to have them all show up as "RoundRobin" (support according to HDS).

    As I understand it I should first create a new claimrule and then a SATP rule. However, when creating these rules I need to use vendor and model. Where can I find the correct model type? Maybe I could just connect all Hitachi systems to this rule and leave out the model, but I'm afraid that I might run into issues later on when another array would be used that can't handle RoundRobin.

    And is my assumption correct that by creating the claimrules and the SATP rules, I could use this host as reference host for my host profiles and then apply it to all other hosts.

    Regards

    Gabrie



  • 2.  RE: Changing SATP / PSP rules

    Posted Dec 16, 2013 02:24 PM

    What is the SATP rule for the devices? You can view this in the client by selecting the proporties of your datastore, then going to the manage paths tab:

    Then, if we know the SATP is VMW_SATP_ALUA, do the following command:

    esxcli storage nmp satp set -s VMW_SATP_ALUA -P VMW_PSP_RR

    This should set the default path selection policy for all devices that use the SATP VMW_SATP_ALUA SATP plugin to RoundRobin.



  • 3.  RE: Changing SATP / PSP rules

    Posted Dec 16, 2013 02:37 PM

    Well, the current SATP rule is: VMW_SATP_DEFAULT_AA

    But I don't want to change that one, because then all new Hitachi arrays would fall back to this rule. So I want to make a rule for each specific Array. Therefor I need to find out what the model name is.



  • 4.  RE: Changing SATP / PSP rules

    Posted Dec 16, 2013 02:42 PM

    You can do a:

    esxcli storage core device list -d <naa ID of a disk hosted on the HUS-VM>

    It should give you both vendor and model, which you then can use in a SATP rule:

    esxcli storage nmp satp rule add -s VMW_SATP_DEFAULT_AA -V HITACHI -M <model id> -P VMW_PSP_RR

    esxcli storage core claimrule load



  • 5.  RE: Changing SATP / PSP rules

    Posted Dec 16, 2013 08:18 PM

    Did you mean "esxcli storage nmp device list" which gives me the info below. I'm not at work now, I retrieved this from my notes. If you think it is the incorrect command I will try tomorrow morning. But the output is below and only gave me Device Display Name.

    naa.60060e80132892005020289200002010

       Device Display Name: HITACHI Fibre Channel Disk (naa.60060e80132892005020289200002010)

       Storage Array Type: VMW_SATP_DEFAULT_AA

       Storage Array Type Device Config: SATP VMW_SATP_DEFAULT_AA does not support device configuration.

       Path Selection Policy: VMW_PSP_FIXED

       Path Selection Policy Device Config: {preferred=vmhba1:C0:T0:L57;current=vmhba1:C0:T0:L57}

       Path Selection Policy Device Custom Config:

       Working Paths: vmhba1:C0:T0:L57

       Is Local SAS Device: false

       Is Boot USB Device: false



  • 6.  RE: Changing SATP / PSP rules
    Best Answer

    Posted Dec 16, 2013 08:49 PM

    Hi Gabrie,

    No, I meant esxcli storage core device list -d <naa ID>. I'll show you what I did. Default PSP for my VMW_SATP_ALUA plugin was VMW_PSP_MRU and I first took note of the naa ID of an existing LUN on this storage array (it's a QNAP NAS :smileyhappy:).  I then ran esxcli storage core device list -d naa.6001405f96715a2d050bd4648db766dc, which provided me with this output.

    Note that the Vendor and Model both turn up here. I used this information in a custom SATP rule to let all devices with this model / vendor combination use Round Robin:

    ~ # esxcli storage nmp satp rule add -V QNAP -M "iSCSI Storage" -P VMW_PSP_RR -s VMW_SATP_ALUA

    ~ # esxcli storage core claimrule load

    Now, note that a new device that is created on this array gets Round Robin, just as we want it.

    Hope this clears things up for you.



  • 7.  RE: Changing SATP / PSP rules

    Posted Dec 16, 2013 09:03 PM

    Looks good and exactly as I'm looking for. Will test this first thing in the morning. Thanks !!!



  • 8.  RE: Changing SATP / PSP rules

    Posted Dec 17, 2013 09:01 AM

    WORKED !!! Thank you !!



  • 9.  RE: Changing SATP / PSP rules

    Posted Dec 17, 2013 09:04 AM

    Great, thanks for the confirmation.



  • 10.  RE: Changing SATP / PSP rules

    Posted Dec 17, 2013 11:48 AM


  • 11.  RE: Changing SATP / PSP rules

    Posted Dec 16, 2013 02:31 PM

    This can also be pushed down via a host profile: