Optional: Configuring offline use

Use this procedure to configure a host to operate without internet access. The following configuration variable informs serviced that internet access is not available:
Default: (none)
The IPv4 address that delegates use to connect to the master host. When no address is specified, serviced attempts to discover its public IP address by pinging google.com.
This variable must be set on all Control Center hosts in either of the following scenarios:
  • Control Center is deployed behind a firewall and google.com is not reachable. Set the value to the IPv4 address of the master host.
  • Control Center is deployed in a high-availability cluster. Set the value to the virtual IPv4 address of the high-availability cluster (HA-Virtual-IP).

Perform these steps:

  1. Log in to the host as root, or as a user with superuser privileges.
  2. Identify the IPv4 address of the host.
    hostname -i
  3. Edit the Control Center configuration file.
    1. Open /etc/default/serviced in a text editor.
    2. Locate the line for the SERVICED_OUTBOUND_IP variable, and then make a copy of the line, immediately below the original.
    3. Remove the number sign character (#) from the beginning of the line.
    4. Change the value to the IPv4 address identified in the previous step.
    5. Save the file, and then close the editor.
  4. Verify the settings in the serviced configuration file.
    grep -E '^\b*[A-Z_]+' /etc/default/serviced