AnsweredAssumed Answered

App server clustering

Question asked by shiva.s43 on Nov 14, 2013
Latest reply on Nov 15, 2013 by shiva.s43

Hi,

I'm trying to cluster two app servers 01 and 02. 01 has nsa in it. I tried to connect the second app server through nikuadmin tower connect command but could not succeed. I also tried to through nsa by putting ip address of both app servers in bind address.

server details:
clarity 12.06
os: windows server 2008

The windows firewall rules are also setup.

Any suggestion will help.

 

nikuadmin tower connect log

> list clients
NSA: Active Clients:
--------------------------
1) MSSVCLARITY01:9091 [10.189.223.32:50912]
--------------------------
> connect 10.189.223.181 9091

- Failed to connect to host 10.189.223.181
java.rmi.ConnectException: Connection refused to host: 10.189.223.181; nested ex
ception is:
        java.net.ConnectException: Connection timed out: connect
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Naming.java:84)
        at com.niku.nsa.management.Tower.lookupAll(Tower.java:911)
        at com.niku.nsa.management.Tower.lookup(Tower.java:861)
        at com.niku.nsa.management.Tower.registerClient(Tower.java:473)
        at com.niku.nsa.management.Tower.connectHost(Tower.java:1462)
        at com.niku.nsa.management.Tower.connectCmd(Tower.java:1441)
        at com.niku.nsa.management.Tower.processCmd(Tower.java:1109)
        at com.niku.nsa.management.Tower.startShell(Tower.java:1017)
        at com.niku.nsa.service.AdminManager.doTower(AdminManager.java:188)
        at com.niku.nsa.service.AdminManager.invokeAction(AdminManager.java:120)

        at com.niku.nsa.service.AdminManager.execute(AdminManager.java:95)
        at com.niku.nsa.service.Admin.main(Admin.java:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
SocketFactory.java:22)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
SocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
        ... 22 more
ERROR 2013-11-14 12:27:22,858 [main] root Failed to connect to host 10.189.223.1
81
java.rmi.ConnectException: Connection refused to host: 10.189.223.181; nested ex
ception is:
        java.net.ConnectException: Connection timed out: connect
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Naming.java:84)
        at com.niku.nsa.management.Tower.lookupAll(Tower.java:911)
        at com.niku.nsa.management.Tower.lookup(Tower.java:861)
        at com.niku.nsa.management.Tower.registerClient(Tower.java:473)
        at com.niku.nsa.management.Tower.connectHost(Tower.java:1462)
        at com.niku.nsa.management.Tower.connectCmd(Tower.java:1441)
        at com.niku.nsa.management.Tower.processCmd(Tower.java:1109)
        at com.niku.nsa.management.Tower.startShell(Tower.java:1017)
        at com.niku.nsa.service.AdminManager.doTower(AdminManager.java:188)
        at com.niku.nsa.service.AdminManager.invokeAction(AdminManager.java:120)

        at com.niku.nsa.service.AdminManager.execute(AdminManager.java:95)
        at com.niku.nsa.service.Admin.main(Admin.java:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
SocketFactory.java:22)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
SocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
        ... 22 more
> Could not connect to host.  Verify password, hostname and/or port.
>
 

 

 

Thanks,

Shiva

Outcomes