cloudsoft / brooklyn-marklogic

Other
0 stars 0 forks source link

Node name issue for slaves #17

Open pveentjer opened 11 years ago

pveentjer commented 11 years ago

to install the slave, the node name is needed:

echo Creating MarkMail forrest curl --digest -u ${driver.user}:${driver.password} \ 'http://${driver.masterAddress}:8001/create_markmail_forests.xqy?datadir=/var/opt/mldata&fcount=4&host=${driver.hostname}&node=node${driver.nodeId}&cluster=${driver.cluster}' echo Finished creating MarkMail forrest

echo Attaching MarkMail forrest curl --digest -u ${driver.user}:${driver.password} \ 'http://${driver.masterAddress}:8001/attach_markmail_forests.xqy?fcount=${driver.fcount}&host=${driver.hostname}&node=node${driver.nodeId}&cluster=${driver.cluster}' echo Finished Attaching MarkMail forrest

There is script called 'get_node_name'. The question is how it fits in, and if we want to use it (since it is tied to amazon). So perhaps all this stuff should be put in brooklyn?