Hey.

I usually unload the module on the client first, before killing vblade.
AFAIK, you can be pretty sure there will be no more requests to vblade
when the module is unloaded, so shutting down vblade using ctrl-c or a
signal should be fine.

As for keeping vblade running, I really recommend using "service controller",
such as supervisor or upstart.

I'm using supervisor, so I just drop a small configuration file in the
right directory,
and superviser will start and stop vblade when I need it to.
It will also output stdout and stderr from vblade to a file or syslog.

On Tue, May 15, 2012 at 5:24 PM, Charles Chou <cc...@kimberlite.com> wrote:
> Hi,
>     What is the proper way to gracefully shutdown an AOE session?  I
> have been just killing the vblade processes on the server and rmmod aoe
> on the client but this seems unnatural.
>
>      Also vblade is run as a foreground process as default. To make it
> run as a daemon I had to just put it in background with an & (I need to
> export more than one target). Is this the right way?
>
>     Lastly, where does the vblade log go? Do I need to explicitly do a
> re-direct of stdout/stderr?
>
> Thanks,
> Charles Chou
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Aoetools-discuss mailing list
> Aoetools-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss



-- 
Vennlig hilsen
Torbjørn Thorsen
Utvikler / driftstekniker

Trollweb Solutions AS
- Professional Magento Partner
www.trollweb.no

Telefon dagtid: +47 51215300
Telefon kveld/helg: For kunder med Serviceavtale

Besøksadresse: Luramyrveien 40, 4313 Sandnes
Postadresse: Maurholen 57, 4316 Sandnes

Husk at alle våre standard-vilkår alltid er gjeldende

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss

Reply via email to