Last active
May 17, 2017 23:25
-
-
Save BruceZu/10d82b635d955ae450dc44f50daa51a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
used for cloud manager |
log:
1
Starting extraction of
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.4.4.tgz
to
/var/lib/mongodb-mms-automation/mongodb-linux-x86_64-3.4.4.
This may be happening in parallel with download
2
clusterConfig edition is different ( -> "d03a903aad8a5d3edf5940b481ebc1d2"). Incorporating...
3
Launched director switch-west-usa_1
4
Starting to download and extract
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.4.4.tgz
into
/var/lib/mongodb-mms-automation
5
Killing all running mongodb-mms-backup-agent agents
6
Backing up cluster config to /var/lib/mongodb-mms-automation/mms-cluster-config-backup.json
7
glibc can be shown by ldd --version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To save time, you can repeat each step of these instructions in parallel across servers with the same OS
Download the agent
curl -OL https://cloud.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_3.8.0.2108-1_amd64.ubuntu1604.deb
and install the package.
sudo dpkg -i mongodb-mms-automation-agent-manager_3.8.0.2108-1_amd64.ubuntu1604.deb
Open the config file
sudo vi /etc/mongodb-mms/automation-agent.config
and enter your API key, and Group ID as shown below.
mmsGroupId=591cbcd63b34b906c5d5d315
mmsApiKey=e4e08589136791e2e0726a84a55f25a9
Prepare the /data directory to store your MongoDB data. This directory must be owned by the mongodb user.
sudo mkdir -p /data
sudo chown mongodb:mongodb /data
Start the agent.
sudo systemctl start mongodb-mms-automation-agent.service
===
curl -OL https://cloud.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_3.8.0.2108-1_amd64.ubuntu1604.deb
sudo dpkg -i mongodb-mms-automation-agent-manager_3.8.0.2108-1_amd64.ubuntu1604.deb
sudo vi /etc/mongodb-mms/automation-agent.config
mmsGroupId=591cbcd63b34b906c5d5d315
mmsApiKey=e4e08589136791e2e0726a84a55f25a9
sudo mkdir -p /data
sudo chown mongodb:mongodb /data
sudo systemctl start mongodb-mms-automation-agent.service