Follow

Introduction

  • INFINIDAT recommends using Host PowerTools in order to connect hosts to InfiniBox. Nevertheless, if for any reason it is not possible to use Host PowerTools, use the following instructions to connect your host to InfiniBox.
  • This article discussed iSCSI software initiators only. 
  • To connect the host using an HBA, contact INFINIDAT support.

iSCSI set-up documentation

InfiniBox setup

  1. Create an iSCSI Network Space (see instructions on: Creating a network space)
  2. Have the IP addresses ready for the steps that take place on the OS side
  3. Add a Host to the InfiniBox and configure it according to this article
    115000245069-Creating-a-host

Windows

Preparing Windows

  1. make sure the iSCSI is running and auto start at boot.
  2. Make sure your host applies the following configuration:
    https://support.infinidat.com/hc/en-us/articles/202319282

Connecting Windows

  1. Open the iSCSI Initiator screen. 
  2. Click the Configuration tab. The host IQN is displayed on the screen.
  3. Click the Discovery tab. Click Discover Portal. The Discover Target Portal screen opens. Insert any of the IP addresses of the iSCSI network space and click OK. The IP address is added to the Target Portals pane.
  4.  Click the Targets tab. Click the Connect button. The Connect To Target screen opens. Check Enable multi-path
     
  5. Click Advanced. The Advanced Settings screen opens. The InfiniBox Network Space IP addresses are listed on the Target Portal IP drop-down list.
    For each IP address, set the following:
    1. Local Adapter - Microsoft iSCSI Initiator
    2. Initiator IP - use an IP address that does not require routing
    3. Target Portal IP - an iSCSI network space IP address
    4. CHAP settings
      1. For CHAP security mode: 
        1. Check Enable CHAP log on.
        2. Insert the InfiniBox secret.
      2.  For Mutual CHAP security mode:
        1. Check Perform mutual authentication.
    5. Click OK
  6. Repeat step 5 for each path.
  7. At the end, note that all of the InfiniBox Network Space IP addresses are displayed.

Linux

Supported Distributions

Currently, we support the following Linux distributions:

  • CentOS 5,6,7
  • RedHat 5,6,7
  • Oracle 6,7
  • Suse 11,12
  • Ubuntu 12.04, 14.04 

Preparing Linux

  1. Install the iSCSI initiator software
    22155590 Installing the iSCSI Initiator on Linux
  2. Configure the iSCSI service to load at boot 
    213055229 Linux: The iSCSI service must be loaded at boot time
  3. Make sure your host applies the following configuration:
    202319282 List of items being checked by Host PowerTools
  4. Add a Host to the InfiniBox and configure it according to this article.
    This step is done on InfiniBox
    115000245069-Creating-a-host
  5. 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

  1. Run:

    root@prod-lab05:~# sudo iscsiadm -m discovery -t sendtargets -p 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 on step 1, run:

    root@prod-lab05:~# sudo iscsiadm -m 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 a VMware ESX

  1. Make sure your host applies the following configuration:
    https://support.infinidat.com/hc/en-us/articles/202319282
  2. Make sure SATP rules are applied to each of the ESX's connected to the InfiniBox
    16744747 Host Readiness Check for ESX Hosts - SATP rules
  3. Change the iSCSI recovery time-out to 30 or higher: Change the VMware ESX iSCSI recovery timeout to 30 seconds

Note: The security settings cannot be used during the discovery of the iSCSI target

Connecting the VMware ESX

  1. Rescan:
    1. Open the vShere client and click the ESX server. 
    2. Click the Configuration tab and then Storage Adapters.
    3. Click Properties and then the Dynamic Discovery tab. 
    4. Click Add.... The Add Send Target Server screen opens. close the screen. 
    5. The Rescan screen opens. Click Yes.
  2. Set the path selection to Round Robin.
    1. Right-click a device and select Manage Paths....
    2.  On the Path Selection field select Round Robin from the drop-down list.
    3. Click Close.

Solaris 

Discovery

  1. Connecting to an InfiniBox system by an IP address of its iSCSI network space.

    iscsiadm add discovery-address <IP-address[:port-number] ...>
  2. Enabling iSCSI auto-discovery.

    iscsiadm modify discovery -t enable
  3. Enabling iSCSI auto-login

    iscsiadm modify discovery -s enable
  4. Listing the available iSCSI connections.

    iscsiadm list target                                                                                                                                                                       16-12-20 12:22
    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

Getting the Solaris iQN

iscsiadm list initiator-node 16-12-20 12:22
Initiator node name: iqn.1986-03.com.sun:01:e00000000000.565b26b7


Adding a Solaris port to an InfiniBox host

  1. Create a host
  2. Add a port to this host - the Solaris port is visible on screen

Provisioning

Follow the instructions on: Connecting hosts to InfiniBox volumes without Host PowerTools.

Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful

Comments