Dear all¡G<div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>After I installed my ONE system.</div><div>There are 2 machines in my system.</div><div>one is Server : CentOS 6 + OpenNEbula</div><div>the other one is client1 : CentOS 6 + Xen-kernel</div>
<div><br></div><div>And now I want to locate a VM to Client1 through Server.</div><div>Here are my steps.</div><div>1. I refer this website to install my VM on client1. </div><div> <a href="http://www.howtoforge.com/virtualization-with-xen-on-centos-6.2-x86_64-paravirtualization-and-hardware-virtualization-p2">http://www.howtoforge.com/virtualization-with-xen-on-centos-6.2-x86_64-paravirtualization-and-hardware-virtualization-p2</a></div>
<div> After this step, I get cinmex1.img in my client1.</div><div>2. I copy cinemx1.img to /srv/cloud/one/cinmex1 in my ONE server. And create a cinmex1.one file. The content is following.</div><div> NAME = cinmex1</div>
<div> CPU = 1</div><div> MEMORY = 512</div><div> OS = [ kernel = /boot/vmlinuz-2.6.32.56-1.el6xen.x86_64,</div><div> initrd = /boot/initrd-2.6.32.56-1.el6xen.x86_64kdump.img,</div><div>
root = sda2]</div><div> DISK = [ source = /srv/cloud/one/cinmex1/cinmex1.img,</div><div> clone = no,</div><div> target = sda2,</div><div> readonly = no]</div>
<div> DISK = [ type = swap,</div><div> size = 128,</div><div> target = "sda1",</div><div> readonly = "no" ]</div><div> NIC=[IP="XX.XX.XX.XX", MAC="00:16:01:01:01:01"]</div>
<div><br></div><div>3. I command onevm create cinmex1.one, but the VM failed. :(</div><div> [oneadmin@server cinmex1]$ onevm create cinmex1.one</div><div> ID: 6</div><div> [oneadmin@server cinmex1]$ onevm list</div>
<div> ID USER GROUP NAME STAT CPU MEM HOSTNAME TIME</div><div> 6 oneadmin oneadmin cinmex1 fail 0 0K 00 00:00:02</div><div><br></div><div>My question is how to set the cinmex1.one file??</div>
<div>For example, what content should I set in the OS??</div><div>My /boot/grub/menu.lst in client1 is here.</div><div><div><br></div><div>default=0</div><div>timeout=5</div><div>splashimage=(hd0,0)/grub/splash.xpm.gz</div>
<div>hiddenmenu</div></div><div><div>title CentOS (2.6.32.56-1.el6xen.x86_64)</div><div> root (hd0,0)</div><div> kernel /xen.gz dom0_mem=1024M cpufreq=xen dom0_max_vcpus=4 dom0_vcpus_pin</div><div> module /vmlinuz-2.6.32.56-1.el6xen.x86_64 ro root=/dev/mapper/vg_client1-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_client1/lv_root rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=128M rd_LVM_LV=vg_client1/lv_swap KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM</div>
<div> module /initramfs-2.6.32.56-1.el6xen.x86_64.img</div></div><div><br></div><div>Someone can help me??</div><div><br></div><div><br></div></blockquote><div><br></div>-- <br>Regards,<br>
<font color="#888888"><br>
Te - Chin, Chang (±i¼w¶Ô), +886-3-4227151 #57968<br>
Networklab, Computer Science & Information Engineering,<br>
National Central University, Jhongli, Taiwan, R.O.C</font><br>
</div>