Users Guide

6–Configuration de RoCE
Configuration de RoCE sur l'adaptateur pour VMware ESX
81 BC0154503-02 F
4. Pour afficher une liste des périphériques RDMA, entrez la commande
esxcli rdma device list
. Par exemple :
esxcli rdma device list
Name Driver State MTU Speed Paired Uplink Description
------- ------- ------ ---- ------- ------------- -------------------------------
vmrdma0 qedrntv Active 1024 25 Gbps vmnic0 QLogic FastLinQ QL45xxx RDMA Interface
vmrdma1 qedrntv Active 1024 25 Gbps vmnic1 QLogic FastLinQ QL45xxx RDMA Interface
5. Pour ajouter un nouveau commutateur virtuel, entrez la commande suivante :
esxcli network vswitch standard add -v <new vswitch name>
Par exemple :
# esxcli network vswitch standard add -v roce_vs
Cela crée un nouveau commutateur virtuel nommé roce_vs.
6. Pour associer le port NIC QLogic au vSwitch, entrez la commande suivante :
# esxcli network vswitch standard uplink add -u <uplink
device> -v <roce vswitch>
Par exemple :
# esxcli network vswitch standard uplink add -u vmnic0 -v
roce_vs
7. Pour ajouter un nouveau groupe de ports au vSwitch, entrez la commande
suivante :
# esxcli network vswitch standard portgroup add -p roce_pg -v
roce_vs
Par exemple :
# esxcli network vswitch standard portgroup add -p roce_pg -v
roce_vs
8. Pour créer une interface vmknic sur ce groupe de ports et configurer
l'adresse IP, entrez la commande suivante :
# esxcfg-vmknic -a -i <IP address> -n <subnet mask> <roce port
group name>
Par exemple :
# esxcfg-vmknic -a -i 192.168.10.20 -n 255.255.255.0 roce_pg
9. Pour configurer l'ID VLAN, entrez la commande suivante :
# esxcfg-vswitch -v <VLAN ID> -p roce_pg