windows_mongodb_arbiter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
windows_mongodb_arbiter [2020/01/23 09:41] – [Add Arbiter to Replicaset] walkeradmin | windows_mongodb_arbiter [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 117: | Line 117: | ||
\\ | \\ | ||
eth0: < | eth0: < | ||
- | \\ | ||
\\ | \\ | ||
link/ether 74: | link/ether 74: | ||
\\ | \\ | ||
+ | inet <color # | ||
\\ | \\ | ||
- | inet 10.43.30.17/ | + | |
\\ | \\ | ||
+ | inet <color # | ||
\\ | \\ | ||
| | ||
\\ | \\ | ||
+ | inet <color # | ||
\\ | \\ | ||
- | inet 10.43.30.19/ | + | |
\\ | \\ | ||
+ | inet6 fe80:: | ||
\\ | \\ | ||
| | ||
\\ | \\ | ||
\\ | \\ | ||
- | inet 10.43.30.20/32 scope global eth0 | + | If you see the three IP Addresses (Controller IP1, VIP, LicensingVIP) then you are on the PRIMARY controller. |
\\ | \\ | ||
\\ | \\ | ||
- | | + | Check the password in the secrets.ini |
+ | cat / | ||
+ | Now add the Arbiter details by using the following: | ||
+ | mongo admin -u MediaKind -p ********* | ||
\\ | \\ | ||
\\ | \\ | ||
- | inet6 fe80:: | + | Add the Arbiter using the rs.addArb method with the IP address of the Windows server that is used |
- | \\ | + | for the management network of the MediaKind appliances e.g. |
- | \\ | + | |
- | | + | |
\\ | \\ | ||
+ | repldb: | ||
+ | | ||
+ | (where x.x.x.x is the Management IP Address of your nCompass Server) | ||
\\ | \\ | ||
+ | ---- | ||
+ | ===== Verify Replicaset Members ===== | ||
\\ | \\ | ||
- | + | Whilst in the mongo client, use the rs.status method to list the members of the Replicaset: | |
+ | | ||
+ | This should return information including details of the PRIMARY, SECONDARY and ARBITER nodes: | ||
+ | < | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | }, | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ], | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | repldb: | ||
+ | </ |
windows_mongodb_arbiter.1579772473.txt.gz · Last modified: 2023/03/09 22:35 (external edit)