On Tue, Nov 17, 2015 at 04:56:29PM -0500, Michael Stauffer wrote:
>    SoGE 8.1.8
> 
>    Hi,
> 
>    What's the proper way to automatically initialize SGE on a rocks-managed
>    compute node after it's reinstalled? I recently upgraded my cluster from
>    rocks 6.1 to 6.2, and in the process moved from OGS to SoGE 8.1.8. With
>    that came a bunch of manual configuration steps for SoGE that rocks used
>    to handle with its bundled distro of (old) OGS.
> 
>    I have a number of steps to perform after a node comes up after a
>    reinstall. How should I do this to have it happen automatically? In an
>    /etc/init.d script? How do I get it into the distro in the right place?
>    Below are the steps I want to perform. Thanks for any advice.
This is more a Rocks question than a Grid Engine one.                           
                                                                                
                                                                                
           

However if ROCKS doesn't provide a suitable post-install script I'd suggest     
                                                                                
                                                                                
           
adding something to rc.local that calls a script which performs the tasks       
                                                                                
                                                                                
           
then removes its own execute permissions (so it only runs after first install).
> 
>    usermod -u 399 sgeadmin
> 
>    groupmod -g 399 sgeadmin
> 
>    echo "#manually added" >> /etc/fstab
> 
>    echo "<front-end>:/opt/sge                    /opt/sge    nfs        
>    defaults,noatime      0 0" >> /etc/fstab
> 
>    mount /opt/sge
> 
>     . /etc/profile.d/cfn-sge-env.sh
> 
>    cp $SGE_ROOT/default/common/sgeexecd /etc/init.d/sgeexecd.<cluster-name>
> 
>    /usr/lib/lsb/install_initd /etc/init.d/sgeexecd.<cluster-name>
> 
>    service sgeexecd.<cluster-name> start
> 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to