Changing Name Servers on Appliances

Download this manual as a PDF file

This section describes how to change domain name servers (DNS) on an SL1 appliance.

Use the following menu options to navigate the SL1 user interface:

  • To view a pop-out list of menu options, click the menu icon ().
  • To view a page containing all of the menu options, click the Advanced menu icon ().

Changing Name Servers on an SL1 Appliance

Domain Name Server (DNS) server settings are configured at installation. You cannot adjust the DNS settings later through the Web Configurator. Instead, you must use the command line interface (CLI) to change the DNS server information. This action requires no downtime.

If you are running SL1 on a cloud-based service like AWS or Azure, the following change procedures do not apply. The DNS settings are provided automatically by DHCP, and configuration changes must be made in the DHCP provider’s settings.

To change the DNS settings:

  1. Edit the /etc/resolv.conf file by entering the following command:

    sudo vi /etc/resolv.conf

  2. Change the nameserver entry to the IP address of the new DNS or add new DNS entries to the file.
  3. Save and quit to commit the changes.

    This change immediately causes the OS to use the new DNS, with no reboot or service restarts required. If you have multiple nameservers listed in the file, the system will try each entry in the list until it gets a response or runs out of nameservers.

Next, add the DNS to the interface configuration file so that the change will persist if the network service is restarted or the appliance is rebooted.

To add one or more domain name servers to the interface configuration file:

  1. Either go to the console of the SL1 appliance or use SSH to access the server.
  2. Log in as user em7admin with the appropriate password.
  3. Determine the name of your primary interface (not the "lo" interface) by running the following command:

    ip addr

  4. Edit the corresponding interface configuration file in the /etc/sysconfig/network-scripts directory:

    sudo vi /etc/sysconfig/network-scripts/ifcfg-{interface name}

  5. Find the "DNS1" entry and change the IP address to the IP address of the new DNS.

    You can enter additional DNS servers and define them as DNS2, DNS3, and so on.

  6. Save and quit to commit the changes.

Installing Additional RPMs on an SL1 Appliance

For certain patch releases, ScienceLogic might require additional RPMs to be installed on specific appliance types. If an RPM install is required, the release notes will indicate the additional RPMs to install on each specific appliance type.

To install additional RPMs on an appliance, perform the following steps:

  1. Download the RPM files provided by ScienceLogic to your local machine.
  2. Log in as root at the appliance console.
  3. Copy each of the downloaded RPM files to the appliance. To copy the downloaded files, perform the following command as root at the console of the appliance:
  4. scp <username-on-local-machine>@<ip-address-of-your-local-machine>:<full-path-to-rpm-on-your-local-machine> <full-path-on-appliance-to-copy-to>

  5. Use the following command to run the RPM installer for each of the RPM files:
  6. rpm -U <name-of-rpm-file>.rpm

  7. If you have not yet done so, apply the latest patch to your SL1 system.