Starting nbhba mode

The NetBackup nbhba command marks the ports for the target mode driver. The command functions only in nbhba mode.

Therefore, you must start nbhba mode before you can mark ports. In nbhba mode, a NetBackup driver (ql2300_stub) binds to all QLogic 234x HBA ports in the computer. The driver prevents the standard initiator mode driver from binding to the ports. If the QLogic driver binds to the HBA ports, the NetBackup nbhba command cannot mark the ports that you want to operate in target mode. In nbhba mode, all devices that are attached to QLogic HBA ports are unavailable.

To start nbhba mode, see the following:

You must be the root user.

To start nbhba mode on Linux

  1. Ensure that the HBAs are not connected to the SAN.

  2. Invoke the nbftsrv_config -nbhba command and option. The computer enters nbhba mode. The following is an example; output on your system may differ:

    /usr/openv/netbackup/bin/admincmd/nbftsrv_config -nbhba
    Installing nbhba driver.
    Are you sure you want to unload QLogic driver: qla2300? [y,n] 
    (y)
    
  3. Answer y to unload the QLogic driver. The process continues as follows:

    Removing qla2300

  4. Continue by marking the HBA ports.

    See Marking the HBA ports.

To start nbhba mode on Solaris

  1. Ensure that the HBAs are not connected to the SAN.

  2. Invoke the nbftsrv_config -nbhba command and option. The computer enters nbhba mode. The following is an example; output on your system may differ:

    /usr/openv/netbackup/bin/admincmd/nbftsrv_config -nbhba
    Installing nbhba driver.
    Waiting for driver references to ql2300_stub to free up (this 
    may take some time).
    The following driver aliases need to be removed:
    qlc "pci1077,2312.1077.10a"
    Would you like to run update_drv to remove these now? [y,n] (y)
    
  3. Answer y to remove any driver aliases. The process continues as follows:

    /usr/sbin/update_drv -v -d -i "pci1077,2312.1077.10a" qlc
    Done copying driver into system directories.
    Done adding driver.
    MUST REBOOT TO COMPLETE INSTALLATION.
    
  4. Reboot the host.

  5. Continue by marking the HBA ports.

    See Marking the HBA ports.