Go to main content

Oracle® MiniCluster S7-2 Administration Guide

Exit Print View

Updated: October 2021
 
 

Manage the IP Addresses of DNS and NTP Servers (CLI, v1.2.2 or earlier)

Use this procedure for MiniCluster systems running v1.2.2 or earlier. To determine your version, see List the MCMU Version (CLI).

When the system was installed, IP addresses of available DNS and NTP servers were added to the system. If you need to change or remove those IP addresses, perform these steps.

  1. Log into the MCMU CLI as a primary admin, such as mcinstall.

    See Log in to the MCMU CLI.

  2. Add an IP address or a range of IP addresses to the system.
    % mcmu tenant -M -i 
    Setting ssh timeout before carrying out further operations. Please wait..
    
    Enter first IP address in IP addresses range: 192.0.2.10
    Enter number of IPs you want in this range: 2
    [INFO    ] Successfully added IP range to IPADDRESS table
    [INFO    ] Successfully updated MiniCluster system
  3. Change an IP Address.
    • To update the IP address of a DNS server, type:

      % mcmu tenant -M -d
      Enter Comma Separated List of Maximal 3 unique IP Addresses of DNS Servers (192.0.2.7,192.0.2.8): 192.0.2.9
      [INFO    ] Successfully updated IP range to IPADDRESS table
      [INFO    ] Successfully updated MiniCluster system

      To enter a range of IP addresses, use a comma to separate a maximum of three unique addresses for DNS servers.

    • To update the IP address of an NTP server, type:

      % mcmu tenant -M -t
      Enter Comma Separated List of Maximal 3 unique IP Addresses of DNS Servers (192.0.2.20,192.0.2.21): 192.0.2.22
      [INFO    ] Successfully updated IP range to IPADDRESS table
      [INFO    ] Successfully updated MiniCluster system

      To enter a range of IP addresses, use a comma to separate a maximum of 2 unique addresses for DNS servers.

  4. Remove an IP Address.

    See Remove an IP Address (CLI, v1.2.2 or earlier).

  5. Verify that the IP Addresses and host names are mapped correctly in DNS.
    % mcmu tenant -M -n
    Setting ssh timeout before carrying out further operations. Please wait..
    [INFO    ] Log file path : /var/opt/oracle.minicluster/setup/logs/tenant_cli_060117_133005.log
    
    [INFO    ] Check if initial setup complete
    [INFO    ] Checking for stale operations
    [INFO    ] No scan network information available
    
    IP             | HOSTNAME
    ---------------+-----------------
    192.0.2.12 | aagt2-vm1-cc1-n1
    192.0.2.13 | aagt3-vm1-cc1-n1