[GE users] license integration: basic question
forum.san at gmail.com
Fri Apr 16 13:55:35 BST 2010
[ The following text is in the "iso-8859-1" character set. ]
[ Your display is set for the "ISO-8859-10" character set. ]
[ Some special characters may be displayed incorrectly. ]
Thanks for your quick reply
To run qlicserver as a loadsensor, how it can be done? Does mentioning the path of qlicserver in "load_sensor" entry of qconf -mconf command?
On Fri, Apr 16, 2010 at 4:30 PM, olesen <Mark.Olesen at faurecia.com<mailto:Mark.Olesen at faurecia.com>> wrote:
On Fri, 2010-04-16 at 15:56 +0530, sangamesh wrote:
> I'm implementing qlicserver, the Olesen method of license integration
> for ANSYS CFX & FLUENT apps by referring following link:
> I understand that, this method consist of three steps:
> (1) Create complexes by the name of license features, using qconf -mc
> (2) Create configuration file: qlicserver.config for qlicserver
> (3) Then run the daemon: ./qlicserver -d
> The content of qliceserver.config file is as follows:
> # cat qlicserver.config
> <?xml version="1.0"?>
> <parameters type="overwrite">
> name="LM_LICENSE_FILE">7241 at server1:1999 at server1:1055 at server1:27000 at server2</param>
> <!-- cfd applications -->
> <!-- ANSYS FLUENT -->
> <resource name="fluentall" served="fluentall" type="job" limit="10"
> note="All Fluent jobs"/>
> <resource name="fluent" served="fluent" type="job" limit="10"
> note="Fluent serial jobs"/>
> <resource name="fluent-par" served="fluent-par" type="job"
> limit="20" note="Fluent parallel jobs"/>
> <!-- ANSYS CFX -->
> <resource name="acfd_cfx_solver" served="acfd_cfx_solver"
> type="job" limit="10" note="CFX Solver"/>
> <resource name="acfd_par_proc" served="acfd_par_proc" type="job"
> limit="15" note="CFX Parallel"/>
> Is this the right procedure?
The only thing that we do slightly differently is to call qlicserver
from a load sensor instead of as a daemon. The site/qloadsensor provides
There are a few reasons that I favour this approach instead of using a
daemon. The most important is that it guarantees that the qlicserver
only runs when the sge_qmaster is running. It thus provides and
automatic start/stop mechanism without having to fiddle with
other /etc/rc.d scripts. It can handle failover to a shadow master.
Equally important is that the threaded query to multiple license servers
(like you have) doesn't behave quite correctly when one of the queries
times out (a Perl issue). Instead of just killing off one of the
threads, it mostly kills off all of the threads. If you encounter this
in daemon mode, you'll need an extra mechanism to monitor this potential
failure. Calling it from the qloadsensor, lets you avoid this extra
This electronic transmission (and any attachments thereto) is intended solely for the use of the addressee(s). It may contain confidential or legally privileged information. If you are not the intended recipient of this message, you must delete it immediately and notify the sender. Any unauthorized use or disclosure of this message is strictly prohibited. Faurecia does not guarantee the integrity of this transmission and shall therefore never be liable if the message is altered or falsified nor for any virus, interception or damage to your system.
To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net<mailto:users-unsubscribe at gridengine.sunsource.net>].
More information about the gridengine-users