<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [one-users] Oracke VM (as cloud node) - host information are not properly inserted</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
   Thanks for your input. I am using "root" as a user. The following lines are available in sudors, but still the information are not properly inserted into tables<BR>
<BR>
root    ALL=(ALL)       ALL<BR>
 %xen  ALL=(ALL) NOPASSWD: /usr/bin/xm *<BR>
 %xen  ALL=(ALL) NOPASSWD: /usr/bin/xentop *<BR>
<BR>
The host_shares table also doesn't have memory and CPU info. host_shares record details for Oracle VM host as follows<BR>
<BR>
1||0|0|0|0|0|0|0<BR>
<BR>
I am new to opennebula. So I would like to know is their any way to debug this issue.<BR>
<BR>
I had gone through following user list mail to debug some other issue<BR>
<BR>
<A HREF="http://lists.opennebula.org/pipermail/users-opennebula.org/2008-April/000022.html">http://lists.opennebula.org/pipermail/users-opennebula.org/2008-April/000022.html</A><BR>
<BR>
let me know is their any steps to debug this issue as like mentioned in the above link.<BR>
<BR>
Note: The same opennebula works fine for open suse 11 with xen as a host machine.<BR>
<BR>
Regards<BR>
Marimuthu<BR>
Wipro Technologies<BR>
Bangalore<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Raul Sampedro [<A HREF="mailto:raul.sampedro@gmail.com">mailto:raul.sampedro@gmail.com</A>]<BR>
Sent: Mon 3/9/2009 4:46 PM<BR>
To: Marimuthu Balasubramanian (WT01 - Innovation Group)<BR>
Cc: users@lists.opennebula.org<BR>
Subject: Re: [one-users] Oracke VM (as cloud node) - host information are not properly inserted<BR>
<BR>
Hello,<BR>
<BR>
That sounds like you have to add your user to sudoers file in the "oracle host"<BR>
<BR>
cheers!<BR>
<BR>
On Mon, Mar 9, 2009 at 12:05 PM,  <marimuthu.balasubramanian@wipro.com> wrote:<BR>
> Hi,<BR>
><BR>
>   We are using Oracle VM as cloud node. we have done following steps<BR>
> we have successfully set the password less SSH from front machine to cloud<BR>
> node<BR>
> we have executed onehost command as follows.<BR>
> onehost create <ip> im_xen vmm_xen tm_ssh<BR>
> we are getting arch,host name & model name informations but we are unable to<BR>
> get the memory info and cpu info<BR>
><BR>
> please find the onehost show command below<BR>
><BR>
> HID      = 1<BR>
> HOSTNAME = 10.101.102.113<BR>
> IM MAD   = im_xen<BR>
> VMM MAD  = vmm_xen<BR>
> TM MAD   = tm_ssh<BR>
> MANAGED  = 1<BR>
> ATTRIBUTES<BR>
><BR>
>         ARCH=i686<BR>
>         HOSTNAME=d-154910.wipro.com<BR>
>         MODELNAME=Mobile AMD Athlon(tm) 64 Processor 3200+<BR>
> HOST SHARES<BR>
>         HID          = 1<BR>
>         ENDPOINT     =<BR>
>         MAX_CPU      = 0<BR>
>         MAX_MEMORY   = 0<BR>
>         MAX_DISK     = 0<BR>
>         CPU_USAGE    = 0<BR>
>         MEMORY_USAGE = 0<BR>
>         DISK_USAGE   = 0<BR>
>         RUNNING_VMS  = 0<BR>
><BR>
><BR>
> The host_attributes tables contains following records for the Oracle VM<BR>
> host.<BR>
><BR>
> 1|ARCH|0|i686<BR>
> 1|HOSTNAME|0|d-154910.wipro.com<BR>
> 1|MODELNAME|0|Mobile AMD Athlon(tm) 64 Processor 3200+<BR>
><BR>
> I went host Oracle VM host machine and executed the scripts under<BR>
> /tmp/ne_im_scripts/. it is working fine. find the manual execution results<BR>
> below for the ruby script.<BR>
> the host machine contains following ruby version --- ruby 1.8.7 (2008-08-11<BR>
> patchlevel 72) [i686-linux]<BR>
><BR>
><BR>
> [root@d-154910 ne_im_scripts]# ./ne_im-5c403641cf6491ea9093adae9ec4a2fe<BR>
> TOTALCPU=100<BR>
> CPUSPEED=1999<BR>
> TOTALMEMORY=982016<BR>
> FREEMEMORY=417792<BR>
> USEDMEMORY=564224<BR>
> USEDCPU=0<BR>
> FREECPU=100<BR>
> NETTX=246597<BR>
> NETRX=2198537<BR>
><BR>
> Please let me know how can i debug.<BR>
><BR>
><BR>
> Regards<BR>
> Marimuthu<BR>
> Wipro Technologies<BR>
> Bangalore<BR>
><BR>
> Please do not print this email unless it is absolutely necessary.<BR>
><BR>
> The information contained in this electronic message and any attachments to<BR>
> this message are intended for the exclusive use of the addressee(s) and may<BR>
> contain proprietary, confidential or privileged information. If you are not<BR>
> the intended recipient, you should not disseminate, distribute or copy this<BR>
> e-mail. Please notify the sender immediately and destroy all copies of this<BR>
> message and any attachments.<BR>
><BR>
> WARNING: Computer viruses can be transmitted via email. The recipient should<BR>
> check this email and any attachments for the presence of viruses. The<BR>
> company accepts no liability for any damage caused by any virus transmitted<BR>
> by this email.<BR>
><BR>
> www.wipro.com<BR>
><BR>
> _______________________________________________<BR>
> Users mailing list<BR>
> Users@lists.opennebula.org<BR>
> <A HREF="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR>
><BR>
><BR>
<BR>
<BR>
<BR>
</FONT>
</P>

<P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</BODY>
</HTML>