Skip to main content
Hitachi Vantara Knowledge

Managing iSCSI targets

Creating iSCSI targets and registering hosts in an iSCSI target

Before you begin

  • The Storage Administrator (Provisioning) role is required to perform this task.
  • The Security Administrator (View and Modify) role is required to perform this task.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. Enter the iSCSI alias in the iSCSI Target Alias box. If the Use Default Name checkbox is selected, the iSCSI target alias is input by default.

  4. Enter the iSCSI target name in the iSCSI Target Name box. Select the format from iqn or eui. If the Use Default Name check box is selected, the iSCSI target name is input by default.

  5. Select the resource group in which an iSCSI target is created. If you select Any, ports to which you can add iSCSI targets within all ports assigned to a user are displayed in the Available Ports list. If you select other than Any, ports to which you can add iSCSI targets within the ports assigned to the selected resource group are displayed in the Available Ports list.

  6. Select a host mode from the Host Mode list. When selecting a host mode, you must consider the platform and some other factors.

  7. If necessary, click Host Mode Options and select host mode options.

    When you click Host Mode Options, the dialog box expands to display the list of host mode options. The Mode No. column indicates option numbers. Select an option you want to specify and click Enable.

  8. Select hosts to be registered in an iSCSI target. If the desired host has ever been connected with a cable to another port in the storage system, select the desired host bus adapter from the Available Hosts list. If there is no host to be registered, skip this step and move to the next step. Otherwise, an iSCSI target with no host would be created. If the desired host has never been connected through a cable to any port in the storage system, perform the following steps:

    1. Click Add New Host under the Available Hosts list. The Add New Host dialog box opens.

    2. Select the format from iqn or eui.

    3. Enter the desired HBA iSCSI name in the HBA iSCSI Name box.

    4. If necessary, enter a nickname for the host bus adapter in the Host Name box.

    5. Click OK to close the Add New Host dialog box.

    6. Select the desired host bus adapter from the Available Hosts list.

  9. Select the port to which you want to add the iSCSI target. If you select multiple ports, you can add the same iSCSI target to multiple ports by one operation.

  10. Select CHAP, None, or Comply with Host Setting in the Authentication Method list. If CHAP is selected, specify following:

    • Mutual CHAP: Select Enable or Disable. If Enable is selected, the mutual authentication mode is performed. If Disable is selected, the unidirectional authentication mode is performed.

    • User Name: If Disable is selected in Mutual CHAP, this item is optionally specified. If Enable is selected in Mutual CHAP, this item must be specified.

    • Secret and Re-enter Secret: If Disable is selected in Mutual CHAP, this item is optionally specified. If Enable is selected in Mutual CHAP, this item must be specified.

  11. Select CHAP users to be registered in an iSCSI target. If the CHAP user has ever been connected with a cable to another port in the storage system, select the desired host bus adapter from the Available CHAP Users list. If there is no host to be registered, skip this step and move to the step 11. Otherwise, an iSCSI target with no CHAP user would be created. If the desired CHAP user has never been connected through a cable to any port in the storage system, perform the following steps:

    1. Click Add New CHAP User under the Available CHAP Users list. The Add New CHAP User dialog box opens.

    2. Specify an user name, and secret.

    3. Click OK to close the Add New CHAP User dialog box.

    4. Select the desired CHAP user from the Available CHAP Users list.

  12. Click Add to add the iSCSI target. By repeating steps from 2 to 10, you can create multiple iSCSI targets. If you select a row and click Detail, the iSCSI Target Properties window appears. If you select a row and click Remove, a message appears asking whether you want to remove the selected row or rows. To remove the row, click OK.

  13. Click Finish to display the Confirm window. To continue to add LUN paths, click Next.

  14. Confirm the settings and enter the task name in the Task Name box. A task name can consist of up to 32 ASCII characters (letters, numerals, and symbols). Task names are case-sensitive. (date) - (task name) is input by default. If you select a row and click Detail, the iSCSI Target Properties window appears.

  15. Click Apply in the Confirm window. If the Go to tasks window for status check box is selected, the Tasks window appears.

Editing iSCSI port settings

Use this procedure to edit the iSCSI port settings.

When the iSCSI virtual port mode is enabled for a port, the following items cannot be set using Device Manager - Storage Navigator:

  • IPv4 Settings
  • IPv6 Mode
  • IPv6 Settings
  • TCP Port Number
  • Selective ACK
  • Delayed ACK
  • Maximum Window Size
  • Ethernet MTU Size
  • Keep Alive Timer
  • VLAN Tagging Mode
  • iSNS Server

To edit iSCSI ports for which the virtual port mode is enabled, use Command Control Interface. For details, see the Command Control Interface documentation.

Before you begin

  • The Storage Administrator (System Resource Management and Provisioning) role is required to perform this task.
  • The Security Administrator (View and Modify) role is required to perform this task.
CautionIt is best to enable LUN security on each port when configuring your storage system. Although you can enable LUN security on a port when host I/O is in progress, I/O is rejected with a security guard after enabling.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets, and select the Ports tab.

  3. Select the desired port, and click Edit Ports.

  4. Select the check box to change the option and specify values. Items that can be changed are as follows:

    • IPv4 Settings: Specifies IP Address, Subnet Mask, or Default Gateway.

    • IPv6 Mode: Specifies enable or disable of this mode.
    • IPv6 Settings: Specifies Link Local Address, Global Address, Global Address 2, or Default Gateway if IPv6 Mode is selected to Enable.

    • Port Security: Specifies enable or disable.
    • Port Speed: Specifies the data transfer speed.
    • TCP Port Number: Specifies the TCP port number.
    • Selective ACK: Specifies enable or disable.
    • Delayed ACK: Specifies enable or disable.
    • Maximum Window Size: Specifies the size of the maximum window.
    • Ethernet MTU Size: Specifies the MTU size.
    • Keep Alive Timer: Specifies the keep alive timer.
    • VLAN Tagging Mode: Specifies enable or disable.
    • iSNS Server: Specifies enable or disable. If this option is selected to Enable, specify IP Address or TCP Port Number.
    • CHAP User Name: Specifies the CHAP user name.
    • Secret and Re-enter Secret: Specifies the secret which is used for host authentication.
  5. Click Finish. A message appears, confirming whether to switch the LUN security. Clicking OK opens the Confirm window.

  6. In the Confirm window, confirm the settings, in Task Name type a unique name for this task or accept the default, then click Apply. If Go to tasks window for status is checked, the Tasks window opens.

Adding a host to the selected iSCSI target

Before you begin

The Storage Administrator (Provisioning) role is required to perform this task.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. Select the Host tab.

  4. Select the iSCSI target for the host you want to add.

  5. Select Add to Hosts.

  6. Select the desired host from the Available Hosts table, and then click Add.

    Selected iSCSI targets are listed in the Selected Hosts table.

    If the desired host has never been connected with a cable to any port in the storage system, perform the following steps:

    1. Click Add New Host under the Available Hosts list.

      The Add New Host dialog box opens.
    2. Select the format from iqn or eui. Enter the desired HBA iSCSI name in the HBA iSCSI Name box.

    3. If necessary, enter a nickname for the host bus adapter in the Host Name box.

    4. Click OK to close the Add New Host dialog box.

    5. Select the desired host bus adapter from the Available Hosts list.

  7. Click Finish.

    The Confirm window appears.
  8. In the Add to Host groups window, confirm the settings, in Task Name type a unique name for this task or accept the default, and then click Apply.

    If Go to tasks window for status is checked, the Tasks window opens.
  9. Click OK to close the message.

Removing hosts from iSCSI targets

Before you begin

The Storage Administrator (Provisioning) role is required to perform this task.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. Select hosts in the Hosts tab.

  4. Display the Remove Hosts window by performing one of the following:

    • Click Remove Hosts.
    • Click Remove Hosts (iSCSI).
    • Click More Actions, then select Remove Hosts(iSCSI).
    • From the Actions menu, select Ports/Host Groups/iSCSI, then Remove Hosts.
  5. Click Finish.

    The Confirm window appears.
  6. In the Task Name text box, enter the task name.

    You can enter up to 32 ASCII characters and symbols, with the exception of: \ / : , ; * ? " < > |. The value "date-window name" is entered by default.
  7. Click Apply.

    If the Go to tasks window for status check box is selected, the Tasks window appears.

Changing iSCSI target setting

Use LUN Manager to change the name or host mode of a iSCSI target. You can change only the host mode option of the host group for the initiator port. You cannot use this procedure on the host group for the external port.

Caution
  • Before changing the host mode of an iSCSI target, you should back up data on the port to which the iSCSI target belongs. Setting host mode should not be destructive, but data integrity cannot be guaranteed without a backup.
  • When a secret is changed two times or more for the same iSCSI target successively, perform the next change after waiting for the completion of the task that has been applied. If the secret is changed without waiting for the completion of the task that has been applied, the user name which you expected to be changed can not be incorporated.

Before you begin

To perform this task, following roles are required:

  • Storage Administrator (Provisioning) role
  • Security Administrator (View and Modify) role

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. On the iSCSI Targets tab, select the Port ID of the iSCSI target you want to change.

  4. Display the Edit iSCSI Targets window by performing the following:

    Click Edit iSCSI Targets. Or click More Actions and then select Edit iSCSI Targets. Or from the Actions menu, select Ports/Host Groups, iSCSI, and then Edit iSCSI Targets.
  5. In the Edit iSCSI Targets window, select ON and specify the values. The following values can be modified:

    • iSCSI Target Alias: Specifies the alias of the iSCSI target.
    • iSCSI Target Name: Selects the format from iqn or eui, and specifies the name of the iSCSI target.
    • Host Mode: Selects the host mode and the host mode option. For detailed information about host mode options, see Host mode options.
    • Authentication Method: Selects the CHAP authentication mode from Comply with Host Setting, CHAP, or None.
    • Mutual CHAP: Selects Enable or Disable. If Enable is selected, the mutual authentication mode is performed. If Disable is selected, the unidirectional authentication mode is performed.
    • User Name: Specifies the user name. You can use case-sensitive alphanumeric characters, spaces, and the following symbols:

      . - + @ _ = : [ ] , ~

    • Secret: Specifies the password. You can use alphanumeric characters, spaces, and the following symbols in a secret:

      . - + @ _ = : [ ] , ~

  6. Click Finish.

    If OK is clicked, either the Edit iSCSI Targets window or the Confirm window appears. If the Confirm window appears proceed to the next step. If the Edit iSCSI Targets window appears, go to step 3 and edit the settings again.
  7. In the Task Name text box, enter the task name.

    You can enter up to 32 ASCII characters and symbols, with the exception of: \ / : , ; * ? " < > |. The value "date-window name" is entered by default.
  8. Click Apply.

    If the Go to tasks window for status check box is selected, the Tasks window appears.

Deleting an iSCSI target

Before you begin

The Storage Administrator (Provisioning) role is required to perform this task.

CautionThis task cannot be performed if corresponding with following:
  • Host I/O processing is being performed.
  • Hosts are not reserved (mounted) in the iSCSI target.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. Select the iSCSI target that you want to delete.

  4. Display the Delete iSCSI Targets window by performing one of the following:

    • Click More Actions, then select Delete iSCSI Targets.
    • From the Actions menu, select Ports/Host Groups/iSCSI, then Delete iSCSI Targets.
  5. In the Delete iSCSI Targets window, confirm the settings, in Task Name, type a unique name for this task or accept the default, then click Apply.

    If Go to tasks window for status is checked, the Tasks window opens.
  6. Click OK to close a message.

Deleting login iSCSI names

Before you begin

The Storage Administrator (Provisioning) role is required to perform this task.

NoteIf you disconnect a host that has been connected through a cable to your storage system, the iSCSI name for the host will remain in the Login WWNs/iSCSI Names tab. Use the Delete Login WWNs window to delete from the Login WWNs/iSCSI Names tab. A login iSCSI name for a host that is no longer connected to your storage system.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. Select the Login WWNs/iSCSI Names tab. To confirm the statuses of iSCSI names, click View Login iSCSI Name Statuses window.

  4. Select the iSCSI names you want to delete.

  5. Display the Delete Login iSCSI Names window by performing one of the following

    • Click Delete Login iSCSI Names.
    • From the Actions menu, select Ports/Host Groups/iSCSI, then Delete Login iSCSI Names.
  6. In the Delete Login iSCSI Names window, confirm the settings, in Task Name, type a unique name for this task or accept the default, then click Apply.

  7. Click OK to close a message.

Next steps