Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
acsservicesdaemon &
acscontainerdaemon &

Later, to stop the daemons:

Code Block
fg
Ctrl+C
fg
Ctrl+C

or:

Code Block
ps u |grep acscontainerdaemon |grep -v grep |awk '{print $2}' |xargs kill
ps u |grep acsservicesdaemon |grep -v grep |awk '{print $2}' |xargs kill

Host 2 (Containers)

In the other machine configure only the container daemon:

Code Block
ps u |grep acscontainerdaemon |grep -v grep |awk '{print $2}' |xargs kill

Later, to stop the daemon:

Code Block
fg
Ctrl+C

or:

Code Block
ps u |grep acscontainerdaemon |grep -v grep |awk '{print $2}' |xargs killacscontainerdaemon &

Host 3 (Or any of the previous hosts)

...

Code Block
acsdaemonStartAcs -i 0 -H <host1>
acsdaemonStartContainer -t cpp -c bilboContainer -i 0 -H <host1>
acsdaemonStartContainer -t java -c frodoContainer -i 0 -H <host2>

Later, to bring down the system:

Code Block
acsdaemonStopContainer -c bilboContainer -i 0 -H <host1>
acsdaemonStopContainer -c frodoContainer -i 0 -H <host2>
acsdaemonStopAcs -i 0 -H <host1>

...