[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] Detach grinder java process in fab.
From: |
pat flaherty |
Subject: |
[Fab-user] Detach grinder java process in fab. |
Date: |
Wed, 24 Aug 2011 20:31:39 -0700 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 |
Hi,
I'm using fabric to populate eucalyptus instances in a private cloud
with company 'client' programs (that then communicate back to my server)
- and hopefully the last thing fabric does before detaching is startup
one of these client programs. However it needs to leave the remote
client process detached and running as fab exits.
I'd solved an earlier fab detach process problem with
run('... command ...',pty=False)
for a tomcat app server and this worked fine.
This time I have to leave detached a 'grinder' agent process:
http://grinder.sourceforge.net/index.html
The grinder is test automation software.
In particular this is the (grinder) command I want to issue as the last
statement in my fab routine before fab detaches and exits:
java net.grinder.Grinder
you run this in a particular directory (use 'with cd' in fabric) with
files configged in certain and the agent/client program attaches itself
to the grinder console (remotely) and you control the running of
multiple agents of the same kind from the grinder console.
Anyway, this process won't detach. pyt=False doesn't work and I also
tried the solutions from here:
http://fabric.readthedocs.org/en/latest/faq.html
which include pty=False in addition to such things as this:
run("nohup yes >& /dev/null < /dev/null &")
but so far, no luck.
Any ideas welcome.
Pat
- [Fab-user] Detach grinder java process in fab.,
pat flaherty <=