Changing the Name of a BMS
Scenarios
To make it easy for you to identify and manage each BMS, the cloud platform 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
- Log in to the management console.
- Under Computing, click Bare Metal Server.
The BMS console is displayed.
- Click the name of the BMS whose name is to be changed.
- 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 (.).
- Log in to the BMS OS and run the following command to enable automatic hostname synchronization:
vi /opt/huawei/network_config/bms-network-config.conf
Set the value of auto_synchronize_hostname to True.
auto_synchronize_hostname = True
Press Esc and enter :wq to save and exit the file.
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.
- Log in to the management console again. Locate the row that contains the BMS, click More in the Operation column, and select Restart.
After about 10 minutes, verify that the BMS is restarted and its hostname is automatically updated.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot