[클러스터] Sun N1 Grid Engine 6.0 설치하기

Installation

Unpacking and initial setup

    * mkdir /usr/local/share/sge-6.0

    * Install binaries

    SGE_ROOT=/usr/local/share/sge-6.0; export SGE_ROOT

    cd ${SGE_ROOT}

    gzip -dc download/sge-6.0u1-common.tar.gz | tar xvpf –

    mkdir doc

    mv download/817-*.pdf ./doc

    gzip -dc download/sge-6.0u1-bin-tru64.tar.gz | tar xvpf –

    gzip -dc download/sge-6.0u1-bin-lx24-x86.tar.gz | tar xvpf –

    gzip -dc download/sge-6.0u1-bin-lx24-amd64.tar.gz | tar xvpf –

    gzip -dc download/sge-6.0u1-bin-darwin.tar.gz | tar xvpf –

    util/setfileperm.sh $SGE_ROOT

    * Create adminuser

    *

      On a Linux machine

         1. /usr/local/share/bin/ldap-admin

         2. Select ou=people

         3.

            Edit->Add Entry->qmailUser

            dn: uid=sgeadmin, ou=people, dc=fmrib,dc=ox,dc=ac,dc=uk

            mailMessageStore: /var/qmail/maildirs/sgeadmin/

            sn: SGE Admin

            loginShell: /bin/sh

            userPassword:: **************

            gidNumber: 1004

            uidNumber: 172

            displayName: SGE Admin

            mail: sgeadmin@fmrib.ox.ac.uk

            deliveryMode: localdelivery

            objectClass: top

            objectClass: person

            objectClass: inetOrgPerson

            objectClass: organizationalPerson

            objectClass: posixAccount

            objectClass: qmailUser

            uid: sgeadmin

            gecos: SGE Admin

            accountStatus: active

            mailHost: smtp.fmrib.ox.ac.uk

            cn: SGE Admin

            homeDirectory: /usr/people/sgeadmin

            mailQuota: 1000000S,100C

    *

      On cayenne

         1.

            Create NIS entry

            cat >> /var/yp/src/passwd

            sgeadmin:********:172:1004:SGE Admin:/usr/people/sgeadmin:/bin/sh

            CTRL-D

            (cd /var/yp; make)

         2.

            Create home directory

            mkdir /home/fs11/sgeadmin

            chown sgeadmin.systems /home/fs11/sgeadmin

            ln -s /home/fs11/sgeadmin /usr/people

         3.

            Edit /etc/services

            cat >> /etc/services

            sge_qmaster      536/tcp          # Sun Grid Engine queue master

            sge_execd        537/tcp          # Sun Grid Engine exec daemon

            CTRL-D

         4. Repeat last step on all cayenne hosts

Qmaster Installation

   1.

      Create a db spool dir and start the installation on the master host

      export SGE_ROOT=/usr/local/share/sge-6.0

      mkdir -p /var/sge/spooldb

      chown -R sgeadmin.systems /var/sge

      cd $SGE_ROOT

      ./install_qmaster

      Accept defaults except

          * User name to install as sgeadmin

          * Grid Engine group id range of 20000-20200

          * <administrator_mail> set to manager@fmrib.ox.ac.uk

          * Adding admin and submit hosts set to cayenne1 cayenne2 cayenne3

          * Do you want to add your shadow host(s) now? (y/n) [y] >> n

Installing an Execution Host

    On the master host

    qconf -ah <hostname>

    On the execution host:

        * Check that the following lines exist in /etc/services

    sge_qmaster      536/tcp          # Sun Grid Engine queue master

    sge_execd        537/tcp          # Sun Grid Engine exec daemon

        * Some hosts may need a specific entry in hosts for cayenne as follows:

    192.168.2.10    cayenne.fmrib.ox.ac.uk cayenne cayenne0

        * Create spooling directories:

    mkdir -p /var/sge

    chown sgeadmin /var/sge

        * Finally run the installer script:

    cd /usr/local/share/sge-6.0/

    export SGE_ROOT=/usr/local/share/sge-6.0/

    ./install_execd

    Accept defaults except

        * Do you want to configure a local spool directory for this host (y/n) [n] >> y

        * Enter path /var/sge

Notes

    *

      To set environment issue the following command

          o

            sh

            . /usr/local/share/sge-6.0/default/common/settings.sh

          o

            tcsh

            source /usr/local/share/sge-6.0/default/common/settings.csh

    * BEFORE you reinstall the server for any reason, you MUST stop the execution host daemons. Then after the install you must reinstall the execution hosts

Useful information

Grid Engine messages

——————–

Grid Engine messages can be found at:

   /tmp/qmaster_messages (during qmaster startup)

   /tmp/execd_messages   (during execution daemon startup)

After startup the daemons log their messages in their spool directories.

   Qmaster:     /usr/local/share/sge-6.0/default/spool/qmaster/messages

   Exec daemon: <execd_spool_dir>/<hostname>/messages

Grid Engine startup scripts

—————————

Grid Engine startup scripts can be found at:

   /usr/local/share/sge-6.0/default/common/sgemaster (qmaster and scheduler)

   /usr/local/share/sge-6.0/default/common/sgeexecd (execd)

Your Grid Engine qmaster installation is now completed

——————————————————

Please now login to all hosts where you want to run an execution daemon

and start the execution host installation procedure.

If you want to run an execution daemon on this host, please do not forget

to make the execution host installation in this host as well.

All execution hosts must be administrative hosts during the installation.

All hosts which you added to the list of administrative hosts during this

installation procedure can now be installed.

You may verify your administrative hosts with the command

   # qconf -sh

and you may add new administrative hosts with the command

   # qconf -ah <hostname>

서진우

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

페이스북/트위트/구글 계정으로 댓글 가능합니다.