Service management of Sage - D
|
12-06-2016, 03:32 PM
Post: #31
|
|||
|
|||
RE: Service management of Sage - OMUD
(12-06-2016 01:35 PM)lingu Wrote:(12-06-2016 12:32 PM)YU_Xinjie Wrote: I suggest we add a "sage config VAR_NAME" command, so that app of Sage (such as GLAD) can query the config value easily. Do you mean "query Sage"? I am okay to use it. But I still do not know how to use it. Let us discuss it here: http://tab.d-thinker.org/showthread.php?...6#pid30046 Quote:Quote:It is needed for many situations: I replied in http://tab.d-thinker.org/showthread.php?...6#pid30046 Quote:Quote:2. GLAD needs the config.node info. It is needed in the shuffle tmp implementation. It is okay to delay the config.node info fetching. |
|||
12-26-2016, 08:46 PM
Post: #32
|
|||
|
|||
RE: Service management of Sage - OMUD
(12-06-2016 03:32 PM)YU_Xinjie Wrote:(12-06-2016 01:35 PM)lingu Wrote:(12-06-2016 12:32 PM)YU_Xinjie Wrote: I suggest we add a "sage config VAR_NAME" command, so that app of Sage (such as GLAD) can query the config value easily. glad can query sage config's values. We can use the same mechanism to let other apps query sage config values. Or maybe I misunderstood. Did you mean we let an app store the app's config value in sage? That's certainly a good idea. Of course, we need to discuss it more seriously because it is a new mechanism. Quote:Quote:Quote:2. GLAD needs the config.node info. It is a bit surprising to me. I will try to take a look at the shuffle design when there is a chance... |
|||
12-26-2016, 08:50 PM
Post: #33
|
|||
|
|||
RE: Service management of Sage - OMUD
Is the users' info officially in http://tab.d-thinker.org/showthread.php?tid=6197 ?
I suggest we remove 'U' in the tag in the title and point to that thread in the overview for the users' info. |
|||
01-12-2017, 06:55 PM
Post: #34
|
|||
|
|||
RE: Service management of Sage - OMUD
(07-12-2016 05:54 PM)YU_Xinjie Wrote: Users' info That links to OMUD info... seems strange. |
|||
01-12-2017, 07:05 PM
Post: #35
|
|||
|
|||
RE: Service management of Sage - OMUD
(01-12-2017 06:55 PM)lingu Wrote:(07-12-2016 05:54 PM)YU_Xinjie Wrote: Users' info Yes. The reason is we have 2 types of readers: 1. hututa persons like Zhiqiang. 2. shufangkeji persons like you & me. So we need to prepare 2 overview threads for them. Essentially, the overview in Rar is the one have full info. So I propose not to have 2 overview threads by the method in http://tab.d-thinker.org/showthread.php?...5#pid31325 |
|||
06-02-2017, 06:24 PM
Post: #36
|
|||
|
|||
RE: Service management of Sage - OD
@lingu Please review.
The driving example: http://tab.d-thinker.org/showthread.php?...9#pid41989 We needs to let sage complains to mayday when sage fails. The design is as follows: (07-12-2016 05:54 PM)YU_Xinjie Wrote: sage start |
|||
02-02-2018, 04:57 PM
Post: #37
|
|||
|
|||
RE: Service management of Sage - OD
(06-02-2017 06:24 PM)YU_Xinjie Wrote: @lingu Please review. But don't parse stdout log. I wonder why we dont have a simpler way. The idea of mayday log is to simplfy log examination. If a task fails, the task should write something in the mayday log. Then the calling routine's job is to just output mayday log. This avoids parsing think containers' log files. If think containers dont write mayday log now, we should improve them so that they write mayday log files. If we try to let another program help them write mayday log files, that would be a painful complicated solution. Quote:.. #Do some clean work In many cases, we want to keep those screens for debugging. Pls make the killing of the screens controllable by some options. The default behavior can be to kill the screens, but with some options we should be able to keep the screens upon failure. Those two screens seem to have the same name. It is very confusing. Pls fix it. |
|||
05-08-2019, 09:55 PM
Post: #38
|
|||
|
|||
RE: Service management of Sage - D
The src of the sage program is in cod://sage/src/service/bin/sage
|
|||
05-08-2019, 10:01 PM
Post: #39
|
|||
|
|||
RE: Service management of Sage - D
The sage program begins with the following logic.
Code: base=current dir I suggest we also learn /thinker/etc/soft/sage/mic.pcf but $base/config.pcf take precedence over /thinker/etc/soft/sage/mic.pcf RR xwcwt |
|||
05-09-2019, 10:37 AM
Post: #40
|
|||
|
|||
RE: Service management of Sage - D
(05-08-2019 10:01 PM)lingu Wrote: The sage program begins with the following logic. Good to me. Also I feel it will be Code: modname = sage Update into head-post. |
|||
« 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: