Introduction
- Infinidat recommends using Host PowerTools to connect hosts to InfiniBox. If it is not possible to use Host PowerTools, use the instructions in this document to connect your hosts to InfiniBox.
- This article discusses iSCSI software initiators only.
- To connect hosts using an HBA, contact customer support.
iSCSI setup documentation
For InfiniBox best practices for setting up services, refer to the InfiniBox best practices page.
InfiniBox setup
- Create an iSCSI Network Space. See Creating a network space.
- Have the IP addresses ready for the procedure for the OS side.
- Add a host to the InfiniBox and configure it. See Creating a host.
Windows
Preparing Windows
- Ensure that the iSCSI service is running and is configured to auto start at boot.
- Ensure that your host applies the following configuration:
https://support.infinidat.com/hc/en-us/articles/202319282
Connecting Windows
- Open the iSCSI Initiator window.
- Open the Configuration tab. The host IQN is displayed in the Initiator Name field.
- Open the Discovery tab, and click the Discover Portal button.
- The Discover Target Portal window opens. Insert any of the IP addresses of the iSCSI network space and click OK. The IP address is added to the Target Portals table.
- Open the Targets tab, and click the Connect button. The Connect To Target window opens. Select Enable multi-path.
- Click the Advanced button. The Advanced Settings window opens. The InfiniBox Network Space IP addresses are listed on the Target Portal IP drop-down list.
- For each IP address, complete the following fields:
- Local Adapter - Enter the Microsoft iSCSI Initiator.
- Initiator IP - Enter an IP address that does not require routing.
- Target Portal IP - Enter an iSCSI network space IP address.
- For CHAP security mode, select Enable CHAP log on, and enter the InfiniBox secret.
- For Mutual CHAP security mode, select Perform mutual authentication.
- Click OK.
Repeat steps 6 and 7 for each path.
There are 6 paths in a standard InfiniBox connectivity configuration.
- When you are finished, all of the InfiniBox Network Space IP addresses are displayed.
Linux
Supported Distributions
For the list of supported Linux distributions, see Infinidat products compatibility with host operating systems.
Preparing Linux
- Install the iSCSI initiator software.
See Installing the iSCSI Initiator on Linux - Configure the iSCSI service to load at boot.
See 213055229 Linux: The iSCSI service must be loaded at boot time - Make sure your host applies the following configuration:
202319282 List of items being checked by Host PowerTools - On the InfiniBox, add a host. See Creating a host.
- Connect the Linux host to iSCSI InfiniBox.
See Connecting Linux host to iSCSI InfiniBox
CHAP attributes
Note: The security settings cannot be used during the discovery of the iSCSI target.
# ************* # CHAP Settings # ************* # To enable CHAP authentication set node.session.auth.authmethod # to CHAP. The default is None. #node.session.auth.authmethod = CHAP # To set a CHAP username and password for initiator # authentication by the target(s), uncomment the following lines: #node.session.auth.username = username #node.session.auth.password = password # To set a CHAP username and password for target(s) # authentication by the initiator, uncomment the following lines: #node.session.auth.username_in = username_in #node.session.auth.password_in = password_in # To enable CHAP authentication for a discovery session to the target # set discovery.sendtargets.auth.authmethod to CHAP. The default is None. #discovery.sendtargets.auth.authmethod = CHAP # To set a discovery session CHAP username and password for the initiator # authentication by the target(s), uncomment the following lines: #discovery.sendtargets.auth.username = username #discovery.sendtargets.auth.password = password # To set a discovery session CHAP username and password for target(s) # authentication by the initiator, uncomment the following lines: #discovery.sendtargets.auth.username_in = username_in #discovery.sendtargets.auth.password_in = password_in
Connecting Linux
In the following sample commands, 172.16.38.223 is an IP address from an InfiniBox iSCSI netspace.
Run:
# iscsiadm --mode discovery --type sendtargets --portal 172.16.38.223 172.16.38.228:3260,42 iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770 172.16.38.227:3260,43 iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770 172.16.38.226:3260,44 iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770 172.16.38.224:3260,45 iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770 172.16.38.223:3260,46 iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770
Using the IQN received in step 1, run:
# iscsiadm --mode node --targetname iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770 -l Logging in to [iface: default, target: iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770, portal: 172.16.38.226,3260] (multiple) Logging in to [iface: default, target: iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770, portal: 172.16.38.223,3260] (multiple) Logging in to [iface: default, target: iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770, portal: 172.16.38.227,3260] (multiple) Logging in to [iface: default, target: iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770, portal: 172.16.38.225,3260] (multiple) Logging in to [iface: default, target: iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770, portal: 172.16.38.228,3260] (multiple) Logging in to [iface: default, target: iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770, portal: 172.16.38.224,3260] (multiple) Login to [iface: default, target: iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770, portal: 172.16.38.226,3260] successful. Login to [iface: default, target: iqn.2009-11.com.infinidat:storage:infinibox-sn-1106-7770, portal: 172.16.38.223,3260] successful.
VMware
Preparing VMware ESXi hosts
- Make sure your host applies the following configuration:
https://support.infinidat.com/hc/en-us/articles/202319282 - Make sure SATP rules are applied to each of the ESX's connected to the InfiniBox.
See 16744747 Host Readiness Check for ESX Hosts - SATP rules - Change the iSCSI recovery timeout to 30 or higher.
See Change the VMware ESX iSCSI recovery timeout to 30 seconds
Connecting the VMware ESXi host
- Rescan:
- Open the vSphere client and click the ESX server.
- Open the Configuration tab, and click Storage Adapters.
- Click Properties and then open the Dynamic Discovery tab.
- Click Add.... The Add Send Target Server window opens. Close the window.
- The Rescan window opens. Click Yes.
- Set the path selection to Round Robin.
- Right-click a device, and select Manage Paths....
- In the Path Selection field, select Round Robin from the drop-down list.
- Click Close.
- Right-click a device, and select Manage Paths....
Solaris
Discovery
Connect to an InfiniBox system by an IP address of its iSCSI network space.
# iscsiadm add discovery-address <IP-address[:port-number] ...>
Enable iSCSI auto-discovery.
# iscsiadm modify discovery --type enable
List the available iSCSI connections.
# iscsiadm list target Target: iqn.2009-11.com.infinidat:storage:infinibox-sn-30190-8398 Alias: InfiniBox iSCSI TPGT: 1565 ISID: 4000002a0000 Connections: 1 Target: iqn.2009-11.com.infinidat:storage:infinibox-sn-30190-8398 Alias: InfiniBox iSCSI TPGT: 1564 ISID: 4000002a0000 Connections: 1
Setting the number of sessions
# iscsiadm modify target-param -c 4 iqn.2009-11.com.infinidat:storage:infinibox-sn-30190-8398
Getting the Solaris IQN
# iscsiadm list initiator-node | grep "node name" | cut -d" " -f4 iqn.1986-03.com.sun:01:e00000000000.565b26b7
Adding a Solaris port to an InfiniBox host
- Create a host.
- Add a port (IQN) to this host. The Solaris port is visible in the window.
Provisioning
Follow the instructions on: Connecting hosts to InfiniBox volumes without Host PowerTools.
Last edited: 2022-08-06 08:00:44 UTC
Comments