[GE users] Question about patches/upgrade

Olesen, Mark Mark.Olesen at arvinmeritor.com
Fri Jan 27 09:19:40 GMT 2006


> I was kind of wondering if it was possible to install SGE in such a way
that it has a shared
> configuration directory (/home/sge/conf)  but the binaries are in a
version specific directory.
> (/home/sge/6.0u7/.....) So if anything breaks, you can easily revert to
the old version by switching 

Hi Jeroen,

We indeed do something like your were asking.

The init scripts point to $SGE_ROOT (SGE_ROOT=/opt/n1ge6), which is a link.

	/opt/n1ge6 -> /data/app/n1ge6

The 'apps' directory is an NFS volume with links.

	/data/app/n1ge-6.0u1
	/data/app/n1ge-6.0u6
	/data/app/n1ge-6.0u7
	/data/app/n1ge6 -> n1ge-6.0u6


The SGE_CELL=default and is the same for all the installations:

	/data/app/n1ge-6.0u6/default -> /export/home/cfdadmin/n1ge6/default
	/data/app/n1ge-6.0u7/default -> /export/home/cfdadmin/n1ge6/default
	/data/app/n1ge6/default -> /export/home/cfdadmin/n1ge6/default


Under the assumption that the configuration files do not change radically,
it is then possible to shutdown the daemons, move the link (/data/app/n1ge6)
and re-start the daemons.

It is thus possible to change the links for a few machines (the /opt/n1ge6
link) to create a second, parallel cluster for localized (preliminary)
testing purposes.

/mark

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