72
FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware ® ESX P3AM-3412-30ENZ0

Configuration Guide -Server Connection- · Configuration Guide -Server Connection- ... • "Chapter 5 Setting Up the ETERNUS DX ... when Windows Server Failover Clustering is used

Embed Size (px)

Citation preview

FUJITSU StorageETERNUS DX, ETERNUS AF

Configuration Guide -Server Connection-

(iSCSI) for VMware® ESX

P3AM-3412-30ENZ0

This page is intentionally left blank.

Preface

This manual briefly explains the operations that need to be performed by the user in order to connect anETERNUS DX/AF to a server running VMware ESX using iSCSI Software Initiator or iSCSI Hardware Initiator viaan iSCSI interface.

This manual should be used in conjunction with any other applicable user manuals, such as those for theETERNUS DX/AF, server, OS, adapters, and drivers.

Refer to "Configuration Guide -Server Connection- Notations" for the notations used in this manual such asproduct trademarks and product names. For storage systems that are supported by the OS, refer to the ServerSupport Matrix of the ETERNUS DX/AF.

30th Edition

April 2018

The Contents and Structure of this Manual

This manual is composed of the following eight chapters.

• "Chapter 1 Workflow" (page 6)

This chapter describes how to connect the ETERNUS DX/AF storage systems to a server running VMwareESX.

• "Chapter 2 Checking the Server Environment" (page 8)

This chapter describes which servers can be connected to ETERNUS DX/AF storage systems.

• "Chapter 3 Notes" (page 9)

This chapter describes issues that should be noted when connecting the ETERNUS DX/AF storage systemsand server.

• "Chapter 4 Installing and Setting Up ETERNUSmgr" (page 16)

This chapter describes how to install ETERNUSmgr.

• "Chapter 5 Setting Up the ETERNUS DX/AF" (page 17)

This chapter describes how to use ETERNUS Web GUI or ETERNUSmgr to set up the ETERNUS DX/AF storagesystems.

• "Chapter 6 Setting Up the VMware ESX Server" (page 18)

This chapter describes how to set up the VMware ESX server.

• "Chapter 7 Virtual Machine" (page 68)

This chapter describes how to operate the Virtual Machine.

• "Chapter 8 Dynamic Recognition of LUNs Added While VMware ESX is in Use" (page 70)

This chapter describes dynamic recognition of LUNs added while VMware ESX is in use.

3FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Table of Contents

Chapter 1 Workflow 6

1.1 For the ETERNUS DX/AF .................................................................................................................. 6

Chapter 2 Checking the Server Environment 8

2.1 Hardware ....................................................................................................................................... 8

2.2 LAN Cards and CNA Cards ............................................................................................................... 8

2.3 Connection Compatibility of ETERNUS DX/AF Storage Systems to VMware ESX ............................... 8

2.4 Virtual Machine .............................................................................................................................. 8

Chapter 3 Notes 9

3.1 Connection Notes ........................................................................................................................... 93.1.1 For VMware vSphere ...........................................................................................................................................10

3.1.2 For VMware Infrastructure 3................................................................................................................................10

3.2 VMware ESX Operating Notes ....................................................................................................... 11

3.3 ETERNUS DX/AF Setup Notes......................................................................................................... 11

3.4 SAN Boot Notes ............................................................................................................................ 11

3.5 Server Startup and Power Supply Control Notes............................................................................ 11

3.6 LAN Environment Notes ............................................................................................................... 12

3.7 Jumbo Frame Setting Notes.......................................................................................................... 14

3.8 LAN Switch Setting Notes ............................................................................................................. 14

3.9 VMware Multipath Plug-in............................................................................................................ 14

3.10 Connection Notes for VMware ESX Servers.................................................................................. 14

3.11 iSCSI Name Notes ....................................................................................................................... 14

3.12 Notes on Direct Connections....................................................................................................... 15

3.13 VMware vSphere Virtual Volumes (VVOL) Notes ......................................................................... 15

Chapter 4 Installing and Setting Up ETERNUSmgr 16

Chapter 5 Setting Up the ETERNUS DX/AF 17

4FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 6 Setting Up the VMware ESX Server 18

6.1 When VMware vSphere Is Used (with iSCSI Software Initiator) ..................................................... 186.1.1 When VMware vSphere 6.0 or later Is Used.........................................................................................................19

6.1.2 When VMware vSphere 5.5 or earlier Is Used ......................................................................................................34

6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator) .................................................... 536.2.1 Setting the CNA Cards (for the ETERNUS DX/AF)..................................................................................................53

6.2.2 Checking the LUNs ..............................................................................................................................................55

6.2.3 Setting CHAP Authentication ..............................................................................................................................59

6.2.4 Setting Up SAN Boot Authentication ...................................................................................................................59

6.2.5 Changing the Multipath Operation .....................................................................................................................60

6.3 When VMware Infrastructure 3 Is Used ......................................................................................... 616.3.1 Turning On the Devices .......................................................................................................................................61

6.3.2 Checking the LAN Cards ......................................................................................................................................62

6.3.3 Creating the Virtual Switches ..............................................................................................................................62

6.3.4 Setting the Software Initiator..............................................................................................................................64

6.3.5 Setting CHAP Authentication ..............................................................................................................................65

6.3.6 Checking the LUNs ..............................................................................................................................................67

Chapter 7 Virtual Machine 68

7.1 For Windows® ............................................................................................................................... 687.1.1 Checking the Registry Information......................................................................................................................68

7.1.2 Notes for Configuring Windows Server Failover Clustering ..................................................................................69

7.2 For Linux ...................................................................................................................................... 697.2.1 Applying Virtual Machine Updates......................................................................................................................69

Chapter 8 Dynamic Recognition of LUNs Added While VMware ESX is in Use 70

Table of Contents

5FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 1Workflow

1.1 For the ETERNUS DX/AF

This describes how to connect the ETERNUS DX/AF storage systems to a server running VMware ESX.

The workflow is shown below.

Required Documents

• "Server Support Matrix"

• "Configuration Guide -Server Connection- Storage System Settings" that corresponds to the ETERNUS DX/AFto be connected

• "ETERNUS Web GUI User's Guide"

• "ETERNUSmgr Install Guide"

• "ETERNUSmgr User Guide"

• Manuals supplied with the server and LAN card

Workflow

Installing ETERNUSmgr and Setting Up the ETERNUS DX/AFIf ETERNUSmgr is to be used, install it and set up the ETERNUS DX/AF.

• "Chapter 4 Installing and Setting Up ETERNUSmgr" (page 16)

• "Chapter 5 Setting Up the ETERNUS DX/AF" (page 17)

• Checking the ETERNUS Web GUI operational procedures

- "ETERNUS Web GUI User's Guide"

• Installing ETERNUSmgr

- "ETERNUSmgr Install Guide"

• Checking the ETERNUSmgr operational procedures

- "ETERNUSmgr User Guide"

• Setting up the ETERNUS DX/AF

- "Configuration Guide -Server Connection- Storage System Settings" that corresponds to the ETER-NUS DX/AF to be connected

6FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Setting Up the VMware ESX ServerInstall the LAN card or the CNA card in the server and then set up the VMware ESX server to recognizeLUNs.

• "Chapter 6 Setting Up the VMware ESX Server" (page 18)

Starting the Virtual MachineNotes on Virtual Machine operation and related settings are given in this manual and other docu-ments.

• "Chapter 7 Virtual Machine" (page 68)

Chapter 1 Workflow1.1 For the ETERNUS DX/AF

7FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 2Checking the Server Environment

Connection to servers is possible in the following environments.

Check the "Server Support Matrix" for server environment conditions.

2.1 Hardware

• VMware ESX connection requires the use of LAN switches.

• Access the following documents or use the "Server Support Matrix" to determine which models are compat-ible with which servers.

- Search the VMware Compatibility Guide

https://www.vmware.com/resources/compatibility/search.php

2.2 LAN Cards and CNA Cards

Refer to the "Server Support Matrix".

2.3 Connection Compatibility of ETERNUS DX/AF Storage Systemsto VMware ESX

Use the following URL to determine which ETERNUS DX/AF models may be connected to VMware ESX:

• Search the VMware Compatibility Guide

https://www.vmware.com/resources/compatibility/search.php

2.4 Virtual Machine

Virtual Machine is a virtual machine created on the VMware ESX server.

Details of how to install an OS on the VMware ESX Virtual Machine may be checked via the following URL:

http://partnerweb.vmware.com/GOSIG/home.html

8FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 3Notes

Note the following issues when connecting the ETERNUS DX/AF to a server.

3.1 Connection Notes

To ensure reliable access to the ETERNUS DX/AF storage systems, the following methods are recommended:

• VMware multipath plug-in

• Connection via multiple paths

• Balancing of active paths

LUN0

LUN1

VMware ESX

LAN switch LAN switch

Cable

Cable

Example configurationwith optimized load

balancing of the LUNs

CM#0 CA#0 Port#0 CM#1 CA#0 Port#0

Active path#1(to LUN0)

Active path#2(to LUN1)

LAN/CNAcard

LAN/CNAcard

VMware multipath plug-in

Setting up multiple access paths between the server and the ETERNUS DX/AF creates a multipath configu-ration. A multipath configuration provides improved access redundancy.

For VMware multipath plug-in details, refer to "3.9 VMware Multipath Plug-in" (page 14).

The recommended "Path Selection Policy" setting is as follows:

- For VMware vSphere

"RoundRobin (VMware)"

9FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

However, when Windows Server Failover Clustering is used in virtual machines and VMware vSphere 5.1Update 2 or earlier is used, set to "Most Recently Used (MRU)". For more details, refer to the VMwareweb-site for KB1010041.

3.1.1 For VMware vSphereDedicated IP addresses must be allocated to the iSCSI LAN. An IP address must be allocated to each VMkernelthat corresponds to an iSCSI Initiator, and the VMkernel must be connected to either a LAN card or a CNA cardvia a virtual switch.

● For the ETERNUS DX/AF

For example, a total of four IP addresses are required by the following iSCSI connection setup.

Example connection configuration

LAN switch LAN switch

ETERNUS DX/AF

LAN card

CNA card

VMware ESX server

IP address 1 foriSCSI port

IP address 2 foriSCSI port

orLAN card

CNA cardor

IP address 3 foriSCSI port

IP address 4 foriSCSI port

3.1.2 For VMware Infrastructure 3Dedicated IP addresses must be allocated to the iSCSI LAN. An IP address must be allocated to each VMkernelthat corresponds to an iSCSI Initiator, and a LAN card and VMkernel must be connected via a virtual switch.For example, a total of six IP addresses are required by the following iSCSI connection setup.

Example connection configurationVMware ESX server

IP addressfor iSCSI port (5)

LAN card

LAN switch

IP addressfor iSCSI port (6)

LAN card

LAN switch

ETERNUS DX/AF

VMkernel (iSCSI Software Initiator)IP address (1) IP address for Service Console (2)

VMkernel (iSCSI Software Initiator)IP address (3) IP address for Service Console (4)

Chapter 3 Notes3.1 Connection Notes

10FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

3.2 VMware ESX Operating Notes

• Refer to the following web-site for the number of LUNs that VMware ESX can recognize.

https://www.vmware.com/support/pubs/

• When Windows® is used on the Virtual Machine, the registry will need to be modified after Windows® isinstalled. For details, refer to "Chapter 7 Virtual Machine" (page 68).

• The VMware ESX multipath function supports path failover, meaning that server access can continue unaf-fected by any problems that might arise in the iSCSI cables or LAN switches. It should be noted that pathfailover can fail to occur when multiple SCSI sense codes are repeatedly and simultaneously received.

• ETERNUS Multipath Driver and GR Multipath Driver do not need to be installed on a VMware ESX VirtualMachine. The multipath function of VMware ESX provides path redundancy.

3.3 ETERNUS DX/AF Setup Notes

• When connecting a VMware ESX server to the ETERNUS DX/AF, check that the firmware version is as speci-fied in the "Server Support Matrix".

• When LUNs are shared among multiple physical servers (in a VMotion configuration, for example), an Af-finity Group mapping should be used to ensure that each shared LUN is assigned the same LUN numberacross every physical server.

• When connecting to VMware ESX with multiple paths sharing a single LUN, a Reset Group setting is re-quired for the ETERNUS DX/AF device.

• Details of dynamic recognition of LUNs added while VMware ESX is running are given in the "Chapter8 Dynamic Recognition of LUNs Added While VMware ESX is in Use" (page 70).

3.4 SAN Boot Notes

The ETERNUS DX/AF storage systems do not support SAN Boot when they are connected via iSCSI SoftwareInitiator.

3.5 Server Startup and Power Supply Control Notes

Before turning the server on, check that the ETERNUS DX/AF storage systems and LAN switches are all"Ready". Specifically, check that the Ready LED is lit for ETERNUS DX/AF storage systems. If the server isturned on and they are not "Ready", the server will not be able to recognize the ETERNUS DX/AF storage sys-tems.

Also, when the ETERNUS DX/AF power supply is being controlled by a connected server, make sure that theETERNUS DX/AF does not shut down before the connected servers. Similarly, the LAN switches must also beturned off after the connected servers have been shut down. If turned off, data writes from the running servercannot be saved to the ETERNUS DX/AF storage systems, and already saved data may also be affected.

Chapter 3 Notes3.2 VMware ESX Operating Notes

11FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

3.6 LAN Environment Notes

• Since iSCSI LANs handle large amounts of data (traffic) in the same way as an FC-SAN, the iSCSI LAN isrecommended to have its own switch and be a dedicated LAN that is separate from the business LANs.

• iSCSI LAN redundancy is achieved by the use of multipaths.

• For IP network security, separate the iSCSI LAN from the management LAN (for administration).

• The iSCSI LAN must be configured as a dedicated LAN for each path from a server to the ETERNUS DX/AF.

• Perform a port binding configuration when setting IP addresses to a single segment.

Example of a LAN switch connection configuration

12

1 2 3

10 11 12

LUN1 LUN2

10

2 3

11

1

LUN3

Business LAN

(*1)

LAN switch[Business LAN]

LAN Card#1

LAN Card#1

LAN Card#1

Business server A Business server B Business server C

iSCSI port#2

iSCSIport#3

iSCSIport#3

iSCSIport#3

iSCSI port#2

iSCSI port#2

LAN switch #2[iSCSI LAN]

LAN switch #1[iSCSI LAN] iSCSI LAN

Management LAN

LAN switch[Management LAN]

The iSCSI LAN and management LANsegments are kept separate in the iSCSILAN switches, helping maintain the security of each.

ManagementLAN port

ETERNUS DX/AF

A separate LAN segment is used for eachServer/Storage grouping (*3).Here, LAN ports 1, 2 and 10 comprise VLAN1,while LAN ports 3 and 11 comprise VLAN2.

Similarly to FC-SAN,a dedicated LAN is used for iSCSI, not the business LAN.

LAN switches should not be inter-connected (*2)

*1: "iSCSI ports" indicate LAN cards and CNA cards.

*2: In this system configuration, multipaths provide redundant connections between the servers and stor-age system. LAN switches #1 and #2 provide physical separation of the network paths.

*3: A separate LAN segment is provided in the LAN switch (using the switch VLAN function) for each group-ing of business servers and storage systems (equivalent to the FC zones).

Chapter 3 Notes3.6 LAN Environment Notes

12FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Example of a network address configuration

The following example shows a configuration in which multiple servers are connected to multiple CAs.

ETERNUS DX/AF

LAN switch #1(VLAN isrecommended)

Server A Server B

CM0 CM1P0 P1P0 P1

192.168.30.10/24

192.168.10.10/24

192.168.30.1/24

192.168.40.1/24

192.168.40.10/24

192.168.20.10/24

192.168.10.1/24

192.168.20.1/24

LAN switch #2(VLAN isrecommended)

The following example shows a configuration in which a single server is connected to multiple CAs.

ETERNUS DX/AF

LAN switch #1 LAN switch #2

Server

CM0 CM1P0 P1P0 P1

192.168.20.10/24

192.168.10.10/24

192.168.20.1/24

192.168.20.11/24

192.168.10.11/24

192.168.10.1/24

Chapter 3 Notes3.6 LAN Environment Notes

13FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

3.7 Jumbo Frame Setting Notes

• To enable Jumbo Frame, all the connected devices must support Jumbo Frame. Set the appropriate valuesfor various parameters (such as the MTU size) on each connected device.

• For details about how to set Jumbo Frame for a LAN card and LAN switch, refer to the VMware ESX manualsand each device's manuals. Rebooting the server may be required to apply the new settings.

• The MTU size that is supported by the ETERNUS DX/AF is 9,000 bytes.

3.8 LAN Switch Setting Notes

When using a LAN switch that supports the flow control function, disable the flow control function accordingto the following notes:

• For access paths that use iSCSI, disable the flow control function on the sending and receiving ends of theport.

• When a cascade connection is used to connect to LAN switches, disable the function for the LAN switch thatis directly connected to the ETERNUS DX/AF.

For details on how to set the flow control function of the LAN switch, refer to the LAN switch manual.

3.9 VMware Multipath Plug-in

For improved system reliability, installing the VMware multipath plug-in for the ETERNUS DX/AF is recom-mended. The VMware multipath plug-in for the ETERNUS DX/AF can prevent access from being stopped whena path fails by optimizing the VMware multipath's path fail-over function for the ETERNUS DX/AF. For settingdetails, refer to "6.1.2.8 Plug-in Settings" (page 50).

For details on how to obtain VMware Multi-Pathing plug-in for ETERNUS, contact your sales representative.

3.10 Connection Notes for VMware ESX Servers

When file copy and other operations are performed for a disk device that is connected with iSCSI, a problemmay occur in the read or write performance of the VMware ESX server.

This problem can be prevented by disabling the Delayed ACK. For more details, refer to the VMware web-sitefor KB2080851.

3.11 iSCSI Name Notes

When changing the iSCSI Name of the iSCSI initiator, do not use an iSCSI Name that is used by another host.

Chapter 3 Notes3.7 Jumbo Frame Setting Notes

14FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

3.12 Notes on Direct Connections

Refer to "Configuration Guide -Server Connection-" that corresponds to the guest OS when connecting theguest OS directly to the storage system via a vNIC.

3.13 VMware vSphere Virtual Volumes (VVOL) Notes

In a VVOL environment, RHEL 6.4 may become unable to mount its swap space.

As a result, the swap space mounting process during the virtual machine startup becomes stagnated andprevents RHEL 6.4 from booting.

● Event Cause

This problem always occurs when all of the following conditions are met.

• The ETERNUS DX S4/S3 series or the ETERNUS AF series is used with firmware version V10L70 or later andearlier than V10L80

• The connected server is running VMware vSphere 6.5 and is configured with a VVOL environment

• The virtual machine hardware version is 13

• The OS of the virtual machine is RHEL 6.4

• The swap space is created in a physical volume (*1) using the RHEL6.4 side settings

Example:

/dev/sda1 g /boot

/dev/sda2 g /swap

*1: The swap space is created in the LVM volume during a default installation, so this problem does notoccur.

● Coping Method

• If a different firmware version can be applied to the ETERNUS DX S4/S3 series or the ETERNUS AF series

Apply firmware version V10L80 or later.

• If a different firmware version cannot be applied to the ETERNUS DX S4/S3 series or the ETERNUS AF series

The system administrator must perform one of the following operations and then restart the virtual ma-chine.

- Change the virtual machine hardware version to a version other than 13

- Update RHEL 6.4

- Create a swap space in the LVM logical volume

- Change the virtual machine environment from a VVOL environment to a VMFS environment

Chapter 3 Notes3.12 Notes on Direct Connections

15FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 4Installing and Setting Up ETERNUSmgr

If ETERNUSmgr is to be used, install it according to the directions given in the "ETERNUSmgr Install Guide".After installation is complete, follow the instructions in "ETERNUSmgr User Guide" and set up ETERNUSmgr.

16FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 5Setting Up the ETERNUS DX/AF

Set up the ETERNUS DX/AF storage systems using ETERNUS Web GUI or ETERNUSmgr.

ETERNUS DX/AF setup can be performed independently of server setup. For details on how to perform thesesettings, refer to the following manuals.

• "Configuration Guide -Server Connection- Storage System Settings" that corresponds to the ETERNUS DX/AFto be connected

• "ETERNUS Web GUI User's Guide" or "ETERNUSmgr User Guide"

17FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 6Setting Up the VMware ESX Server

This chapter describes settings related to the server iSCSI interface.

6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

Set up the VMware ESX server using the vSphere Web Client or the vSphere Client. The procedures describedhere are based on the following multipath configuration.

● For the ETERNUS DX/AF

For example, a total of four IP addresses are required by the following iSCSI connection setup.

Example connection configuration

IP address 3 foriSCSI port

LAN switch

IP address 4 foriSCSI port

LAN switch

ETERNUS DX/AF

LAN card LAN card

VMware ESX server

VMkernel (iSCSI Software Initiator)IP address 1

VMkernel (iSCSI Software Initiator)IP address 2

18FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.1.1 When VMware vSphere 6.0 or later Is Used

6.1.1.1 Turning on the DevicesTo turn on the connected devices, use the following procedure:

1 Turn on the LAN switch power.

2 Check that the LAN switch's Ready (or equivalent) LED is lit.

3 Turn on the ETERNUS DX/AF.

4 Check that the ETERNUS DX/AF is "Ready".

5 Turn on the server.

6.1.1.2 Checking the LAN Cards

1 Log in to the vSphere Web Client and select in order, [Hosts and Clusters] > target host.

2 Select in order, the [Manage] tab > [Networking] > [Physical adapters].

"vmnic4" and "vmnic5" in the following example.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

19FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.1.1.3 Creating the Virtual SwitchesAdd two virtual switches (vSwitch) for iSCSI to VMware ESX. Add a "VMkernel" and a "vmnic" for each vSwitch.

Perform the following procedure to each vmnic that configures iSCSI SAN.

6.1.1.3.1 When Using vSphere Standard Switches

1 Log in to the vSphere Web Client and select in order, [Hosts and Clusters] > target host.

2 Select in order, the [Manage] tab > [Networking] > [Virtual switches].

3 Select [Add host networking] in the right pane.

If the [Add Networking] pop-up window is displayed, add the network by following the instructions thatare displayed.

(1) Select [VMkernel Network Adapter] and click the [Next] button.

(2) Select [New Standard switch] and click the [Next] button.

(3) Select the target NIC from [Active adapters] in [Add adapters] in the right pane and click the[Next] button.

(4) Configure the port as required and click the [Next] button.

(5) Set the IP address and subnet mask of [VMkernel], and click the [Next] button.

(6) Confirm the settings and click the [Finish] button.

4 Repeat Step 3 to add Virtual Switch vSwitch2.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

20FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

5 Confirm that a Virtual Switch and a VMkernel are set for each vmnic.

6.1.1.3.2 When Using vSphere Distributed Switches

1 Create a vSphere Distributed Switch.

(1) Log in to the vSphere Web Client and select in order, [Home] > [Networking].

(2) Right-click [Datacenter] in the left pane and select in order, [Distributed Switch] > [New Distrib-uted Switch].

When a configuration pop-up window is displayed, set a vSphere Distributed Switch by followingthe displayed instructions.

(i) Enter a vDS name and click the [Next] button.

(ii) Select an appropriate vSphere Distributed Switch version for each host version and click the[Next] button.

(iii) Set the number of physical ports and the port group names that are used, and click the[Next] button.

(iv) Confirm the settings and click the [Finish] button.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

21FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(3) Confirm that [DSwitch] has been created under [Datacenter].

(4) If multiple vSphere Distributed Switches are required, repeat Step (2).

2 Set a VMkernel in vSphere Distributed Switch for each host.

(1) Log in to the vSphere Web Client and select in order, [Home] > [Networking].

(2) Move to [Datacenter] and click [DSwitch].

(3) Select in order, the [Manage] tab > [Settings] > [Topology].

(4) Click [Add hosts to this distributed switch..].

(i) Select [Add host and manage host networking(advanced)] and click the [Next] button.

(ii) Click [New hosts..], select the host to use the DSwitch, and click the [OK] button.

(iii) Click the [Next] button.

(iv) Select [Manage physical adapters] and [Manage VMkernel adapters], and then click the[Next] button.

1 Select the target vmnic and click [Assign uplink].

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

22FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

2 Click [OK] in the pop-up window.

Confirm that the selected vmnic has been set for [Uplink Port Group] and click the[Next] button.

3 Select [On this switch] and click [New adapter].

4 Perform the settings in the VMkernel configuration pop-up window.

(1) Select the DPortGroup that was created with [Browser] by selecting [Select an ex-isting network].

(2) Configure the port as required and click the [Next] button.

(3) Set the IP address and click the [Next] button.

5 Confirm that "DSwitch" and "DPortGroup" have been set for vmk1 in [On this switch],and then click the [Next] button.

(v) Confirm that "No impact" is displayed for [Overall impact status] and click the [Next] button.

(vi) Confirm the settings and click the [Finish] button.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

23FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(5) Confirm that the VMkernel port has been created by clicking the [Manage] tab > [Networking] >[Virtual switches] from the vSphere Web Client.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

24FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.1.1.4 Setting the Software InitiatorEnable Software Initiator in VMware ESX.

1 Log in to the vSphere Web Client and select in order, [Hosts and Clusters] > target host.

2 Select in order, the [Manage] tab > [Storage] > [Storage Adapters].

3 Select the [iSCSI Software Adapter] item.

4 Check the iSCSI Name that is displayed in [Adapter Details].

5 Select the [Targets] tab in [Adapter Details].

6 Click [Add] in [Dynamic Discovery].

7 Enter the IP address for the iSCSI port of the connected ETERNUS DX/AF in the [iSCSI Server] column,confirm that the port is set to "3260" (default), and click the [OK] button.

8 Confirm that the IP address for the iSCSI port of the ETERNUS DX/AF is displayed as follows.

9 If the connected ETERNUS DX/AF uses multiple iSCSI ports, repeat the IP address addition process foreach iSCSI port. (Repeat Step 6 through Step 8.)

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

25FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.1.1.5 Checking the LUNsThe following procedure describes how to check LUN recognition using the vSphere Web Client.

Log in to VMware ESX from the vSphere Web Client, and then check whether the ETERNUS DX/AF LUNs arerecognized.

The procedure is as follows:

1 Log in to the vSphere Web Client and select in order, [Hosts and Clusters] > target host.

2 Select in order, [Manage] > [Storage] > [Storage Adapters].

3 Select [Rescan...].

After selecting [Rescan...], the VMware ESX should attempt to recognize the ETERNUS DX/AF storagesystems' LUNs again.

4 Select the iSCSI Software Adapter (vmhba34 in this example) from the [Storage Adapters] area.

In the [Devices] tab in the [Adapter Details] area, the recognized devices are shown as follows.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

26FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

5 Check [Path Selection Policy] for all the LUNs in the ETERNUS DX/AF.

When the VMware ESX server recognizes the LUNs, the active path for each LUN is automatically set.

Even though [Path Selection Policy] is set to [Most Recently Used (VMware)], changing the [Path Selec-tion Policy] for all the LUNs to [Round Robin (VMware)] is recommended.

The vSphere command line can also be used to change the [Path Selection Policy] settings. For moredetails, refer to the VMware web-site for KB2000552. If a modification method for the relevant ver-sion is not described, modify the setting with the ESXi 5.x method.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

27FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6 For a multipath configuration, confirm that the paths of all the LUNs in the ETERNUS DX/AF are config-ured with multipath.

When paths for a LUN are configured with multipath, multiple Runtime Names and Targets are dis-played in [Paths].

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

28FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.1.1.6 Setting CHAP AuthenticationLog in to VMware ESX from the vSphere Web Client, check whether the ETERNUS DX/AF LUNs have been rec-ognized, and then enable the CHAP authentication.

The procedure is as follows:

1 Log in to the vSphere Web Client and select in order, [Hosts and Clusters] > target host.

2 Select in order, [Manage] > [Storage] > [Storage Adapters].

3 Select the target iSCSI Software Adapter.

4 Click [Edit] in [Authentication] that is displayed in the lowest part of the [Properties] tab in the [Adapt-er Details] area.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

29FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

5 Set CHAP.

• When setting Unidirectional CHAP

Select [Use unidirectional CHAP] for [Authentication Method:] and set an Outgoing CHAP name andan Outgoing CHAP secret.

• When setting Bidirectional CHAP

Select [Use bidirectional CHAP] for [Authentication Method] and set names and secrets for OutgoingCHAP and for Incoming CHAP.

6.1.1.7 Plug-in SettingsSet up VMware Multi-Pathing plug-in for ETERNUS by following "Software Information", which is a manualthat is provided with the VMware Multi-Pathing plug-in for ETERNUS.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

30FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.1.1.8 Changing the Multipath OperationIf "VMware Multi-Pathing plug-in for ETERNUS" is not used, change the multipath operation as shown below.

For more details, refer to the VMware web-site for KB2106770.

1 Check the device name of all the LUNs in the ETERNUS DX/AF that is connected with VMware ESXi.

Check "FUJITSU iSCSI Disk (naa.xxx)" in the following example.

# esxcli storage nmp device list | grep -E 'Device Display Name:' Device Display Name: Local LSI Disk (naa.60030057013345401a6af1560de849bc) Device Display Name: FUJITSU iSCSI Disk (naa.6000b5d0006a0000006a0b9f01490000) Device Display Name: FUJITSU iSCSI Disk (naa.6000b5d0006a0000006a0b9f014a0000) Device Display Name: Local MATSHITA CD-ROM (mpx.vmhba32:C0:T0:L0)

When VMware vSphere Virtual Volumes (VVOL) is used, the Protocol Endpoints are displayed withoutdisplaying the Virtual Volumes. In Step 2, set the parameters for the Protocol Endpoints.

2 Change the multipath operation.

Use the following command to set parameters for all LUNs in the ETERNUS DX/AF.

# esxcli storage nmp satp generic deviceconfig set -c enable_action_OnRetryErrors -d naa.6000b5d0006a0000006a0b9f01490000# esxcli storage nmp satp generic deviceconfig set -c enable_action_OnRetryErrors -d naa.6000b5d0006a0000006a0b9f014a0000

3 Confirm the settings.

Confirm that "action_OnRetryErrors=on" is included in "Storage Array Type Device Config" for the LUNs inthe ETERNUS DX/AF.

# esxcli storage nmp device list | grep -E '(Device Display Name:|Storage Array Type Device Config:)'

Device Display Name: Local LSI Disk (naa.60030057013345401a6af1560de849bc) Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration. Device Display Name: FUJITSU iSCSI Disk (naa.6000b5d0006a0000006a0b9f01490000) Storage Array Type Device Config: {implicit_support=on; explicit_support=off; explicit_allow=on; alua_followover=on; action_OnRetryErrors=on; {TPG_id=32897,TPG_state=AO}{TPG_id=32896,TPG_state=AO}{TPG_id=32913,TPG_state=ANO}{TPG_id=32912,TPG_state=ANO}} Device Display Name: FUJITSU iSCSI Disk (naa.6000b5d0006a0000006a0b9f014a0000) Storage Array Type Device Config: {implicit_support=on; explicit_support=off; explicit_allow=on; alua_followover=on; action_OnRetryErrors=on; {TPG_id=32897,TPG_state=AO}{TPG_id=32896,TPG_state=AO}{TPG_id=32913,TPG_state=ANO}{TPG_id=32912,TPG_state=ANO}} Device Display Name: Local MATSHITA CD-ROM (mpx.vmhba32:C0:T0:L0) Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration.

6.1.1.9 Changing the iSCSI QueueDepth ValueExecute the "esxcli" command to change the QueueDepth value.

Set the QueueDepth value according to the queue depth.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

31FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

1 Execute the following command to change the QueueDepth value.

# esxcli system module parameters set -m iscsi_vmk -p iscsivmk_LunQDepth=<(1)>

Enter any setting value (*1) in (1).

*1: Recommended value = 1024 ¸ (number of servers that are connected to a single CA port) ¸ num-ber of LUNs

(Round the result down)

• Use the value of "8" if the actual result is lower. Use the maximum value if the actual result ex-ceeds the maximum value of the OS or the iSCSI QueueDepth.

• To achieve maximum system performance, this value can be changed according to the serverload and the peak operating times.

• The number of simultaneous command executions per CA port for the ETERNUS DX/AF is limitedto 1024. This value is used by multiple servers that share the CA port. A maximum of 1024 com-mands can be executed per CA port.

The following example sets the Maximum Outstanding Disk Requests for virtual machines to 46.

# esxcli system module parameters set -m iscsi_vmk -p iscsivmk_LunQDepth=46

2 Reboot VMware ESXi.

# reboot

3 After rebooting VMware ESXi, check the setting values.

# esxcli system module parameters list -m iscsi_vmk | grep iscsivmk_LunQDepthiscsivmk_LunQDepth int 46 Maximum Outstanding Commands Per LUN#

6.1.1.10 Changing the Maximum Outstanding Disk Requests for Virtual Machines If Multiple VirtualMachines Share a LUNIf multiple virtual machines share a LUN, consider setting "No of outstanding IOs with competing worlds".

Based on the QueueDepth value that is specified in "6.1.1.9 Changing the iSCSI QueueDepth Value" (page31), set a value by taking the number of virtual machines that shares the LUN and the load status during thepeak operating times into consideration.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

32FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

"No of outstanding IOs with competing worlds" does not apply when only one virtual machine is active ona datastore or LUN.

"No of outstanding IOs with competing worlds" is limited by the bandwidth of the QueueDepth value.

For more details, refer to the VMware web-site for KB2080696.

1 Execute the following command to check the values of "No of outstanding IOs with competing worlds"for the ETERNUS DX/AF's shared LUNs that are connected to VMware ESXi.

Check "FUJITSU iSCSI Disk (naa.xxx)" and the "No of outstanding IOs with competing worlds" value in thefollowing example.

# esxcli storage core device list | grep -E '(Display Name:|No of outstanding IOs with competing worlds:)' Display Name: FUJITSU iSCSI Disk (naa.600000e00d2a0000002a021500070000) Has Settable Display Name: true No of outstanding IOs with competing worlds: 32 Display Name: Local LSI Disk (naa.60030057011951d0204086ea11c0cf22) Has Settable Display Name: true No of outstanding IOs with competing worlds: 32

When changing the "No of outstanding IOs with competing worlds" value, perform all the steps startingfrom Step 2.

2 Execute the following command to change the "No of outstanding IOs with competing worlds" value.

# esxcli storage core device set -d naa.600000e00d2a0000002a021500070000 -O <(1)>

Enter any setting value in (1).

The following example sets "No of outstanding IOs with competing worlds" to 46.

# esxcli storage core device set -d naa.600000e00d2a0000002a021500070000 -O 46

3 Reboot VMware ESXi.

# reboot

4 After rebooting VMware ESXi, check that the setting has been applied.

# esxcli storage core device list | grep -E '(Display Name:|No of outstanding IOs with competing worlds:)' Display Name: FUJITSU iSCSI Disk (naa.600000e00d2a0000002a021500070000) Has Settable Display Name: true No of outstanding IOs with competing worlds: 46 Display Name: Local LSI Disk (naa.60030057011951d0204086ea11c0cf22) Has Settable Display Name: true No of outstanding IOs with competing worlds: 32

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

33FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.1.2 When VMware vSphere 5.5 or earlier Is Used

6.1.2.1 Turning on the DevicesTo turn on the connected devices, use the following procedure:

1 Turn on the LAN switch power.

2 Check that the LAN switch's Ready (or equivalent) LED is lit.

3 Turn on the ETERNUS DX/AF.

4 Check that the Ready LED is lit on the ETERNUS DX/AF.

5 Turn on the server.

6.1.2.2 Checking the LAN Cards

1 Log in to VMware ESX from the vSphere Client and select the [Configuration] tab.

2 Click [Network Adapters] in the [Hardware] list.

"vmnic0" and "vmnic1" in the following example.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

34FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.1.2.3 Creating the Virtual SwitchesAdd two virtual switches (vSwitch) for iSCSI to VMware ESX. Add a "VMkernel" and "vmnic" for each vSwitch.

Perform the following procedure to each vmnic that configures iSCSI SAN.

6.1.2.3.1 When Using vSphere Standard Switches

1 Open the network window by selecting the [Configuration] tab on vSphere Client and click [Add Net-work] in the upper right of the window.

2 Select [VMkernel] and click the [Next] button.

3 Select the checkbox of the target network adapter and click the [Next] button.

4 Set properties of port groups as required, and click the [Next] button.

5 Set the IP address and subnet mask of "VMkernel", and click the [Next] button.

6 Repeat Step 1 through Step 5 to add another virtual switch (vSwitch2).

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

35FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

7 Confirm that a virtual switch and VMkernel are set for each vmnic.

6.1.2.3.2 When Using vSphere Distributed Switches

1 Create a vSphere Distributed Switch.

(1) Log in to VMware ESX from the vSphere Client and select in order , [Home] > [Inventory] > [Net-working].

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

36FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(2) Right-click [Datacenter] in the left pane and select [New vSphere Distributed Switch].

(3) Select an appropriate vSphere Distributed Switch version for each host version and click the [Next]button.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

37FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(4) Set a vDS name and the number of physical ports that are used and click the [Next] button.

(5) Select a physical NIC (port) that is used by each host and click the [Next] button.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

38FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(6) Click the [Finish] button.

(7) Confirm that the new dvSwitch has been created under [Datacenter].

(8) If multiple vSphere Distributed Switches are required, repeat from Step (1) to Step (7).

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

39FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

2 Set a VMkernel in vSphere Distributed Switch for each host.

(1) Log in to VMware ESX from the vSphere Client and select in order, [Home] > [Inventory] > [Hostsand Clusters].

(2) Move to [Networking] in the [Configuration] tab for the host and click [vSphere DistributedSwitch].

(3) Confirm that vSphere Distributed Switch and vmnic are displayed, and click [Manage VirtualAdapters].

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

40FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(4) Click the [Add] button.

(5) Select [New virtual adapter] and click the [Next] button.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

41FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(6) Click the [Next] button.

(7) Select "dvPortGroup" from the [Select port group] pull-down menu and click the [Next] button.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

42FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(8) Configure the IP settings for VMkernel and click the [Next] button.

(9) Confirm that a new VMkernel port has been created and click the [Finish] button.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

43FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

(10) Confirm that the VMkernel port has been created in the [vSphere Distributed Switch] tab invSphere Client.

6.1.2.4 Setting the Software InitiatorEnable Software Initiator in VMware ESX.

6.1.2.4.1 For the ETERNUS DX/AF

1 Select the [Configuration] tab on vSphere Client and click [Storage Adapters].

2 Select the target iSCSI Software Adapter and click [Properties].

3 Click [Configure] on the [General] tab.

4 Select the [Status-Enabled] checkbox and click the [OK] button.

5 Confirm that the [Enabled] checkbox is selected under "Status" on the [General] tab and click [Config-ure] again.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

44FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6 Confirm that the iSCSI name is displayed in the "iSCSI Name" column and click the [Cancel] button.

7 Select the [Dynamic Discovery] tab and click the [Add] button.

8 Enter the IP address for the iSCSI port of the connected ETERNUS DX/AF as the iSCSI server IP address,confirm that the port is set to "3260" (default), and click the [OK] button.

9 Confirm that the IP address for the iSCSI port of the ETERNUS DX/AF is displayed as follows.

10 If the connected ETERNUS DX/AF uses multiple iSCSI ports, repeat the IP address addition process foreach iSCSI port. (Repeat Step 7 through Step 9.)

6.1.2.5 Enabling ALUA

This procedure is only required when VMware vSphere contains VMware ESX 4.0/VMware ESXi 4.0.

It does not need to be performed when VMware vSphere contains VMware ESX 4.0 Update 1/VMware ESXi4.0 Update 1 or later versions.

In this case, proceed to "6.1.2.6 Checking the LUNs" (page 47).

After the VMware ESX server has been installed, Asymmetric Logical Unit Access (ALUA) should be enabledaccording to the following procedure.

1 Use the terminal to log in to VMware ESX as "root".

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

45FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

2 Execute the following command in the terminal:

• When connecting to an ETERNUS DX60 S2/DX80 S2/DX90 S2

esxcli nmp satp addrule --satp="VMW_SATP_ALUA" --vendor="FUJITSU" --model="ETERNUS_DXL" --description="ETERNUS DXL with ALUA" --claim-optiontpgs_on

• When connecting to an ETERNUS DX400 S2 series

esxcli nmp satp addrule --satp="VMW_SATP_ALUA" --vendor="FUJITSU" --model="ETERNUS_DX400" --description="ETERNUS DX400 with ALUA" --claim-option tpgs_on

• When connecting to an ETERNUS DX8000 S2 series

esxcli nmp satp addrule --satp="VMW_SATP_ALUA" --vendor="FUJITSU" --model="ETERNUS_DX8000" --description="ETERNUS DX8000 with ALUA" --claim-option tpgs_on

3 Execute the following command in the terminal:

esxcli corestorage claiming unclaim --type location

Ignore the following error message if it appears when the preceding command is executed:

Errors:Unable to perform unclaim. Error message was : Unable to unclaim paths. Busy or in use devices detected. See VMkernel logs for more information.

4 Execute the following command in the terminal:

esxcli corestorage claimrule run

5 Check that the connected ETERNUS DX/AF is shown when the appropriate command is executed in theterminal:

Command

esxcli nmp satp listrules --satp VMW_SATP_ALUA

Display result

• When connecting to an ETERNUS DX60 S2/DX80 S2/DX90 S2

VMW_SATP_ALUA FUJITSU ETERNUS_DXL tpgs_on ETERNUS DXL with ALUA

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

46FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

• When connecting to an ETERNUS DX400 S2 series

VMW_SATP_ALUA FUJITSU ETERNUS_DX400 tpgs_on ETERNUS DX400 with ALUA

• When connecting to an ETERNUS DX8000 S2 series

VMW_SATP_ALUA FUJITSU ETERNUS_DX8000 tpgs_on ETERNUS DX8000 with ALUA

6 Log out of the terminal, and restart the VMware ESX server.

Refer to the following for details of the above commands:

• Reference URL:

https://www.vmware.com/support/pubs/

• Reference documents:

"vSphere Command-Line Interface Concepts and Examples"

6.1.2.6 Checking the LUNsThe following procedure describes how to check LUN recognition using the vSphere Client.

Log in to the VMware ESX from the vSphere Client, and then check whether the ETERNUS DX/AF LUNs arerecognized.

The procedure is as follows:

1 Use the vSphere Client to log in to VMware ESX as "root".

2 Select the [Configuration] tab.

3 Select [Storage Adapters] from the [Hardware] list.

4 Select [Rescan].

After selecting [Rescan], the VMware ESX should attempt to recognize the ETERNUS DX/AF storagesystems' LUNs again.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

47FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

5 If the iSCSI Software Adapter (vmhba34 in this example) is selected from the [Storage Adapters] area,the recognized devices will be shown in the [Details] area, as follows.

6 Check the [Path Selection] for all the LUNs in the ETERNUS DX/AF.

When the VMware ESX server recognizes the LUNs, the active path for each LUN is automatically set. Inthis case, [Path Selection] is set to [Most Recently Used (VMware)].

Changing [Path Selection] for all the LUNs to [RoundRobin (VMware)] is recommended.

The vSphere command line can also be used to change the [Path Selection] settings. For more de-tails, refer to the VMware web-site for KB2000552.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

48FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

7 For a multipath configuration, confirm that the paths of all the LUNs in the ETERNUS DX/AF are config-ured with multipath. When paths for a LUN are configured with multipath, multiple Runtime Namesand Targets are displayed in [Paths].

6.1.2.7 Setting CHAP AuthenticationCHAP and mutual CHAP authentication can be set for VMware ESX connections.

Log in to VMware ESX from the vSphere Client, check whether the ETERNUS DX/AF LUNs have been recog-nized, and then enable the CHAP authentication.

The procedure is as follows:

1 Select the [Configuration] tab on vSphere Client and select [Storage Adapters].

2 Select the target iSCSI Software Adapter and click [Properties].

3 Select the [General] tab and click [CHAP].

4 Set CHAP.

• When setting CHAP only

Select [Required] for [Select option:] under "CHAP" and set the [Name:] and [Secret:].

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

49FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

• When setting CHAP and mutual CHAP

Select [Required] for [Select option:] under "CHAP" and "Mutual CHAP" and set the [Name:] and [Se-cret:].

6.1.2.8 Plug-in SettingsSet up VMware Multi-Pathing plug-in for ETERNUS by following "Software Information", which is a manualthat is provided with the VMware Multi-Pathing plug-in for ETERNUS.

6.1.2.9 Changing the iSCSI QueueDepth ValueExecute the "esxcli" command to change the QueueDepth value.

Set the QueueDepth value according to the queue depth.

1 Execute the following command to change the QueueDepth value.

# esxcli system module parameters set -m iscsi_vmk -p iscsivmk_LunQDepth=<(1)>

Enter any setting value (*1) in (1).

*1: Recommended value = 1024 ¸ (number of servers that are connected to a single CA port) ¸ num-ber of LUNs

(Round the result down)

• Use the value of "8" if the actual result is lower. Use the maximum value if the actual result ex-ceeds the maximum value of the OS or the iSCSI QueueDepth.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

50FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

• To achieve maximum system performance, this value can be changed according to the serverload and the peak operating times.

• The number of simultaneous command executions per CA port for the ETERNUS DX/AF is limitedto 1024. This value is used by multiple servers that share the CA port. A maximum of 1024 com-mands can be executed per CA port.

The following example sets the Maximum Outstanding Disk Requests for virtual machines to 46.

# esxcli system module parameters set -m iscsi_vmk -p iscsivmk_LunQDepth=46

2 Reboot VMware ESXi.

# reboot

3 After rebooting VMware ESXi, check the setting values.

# esxcli system module parameters list -m iscsi_vmk | grep iscsivmk_LunQDepthiscsivmk_LunQDepth int 46 Maximum Outstanding Commands Per LUN#

6.1.2.10 Changing the Maximum Outstanding Disk Requests for Virtual Machines If Multiple VirtualMachines Share a LUNIf multiple virtual machines share a LUN, consider setting "No of outstanding IOs with competing worlds".

Based on the QueueDepth value that is specified in "6.1.2.9 Changing the iSCSI QueueDepth Value" (page50), set a value by taking the number of virtual machines that shares the LUN and the load status during thepeak operating times into consideration.

"No of outstanding IOs with competing worlds" does not apply when only one virtual machine is active ona datastore or LUN.

"No of outstanding IOs with competing worlds" is limited by the bandwidth of the QueueDepth value.

For more details, refer to the VMware web-site for KB2080696.

The following shows the procedure for VMware vSphere 5.5. For other versions, refer to the VMware web-sitefor KB2080696.

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

51FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

1 Execute the following command to check the values of "No of outstanding IOs with competing worlds"for the ETERNUS DX/AF's shared LUNs that are connected to VMware ESXi.

Check "FUJITSU iSCSI Disk (naa.xxx)" and the "No of outstanding IOs with competing worlds" value in thefollowing example.

# esxcli storage core device list | grep -E '(Display Name:|No of outstanding IOs with competing worlds:)' Display Name: FUJITSU iSCSI Disk (naa.600000e00d2a0000002a021500070000) Has Settable Display Name: true No of outstanding IOs with competing worlds: 32 Display Name: Local LSI Disk (naa.60030057011951d0204086ea11c0cf22) Has Settable Display Name: true No of outstanding IOs with competing worlds: 32

When changing the "No of outstanding IOs with competing worlds" value, perform all the steps startingfrom Step 2.

2 Execute the following command to change the "No of outstanding IOs with competing worlds" value.

# esxcli storage core device set -d naa.600000e00d2a0000002a021500070000 -O <(1)>

Enter any setting value in (1).

The following example sets "No of outstanding IOs with competing worlds" to 46.

# esxcli storage core device set -d naa.600000e00d2a0000002a021500070000 -O 46

3 Reboot VMware ESXi.

# reboot

4 After rebooting VMware ESXi, check that the setting has been applied.

# esxcli storage core device list | grep -E '(Display Name:|No of outstanding IOs with competing worlds:)' Display Name: FUJITSU iSCSI Disk (naa.600000e00d2a0000002a021500070000) Has Settable Display Name: true No of outstanding IOs with competing worlds: 46 Display Name: Local LSI Disk (naa.60030057011951d0204086ea11c0cf22) Has Settable Display Name: true No of outstanding IOs with competing worlds: 32

Chapter 6 Setting Up the VMware ESX Server6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)

52FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.2 When VMware vSphere Is Used (with iSCSI Hardware Initia-tor)

Set up the VMware ESX server using the vSphere Web Client or the vSphere Client. The procedures describedhere are based on the following multipath configuration.

● For ETERNUS DX/AF storage systems

For example, a total of four IP addresses are required by the following iSCSI connection setup.

Example connection configuration

IP address for iSCSI port (3)

LAN switch

IP address foriSCSI port (4)

LAN switch

ETERNUS DX/AF

CNA cardIP address (1)

CNA cardIP address (2)

VMware ESX server

6.2.1 Setting the CNA Cards (for the ETERNUS DX/AF)Install the CNA cards in the server, acquire the iSCSI name, set the IP address for the CNA cards, and set theiSCSI name and the IP address of the target.

For details on the setting procedure for the CNA cards that are used for iSCSI Hardware Initiator, refer tothe CNA card manual.

The workflow is shown below.

(1) Install the CNA card

(2) Turn on the server

(3) Acquire iSCSI name for the CNA card

(4) Set IP address for the CNA card

(5) Set iSCSI name and IP address for the target

Chapter 6 Setting Up the VMware ESX Server6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator)

53FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

A setting example for the PY-CN202 (Emulex OCe10102-FM) is shown below.

For details on PY-CN202 (Emulex OCe10102-FM) settings, refer to the CNA card manuals.

1 Install the CNA card in the server.

For the installation method, slot positions, activation of the installed slot, and notes regarding the CNAcard, refer to the manual provided with the CNA card or the user guide of the server.

2 Turn on the server, and press the [Ctrl] + [S] keys while the following message is displayed.

Emulex 10Gb iSCSI Initiator BIOS v4.6.142.10 (c) 2005-2013 Emulex Corporation. All Rights Reserved. (c) 1998-2005 Adaptec, Inc. All Rights Reserved. <<< Press <Ctrl><S> for iSCSISelect(TM) Utility >>>

Emulex iSCSISelect Utility starts.

3 Acquire the iSCSI Initiator Name in the iSCSI Initiator Configuration screen.

Select [Save] and press the [Enter] key to save the iSCSI Initiator Name.

4 Select [Controller Configuration], select the CNA card port for which the information is set in the Con-troller Select Menu screen, and press the [Enter] key.

5 Select [Network Configuration > Configure Static IP Address] from the Controller Configuration menuand set IP address in the Static IP Address screen.

6 Select [iSCSI Target Configuration] from the Controller Configuration menu, open the Add/Ping iSCSI Tar-get screen from [Add New iSCSI Target], and set the information to add a target.

The information listed below is necessary:

• iSCSI name of the target

• IP address of the target

• Whether the CHAP authentication is enabled (one-way CHAP, Mutual CHAP, none)

Chapter 6 Setting Up the VMware ESX Server6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator)

54FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.2.2 Checking the LUNs

6.2.2.1 For VMware vSphere 6.0 or laterThe following procedure describes how to check LUN recognition using the vSphere Web Client.

Check the LUNs from the vSphere Web Client.

The procedure is as follows:

1 Log in to the vSphere Web Client and select in order, [Hosts and Clusters] > target host.

2 Select in order, the [Manage] tab > [Storage] > [Storage Adapters].

3 Select [Rescan...].

After selecting [Rescan...], the VMware ESX should attempt to recognize the ETERNUS DX/AF storagesystems' LUNs again.

4 Select the virtual HBA (vmhba3 in this example) for the iSCSI card from the [Storage Adapters] area.

The recognized devices will be shown in the [Adapter Details] area, as follows.

Chapter 6 Setting Up the VMware ESX Server6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator)

55FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

5 Connect to the VMware ESX server via the vSphere Web Client and check [Path Selection Policy] for allthe LUNs in the ETERNUS DX/AF.

When the VMware ESX server recognizes the LUNs, the active path for each LUN is automatically set.

Even though [Path Selection Policy] is set to [Most Recently Used (VMware)], changing the [Path Selec-tion Policy] for all the LUNs to [Round Robin (VMware)] is recommended.

The vSphere command line can also be used to change the [Path Selection Policy] settings. For moredetails, refer to the VMware web-site for KB2000552. If a modification method for the relevant ver-sion is not described, modify the setting with the ESXi 5.x method.

Chapter 6 Setting Up the VMware ESX Server6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator)

56FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6 For a multipath configuration, confirm that the paths of all the LUNs in the ETERNUS DX/AF are config-ured with multipath.

When paths for a LUN are configured with multipath, multiple Runtime Names and Targets are dis-played in [Paths].

6.2.2.2 For VMware vSphere 5.5 or earlierThe following procedure describes how to check LUN recognition using the vSphere Client.

Log in to VMware ESX from the vSphere Client, and then check whether the ETERNUS DX/AF LUNs are recog-nized.

The procedure is as follows:

1 Use the vSphere Client to log in to VMware ESX as "root".

2 Select the [Configuration] tab.

3 Select [Storage Adapters] from the [Hardware] list.

4 Select [Rescan].

After selecting [Rescan], the VMware ESX should attempt to recognize the ETERNUS DX/AF storagesystems' LUNs again.

Chapter 6 Setting Up the VMware ESX Server6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator)

57FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

5 Select the iSCSI Hardware Adapters (vmhba3 and vmhba4 in this example) from the [Storage Adapters]area.

The recognized devices will be shown in the [Details] area, as follows.

6 Check the [Path Selection] for all the LUNs in the ETERNUS DX/AF.

When the VMware ESX server recognizes the LUNs, the active path for each LUN is automatically set. Inthis case, [Path Selection] is set to [Most Recently Used (VMware)].

Changing [Path Selection] for all the LUNs to [RoundRobin (VMware)] is recommended.

The vSphere command line can also be used to change the [Path Selection] settings. For more de-tails, refer to the VMware web-site for KB2000552.

Chapter 6 Setting Up the VMware ESX Server6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator)

58FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

7 For a multipath configuration, confirm that the paths of all the LUNs in the ETERNUS DX/AF are config-ured with multipath. When paths for a LUN are configured with multipath, multiple Runtime Namesand Targets are displayed in [Paths].

6.2.3 Setting CHAP AuthenticationPerform the CHAP authentication settings in Step 6 of "6.2.1 Setting the CNA Cards (for the ETERNUS DX/AF)"(page 53).

For details on this setting procedure, refer to the relevant manuals (such as the Boot Code User Manual) atthe following Emulex website:

http://www.emulex.com/downloads/emulex/

6.2.4 Setting Up SAN Boot AuthenticationFor the SAN Boot setting procedure, refer to the relevant manuals (such as the Boot Code User Manual) atthe following Emulex website:

http://www.emulex.com/downloads/emulex/

Chapter 6 Setting Up the VMware ESX Server6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator)

59FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.2.5 Changing the Multipath OperationIf "VMware Multi-Pathing plug-in for ETERNUS" is not used with ESXi 6.0 or later, change the multipath oper-ation as shown below.

For more details, refer to the VMware web-site for KB2106770.

1 Check the device name of all the LUNs in the ETERNUS DX/AF that is connected with VMware ESXi.

Check "FUJITSU iSCSI Disk (naa.xxx)" in the following example.

# esxcli storage nmp device list | grep -E 'Device Display Name:' Device Display Name: Local LSI Disk (naa.60030057013345401a6af1560de849bc) Device Display Name: FUJITSU iSCSI Disk (naa.6000b5d0006a0000006a0b9f01490000) Device Display Name: FUJITSU iSCSI Disk (naa.6000b5d0006a0000006a0b9f014a0000) Device Display Name: Local MATSHITA CD-ROM (mpx.vmhba32:C0:T0:L0)

When VMware vSphere Virtual Volumes (VVOL) is used, the Protocol Endpoints are displayed withoutdisplaying the Virtual Volumes. In Step 2, set the parameters for the Protocol Endpoints.

2 Change the multipath operation.

Use the following command to set parameters for all LUNs in the ETERNUS DX/AF.

# esxcli storage nmp satp generic deviceconfig set -c enable_action_OnRetryErrors -d naa.6000b5d0006a0000006a0b9f01490000# esxcli storage nmp satp generic deviceconfig set -c enable_action_OnRetryErrors -d naa.6000b5d0006a0000006a0b9f014a0000

3 Confirm the settings.

Confirm that "action_OnRetryErrors=on" is included in "Storage Array Type Device Config" for the LUNs inthe ETERNUS DX/AF.

# esxcli storage nmp device list | grep -E '(Device Display Name:|Storage Array Type Device Config:)'

Device Display Name: Local LSI Disk (naa.60030057013345401a6af1560de849bc) Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration. Device Display Name: FUJITSU iSCSI Disk (naa.6000b5d0006a0000006a0b9f01490000) Storage Array Type Device Config: {implicit_support=on; explicit_support=off; explicit_allow=on; alua_followover=on; action_OnRetryErrors=on; {TPG_id=32897,TPG_state=AO}{TPG_id=32896,TPG_state=AO}{TPG_id=32913,TPG_state=ANO}{TPG_id=32912,TPG_state=ANO}} Device Display Name: FUJITSU iSCSI Disk (naa.6000b5d0006a0000006a0b9f014a0000) Storage Array Type Device Config: {implicit_support=on; explicit_support=off; explicit_allow=on; alua_followover=on; action_OnRetryErrors=on; {TPG_id=32897,TPG_state=AO}{TPG_id=32896,TPG_state=AO}{TPG_id=32913,TPG_state=ANO}{TPG_id=32912,TPG_state=ANO}} Device Display Name: Local MATSHITA CD-ROM (mpx.vmhba32:C0:T0:L0) Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration.

Chapter 6 Setting Up the VMware ESX Server6.2 When VMware vSphere Is Used (with iSCSI Hardware Initiator)

60FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.3 When VMware Infrastructure 3 Is Used

Set up the VMware ESX server using the VMware Infrastructure Client. The procedures described here arebased on the following multipath configuration.

Example connection configurationVMware ESX server

IP addressfor iSCSI port (5)

LAN card

LAN switch

IP addressfor iSCSI port (6)

LAN card

LAN switch

ETERNUS DX/AF

VMkernel (iSCSI Software Initiator)IP address (1) IP address for Service Console (2)

VMkernel (iSCSI Software Initiator)IP address (3) IP address for Service Console (4)

6.3.1 Turning On the DevicesTo turn on the connected devices, use the following procedure:

1 Turn on the LAN switch power.

2 Check that the LAN switch's Ready (or equivalent) LED is lit.

3 Turn on the ETERNUS DX/AF.

4 Check that the Ready LED is lit on the ETERNUS DX/AF.

5 Turn on the server.

Chapter 6 Setting Up the VMware ESX Server6.3 When VMware Infrastructure 3 Is Used

61FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.3.2 Checking the LAN Cards

1 Select the [Configuration] tab on VMware Infrastructure Client.

2 Check the iSCSI SAN configuration Network Adapters.

"vmnic1" and "vmnic2" in the following example.

6.3.3 Creating the Virtual SwitchesAdd two virtual switches (vSwitch) for iSCSI to VMware ESX.

Define two virtual network port types ("Service Console" and "VMkernel") for the added vSwitch.

Also assign IP addresses on the same subnet to the defined Service Console and VMkernel.

6.3.3.1 Adding a Service Console

1 Select the [Configuration] tab on VMware Infrastructure Client and click [Add Networking].

2 Select [Service Console] and click the [Next] button.

3 Select the checkbox of the target network adapter and click the [Next] button.

4 Check the [Service Console] details, set an arbitrary VLAN ID, IP address, and subnet mask, and click the[Next] button.

Chapter 6 Setting Up the VMware ESX Server6.3 When VMware Infrastructure 3 Is Used

62FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

5 Check the [Service Console] IP address and click the [Finish] button.

Confirm that the virtual switch (vSwitch1) has been created as follows.

6 Repeat Step 1 through Step 5 to add Service Console to vSwitch2.

6.3.3.2 Adding a VMkernel

1 Select the [Configuration] tab on VMware Infrastructure Client and select the target virtual switch' s[Properties].

2 Click [Add].

3 Select the [VMkernel] radio button, and click the [Next] button.

4 Confirm that the VMkernel is displayed, set the IP address (an optional VLAN ID may be set, as necessa-ry), and click the [Next] button.

5 Confirm the settings shown on the confirmation screen and click the [Finish] button.

A message about Gateway settings appears.

6 Perform any further settings as necessary and click the [Close] button.

The VMkernel has been added to the target vSwitch.

7 Repeat Step 1 through Step 6 to add VMkernel to another vSwitch.

Chapter 6 Setting Up the VMware ESX Server6.3 When VMware Infrastructure 3 Is Used

63FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

8 Confirm that a virtual switch and VMkernel are set for each vmnic.

6.3.4 Setting the Software InitiatorEnable Software Initiator in VMware ESX.

1 Select the [Configuration] tab on VMware Infrastructure Client and click [Storage Adapters].

2 Select the target iSCSI Software Adapter and click [Properties].

3 Click [Configure] on the [General] tab.

4 Select the [Status-Enabled] checkbox and click the [OK] button.

5 Confirm that the [Enabled] checkbox is selected under "Status" on the [General] tab and click [Config-ure] again.

Chapter 6 Setting Up the VMware ESX Server6.3 When VMware Infrastructure 3 Is Used

64FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6 Confirm that the iSCSI name is displayed as follows and click the [Cancel] button.

7 Select the [Dynamic Discovery] tab and click the [Add] button.

8 Enter the IP address for the iSCSI port of the connected ETERNUS DX/AF as the iSCSI Server IP address,confirm that the port is set to "3260" (default), and click the [OK] button.

9 Confirm that the IP address for the iSCSI port of the ETERNUS DX/AF is displayed as follows and click[Close].

10 If the connected ETERNUS DX/AF uses multiple iSCSI ports, repeat the IP address addition process foreach iSCSI port. (Repeat Step 7 through Step 9.)

6.3.5 Setting CHAP AuthenticationFor VMware ESX connections, the ETERNUS DX/AF uses a one-way CHAP authentication to authenticate theSoftware Initiator access.

Chapter 6 Setting Up the VMware ESX Server6.3 When VMware Infrastructure 3 Is Used

65FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Perform the following settings to enable CHAP authentication.

1 Select the [Configuration] tab on VMware Infrastructure Client and select [Storage Adapters].

2 Select the target iSCSI Software Adapter and click [Properties].

3 Select the [CHAP Authentication] tab and click [Configure].

4 Select the [Use the following CHAP credentials] radio button.

5 Set arbitrary user name during the CHAP authentication.

6 To set the VMware ESX iSCSI name for the user name, select the [Use initiator name] checkbox.

7 Enter the password in [CHAP Secret] and click the [OK] button.

The CHAP Name is displayed as follows.

Chapter 6 Setting Up the VMware ESX Server6.3 When VMware Infrastructure 3 Is Used

66FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

6.3.6 Checking the LUNsThe VMware Infrastructure Client is used to login to VMware ESX and check the LUNs.

1 Select the [Configuration] tab on VMware Infrastructure Client, and select the target iSCSI Adapter.

2 Click [Rescan...].

The LUNs are displayed under the SCSI Target 0 in the "Details" field. In this example,[Path:vmhba32:0:0] is displayed as follows:

If LUNs are added while VMware ESX is running (LUNs are recognized dynamically), added LUNsshould be recognized by performing the VMware Infrastructure Client "Rescan" operation after theLUN has been added to an Affinity Group.

3 Check the multipath. Right-click the [Path:vmhba32:0:0] described in Step 2, and select "ManagePaths".

When paths are configured with multipath, multiple paths are displayed in the "Path" field.

Chapter 6 Setting Up the VMware ESX Server6.3 When VMware Infrastructure 3 Is Used

67FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 7Virtual Machine

This chapter describes the notes on the Virtual Machine and its settings.

To configure the Virtual Machine, access the following web-site and check the "Guest Operation System In-stallation Guide".

• Guest Operation System Installation Guide

http://partnerweb.vmware.com/GOSIG/home.html

7.1 For Windows®

7.1.1 Checking the Registry Information

7.1.1.1 For ETERNUS DX/AF storage systemsCheck the value of the "TimeOutValue" registry key. If the "TimeOutValue" registry key does not exist, thencreate it.

The registry file should be backed up before creating or changing any registry values.

1 Click the [Start] button, and then click [Run].

2 In the [Run] dialog box, type "regedit", and then click the [OK] button.

Registry Editor starts.

3 Follow the path described below:

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk

4 Check the value of the "TimeOutValue" registry key.

Check that the value of the "TimeOutValue" registry key is "0x3C". If the name or value is not "0x3C",change it to "0x3C".

68FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

• If the "TimeOutValue" key does not exist, add a registry key with the following values:

• The "Name" field is case-sensitive.

Name TimeOutValue

Type REG_DWORD

Radix Hexadecimal

Data 3C

5 If any registry values were added or modified, reboot the server.

The modified settings will be enabled after the reboot.

7.1.2 Notes for Configuring Windows Server Failover Clustering• Refer to the VMware web-site for KB1004617 and check the support guidelines before configuring Win-

dows Server Failover Clustering.

• Ignore the following warning message if it appears during a verification test for Windows Server FailoverClustering:

warning: Validate Storage Spaces Persistent Reservation

• If the verification test fails, refer to the VMware web-site for KB2085702.

7.2 For Linux

7.2.1 Applying Virtual Machine UpdatesThis section describes notes for applying Virtual Machine updates.

For the following OSs, the Virtual Machine file system may be restricted to being read-only:

For details, refer to "KB51306" on the VMware web-site and apply the Virtual Machine updates.

• Red Hat Enterprise Linux 5

• Red Hat Enterprise Linux AS v.4 Update 4

• Red Hat Enterprise Linux AS v.4 Update 3

• SUSE Linux Enterprise Server 10

• SUSE Linux Enterprise Server 9 Service Pack 3

Chapter 7 Virtual Machine7.2 For Linux

69FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

Chapter 8Dynamic Recognition of LUNs Added WhileVMware ESX is in Use

When adding LUNs while VMware ESX is in use (recognizing LUNs dynamically), first assign the added vol-umes to a ETERNUS DX/AF Host Affinity Group, and then LUNs should be recognized with the "Rescan" opera-tion via the VMware Infrastructure Client (Infrastructure 3), vSphere Web Client, or vSphere Client respectivelydescribed in "6.1 When VMware vSphere Is Used (with iSCSI Software Initiator)" (page 18) and "6.3 WhenVMware Infrastructure 3 Is Used" (page 61).

70FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection- (iSCSI) for VMware® ESX

Copyright 2018 FUJITSU LIMITEDP3AM-3412-30ENZ0

FUJITSU Storage ETERNUS DX, ETERNUS AF Configuration Guide -Server Connection-(iSCSI) for VMware® ESX

P3AM-3412-30ENZ0

Date of issuance: April 2018Issuance responsibility: FUJITSU LIMITED

• The content of this manual is subject to change without notice.

• This manual was prepared with the utmost attention to detail. However, Fujitsu shall assume no responsibility for anyoperational problems as the result of errors, omissions, or the use of information in this manual.

• Fujitsu assumes no liability for damages to third party copyrights or other rights arising from the use of any informationin this manual.

• The content of this manual may not be reproduced or distributed in part or in its entirety without prior permission fromFujitsu.