Private minions accept and run the jobs you assign to your private locations. A private minion is a packaged virtual appliance (.ovf file) that runs in your hypervisor. This document describes how to install, secure, and configure private minions; and how to configure your firewall rules for private minions.
Install a private minion
To install a new minion, begin by picking a parent private location for that minion and noting its private location key. Then, download the minion software and import it into your supported hypervisor. After the minion acquires an IP address, navigate to the minion's IP address and enter the private location key.
To install a new private minion:
- Go to synthetics.newrelic.com > Private locations. Then select the appropriate option:
- To add a new private location, select plus-circle Add new and note the Private location key for later.
- To add minions to an existing location, select the pencil pencil icon for that location and note the Private location key for later.
- Download the latest Synthetics minion [ZIP | 3.3 GB] and unzip the file.
- In your hypervisor, import the .ovf file following standard procedures for your hypervisor. Start the minion.
- Secure your minion: At the minion command line, enter the default username of
syntheticsand default password of
synthetics. Then, use the
passwdcommand to change the password.
Your minion uses DHCP to obtain a local IP address and DNS settings.
In the minion's console log, copy the IP address:
IP address is MINION_IP_ADDRESS
DHCP is the preferred method for network configuration. However, for private minion versions 1.6.2 and lower, you can also modify the Ubuntu Network configuration file
/etc/network/interfaces. For more on static IP assignment, see Ubuntu's Network configuration documentation.
For private Minion versions 1.6.3 and higher, which have cloud-init installed, network configuration changes should instead be set in
/etc/network/interfaces.d/50-cloud-init.cfg. The configurations in this file get imported into
- In your web browser, navigate to the minion Overview page at
- Type the Private location key you noted earlier. If necessary, also configure your proxy settings. Select Check your configuration, then Save your configuration.
After saving your configuration, your minion is ready to receive jobs.
Configure your minion from the Overview page
You can configure your minion from the Overview page at
http://MINION_IP_ADDRESS (for example,
http://188.8.131.52). Configuration options include:
- Configure proxy settings
To receive jobs, the minion must be able to connect to the Synthetics horde endpoint at
https://synthetics-horde.nr-data.net. Depending on your network configuration, you may need to configure proxy settings for your minion. The proxy settings will only be used to communicate with New Relic; they are not used by the monitors.
The correct proxy settings depend on your specific network configuration. Contact your network administrator for more information.
To configure your proxy settings:
- From the minion Overview page, select the pencil pencil icon.
- Select Advanced settings, then type a host and port in the Proxy field and a username and password in the Proxy authentication field.
- View minion environment details
The Overview page also lists a variety of key metrics for your minion, including:
- Network access: Whether the minion can connect to the Internet.
- New Relic access: Whether the minion can connect to the Synthetics horde endpoint (
- Operational: Whether the minion is ready to receive and process jobs.
- Minion: Status information about the minion, including its Minion ID and the specific Minion Version of the software.
- System: Information about appliance environment.
Jobs: Counts of the number of jobs that were Received, Skipped, Queued, Started, Finished, Timed out, or Failed.
The Skipped metric counts jobs sent while the minion was offline. After being disconnected for a long period, the minion intelligently skips redundant jobs in order to restart as quickly as possible. This also prevents the minion from overwhelming your target with hundreds of redundant checks.
RAM and CPU settings for your minion
You can increase the capacity of your minion by changing the default settings in your hypervisor. By default, the minion virtual machine is assigned 4 GB of RAM and a 2 core CPU. As a rule of thumb, add at least 2 GB of RAM for each additional CPU core you allocate to your minion.
You can also increase the processing capacity for your location by creating more minions.
If you want to forecast sizing and monitor performance of your Synthetics private location, you can use New Relic Infrastructure. Installing Infrastructure is simple and involves SSHing into your private location and running install commands. See Install Infrastructure for instructions.
Upgrade a private minion
To upgrade a private minion, uninstall the old minion from your hypervisor, then install the new minion software. Because private minions use an appliance model, it is not possible to upgrade a running minion.
To troubleshoot your private minion, use New Relic Diagnostics, a utility that automatically detects common problems with private minions. For instructions, see New Relic Diagnostics.
For more help
Additional documentation resources include: