Changes between Version 6 and Version 7 of GTD_Cloud_One_oper


Ignore:
Timestamp:
Mar 17, 2009, 11:36:22 AM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GTD_Cloud_One_oper

    v6 v7  
    1111// Server
    1212$ sudo groupadd xen
    13 $ sudo useradd -G xen oneadmin
     13$ sudo useradd -m -G xen oneadmin
    1414$ cd /var/yp ; sudo make
    1515$ id oneadmin
     
    2222 2.2 '''''__SSH Setup__'''''
    2323{{{
     24// Server
     25$ su oneadmin
     26$ ssh-keygen
    2427
     28// Client (cp id_rsa.pub from Server)
     29$ echo /home/oneadmin/.ssh/id_rsa.pub >> authorized_keys
    2530}}}
    26  * Add Host
     31
     32== 3. Host Add & VM submit ==
     33 3.1 '''''__Add Host__'''''
    2734{{{
    28 $ onehost create one im_xen vmm_xen tm_ssh
     35$ onehost create xen101 im_xen vmm_xen tm_ssh
    2936$ onehost list
    3037 HID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
    31    0 one                         0    400    400    400 6216704  130048   on
     38   0 xen101                      0    400    400    400 6216704  130048   on
    3239}}}
    3340
    34 == 4. Massively Deployment of Cluster ==
    35  * Refer to https://trac.nchc.org.tw/grid/wiki/jazz/DRBL_Xen
    36 
    37 == 5. Using OpenNEbula to submit VM ==
    38  * Create Image (We using xen-tools)
     41 3.2 '''''__Submit vm__'''''
     42   * Create Image (Using xen-tools)
    3943{{{
    4044$ sudo vim /etc/xen-tools
    41 $ sudo xen-create-image --hostname test1 --ip 140.110.X.X --acounts
     45$ sudo xen-create-image --hostname test1 --ip 140.X.X.X
    4246}}}
    43  * Configuration
     47   * Configuration
    4448{{{
    4549$ vim /home/images/domains/test1/test1.cfg
     
    5559     target="sda1",
    5660     readonly=no]
    57 DISK=[
    58      source="/home/images/domains/vm01/swap.img",
    59      target="sda2",
    60      readonly=no]
    6161NIC=[mac="00:16:3e:01:01:03"]
    6262
    6363}}}
    6464
    65  * Submit vm in OpenNEbula
     65   * Submit vm
    6666{{{
    6767$ sudo onevm submit test1.cfg