Dell PowerStore 5200T EMC PowerStore Host Configuration Guide - Page 35

Example - Configuring NVMe/TCP Networking

Page 35 highlights

Example - Configuring NVMe/TCP Networking The following example demonstrates configuring networking for a PowerStore PowerStore operating system 2.1 with a single virtual standard switch and CLI. NOTE: Some of the output texts may be wrapped. 1. List current vSwitches and verify that the vSwitch name is not in use. $ esxcli network vswitch standard list | grep Name 2. Create a new Virtual Standard Switch (ensure that the name is unique). $ esxcli network vswitch standard add -v NVMeTCP 3. List current VMkernel interfaces (use an unused VMK number). $ esxcli network ip interface ipv4 address list Name IPv4 Address IPv4 Netmask IPv4 Broadcast vmk0 17.17.17.17 255.255.255.0 17.17.17.255 Address Type -----------DHCP Gateway DHCP DNS ------- -------- 17.17.17.1 true 4. Configure uplinks (In the example below, 10 Gb interfaces are used. These interfaces must not be used by any other vSwitch or vDS). $ esxcli network nic list Name PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description vmnic0 0000:07:00.0 igbn Up Up 1000 Full 00:1e:67:bd:26:70 1500 Intel Corporation I350 Gigabit Network Connection vmnic1 0000:04:00.0 ixgben Up Up 10000 Full 00:1e:67:fd:4b:94 1500 Intel (R) 82599 10 Gigabit Dual Port Network Connection vmnic2 0000:04:00.1 ixgben Up Up 10000 Full 00:1e:67:fd:4b:95 1500 Intel (R) 82599 10 Gigabit Dual Port Network Connection vmnic3 0000:07:00.1 igbn Up Up 1000 Full 00:1e:67:bd:26:71 1500 Intel Corporation I350 Gigabit Network Connection [root@esx1:~] esxcli network vswitch standard uplink add --uplink-name=vmnic1 -vswitch-name=NVMeTCP [root@esx1:~] esxcli network vswitch standard uplink add --uplink-name=vmnic2 -vswitch-name=NVMeTCP 5. Create port groups for each VMkernel interface. Repeat the steps for the secondary VMkernel interfaces. $ esxcli network vswitch standard portgroup add --portgroup-name="vlan801" --vswitchname=NVMeTCP $ esxcli network vswitch standard portgroup set -p vlan801 --vlan-id 801 $ esxcli network ip interface add --interface-name=vmk1 --portgroup-name="vlan801" $ esxcli network ip interface ipv4 set --interface-name=vmk1 --ipv4=1.1.1.10 -netmask=255.255.255.0 --type=static $ esxcli network ip interface tag add -i vmk1 -t NVMeTCP 6. Verify that VMkernel ports are created. $ esxcli network ip interface ipv4 address list Name IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type Gateway DHCP DNS -------- vmk0 17.17.17.17 255.255.255.0 17.17.17.255 DHCP 17.17.17.1 true vmk1 1.1.1.10 255.255.255.0 1.1.1.255 STATIC 1.1.1.1 false vmk2 1.1.2.10 255.255.255.0 1.1.1.255 STATIC 1.1.1.1 false 7. Set port group policy to override default settings. $ esxcli network vswitch standard portgroup policy failover set -a vmnic1 -p vlan801 $ esxcli network vswitch standard portgroup policy failover set -a vmnic2 -p vlan802 8. Verify settings from both UI and CLI. Host Configuration for VMware vSphere ESXi 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93

Example - Configuring NVMe/TCP Networking
The following example demonstrates configuring networking for a PowerStore PowerStore operating system 2.1 with a single
virtual standard switch and CLI.
NOTE:
Some of the output texts may be wrapped.
1.
List current vSwitches and verify that the vSwitch name is not in use.
$ esxcli network vswitch standard list | grep Name
2.
Create a new Virtual Standard Switch (ensure that the name is unique).
$ esxcli network vswitch standard add -v NVMeTCP
3.
List current VMkernel interfaces (use an unused VMK number).
$ esxcli network ip interface ipv4 address list
Name
IPv4 Address
IPv4 Netmask
IPv4 Broadcast
Address Type
Gateway
DHCP DNS
----
------------
------------
--------------
------------
-------
--------
vmk0
17.17.17.17
255.255.255.0
17.17.17.255
DHCP
17.17.17.1 true
4.
Configure uplinks (In the example below, 10 Gb interfaces are used. These interfaces must not be used by any other vSwitch
or vDS).
$ esxcli network nic list
Name
PCI Device
Driver
Admin Status
Link Status
Speed
Duplex
MAC Address
MTU
Description
----
--- ------
------
------------
-----------
-----
------
-----------
---
-----------
vmnic0 0000:07:00.0 igbn
Up
Up
1000
Full
00:1e:67:bd:26:70 1500 Intel Corporation I350 Gigabit Network Connection
vmnic1 0000:04:00.0 ixgben
Up
Up
10000
Full
00:1e:67:fd:4b:94 1500 Intel (R) 82599 10 Gigabit Dual Port Network Connection
vmnic2 0000:04:00.1 ixgben
Up
Up
10000
Full
00:1e:67:fd:4b:95 1500 Intel (R) 82599 10 Gigabit Dual Port Network Connection
vmnic3 0000:07:00.1 igbn
Up
Up
1000
Full
00:1e:67:bd:26:71 1500 Intel Corporation I350 Gigabit Network Connection
[root@esx1:~] esxcli network vswitch standard uplink add --uplink-name=vmnic1 --
vswitch-name=NVMeTCP
[root@esx1:~] esxcli network vswitch standard uplink add --uplink-name=vmnic2 --
vswitch-name=NVMeTCP
5.
Create port groups for each VMkernel interface. Repeat the steps for the secondary VMkernel interfaces.
$ esxcli network vswitch standard portgroup add --portgroup-name="vlan801" --vswitch-
name=NVMeTCP
$ esxcli network vswitch standard portgroup set -p vlan801 --vlan-id 801
$ esxcli network ip interface add --interface-name=vmk1 --portgroup-name="vlan801"
$ esxcli network ip interface ipv4 set --interface-name=vmk1 --ipv4=1.1.1.10 --
netmask=255.255.255.0 --type=static
$ esxcli network ip interface tag add -i vmk1 -t NVMeTCP
6.
Verify that VMkernel ports are created.
$ esxcli network ip interface ipv4 address list
Name
IPv4 Address IPv4 Netmask
IPv4 Broadcast Address Type Gateway
DHCP DNS
----
------------ ------------
-------------- ------------ -------
--------
vmk0
17.17.17.17
255.255.255.0 17.17.17.255
DHCP
17.17.17.1 true
vmk1
1.1.1.10
255.255.255.0 1.1.1.255
STATIC
1.1.1.1
false
vmk2
1.1.2.10
255.255.255.0 1.1.1.255
STATIC
1.1.1.1
false
7.
Set port group policy to override default settings.
$ esxcli network vswitch standard portgroup policy failover set -a vmnic1 -p vlan801
$ esxcli network vswitch standard portgroup policy failover set -a vmnic2 -p vlan802
8.
Verify settings from both UI and CLI.
Host Configuration for VMware vSphere ESXi
35