
How to change Avamar Node Type
August 19, 2009When running Avamar in a lab environment, I have come across situations where I want to use a node that was part of a previous Avamar configuration and make it a spare, single node server, a data node or possibly even an accelerator node for another Avamar Data Store.
In the past I was not sure how to change the node type.
Fortunately, I recently came across the command to make this happen.
As root, run change_nodetype in the /usr/local/avamar/src directory.
(Verify that you are logged in as root) whoami command
# /usr/local/avamar/src/change_nodetype –[type]
–[type] = the type of node to be configured.
The accepted types include:
data,axion-e (single node server),accelerator,spare,utility
As an example, in a recent situation, an Avamar storage node was mistakenly setup as an Avamar Accelerator node. The desired setup was a RAIN configuration with a Utility Node, 4 1TB Storage Nodes and 1 Spare Node. In our setup, we had the Utility Node, 3 1TB Storage nodes, 1 Spare node and the 1TB Accelerator Node that was configured improperly.
To correct the issue, I performed the following tasks on the accelerator node to make it a data node:
Opened a Putty session to the Accelerator Node and logged in as root
typed the following command:
/usr/local/avamar/src/change_nodetype –data
Afterwards, I had to update the usersettings.cfg file using vi or nano and confirm that the server name is correct by typing the following command:
nano /usr/local/avamar/etc/usersettings.cfg (as seen below):
***If you need to change the hostname or IP address as well, use the following command as root:
/usr/sbin/netconfig –ip=ipaddress –netmask=subnet mask hostname=hostname –domain=domain.name –device=eth0 –gateway=default gateway
You also want to make sure that the following configuration files are correct:
/etc/hosts
/etc/resolv.conf
/etc/sysconfig/network
You may now reboot, once the node boots back up, log in from a Putty session and verify that the notification screen states the correct node type.
From here I was able to continue with the procedures to add an additional storage nodeā¦
Interesting and informative. But will you write about this one more?
It took me awhile, but I finally was able to find time to write a little more on this.