ActiveSpaces as-agent 실행

■ C 모드 as-agent 실행- bin디렉토리(C:\tibco\as\2.1\bin)에서 실행
C:\tibco\as\2.1\bin>as-agent

C:\tibco\as\2.1\bin>as-agent
****************************************************************
TIBCO ActiveSpaces Agent
Enterprise Edition. Version: 2.1.3.005 16-May-2014 SVN Rev.23182
Copyright(c) 2008-2014 TIBCO Software Inc. All rights reserved
****************************************************************
... [transport] ip_address=192.168.20.9 port=50000
... [ms.$gmp] -------------------------------
... [ms.$gmp] configuring new manager
... [ms.$gmp] new manager = agent-c0a81409-c350 (c0a81409-c350-56e8a79b-d9, 192.168.20.9:50000)
... [ms.$gmp] self node = agent-c0a81409-c350 (c0a81409-c350-56e8a79b-d9, 192.168.20.9:50000)
... [ms.$gmp] local node is MANAGER now
... [ms.$gmp] -------------------------------
...[ms.metaspace] Connected metaspace name=[ms], listen=[tcp://192.168.20.9:50000], discovery=[tibpgm], member name=[agent-c0a81409-c350] version=2.1.3.005
... [ms.$members] member joined: 192.168.20.9:50000

 

■ java 모드 as-agent 실행 – lib디렉토리(C:\tibco\as\2.1\lib)에서 실행, ip를 127.0.0.1로 했기 때문에 loopback ip address chosen, this agent may not connect to remote agents 메세지가 나오면서 외부에서는 접속을 하지 못한다. 외부에서 접속하기 위해서는 loopback ip 대신에 등록된 IP를 지정하면 외부에서 접속이 가능하다.
C:\tibco\as\2.1\lib>java -jar as-agent.jar -metaspace ms -discovery tcp://127.0.0.1:50000 -listen tcp://127.0.0.1:50000 -name Host.1.Seeder1
 

C:\tibco\as\2.1\lib>java -jar as-agent.jar -metaspace mynamespace -discovery tcp://192.168.20.9:50000 -listen tcp://192.168.20.9:50000 -name Host.1.Seeder1
 

C:\tibco\as\2.1\lib>java -jar as-agent.jar -metaspace ms -discovery tcp://127.0.0.1:50000 -listen tcp://127.0.0.1:50000 -name Host.1.Seeder1
****************************************************************
TIBCO ActiveSpaces Agent (Java)
Enterprise Edition. Version: 2.1.3.005 16-May-2014 SVN Rev.23182
Copyright(c) 2008-2014 TIBCO Software Inc. All rights reserved
****************************************************************
...[WARNING][transport][TcpListenSocket.cpp:123][Core::TcpListenSocket::listen] loopback ip address chosen, this agent may not connect to remote agents
... [INFO][transport] ip_address=127.0.0.1 port=50000
... [INFO][ms.$gmp] -------------------------------
... [INFO][ms.$gmp] configuring new manager
... [INFO][ms.$gmp] new manager = Host.1.Seeder1 (7f000001-c350-56e8aa32-12d, 127.0.0.1:50000)
... [INFO][ms.$gmp] self node = Host.1.SeedeConnected to metaspace using name 'ms', discovery url 'tcp://127.0.0.1:50000', listen url 'tcp://127.0.0.1:50000'r
1 (7f000001-c350-56e8aa32-12d, 127.0.0.1:50000)
... [INFO][ms.$gmp] local node is MANAGER now
... [INFO][ms.$gmp] -------------------------------
... [INFO][ms.metaspace] Connected metaspace name=[ms], listen=[tcp://127.0.0.1:50000], discovery=[tcp://127.0.0.1:50000], member name=[Host.1.Seeder1] version=2.1.3.005
... [INFO][ms.$members] member joined: 127.0.0.1:50000

 
 
 

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다