Assigning or Changing an IP Address

Procedure

To assign or change a static IP address, ensure that the virtual machine is powered on and complete the following steps:

  1. Log in to the DPX Master Server appliance through the Hyper-V console or connect to the DPX Master Server appliance through SSH with the dpxadmin username. For default credentials, see Default User Names and Passwords for the Catalogic DPX Master Server in the Deployment Guide. When logging in for the first time, the password must be changed.

  2. Run the nmtui command to open the NetworkManager Text User Interface to modify the DPX Master Server appliance’s hostname or IP address to match what was previously set in the DNS.

    $ sudo nmtui
  3. Using the arrow keys, navigate to and press Enter to select the appropriate interface.

  4. From the main menu, select Edit a connection.

  5. On the NetworkManager Text User Interface, use the arrow keys to navigate. Select Edit a connection and press Enter. Under Ethernet, select the interface (e.g. eth0) to modify. Navigate to Edit... and press Enter.

    Note. In addition to Ethernet, the DPX Master Server has two additional devices docker_gwbridge and docker0. Do not modify any settings related to these two bridge devices.

  6. On the Edit Connection screen, navigate to IPv4 CONFIGURATION field until Automatic is selected. Press Enter. Select Manual and press Enter. Navigate to Show (beside IPv4 CONFIGURATION) and press Enter. Beside each setting, navigate to Add and press Enter. Input the network parameters as described below that are specific to your environment as previously defined in the DNS settings:

    Addresses: An available and accessible IP address on your network in xxx.xxx.xxx.xxx/xx format.  
    Gateway: The network gateway in xxx.xxx.xxx.xxx format  
    DNS servers: DNS server(s) using one line per IP.  
    Search domains: Search domain(s) using one line per fully qualified domain name (FQDN).
  7. Navigate to and select OK and press Enter to save and exit.

  8. Run the hyperv-init.sh script. This will reset docker, update the dpx.jnlp file, and backup the original dpx.jnlp to dpx.jnlp.<timestamp> where is the system time when the copy occurred.

    $ sudo /opt/hyperv/hyperv-init.sh
  9. Navigate to the /opt/catalogic directory. Issue the make stop command and wait for all processes to stop.

    $ sudo -s  
    $ cd /opt/catalogic  
    $ make stop
  10. Issue the make start command. Wait a few minutes for the Docker swarm to fully initialize before attempting to log in to the DPX Management Console.

    $ make start
  11. Finally, restart the DPX Master Server virtual appliance.

Last updated