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:
-
Oct 26, 2009, 2:18:15 PM (16 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v41
|
v42
|
|
48 | 48 | $ sudo su |
49 | 49 | # ./setup_MPI_Cluster.sh |
| 50 | (需要輸入 3 個 IP) |
| 51 | |
50 | 52 | CTRL+D |
51 | 53 | }}} |
… |
… |
|
54 | 56 | * 使用 onevent 來協助管理 IP 的分配 |
55 | 57 | {{{ |
56 | | $ cd |
| 58 | $ cd /home/domains |
57 | 59 | $ sudo gedit network.one |
58 | 60 | }}} |
… |
… |
|
79 | 81 | * 編輯 mpi01 的設定檔 (主要修改 NIC 的 IP 和 MAC) |
80 | 82 | {{{ |
| 83 | $ cd /home/domains |
81 | 84 | $ gedit mpi01.one |
82 | 85 | }}} |
83 | 86 | {{{ |
84 | 87 | #!sh |
85 | | NAME = mpi01 |
86 | | CPU = 1 |
87 | | MEMORY = 128 |
88 | | OS = [ kernel = /boot/vmlinuz-2.6.26-2-xen-amd64, |
89 | | initrd = /boot/initrd.img-2.6.26-2-xen-amd64, |
90 | | root = sda2] |
91 | | DISK = [ source = /home/domains/mpi01.disk.img, |
92 | | clone = no, |
93 | | target = sda2, |
94 | | readonly = no] |
95 | | DISK = [ type = swap, |
96 | | size = 128, |
97 | | target = "sda1", |
98 | | readonly = "no" ] |
99 | | NIC=[IP="192.168.100.X", MAC="XX:XX:XX:XX:XX:XX"] |
| 88 | 15 NIC=[IP="192.168.100.X", MAC="XX:XX:XX:XX:XX:XX"] |
100 | 89 | }}} |
101 | 90 | * 編輯 mpi02 的設定檔 (主要修改 NIC 的 IP 和 MAC) |
… |
… |
|
105 | 94 | {{{ |
106 | 95 | #!sh |
107 | | NAME = mpi02 |
108 | | CPU = 1 |
109 | | MEMORY = 128 |
110 | | OS = [ kernel = /boot/vmlinuz-2.6.26-2-xen-amd64, |
111 | | initrd = /boot/initrd.img-2.6.26-2-xen-amd64, |
112 | | root = sda2] |
113 | | DISK = [ source = /home/domains/mpi02.disk.img, |
114 | | clone = no, |
115 | | target = sda2, |
116 | | readonly = no] |
117 | | DISK = [ type = swap, |
118 | | size = 128, |
119 | | target = "sda1", |
120 | | readonly = "no" ] |
121 | | NIC=[IP="192.168.100.Y", MAC="YY:YY:YY:YY:YY:YY"] |
| 96 | 15 NIC=[IP="192.168.100.Y", MAC="YY:YY:YY:YY:YY:YY"] |
122 | 97 | }}} |
123 | 98 | * 再編輯 mpi03 的設定檔 (主要修改 NIC 的 IP 和 MAC) |
… |
… |
|
127 | 102 | {{{ |
128 | 103 | #!sh |
129 | | NAME = mpi03 |
130 | | CPU = 1 |
131 | | MEMORY = 128 |
132 | | OS = [ kernel = /boot/vmlinuz-2.6.26-2-xen-amd64, |
133 | | initrd = /boot/initrd.img-2.6.26-2-xen-amd64, |
134 | | root = sda2] |
135 | | DISK = [ source = /home/domains/mpi03.disk.img, |
136 | | clone = no, |
137 | | target = sda2, |
138 | | readonly = no] |
139 | | DISK = [ type = swap, |
140 | | size = 128, |
141 | | target = "sda1", |
142 | | readonly = "no" ] |
143 | | NIC=[IP="192.168.100.Z", MAC="ZZ:ZZ:ZZ:ZZ:ZZ:ZZ"] |
| 104 | 15 NIC=[IP="192.168.100.Z", MAC="ZZ:ZZ:ZZ:ZZ:ZZ:ZZ"] |
144 | 105 | }}} |
145 | 106 | ---- |