Re: [one-users] 'onevm saveas' via XMLRPC or OCCI???

2011-02-09 Thread Carlos Martín Sánchez
Hi Marco,

The XML-RPC call requests an image id because the image has to be created
beforehand.
You can check how it is done in the oneimage command (it's a straight
forward ruby script), and then replicate the same steps in your code.

Regards,
Carlos.
--
Carlos Martín, Engineer, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | cmar...@opennebula.org


On 8 February 2011 17:03, Marco Strutz  wrote:

> Hello.
>
> What is the best way to map the "onevm saveas" command [1] to OCCI or
> XMLRPC-Request? I need to save vm images but want to avoid using the
> command line interface.
>
> I cannot simply use the xmlrpc-call  "one.vm.savedisk" [2] since I then
> would need to know the "image id where the disk will be saved". But this
> ID will be dynamically created by the "onevm saveas" command, right?
> Furthermore where should I place the  in the XMLRPC-call?
> The same problem with OCCI: Are there any attributes (perhaps for the
>  section) I can use for the "onevm saveas"?
>
>
>
> Thanks
> Marco
>
>
> [1]
> onevm saveas   
>
>
> [2]
> one.vm.savedisk
> 
> Type Data Type Description
> IN String the session string associated to the connected user. * *
> IN Int the virtual machine Id (vid) of the instance.
> IN Int disk id of the disk we want to save.
> IN Int image id where the disk will be saved.
> OUT Boolean true or false whenever is successful or not
> OUT String if an error occurs this is error message, otherwise
> it does not exist.
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] HELP installing opennebula in opensuse 11.3

2011-02-09 Thread mahirudin alkhoir
i have some problem ehen installing opennebula for opensuse.

Loading repository data...
> Reading installed packages...
> Resolving package dependencies...
>
> Problem: nothing provides ssh needed by opennebula-2.0.1-1.1.x86_64
>  Solution 1: do not install opennebula-2.0.1-1.1.x86_64
>  Solution 2: break opennebula by ignoring some of its dependencies
>

opennebula need ssh, but ssh is installed in my computer..

# rpm -qa | grep ssh
> libssh2-1-32bit-1.2.2_git200911281702-3.1.x86_64
> libssh2-1-1.2.2_git200911281702-3.1.x86_64
> yast2-sshd-2.18.0-5.2.noarch
> openssh-askpass-5.4p1-8.2.x86_64
> libnsssharedhelper0-1.0.9-1.10.x86_64
> pam_ssh-32bit-1.97-7.2.x86_64
> openssh-5.4p1-8.2.x86_64


please help,
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] A question...

2011-02-09 Thread saint
Am I right when I think that is oned that handles OCCI requests ?

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Laboratorio Ricerca e Sviluppo / Research & Development Lab.
Area Calcolo Distribuito / Distributed Computation Area

gianuberto.la...@eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569 |(unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri  |  David Korn, AT&T Bell Labs 

http://www.eng.it |  ioccc best One Liner, 1987 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] A question...

2011-02-09 Thread Paolo Smiraglia
> Am I right when I think that is oned that handles OCCI requests ?

You're wrong! The OCCI requests are handled by occi-server.

Best,

   PAOLO


-- 
PAOLO SMIRAGLIA
http://portale.isf.polito.it/paolo-smiraglia
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] A question...

2011-02-09 Thread saint
> "PS" == Paolo Smiraglia  writes:

>> Am I right when I think that is oned that handles OCCI requests ?
PS> You're wrong! The OCCI requests are handled by occi-server.

Thanks!

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Laboratorio Ricerca e Sviluppo / Research & Development Lab.
Area Calcolo Distribuito / Distributed Computation Area

gianuberto.la...@eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569 |(unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri  |  David Korn, AT&T Bell Labs 

http://www.eng.it |  ioccc best One Liner, 1987 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] HELP installing opennebula in opensuse 11.3

2011-02-09 Thread Héctor Sanjuán
Hi, it works for me with the following ssh related packages on a 32bit
machine:

rpm -qa | grep ssh
libssh4-0.4.2-1.19.i586
yast2-sshd-2.18.0-5.2.noarch
sshfs-2.2-5.1.i586
libssh2-1-1.2.6-6.1.i586
openssh-5.4p1-8.2.i586
openssh-askpass-5.4p1-8.2.i586

The only difference is that i have libssh4 in addition to libssh2.
Perhaps you can you try installing that one and see if that solves the
problem...


Héctor Sanjuan
OpenNebula.org

El 09/02/11 12:09, mahirudin alkhoir escribió:
> 
> i have some problem ehen installing opennebula for opensuse.
> 
> Loading repository data...
> Reading installed packages...
> Resolving package dependencies...
> 
> Problem: nothing provides ssh needed by opennebula-2.0.1-1.1.x86_64
>  Solution 1: do not install opennebula-2.0.1-1.1.x86_64
>  Solution 2: break opennebula by ignoring some of its dependencies
> 
> 
> opennebula need ssh, but ssh is installed in my computer..
> 
> # rpm -qa | grep ssh
> libssh2-1-32bit-1.2.2_git200911281702-3.1.x86_64
> libssh2-1-1.2.2_git200911281702-3.1.x86_64
> yast2-sshd-2.18.0-5.2.noarch
> openssh-askpass-5.4p1-8.2.x86_64
> libnsssharedhelper0-1.0.9-1.10.x86_64
> pam_ssh-32bit-1.97-7.2.x86_64
> openssh-5.4p1-8.2.x86_64
> 
> 
> please help,
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Cannot launch a Second VM in XEN Node with LVM

2011-02-09 Thread anoop Lekshmanan
Hi,

I have successfully launched a VM on XEN node with LVM. However when I try
to launch another instance, ONE tries to create LV named lv-one--0 which
already exists as ONE created it for first VM.

vm.log:

 Creating LV lv-one--0
Wed Feb  9 17:00:01 2011 [TM][I]: tm_clone.sh: ERROR: Command "/usr/bin/ssh
ast-wks-348 /usr/bin/sudo /sbin/lvcreate -L20G -n lv-one--0 vg00" failed.
Wed Feb  9 17:00:01 2011 [TM][I]: tm_clone.sh: ERROR:   Logical volume
"lv-one--0" already exists in volume group "vg00"
Wed Feb  9 17:00:01 2011 [TM][E]: Error excuting image transfer script:
Logical volume "lv-one--0" already exists in volume group "vg00"


Is this a ONE bug?

Any help would be appreciated.


Thanks,
Anoop
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] SSH error

2011-02-09 Thread Zeeshan Ali Shah

Hi Ruben  ,
thanks for answer ,

But if i have 10 kernels and 10 nodes , is there any easy way to 
transfer kernels beside NFS ..


in Eucalyptus we can upload kernel and initrd alongwith image in 
repository , any way to do the same in opennebula ..?



BR

Zeeshan

On 02/08/2011 06:31 PM, Ruben Diez wrote:

You must copy the kernel on the correct path to every physical nodes

You can use a tool like parallel-scp ( 
http://code.google.com/p/parallel-ssh/ ) for do this... (perhaps your 
distro have a package for parallel-ssh)


Other possibility is use full virtualization and not 
paravirtualization


Regards

Zeeshan Ali Shah escribió:

Hi, When creating vm i am getting this
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 
nebula1:/srv/cloud/one/var//0/images/disk.0
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: DST: 
/srv/cloud/one/var//0/images/disk.0
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Creating directory 
/srv/cloud/one/var//0/images
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh 
nebula1 mkdir -p /srv/cloud/one/var//0/images".
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Cloning 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 

Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 
nebula1:/srv/cloud/one/var//0/images/disk.0".
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh 
nebula1 chmod a+rw /srv/cloud/one/var//0/images/disk.0".

Tue Feb  8 11:43:07 2011 [LCM][I]: New VM state is BOOT
Tue Feb  8 11:43:07 2011 [VMM][I]: Generating deployment file: 
/srv/cloud/one/var/0/deployment.0
Tue Feb  8 11:43:08 2011 [VMM][I]: Command execution fail: 'if [ -x 
"/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy 
/srv/cloud/one/var//0/images/deployment.0; 
else  exit 42; fi'

Tue Feb  8 11:43:08 2011 [VMM][I]: STDERR follows.
Tue Feb  8 11:43:08 2011 [VMM][I]: Error: Kernel image does not 
exist: */srv/cloud/one/ttylinux-xen/vmlinuz-xen*

Tue Feb  8 11:43:08 2011 [VMM][I]: ExitCode: 1
Tue Feb  8 11:43:08 2011 [VMM][E]: Error deploying virtual machine: 
Error: Kernel image does not exist: 
/srv/cloud/one/ttylinux-xen/vmlinuz-xen

Tue Feb  8 11:43:08 2011 [DiM][I]: New VM state is FAILED


In my vmtemplate it has kernel   = 
"/srv/cloud/one/ttylinux-xen/vmlinuz-xen",

  initrd   = "/srv/cloud/one/ttylinux-xen/initrd.gz",


Now as i am using SSH (with out NFS) on Nodes the location 
/srv/cloud/one/ttylinux-xen does not exist since I only untar it on 
Front End.


Am I missing something ?

Thanks in advance.

Zeeshan



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





--
Regards

Zeeshan Ali Shah
System Administrator
PDC-Center for High Performance Computing
KTH-Royal Institute of Technology , Sweden
+46 8 790 9115

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] SSH error

2011-02-09 Thread Ruben Diez

Hi Zeeshan

You MUST put the kernels in all the nodes. You can use the parallel-scp 
stuff or export them to all the nodes by NFS... It is your decision... 
The concrete mechanism is not the matter... The important stuff is to 
make kernels accessible by all the physical nodes


Regards

Zeeshan Ali Shah escribió:

Hi Ruben  ,
thanks for answer ,

But if i have 10 kernels and 10 nodes , is there any easy way to 
transfer kernels beside NFS ..


in Eucalyptus we can upload kernel and initrd alongwith image in 
repository , any way to do the same in opennebula ..?



BR

Zeeshan

On 02/08/2011 06:31 PM, Ruben Diez wrote:

You must copy the kernel on the correct path to every physical nodes

You can use a tool like parallel-scp ( 
http://code.google.com/p/parallel-ssh/ ) for do this... (perhaps your 
distro have a package for parallel-ssh)


Other possibility is use full virtualization and not 
paravirtualization


Regards

Zeeshan Ali Shah escribió:

Hi, When creating vm i am getting this
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 
nebula1:/srv/cloud/one/var//0/images/disk.0
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: DST: 
/srv/cloud/one/var//0/images/disk.0
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Creating directory 
/srv/cloud/one/var//0/images
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed 
"/usr/bin/ssh nebula1 mkdir -p /srv/cloud/one/var//0/images".
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Cloning 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 

Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed 
"/usr/bin/scp 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 
nebula1:/srv/cloud/one/var//0/images/disk.0".
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed 
"/usr/bin/ssh nebula1 chmod a+rw /srv/cloud/one/var//0/images/disk.0".

Tue Feb  8 11:43:07 2011 [LCM][I]: New VM state is BOOT
Tue Feb  8 11:43:07 2011 [VMM][I]: Generating deployment file: 
/srv/cloud/one/var/0/deployment.0
Tue Feb  8 11:43:08 2011 [VMM][I]: Command execution fail: 'if [ -x 
"/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy 
/srv/cloud/one/var//0/images/deployment.0; 
else  exit 42; fi'

Tue Feb  8 11:43:08 2011 [VMM][I]: STDERR follows.
Tue Feb  8 11:43:08 2011 [VMM][I]: Error: Kernel image does not 
exist: */srv/cloud/one/ttylinux-xen/vmlinuz-xen*

Tue Feb  8 11:43:08 2011 [VMM][I]: ExitCode: 1
Tue Feb  8 11:43:08 2011 [VMM][E]: Error deploying virtual machine: 
Error: Kernel image does not exist: 
/srv/cloud/one/ttylinux-xen/vmlinuz-xen

Tue Feb  8 11:43:08 2011 [DiM][I]: New VM state is FAILED


In my vmtemplate it has kernel   = 
"/srv/cloud/one/ttylinux-xen/vmlinuz-xen",

  initrd   = "/srv/cloud/one/ttylinux-xen/initrd.gz",


Now as i am using SSH (with out NFS) on Nodes the location 
/srv/cloud/one/ttylinux-xen does not exist since I only untar it on 
Front End.


Am I missing something ?

Thanks in advance.

Zeeshan

 



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org







___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] SSH error

2011-02-09 Thread Zeeshan Ali Shah
what about  extending tm driver for ssh which copy the needed kernel 
alongwith images to node ?


Zeeshan

On 02/09/2011 01:30 PM, Ruben Diez wrote:

Hi Zeeshan

You MUST put the kernels in all the nodes. You can use the 
parallel-scp stuff or export them to all the nodes by NFS... It is 
your decision... The concrete mechanism is not the matter... The 
important stuff is to make kernels accessible by all the physical 
nodes


Regards

Zeeshan Ali Shah escribió:

Hi Ruben  ,
thanks for answer ,

But if i have 10 kernels and 10 nodes , is there any easy way to 
transfer kernels beside NFS ..


in Eucalyptus we can upload kernel and initrd alongwith image in 
repository , any way to do the same in opennebula ..?



BR

Zeeshan

On 02/08/2011 06:31 PM, Ruben Diez wrote:
You must copy the kernel on the correct path to every physical 
nodes


You can use a tool like parallel-scp ( 
http://code.google.com/p/parallel-ssh/ ) for do this... (perhaps 
your distro have a package for parallel-ssh)


Other possibility is use full virtualization and not 
paravirtualization


Regards

Zeeshan Ali Shah escribió:

Hi, When creating vm i am getting this
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 
nebula1:/srv/cloud/one/var//0/images/disk.0
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: DST: 
/srv/cloud/one/var//0/images/disk.0
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Creating directory 
/srv/cloud/one/var//0/images
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed 
"/usr/bin/ssh nebula1 mkdir -p /srv/cloud/one/var//0/images".
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Cloning 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 

Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed 
"/usr/bin/scp 
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 
nebula1:/srv/cloud/one/var//0/images/disk.0".
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed 
"/usr/bin/ssh nebula1 chmod a+rw /srv/cloud/one/var//0/images/disk.0".

Tue Feb  8 11:43:07 2011 [LCM][I]: New VM state is BOOT
Tue Feb  8 11:43:07 2011 [VMM][I]: Generating deployment file: 
/srv/cloud/one/var/0/deployment.0
Tue Feb  8 11:43:08 2011 [VMM][I]: Command execution fail: 'if [ -x 
"/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy 
/srv/cloud/one/var//0/images/deployment.0; 
else  exit 42; fi'

Tue Feb  8 11:43:08 2011 [VMM][I]: STDERR follows.
Tue Feb  8 11:43:08 2011 [VMM][I]: Error: Kernel image does not 
exist: */srv/cloud/one/ttylinux-xen/vmlinuz-xen*

Tue Feb  8 11:43:08 2011 [VMM][I]: ExitCode: 1
Tue Feb  8 11:43:08 2011 [VMM][E]: Error deploying virtual machine: 
Error: Kernel image does not exist: 
/srv/cloud/one/ttylinux-xen/vmlinuz-xen

Tue Feb  8 11:43:08 2011 [DiM][I]: New VM state is FAILED


In my vmtemplate it has kernel   = 
"/srv/cloud/one/ttylinux-xen/vmlinuz-xen",

  initrd   = "/srv/cloud/one/ttylinux-xen/initrd.gz",


Now as i am using SSH (with out NFS) on Nodes the location 
/srv/cloud/one/ttylinux-xen does not exist since I only untar it on 
Front End.


Am I missing something ?

Thanks in advance.

Zeeshan

 



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org










--
Regards

Zeeshan Ali Shah
System Administrator
PDC-Center for High Performance Computing
KTH-Royal Institute of Technology , Sweden
+46 8 790 9115

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] HELP installing opennebula in opensuse 11.3

2011-02-09 Thread mahirudin alkhoir
On Wed, Feb 9, 2011 at 6:37 PM, Héctor Sanjuán wrote:

> Hi, it works for me with the following ssh related packages on a 32bit
> machine:
>
> rpm -qa | grep ssh
> libssh4-0.4.2-1.19.i586
> yast2-sshd-2.18.0-5.2.noarch
> sshfs-2.2-5.1.i586
> libssh2-1-1.2.6-6.1.i586
> openssh-5.4p1-8.2.i586
> openssh-askpass-5.4p1-8.2.i586
>
> The only difference is that i have libssh4 in addition to libssh2.
> Perhaps you can you try installing that one and see if that solves the
> problem...
>
>
> Héctor Sanjuan
> OpenNebula.org
>
> El 09/02/11 12:09, mahirudin alkhoir escribió:
> >
> > i have some problem ehen installing opennebula for opensuse.
> >
> > Loading repository data...
> > Reading installed packages...
> > Resolving package dependencies...
> >
> > Problem: nothing provides ssh needed by opennebula-2.0.1-1.1.x86_64
> >  Solution 1: do not install opennebula-2.0.1-1.1.x86_64
> >  Solution 2: break opennebula by ignoring some of its dependencies
> >
> >
> > opennebula need ssh, but ssh is installed in my computer..
> >
> > # rpm -qa | grep ssh
> > libssh2-1-32bit-1.2.2_git200911281702-3.1.x86_64
> > libssh2-1-1.2.2_git200911281702-3.1.x86_64
> > yast2-sshd-2.18.0-5.2.noarch
> > openssh-askpass-5.4p1-8.2.x86_64
> > libnsssharedhelper0-1.0.9-1.10.x86_64
> > pam_ssh-32bit-1.97-7.2.x86_64
> > openssh-5.4p1-8.2.x86_64
> >
> >
> > please help,
> >
> >
> >
> > ___
> > Users mailing list
> > Users@lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>


its not solving the problem...
i try to install libssh4

# zypper in libssh4

after sucessfully installing libssh4, i try to install opennebula

# zypper in opennebula

Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides ssh needed by opennebula-2.0.1-1.1.x86_64
 Solution 1: do not install opennebula-2.0.1-1.1.x86_64
 Solution 2: break opennebula by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c):

any solution??
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Using LVM as storage option.

2011-02-09 Thread Leong Marco
Hi all,

I'm new to OpenNebula, and I does not get a clear idea from official 
documentation about LVM deployment. I have a few questions that I would like to 
be answered.
How do I register an virtual machine image template in LVM?
Is it possible to add existing virtual machine which is currently using LVM as 
storage into OpenNebula, and how could I do that?


Thank You !!

Best regards,
Leong Marco




___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] New sharedlvm Transfer Manager driver

2011-02-09 Thread Roberto Sassu
Hi all

me and Paolo developed a new Transfer Manager driver in
order to add support for LVM on a shared storage
repository. 
Please consider this driver is in a very early development
stage, so it is not guaranteed it works for all possible
configurations.
Another important thing is that, because this driver uses
LVM without the clustering extensions, it may be possible
to experience LVM metadata corruption (however, this
never happened in our test cloud).

This driver requires:

- iSCSI target on one node (IMPORTANT!! Add this option: write-cache off);
- iSCSI initiators on all nodes (frontend + other cluster nodes);
- LVM with file-based locking enabled.

Steps required to enable the driver:

1) Edit the configuration file /etc/lvm/lvm.conf in the host that exports
the device and set the "filter" parameter by replacing the involved line 
with:

filter = [ "r||" ]

This is required in order to prevent LVM to access the exported device 
without
passing from the iSCSI interface.


2) Extract the content of the attached tarball to $ONE_LOCATION;

3) Set the LVM volume group name in the file 
$ONE_LOCATION/etc/tm_sharedlvm/tm_lvmrc
 by editing the variable VG_NAME;

4) Add these lines to the configuration file $ONE_LOCATION/etc/oned.conf:

TM_MAD = [
name   = "tm_sharedlvm",
executable = "one_tm",
arguments  = "tm_sharedlvm/tm_lvm.conf" ]


5) Remove all cluster nodes added with the "onehost" utility;

6) Re-add all cluster nodes to the cloud by executing:

onehost createtm_sharedlvm


6) Enjoy it!


Regards

Roberto Sassu
Paolo Smiraglia


tm_sharedlvm.tar.bz2
Description: application/bzip-compressed-tar


smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Incomplete information from hosts polling (VMWare ESXi 4.1 an OpenNebula 2.0.1)

2011-02-09 Thread Luigi Fortunati
Thanks Tino,
That is probably more a problem of libvirt, since VMWare IM Driver use it in
order to access information about the hosts.
In order to get information about the hosts OpenNebula launches a virsh
command and parses the output.
The script that does this work is located in $ONE_LOCATION/lib/remotes/im
and the output of the virsh command is:
oneadmin@custom2:~/lib/remotes/im$ virsh -c esx://
custom6.sns.it/?no_verify=1 nodeinfo
Enter username for custom6.sns.it [root]:
Enter root's password for custom6.sns.it:
CPU model:   AMD Opteron(tm) Processor 246
CPU(s):  2
CPU frequency:   1992 MHz
CPU socket(s):   2
Core(s) per socket:  1
Thread(s) per core:  1
NUMA cell(s):2
Memory size: 2096460 kB

I always get the same output, no matter how many VMs are running on the
cluster node.
That is why OpenNebula returns with an output like this:

oneadmin@custom2:~/var/96$ onehost show 1
HOST 1 INFORMATION

ID: 1
NAME  : custom6.sns.it
CLUSTER   : default
STATE : MONITORING
IM_MAD: im_vmware
VM_MAD: vmm_vmware
TM_MAD: tm_vmware

HOST SHARES

MAX MEM   : 2096460
USED MEM (REAL)   : 0
USED MEM (ALLOCATED)  : 0
MAX CPU   : 200
USED CPU (REAL)   : 0
USED CPU (ALLOCATED)  : 0
RUNNING VMS   : 1

MONITORING INFORMATION

CPUSPEED=1992
HYPERVISOR=vmware
TOTALCPU=200
TOTALMEMORY=2096460

OpenNebula polls cluster nodes periodically and gets only information about
hypervisor type, cpu frequency, total cpu, total memory size.
The limitation here is caused by libvirt (virsh) which is unable to return
more information about the actual usage of resources.

The integration of OpenNebula with Xen can rely on ssh access to the cluster
nodes.
The IM Driver for Xen hypervisors, launches xentop on every cluster node in
order to get information about the VMs and then parses the output.
As an example here is the output of commands xm and xentop (some info is
purged):
custom9:/ # xentop -bi2
  NAME  STATE   CPU(sec) CPU(%) MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
VCPUS NETS NETTX(k) NETRX(k)
  Domain-0 -r1020.01930260   93.7   no limit   n/a
  2000
  NAME  STATE   CPU(sec) CPU(%) MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
VCPUS NETS NETTX(k) NETRX(k)
  Domain-0 -r1020.31930260   93.7   no limit   n/a
  2000

custom9:/ # xm info
host   : custom9
release: 2.6.34.7-0.5-xen
version: #1 SMP 2010-10-25 08:40:12 +0200
machine: x86_64
nr_cpus: 2
nr_nodes   : 2
cores_per_socket   : 1
threads_per_core   : 1
cpu_mhz: 1991
[...]
total_memory   : 2011
free_memory: 135
free_cpus  : 0
max_free_memory: 1508
max_para_memory: 1504
max_hvm_memory : 1492
[...]

The script $ONE_LOCATION/lib/remotes/im/xen.d/xen.rb parses those two
outputs and retrieves data about memory, cpu, and network usage.

I think that VMWare drivers are scarcely useful if they can't provide the
degree of information which can be achieved with xen hypervisors and
OpenNebula, I've tested the effects of this issue in my tests.

On Tue, Feb 8, 2011 at 6:34 PM, Tino Vazquez  wrote:

> Hi Luigi,
>
> There is a bug in the IM driver for VMware, is not reporting the Free
> memory at all. I've opened a ticket to keep track of the issue [1], it
> will be solved in the next release.
>
> Regards,
>
> -Tino
>
> [1] http://dev.opennebula.org/issues/481
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor  / Cloud Researcher
> www.OpenNebula.org | @tinova79
>
>
>
> On Tue, Feb 8, 2011 at 12:56 PM, Luigi Fortunati
>  wrote:
> > Ok, I tried some tests today.
> > The hardware/software environment includes 2 cluster nodes (ESXi 4.1),
> 2Gb
> > of RAM, 2 AMD Opteron 246 Processors (2GHz), trial version licenses. The
> > opennebula installation is self-contained.
> > 800MB of memory are used by the hypervisor itself (that info comes from
> > vSphere Client) so only 1,2 GB are free, but OpenNebula seems unaware of
> > that :-(
> > oneadmin@custom2:/srv/cloud/templates/vm$ onehost list
> >   ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
> > STAT
> >2 custom7.sns.itdefault0200200200  2G  0K
> > on
> >1 custom6.sns.itdefault0200200200  2G  0K
> > on
> > oneadmin@custom2:/srv/cloud/templates/vm$ onehost show 1
> > HOST 1 INFORMATION
> >
> > ID: 1
> > NAME  : custom6.sns.it
> > CLUSTER   : default
> > STATE : MONITORED
> > IM_MAD: im_vmware
> > VM_MAD: vmm_vmware
> > TM_MAD: tm_vmware
> > HOST SHARES
> >
> > MAX MEM   : 2096460
> > US

Re: [one-users] Outdated search index

2011-02-09 Thread Jaime Melis
Hello Matthias,

thanks for pointing this out. It should be fixed by now!

Cheers,
Jaime


On Mon, Feb 7, 2011 at 7:37 PM, Matthias Keller  wrote:
>
> Dear all,
>
> does someone of the reading developer's knows the admin's of this list?
> Can you please forward my request on "periodically updating the search 
> index"? It would really help anyone. As I'm new at this list, I didn't got 
> mails last year. (And somehow I didn't receive mail-digists anymore.)
>
> Thank you in advance.
> Matthias Keller
>
>
>
>
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--
Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Node install

2011-02-09 Thread Jan Mario
Hello!

My OpenNebula 2.01 frontend is running on an OpenSuse 11.3 32 bit OS.

I'm trying to setup the (worker) nodes on servers with a OpenSuse 11.2
64 bit OS. The servers exist and are already XEN enabled.

I've installed OpenNebula on  the  frontend system wide.

Now I'm wondering what to install on the nodes. The documention is not
clear about it. While there's a package opennebula-node for ubuntu,
there's nothing similar for opensuse or other OSs.

so do i have to install the complete opennebula package (with all the
dependencies) on the nodes?

thanks

jan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM quotas and priorities?

2011-02-09 Thread Javier Fontan
OpenNebula supports changing scheduling policies [1] using rank and
requirements parameters in the template file [2]. There's also a quota
system implemented for cpu and memory [3] but is can be easily
modified to cope with more resource constraints [4].

[1] http://opennebula.org/documentation:rel2.0:schg
[2] http://opennebula.org/documentation:rel2.0:template#Placement_Section
[3] http://opennebula.org/documentation:rel2.0:users
[4] http://opennebula.org/documentation:rel2.0:auth

On Tue, Feb 8, 2011 at 7:32 PM, Ivan Voras  wrote:
> Hello,
>
> We are trying to evaluate OpenNebula and one of the things we are
> looking into is the possibility of configuring priorities and quotas
> to CPU, network and disk IO. Of course, these are just a wishlist.
>
> I haven't found any documentation that would suggest that OpenNebula
> supports these features - maybe I've missed something?
> ___
> Users mailing list
> Users@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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] SSH error

2011-02-09 Thread Javier Fontan
That is possible but that will lead to huge amount of hacks as you
have to do this (at least):

* Parse the deployment.0 file or call back to opennebula to ask for
the source kernel/initrd files. TM knows nothing about kernel/initrd
* Rewrite the deployment.0 file to point to the newly copied
kernel/initrd in the node
* Take care somewhere in the stack to copy the kernel/initrd file for
livemigration (it wont work without shared storage anyway)

Why don't you just use pygrub?

OS = [ bootloader = "/usr/bin/pygrub" ]

http://wiki.xensource.com/xenwiki/PyGrub

On Wed, Feb 9, 2011 at 1:32 PM, Zeeshan Ali Shah  wrote:
> what about  extending tm driver for ssh which copy the needed kernel
> alongwith images to node ?
>
> Zeeshan
>
> On 02/09/2011 01:30 PM, Ruben Diez wrote:
>>
>> Hi Zeeshan
>>
>> You MUST put the kernels in all the nodes. You can use the parallel-scp
>> stuff or export them to all the nodes by NFS... It is your decision... The
>> concrete mechanism is not the matter... The important stuff is to make
>> kernels accessible by all the physical nodes
>>
>> Regards
>>
>> Zeeshan Ali Shah escribió:
>>>
>>> Hi Ruben  ,
>>> thanks for answer ,
>>>
>>> But if i have 10 kernels and 10 nodes , is there any easy way to transfer
>>> kernels beside NFS ..
>>>
>>> in Eucalyptus we can upload kernel and initrd alongwith image in
>>> repository , any way to do the same in opennebula ..?
>>>
>>>
>>> BR
>>>
>>> Zeeshan
>>>
>>> On 02/08/2011 06:31 PM, Ruben Diez wrote:

 You must copy the kernel on the correct path to every physical nodes

 You can use a tool like parallel-scp (
 http://code.google.com/p/parallel-ssh/ ) for do this... (perhaps your 
 distro
 have a package for parallel-ssh)

 Other possibility is use full virtualization and not
 paravirtualization

 Regards

 Zeeshan Ali Shah escribió:
>
> Hi, When creating vm i am getting this
> Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh:
> frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6
> nebula1:/srv/cloud/one/var//0/images/disk.0
> Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: DST:
> /srv/cloud/one/var//0/images/disk.0
> Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Creating directory
> /srv/cloud/one/var//0/images
> Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh
> nebula1 mkdir -p /srv/cloud/one/var//0/images".
> Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Cloning
> frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6
> Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp
> frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6
> nebula1:/srv/cloud/one/var//0/images/disk.0".
> Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh
> nebula1 chmod a+rw /srv/cloud/one/var//0/images/disk.0".
> Tue Feb  8 11:43:07 2011 [LCM][I]: New VM state is BOOT
> Tue Feb  8 11:43:07 2011 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/0/deployment.0
> Tue Feb  8 11:43:08 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy
> /srv/cloud/one/var//0/images/deployment.0; else
>  exit 42; fi'
> Tue Feb  8 11:43:08 2011 [VMM][I]: STDERR follows.
> Tue Feb  8 11:43:08 2011 [VMM][I]: Error: Kernel image does not exist:
> */srv/cloud/one/ttylinux-xen/vmlinuz-xen*
> Tue Feb  8 11:43:08 2011 [VMM][I]: ExitCode: 1
> Tue Feb  8 11:43:08 2011 [VMM][E]: Error deploying virtual machine:
> Error: Kernel image does not exist: 
> /srv/cloud/one/ttylinux-xen/vmlinuz-xen
> Tue Feb  8 11:43:08 2011 [DiM][I]: New VM state is FAILED
>
>
> In my vmtemplate it has kernel   =
> "/srv/cloud/one/ttylinux-xen/vmlinuz-xen",
>  initrd   = "/srv/cloud/one/ttylinux-xen/initrd.gz",
>
>
> Now as i am using SSH (with out NFS) on Nodes the location
> /srv/cloud/one/ttylinux-xen does not exist since I only untar it on Front
> End.
>
> Am I missing something ?
>
> Thanks in advance.
>
> Zeeshan
>
>
> 
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

>>>
>>>
>>
>
>
> --
> Regards
>
> Zeeshan Ali Shah
> System Administrator
> PDC-Center for High Performance Computing
> KTH-Royal Institute of Technology , Sweden
> +46 8 790 9115
>
> ___
> Users mailing list
> Users@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 Gr

Re: [one-users] SSH error

2011-02-09 Thread Zeeshan Ali Shah
for shortrun i am transfering manually .. but for long run if we have 
the possibility to register kernel and initrd as well like we do in euca 
, that will be great.. may be something to be added in wish list.



Zeeshan

On 02/09/2011 05:36 PM, Javier Fontan wrote:

That is possible but that will lead to huge amount of hacks as you
have to do this (at least):

* Parse the deployment.0 file or call back to opennebula to ask for
the source kernel/initrd files. TM knows nothing about kernel/initrd
* Rewrite the deployment.0 file to point to the newly copied
kernel/initrd in the node
* Take care somewhere in the stack to copy the kernel/initrd file for
livemigration (it wont work without shared storage anyway)

Why don't you just use pygrub?

OS = [ bootloader = "/usr/bin/pygrub" ]

http://wiki.xensource.com/xenwiki/PyGrub

On Wed, Feb 9, 2011 at 1:32 PM, Zeeshan Ali Shah  wrote:
   

what about  extending tm driver for ssh which copy the needed kernel
alongwith images to node ?

Zeeshan

On 02/09/2011 01:30 PM, Ruben Diez wrote:
 

Hi Zeeshan

You MUST put the kernels in all the nodes. You can use the parallel-scp
stuff or export them to all the nodes by NFS... It is your decision... The
concrete mechanism is not the matter... The important stuff is to make
kernels accessible by all the physical nodes

Regards

Zeeshan Ali Shah escribió:
   

Hi Ruben  ,
thanks for answer ,

But if i have 10 kernels and 10 nodes , is there any easy way to transfer
kernels beside NFS ..

in Eucalyptus we can upload kernel and initrd alongwith image in
repository , any way to do the same in opennebula ..?


BR

Zeeshan

On 02/08/2011 06:31 PM, Ruben Diez wrote:
 

You must copy the kernel on the correct path to every physical nodes

You can use a tool like parallel-scp (
http://code.google.com/p/parallel-ssh/ ) for do this... (perhaps your distro
have a package for parallel-ssh)

Other possibility is use full virtualization and not
paravirtualization

Regards

Zeeshan Ali Shah escribió:
   

Hi, When creating vm i am getting this
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh:
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6
nebula1:/srv/cloud/one/var//0/images/disk.0
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var//0/images/disk.0
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var//0/images
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh
nebula1 mkdir -p /srv/cloud/one/var//0/images".
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Cloning
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp
frontnebula:/srv/cloud/one/var//images/8625d68b699fd30e64360471eb2c38fed47fcfb6
nebula1:/srv/cloud/one/var//0/images/disk.0".
Tue Feb  8 11:43:07 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh
nebula1 chmod a+rw /srv/cloud/one/var//0/images/disk.0".
Tue Feb  8 11:43:07 2011 [LCM][I]: New VM state is BOOT
Tue Feb  8 11:43:07 2011 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/0/deployment.0
Tue Feb  8 11:43:08 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy
/srv/cloud/one/var//0/images/deployment.0; else
  exit 42; fi'
Tue Feb  8 11:43:08 2011 [VMM][I]: STDERR follows.
Tue Feb  8 11:43:08 2011 [VMM][I]: Error: Kernel image does not exist:
*/srv/cloud/one/ttylinux-xen/vmlinuz-xen*
Tue Feb  8 11:43:08 2011 [VMM][I]: ExitCode: 1
Tue Feb  8 11:43:08 2011 [VMM][E]: Error deploying virtual machine:
Error: Kernel image does not exist: /srv/cloud/one/ttylinux-xen/vmlinuz-xen
Tue Feb  8 11:43:08 2011 [DiM][I]: New VM state is FAILED


In my vmtemplate it has kernel   =
"/srv/cloud/one/ttylinux-xen/vmlinuz-xen",
  initrd   = "/srv/cloud/one/ttylinux-xen/initrd.gz",


Now as i am using SSH (with out NFS) on Nodes the location
/srv/cloud/one/ttylinux-xen does not exist since I only untar it on Front
End.

Am I missing something ?

Thanks in advance.

Zeeshan




___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
   


 
   


--
Regards

Zeeshan Ali Shah
System Administrator
PDC-Center for High Performance Computing
KTH-Royal Institute of Technology , Sweden
+46 8 790 9115

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

 



   



--
Regards

Zeeshan Ali Shah
System Administrator
PDC-Center for High Performance Computing
KTH-Royal Institute of Technology , Sweden
+46 8 790 9115

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users

Re: [one-users] Node install

2011-02-09 Thread anoop Lekshmanan
Hi,

You should have  Xen/KVM/VMware properly configured on the node.

Then
install ruby. I used 'yum install ruby' on CentOS.

Then on the front end get the UID of OpenNebula user and add the same user
in node with same UID and GID. Then create passwordless ssh.

groupadd -g 503 cloud
useradd -g 503 -u 503 oneadmin
su - oneadmin
cd ~/.ssh
scp root@ONE_fron_end_machine:/opt/cloud/one/.ssh/id_rsa*
cat id_rsa.pub >> ~/.ssh/authorized_keys


vi /etc/sudeors
comment out
Defaultsrequiretty
add:

## OpenNebula access to the Xen commands
oneadmin ALL=(ALL)   NOPASSWD: /usr/sbin/xm *
oneadmin ALL=(ALL)   NOPASSWD: /usr/sbin/xentop *


Sorry I typed all in a hurry. Hope this would help you.

Thanks,
Anoop



On Wed, Feb 9, 2011 at 9:07 PM, Jan Mario  wrote:

> Hello!
>
> My OpenNebula 2.01 frontend is running on an OpenSuse 11.3 32 bit OS.
>
> I'm trying to setup the (worker) nodes on servers with a OpenSuse 11.2
> 64 bit OS. The servers exist and are already XEN enabled.
>
> I've installed OpenNebula on  the  frontend system wide.
>
> Now I'm wondering what to install on the nodes. The documention is not
> clear about it. While there's a package opennebula-node for ubuntu,
> there's nothing similar for opensuse or other OSs.
>
> so do i have to install the complete opennebula package (with all the
> dependencies) on the nodes?
>
> thanks
>
> jan
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] sha1.so Issue

2011-02-09 Thread Ivan Bronsky
Hi,

I installed OpenNebula 2.0.1 on Centos 5.5. from rpm. I can start the deamon
with  $ one start.
But after oneuser, onehost, onevm etc. commands, I have message like this:

[root@nebula home]# oneuser list
/usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so:
/usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so: undefined symbol:
rb_Digest_SHA1_Init - /usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so
(LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/lib/one/ruby/OpenNebula.rb:7
from /usr/bin/oneuser:30:in `require'
from /usr/bin/oneuser:30

I suppose that this could be related with the ONE_AUTH variable. I created
/root/.one7one_auth file which contains "oneadmin:" where password
is those which I created for oneadmin user prior the software installation.
Anyway, this detail is not clear from the documentation.

Thanks,
Ivan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM quotas and priorities?

2011-02-09 Thread Ivan Voras
On 9 February 2011 17:00, Javier Fontan  wrote:
> OpenNebula supports changing scheduling policies [1] using rank and
> requirements parameters in the template file [2]. There's also a quota
> system implemented for cpu and memory [3] but is can be easily
> modified to cope with more resource constraints [4].
>
> [1] http://opennebula.org/documentation:rel2.0:schg
> [2] http://opennebula.org/documentation:rel2.0:template#Placement_Section
> [3] http://opennebula.org/documentation:rel2.0:users
> [4] http://opennebula.org/documentation:rel2.0:auth

Thanks for your reply; I've found the MM scheduler and per-user quotas
but what I'm trying to found out is if there is something like
VMWare's reservations and priorities, see e.g. page 78 of:

http://www.vmware.com/pdf/vsphere4/r41/vsp_41_vm_admin_guide.pdf

(docs home at 
http://www.vmware.com/support/pubs/vs_pages/vsp_pubs_esxi41_i_vc41.html).

> On Tue, Feb 8, 2011 at 7:32 PM, Ivan Voras  wrote:
>> Hello,
>>
>> We are trying to evaluate OpenNebula and one of the things we are
>> looking into is the possibility of configuring priorities and quotas
>> to CPU, network and disk IO. Of course, these are just a wishlist.
>>
>> I haven't found any documentation that would suggest that OpenNebula
>> supports these features - maybe I've missed something?
>> ___
>> Users mailing list
>> Users@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
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM quotas and priorities?

2011-02-09 Thread Javier Fontan
I am not familiar with VMWare nomenclature but from what I see in
those documents reservation relates to the minimun cpu available for a
VM. That feature is directly related on how the hypervisor manages VMs
(hypervisor scheduler). Our xen drivers use the ammount of CPU you
specify (e.g. 0.5) to set credits in the xen credit scheduler [1]. We
use a fair share scheduling (weight), not capping the maximun cpu a VM
can consume. When VM's are competing to use CPU resoirces this values
are use to enforce fair share of available CPU. If there is no
overcommitment then that CPU value will set the minimun cpu a VM could
use.

I really could not understand the priority part but the document
linked mentioned IO prioritization. If that is the case it is not
supported out of the box but take into account that OpenNebula is
modular and easily modified extended. I think that IO throttling can
be accomplished adding ionice calls on VM creation.

[1] http://wiki.xensource.com/xenwiki/CreditScheduler

On Wed, Feb 9, 2011 at 8:32 PM, Ivan Voras  wrote:
> On 9 February 2011 17:00, Javier Fontan  wrote:
>> OpenNebula supports changing scheduling policies [1] using rank and
>> requirements parameters in the template file [2]. There's also a quota
>> system implemented for cpu and memory [3] but is can be easily
>> modified to cope with more resource constraints [4].
>>
>> [1] http://opennebula.org/documentation:rel2.0:schg
>> [2] http://opennebula.org/documentation:rel2.0:template#Placement_Section
>> [3] http://opennebula.org/documentation:rel2.0:users
>> [4] http://opennebula.org/documentation:rel2.0:auth
>
> Thanks for your reply; I've found the MM scheduler and per-user quotas
> but what I'm trying to found out is if there is something like
> VMWare's reservations and priorities, see e.g. page 78 of:
>
> http://www.vmware.com/pdf/vsphere4/r41/vsp_41_vm_admin_guide.pdf
>
> (docs home at 
> http://www.vmware.com/support/pubs/vs_pages/vsp_pubs_esxi41_i_vc41.html).
>
>> On Tue, Feb 8, 2011 at 7:32 PM, Ivan Voras  wrote:
>>> Hello,
>>>
>>> We are trying to evaluate OpenNebula and one of the things we are
>>> looking into is the possibility of configuring priorities and quotas
>>> to CPU, network and disk IO. Of course, these are just a wishlist.
>>>
>>> I haven't found any documentation that would suggest that OpenNebula
>>> supports these features - maybe I've missed something?
>>> ___
>>> Users mailing list
>>> Users@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
>>
>



-- 
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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Client libraries for OpenNebula

2011-02-09 Thread Javier Fontan
Right now theres no automatic method of client only installation. You
will have to manually copy clients and required libraries
($ONE_LOCATION/lib/ruby). There's a ticket open to deal with this
problem [1] and we hope to have a solution soon.

[1] http://dev.opennebula.org/issues/482

On Mon, Feb 7, 2011 at 3:55 PM, Zeeshan Ali Shah  wrote:
> hi ,
> I am looking for libraries for Client , As usually when you install
> Opennebula all of the server like Oned, sched also install . which clients
> don't need.
>
> any suggestion , I know i can make it EC2 enable and use ec2 client  ; but i
> am looking some thing specific from Opennebula ..
>
> any suggestion ?
>
> --
> Regards
>
>
> Zeeshan Ali Shah
> System Administrator
> PDC-Center for High Performance Computing
> KTH-Royal Institute of Technology, Sweden
> +46 8 790 9115
>
> ___
> Users mailing list
> Users@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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] sha1.so Issue

2011-02-09 Thread Leong Marco
Isn't the documentation recommend to use oneadmin to manage?

Leong Marco
leong.chou@usj.edu.mo



On Feb 10, 2011, at 1:56 AM, Ivan Bronsky wrote:

> Hi,
> 
> I installed OpenNebula 2.0.1 on Centos 5.5. from rpm. I can start the deamon 
> with  $ one start.
> But after oneuser, onehost, onevm etc. commands, I have message like this:
> 
> [root@nebula home]# oneuser list
> /usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so: 
> /usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so: undefined symbol: 
> rb_Digest_SHA1_Init - /usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so 
> (LoadError)
>   from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
> `require'
>   from /usr/lib/one/ruby/OpenNebula.rb:7
>   from /usr/bin/oneuser:30:in `require'
>   from /usr/bin/oneuser:30
> 
> I suppose that this could be related with the ONE_AUTH variable. I created 
> /root/.one7one_auth file which contains "oneadmin:" where password 
> is those which I created for oneadmin user prior the software installation. 
> Anyway, this detail is not clear from the documentation.
> 
> Thanks,
> Ivan
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org