IBM

WebSphere Application Server - SIBus Link

imp51 2011. 9. 21. 18:11

* 목적: A server instance에 A Queue에 메시지가 put되면, 자동으로(WAS)의 기능으로 B Server instance의 B Queue에 메시지가 전달하는 자동화된 구성을 하고 싶은경우.
- WebLogic Server의 경우, Bridge라는 기능을 통해 구성이 가능하다. (WebSphere에 비해 좀더 간단한 구성이 가능하다. 내가 아무리 IBM에서 근무를 하더라도 Fact는 말하고 싶다.)
- WebSphere의 경우, SIBus Link를 통해 구현가능.

* 시나리오.


* 구성 순서.
1. A Server에서 작업
1.1. 외부 버스 등록(B 서비스 버스를 등록해주면 된다.):
- admin console에서 Service Integration > Buses > [Bus Name] > Foreign bus Connections를 차례로 선택.
- 새로작성 위저드에서, Step 1.1:  Bus Connection Type에서 Direct 연결(직접 연결) > Step 1.1.1: Local bus details에서 자신의 Local Bus를 선택 > Foreign bus details에서 1) Name of Service Integration bus to connect to(연결할 외부의 버스 이름을 선택) 2) Gateway messaging engine in the foreign bus(연결할 외부의 Messaging engine 선택) 3) Service Integration bus link name(bus link 이름 입력: A 서버와 B 서버와 같은 이름이 되어야 함) 4) Bootstrap service integration bus provider endpoints(B서버의 ip_address:sib_endpoint_address_port)
1.2 Destinations 작업
- Buses > [Bus Name] > Destinations > [Queue Name]
- Default forward routing paht에 : [B Server의 Bus Name]:[Destination Name]

2. B Server에서 작업.
2.1 B Server에서는 A서버와 연결될 Foreign Bus를 등록해주면 끝.