[GE users] Starting qlicserver as a daemon

Olesen, Mark Mark.Olesen at emcontechnologies.com
Mon Nov 19 11:22:49 GMT 2007

    [ The following text is in the "X-UNKNOWN" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi Richard,

> I'm trying to start qlicserver as a daemon, and this works on the
> console, but as soon as I start it from an init script it dies after
> one run.

This is a feature and not a bug. The qlicserver cannot (should not) be run
as a daemon on its own. If a qmaster goes down in a controlled or
uncontrolled manner, we don't want the qlicserver to query it, or bombard it
with potentially incorrect qconf commands. Failover considerations also
speak against invoking it as a daemon. How does the original qmaster know to
shutdown the qlicserver when a shadow master takes over?

The only slightly recommended way to use qlicerver as a daemon is to start
it at the beginning of a load sensor script running on the qmaster.
The qlicserver daemon mode actually watches its parent process and will kill
itself off when the parent is gone. This seems to be a reasonable means of
tying the qlicserver and the qmaster somewhat together. I suppose it'd also
be possible to get the sge_qmaster pid and monitor that instead, but nobody
has seemed to care thus far.

MY preferred means is to run qlicerver from within a load sensor script. The
cached output values are incredibly useful to diagnose what's happening (the
qlic auxiliary program) and the failover issues are taken care of by
GridEngine itself.

This e-mail message and any attachments may contain 
legally privileged, confidential or proprietary Information, 
or information otherwise protected by law of EMCON 
Technologies, its affiliates, or third parties. This notice 
serves as marking of its ?Confidential? status as defined 
in any confidentiality agreements concerning the sender 
and recipient. If you are not the intended recipient(s), 
or the employee or agent responsible for delivery of this 
message to the intended recipient(s), you are hereby 
notified that any dissemination, distribution or copying 
of this e-mail message is strictly prohibited. 
If you have received this message in error, please 
immediately notify the sender and delete this e-mail 
message from your computer.

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list