Wondering how to change the name of a SolusVM Node? We can help you.
Once we create the SolusVM Node, often we need to change its name.
As part of our Server Management Services, we assist our customers with several SolusVM queries.
Today, let us see how we can change its node name.
Change the Name of a SolusVM Node
Moving ahead, let us see how our Support Techs go about changing the node name.
First and foremost, we connect to the Master node over SSH.
After that, we execute the following command:
# php /usr/local/solusvm/scripts/node.php –type=force –comm=name –nodeid=NODE_ID –name=NEWNAME
Here, the NODE_ID is the actual ID of the required node. We can find it under SolusVM > Nodes > ID column.
NEWNAME is the new name we provide for the node.
The node name must have 2 to 30 characters and should not contain any spaces and special symbols.
Now, there is a possibility for an error while we change the name. Let us discuss the same.
One of the most common errors that users come across while renaming the node is:
You cannot rename localhost
The exact error may look like this:
[[email protected] ~]# php -f /usr/local/solusvm/scripts/node.php --type=force --comm=name --nodeid=1 --name=vms1 You cannot rename localhost
Most often, this happens when we try to rename the localhost node.
Unfortunately, the method we have mentioned above works for nodes other than the local host. Hence it is not possible to rename the localhost node.
[Need help with the procedure? We are here for you]
In short, we saw how our Support Techs change the node name.