Dear all¡G<div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>I am new in OpenNEbula.</div><div><br></div></blockquote><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>I have two machines, one is server, and the other one is client1.</div>
<div>1. server ¡GCentOS 6 + Opennebula 3.0.0</div><div>2. client1¡GCentOS 6 + XEN-kernel(2.6.32.56-1.el6xen.x86_64) +XEN</div><div><br></div><div>And both of the two machines I add user and group by the following 5 commands.</div>
<div><br></div><div><div>1. sudo mkdir -p /srv/cloud/</div><div>2. sudo groupadd -g 10000 cloud</div><div>3. sudo useradd -u 10000 -g cloud -m oneadmin -d /srv/cloud/one -s /bin/bash</div><div>4. sudo passwd oneadmin</div>
<div>5. sudo chown -R oneadmin:cloud /srv/cloud/</div></div><div><br></div><div>And I exchange the two machines public key by the following 2 commands.</div><div><div>1. ssh-keygen -t rsa</div><div>2. ssh-copy-id -i ~/.ssh/id_rsa.pub [hostname]</div>
</div><div><br></div><div>And the client1's xen is fine because I just try create VM alone on client1 itself by</div><div>"virt-install --prompt --network bridge=br0 --virt-type=xen".</div><div>and it looks fine.</div>
<div><div>[root@client1 images]# xm list</div><div>Name ID Mem VCPUs State Time(s)</div><div>Domain-0 0 1024 4 r----- 1430.7</div>
<div>cinmex3 6 1024 1 -b---- 11.8</div></div><div><br></div><div>And then, I setup the oned.conf in the following</div><div>###############oned.conf###############</div><div>
<div>HOST_MONITORING_INTERVAL = 5</div></div><div>VM_POLLING_INTERVAL = 10</div><div>SCRIPTS_REMOTE_DIR=/var/tmp/one</div><div><div>PORT = 2633</div><div>DB = [ backend = "sqlite" ]</div></div><div><div>VNC_BASE_PORT = 5900</div>
</div><div>DEBUG_LEVEL = 3</div><div><div>NETWORK_SIZE = 254</div><div>MAC_PREFIX = "02:00"</div></div><div><div>DEFAULT_IMAGE_TYPE = "OS"</div><div>DEFAULT_DEVICE_PREFIX = "hd"</div></div>
<div><div><font color="#ff0000">IM_MAD = [</font></div><div><font color="#ff0000"> name = "im_xen",</font></div><div><font color="#ff0000"> executable = "one_im_ssh",</font></div><div><font color="#ff0000"> arguments = "-r 0 -t 15 xen" ]</font></div>
</div><div><div><font color="#ff0000">VM_MAD = [</font></div><div><font color="#ff0000"> name = "vmm_xen",</font></div><div><font color="#ff0000"> executable = "one_vmm_exec",</font></div>
<div><font color="#ff0000"> default = "vmm_exec/vmm_xen.conf",</font></div><div><font color="#ff0000"> type = "xen" ]</font></div></div><div><div><font color="#ff0000">TM_MAD = [</font></div>
<div><font color="#ff0000"> name = "tm_shared",</font></div><div><font color="#ff0000"> executable = "one_tm",</font></div><div><font color="#ff0000"> arguments = "tm_shared/tm_shared.conf" ]</font></div>
</div><div><div>IMAGE_MAD = [</div><div> executable = "one_image",</div><div> arguments = "fs -t 15" ]</div></div><div><div>HM_MAD = [</div><div> executable = "one_hm" ]</div></div>
<div><div>AUTH_MAD = [</div><div> executable = "one_auth_mad",</div><div> arguments = "--authn ssh,x509,ldap,server_cipher,server_x509"</div><div># arguments = "--authz quota --authn ssh,x509,ldap,server_cipher,server_x509"</div>
<div>]</div></div><div>SESSION_EXPIRATION_TIME = 900</div><div><div>VM_RESTRICTED_ATTR = "CONTEXT/FILES"</div><div>VM_RESTRICTED_ATTR = "DISK/SOURCE"</div><div>VM_RESTRICTED_ATTR = "NIC/MAC"</div>
<div>VM_RESTRICTED_ATTR = "NIC/VLAN_ID"</div><div>VM_RESTRICTED_ATTR = "RANK"</div><div><br></div><div>IMAGE_RESTRICTED_ATTR = "SOURCE"</div></div><div>#####################END####################</div>
<div><br></div><div>But, the problem is when I create a host by the following cmmand.</div><div><br></div><div>[oneadmin@server etc]$ <font color="#ff0000">onehost create client1 im_xen vmm_xen tm_shared</font></div><div>
[oneadmin@server etc]$ onehost list</div><div><div> ID NAME RVM TCPU FCPU ACPU TMEM FMEM AMEM STAT</div><div> 5 client1 0
0 0 100 0K 0K 0K <font color="#ff0000">err</font></div></div><div><br></div><div><br></div><div>I don't know how to set my oned.conf file.</div><div>And I don't know whether my onehost create command is right or not.</div>
<div>Because I can not locate the im_xen file and vmm_xen file.</div><div>But I can locate tm_shared file.</div><div><br></div><div><div>[oneadmin@server etc]$ locate im_xen</div><div>[oneadmin@server etc]$ locate vmm_xen</div>
<div>[oneadmin@server etc]$ locate tm_shared</div><div>/etc/one/tm_shared</div><div>/etc/one/tm_shared/tm_shared.conf</div><div>/etc/one/tm_shared/tm_sharedrc</div><div>/srv/cloud/one/etc/tm_shared</div><div>/srv/cloud/one/etc/tm_shared/tm_shared.conf</div>
<div>/srv/cloud/one/etc/tm_shared/tm_sharedrc</div></div><div><br></div><div>Some one could give me a help??</div><div>Thank you!!</div></blockquote><div><br></div>-- <br>Regards,<br>
<font color="#888888"><br>
Te - Chin, Chang (±i¼w¶Ô), <a href="tel:%2B886-3-4227151%20%2357968" value="+88634227151" target="_blank">+886-3-4227151 #57968</a><br>
Networklab, Computer Science & Information Engineering,<br>
National Central University, Jhongli, Taiwan, R.O.C</font><br>
</div></div>