Hello Ivan,

Power-off
Reviewing the forums on the subject, Amazon's stop looks like an emulated
power off, similar to the power switch on a server or pc.

Amazon does not presently support a graceful shutdown as you described.


Remote
Sorry for the lack of communication on my part.  I'm looking for a remote
command that can be executed, not the command line "se_stop -hard".  


init.d 
I will make your suggested changes to the init.d script and then write
something to call the script with a remote command.


Thanks very much for the help and insight,
Malcolm

-----Original Message-----
From: Ivan Shcheklein [mailto:shchekl...@gmail.com] 
Sent: Monday, November 14, 2011 1:14 PM
To: Malcolm Davis
Cc: sedna-discussion@lists.sourceforge.net
Subject: Re: [Sedna-discussion] SEDNA WaitForProcess failed

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