Skip to content

How to add second RH to peer

Dilshat edited this page Oct 26, 2018 · 3 revisions

The auto discovery mechanism is based on SSDP. It looks for any available peer in the LAN. It takes the Management host's address from the first received response. But if several peers are installed on the same LAN installed collisions could occur.

Filters can be applied to avoid such collisions:

  • You can manually set the IP address of the Management server:

    Create a Subutai Agent configuration file to override defaults: /etc/subutai/agent.conf

      [management]
      host = 192.168.1.2
    
  • You may also set the fingerprint of the desired Management Server.

    The fingerprint of Management Server can be seen on the About page of its Console, the ID parameter.

    Create a Subutai Agent configuration file to override defaults: /etc/subutai/agent.conf

      [management]
      fingerprint = CB7C8A7B567FB2C2ACC2873B04FAC2E9CC21424A
    
  • Last step is to restart agent on the secondary peer:

   systemctl restart subutai.service

Then go to Console, Resource Hosts section, find new RH and approve it