Hi,

Thanks for your input.  I am still having issues with the DBServer. 
 Instead of hanging it seems to cant find the agencies.  

I have updated my run command for the 3 agencies see below.  All 3 are in 
gossip phase..  I am not sure if this is the correct behavior or not.

Agency 1 

[osdi@osdi-03 ~]$ /usr/sbin/arangod --server.endpoint tcp://$HOSTNAME:25001 
--agency.my-address=tcp://$HOSTNAME:25001 --server.authentication false 
--agency.size 3 --agency.supervision true --agency.activate true 
 --database.directory /data/data/arango/agency

2017-01-12T16:00:20Z [26116] INFO ArangoDB 3.1.8 [linux] 64bit, using VPack 
0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1e-fips 11 Feb 2013

2017-01-12T16:00:20Z [26116] INFO using SSL options: 
SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG

2017-01-12T16:00:20Z [26116] INFO file-descriptors (nofiles) hard limit is 
999999, soft limit is 999999

2017-01-12T16:00:20Z [26116] INFO created database directory 
'/data/data/arango/agency'.

2017-01-12T16:00:20Z [26116] INFO WAL directory 
'/data/data/arango/agency/journals' does not exist. creating it...

2017-01-12T16:00:20Z [26116] INFO JavaScript using startup 
'//usr/share/arangodb3/js', application '/var/lib/arangodb3-apps'

2017-01-12T16:00:24Z [26116] INFO In database '_system': No version 
information file found in database directory.

2017-01-12T16:00:24Z [26116] INFO In database '_system': Found 14 defined 
task(s), 12 task(s) to run

2017-01-12T16:00:24Z [26116] INFO In database '_system': state standalone/
init, tasks setupGraphs, setupUsers, createUsersIndex, addDefaultUserSystem, 
createModules, createRouting, insertRedirectionsAll, setupAqlFunctions, 
createStatistics, createFrontend, setupQueues, setupJobs

2017-01-12T16:00:24Z [26116] INFO In database '_system': init successfully 
finished

2017-01-12T16:00:24Z [26116] INFO using endpoint 'http+tcp://osdi-03:25001' 
for non-encrypted requests

2017-01-12T16:00:29Z [26116] INFO ArangoDB (version 3.1.8 [linux]) is ready 
for business. Have fun!

2017-01-12T16:00:30Z [26116] INFO {agency} Entering gossip phase ...


Agency 2

[osdi@osdi-04 ~]$ /usr/sbin/arangod --server.endpoint tcp://$HOSTNAME:25001 
--agency.my-address=tcp://$HOSTNAME:25001 --server.authentication false 
--agency.size 3 --agency.supervision true --agency.activate true 
 --database.directory /data/data/arango/agency

2017-01-12T16:00:28Z [29142] INFO ArangoDB 3.1.8 [linux] 64bit, using VPack 
0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1e-fips 11 Feb 2013

2017-01-12T16:00:28Z [29142] INFO using SSL options: 
SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG

2017-01-12T16:00:28Z [29142] INFO file-descriptors (nofiles) hard limit is 
999999, soft limit is 999999

2017-01-12T16:00:28Z [29142] INFO created database directory 
'/data/data/arango/agency'.

2017-01-12T16:00:28Z [29142] INFO WAL directory 
'/data/data/arango/agency/journals' does not exist. creating it...

2017-01-12T16:00:28Z [29142] INFO JavaScript using startup 
'//usr/share/arangodb3/js', application '/var/lib/arangodb3-apps'

2017-01-12T16:00:32Z [29142] INFO In database '_system': No version 
information file found in database directory.

2017-01-12T16:00:32Z [29142] INFO In database '_system': Found 14 defined 
task(s), 12 task(s) to run

2017-01-12T16:00:32Z [29142] INFO In database '_system': state standalone/
init, tasks setupGraphs, setupUsers, createUsersIndex, addDefaultUserSystem, 
createModules, createRouting, insertRedirectionsAll, setupAqlFunctions, 
createStatistics, createFrontend, setupQueues, setupJobs

2017-01-12T16:00:32Z [29142] INFO In database '_system': init successfully 
finished

2017-01-12T16:00:32Z [29142] INFO using endpoint 'http+tcp://osdi-04:25001' 
for non-encrypted requests

2017-01-12T16:00:38Z [29142] INFO ArangoDB (version 3.1.8 [linux]) is ready 
for business. Have fun!

2017-01-12T16:00:38Z [29142] INFO {agency} Entering gossip phase ...


Agency 3

[osdi@osdi-05 ~]$ /usr/sbin/arangod --server.endpoint tcp://$HOSTNAME:25001 
--agency.my-address=tcp://$HOSTNAME:25001 --agency.endpoint 
tcp://osdi-03:25001 --agency.endpoint tcp://osdi-04:25001 --agency.endpoint 
tcp://osdi-05:25001 --server.authentication false --agency.size 3 
--agency.supervision true --agency.activate true  --database.directory 
/data/data/arango/agency

2017-01-12T16:00:57Z [39772] INFO ArangoDB 3.1.8 [linux] 64bit, using VPack 
0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1e-fips 11 Feb 2013

2017-01-12T16:00:57Z [39772] INFO using SSL options: 
SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG

2017-01-12T16:00:57Z [39772] INFO file-descriptors (nofiles) hard limit is 
999999, soft limit is 999999

2017-01-12T16:00:57Z [39772] INFO created database directory 
'/data/data/arango/agency'.

2017-01-12T16:00:57Z [39772] INFO WAL directory 
'/data/data/arango/agency/journals' does not exist. creating it...

2017-01-12T16:00:57Z [39772] INFO JavaScript using startup 
'//usr/share/arangodb3/js', application '/var/lib/arangodb3-apps'

2017-01-12T16:01:00Z [39772] INFO In database '_system': No version 
information file found in database directory.

2017-01-12T16:01:00Z [39772] INFO In database '_system': Found 14 defined 
task(s), 12 task(s) to run

2017-01-12T16:01:00Z [39772] INFO In database '_system': state standalone/
init, tasks setupGraphs, setupUsers, createUsersIndex, addDefaultUserSystem, 
createModules, createRouting, insertRedirectionsAll, setupAqlFunctions, 
createStatistics, createFrontend, setupQueues, setupJobs

2017-01-12T16:01:00Z [39772] INFO In database '_system': init successfully 
finished

2017-01-12T16:01:00Z [39772] INFO using endpoint 'http+tcp://osdi-05:25001' 
for non-encrypted requests

2017-01-12T16:01:06Z [39772] INFO ArangoDB (version 3.1.8 [linux]) is ready 
for business. Have fun!

2017-01-12T16:01:06Z [39772] INFO {agency} Entering gossip phase ...


This is the command i use to launch the DBServer

[osdi@osdi-03 ~]$ /usr/sbin/arangod --server.authentication=false 
--server.endpoint 
tcp://$HOSTNAME:8529 --cluster.my-address tcp://$HOSTNAME:8529 
--cluster.my-local-info $HOSTNAME-db --cluster.my-role PRIMARY 
--cluster.agency-endpoint tcp://osdi-03:25001 --cluster.agency-endpoint 
tcp://osdi-04:25001 --cluster.agency-endpoint tcp://osdi-05:25001 
--database.directory /data/data/arango/db

2017-01-12T16:01:29Z [26261] INFO ArangoDB 3.1.8 [linux] 64bit, using VPack 
0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1e-fips 11 Feb 2013

2017-01-12T16:01:29Z [26261] INFO using SSL options: 
SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG

2017-01-12T16:01:29Z [26261] WARNING {agencycomm} Retrying agency 
communication at 'http+tcp://osdi-04:25001', tries: 2

2017-01-12T16:01:30Z [26261] WARNING {agencycomm} Retrying agency 
communication at 'http+tcp://osdi-05:25001', tries: 3

2017-01-12T16:01:32Z [26261] WARNING {agencycomm} Retrying agency 
communication at 'http+tcp://osdi-03:25001', tries: 4

2017-01-12T16:01:34Z [26261] WARNING {agencycomm} Retrying agency 
communication at 'http+tcp://osdi-04:25001', tries: 5

2017-01-12T16:01:39Z [26261] WARNING {agencycomm} Retrying agency 
communication at 'http+tcp://osdi-05:25001', tries: 6

2017-01-12T16:01:47Z [26261] WARNING {agencycomm} Retrying agency 
communication at 'http+tcp://osdi-03:25001', tries: 7

2017-01-12T16:01:49Z [26261] WARNING {agencycomm} Retrying agency 
communication at 'http+tcp://osdi-05:25001', tries: 2

2017-01-12T16:01:50Z [26261] WARNING {agencycomm} Retrying agency 
communication at 'http+tcp://osdi-03:25001', tries: 3



Please let me know if there's something obvious that stands out and 
whatnot.  I do want to note that if i start the agency with size = 1 the 
DBServer launches perfectly.

Thanks


On Wednesday, January 11, 2017 at 2:48:13 PM UTC-5, An Tran wrote:
>
> Hi,
>
> I just installed ArangoDB 3.1.8 on 3 nodes which I am trying to run in 
> cluster mode.  
>
> As far as I can tell, I am able to run the agency process successfully on 
> 3 nodes.  Below is the output of one agency process
>
> [osdi@osdi-04 ~]$ /usr/sbin/arangod --server.endpoint tcp://$HOSTNAME:25001 
> --server.authentication false --agency.size 3 --agency.supervision true 
> --database.directory /data/data/arango/agency
>
> 2017-01-11T19:42:34Z [16930] INFO ArangoDB 3.1.8 [linux] 64bit, using 
> VPack 0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1e-fips 11 Feb 2013
>
> 2017-01-11T19:42:34Z [16930] INFO using SSL options: 
> SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG
>
> 2017-01-11T19:42:34Z [16930] INFO file-descriptors (nofiles) hard limit is 
> 999999, soft limit is 999999
>
> 2017-01-11T19:42:34Z [16930] INFO JavaScript using startup 
> '//usr/share/arangodb3/js', application '/var/lib/arangodb3-apps'
>
> 2017-01-11T19:42:38Z [16930] INFO In database '_system': Database is 
> up-to-date (30108/standalone/existing)
>
> 2017-01-11T19:42:38Z [16930] INFO using endpoint 
> 'http+tcp://osdi-04:25001' for non-encrypted requests
>
> 2017-01-11T19:42:43Z [16930] INFO ArangoDB (version 3.1.8 [linux]) is 
> ready for business. Have fun!
>
> When i try and run the DBServer process it hangs.  See below for output. 
>  Do you you guys know 
>
> [osdi@osdi-04 ~]$ arangod --server.authentication=false --server.endpoint 
> tcp://0.0.0.0:8529 --cluster.my-address tcp://$HOSTNAME:8529 
> --cluster.my-local-info $HOSTNAME --cluster.my-role osdi-03 
> --cluster.agency-endpoint tcp://osdi-03:25001 --cluster.agency-endpoint 
> tcp://osdi-04:25001 --cluster.agency-endpoint tcp://osdi-05:25001 
> --database.directory /data/data/arango/primary
>
> 2017-01-11T19:45:36Z [17259] INFO ArangoDB 3.1.8 [linux] 64bit, using 
> VPack 0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1e-fips 11 Feb 2013
>
> 2017-01-11T19:45:36Z [17259] INFO using SSL options: 
> SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG
>
>
> When I run arangodb as a standalone server it works fine.  See below for 
> detail
>
> Enter code here...[osdi@osdi-04 ~]$ arangod
>
> 2017-01-11T19:46:14Z [17284] INFO ArangoDB 3.1.8 [linux] 64bit, using 
> VPack 0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1e-fips 11 Feb 2013
>
> 2017-01-11T19:46:14Z [17284] INFO using SSL options: 
> SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG
>
> 2017-01-11T19:46:14Z [17284] INFO Authentication is turned on
>
> 2017-01-11T19:46:14Z [17284] INFO Authentication system only
>
> 2017-01-11T19:46:14Z [17284] INFO Authentication for unix sockets is 
> turned on
>
> 2017-01-11T19:46:14Z [17284] INFO file-descriptors (nofiles) hard limit is 
> 999999, soft limit is 999999
>
> 2017-01-11T19:46:14Z [17284] INFO JavaScript using startup 
> '//usr/share/arangodb3/js', application '/var/lib/arangodb3-apps'
>
> 2017-01-11T19:46:18Z [17284] INFO In database '_system': Found 14 defined 
> task(s), 1 task(s) to run
>
> 2017-01-11T19:46:18Z [17284] INFO In database '_system': state 
> standalone/existing, tasks updateUserModels
>
> 2017-01-11T19:46:18Z [17284] INFO In database '_system': existing cleanup 
> successfully finished
>
> 2017-01-11T19:46:18Z [17284] INFO using endpoint 'http+tcp://0.0.0.0:8529' 
> for non-encrypted requests
>
> 2017-01-11T19:46:23Z [17284] INFO ArangoDB (version 3.1.8 [linux]) is 
> ready for business. Have fun!
>
>
> Do you guys know what could be causing this error and how can I fix it? 
>  Also is there a way to turn on more useful logging to debug?
>
> Thanks,
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" 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.

Reply via email to