星期四, 12月 02, 2004

Sun Grid Engine Installation Note

因為工作需要安裝的SGE 6(Sun Grid Engine),這邊是要log一些小東西
其實他們原有的安裝文件已經相當的清楚了,請參考http://docs.sun.com/app/docs/doc/817-6118/6mlhe9ad6?a=view

[前置作業]
1.設定service port
# vi /etc/services
sge_qmaster 536/tcp
sge_execd 537/tcp

2.download source from http://gridengine.sunsource.net
http://gridengine.sunsource.net/download/SGE60/sge-6.0u1-common.tar.gz
http://gridengine.sunsource.net/download/SGE60/sge-6.0u1-bin-lx24-x86.tar.gz

[安裝原始檔案]
# mkdir /opt/sge-root
# cd /opt/sge-root# tar zxvf /sge-6.0u1-common.tar.gz
# tar zxvf /sge-6.0u1-bin-lx24-x86.tar.gz
# export SGE_ROOT=/opt/sge-root/

[Install the Master Host]
# echo $SGE_ROOT
(If the $SGE_ROOT environment variable is not set, set it now, by typing:#export SGE_ROOT=/opt/sge-root/)
# ./util/setfileperm.sh $SGE_ROOT
(and type 'yes')
note:/etc/hosts 中localhost不得為127.0.0.1
Please enter a valid user name >> root
若在/etc/services中未設定port number,可以在詢問的時候輸入
其餘步驟依需要設定即可(可參考下面網址說明)
http://docs.sun.com/app/docs/doc/817-6118/6mlhe9adb?a=view
設定環境
[C shell] % source sge-root/cell/common/settings.csh
[Bourne shell or Korn shell] $ . sge-root/cell/common/settings.sh


[Install Execution Hosts]
# echo $SGE_ROOT
# cd $SGE_ROOT
# qconf -sh
# ./install_execd(依照說明設定或參考下列網址)
http://docs.sun.com/app/docs/doc/817-6118/6mlhe9adc?a=view

[Registering Administration Hosts]
% qconf -ah admin_host_name[,...]

[Registering Submit Hosts]
% qconf -as submit_host_name[,...]

[Install the Berkeley DB Spooling Server]
# echo $SGE_ROOT
# cd $SGE_ROOT
# sge-root/inst_sge -db(依照說明設定或參考下列網址)http://docs.sun.com/app/docs/doc/817-6118/6mlhe9adf?a=view


沒有留言: