|
ToDo: Add flavor text.
Stop ArmarX and MongoDB if already running
Get your hostname:
Create new profile
Edit $ARMARX_WORKSPACE/armarx_config/profiles/$ARMARX_MASTER/default.cfg
:
localhost
by 0.0.0.0
in the following keys:Ice.Default.Locator
IceGrid.Registry.Client.Endpoints
ArmarX.MongoHost
20328
in tcp -p 20328 -h 0.0.0.0
(the value of Ice.Default.Locator
and IceGrid.Registry.Client.Endpoints
, which should be equal)20329
in ArmarX.MongoPort=20329
Make sure the profile is active:
If not, switch to it
Start ArmarX and MongoDB
Define the hostname of the master, replacing <HOSTNAME_OF_MASTER>
with the value of $ARMARX_MASTER
from above.
Create new profile
Edit $ARMARX_WORKSPACE/armarx_config/profiles/$ARMARX_MASTER/default.cfg
:
localhost
by value of $ARMARX_MASTER
in the following keys:Ice.Default.Locator
IceGrid.Registry.Client.Endpoints
ArmarX.MongoHost
Alternatively, you can also enter the master's IP address.
-p
) by the Ice port noted before inIce.Default.Locator
IceGrid.Registry.Client.Endpoints
ArmarX.MongoPort
Make sure the profile is active:
If not, switch to it
Check whether the connection works:
Output should look like this: