close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_delta.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 12, 2010, 11:36:30 AM (15 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v5
|
v6
|
|
29 | 29 | ---- |
30 | 30 | = 【SGE 安裝】 = |
| 31 | * SGE 的安裝主要分為兩種,互動式和自動式,第一次安裝時建議使用互動式安裝以了解 SGE 的必要參數和步驟,之後就可用 自動式 來安裝其他台。 |
31 | 32 | == [1. 下載 SGE binary] == |
32 | 33 | * http://gridengine.sunsource.net/downloads/latest.html |
… |
… |
|
34 | 35 | {{{ |
35 | 36 | $ su - |
| 37 | # chown root.root zxvf ge62u5_lx24-amd64.tar.gz |
36 | 38 | # tar zxvf ge62u5_lx24-amd64.tar.gz |
37 | 39 | # sudo mv ge6.2u5 /home |
… |
… |
|
52 | 54 | * 配置檔案權限 |
53 | 55 | {{{ |
54 | | # ./util/setfileperm.sh $SGE_ROO |
| 56 | # ./util/setfileperm.sh $SGE_ROOT |
55 | 57 | }}} |
56 | | == [2. 安裝 Master Host] == |
| 58 | == [2. 安裝 Master Host (互動式安裝)] == |
| 59 | {{{ |
| 60 | # cd $SGE_ROOT |
| 61 | # ./install_qmaster |
| 62 | }}} |
| 63 | * 他會依序詢問您相關的參數: |
| 64 | 1. license 問題按 [y] |
| 65 | 2. 一些注意事項 |
| 66 | 3. 選擇帳戶擁有者 (這邊是用 root) |
| 67 | 4. 輸入合法的使用者 (這邊是用 sgeadmin。若是沒有此使用者的話,可以用 useradd sgeadmin 產生) |
| 68 | 5. SGE_ROOT 路徑確認 (若是出現無法 create tmp dir ,可先 chmod 777 $SGE_ROOT -R,之後再用 ./util/setfileperm.sh $SGE_ROOT 改回來) |
| 69 | 6. 設定網路服務到 /etc/services (sge_qmaster、sge_execd) |
| 70 | 7. 設定 cell (這邊是用 default) |
| 71 | 8. 設定 cluster name (預設為 p6444) |
| 72 | 9. 設定 qmaster spool 路徑 |
| 73 | 10. 是否有 windows 系統要作為 execution host (這邊選[n]) |
| 74 | 11. 設定檔案權限 |
| 75 | 12. 選擇解析 dns 的方式 (這邊選[y]) |
| 76 | 13. 是否啟動 JMX Bean Server (這邊選[n]) |
| 77 | 14. 使用那種 spooling 模式 (這邊選[berkeleydb]) |
| 78 | 15. 設定 Berkeley DB Spooling Server,包含了 server 名稱和路徑 (另外開一個視窗來安裝 inst_sge -db) |
| 79 | 16. 輸入 group id range |
| 80 | 17. 設定 spool directory of the execution host |
| 81 | |
57 | 82 | |
58 | 83 | == [3. 安裝 Execution Host] == |