IncrediBuild 는 기본적으로 다른 subnet 에서 사용하는 것을 권장하지 않는 것 같다.

The communication between a coordinator and its agents, and between the agents themselves, should be direct and on the same subnet. Therefore, in a case where an organization needs to serve agents on different subnets, it would be better to install one coordinator per subnet.

출처 : https://www.incredibuild.com/frequently-asked-questions-pricing-licensing.html#q201

일단 subnet 간에 통신을 위해 아래 포트가 열려 있어야 한다.

Coordinator : TCP 31104
service : TCP 31105
helper : TCP 31106 ~ (각 cpu 마다 포트를 추가로 사용한다.) 

윈도 방화벽 허용이 필요하다.

윈도우즈 방화벽 > 고급 설정을 누른다.

인바운드 규칙 에서 아래 항목을 체크한다.
: IncrediBuild Agent Service
: IncrediBuild Build Helper
: IncrediBuild Helper #1 ~ #8 (CPU 개수만큼 있다.)

속성 창 > 고급 > 프로필에서 subnet 간에 적절히 열려있는지 확인한다.
도메인, 개인, 공용 3가지 체크 표시가 있는데 subnet 간의 연결이 어떤 type인지는 확인이 필요하다.

이제 문제가 되는 부분인 netbios 다. incredibulid 는 agent 이름을 가지고 ip 를 찾아내 접속하는 구조인 것 같다. 해결 방법은 여러가지 있겠지만 dns 를 이용한 방법과 hosts 를 이용하는 방법이 있다.

hosts 를 이용하는 방법은 모든 agent PC 에 상대 subnet 의 정보를 추가하는 방식이다. 윈도우즈 hosts 파일(기본 : c:\windows\system23\drivers\etc\hosts ) 에 ip 이름 형식으로 추가해주면 된다. 모든 PC가 상대방에 새로운 agent 가 추가되거나 이름이 바뀔 때 마다 설정해줘야 하는 귀찮음이 있는 것 같다.

dns 를 이용하는 방법은 한쪽 subnet 에 dns 서버를 설치 후 다른 subnet 에서 설치된 dns 서버를 연결하도록 설정하는 방식이다. 반대편 subnet 에 대한 처리 문제와 dns 설치 및 유지 보수 비용을 고려해야 한다.


728x90

+ Recent posts