Changes between Version 4 and Version 5 of Installation
- Timestamp:
- 04/11/08 16:12:04 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Installation
v4 v5 13 13 * DHCP and DNS support to identify all VMs and CNs 14 14 15 == Unpack and install the Xen Grid Engine (XGE)==15 == Unpack and install == 16 16 Install the XGE with the top-level Makefile: 17 17 {{{ … … 31 31 }}} 32 32 Now follow the instructions provided by the SGE to compile and install it. Have a look into `gridengine/source/README.BUILD` for further information. Check if your SGE installation runs properly. Set up a test queue and run a job. Do not forget to install `execd` on all compute nodes. 33 34 == Configure the SGE ==35 To make the XGE work together with the SGE create a new queue (lets call it ''virtual'' here):36 37 {{{38 qconf -aq virtual39 }}}40 Replace the epilog line with the following:41 42 {{{43 epilog /home/jobs/sge_epilog_real.sh44 }}}45 This epilog script points is a wrapper epilog script executing the real epilog script, which is responsible for bringing the VMs down. You do not need to configure a prolog script, the default setting NONE is fine here. The actual prolog script is called from `qmaster` directly (via the provided patch).46 47 == Create a directory on shared storage ==48 To function properly the XGE needs a directory on shared (e.g. NFS) storage. The default location is `/home/jobs`, but you can choose another location. If you do so, do not forget to change the epilog path in your queue configuration.49 50 {{{51 mkdir -p /home/jobs52 }}}53 The path is configured in `/opt/xge/etc/xge.conf`:54 55 {{{56 gd = /home/jobs57 }}}58 Currently the job directory has to be mode 777:59 60 {{{61 chmod 777 /home/jobs62 }}}63 == Configure the XGE ==64 Edit `/opt/xge/etc/xge.conf` and adjust all variables to your personal settings.65 66 == Install the scripts ==67 Change the ''$vqueue'' variable in all sge_* scripts to the name you choose in step 3.68 69 Copy the `scripts/sge_epilog_*.sh` scripts to your shared storage location (`/home/jobs` by default). If you choose another location change the path in the scripts.70 71 == Install the virtual machines ==72 You need to install VMs on all compute nodes. The number of VMs on a single compute nodes depends on its power. We recommend installing one VM per CPU core (eg 4 cores -> 4 VMs). The VMs on every compute node are called placeholders. They need a SGE `execd` installed, NFS and LDAP access. The same applies to your ''real'' VMs. The placeholders will be replaced by the XGE on-the-fly with your own VMs.73 33 74 34 == Start the XGE ==