[GE users] SGE SMF manifest

Mulley, Nikhil Nikhil.Mulley at deshaw.com
Fri Jan 18 08:35:56 GMT 2008


>>Also I don't like that Peter's manifest directly run the 
binaries as some logic done by the startup scripts (sgemaster, 
sgeexecd,...) is not executed anymore (and would need to be changed for 
6.1).

Yup, I was about to also quote the same. We use some startup logic to
determine the environment before starting the grid services... Like
determining whether the host is qmaster/schedd, or shadowd or execd host
depending on the output from a separate script which tells the node to
be exec host or qmaster host.

>>I try to make the spec document public soon.
That would be of great help. Thanks Erik and Lubos.

Nikhil

-----Original Message-----
From: Lubomir.Petrik at Sun.COM [mailto:Lubomir.Petrik at Sun.COM] 
Sent: Friday, January 18, 2008 2:03 PM
To: users at gridengine.sunsource.net
Subject: Re: [GE users] SGE SMF manifest

Hi Nikhil,
depends what you really want to achieve. If you just need that schedd is

started after it dies, this might be a way. But note that qconf -km, 
-ke, -kej will not work as SMF will automatically restart the services. 
Then you have to use just svcadm to control SGE processes! Also services

might not be restarted immediately as one would expect. If execd goes 
down (kill -9) and there are other processes running (like jobs), it 
will not be restarted until the last finishes.

Note that Peters manifest rely on entry in /etc/services. I'm not saying

that you can't use it. But the functionality is not complete in my 
opinion. Also I don't like that Peter's manifest directly run the 
binaries as some logic done by the startup scripts (sgemaster, 
sgeexecd,...) is not executed anymore (and would need to be changed for 
6.1).

I try to make the spec document public soon.

Lubos.

Peter Eriksson wrote:
> Please find enclosed the SMF manifest I use here. You'll need to
> search&replace "/pkg/sge/current" with your path to the SGE root.
>
> - Peter
>
>
> Mulley, Nikhil wrote:
>   
>> [I am changing the subject to reflect the topic, for the later ease
of
>> better search results]
>>
>> I know, in 6.2 release scheduler is going to be integrated into the
>> qmaster as the thread, that is going to ease some extent of handling
the
>> SMF way of the SGE binaries. 
>>
>> I would really love to see the SMF manifest specification for the
SGE,
>> perhaps for my SGE v6.1 installation.
>> I am hating to see my scheduler going awry and dying these days and
it
>> is bad to realize it at some point later myself to give kick in the
>> scheduler. It would have been really useful to have the scheduler
>> automatically start itself cause of courtesy SMF.
>>
>> I am in the process of writing a manifest myself for SGE v6.1, but it
>> would be really useful to see if somework has been done already on
this
>> that I could entail in my version of the document.
>>
>> Andreas/Lubos, could you please redirect me to the specification
>> document, if possible.
>>
>> Thanks again,
>> Nikhil
>>
>> -----Original Message-----
>> From: Lubomir.Petrik at Sun.COM [mailto:Lubomir.Petrik at Sun.COM] 
>> Sent: Thursday, January 17, 2008 5:54 PM
>> To: users at gridengine.sunsource.net
>> Subject: Re: [GE users] FW: [GE cvs] CVS update: /gridengine/,
>> /gridengine/source/dist/util/install_modules/
>>
>> Hi,
>> real SMF support for earlier SGE releases is not properly achievable
in 
>> my opinion. One could probably use SMF support and startup scripts
for 
>> 6.2 with 6.1, but especially execd would not behave properly. I do
not 
>> recommend to try to do it.
>>
>> Lubos.
>>
>> Andreas.Haas at Sun.COM wrote:
>>     
>>> Hi Nikhil,
>>>
>>> acutally with upcoming 6.2 SMF will be supported anyways on Solaris 
>>> 10. Whether one could tweak this in a way that it becomes somehow 
>>> applicable (manifests) for earlier SGE releases I can not judge, but

>>> there is a specification document that describes also details of the

>>> implementation. As of now this specification is not publicly 
>>> available, but there is no reason not to publish it.
>>>
>>> Regards,
>>> Andreas
>>>
>>>
>>> On Wed, 16 Jan 2008, Mulley, Nikhil wrote:
>>>
>>>       
>>>> Hi,
>>>>
>>>> So, is it like we can expect SMF support for the sge.. That's
really
>>>> great. Which version would support it?
>>>> Are there any live manifests in place yet? Could someone please
point
>>>>         
>> me
>>     
>>>> to more of these things? I am really interested in making SGE SMF
>>>> compliant.
>>>>
>>>> Thanks,
>>>> Nikhil
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: petrik at sunsource.net [mailto:petrik at sunsource.net]
>>>> Sent: Wednesday, January 16, 2008 9:48 PM
>>>> To: cvs at gridengine.sunsource.net
>>>> Subject: [GE cvs] CVS update: /gridengine/,
>>>> /gridengine/source/dist/util/install_modules/
>>>>
>>>> User: petrik
>>>> Date: 2008-01-16 08:18:21-0800
>>>> Modified:
>>>>   gridengine/Changelog
>>>>   gridengine/source/dist/util/install_modules/inst_common.sh
>>>>
>>>> Log:
>>>> LP-2008-01-16-0: Bugfix:   SMF was used in autoinstall with missing
>>>> SGE_ENABLE_SMF
>>>>                  Review:  CR
>>>>
>>>> File Changes:
>>>>
>>>> Directory: /gridengine/
>>>> =======================
>>>>
>>>> File [changed]: Changelog
>>>> Url:
>>>>
>>>>         
>>
http://gridengine.sunsource.net/source/browse/gridengine/Changelog?r1=1.
>>     
>>>> 4079&r2=1.4080
>>>> Delta lines:  +3 -0
>>>> -------------------
>>>> --- Changelog    2008-01-16 08:03:09-0800    1.4079
>>>> +++ Changelog    2008-01-16 08:18:18-0800    1.4080
>>>> @@ -1,3 +1,6 @@
>>>> +LP-2008-01-16-0: Bugfix:    SMF was used in autoinstall with
missing
>>>> SGE_ENABLE_SMF
>>>> +                 Review:    CR
>>>> +
>>>> EB-2008-01-16-0: Enhancem.: Added missing qconf manpage entries
>>>>                  Review:    JG
>>>>
>>>>
>>>> Directory: /gridengine/source/dist/util/install_modules/
>>>> ========================================================
>>>>
>>>> File [changed]: inst_common.sh
>>>> Url:
>>>>
>>>>         
>>
http://gridengine.sunsource.net/source/browse/gridengine/source/dist/uti
>>     
>>>> l/install_modules/inst_common.sh?r1=1.111&r2=1.112
>>>> Delta lines:  +18 -0
>>>> --------------------
>>>> --- inst_common.sh    2008-01-14 06:26:27-0800    1.111
>>>> +++ inst_common.sh    2008-01-16 08:18:19-0800    1.112
>>>> @@ -525,6 +525,9 @@
>>>> #
>>>> GetConfigFromFile()
>>>> {
>>>> +  SGE_ENABLE_SMF_LAST=$SGE_ENABLE_SMF
>>>> +  SGE_ENABLE_SMF=""
>>>> +
>>>>   IFS="
>>>> "
>>>>   if [ $FILE != "undef" ]; then
>>>> @@ -536,6 +539,12 @@
>>>>   IFS="
>>>> "
>>>>    CheckConfigFile
>>>> +
>>>> +   #-nosmf takes precedence over the value in the autoinstall
>>>>         
>> template
>>     
>>>> +   if [ "$SGE_ENABLE_SMF_LAST" = false ]; then
>>>> +      SGE_ENABLE_SMF=false;
>>>> +   fi
>>>> +
>>>>    if [ "$BACKUP" = "false" ]; then
>>>>       SGE_CELL=$CELL_NAME
>>>>       DB_SPOOLING_SERVER=`ResolveHosts $DB_SPOOLING_SERVER`
>>>> @@ -599,6 +608,15 @@
>>>>       exit 1
>>>>    fi
>>>>
>>>> +   if [ "$SGE_SMF_ENABLE" = "" ]; then
>>>> +      $INFOTEXT -log "The SGE_SMF_ENABLE has not been set in
config
>>>> file!\n"
>>>> +      #If -nosmf was specified we don't require the SGE_SMF_ENABLE
>>>>         
>> to
>>     
>>>> be set
>>>> +      if [ "$SGE_SMF_ENABLE_LAST" != false ]; then
>>>> +         MoveLog
>>>> +         exit 1
>>>> +      fi
>>>> +   fi
>>>> +
>>>>    if [ "$SGE_ENABLE_JMX" = true ]; then
>>>>       if [ -z "$JMX_PORT" -o -z "$SGE_JVM_LIB_PATH" ]; then
>>>>          $INFOTEXT -log "The JMX_PORT or SGE_JVM_LIB_PATH has not
>>>>         
>> been
>>     
>>>> set in config file!\n"
>>>>
>>>>
>>>>
>>>>
>>>>
---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: cvs-unsubscribe at gridengine.sunsource.net
>>>> For additional commands, e-mail: cvs-help at gridengine.sunsource.net
>>>>
>>>>
>>>>
---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>>>> For additional commands, e-mail:
users-help at gridengine.sunsource.net
>>>>
>>>>
>>>>         
>>> http://gridengine.info/
>>>
>>> Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551

>>> Kirchheim-Heimstetten
>>> Amtsgericht Muenchen: HRB 161028
>>> Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland
>>>       
>> Boemer
>>     
>>> Vorsitzender des Aufsichtsrates: Martin Haering
>>>
>>>
---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>>     

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


---------------------------------------------------------------------
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