Service management of Sage - D
|
09-07-2016, 04:11 PM
Post: #7
|
|||
|
|||
RE: Service management of Sage
(09-07-2016 03:53 PM)lingu Wrote: It seems to be quite complex. Do we need to really pay that complexity? If so, please let me know and I'll review the design in detail. The code I post is actually the script I develop for shbio. It works well for more than one week. It is complex but robust. I hope you can check it, so that I can put it into our glad/sage code tree. You do not need to check every options of every command, because they work. But you'd better check the brief method. In brief, they are just a remote cmd wrapper for the start.sh/stop.sh/status.sh, except the function wait_sage_start, which uses auntie to check sage. (09-07-2016 03:55 PM)lingu Wrote: We still need to handle race condition for running multiple sage thinkers. But I think thinkers already have such conflict reporting capability. We just need to track the return status of start.sh and report an error as well as stop glad when errors occur. Good point. I will check it. (09-07-2016 03:58 PM)lingu Wrote:(07-12-2016 05:54 PM)YU_Xinjie Wrote: The brief idea is to use auntie to send a file to glad_portal. Then check the file content. It does not work. I already use the latest auntie. I report it in this thread: http://tab.d-thinker.org/showthread.php?tid=6506 |
|||
« Next Oldest | Next Newest »
|
- View a Printable Version
- Send this Thread to a Friend
- Subscribe to this thread
- Show the subscribers of this thread:
- Add subscribers to this thread: