remote agent in Tutorial example, failed to install
Install Glu 5.3.1, run "./bin/tutorial.sh start", follow tutorial steps shown in the document, and everything works.
Modify sample-webapp-system.json to add one more agent, 'agent-B', mounting to /sample/i001.
agent-B is in another machine. run "./bin/agentcli.sh -n agent-B start" on the 'agent-B' machine.
Go to console, select and deploy 'agent-B'. Failed to install script for 'agent-B'. Msg is as follows:
Install script for [/sample/i001] on [agent-B] - 239ms
[+] org.linkedin.glu.agent.api.DuplicateMountPointException: /sample/i001
On 'agent-B' machine, I use wget to get following files w/o problem:
What I am I missing? Why I got this:
Thanks in advance.
Re: remote agent in Tutorial example, failed to install
Yes, I did that before I run './bin/tutorial.sh start'. Below is the meta model:
1) agnet-A is working fine but it is in the Console/zzKeeper machine.
2) /etc/hosts are all fixed so there is no issue for agent-B to contact console
3) don't know how to add agent-B in the 'agents' area. That is no agent-B in the meta model.
maybe this is the problem. How do I add agent-B to the meta model file? Please Help!
4) gluConsole (shown below in consoles and zooKeeper) is the machine for hosting
Console/zooKeeper and agent-A
but gluAgent (shown below in agent) is the machine for hosting agent-B
In short how do I have agent-A and agent-B in "agents <<" section?
That being said, I do *not* recommend to give agents different names unless you install them on the same machine. In general, you simply need to use the host field and the name of the agents is the host name.