Socket
Socket
Sign inDemoInstall

mongodb-replica-maintainer

Package Overview
Dependencies
36
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mongodb-replica-maintainer

Client and server for adding and removing MongoDB replica members


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

0.5.2 ###

  • Upgrade to newest skyprovider

Readme

Source

mongodb-replica-maintainer

A server and client for adding/removing dynamic mongodb replica members.

Usage

Example systemd service files are included in the systemd folder. You'll need to modify the --server argument in the client service to point to the server.

# Client
$ node client.js --server=ws://127.0.0.1:27018
# Server
$ node server.js

SkyDNS

If you want to use SkyAPI/SkyDNS for the client to discover the server, then use the --skyapi flag when starting the server. The server will advertise itself as mongodb-replica-maintainer so for the client you would run:

node client.js --server=srv://mongodb-replica-maintainer.services.domain

where domain is the SkyDNS suffix you're using.

By James Hartig

Keywords

FAQs

Last updated on 08 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc