Assigning a Static IP If DHCP is Disabled

Assign a static IP address to the interfaces, if DHCP is not enabled.

Procedure

  1. Login to a node using the following credentials:

    Login: root

    Password: cvadmin

    Note

    This password can be changed during setup.

  2. Navigate to the following folder:

    /opt/commvault/MediaAgent
    
  3. Execute the following command to generate an input configuration file:

    ./cvconfignw.py genconfig or -g $[output configuration file path]
    
  4. 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.

  5. Execute the following command to apply the settings:

    ./cvconfignw.py configure or -c $[config file path]
    
  6. 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.

Page contents

×

Loading...