[one-users] Oracke VM (as cloud node) - host information are not properly inserted

Tino Vazquez tinova79 at gmail.com
Wed Mar 11 03:06:10 PDT 2009


Dear Marimuthu,

Glad to hear that. Could you please tell us which OS are you using for
the physical nodes?

Best regards,

-Tino

On Wed, Mar 11, 2009 at 10:48 AM,  <marimuthu.balasubramanian at wipro.com> wrote:
> Yesterday itself i found the issue. one-ssh file fires the commands using
> ssh -n option.
>
> The Oracle VM host machine configured in sudors with "Default requiretty".
> which is not allowing the commands to be executed over ssh using -n option.
>
> So i comment that line in sudors file. now it is working fine.
>
> Regards
> Marimuthu
> Wipro Technologies
> Bangalore
>
>
>
> -----Original Message-----
> From: Javier Fontan [mailto:jfontan at fdi.ucm.es]
> Sent: Tue 3/10/2009 6:43 PM
> To: Marimuthu Balasubramanian (WT01 - Innovation Group)
> Cc: users at lists.opennebula.org; rubensm at dacya.ucm.es
> Subject: Re: [one-users] Oracke VM (as cloud node) - host information
> are       not properly inserted
>
>
> Hello,
>
> Try to issue this command:
>
> $ ssh 10.101.102.113 /tmp/ne_im_scripts/
> ne_im-5c403641cf6491ea9093adae9ec4a2fe
>
> It will  give you more information about what is happening. Make sure
> that ruby is installed in the remote host.
>
> Bye
>
> On Mar 10, 2009, at 1:33 PM, marimuthu.balasubramanian at wipro.com wrote:
>
>> Hi,
>>
>>  Finally i found how to debug im. Find the debug details below.
>>
>> root at wipro-laptop:/opt/nebula# ./lib/mads/one_im_ssh.rb im_xen/
>> im_xen.conf
>> INIT
>> INIT SUCCESS
>> MONITOR 0 10.101.102.113
>> Could not execute remote script in 10.101.102.113: /tmp/
>> ne_im_scripts/ne_im-5c403641cf6491ea9093adae9ec4a2fe
>> MONITOR SUCCESS 0
>> ARCH=i686,HOSTNAME=d-154910.wipro.com,MODELNAME="Mobile AMD
>> Athlon(tm) 64 Processor 3200+"
>>
>> The issue is Could not execute remote script in 10.101.102.113: /tmp/
>> ne_im_scripts/ne_im-5c403641cf6491ea9093adae9ec4a2fe.
>>
>> But i am able to execute same script locally (from 10.101.102.113)
>>
>> Please let me know how can i debug further.
>>
>> Regards
>> Marimuthu
>> Wipro Technologies
>> Bangalore
>>
>>
>>
>> -----Original Message-----
>> From: Marimuthu Balasubramanian (WT01 - Innovation Group)
>> Sent: Tue 3/10/2009 2:49 PM
>> To: Raul Sampedro; users at lists.opennebula.org
>> Subject: RE: [one-users] Oracke VM (as cloud node) - host
>> information are not properly inserted
>>
>> Hi,
>>
>>    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
>>
>> root    ALL=(ALL)       ALL
>>  %xen  ALL=(ALL) NOPASSWD: /usr/bin/xm *
>>  %xen  ALL=(ALL) NOPASSWD: /usr/bin/xentop *
>>
>> The host_shares table also doesn't have memory and CPU info.
>> host_shares record details for Oracle VM host as follows
>>
>> 1||0|0|0|0|0|0|0
>>
>> I am new to opennebula. So I would like to know is their any way to
>> debug this issue.
>>
>> I had gone through following user list mail to debug some other issue
>>
>>
>> http://lists.opennebula.org/pipermail/users-opennebula.org/2008-April/000022.html
>>
>> let me know is their any steps to debug this issue as like mentioned
>> in the above link.
>>
>> Note: The same opennebula works fine for open suse 11 with xen as a
>> host machine.
>>
>> Regards
>> Marimuthu
>> Wipro Technologies
>> Bangalore
>>
>>
>>
>> -----Original Message-----
>> From: Raul Sampedro [mailto:raul.sampedro at gmail.com]
>> Sent: Mon 3/9/2009 4:46 PM
>> To: Marimuthu Balasubramanian (WT01 - Innovation Group)
>> Cc: users at lists.opennebula.org
>> Subject: Re: [one-users] Oracke VM (as cloud node) - host
>> information are not properly inserted
>>
>> Hello,
>>
>> That sounds like you have to add your user to sudoers file in the
>> "oracle host"
>>
>> cheers!
>>
>> On Mon, Mar 9, 2009 at 12:05 PM,
>> <marimuthu.balasubramanian at wipro.com> wrote:
>> > Hi,
>> >
>> >   We are using Oracle VM as cloud node. we have done following steps
>> > we have successfully set the password less SSH from front machine
>> to cloud
>> > node
>> > we have executed onehost command as follows.
>> > onehost create <ip> im_xen vmm_xen tm_ssh
>> > we are getting arch,host name & model name informations but we are
>> unable to
>> > get the memory info and cpu info
>> >
>> > please find the onehost show command below
>> >
>> > HID      = 1
>> > HOSTNAME = 10.101.102.113
>> > IM MAD   = im_xen
>> > VMM MAD  = vmm_xen
>> > TM MAD   = tm_ssh
>> > MANAGED  = 1
>> > ATTRIBUTES
>> >
>> >         ARCH=i686
>> >         HOSTNAME=d-154910.wipro.com
>> >         MODELNAME=Mobile AMD Athlon(tm) 64 Processor 3200+
>> > HOST SHARES
>> >         HID          = 1
>> >         ENDPOINT     =
>> >         MAX_CPU      = 0
>> >         MAX_MEMORY   = 0
>> >         MAX_DISK     = 0
>> >         CPU_USAGE    = 0
>> >         MEMORY_USAGE = 0
>
>> >         DISK_USAGE   = 0
>> >         RUNNING_VMS  = 0
>> >
>> >
>> > The host_attributes tables contains following records for the
>> Oracle VM
>> > host.
>> >
>> > 1|ARCH|0|i686
>> > 1|HOSTNAME|0|d-154910.wipro.com
>> > 1|MODELNAME|0|Mobile AMD Athlon(tm) 64 Processor 3200+
>> >
>> > I went host Oracle VM host machine and executed the scripts under
>> > /tmp/ne_im_scripts/. it is working fine. find the manual execution
>> results
>> > below for the ruby script.
>> > the host machine contains following ruby version --- ruby 1.8.7
>> (2008-08-11
>> > patchlevel 72) [i686-linux]
>> >
>> >
>> > [root at d-154910 ne_im_scripts]# ./
>> ne_im-5c403641cf6491ea9093adae9ec4a2fe
>> > TOTALCPU=100
>> > CPUSPEED=1999
>> > TOTALMEMORY=982016
>> > FREEMEMORY=417792
>> > USEDMEMORY=564224
>> > USEDCPU=0
>> > FREECPU=100
>> > NETTX=246597
>> > NETRX=2198537
>> >
>> > Please let me know how can i debug.
>> >
>> >
>> > Regards
>> > Marimuthu
>> > Wipro Technologies
>> > Bangalore
>> >
>> > Please do not print this email unless it is absolutely necessary.
>> >
>> > 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.
>> >
>> > 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.
>> >
>> > www.wipro.com
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>> >
>>
>>
>>
>>
>>
>>
>>
>> Please do not print this email unless it is absolutely necessary.
>>
>> 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.
>>
>> 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.
>>
>> www.wipro.com
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>
>
> Please do not print this email unless it is absolutely necessary.
>
> 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.
>
> 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.
>
> www.wipro.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



-- 
Constantino Vázquez, Grid Technology Engineer/Researcher:
http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list