Switching VBS Online

This section describes how to add the compute nodes of a FusionStorage V100R006C30 device to the local storage cluster and take over services from the local storage cluster

Prerequisites

Procedure

  1. Choose Resources > Access > VBS.
  2. Click Switch VBS Online.

    The Switch VBS Online page is displayed.

  3. Add compute nodes on FusionStorage 6.3 that can be switched online to the local storage cluster.

    1. Select nodes.
      1. Click Select Node.

        The Select Node page is displayed.

      2. Enter the parameters of FusionStorage 6.3. For details about the parameters, see Table 1.
        Table 1 FusionStorage 6.3 parameter description

        Parameter

        Description

        FusionStorage Floating IP Address

        Floating IP address of FusionStorage 6.3.

        REST API Account

        REST API account name of FusionStorage 6.3. Generally, the value is admin.

        NOTE:

        To obtain the account information, refer to Block Storage Service > Operation and Maintenance > Block Storage Service Security Maintenance > Accounts and Passwords Management > Account Information Overview in FusionStorage V100R006C30 Product Documentation.

        REST API Account Password

        Password of the REST API account of FusionStorage 6.3.

      3. Click Scan to scan for the compute nodes on FusionStorage 6.3 that can be switched online.
      4. In the Available Nodes area, select desired nodes. They will be automatically added to the Selected Nodes area.
      5. Click OK. The node selection is complete.
    2. Authenticate all the nodes selected in the previous step.
      1. Select a desired node and click Authenticate.

        The Authentication page is displayed.

      2. Enter the authentication information of the node. For details about the parameters, see Table 2.
        Table 2 Parameters for authentication

        Parameter

        Description

        Username

        User name of the node.

        Password

        Password corresponding to Username.

        Password of root

        Password of user root of the node.

      • Select a desired node and click Delete to delete the node. After clicking Submit, you can no longer delete nodes.
      • After all selected nodes are deleted, the Cancel Online Switching button becomes available. You can click Cancel Online Switching to terminate online switching.
    3. After all nodes are authenticated, click Submit to configure the nodes and install network management components.
      • You can click Select Node to add more nodes. After adding nodes, you need to authenticate the newly added nodes and click Submit again.
      • A maximum of 512 nodes can be added at a time. If there are more than 512 nodes supporting online service switchover, add nodes in batches until all nodes supporting online service switchover are successfully added and VBS is installed on each node. Then, switch over services at a time.
      • After the software is installed, the Clear Cluster Configuration button becomes available. Click Clear Cluster Configuration to clear the software newly installed during online switching. After the clearing is complete, the nodes are restored to the status before you click Submit.
      • Click More on the right of a desired node and select Log Details to view the installation information.
    4. Click Next.

  4. Configure the storage network for the added nodes to connect to the local storage cluster.

    1. Click Add Storage IP Address Range to set a new storage IP address range. Table 3 describes the parameters.
      Table 3 Storage network parameters

      Parameter

      Description

      IP Address Range

      IP address range of the storage network.

      NOTE:
      • When IPv4 addresses are used:
        • A 32-bit IPv4 address is divided into four 8-bit fields that are expressed in dotted decimal notation.
        • Each field of the IPv4 address cannot be left empty and must be an integer.
        • The value of the leftmost field ranges from 1 to 223 (excluding 127).
        • The values of the other fields range from 0 to 255.
        • An IPv4 address cannot be set to a special address such as a broadcast address.
        • Example: 192.168.1.100
      • When IPv6 addresses are used:
        • A 128-bit IPv6 address is divided into eight 16-bit fields. Each 16-bit field consists of four colon-separated hexadecimal numbers.
        • In each 16-bit field, leading zeros can be omitted for simplicity. However, at least one digit must be reserved in each field.
        • To achieve further simplicity, you can use a double colon (::) in place of a series of zeros. A double colon can be used only once in an IPv6 address. It can also represent the neighboring consecutive zeros at the beginning or end of an IPv6 address.
        • An IPv6 address cannot be set to a special one, such as a network address, loopback address, or multicast address.
        • Example: fc00::1234

      Subnet Mask/Prefix

      When IPv4 addresses are used, this parameter indicates the subnet mask of storage IP addresses and identifies the subnet to which the IP addresses belong. When IPv6 addresses are used, this parameter indicates the prefix length of the IPv6 addresses.

      • The system automatically identifies the configured storage network ranges of the local storage cluster. You can click Add Storage IP Address Range to add new storage network ranges.
      • Select a desired IP address range and click Remove to remove the storage IP address range.
    2. Click Preview.

      The system automatically configures the storage IP addresses to the nodes and refreshes the network information in the lower part of the page.

      • After modifying the network configuration, you can click Reset to restore the IP address ranges to the configuration when the last preview is successful.
      • You can click More on the right of a desired node and select Manage Bond Port to manage bond ports of the node.
    3. Click Submit.
    4. After the storage network is configured successfully, click Next.

  5. Install VBS on the added nodes.

    1. Click Install to install VBS on the nodes.

      If the installation fails, you can click Clear Cluster Configuration to reconfigure the nodes or click Remove Node to remove the nodes.

    2. After the installation is complete, click Next.

  6. Before performing an online service switchover, ensure that all independent VBS nodes in the FusionStorage 6.3 cluster have been added to the local storage cluster and VBS has been installed on each node. If the configuration of some nodes is not complete before online switching, a dialog box will be displayed. Click OK to continue adding nodes until all scanned nodes are added. If all detected nodes have been added to the local storage cluster and VBS has been installed for each node, skip this step and go to the service switchover step.
  7. Switch over services and change the VBS version of the compute nodes from FusionStorage 6.3 to the current storage cluster version.

    1. Click Switch over Service.

      The Switch over Service page is displayed.

    2. Select a switch mode, which can be Automatic or Manual.
      • Automatic: The system switches all services in an ascending order based on the batch number. To ensure data consistency, the system classifies nodes that use the same volume resources into the same batch based on the volume resource usage.
      • Manual: You can customize the batch for service switchover based on service requirements.

        If VBS of the current storage cluster version is no longer used, you can roll back VBS to the FusionStorage 6.3 version. The procedure is as follows:

        1. Click Rollback.
        2. The Rollback page is displayed.
        3. Select a rollback mode, which can be Roll back by batch and Roll back all.
          • Roll back by batch: You can specify the switch batches to be rolled back.
          • Roll back all: Roll back all switch batches.
        4. Determine whether to select Remove Node. After rollback is successful, nodes in the selected switch batches will be removed. Node removal will delete the nodes from the cluster. During online switching, newly installed software will be cleared. To continue online switching, go back to the Select Node step to re-select nodes.

          If you only perform rollback and do not remove nodes, the nodes are still in the managed state and will be rolled back to the state with VBS installed, and FusionStorage 6.3 will take over services. If nodes are removed during rollback, the nodes will no longer be in the managed state.

        5. Click OK.

        If a node fails to be removed, you may not be able to view the node on DeviceManager. In this case, perform the following operations to clear the VBS node:

        1. Log in to a compute node through the management IP address as user root. If you have logged in as another user, run the su - root command to switch to user root.
        2. Run the following command to check whether the clear_all_for_fs_manual.sh script exists. The following example indicates that the script exists. If the script exists, go to 3. Otherwise, go to 4.
          [root@localhost ~]# ls -l /opt/fusionstorage/deploymanager/clouda/clear_all_for_fs_manual.sh
          -r-x------. 1 root root 258 Apr 21 10:46 /opt/fusionstorage/deploymanager/clouda/clear_all_for_fs_manual.sh
        3. Run the following command to uninstall the node.
          cd /opt/fusionstorage/deploymanager/clouda
          bash clear_all_for_fs_manual.sh
        4. Run the following command to uninstall the node.
          cd /opt/fusionstorage/deploymanager/clouda
          bash clear_all_for_fs_node.sh all
    3. You can click Next only after services in all batches are switched.

  8. Confirm online switching.

    After the service switchover is complete, contact technical support engineers to perform subsequent operations, such as creating a SmartMigration task.