Configuring Targets Using Discovery
The discovery method is an excellent timesaver for finding and entering iSCSI targets. You can use this method to find all available targets, delete targets you do not want, and then have access only to the remaining devices. This method prevents you from having to enter iSCSI names for each target.
Use the discovery mechanism to configure a new target that supports and responds to the SendTargets command by following these steps:
- In the SANsurfer iSCSI HBA Manager main window HBA tree, select the HBA port. Click the Target Settings tab. The Target Settings tabbed page displays (see Configuring Targets Target Settings Tabbed Page).
- In the target configuration section, click the green plus sign (+) on the right. A new line displays.
- The IP Address dialog box displays. Enter the IP address of the target to which you want to connect. This target must support the SendTargets command. Click OK.
- Leave the iSCSI Name box blank.
- If you want the targets to be bound to the QLA4xxx HBA, select the Auto-bind Discovered Targets check box. All targets, whether entered manually or found using discovery, will be automatically bound to the HBA (the check box in the Bind column will be selected) when the target configuration is saved.
- If you want all of the discovered targets to be restored when the QLA4xxx HBA is reset, select the Auto-discover (Rediscover Prior SendTargets on Save) check box.
- Click Save. The QLA4xxx HBA does the following:
- Resets (reboots the HBA only) if you have made changes to the firmware configuration parameters in Changing the Target Configuration Parameters.
- Connects to the target
- Queries the target through a SendTargets command
- Discovers all devices allowed by the target
- Shows the targets as dynamic (the Dynamic (read only) check box is selected).
- Selects the Bind check box if the Auto-bind Discovered Targets check box was selected
- Makes these new targets available on the Target Settings tabbed page.
- If you want to enable a specific the target, select the target's Enable Target check box. If you want to enable all the targets, right-click on any target in the table and select Enable All Devices from the pop-up menu.
Conversely, if you want to disable a specific target, clear the target's Enable Target check box. Right-click on any target in the table and select Disable All Devices from the pop-up menu if you do not want to enable any target.
If the Enable Target check box is not selected, the target is visible, but not accessible, to the HBA.
- If you want to bind a specific target to the HBA port (the Auto-bind Discovered Targets check box was not selected), select the target's Bind check box. If you want to bind all the targets to the HBA, right-click any target in the table and select Bind All from the pop-up menu.
Conversely, if you want to unbind a specific target to the HBA, clear the target's Bind check box. Right-click on any target in the table and select UnBind All from the pop-up menu if you do not want to bind any targets to the HBA.
Do not change the iSCSI port number unless required.
CAUTION! The iSCSI port number defaults to 3260. Do not change this number unless required by the configured target.
- If you want to change any of the configuration parameters for this specific target, follow the instructions in Changing the Target Configuration Parameters.
- Click Save.
- QLogic recommends restarting the host PC for the operating system to recognize the new targets.
In the following example, there is an iSCSI target at IP address 10.14.64.150. Behind this target are two available drives with target iSCSI alias names Drive1 and Drive2.
- In the Target Settings tabbed page target configuration section, click the green plus sign (+) on the right. A new row displays.
- The IP Address dialog box displays. Enter IP address 10.14.64.150. Click OK.
- Leave the iSCSI Name box blank.
- Click Save.
- Click the Target Settings tab.
The following three targets display:
- IP address 10.14.64.150
- IP address 10.14.64.150 with target iSCSI alias name Drive1
- IP address 10.14.64.150 with target iSCSI alias name Drive2
- Restart the host PC for the operating system to recognize the new targets.