Updated on 2025-11-28 GMT+08:00

Changing the Name of a BMS

Scenarios

To make it easy for you to identify and manage each BMS, Huawei Cloud allows you to set BMS names and change the names at any time. The new name of a BMS takes effect after the BMS is restarted.

Constraints

The names of Windows BMSs cannot be changed.

Procedure

  1. Log in to the BMS console.
  2. Click the name of the BMS whose name is to be changed.
  3. Click next to Name, enter a new name that meets requirements, and click to save the change.

    The BMS name can contain only letters, digits, hyphens (-), underscores (_), and periods (.).

  4. Log in to the BMS OS and run the following command to enable automatic hostname synchronization:

    sed -i 's/auto_synchronize_hostname.*/auto_synchronize_hostname = True/g' `find / -name bms-network-config.conf

    Check that automatic synchronization is enabled.

    cat `find / -name bms-network-config.conf

    If the value of auto_synchronize_hostname is False, after the BMS is restarted, the hostname will be automatically changed to that set during BMS creation.

  5. Go to the BMS console again. Locate the BMS and choose More > Restart in the Operation column.

    After about 10 minutes, verify that the BMS is restarted and its hostname is automatically updated.