close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Apr 16, 2009, 4:53:28 PM (15 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v25
|
v26
|
|
1 | | = 叢集 = |
2 | | == 1.佈署成Cluster == |
| 1 | [[PageOutline]] |
| 2 | = 【建立 Xen Cluster】 = |
| 3 | == 1.佈署成 Cluster == |
3 | 4 | 1. 可使用 DRBL 或 !CloneZilla 來佈署 Cluster |
4 | 5 | 2. 此次為了方便,可直接使用隔壁桌的電腦 |
5 | 6 | ---- |
6 | 7 | == 2.第二台機器的設定 == |
7 | | * 更改第二台主機名稱 node02 |
| 8 | * '''''__2.1 更改第二台主機名稱為 node02__''''' |
8 | 9 | {{{ |
9 | 10 | $ sudo vim /etc/hostname |
| 11 | node02 |
| 12 | |
10 | 13 | $ sudo hostname -F /etc/hostname |
11 | 14 | CTRL + D |
… |
… |
|
13 | 16 | $ sudo /etc/init.d/gdm restart |
14 | 17 | }}} |
15 | | * 重複單機的 '''''0 ~ 4 步驟''''' |
16 | | * 確認 node01 和 node02 的 '''''/etc/hosts''''' 有 node01 和 node02 的資訊 |
| 18 | * '''''__2.2 重複單機的 0 ~ 4 步驟__''''' [https://trac.nchc.org.tw/grid/wiki/Reading/XenP/single 回到單機設定的頁面] |
| 19 | * '''''__2.3 確認 node01 和 node02 的 '''''/etc/hosts''''' 有 node01 和 node02 的資訊__''''' |
17 | 20 | {{{ |
18 | 21 | $ sudo vim /etc/hosts |
… |
… |
|
20 | 23 | 192.168.X.X node02 |
21 | 24 | }}} |
22 | | * 設定兩台的 '''''ssh auto login''''',讓 root 可以不需打密碼登入 node01 和 node02 |
| 25 | * '''''__2.4 設定兩台的 ssh auto login,讓 root 不需打密碼登入 node01 和 node02__''''' |
23 | 26 | {{{ |
24 | 27 | ### 在 node01 上執行 ### |
… |
… |
|
33 | 36 | CTRL + D |
34 | 37 | }}} |
35 | | * 設定共享的 '''''Storage''''' (本練習使用 NFS ,node01-> NFS Server, node02-> NFS Client) |
| 38 | * '''''__2.5 設定共享的 Storage__''''' (本練習使用 NFS ,node01-> NFS Server, node02-> NFS Client) |
36 | 39 | {{{ |
37 | 40 | ### node01 的設定 (192.X.X.X 為 node02 IP) ### |