Help Center> Huawei Cloud Flexus> User Guide> Modifying HECS Specifications

Modifying HECS Specifications

Scenarios

You can modify the HECS specifications, including vCPUs and memory, if they do not meet service requirements. Certain HECSs allow you to change their types.

Notes

  • When modifying the specifications of an HECS, you are not allowed to select sold-out vCPU and memory resources.
  • If HECS specifications are downgraded, the HECS performance is deteriorated.
  • When the disk status is Expanding, you are not allowed to modify the specifications of the HECS where the disk is attached.
  • Before modifying the specifications of a Windows HECS, modify the SAN policy by following the instructions provided in What Should I Do If a Disk Is Offline? to prevent offline disks after the specifications are modified.
  • Before modifying the specifications, stop the HECS or select Automatically stop the HECSs and then modify specifications.

Billing Description

Modifying specifications will lead to price changes. For details, see Pricing of a Changed Specification.

Preparations

After HECS specifications are modified, NIC flapping may occur. To prevent NIC flapping from affecting dependency configurations, perform the following operations before modifying the specifications:

  • Linux

    Run the following commands on the HECS to delete the files with persistent and net included in their names in the network rule directory:

    rm -fr /etc/udev/rules.d/*net*persistent*.rules

    rm -fr /etc/udev/rules.d/*persistent*net*.rules

  • Windows

    Delete the following directories in the registry on the HECS:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged

    Figure 1 Registry

Step 1: Modify Specifications

  1. Log in to the management console.
  2. Under Computing, click Hyper ECS.
  3. Locate the row that contains the target HECS, click More in the Operation column, and select Modify Specifications.

    The Modify HECS Specifications page is displayed.

  4. Set the new vCPUs and memory as prompted.

    Before modifying the specifications, stop the HECS or select Automatically stop the HECSs and then modify specifications.

    Figure 2 Modifying specifications
  5. click Next.
  6. Confirm the modified configuration. Read and select the service agreement, and then click Submit.
  7. Check whether the specifications have been modified.

    After modifying the specifications, you can check whether the specifications have been modified in Failures.

    1. Check whether Failures is displayed on the management console.
      • If yes, go to step 7.b.
      • If no, the specifications have been modified.
    2. Click Failures. Then, check whether the task is contained in the list by Name/ID, Operated At, or Task.
      • If yes, the specification modification failed. See Follow-up Procedure for failure causes.
      • If no, the specifications have been modified.

Step 2: Check Disk Attachment

Disk attachment may fail after specifications are modified. Therefore, check disk attachment after specification modification. If disks are properly attached, the specification modification is successful.

Follow-up Procedure

In the event of a specification modification failure, view the failure cause using the Cloud Trace Service by performing the following operations:

  1. Log in to the management console.
  2. Under Management & Deployment, click Cloud Trace Service.
  3. In the navigation pane on the left, choose Trace List.
  4. In the Trace Name column, locate the resizeServer event by resource ID.

    The resource ID is the ID of the HECS on which the specification modification failed.

  5. Click View Trace in the Operation column to view the failure cause.

    If the fault cannot be rectified based on logs, contact technical support.