Marking the HBA ports

You must mark the ports on the QLogic HBAs that you want to operate in target mode. The process modifies the port device IDs in NVRAM. When the FT server starts, the NetBackup target mode driver binds automatically to the QLogic HBA ports that you marked.

Before you mark ports, you must start nbhba mode.

For procedures, see the following:

You must be the root user.

To mark ports

  1. Display the QLogic HBA ports on the media server by using the nbhba command with the -l option. The following is an example; output on your system may differ:

    /usr/openv/netbackup/bin/admincmd/nbhba -l
    1 2312 21:00:00:E0:8B:83:9D:A1 "QLA2342 " 0 0 101
    2 2312 21:01:00:E0:8B:A3:9D:A1 "QLA2342 " 1 0 101
    3 2312 21:00:00:E0:8B:8F:28:7B "QLA2342 " 0 0 101
    4 2312 21:01:00:E0:8B:AF:28:7B "QLA2342 " 1 0 101
    

    For the QLA-234x series, the port WWNs on the same card differ in the second byte and the sixth byte. This output shows two, two-port HBAs. Lines 1 and 2 are one HBA; lines 3 and 4 are the other HBA. The HBAs are in initiator mode: the second rightmost column shows 0, and the rightmost column does not begin with 8.

    Alternatively, use the nbhba -L option to produce verbose output, which lets you identify the mode more easily.

  2. Mark the ports by using the nbhba command. The following is the syntax:

    /usr/openv/netbackup/bin/admincmd/nbhba -modify -wwn string 
    -mode target
    

    For example, the following two commands change the two ports on one of the HBAs from the example output in step 1:

    nbhba -modify -wwn 21:00:00:E0:8B:8F:28:7B -mode target
    nbhba -modify -wwn 21:01:00:E0:8B:AF:28:7B -mode target
    
  3. Verify the changes by using the nbhba command and -L option to display the HBA card ports on the server. The following is an example; output on your system may differ:

    /usr/openv/netbackup/bin/admincmd/nbhba -L
    HBA Port #1 
     Device ID = 2312 
     World Wide Name = 21:00:00:E0:8B:83:9D:A1 
     Model Name = "QLA2342 " 
     Port = 0 
     Mode = initiator (designated for other use)(101)
    HBA Port #2 
     Device ID = 2312
     World Wide Name = 21:01:00:E0:8B:A3:9D:A1 "QLA2342
     Model Name = "QLA2342 "
     Port = 1
     Mode = initiator (designated for other use)(101)
    HBA Port #3
     World Wide Name = 21:00:00:E0:8B:8F:28:7B
     Slot = ""
     Port = 0
     Fibre Not Attached
     Mode = target (designated for FT Server)(8101)
    HBA Port #4
     World Wide Name = 21:01:00:E0:8B:AF:28:7B
     Slot = ""
     Port = 1
     Fibre Not Attached
     Mode = target (designated for FT Server)(8101)
    

    The nbhba -l option also produces the output that lets you identify the mode:

    /usr/openv/netbackup/bin/admincmd/nbhba -l
    1 2312 21:00:00:E0:8B:83:9D:A1 "QLA2342 " 0 0 101
    2 2312 21:01:00:E0:8B:A3:9D:A1 "QLA2342 " 1 0 101
    3 2312 21:00:00:E0:8B:8F:28:7B "QLA2342 " 0 1 8101
    4 2312 21:01:00:E0:8B:AF:28:7B "QLA2342 " 1 1 8101
    

    The rightmost two columns show the ports that are marked for target mode: the second rightmost column shows 1, and the rightmost column begins with 8. The other digits in the rightmost column are not significant.

  4. If necessary, transfer the HBAs to the appropriate media servers.

  5. If necessary, connect the HBAs to the SAN.

  6. Continue by configuring the FT services.

    See Configuring the FT services.

To revert to the initiator mode driver