Assign a static IP address to the interfaces, if DHCP is not enabled.
Procedure
-
Login to a node using the following credentials:
Login: root
Password: cvadmin
Note
This password can be changed during setup.
-
Navigate to the following folder:
/opt/commvault/MediaAgent
-
Execute the following command to generate an input configuration file:
./cvconfignw.py genconfig or -g <output configuration file path>
-
Edit the configuration file to add the device name, IP, gateway and name server details.
[network] device = ipaddr = gateway = nameserver1 = nameserver2 = netmask =
Where:
device
is the network interface name, surrounded by parenthesis ( ).For example:
The entries in this file should be similar to the following:
[network] device =enpsf3 ipaddr =101.102.103.104 gateway =101.100.100.100 nameserver1 =103.99.99.1 nameserver2 =104.99.99.2 netmask =100.100.100.1 device =enpsf5 ipaddr =20.20.226.297 gateway =101.100.100.100 nameserver1 =103.99.99.1 nameserver2 =104.99.99.2 netmask =100.100.100.1
Note
You would have to repeat the entries to define the data protection and storage pool networks.
-
Execute the following command to apply the settings:
./cvconfignw.py configure or -c <config file path>
-
Repeat these steps in the other nodes.
What to Do Next
- Setup a block consisting of 3 nodes to ensure that the correct nodes are identified and configured when the setup is run. For more information, see Setting up a Block.