Changes between Version 6 and Version 7 of GTD_Cloud_One_oper
- Timestamp:
- Mar 17, 2009, 11:36:22 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GTD_Cloud_One_oper
v6 v7 11 11 // Server 12 12 $ sudo groupadd xen 13 $ sudo useradd - G xen oneadmin13 $ sudo useradd -m -G xen oneadmin 14 14 $ cd /var/yp ; sudo make 15 15 $ id oneadmin … … 22 22 2.2 '''''__SSH Setup__''''' 23 23 {{{ 24 // Server 25 $ su oneadmin 26 $ ssh-keygen 24 27 28 // Client (cp id_rsa.pub from Server) 29 $ echo /home/oneadmin/.ssh/id_rsa.pub >> authorized_keys 25 30 }}} 26 * Add Host 31 32 == 3. Host Add & VM submit == 33 3.1 '''''__Add Host__''''' 27 34 {{{ 28 $ onehost create oneim_xen vmm_xen tm_ssh35 $ onehost create xen101 im_xen vmm_xen tm_ssh 29 36 $ onehost list 30 37 HID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT 31 0 one0 400 400 400 6216704 130048 on38 0 xen101 0 400 400 400 6216704 130048 on 32 39 }}} 33 40 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) 39 43 {{{ 40 44 $ sudo vim /etc/xen-tools 41 $ sudo xen-create-image --hostname test1 --ip 140. 110.X.X --acounts45 $ sudo xen-create-image --hostname test1 --ip 140.X.X.X 42 46 }}} 43 * Configuration47 * Configuration 44 48 {{{ 45 49 $ vim /home/images/domains/test1/test1.cfg … … 55 59 target="sda1", 56 60 readonly=no] 57 DISK=[58 source="/home/images/domains/vm01/swap.img",59 target="sda2",60 readonly=no]61 61 NIC=[mac="00:16:3e:01:01:03"] 62 62 63 63 }}} 64 64 65 * Submit vm in OpenNEbula65 * Submit vm 66 66 {{{ 67 67 $ sudo onevm submit test1.cfg