Malcolm,

I still don't understand if Amazon stops machine properly or just emulates
power off.


> Question:
> Is there a remote command that can be given to gracefully shutdown SEDNA,
> or
> do I need to create a backdoor command?
>

As I said, "se_stop -hard" is enough to stop Sedna gracefully as soon as
possible.

Improve also script a little bit:


> do_stop()
> {
>    log_daemon_msg "Stopping $DESC"
>    if [ ! `$SPIDX` ]; then
>      log_daemon_msg "$DESC was not running in the first place."
>      log_end_msg 1
>    else

     sudo -u $USER nohup $SEDNA_HOME/bin/se_stop > /dev/null
>

Change "se_stop" --->  "se_stop -hard".

 stop)
>      do_stop_dbs
>

Don't need to stop databases there. Remove do_stop_dbs call.

     do_stop
>

 Ivan
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to