Download and install the agent(s). These examples are on a standard 64-bit Amazon EC2 Linux AMI.
MMS
wget [path to mms agent download, specified by 10gen]
sudo tar xvzf 10gen-mms-agent-[CUSTOM_NAME].tar.gz -C /opt
Backup
wget [path to backup agent download, specified by 10gen]
sudo tar xvzf 10gen-backup-agent-[CUSTOM_NAME]-linux_amd64.tar.gz -C /opt
Create the upstart conf scripts as specified in the other files in this gist. They belong under /etc/init/mms-agent.conf
and /etc/init/backup-agent.conf
sudo start mms-agent
sudo start backup-agent
- This is all inspired/copied from https://gist.github.com/jaconel/1923994
- The backup-agent app looks for local.config using the working directory and not the same directory the app is located in, so you have to cd into the directory first.