Version 1 (modified by rock, 16 years ago) (diff) |
---|
叢集
1.佈署成Cluster
- 可使用 DRBL 或 CloneZilla 來佈署 Cluster
- 此次為了方便,可直接使用隔壁桌的電腦
2.第二台機器的設定
- 重複單機的 1 ~ 4 步驟
- 設定兩台的 auto login
$ ssh-keygen -P "" $ cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys $ scp -r ~/.ssh node02:~/ $ ssh node02 $ ssh node01 CTRL + D
3.安裝 ONE
- 3.1 安裝需要的套件
$ sudo aptitude install ruby sqlite3 libsqlite3-0 libsqlite3-dev libsqlite3-ruby \ libxmlrpc-c3 libxmlrpc-c3-dev scons g++ flex bison
- 3.2 下載 OpenNEbula 和安裝
$ tar zxvf one-1.2.0.tar.gz $ cd one-1.2.0 $ scons $ sudo mkdir /home/one $ sudo ./install.sh -d /home/one
- 3.3 配置 ONE
$ sudo vim /etc/profile export ONE_LOCATION=/home/one export ONE_XMLRPC=http://localhost:2633/RPC2 export PATH=$ONE_LOCATION/bin:$PATH
- 3.4 啟動 OpenNEbula
$ sudo $ONE_LOCATION/bin/one start
Attachments (2)
- ONE_demo.png (22.4 KB) - added by rock 16 years ago.
- ONE_demo_2.png (11.8 KB) - added by rock 16 years ago.
Download all attachments as: .zip