Created
May 11, 2016 07:55
-
-
Save freddielunchbird/10571739497394b78c366c086b7cfbd9 to your computer and use it in GitHub Desktop.
Create cluster: one replica set (no config server, no mongos).
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
{ | |
"operation": "createJob", | |
"job": { | |
"command": "create_cluster", | |
"job_data": { | |
"type": "mongodb", | |
"ssh_user": "csjpeter", | |
"ssh_keyfile": "/home/csjpeter/.ssh/id_rsa", | |
"api_id": 1, | |
"user_id": 1, | |
"vendor": "percona", | |
"mongodb_version": "3.2", | |
"replica_sets": [{ | |
"rs": "my_rs_1", | |
"members": [{ | |
"address": "ip4:27017" | |
}, { | |
"address": "ip5:27017" | |
}, { | |
"address": "ip6:27017" | |
}] | |
}], | |
"mongodb_user": "csjpeter", | |
"mongodb_password": "pwd", | |
"cluster_type": "mongod" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment