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.

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


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

Reply via email to