28

ETERNUS Disk storage systems Server Connection Guide ...storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4182... · Server Connection Guide (iSCSI) for Oracle Solaris

Embed Size (px)

Citation preview

P

Preface

This document briefly explains the operations that need to be performed by the user in order toconnect an ETERNUS2000 model 100 or 200, ETERNUS4000 model 300, 400, 500, or 600, orETERNUS8000 model 700, 800, 900, 1100, 1200, 2100, or 2200 Disk storage system to aserver running Solaris OS via an iSCSI interface.

This document should be used in conjunction with any other applicable user manuals, such asthose for the ETERNUS2000 model 100 or 200, ETERNUS4000 model 300, 400, 500, or 600, orETERNUS8000 model 700, 800, 900, 1100, 1200, 2100, or 2200 Disk storage system, server,OS used, LAN cards, drivers, etc.

Note that this manual refers the following documents:

• Server Support Matrix• ETERNUS Disk storage systems Server Connection Guide (iSCSI) ETERNUS Disk Storage

System Settings for ETERNUS2000• ETERNUS Disk storage systems Server Connection Guide (iSCSI) ETERNUS Disk Storage

System Settings for ETERNUS4000, ETERNUS8000• ETERNUSmgr Install Guide• ETERNUSmgr User Guide

Also, note that in this document the ETERNUS2000 models 100 and 200, ETERNUS4000 mod-els 300, 400, 500, and 600, and ETERNUS8000 models 700, 800, 900, 1100, 1200, 2100, and2200 Disk storage systems are collectively referred to as ETERNUS Disk storage systems.

Third EditionDecember 2010

The Contents and Structure of this Manual

This document is composed of the following ten chapters.

• Chapter 1 Workflow

This describes how to connect the ETERNUS Disk storage system to a server.

• Chapter 2 Checking the Server Environment

This describes which servers can be connected to ETERNUS Disk storage systems.

• Chapter 3 Notes

This describes issues that should be noted when connecting the ETERNUS Disk storagesystems and server.

Server Connection Guide (iSCSI) for Oracle Solaris

3 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Preface

P

• Chapter 4 Checking the Server Information

This describes how to check the server information registered in the ETERNUS Disk storagesystem.

• Chapter 5 Installing and Setting Up ETERNUSmgr

This describes how to install ETERNUSmgr.

• Chapter 6 Setting Up the ETERNUS Disk Storage Systems

This describes how to use ETERNUSmgr to set up the ETERNUS Disk storage systems.

• Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server

This describes how to install the iSCSI Software Initiator and set up the server.

• Chapter 8 Checking Connections

This describes how to check the connection status between server and ETERNUS Diskstorage systems.

• Chapter 9 Setting Up the Multipath Configuration

This describes what to be set in order to create multipath environment.

• Chapter 10 Creating a File System

This describes how to create a file system.

Safe Use of this Product

■ Using this manual

This manual contains important information to ensure the safe use of this product. Be sure tothoroughly read and understand its contents before using the product. After reading, store thismanual in a safe place for future reference.FUJITSU has made every effort to ensure the safety of the users and other personnel, and toprevent property damage. When using this product, carefully follow the instructions described inthis manual.

Acknowledgments

• Oracle and Java are registered trademarks of Oracle and/or its affiliates.• All SPARC trademarks are used under license and are trademarks or registered trademarks

of SPARC International, Inc. in the United States and other countries.• The company names, product names and service names mentioned in this document are

registered trademarks or trademarks of their respective companies.

Server Connection Guide (iSCSI) for Oracle Solaris

4 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Preface

P

Naming Conventions

■ Product names

Oracle Solaris might be described as Solaris, Solaris Operating System, or Solaris OS.

■ Other names

• "iSCSI port" or "Channel Adapter" (CA) refers to the iSCSI interface module used in the ETERNUS Disk storage systems to connect to the server.

• "LAN card" refers to the iSCSI interface module normally used in the server. A "Network Interface Card" (NIC), "LAN adapter", or "LAN board" may be used instead, depending on the server.

Copyright 2010 FUJITSU LIMITED

Server Connection Guide (iSCSI) for Oracle Solaris

5 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Server Connection Guide (iSCSI) for Oracle Solaris

6 Copyright 2010 FUJITSU LIMITED

P3AM-4182-03ENZ0

Contents

Chapter 1 Workflow ...................................................................................7

Chapter 2 Checking the Server Environment..........................................92.1 Hardware ............................................................................................................ 92.2 Basic Software ................................................................................................... 92.3 Network Interface Card ...................................................................................... 92.4 Multipath Configuration ...................................................................................... 9

Chapter 3 Notes .......................................................................................103.1 LAN Environment Notes ................................................................................... 103.2 Server Startup and Power Supply Control Notes ............................................. 11

Chapter 4 Checking the Server Information..........................................12

Chapter 5 Installing and Setting Up ETERNUSmgr ..............................13

Chapter 6 Setting Up the ETERNUS Disk Storage Systems ................14

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server .....................................................15

7.1 Installing the iSCSI Software Initiator ............................................................... 157.2 Setting Up the Server ....................................................................................... 15

7.2.1 Setting Up the Command Queue Depth .................................................................................... 167.2.2 iSCSI Basic Settings .................................................................................................................. 177.2.3 Server Settings when CHAP Authentication is Used ................................................................. 197.2.4 Server Settings when Bidirectional CHAP Authentication is Used ............................................ 21

Chapter 8 Checking Connections ..........................................................238.1 Turning on the Devices .................................................................................... 238.2 Logical Unit Recognition .................................................................................. 23

Chapter 9 Setting Up the Multipath Configuration ...............................249.1 Enabling MPxIO ............................................................................................... 249.2 Reconfiguring and Restarting the Server ......................................................... 24

Chapter 10 Creating a File System...........................................................26

Chapter 1 Workflow

P

Exactly which documents are required depends on the connection environment, see the "Work-flow" section that follows for details.

Required Documents

• Server Support Matrix• ETERNUS Disk storage systems Server Connection Guide (iSCSI) ETERNUS Disk Storage

System Settings for ETERNUS2000• ETERNUS Disk storage systems Server Connection Guide (iSCSI) ETERNUS Disk Storage

System Settings for ETERNUS4000, ETERNUS8000• ETERNUS Disk storage systems Server Connection Guide (iSCSI) for Oracle Solaris (this

manual)• ETERNUSmgr Install Guide• ETERNUSmgr User Guide

Workflow

Install ETERNUSmgr and Set Up the ETERNUS Disk Storage SystemIf ETERNUSmgr is to be used, install it and set up the ETERNUS Disk storage system.

Refer

- "Chapter 4 Checking the Server Information" (page 12)- "Chapter 5 Installing and Setting Up ETERNUSmgr" (page 13)- "Chapter 6 Setting Up the ETERNUS Disk Storage Systems" (page 14)- Install ETERNUSmgr.

• "ETERNUSmgr Install Guide"- Check the setup and maintenance operations.

• "ETERNUSmgr User Guide"- Set up the ETERNUS Disk storage system.

• "ETERNUS Disk storage systems Server Connection Guide (iSCSI) ETERNUS Disk Storage System Settings for ETERNUS2000"

• "ETERNUS Disk storage systems Server Connection Guide (iSCSI) ETERNUS Disk Storage System Settings for ETERNUS4000, ETERNUS8000"

Server Connection Guide (iSCSI) for Oracle Solaris

7 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 1 Workflow >

P

Install the iSCSI Software Initiator and Set Up the ServerSet up the OS to connect to the ETERNUS Disk storage system.

Refer

- "Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server" (page 15)

Set the Server to Recognize the Logical UnitsSet up the server so that it can recognize the ETERNUS Disk storage system logical units (LUN).

Refer

- "8.2 Logical Unit Recognition" (page 23)

Configure the SystemSet up the server as required by the system configuration.

Refer

- Set the multipaths.• "9.1 Enabling MPxIO" (page 24)

- Set a file system.• "Chapter 10 Creating a File System" (page 26)

Server Connection Guide (iSCSI) for Oracle Solaris

8 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 2 Checking the Server Environment

P

Server environment details are provided in the "Server Support Matrix".

2.1 Hardware

Refer to the "Server Support Matrix" for details.

2.2 Basic Software

Refer to the "Server Support Matrix" for details.

2.3 Network Interface Card

Refer to the "Server Support Matrix" for details.

2.4 Multipath Configuration

Refer to the "Server Support Matrix" for details.

Server Connection Guide (iSCSI) for Oracle Solaris

9 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 3 Notes

P

3.1 LAN Environment Notes

• The ETERNUS Disk storage system can be connected to a server via an existing LAN. However, a decrease in LAN performance may be observed by prior users of said LAN.

• For the iSCSI LAN (used to transfer data), do not set multipath configuration with IP Network Multipathing (IPMP).

• As with an FC-SAN, because of the large data flows (traffic volumes) the iSCSI LAN is assumed to be a dedicated LAN separate from the business and management LANs, and constructed with its own LAN switch.

• For IP network security reasons too, it is useful to separate the iSCSI LAN (for data transfers) and management LAN (for administration) to prevent cross-access between them (use of VLAN to separate the LAN segments is recommended).

• A configuration where multiple LAN ports of a single server are connected to the same network may be restricted depending on the OS and/or driver specifications. For a multipath connection, connect each path using different LAN segments by separating the VLAN and so on.

Server Connection Guide (iSCSI) for Oracle Solaris

10 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 3 Notes > 3.2 Server Startup and Power Supply Control Notes

P

Example LAN switch connection configuration

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

*2: A separate LAN segment is provided in the LAN switch (using the switch VLAN function) for eachgrouping of business servers and disk storage systems (equivalent to the FC zones).

3.2 Server Startup and Power Supply Control Notes

Before turning the server on, check that the ETERNUS Disk storage systems and LAN switchesare all "Ready". If the server is turned on and they are not "Ready", the server will not be able torecognize the ETERNUS Disk storage systems.Also, when the ETERNUS Disk storage system power supply is being controlled by a con-nected server, make sure that the ETERNUS Disk storage system does not shut down beforethe connected servers. Similarly, the LAN switches must also be turned off after the connectedservers have been shut down. If turned off, data writes from the running server cannot be saved to the ETERNUS Disk storagesystems, and already saved data may also be affected.

Business server A

LANcard#2

LANcard#1

Business server B

LANcard#2

LANcard#1

Business server C

LANcard#2

LANcard#1

LANcard#3

LAN switch[Business LAN]

LAN switch[Management LAN]ETERNUS Disk storage system

12

LAN switch #1[iSCSI LAN]

1 2 3

10 11 12

LUN1 LUN2

10

2 3

11

LAN switch #2[iSCSI LAN]

LANcard#3

LANcard#3

1

LUN3 ManagementLAN port

LAN switches should notbe inter-connected (*1)

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

The iSCSI LAN and managementLAN segments are kept separatein the iSCSI LAN switches, helpingmaintain the security of each.

Similarly to FC-SAN, adedicated LAN is used foriSCSI, not the business LAN.

Business LAN

iSCSI LAN

Management LAN

Server Connection Guide (iSCSI) for Oracle Solaris

11 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 4 Checking the Server Information

P

The server information registered in the ETERNUS Disk storage system should be checked.A variety of commands are used to check the following server information.

• iSCSI Software InitiatorSince iSCSI Software Initiator is provided with the OS, installation is not required.Check the SUNWiscsiu and SUNWiscsir packages using the "pkginfo" command.

• iSCSI Initiator nameExecute the following command:

The iSCSI Initiator name is displayed in the "Initiator node name" column.

• Server-side LAN card IP address for connecting to the ETERNUS Disk storage systemExecute the following command:

Set this IP address if it is not already set.

• Initiator CHAP NameThe Initiator CHAP Name is the user name for unidirectional CHAP authentication, and is notrequired if CHAP authentication is not used.Execute the following command:

The Initiator CHAP Name is displayed in the "CHAP Name" column of the applicable targetinformation.

# iscsiadm list initiator-node

# ifconfig -a

# iscsiadm list initiator-node

Server Connection Guide (iSCSI) for Oracle Solaris

12 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 5 Installing and Setting Up ETERNUSmgr

P

If ETERNUSmgr is to be used, install it according to the directions given in the "ETERNUSmgrInstall Guide". After the installation, set up ETERNUSmgr following the instructions in the"ETERNUSmgr User Guide".

Server Connection Guide (iSCSI) for Oracle Solaris

13 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 6 Setting Up the ETERNUS Disk Storage Systems

P

Set up the ETERNUS Disk storage systems using ETERNUSmgr.

ETERNUS Disk storage systems' setup can be performed independently of server setup. Fordetails on how to perform these settings, refer to the "ETERNUS Disk storage systems ServerConnection Guide (iSCSI) ETERNUS Disk Storage System Settings for ETERNUS2000" or"ETERNUS Disk storage systems Server Connection Guide (iSCSI) ETERNUS Disk StorageSystem Settings for ETERNUS4000, ETERNUS8000", and "ETERNUSmgr User Guide".

Server Connection Guide (iSCSI) for Oracle Solaris

14 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server

P

7.1 Installing the iSCSI Software Initiator

Since iSCSI Software Initiator is provided with the OS, installation is not required.

7.2 Setting Up the Server

iSCSI connection settings depend on the CHAP authentication method. Perform the settings tomatch the CHAP authentication to be used.

CHAP authentication method Required settings

None "7.2.1 Setting Up the Command Queue Depth" (page 16)"7.2.2 iSCSI Basic Settings" (page 17)

Unidirectional CHAP authentication

"7.2.1 Setting Up the Command Queue Depth" (page 16)"7.2.2 iSCSI Basic Settings" (page 17)"7.2.3 Server Settings when CHAP Authentication is Used" (page 19)

Bidirectional CHAP authentication

"7.2.1 Setting Up the Command Queue Depth" (page 16)"7.2.2 iSCSI Basic Settings" (page 17)"7.2.3 Server Settings when CHAP Authentication is Used" (page 19)"7.2.4 Server Settings when Bidirectional CHAP Authentication is Used" (page 21)

Server Connection Guide (iSCSI) for Oracle Solaris

15 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server > 7.2 Setting Up the Server

P

7.2.1 Setting Up the Command Queue Depth

Set the number of commands allowed to be queued (command queue depth) on each LUN in theETERNUS Disk storage systems from the LAN card. This setting optimizes the connectionbetween the ETERNUS Disk storage systems and the server.

Procedure

1 Edit the configuration file.Edit the configuration file (/etc/system) and specify the command queue depth.

The appropriate "ssd_max_throttle" parameter value is determined by the ETERNUS Diskstorage system model, as follows:

The parameter to be specified is determined by the CPU which is installed in the server tobe connected.

• For SPARC

Specify the command queue depth for the "ssd_max_throttle" parameter.Add this parameter if it does not exist.

• For x86

Specify the command queue depth for the "sd_max_throttle" parameter.Add this parameter if it does not exist.

2 After editing the configuration file, save it.

3 After the setting is complete, check the configuration file for incorrect settings.

4 Reboot the server.

End of procedure

ETERNUS Disk storage system Command queue depth settings

ETERNUS2000 8

ETERNUS4000 20

ETERNUS8000 20

set ssd:ssd_max_throttle = 20

set sd:sd_max_throttle = 20

# /usr/sbin/shutdown -y -g0 -i6

Server Connection Guide (iSCSI) for Oracle Solaris

16 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server > 7.2 Setting Up the Server

P

7.2.2 iSCSI Basic Settings

The following operations are required for iSCSI connection.

• Checking the iSCSI Initiator• Checking the iSCSI Initiator Node Name• Setting the iSCSI Target IP addresses• Enabling the iSCSI Target connection• Creating an iSCSI device link• Checking the ETERNUS Disk storage system

Procedure

1 Check that the iSCSI Initiator service (iscsid) is enabled.

If the iSCSI Initiator service is "disabled" (the default setting), use the "svcadm" commandto change it to the "online" state.

2 Check the iSCSI Initiator Node Name.Use the "iscsiadm" command to check the iSCSI Initiator Node Name.This name is used for the ETERNUS Disk storage system settings.

3 Set the iSCSI Target IP address(es).To connect the iSCSI Target, specify the IP address of each iSCSI CA port of theETERNUS Disk storage system that is to be an iSCSI Target, as a "discovery-address".

# svcs -a | grep iscsidisabled 14:30:33 svc:/network/iscsi/initiator:default

# svcadm enable iscsi/initiator# svcs -a | grep iscsidisabled 14:30:33 svc:/system/iscsitgt:defaultonline 14:30:33 svc:/network/iscsi/initiator:default

# iscsiadm list initiator-nodeInitiator node name: iqn.1986-03.com.sun:01:0003bace9997.48a386c4Initiator node alias: - Login Parameters (Default/Configured): Header Digest: NONE/- Data Digest: NONE/- Authentication Type: NONE RADIUS Server: NONE Configured Sessions: 1

# iscsiadm add discovery-address IP_address

Server Connection Guide (iSCSI) for Oracle Solaris

17 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server > 7.2 Setting Up the Server

P

Example: CM0Port0: 192.1.1.120, CM1Port0: 192.1.1.121

4 Enable the connection to the iSCSI Target.Enable the connection to the ETERNUS Disk storage system that is to be the iSCSI Tar-get.

5 Create an iSCSI device link.

6 Check the ETERNUS Disk storage system.Check the state of the ETERNUS Disk storage system disks using the "format" command.

Example: ETERNUS2000

End of procedure

# iscsiadm add discovery-address 192.1.1.120# iscsiadm add discovery-address 192.1.1.121

# iscsiadm modify discovery -t enable

# devfsadm -i iscsi

# formatSearching for disks...doneAVAILABLE DISK SELECTIONS: 1. c6t25d0 <FUJITSU-E2000-0000 cyl 510 alt 2 hd 64 sec 256>/iscsi/[email protected]%3Astorage-system.e2000%3A00001001-cm00002,0 2. c6t26d0 <FUJITSU-E2000-0000 cyl 510 alt 2 hd 64 sec 256>/iscsi/[email protected]%3Astorage-system.e2000%3A00001001-cm00002,1 3. c6t27d0 <FUJITSU-E2000-0000 cyl 510 alt 2 hd 64 sec 256>/iscsi/[email protected]%3Astorage-system.e2000%3A00001001-cm10004,0 4. c6t28d0 <FUJITSU-E2000-0000 cyl 510 alt 2 hd 64 sec 256>/iscsi/[email protected]%3Astorage-system.e2000%3A00001001-cm10004,1Specify disk (enter its number): Specify disk (enter its number):

Server Connection Guide (iSCSI) for Oracle Solaris

18 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server > 7.2 Setting Up the Server

P

7.2.3 Server Settings when CHAP Authentication is Used

The following operations are required for CHAP authentication.

• Setting the Initiator secret (password setting to connect to the ETERNUS Disk storage system)

• Setting the Initiator CHAP Name (CHAP name setting to connect to the ETERNUS Disk storage system)

• Enabling CHAP

Procedure

1 Set the Initiator secret.This is a password that must be set so that the Initiator can connect to the targetETERNUS Disk storage system. The CHAP secret set here must match that set in Targetinformation.

Example:To set the password "initiator000"

2 Set the Initiator CHAP Name.The Initiator Node Name is the default Initiator CHAP Name. Use the "iscsiadm" commandto set a new Initiator CHAP Name. The Initiator CHAP Name set here must match that setin Target information.

Example:To set "initiator" as the CHAP Name

Passwords are restricted to a maximum of 16 characters by theSolaris operating system. For 17 or more characters, the followingmessage is output:

# iscsiadm modify initiator-node --CHAP-secretEnter secret:initiator000Re-enter secret:initiator000

Iscsiadm: secret too long, maximum length is 16Iscsiadm: Unable to complete operation

# iscsiadm modify initiator-node --CHAP-name CHAP_Name

# iscsiadm modify initiator-node --CHAP-name initiator

Server Connection Guide (iSCSI) for Oracle Solaris

19 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server > 7.2 Setting Up the Server

P

3 Enable CHAP authentication.Enable CHAP authentication on the Initiator.

4 Check that CHAP is enabled on the Initiator.Use the "initiator-node" option.

5 Check that CHAP is enabled on the Target.Use the "target-param" option.

If CHAP is disabled, use the "iscsiadm" command to enable it.

Example:To set "iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0" and "iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1" as the target CHAP names

End of procedure

# iscsiadm modify initiator-node --authentication CHAP

# iscsiadm list initiator-nodeInitiator node name: iqn.1986-03.com.sun:01:00144f565a49.47677520Initiator node alias: - Login Parameters (Default/Configured): Header Digest: NONE/- Data Digest: NONE/- Authentication Type: CHAP CHAP Name: initiator RADIUS Server: NONE RADIUS access: unknown Configured Sessions: 1

# iscsiadm list target-param -vTarget: iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1 Alias: dxlcm1port1 Bi-directional Authentication: disabled Authentication Type: CHAP CHAP Name: iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1 : :Target: iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0 Alias: dxlcm0port1 Bi-directional Authentication: disabled Authentication Type: CHAP CHAP Name: iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0

# iscsiadm modify target-param -a CHAP Target_name

#iscsiadm modify target-param -a CHAP iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0#iscsiadm modify target-param -a CHAP iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1

Server Connection Guide (iSCSI) for Oracle Solaris

20 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server > 7.2 Setting Up the Server

P

7.2.4 Server Settings when Bidirectional CHAP Authentication is Used

The following operation is required for bidirectional CHAP authentication.

• Enabling the bidirectional authentication parameters

Procedure

1 Enable the bidirectional authentication parameters on the Target.

Example:To set "iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0" and "iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1" as the target names

2 Set the authentication method to CHAP on the Initiator.

Example:To set "iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0" and "iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1" as the target names

3 Set a password for the target device on the Initiator.

Example:To set "testtarget00" and "testtarget10" as the passwords

# iscsiadm modify target-param -B enable Target_name

# iscsiadm modify target-param -B enable iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0# iscsiadm modify target-param -B enable iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1

# iscsiadm modify target-param --authentication CHAP Target_name

#iscsiadm modify target-param --authentication CHAP iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0#iscsiadm modify target-param --authentication CHAP iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1

# iscsiadm modify target-param --CHAP-secret Target_name

#iscsiadm modify target-param --CHAP-secret iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0Enter secret: testtarget00Re-enter secret: testtarget00# iscsiadm modify target-param --CHAP-secret iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1Enter secret: testtarget10Re-enter secret: testtarget10

Server Connection Guide (iSCSI) for Oracle Solaris

21 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server > 7.2 Setting Up the Server

P

4 Set a CHAP name on the Initiator.

Example:To set "iqn.1986-03.com.sun:01:00144f565a49.47677520" as the CHAP name, and"iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0" and "iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1" as the target names

End of procedure

# iscsiadm modify target-param --CHAP-name Target_CHAP_name Target_name

# iscsiadm modify target-param --CHAP-name iqn.1986-03.com.sun:01:00144f565a49.47677520iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0# iscsiadm modify target-param --CHAP-name iqn.1986-03.com.sun:01:00144f565a49.47677520iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1

Server Connection Guide (iSCSI) for Oracle Solaris

22 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 8 Checking Connections

P

8.1 Turning on the Devices

To turn on the connected devices, use the following procedures:

Procedure

1 Turn on any devices (such as LAN switches) on the LAN path between the ETERNUS Disk storage system and server.

2 After checking that the Ready (or equivalent) LED of the LAN switch is lit, turn on the ETERNUS Disk storage systems.

3 After checking that the ETERNUS Disk storage systems' Ready LED is lit, turn on the server.

End of procedure

8.2 Logical Unit Recognition

Check the state of the ETERNUS Disk storage system LUNs (logical units) using the "format"command.

Example: ETERNUS2000

# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

1. c6t25d0 <FUJITSU-E2000-0000 cyl 510 alt 2 hd 64 sec 256>

/iscsi/[email protected]%3Astorage-system.e2000%3A00001001-cm00002,0

2. c6t26d0 <FUJITSU-E2000-0000 cyl 510 alt 2 hd 64 sec 256>

/iscsi/[email protected]%3Astorage-system.e2000%3A00001001-cm00002,1

3. c6t27d0 <FUJITSU-E2000-0000 cyl 510 alt 2 hd 64 sec 256>

/iscsi/[email protected]%3Astorage-system.e2000%3A00001001-cm10004,0

4. c6t28d0 <FUJITSU-E2000-0000 cyl 510 alt 2 hd 64 sec 256>

/iscsi/[email protected]%3Astorage-system.e2000%3A00001001-cm10004,1

Specify disk (enter its number): Specify disk (enter its number):

Indicates connection via "CM0"

Indicates connection via "CM1"

Server Connection Guide (iSCSI) for Oracle Solaris

23 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 9 Setting Up the Multipath Configuration

P

9.1 Enabling MPxIO

Enable MPxIO.Check the [mpxio-disable="no"] line in the "/kernel/drv/iscsi.conf" file.Change the parameter to "no" when "yes" is set.

Example for changing the "/kernel/drv/iscsi.conf" file:

9.2 Reconfiguring and Restarting the Server

Reconfigure and restart the server to effect the new settings.

Use the "format" command to check the MPxIO multipath status after multipathing is set up.

For the iSCSI LAN (used to transfer data), do not set mult ipathconfiguration with IP Network Multipathing (IPMP).When configuring the multipath, use MPxIO in the same way as FC-SAN isused for configuration.

# To globally enable MPxIO on all iscsi ports set:# mpxio-disable="no";## To globally disable MPxIO on all iscsi ports set:# mpxio-disable="yes";#mpxio-disable="no"; <- Check that �no� is set.

# touch /reconfigure # /usr/sbin/shutdown -y -g0 -i6

Server Connection Guide (iSCSI) for Oracle Solaris

24 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 9 Setting Up the Multipath Configuration > 9.2 Reconfiguring and Restarting the Server

P

Example: ETERNUS2000

# formatSearching for disks...doneAVAILABLE DISK SELECTIONS: 0. c2t0d0 <FUJITSU-MAW3073NCSUN72G-1703 cyl 14087 alt 2 hd 24 sec 424> /pci@1f,700000/scsi@2/sd@0,0 1. c5t600000E00D0000000000100101440000d0 <FUJITSU- E2000-0000 cyl 510 alt 2 hd 64 sec 256> /scsi_vhci/ssd@g600000e00d0000000000100101440000 2. c5t600000E00D0000000000100101430000d0 <FUJITSU- E2000-0000 cyl 510 alt 2 hd 64 sec 256> /scsi_vhci/ssd@g600000e00d0000000000100101430000

Server Connection Guide (iSCSI) for Oracle Solaris

25 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

Chapter 10 Creating a File System

P

Create a file system on the storage system disks in exactly the same way as for a normal server.

■ For single-path connection

Example command:

■ For multipath connection

Example command:

# newfs /dev/rdsk/c2t16d0s6

# newfs /dev/rdsk/c7t600E000000A800000067902400000000d0s6

Server Connection Guide (iSCSI) for Oracle Solaris

26 Copyright 2010 FUJITSU LIMITED

3AM-4182-03ENZ0

• The contents of this manual are liable to being updated without notice.• While the contents of this manual are the product of all due care and diligence, no

responsibility can be accepted for operational problems arising from any errors or missing information, or other use of the information contained in this manual.

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

• Contents of this manual are not to be reproduced without permission from Fujitsu.

ETERNUS Disk storage systemsServer Connection Guide (iSCSI) for Oracle Solaris

P3AM-4182-03ENZ0

Date of issuance: December 2010Issuance responsibility: FUJITSU LIMITED