Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > config = {_id: 'opstore-1', members: [
  2. ...                           {_id: 0, host: 'mvno-vas-storage-1a.atm:27017'},
  3. ...                           {_id: 1, host: 'mvno-vas-storage-1b.atm:27017'},
  4. ...                           {_id: 2, host: 'mvno-vas-storage-2a.atm:27017'}]
  5. ...            }
  6. > rs.initiate(config);                  
  7. { "errmsg" : "couldn't initiate : bad config - dups?", "ok" : 0 }
  8. > rs.status()
  9. {
  10.     "startupStatus" : 3,
  11.     "info" : "run rs.initiate(...) if not yet done for the set",
  12.     "errmsg" : "can't get local.system.replset config from self or any seed (EMPTYCONFIG)",
  13.     "ok" : 0
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement