jeudi 22 octobre 2009

Support du multipathing pour Pillar dans vSphere

Voici les commandes à passer dans le CLI de vSphere 4  pour bénéficier du Multipathing avec un Axiom en mode actif/actif. Préalablement, vous aurez installé le package rcli.rpm dans votre host vSphere.
A titre d'information, la carte utilisée ici est une QLogic FC4 modèle 2432.

# esxcli nmp satp setdefaultpsp --psp="VMW_PSP_RR" --satp="VMW_SATP_ALUA"

# esxcli nmp satp addrule --vendor="Pillar" --claim-option="tpgs_on" --satp="VMW_SATP_ALUA" --description="Pillar Axiom ALUA Support"

# esxcfg-module -s -ql2xmaxqdepth=64 qla2xxx

- Pour reconfigurer le boot :
# esxcfg-boot –b

- Pour vérifier les paramètres :
# esxcfg-module -g qla2xxx

- Pour charger manuellement le module :
# vmkload_mod qla2xxx

Et pour vSphere 5 :
esxcli storage nmp satp set -s VMW_SATP_ALUA -P VMW_PSP_RR
esxcli storage nmp satp set -s VMW_SATP_DEFAULT_AA -P VMW_PSP_RR


Tuning recommandé par VMware :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1267

If you notice unsatisfactory performance of your HBAs, you can change their maximum queue depths. The maxiumum value refers to the queue depths reported for various paths to the LUN. When one virtual machine is active on a LUN, you only need to set the maximum queue depth. When multiple virtual machines are active on a LUN, the value of Disk.SchedNumReqOutstanding value is also relevant. The queue depth value, in this case, is equal to whichever value is the lowest of the two settings: adapter queue depth or Disk.SchedNumReqOutstanding. The recommendation is to set both Disk.SchedNumReqOutstanding and the adapter queue depth to the same value. The following instructions describe how to set the queue depth. To set the Disk.SchedNumReqOutstanding value, see KB 1268. For more information about how storage queues affect performance, see http://communities.vmware.com/docs/DOC-6490.

Aucun commentaire: