Veritas NetBackup™ Appliance iSCSI Guide

Last Published:
Product(s): Appliances (3.1)

Discovering targets by using the portal address

This section provides instructions for discovering iSCSI targets by using the target portal address. The target portal address is the hostname or IPv4 address that is associated with the target.

The format of the target portal address is <IPv4 Address/hostname>:[<port>].

Example: 192.116.116.50 or abc:3260 where 3260 is the default port.

You must first discover a target in order to connect to it.

To discover a target by using the target portal address

  1. Open a Secure Shell (SSH) session to log on to the appliance as an administrator.
  2. Navigate to the Main_Menu > Settings > iSCSI menu.
  3. Type the command Target Discover Portal
  4. Enter the target portal address and the iSCSI interface name that you have configured as parameters. Note the following considerations:
    • The target portal address must be of the following format: <IPv4 address/hostname>[:port]. The host name can be a short name or a fully qualified domain name.

      Example: 192.116.116.50 or abc:3260

    • The iSCSI interface name can only contain numbers (0-9), letters (A-Z and a-z), colons (:), hyphens (-), under scrores (_) and periods (.) It must begin with numbers (0-9), letters (A-Z and a-z) and underscores (_) only.

  5. Run the Target Discover Portal <Portal Address> <Interface Name> command. You are asked to provide a username and password. Type yes if your target requires authentication. The targets that are available on the specified portal address and interface are discovered and displayed in the following manner:
    Does your target require a username and password? (yes,no)[no]:no
    
    Showing the discovered targets...
    
    +-----+------------------------|---------------------|----------------+
    | No. |     Target IQN         |Target Portal Address|   Interfaces   |
    +-----+------------------------|---------------------|----------------|
    |  1  |iqn.1996-03.veritas:abc | 10.121.98.22:3260   | iscsi1, iscsi2 |
    +-----+------------------------|---------------------|----------------|
    |  2  |iqn.1996-03.veritas:xyz | 10.121.98.23:3260   | iscsi1, iscsi2 |
    +-----+------------------------|---------------------|----------------+
    |  3  |iqn.1996-03.veritas:host| 10.121.98.24:3260   | iscsi1, iscsi2 |
    ------|------------------------|---------------------|----------------|

    Note:

    If you run the iSCSI > Target Discover Portal or iSCSI > Target Discover iSNS command again after the targets are connected, it overrides the existing connection settings like target credentials. If the target requires authentication, you will need to enter the target credentials again when the existing sessions are reconnected. The existing sessions need to be reconnected if the appliance restarts or when you change the IQN for the appliance or when the iSCSI processes are restarted etc.