1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
rs.status()
{
"set"
: "nj-mongo" ,
"date"
: ISODate( "2014-05-09T09:26:33Z" ),
"myState"
: 1,
"members"
: [
{
"_id"
: 1,
"name"
: "10.64.203.235:27017" ,
"health"
: 1,
"state"
: 1,
"stateStr"
: "PRIMARY" ,
"uptime"
: 4724,
"optime"
: Timestamp(1397201109, 4),
"optimeDate"
: ISODate( "2014-04-11T07:25:09Z" ),
"self"
: true
},
{
"_id"
: 2,
"name"
: "10.64.203.234:27017" ,
"health"
: 1,
"state"
: 2,
"stateStr"
: "SECONDARY" ,
"uptime"
: 543,
"optime"
: Timestamp(1397201109, 4),
"optimeDate"
: ISODate( "2014-04-11T07:25:09Z" ),
"lastHeartbeat"
: ISODate( "2014-05-09T09:26:32Z" ),
"lastHeartbeatRecv"
: ISODate( "2014-05-09T09:26:33Z" ),
"pingMs"
: 0,
"syncingTo"
: "10.64.203.235:27017"
},
{
"_id"
: 3,
"name"
: "10.64.203.237:27017" ,
"health"
: 1,
"state"
: 7,
"stateStr"
: "ARBITER" ,
"uptime"
: 543,
"lastHeartbeat"
: ISODate( "2014-05-09T09:26:32Z" ),
"lastHeartbeatRecv"
: ISODate( "2014-05-09T09:26:33Z" ),
"pingMs"
: 0
}
],
"ok"
: 1
}
|