Checking and Modifying the iSCSI Initiator Timeout Duration of a Linux/FusionSphere Host

This section describes how to check the timeout duration in an iSCSI network environment where UltraPath for Linux/FusionSphere is used.

Upgrade Requirement

For a Linux/FusionSphere host, it is strongly recommended that you set the iSCSI initiator timeout duration to 1 second before performing an online upgrade.

NOTE:

If any exception occurs in command execution during the check or modification process, contact Huawei technical support engineers.

Procedure

  1. Run the iscsiadm -m node command to check all iSCSI service IP addresses configured on the host.

    NOTE:

    If the command output is command not found or no record found, no iSCSI service has been configured, so no further check is required.

  2. Run iscsiadm -m node -p iSCSI service IP address | grep replacement_timeout. See Figure 1.

    Figure 1 Checking the timeout parameter
    NOTE:

    Each IP in Step 1 needs to be checked.

  3. If the value of the timeout parameter is greater than 1, services may be temporarily interrupted during the upgrade process (the interruption lasts for approximately the time specified by the timeout parameter). If the temporary interruption is unacceptable for host services, a long-term service interruption may occur.

Recommended Actions

NOTICE:

After the upgrade, please restore the timeout parameter to the original value.

  1. If the timeout parameter is not set to 1, an online upgrade is not allowed. Runiscsiadm -m node -o update -n node.session.timeo.replacement_timeout -v 1. See Figure 2.

    Figure 2 Setting the timeout parameter

  2. Exit the session and log in to the host again.
  3. Run the iscsiadm -m node -p iSCSI service IP address | grep replacement_timeout command to check whether the modification takes effect.

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.