Configuring iSCSI Initiator for Devices Under 1.5 TB - BAR

Teradata Appliance Backup Utility Installation and User Guide

Product
BAR
Release Number
16.20
Published
November 2017
Language
English (United States)
Last Update
2018-07-13
dita:mapPath
myx1512701901323.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-3134
Product Category
Teradata Tools and Utilities
You must have the following information for the nodes on which you installed the iSCSI initiator:
  • IP address
  • Host name
  • InitiatorName, which was generated during iSCSI Initiator installation
  1. Inform the iSCSI target server administrator of the iSCSI node:
    • IP address
    • Host name
    • InitiatorName, which was generated during iSCSI Initiator installation
    After the target server has been configured with that information, the administrator can provide you with the iSCSI target IP address and the target name.
  2. Start the iscsi daemon by typing: /etc/init.d/open-iscsi start
    Refer to the Linux manual page iscsiadm for more information about the command.
    If this is the first time the daemon has been started, no iSCSI targets have been defined.
    Starting iSCSI initiator service:                                    
    done
    iscsiadm: no records found!
    Setting up iSCSI targets:                                            
    unused
    
  3. Discover the target server by typing the following code: # iscsiadm -m discovery --type=st --portal=target IP address and TCP port

    In the example, 192.168.15.51 is the IP address and TCP port.

    192.168.15.51:3260,1 iqn.1991-05.com.microsoft:bsrv25-abu2850gb-target
    Multiple target servers are displayed if one or both of the following conditions apply:
    • More than one target has been configured for the iSCSI Qualified Name (IQN) at the target server
    • More than one Ethernet interface is accessible to the target server
  4. If you receive a header read timed out message:
    1. Check the connection to the iSCSI target server using the ping command.
    2. Unless there is a hard failure, retry the discovery.
  5. Log onto the target device. # iscsiadm -m node -T <target name > --portal <target IP address and TCP port> --login An example of a target name is iqn.1991-05.com.microsoft:bsrv25-abu2850gb-target.
  6. Assign the /dev node assigned to the iSCSI device. ls -l /dev/disk/by-path/ip* lrwxrwxrwx 1 root root 9 Jan 14 10:22 /dev/disk/by-path/ip-192.168.15.51:3260-iscsi-iqn.1991-05.com.microsoft:bsrv25-abu2850gb-target-lun-0 -> ../../sdam
  7. Create a Linux partitioned disk. sfdisk <device node>

    In the following example, /dev/sdam is the device node.

    sfdisk /dev/sdam
  8. Make a file system for partition 1. mkfs -t xfs -L <label> <device partition 1>

    In the following example, book4a is the user-defined label and /dev/sdam1 is device partition 1.

    mkfs -t xfs -L book4a /dev/sdam1
  9. Press Enter and accept the defaults. A file system for partition 1 is created. Partition 1 takes the entire Logical Unit Number (LUN).
  10. For a DOS partition, zero out the first 512 bytes. dd if=/dev/zero of=<device partition 1> bs=512 count=1