Setting distributed node name using start script

17 views
Skip to first unread message

Pradeep Gowda

unread,
Oct 16, 2015, 7:28:58 PM10/16/15
to OrientDB
Hi Everyone,

Is there any way to set node name using start script? 

I modified dserver.sh as below

${0/%dserver.sh/server.sh} -Ddistributed=true -DnodeName=${SOME_NAME_VAR} $*  



and added below line in orientdb-server-config.xml


<parameter value="${nodeName}" name="nodeName"/>



But node is not getting the name what I assigned.


Can someone please help me with this?


Reply all
Reply to author
Forward
0 new messages