Sometimes you want to upgrade software and migrate hardware at the same time. If you want to do that with SGE, then you’re looking in the right place.
My architecture: old server SGE 6.1u2 on CentOS 5, migrating to SGE 6.2u3 on CentOS 5.3.
Upgrade Procedure
1) Download SGE onto the new server. If you’re feeling farsighted, fill out the Planning Checklist.
2) Unzip, untar, an set $SGE_ROOT to your untar’ed folder.
OldCentOS# export SGE_ROOT=/directory/to/sge/
Note: You may consider putting SGE root in an NFS directory in case you want to create a “high availability” fail-over environment. NFS may very well slow you down.
3) Find save_sge_config.sh and copy it over to the old host.
4) Create a copy of your configuration using save_sge_config.sh
OldCentOS# mkdir sge_config_folder
OldCentOS# /path/to/save_sge_config.sh sge_config_folder
5) Copy over your config folder
6) Edit save_config_folder/cell/qmaster and change the old hostname (OldCentOS) to the new hostname (NewCentOS). Otherwise you’ll get an error like this:
Upgrade must be started on a qmaster host!
7) Run upgrade
NewCentOS# $SGE_ROOT/inst_sge -upd
8) Follow prompts. This is when you should reach for that planning checklist from step 1.
9) Be patient. Depending on the size your configuration, certain portions might take a long time.
10) Check your install
NewCentOS# ps -ef | grep sge
NewCentOS# qstat -f
'Knowledge Base > Linux' 카테고리의 다른 글
우분투 pure-ftpd 설치 (0) | 2009.11.19 |
---|---|
SGE+OPENMP PE configuration (0) | 2009.11.10 |
mpich2 컴파일 옵션(mpd, smpd, gforker) (0) | 2009.08.31 |
Tight MPICH2 Integration in Grid Engine (0) | 2009.08.31 |
SYN Flooding, DoS 공격과 Ping을 막는 방법 (0) | 2009.08.27 |