Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70786

Is there any solution adding multiple IP to replicaSet member for host name on MongoDB?

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      I am really in trouble with the replSet option using multiple IPs on another network (A net and B net).

      I have 3 PCs and they have 2 LAN ports for each computer and they are separated by A net and B net.

      I can use replSet option and make a binding IP (--bind_ip 127.0.0.1,192.168.0.233,192.168.0.234)

      But I can not make the member in rs.config for all IPs. It just allows one IP for each PC.

      So, I can not connect to MongoDB using the B network if the A network which is set in the member is dead.

      Is there another solution to my situation?

            Assignee:
            chris.kelly@mongodb.com Chris Kelly
            Reporter:
            jjantae@gmail.com 팍 제이티
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: