Skip to Main Content

NoSQL Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

deploy Oracle NoSQL store on machines

zechang SunNov 19 2014 — edited Nov 25 2014

I want to deploy Oracle NoSQL on six machines:nosSQL01、nosSQL02、nosSQL03、nosSQL04、nosSQL05、nosSQL06.

Ip address for noSQL01 is 192.168.0.162.

Ip address for noSQL02 is 192.168.0.170.

I start the administration CLI on the noSQL01.

When I deploy noSQL02 (plan deploy-sn -zn zn1 -host 192.168.0.170 -port 5000 -wait), an error appeared :

Plan Deploy Storage Node (29)

State:                 ERROR

Attempt number:        1

Started:               2014-11-19 14:06:54 UTC

Ended:                 2014-11-19 14:06:59 UTC

Plan failures:

        Failure 1: 1/DeploySN failed.: Problem connecting to the KVStore server, which may be caused by a security mismatch between the client and server: Exception creating connection to: 192.168.0.170; nested exception is:

        java.net.SocketTimeoutException: connect timed out; nested exception is:

        java.rmi.ConnectIOException: Exception creating connection to: 192.168.0.170; nested exception is:

        java.net.SocketTimeoutException: connect timed out

Total tasks:           1

Failed:               1

Failures:   Task   1       ERROR at   2014-11-19 14:06:59 UTC: DeploySN sn2(192.168.0.170:5000): 1/DeploySN failed.: Problem connecting to the KVStore server, which may be caused by a security mismatch between the client and server: Exception creating connection to: 192.168.0.170; nested exception is:

        java.net.SocketTimeoutException: connect timed out; nested exception is:

        java.rmi.ConnectIOException: Exception creating connection to: 192.168.0.170; nested exception is:

        java.net.SocketTimeoutException: connect timed out: java.rmi.ConnectIOException: Problem connecting to the KVStore server, which may be caused by a security mismatch between the client and server: Exception creating connection to: 192.168.0.170; nested exception is:

        java.net.SocketTimeoutException: connect timed out; nested exception is:

        java.rmi.ConnectIOException: Exception creating connection to: 192.168.0.170; nested exception is:

        java.net.SocketTimeoutException: connect timed out

        at oracle.kv.impl.util.registry.RegistryUtils$ExceptionWrappingRegistry.rethrow(RegistryUtils.java:1159)

        at oracle.kv.impl.util.registry.RegistryUtils$ExceptionWrappingRegistry.lookup(RegistryUtils.java:1107)

        at oracle.kv.impl.util.registry.RegistryUtils.lookup(RegistryUtils.java:1042)

        at oracle.kv.impl.util.registry.RegistryUtils.getStorageNodeAgent(RegistryUtils.java:508)

        at oracle.kv.impl.admin.plan.task.DeploySN.doWork(DeploySN.java:117)

        at oracle.kv.impl.admin.plan.task.SingleJobTask$1.call(SingleJobTask.java:77)

        at oracle.kv.impl.admin.plan.task.SingleJobTask$1.call(SingleJobTask.java:74)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.rmi.ConnectIOException: Exception creating connection to: 192.168.0.170; nested exception is:

        java.net.SocketTimeoutException: connect timed out

        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:631)

        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)

        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)

        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)

        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

        at oracle.kv.impl.util.registry.RegistryUtils$ExceptionWrappingRegistry.lookup(RegistryUtils.java:1105)

        ... 11 more

Caused by: java.net.SocketTimeoutException: connect timed out

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

        at java.net.Socket.connect(Socket.java:579)

        at oracle.kv.impl.util.registry.ClientSocketFactory.createTimeoutSocket(ClientSocketFactory.java:384)

        at oracle.kv.impl.util.registry.ClearClientSocketFactory.createSocket(ClearClientSocketFactory.java:152)

        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)

        ... 16 more

I tried to check the SNA on the noSQL02,but the output is as following:

Could not connect to registry at noSQL04:5000: Connection refused to hos                                                                                     t: noSQL04; nested exception is:

        java.net.ConnectException: Connection timed out

I also tried to use command "iptables -F" on noSQL02, but it does not work.

I do not konw how to do now.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2014
Added on Nov 19 2014
9 comments
2,870 views