Hi !

I just downloaded the jar orientdb-community-2.0.tar.gz the free edition 
and unpacked it in the amazon ec2 cloud. Did some checks by creating 
databases using console and starting ./dserver.sh assigining node names. I 
then changed the multicast option to false and setup the aws credentials: 
my access key and secret key in the hazelcast.xml as shown here: 
https://github.com/sslavic/orientdb-wiki/blob/master/Distributed-Configuration.md
 
<https://mail.campus.unibe.ch/owa/redir.aspx?SURL=7mb35zYUEuFvsletAC5JmvMTI-wFebvr24YGKw6m4SNO0d8dak7SCGgAdAB0AHAAcwA6AC8ALwBnAGkAdABoAHUAYgAuAGMAbwBtAC8AcwBzAGwAYQB2AGkAYwAvAG8AcgBpAGUAbgB0AGQAYgAtAHcAaQBrAGkALwBiAGwAbwBiAC8AbQBhAHMAdABlAHIALwBEAGkAcwB0AHIAaQBiAHUAdABlAGQALQBDAG8AbgBmAGkAZwB1AHIAYQB0AGkAbwBuAC4AbQBkAA..&URL=https%3a%2f%2fgithub.com%2fsslavic%2forientdb-wiki%2fblob%2fmaster%2fDistributed-Configuration.md>.
 
The hazelcast file has been attached.

I also included the hazelcast-cloud-3.3.jar in the directory lib. 

When I run ./dserver.sh from the bin to start the distributed setup I get 
the following error log:

2015-04-26 18:28:40:719 INFO  Starting distributed server 'node1'... 
[OHazelcastPlugin]

2015-04-26 18:28:40:745 INFO  Configuring Hazelcast from 
'/home/ubuntu/orientdb-community-2.0.5/config/hazelcast.xml'. 
[FileSystemXmlConfig]

2015-04-26 18:28:41:095 INFO  [LOCAL] [orientdb] [3.3] Prefer IPv4 stack is 
true. [DefaultAddressPicker]

2015-04-26 18:28:41:109 INFO  [LOCAL] [orientdb] [3.3] Picked 
Address[10.147.173.24]:2434, using socket 
ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=2434], bind any local is true 
[DefaultAddressPicker]

2015-04-26 18:28:41:159 INFO  [10.147.173.24]:2434 [orientdb] [3.3] 
Starting with 4 generic operation threads and 4 partition operation 
threads. [BasicOperationScheduler]

2015-04-26 18:28:41:267 INFO  [10.147.173.24]:2434 [orientdb] [3.3] 
Hazelcast 3.3 (20140907) starting at Address[10.147.173.24]:2434 [system]

2015-04-26 18:28:41:267 INFO  [10.147.173.24]:2434 [orientdb] [3.3] 
Copyright (C) 2008-2014 Hazelcast.com [system]

2015-04-26 18:28:41:268 INFO  [10.147.173.24]:2434 [orientdb] [3.3] 
Creating AWSJoiner [Node]

2015-04-26 18:28:41:277 INFO  [10.147.173.24]:2434 [orientdb] [3.3] 
Address[10.147.173.24]:2434 is STARTING 
[LifecycleService][10.147.173.24]:2434 [orientdb] [3.3] Server returned 
HTTP response code: 403 for URL: 
https://ec2.us-east-1.amazonaws.com/?Action=DescribeInstances&SignatureMethod=HmacSHA256&AWSAccessKeyId=removed&SignatureVersion=2&Version=2011-05-15&Signature=f1Zf3dI8twXnEAzAIClgf4Uh1CFfFJy0Shr3vd0QZ3o%3D&Timestamp=2015-04-26T18%3A28%3A41.403Z

java.io.IOException: Server returned HTTP response code: 403 for URL: 
https://ec2.us-east-1.amazonaws.com/?Action=DescribeInstances&SignatureMethod=HmacSHA256&AWSAccessKeyId=removed&SignatureVersion=2&Version=2011-05-15&Signature=f1Zf3dI8twXnEAzAIClgf4Uh1CFfFJy0Shr3vd0QZ3o%3D&Timestamp=2015-04-26T18%3A28%3A41.403Z

at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627)

at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)

at 
com.hazelcast.aws.impl.DescribeInstances.callService(DescribeInstances.java:96)

at 
com.hazelcast.aws.impl.DescribeInstances.execute(DescribeInstances.java:85)

at com.hazelcast.aws.AWSClient.getPrivateIpAddresses(AWSClient.java:45)

at 
com.hazelcast.cluster.TcpIpJoinerOverAWS.getMembers(TcpIpJoinerOverAWS.java:47)

at 
com.hazelcast.cluster.TcpIpJoiner.getPossibleAddresses(TcpIpJoiner.java:377)

at 
com.hazelcast.cluster.TcpIpJoiner.joinViaPossibleMembers(TcpIpJoiner.java:117)

at com.hazelcast.cluster.TcpIpJoiner.doJoin(TcpIpJoiner.java:77)

at com.hazelcast.cluster.AbstractJoiner.join(AbstractJoiner.java:82)

at com.hazelcast.instance.Node.join(Node.java:547)

at com.hazelcast.instance.Node.start(Node.java:359)

at 
com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:126)

at 
com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:153)

at 
com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:136)

at 
com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:112)

at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)

at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.configureHazelcast(OHazelcastPlugin.java:1183)

at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:156)

at 
com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:871)

at com.orientechnologies.orient.server.OServer.activate(OServer.java:265)

at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)

[10.147.173.24]:2434 [orientdb] [3.3] java.io.IOException: Server returned 
HTTP response code: 403 for URL: 
https://ec2.us-east-1.amazonaws.com/?Action=DescribeInstances&SignatureMethod=HmacSHA256&AWSAccessKeyId=removed&SignatureVersion=2&Version=2011-05-15&Signature=f1Zf3dI8twXnEAzAIClgf4Uh1CFfFJy0Shr3vd0QZ3o%3D&Timestamp=2015-04-26T18%3A28%3A41.403Z

com.hazelcast.core.HazelcastException: java.io.IOException: Server returned 
HTTP response code: 403 for URL: 
https://ec2.us-east-1.amazonaws.com/?Action=DescribeInstances&SignatureMethod=HmacSHA256&AWSAccessKeyId=removed&SignatureVersion=2&Version=2011-05-15&Signature=f1Zf3dI8twXnEAzAIClgf4Uh1CFfFJy0Shr3vd0QZ3o%3D&Timestamp=2015-04-26T18%3A28%3A41.403Z

at com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:52)

at 
com.hazelcast.cluster.TcpIpJoinerOverAWS.getMembers(TcpIpJoinerOverAWS.java:62)

at 
com.hazelcast.cluster.TcpIpJoiner.getPossibleAddresses(TcpIpJoiner.java:377)

at 
com.hazelcast.cluster.TcpIpJoiner.joinViaPossibleMembers(TcpIpJoiner.java:117)

at com.hazelcast.cluster.TcpIpJoiner.doJoin(TcpIpJoiner.java:77)

at com.hazelcast.cluster.AbstractJoiner.join(AbstractJoiner.java:82)

at com.hazelcast.instance.Node.join(Node.java:547)

at com.hazelcast.instance.Node.start(Node.java:359)

at 
com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:126)

at 
com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:153)

at 
com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:136)

at 
com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:112)

at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)

at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.configureHazelcast(OHazelcastPlugin.java:1183)

at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:156)

at 
com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:871)

at com.orientechnologies.orient.server.OServer.activate(OServer.java:265)

at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)

Caused by: java.io.IOException: Server returned HTTP response code: 403 for 
URL: 
https://ec2.us-east-1.amazonaws.com/?Action=DescribeInstances&SignatureMethod=HmacSHA256&AWSAccessKeyId=removed&SignatureVersion=2&Version=2011-05-15&Signature=f1Zf3dI8twXnEAzAIClgf4Uh1CFfFJy0Shr3vd0QZ3o%3D&Timestamp=2015-04-26T18%3A28%3A41.403Z

at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627)

at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)

at 
com.hazelcast.aws.impl.DescribeInstances.callService(DescribeInstances.java:96)

at 
com.hazelcast.aws.impl.DescribeInstances.execute(DescribeInstances.java:85)

at com.hazelcast.aws.AWSClient.getPrivateIpAddresses(AWSClient.java:45)

at 
com.hazelcast.cluster.TcpIpJoinerOverAWS.getMembers(TcpIpJoinerOverAWS.java:47)

... 16 more


2015-04-26 18:28:42:221 SEVERE [10.147.173.24]:2434 [orientdb] [3.3] Could 
not join cluster in 300000 ms. Shutting down now! [Node]

2015-04-26 18:28:42:245 INFO  [10.147.173.24]:2434 [orientdb] [3.3] 
Destroying node initializer. [initializer]

2015-04-26 18:28:42:246 INFO  [10.147.173.24]:2434 [orientdb] [3.3] 
Hazelcast Shutdown is completed in 25 ms. [Node]Exception in thread "main" 
java.lang.IllegalStateException: Node failed to start!

at 
com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:128)

at 
com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:153)

at 
com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:136)

at 
com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:112)

at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)

at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.configureHazelcast(OHazelcastPlugin.java:1183)

at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:156)

at 
com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:871)

at com.orientechnologies.orient.server.OServer.activate(OServer.java:265)

at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)


I would greatly appreciate any help!


 


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: hazelcast.rtf
Description: RTF file

Reply via email to