Created
October 21, 2015 20:06
-
-
Save a-h/cd93df5100ba8ce16235 to your computer and use it in GitHub Desktop.
Result of Running a Mongo Cluster Update
This file contains hidden or 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
| bash ./02_update_cluster.sh | |
| SSH password: | |
| PLAY [common] ***************************************************************** | |
| GATHERING FACTS *************************************************************** | |
| ok: [mongo2] | |
| ok: [mongo4] | |
| ok: [mongo5] | |
| ok: [mongo3] | |
| ok: [mongo1] | |
| paramiko: The authenticity of host 'mongo6' can't be established. | |
| The ssh-rsa key fingerprint is 29bfdc1a1cd943eaf804e6545456fd0d. | |
| Are you sure you want to continue connecting (yes/no)? | |
| yes | |
| ok: [mongo6] | |
| TASK: [common | Create the hosts file for all machines] *********************** | |
| changed: [mongo3] | |
| changed: [mongo2] | |
| changed: [mongo5] | |
| changed: [mongo1] | |
| changed: [mongo4] | |
| changed: [mongo6] | |
| TASK: [common | Create the repository for 10Gen] ****************************** | |
| ok: [mongo1] | |
| ok: [mongo4] | |
| ok: [mongo5] | |
| ok: [mongo3] | |
| ok: [mongo2] | |
| changed: [mongo6] | |
| TASK: [common | Create the EPEL Repository.] ********************************** | |
| ok: [mongo2] | |
| ok: [mongo4] | |
| ok: [mongo1] | |
| ok: [mongo5] | |
| ok: [mongo3] | |
| changed: [mongo6] | |
| TASK: [common | Create the GPG key for EPEL] ********************************** | |
| ok: [mongo4] | |
| ok: [mongo1] | |
| ok: [mongo2] | |
| ok: [mongo3] | |
| ok: [mongo5] | |
| changed: [mongo6] | |
| TASK: [common | Create the mongod user] *************************************** | |
| ok: [mongo3] | |
| ok: [mongo4] | |
| ok: [mongo5] | |
| ok: [mongo1] | |
| ok: [mongo2] | |
| changed: [mongo6] | |
| TASK: [common | Create the data directory for the namenode metadata] ********** | |
| ok: [mongo3] | |
| ok: [mongo1] | |
| ok: [mongo2] | |
| ok: [mongo5] | |
| ok: [mongo4] | |
| changed: [mongo6] | |
| TASK: [common | Install the mongodb package] ********************************** | |
| ok: [mongo4] => (item=libselinux-python,mongodb-org,mongodb-org-server,bc,python-pip,ntp) | |
| ok: [mongo3] => (item=libselinux-python,mongodb-org,mongodb-org-server,bc,python-pip,ntp) | |
| ok: [mongo1] => (item=libselinux-python,mongodb-org,mongodb-org-server,bc,python-pip,ntp) | |
| ok: [mongo5] => (item=libselinux-python,mongodb-org,mongodb-org-server,bc,python-pip,ntp) | |
| ok: [mongo2] => (item=libselinux-python,mongodb-org,mongodb-org-server,bc,python-pip,ntp) | |
| changed: [mongo6] => (item=libselinux-python,mongodb-org,mongodb-org-server,bc,python-pip,ntp) | |
| TASK: [common | Enable NTPD] ************************************************** | |
| ok: [mongo1] | |
| ok: [mongo4] | |
| ok: [mongo3] | |
| ok: [mongo2] | |
| ok: [mongo5] | |
| changed: [mongo6] | |
| TASK: [common | Install the latest pymongo package] *************************** | |
| ok: [mongo4] | |
| ok: [mongo1] | |
| ok: [mongo5] | |
| ok: [mongo2] | |
| ok: [mongo3] | |
| changed: [mongo6] | |
| PLAY [Install MongoDB] ******************************************************** | |
| GATHERING FACTS *************************************************************** | |
| ok: [mongo3] | |
| ok: [mongo5] | |
| ok: [mongo1] | |
| ok: [mongo4] | |
| ok: [mongo2] | |
| ok: [mongo6] | |
| TASK: [mongod_base | Enable the mongod port.] ********************************* | |
| ok: [mongo3] | |
| ok: [mongo4] | |
| ok: [mongo5] | |
| ok: [mongo2] | |
| ok: [mongo1] | |
| changed: [mongo6] | |
| TASK: [mongod_base | create data directory for mongodb data members] ********** | |
| ok: [mongo5] | |
| ok: [mongo2] | |
| ok: [mongo4] | |
| ok: [mongo3] | |
| ok: [mongo1] | |
| changed: [mongo6] | |
| TASK: [mongod_base | create arbiter directory for mongodb arbiters] *********** | |
| ok: [mongo3] | |
| ok: [mongo5] | |
| ok: [mongo2] | |
| ok: [mongo1] | |
| ok: [mongo4] | |
| changed: [mongo6] | |
| TASK: [mongod_base | create log directory for mongodb] ************************ | |
| ok: [mongo3] | |
| ok: [mongo5] | |
| ok: [mongo1] | |
| ok: [mongo2] | |
| ok: [mongo4] | |
| ok: [mongo6] | |
| TASK: [mongod_base | create run directory for mongodb] ************************ | |
| ok: [mongo1] | |
| ok: [mongo2] | |
| ok: [mongo5] | |
| ok: [mongo4] | |
| ok: [mongo3] | |
| changed: [mongo6] | |
| TASK: [mongod_base | Copy the systemd init file] ****************************** | |
| ok: [mongo2] | |
| ok: [mongo1] | |
| ok: [mongo3] | |
| ok: [mongo4] | |
| ok: [mongo5] | |
| changed: [mongo6] | |
| TASK: [mongod_base | Copy the mongod sysconfig file] ************************** | |
| ok: [mongo4] | |
| ok: [mongo2] | |
| ok: [mongo1] | |
| ok: [mongo5] | |
| ok: [mongo3] | |
| changed: [mongo6] | |
| TASK: [mongod_base | Set up the mongodb service using systemd] **************** | |
| changed: [mongo2] | |
| changed: [mongo4] | |
| changed: [mongo1] | |
| changed: [mongo5] | |
| changed: [mongo3] | |
| changed: [mongo6] | |
| PLAY [Configure the replicaset security across all nodes] ********************* | |
| GATHERING FACTS *************************************************************** | |
| ok: [mongo2] | |
| ok: [mongo5] | |
| ok: [mongo3] | |
| ok: [mongo4] | |
| ok: [mongo1] | |
| ok: [mongo6] | |
| TASK: [mongod_replicaset | Copy the keyfile for replicated authentication] **** | |
| ok: [mongo4] | |
| ok: [mongo2] | |
| ok: [mongo3] | |
| ok: [mongo5] | |
| ok: [mongo1] | |
| changed: [mongo6] | |
| TASK: [mongod_replicaset | Create the authenticated mongodb configuration file] *** | |
| ok: [mongo3] | |
| ok: [mongo2] | |
| ok: [mongo1] | |
| ok: [mongo4] | |
| ok: [mongo5] | |
| changed: [mongo6] | |
| NOTIFIED: [mongod_replicaset | Restart mongodb] ******************************* | |
| changed: [mongo6] | |
| PLAY [Add the nodes to the cluster] ******************************************* | |
| GATHERING FACTS *************************************************************** | |
| ok: [mongo2] | |
| ok: [mongo3] | |
| ok: [mongo4] | |
| ok: [mongo6] | |
| TASK: [mongod_replicaset_slaves | Create the file to initiate the replica set] *** | |
| ok: [mongo2] | |
| TASK: [mongod_replicaset_slaves | Call out and initiate the replication set, just in case it hasn't already] *** | |
| changed: [mongo2] | |
| TASK: [mongod_replicaset_slaves | Create the file to add the current node to the replica set] *** | |
| ok: [mongo2] | |
| TASK: [mongod_replicaset_slaves | Add the current node to the replication set] *** | |
| changed: [mongo2] | |
| TASK: [mongod_replicaset_slaves | Create the file to initiate the replica set] *** | |
| ok: [mongo3] | |
| TASK: [mongod_replicaset_slaves | Call out and initiate the replication set, just in case it hasn't already] *** | |
| changed: [mongo3] | |
| TASK: [mongod_replicaset_slaves | Create the file to add the current node to the replica set] *** | |
| ok: [mongo3] | |
| TASK: [mongod_replicaset_slaves | Add the current node to the replication set] *** | |
| changed: [mongo3] | |
| TASK: [mongod_replicaset_slaves | Create the file to initiate the replica set] *** | |
| ok: [mongo4] | |
| TASK: [mongod_replicaset_slaves | Call out and initiate the replication set, just in case it hasn't already] *** | |
| changed: [mongo4] | |
| TASK: [mongod_replicaset_slaves | Create the file to add the current node to the replica set] *** | |
| ok: [mongo4] | |
| TASK: [mongod_replicaset_slaves | Add the current node to the replication set] *** | |
| changed: [mongo4] | |
| TASK: [mongod_replicaset_slaves | Create the file to initiate the replica set] *** | |
| changed: [mongo6] | |
| TASK: [mongod_replicaset_slaves | Call out and initiate the replication set, just in case it hasn't already] *** | |
| changed: [mongo6] | |
| TASK: [mongod_replicaset_slaves | Create the file to add the current node to the replica set] *** | |
| changed: [mongo6] | |
| TASK: [mongod_replicaset_slaves | Add the current node to the replication set] *** | |
| changed: [mongo6] | |
| PLAY [Add mongo arbiters to the cluster] ************************************** | |
| GATHERING FACTS *************************************************************** | |
| ok: [mongo5] | |
| TASK: [mongod_replicaset_arbiters | Create the file to initiate the replica set] *** | |
| ok: [mongo5] | |
| TASK: [mongod_replicaset_arbiters | Call out and initiate the replication set, just in case it hasn't already] *** | |
| changed: [mongo5] | |
| TASK: [mongod_replicaset_arbiters | Create the file to add the current node to the replica set as an arbiter] *** | |
| ok: [mongo5] | |
| TASK: [mongod_replicaset_arbiters | Add arbiter to the replication set] ******* | |
| changed: [mongo5] | |
| PLAY RECAP ******************************************************************** | |
| mongo1 : ok=22 changed=2 unreachable=0 failed=0 | |
| mongo2 : ok=27 changed=4 unreachable=0 failed=0 | |
| mongo3 : ok=27 changed=4 unreachable=0 failed=0 | |
| mongo4 : ok=27 changed=4 unreachable=0 failed=0 | |
| mongo5 : ok=27 changed=4 unreachable=0 failed=0 | |
| mongo6 : ok=28 changed=23 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment