Categories
VMware

Dell Equallogic – Configure iSCSI SAN @ ESXi using VMware vSphere CLI

 

Configure iSCSI SAN for Dell Equallogic PS series @ ESXi using VMware vSphere CLI

 

 

C:\>cd “Program Files (x86)\VMware\VMware vSphere CLI\bin”

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>setup.pl –configure –server=192.168.1.11

You must provide the username and password for the server.

Enter username: root

Enter password:

Do you wish to use a standard vSwitch or a vNetwork Distributed Switch (vSwitch/vDS) [vSwitch]:

Found existing switches vSwitch0, vSwitch1, vSwitch3.

vSwitch Name [vSwitchISCSI]:

Which nics do you wish to use for iSCSI traffic? [vmnic0 vmnic1 vmnic10 vmnic11 vmnic2 vmnic3]: vmnic2,vmnic3

IP address for vmknic using nic vmnic2: 10.10.10.11

IP address for vmknic using nic vmnic3: 10.10.10.12

Netmask for all vmknics [255.255.255.0]:

What MTU do you wish to use for iSCSI vSwitches and vmknics?  Before increasing

the MTU, verify the setting is supported by your NICs and network switches. [1500]: 9000

What prefix should be used when creating VMKernel Portgroups? [iSCSI]:

What VLanId do you wish to use for Portgroup for vSwitch to be configured [0]:

Do you wish to use SW iSCSI or HW iSCSI? (sw/hw) [SW]: HW

What PS Group IP address would you like to add as a Send Target discovery address (optional)?: 100.101.102.11

What CHAP user would you like to use to connect to volumes on this group (optional)?:

Would you like to apply Dell EqualLogic best practice settings to the iSCSI adapters?  See the Installation and User Guide for more information on the settings that will be applied. [yes]:

Configuring iSCSI networking with following settings:

Using a standard vSwitch ‘vSwitchISCSI’

Using NICs ‘vmnic2,vmnic3’

Using IP addresses ‘10.10.10.11,10.10.10.12’

Using netmask ‘255.255.255.0’

Using MTU ‘9000’

Using prefix ‘iSCSI’ for VMKernel Portgroups

Using HW iSCSI initiator

Adding PS Series Group IP ‘100.101.102.11’ to Send Targets discovery list. Applying best practice configuration settings

The following command line can be used to perform this configuration:

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\setup.pl –configure –server=192.168.1.11 –vswitch=vSwitchISCSI –mtu=9000 –nics=vmnic2,vmnic3 –ips=172.16.1.21,172.16.1.22 –vlanid=0 –netmask=255.255.255.0 –vmkernel=iSCSI –groupip=100.101.102.11 –bestpractices

Do you wish to proceed with configuration? [yes]: Cambridge English:

The answer must be ‘yes’ or ‘no’

Do you wish to proceed with configuration? [yes]: Advanced (CAE)*

Do you wish to proceed with configuration? [yes]:

Configuring networking for iSCSI multipathing:

vswitch = vSwitchISCSI

mtu = 9000

nics = vmnic2 vmnic3

ips = 172.16.1.21 172.16.1.22

netmask = 255.255.255.0

vmkernel = iSCSI

EQL group IP = 172.16.1.11

bestpractices = 1

Creating vSwitch vSwitchISCSI.

Setting vSwitch MTU to 9000.

Creating portgroup iSCSI0 on vSwitch vSwitchISCSI.

Assigning IP address 172.16.1.21 to iSCSI0.

Creating portgroup iSCSI1 on vSwitch vSwitchISCSI.

Assigning IP address 172.16.1.22 to iSCSI1.

Creating new bridge.

Adding uplink vmnic2 to vSwitchISCSI.

Adding uplink vmnic3 to vSwitchISCSI.

Setting new uplinks for vSwitchISCSI.

Setting uplink for iSCSI0 to vmnic2.

Setting uplink for iSCSI1 to vmnic3.

vmk3 is not usable for port binding with vmhba37, skipping.

Bound vmk3 to vmhba36.

Bound vmk4 to vmhba37.

Set SATP Host System Best Practices.

Checking global HBA settings for adapter vmhba37.

Updating DelayedAck from true to false

Updating LoginTimeout from 5 to 60

Checking global HBA settings for adapter vmhba36.

Updating DelayedAck from true to false

Updating LoginTimeout from 5 to 60

Refreshing host storage system.

Adding discovery address 172.16.1.11 to storage adapter vmhba37.

Adding discovery address 172.16.1.11 to storage adapter vmhba36.

Rescanning all HBAs.

Network configuration finished successfully.

No Dell EqualLogic Multipathing Extension Module found.

Continue your setup by installing the module with the –install option or through vCenter Update Manager.

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>

Leave a Reply

Your email address will not be published. Required fields are marked *