Azure / Azure/Azure-Data-Factory-Integration-Runtime-in-Windows-Container

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

Open
#4 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
32
Forks
60
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/46581776/120904019-c2391380-c617-11eb-94f3-605a675ae685.png)

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](https://user-images.githubusercontent.com/46581776/120904197-f6f99a80-c618-11eb-91bf-cb370d556b32.png)

Enables HA:
![image](https://user-images.githubusercontent.com/46581776/120904209-0d9ff180-c619-11eb-9b59-85276dfd6170.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.