Skip to content

Adding second container doesn't work for HA due to order of operations and incorrect remote access command #4

@mdrakiburrahman

Description

@mdrakiburrahman

When adding a second container with ENABLE_HA and HA_PORT specified, the container doesn't correctly get registered and also fails the health check:
image

I found the following fixes the issue:

  1. Use -EnableRemoteAccessInContainer instead of EnableRemoteAccess
  2. Order of operation matters on the Second Node, need to run -EnableRemoteAccessInContainer first, before -RegisterNewNode is executed

With this setup - the second node is successful:
image

Enables HA:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions