135 | | * 編輯 OpenNEbual 的 Virtual MPI Cluster 設定檔 (mpi02 & mpi03 依此類推) |
136 | | * 先編輯 mpi02 的設定檔 |
137 | | {{{ |
138 | | $ cp mpi01.one mpi02.one |
| 135 | * 編輯 OpenNEbual 的 Virtual MPI Cluster 設定檔 |
| 136 | * 編輯 mpi01 的設定檔 |
| 137 | {{{ |
| 138 | $ gedit mpi01.one |
| 139 | }}} |
| 140 | {{{ |
| 141 | #!sh |
| 142 | NAME = mpi01 |
| 143 | CPU = 1 |
| 144 | MEMORY = 128 |
| 145 | OS = [ kernel = /boot/vmlinuz-2.6.26-2-xen-amd64, |
| 146 | initrd = /boot/initrd.img-2.6.26-2-xen-amd64, |
| 147 | root = sda2] |
| 148 | DISK = [ source = /home/clouder/mpi01.disk.img, |
| 149 | clone = no, |
| 150 | target = sda2, |
| 151 | readonly = no] |
| 152 | DISK = [ type = swap, |
| 153 | size = 128, |
| 154 | target = "sda1", |
| 155 | readonly = "no" ] |
| 156 | NIC=[IP="192.X.X.X", MAC="50:20:20:20:XX:XX"] |
| 157 | }}} |
| 158 | * 編輯 mpi02 的設定檔 |
| 159 | {{{ |