Re: [one-users] Setting up private networks for VM

2011-04-07 Thread Jaime Melis
Hi Prakhar,

you need to use the same bridge, both for public and private networks: eth0.

regards,
Jaime

On Wed, Apr 6, 2011 at 9:18 PM, Prakhar Srivastava wrote:

> Hi,
> Thannx for the reply.
> Using two NIC sections per VM (one has eth0 bridge and the other one has
> eth1 as bridge) But I have a single bridge created on each of my cluster
> nodes i.e. eth0. When I insert NIC for private network which has bridge as
> "eth1", I get a error that eth1 bridge does not exist and the deployment
> fails.eth0 acts as a bridge between my public network and the network
> interfaces of VMs. This works fine.
>
> I want that a second NIC can be added to the VMs but it fails because of
> the reason mentioned above.(there is no eth1 bidge).
>
> Regards,
> Prakhar
>
>
> On Wed, Apr 6, 2011 at 9:18 PM, Jaime Melis  wrote:
>
>> Hi Prakhar,
>>
>> The scenario you've described is very easily achievable, you only need to
>> create another private network vnet instance (created with the onevnet
>> utility) and add two NIC sections per VM, one for the public NIC and one for
>> the private one.
>>
>> It has one drawback, though, if you do this you will not be able to use
>> the ebtables hook for network isolation, therefore someone using one of your
>> VMs might be able to do MAC spoofing. But other than that it should work
>> perfectly.
>>
>> cheers,
>> Jaime
>>
>> On Mon, Apr 4, 2011 at 12:24 PM, Prakhar Srivastava <
>> prakhar@gmail.com> wrote:
>>
>>> Hi,
>>> By private networks, I mean the virtual network created by opennebula
>>> onevnet utility. Consider the scenario where I have 4 VMs running in my
>>> opennebula cloud setup. All of them has  a public IP (allocated from a
>>> virtual network created by using onevnet utility) thats accessible from my
>>> network(LAN) . Its easy enough to access because it falls under the same
>>> network in which I am. What if I want to attach another interface to the
>>> VMs, so that I can assign private IPs to them .This is handy if you want to
>>> have more VMs than the number of public IPs available to you. Hope this
>>> makes sense.
>>> My question i do I need to have another physical NIC on all my cluster
>>> nodes for this.If not, please suggest a solution.
>>>
>>> Regards,
>>> Prakhar
>>>
>>> On Mon, Apr 4, 2011 at 11:33 AM, Prakhar Srivastava <
>>> prakhar@gmail.com> wrote:
>>>
 Hi,
 I wanted to set up private networks for VMs in my opennebula setup. Is
 it necessary to have two physical NICs on the cluster nodes for setting
 private networks. If yes, is there any alternative to it so that I can use
 my VMs using their private IPs.

 Regards,
 Prakhar

>>>
>>>
>>> ___
>>> 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
>>
>
>


-- 
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] tm_commands for moosefs

2011-04-07 Thread Giovanni Toraldo
Hi,

I'm happily using opennebula 2.2 with MooseFS (http://www.moosefs.org/)
as backend storage.

I've created a new tm_commands set from tm_ssh to make it working with
mfs, and using some specific mfs command for speeding up the transfer
from/to frontend.

It's opennebula interested in integrating third-party transfer managers?
If so, I'm willing to publish it as feature request on dev.opennebula.org.

Thanks.

-- 
Giovanni Toraldo
http://www.libersoft.it/



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] default scheduler obsesses over failing hosts

2011-04-07 Thread Carlos A.

Hello,

I have a vmware-based ONE deployment, and I am facing this problem:

host1 is running 1 VM
host2 is running 2 VM

When I create a new VM (without any requirements), the scheduler tries 
to deploy it in host2.


The deployment of the VM fails due to a VMWare issue (it falls into a 
internal error state, waiting for a query to be answered). Any other VM 
deployed in a host in this state will fail.


The problem is that any subsequent vm creation is tried to be deployed 
in host2 while host1 is properly working!


If I stated any requirement for the VM to be deployed into host1 (ex. 
-RUNNING_VM), the scheduler will properly deploy in host1.


Do I have any way to avoid obsessing on host2? (appart from creating my 
own scheduler)


On the other side... Do I have any possibility to force the default 
scheduler to follow a specific deployment policy? i.e. force to use an 
expression such as RANK=-RUNNING_VM in the templates, or an alternative way.


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


Re: [one-users] Users Digest, Vol 38, Issue 27

2011-04-07 Thread marwen marwen
Hi Zaina

Yes I added oneadmin in the sudoers file of the physical host where the VM
is allocated.
And when I create the VM I specify the host where the VM will be allocated.
But the problem is not resolved.
Do you think that we must add this command in sudoers file of all cluster
nodes.
oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *

Best regards
Marwen

From: Zaina AFOULKI 
> To: users@lists.opennebula.org
> Subject: Re: [one-users] Problem with ebtables OpenNebula
> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Marwen,
>
> Did you make sure that oneadmin is added in the /etc/sudoers file with
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ?
>
> http://opennebula.org/documentation:archives:rel2.0:nm
>
> --
> Zaina
>
>
> On 04/06/2011 06:40 PM, marwen marwen wrote:
> > Hi,
> >
> > I'm using ebtables to isolate virtual network in OpenNebula.
> > I have a problem when OpenNebula execute ebtables-kvm script.
> > In fact, the log file mention no error "Wed Apr  6 18:22:02 2011
> [HKM][D]:
> > Message received: EXECUTE SUCCESS 146 ebtables-start".
> > But there are no rule added to the list rules of ebtables in the physical
> > host where the VM is allocated.
> >
> > ###
> > sudo ebtables -L
> >
> > Bridge table: filter
> >
> > Bridge chain: INPUT, entries: 0, policy: ACCEPT
> >
> > Bridge chain: FORWARD, entries: 0, policy: ACCEPT
> >
> > Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
> > ###
> >
> > And when I execute manually the script on the worker node, the rules are
> > added.
> > In the oned.conf we put this configuration
> >
> > ###
> > VM_HOOK = [
> > name  = "ebtables-start",
> > on= "running",
> > command   = "ebtables-kvm", # or ebtables-xen
> > arguments = "one-$VMID",
> > remote= "yes" ]
> >
> > VM_HOOK = [
> > name  = "ebtables-flush",
> > on= "done",
> > command   = "ebtables-flush",
> > arguments = "",
> > remote= "yes" ]
> > ###
> >
> > can you help me to fix this problem
> >
> > Best Regards
> > Marwen
> >
> >
> >
> >
> > ___
> > 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] Problem with ebtables OpenNebula

2011-04-07 Thread marwen marwen
Hi Zaina

Yes I added oneadmin in the sudoers file of the physical host where the VM
is allocated.
And when I create the VM I specify the host where the VM will be allocated.
But the problem is not resolved.
Do you think that we must add this command in sudoers file of all cluster
nodes.
oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *

Best regards
Marwen


From: Zaina AFOULKI 
> To: users@lists.opennebula.org
> Subject: Re: [one-users] Problem with ebtables OpenNebula
> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Marwen,
>
> Did you make sure that oneadmin is added in the /etc/sudoers file with
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ?
>
> http://opennebula.org/documentation:archives:rel2.0:nm
>
> --
> Zaina
>
>
> On 04/06/2011 06:40 PM, marwen marwen wrote:
> > Hi,
> >
> > I'm using ebtables to isolate virtual network in OpenNebula.
> > I have a problem when OpenNebula execute ebtables-kvm script.
> > In fact, the log file mention no error "Wed Apr  6 18:22:02 2011
> [HKM][D]:
> > Message received: EXECUTE SUCCESS 146 ebtables-start".
> > But there are no rule added to the list rules of ebtables in the physical
> > host where the VM is allocated.
> >
> > ###
> > sudo ebtables -L
> >
> > Bridge table: filter
> >
> > Bridge chain: INPUT, entries: 0, policy: ACCEPT
> >
> > Bridge chain: FORWARD, entries: 0, policy: ACCEPT
> >
> > Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
> > ###
> >
> > And when I execute manually the script on the worker node, the rules are
> > added.
> > In the oned.conf we put this configuration
> >
> > ###
> > VM_HOOK = [
> > name  = "ebtables-start",
> > on= "running",
> > command   = "ebtables-kvm", # or ebtables-xen
> > arguments = "one-$VMID",
> > remote= "yes" ]
> >
> > VM_HOOK = [
> > name  = "ebtables-flush",
> > on= "done",
> > command   = "ebtables-flush",
> > arguments = "",
> > remote= "yes" ]
> > ###
> >
> > can you help me to fix this problem
> >
> > Best Regards
> > Marwen
> >
> >
> >
> >
> > ___
> > 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] Can not SSH ttylinux

2011-04-07 Thread Carlos Martín Sánchez
Hi,

The first thing you should try is to open a VNC session [1] and check if the
VM is actually running.
If that's not the problem, then this FAQ entry [2] may help you to find a
network configuration problem.

Regards,
Carlos.

[1] http://opennebula.org/documentation:rel2.2:template#i_o_devices_section
[2]
http://opennebula.org/documentation:community:faq#my_vm_is_running_but_i_get_no_answer_from_pings_what_s_wrong
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | cmar...@opennebula.org


On 7 April 2011 00:14, Shuo Liu  wrote:

> Hi all
>
> I am able to run the ttylinux.img on one of my nodes. The problem is I
> can SSH it, ping doesn't work neither. Any body can help fix it?
>
> By the way, what's the user name and password for ttylinux.img
> downloaded from the opennebula.org website? I have to make sure I
> didn't make any mistake on this.
>
> Thanks!
>
>
> -
> VIRTUAL MACHINE 9 INFORMATION
> ID : 9
> NAME   : ttylinux
> STATE  : ACTIVE
> LCM_STATE  : RUNNING
> START TIME : 04/06 10:40:34
> END TIME   : -
> DEPLOY ID: : one-9
>
> VIRTUAL MACHINE MONITORING
> NET_TX : 0
> NET_RX : 2860
> USED MEMORY: 65536
> USED CPU   : 13
>
> VIRTUAL MACHINE TEMPLATE
> CPU=0.1
> DISK=[
>  DISK_ID=0,
>  READONLY=no,
>  SOURCE=/var/lib/one/images/ttylinux.img,
>  TARGET=hda ]
> FEATURES=[
>  ACPI=no ]
> GRAPHICS=[
>  KEYMAP=es,
>  LISTEN=localhost,
>  PORT=5902,
>  TYPE=vnc ]
> MEMORY=64
> NAME=ttylinux
> NIC=[
>  BRIDGE=virbr0,
>  IP=131.94.112.44,
>  MAC=02:00:83:5e:70:2c,
>  NETWORK=Small network,
>  NETWORK_ID=1 ]
> VMID=9
> oneadmin@cloud:/etc/one$ ssh root@131.94.112.44
> ssh: connect to host 131.94.112.44 port 22: No route to host
> oneadmin@cloud:/etc/one$  onevm show ttylinux|grep IP
>  IP=131.94.112.44,
>
> 
>
> Shuo Liu
> ___
> 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] errors on scons compiling

2011-04-07 Thread Mike Putter

Hi,

I'm receiving the following errors during scons compiling:


Testing recipe: pkg-config
  Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o 
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -L/usr/lib  
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss 
-lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc 
-lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/include 
1>>.xmlrpc_test/xmlrpc_test.c06a50.cc.log 2>&1


Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian lenny)
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o 
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -L/usr/lib  
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss 
-lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc 
-lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/include 
1>>.xmlrpc_test/xmlrpc_test.c06a50.cc.log 2>&1


Testing recipe: hardcoded libraries for Mac OS X (installed using port)
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o 
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -I/opt/local/include 
-L/opt/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit 
-lwwwapp -lwwwtelnet -lwwwhtml -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher 
-lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans 
-lwwwcore -lwwwutils -lmd5 -ldl -lz -lpthread -lxmlrpc_client++ 
-lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse 
-lxmlrpc_xmltok -lxmlrpc_server_abyss++ -lxmlrpc_server++ 
-lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss 
1>>.xmlrpc_test/xmlrpc_test.c06a50.cc.log 2>&1



the xmlrpc-test log reads:

g++ .xmlrpc_test/xmlrpc_test.b6d8e5.cc -o 
.xmlrpc_test/xmlrpc_test.b6d8e5.cc.out  -L/usr/lib  -lxmlrpc_client++ 
-lcurl -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util 
-lxmlrpc_xmlparse -lxmlrpc_
xmltok -Wl,--rpath -Wl,/usr/lib  -I/usr/include 
1>>.xmlrpc_test/xmlrpc_test.b6d8e5.cc.log 2>&1

.xmlrpc_test/xmlrpc_test.b6d8e5.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:36: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:37: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:40: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:41: warning: taking address of temporary


I'm stuck now; no luck Googling around or reinstalling alternatives to 
necessary packages...

Anyone ?


--
Met vriendelijke groet,

Mike Putter

Wireless Web Solutions
Jubelpark 10
1567 HP Assendelft

T: +31 (0)75 20 22 32 6
M: +31 (0)6 18 42 40 77
E: m...@wirelesswebsolutions.nl
W: http://www.wirelesswebsolutions.nl/
Skype: mikeputter 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] installation requirements for client (node) OpenNebula

2011-04-07 Thread Marco Mirabile
Can I use a netbook with Intel Atom processor as node OpenNebula?
marco_mirabile
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] installation requirements for client (node) OpenNebula

2011-04-07 Thread Idafen Santana Pérez
Hi,

you can, but depending on your distribution and if your Atom has VT
support or not, you'll have to use KVM or Xen (virtualization or
paravirtualization).

Regards
Idafen

On Thu, Apr 7, 2011 at 7:44 PM, Marco Mirabile  wrote:
> Can I use a netbook with Intel Atom processor as node OpenNebula?
> marco_mirabile
> ___
> 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] Problem with ebtables OpenNebula

2011-04-07 Thread Leong Marco
Hi all,

I'm not able to setup the ebtables too. I'm running both node and frontend on 
the same machine. I have this line in /etc/sudoers file.
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
This doesn't work on my case either.
Can anybody help plz. :)

Some time I have this log in oned.log, does this help?
Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command


Leong Marco
leong.chou@usj.edu.mo



On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:

> 
> Hi Zaina
> 
> Yes I added oneadmin in the sudoers file of the physical host where the VM is 
> allocated.
> And when I create the VM I specify the host where the VM will be allocated.
> But the problem is not resolved.
> Do you think that we must add this command in sudoers file of all cluster 
> nodes. 
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
> 
> Best regards
> Marwen
> 
> 
> From: Zaina AFOULKI 
> To: users@lists.opennebula.org
> Subject: Re: [one-users] Problem with ebtables OpenNebula
> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi Marwen,
> 
> Did you make sure that oneadmin is added in the /etc/sudoers file with
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ?
> 
> http://opennebula.org/documentation:archives:rel2.0:nm
> 
> --
> Zaina
> 
> 
> On 04/06/2011 06:40 PM, marwen marwen wrote:
> > Hi,
> >
> > I'm using ebtables to isolate virtual network in OpenNebula.
> > I have a problem when OpenNebula execute ebtables-kvm script.
> > In fact, the log file mention no error "Wed Apr  6 18:22:02 2011 [HKM][D]:
> > Message received: EXECUTE SUCCESS 146 ebtables-start".
> > But there are no rule added to the list rules of ebtables in the physical
> > host where the VM is allocated.
> >
> > ###
> > sudo ebtables -L
> >
> > Bridge table: filter
> >
> > Bridge chain: INPUT, entries: 0, policy: ACCEPT
> >
> > Bridge chain: FORWARD, entries: 0, policy: ACCEPT
> >
> > Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
> > ###
> >
> > And when I execute manually the script on the worker node, the rules are
> > added.
> > In the oned.conf we put this configuration
> >
> > ###
> > VM_HOOK = [
> > name  = "ebtables-start",
> > on= "running",
> > command   = "ebtables-kvm", # or ebtables-xen
> > arguments = "one-$VMID",
> > remote= "yes" ]
> >
> > VM_HOOK = [
> > name  = "ebtables-flush",
> > on= "done",
> > command   = "ebtables-flush",
> > arguments = "",
> > remote= "yes" ]
> > ###
> >
> > can you help me to fix this problem
> >
> > Best Regards
> > Marwen
> >
> >
> >
> >
> > ___
> > 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

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


Re: [one-users] VM remain boot status.

2011-04-07 Thread Khoa Nguyen
Hj Thedward Blevins.
I built opennebula and kvm in ubuntu 9.10. Do you fix this problem? Can you
tell me more about it? Thank you in advance.

On Thu, Apr 7, 2011 at 11:43 AM, Thedward Blevins wrote:

>
> On Apr 6, 2011 10:14 PM, "Khoa Nguyen"  wrote:
> >
> > Hi,
> > Where can I find hepervisor logs ?
> > I think there is not problem in generating the deployment file. It just
> occurs when I try to suspend it , then resuming it.
> >
>
> I had a similar problem on Ubuntu (as a host). The problem had something to
> do with the apparmor configuration for kvm being too strict. I don't have
> the details handy, but you may want to look into that.
>



-- 
Nguyễn Vũ Văn Khoa
Đại học Khoa Học Tự Nhiên TP HCM
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can't restart or resume VM when VM is in save status. And MEMORY = 0 when VM is running .

2011-04-07 Thread Khoa Nguyen
Hi Carlos Martín Sánchez

When the VM is in save status, How to change from saving  to running status?
I try to enable VM , but it display Erros: wrong state.
I can't solve problem.



2011/4/5 Carlos Martín Sánchez 

> Hi there,
>
> If you take a look at the Virtual Machine Life-cycle diagram [1], the
> 'save' state is a intermediate state, and the VM should end in either the
> 'suspended' or 'stopped' state. If the VM is stuck in 'save', you may find
> some error messages in oned.log or the VM's log (in /vm.log).
>
> About #2, it may be a monitorization problem. Can you check using virsh or
> xentop the actual memory consumption?
>
> Best regards,
> Carlos.
>
> [1]
> http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle
>
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmar...@opennebula.org
>
>
> On 17 March 2011 05:01, Khoa Nguyen  wrote:
>
>> I have two question but I can't explain .
>> 1.When i suspend or stop a VM, It changes to save status. Unfortunaly,I
>> want to resume or restart  VM to changing running status , It display
>> "Error: Wrong state to perform action". I don't know why. Is OpenNebula
>> wrong??
>>
>> 2. Status's VM is ruunig but MEMORY = 0.
>>
>> Anyone know? Please help me.
>>
>>
>> oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm list
>>ID USER NAME STAT CPU MEMHOSTNAMETIME
>>39 oneadmin ttylinux runn   0 * 0K*   172.29.70.137 00 00:05:05
>> oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm suspend 39
>> oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm list
>>ID USER NAME STAT CPU MEMHOSTNAMETIME
>>39 oneadmin ttylinux save   0 * 0K*   172.29.70.137 00 00:05:21
>> oneadmin1@oneadmin-desktop:/home/oneadmin$ *onevm resume 39
>> Error: Wrong state to perform action*
>> oneadmin1@oneadmin-desktop:/home/oneadmin$ *onevm restart 39
>> Error: Wrong state to perform action*
>>
>> Thank you for advance.
>>
>> ,--
>> Nguyễn Vũ Văn Khoa
>> Đại học Khoa Học Tự Nhiên TP HCM
>>
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>


-- 
Nguyễn Vũ Văn Khoa
Đại học Khoa Học Tự Nhiên TP HCM
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Setting up private networks for VM

2011-04-07 Thread Prakhar Srivastava
Hi Jaime,
I did as you said. I specified the same bridge eth0 for both the public and
the private network. I created two VMs with both public and private
interfaces. I could ping private IPs from within the virtual machines.
However I was surprised to see that if I create one VM with both public and
private interfaces and one VM with just the private interface, I am not able
to ping the private only VM from the both-public-and-private VM which was
something I wished to do.

In a general case, I wish to have just a single both-public-and-private
VM(call it master VM) for a user and other VMs should have just the private
interface so that it can be accessed from the master VM.

Is this behavior normal or I am missing something ??

Regards,
Prakhar

On Thu, Apr 7, 2011 at 2:05 PM, Jaime Melis  wrote:

> Hi Prakhar,
>
> you need to use the same bridge, both for public and private networks:
> eth0.
>
> regards,
> Jaime
>
>
> On Wed, Apr 6, 2011 at 9:18 PM, Prakhar Srivastava 
> wrote:
>
>> Hi,
>> Thannx for the reply.
>> Using two NIC sections per VM (one has eth0 bridge and the other one has
>> eth1 as bridge) But I have a single bridge created on each of my cluster
>> nodes i.e. eth0. When I insert NIC for private network which has bridge as
>> "eth1", I get a error that eth1 bridge does not exist and the deployment
>> fails.eth0 acts as a bridge between my public network and the network
>> interfaces of VMs. This works fine.
>>
>> I want that a second NIC can be added to the VMs but it fails because of
>> the reason mentioned above.(there is no eth1 bidge).
>>
>> Regards,
>> Prakhar
>>
>>
>> On Wed, Apr 6, 2011 at 9:18 PM, Jaime Melis wrote:
>>
>>> Hi Prakhar,
>>>
>>> The scenario you've described is very easily achievable, you only need to
>>> create another private network vnet instance (created with the onevnet
>>> utility) and add two NIC sections per VM, one for the public NIC and one for
>>> the private one.
>>>
>>> It has one drawback, though, if you do this you will not be able to use
>>> the ebtables hook for network isolation, therefore someone using one of your
>>> VMs might be able to do MAC spoofing. But other than that it should work
>>> perfectly.
>>>
>>> cheers,
>>> Jaime
>>>
>>> On Mon, Apr 4, 2011 at 12:24 PM, Prakhar Srivastava <
>>> prakhar@gmail.com> wrote:
>>>
 Hi,
 By private networks, I mean the virtual network created by opennebula
 onevnet utility. Consider the scenario where I have 4 VMs running in my
 opennebula cloud setup. All of them has  a public IP (allocated from a
 virtual network created by using onevnet utility) thats accessible from my
 network(LAN) . Its easy enough to access because it falls under the same
 network in which I am. What if I want to attach another interface to the
 VMs, so that I can assign private IPs to them .This is handy if you want to
 have more VMs than the number of public IPs available to you. Hope this
 makes sense.
 My question i do I need to have another physical NIC on all my cluster
 nodes for this.If not, please suggest a solution.

 Regards,
 Prakhar

 On Mon, Apr 4, 2011 at 11:33 AM, Prakhar Srivastava <
 prakhar@gmail.com> wrote:

> Hi,
> I wanted to set up private networks for VMs in my opennebula setup. Is
> it necessary to have two physical NICs on the cluster nodes for setting
> private networks. If yes, is there any alternative to it so that I can use
> my VMs using their private IPs.
>
> Regards,
> Prakhar
>


 ___
 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
>>>
>>
>>
>
>
> --
> 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


Re: [one-users] Can't restart or resume VM when VM is in save status. And MEMORY = 0 when VM is running .

2011-04-07 Thread Prakhar Srivastava
Hi Khoa
As already stated by Carlos, the save state is an intermediate state in
which the running VM image is saved to the disk. This might take a little
time and in the the mean time, the VM state is save (means it is saving the
image so that it can be resumed from the state at which it was stopped). You
cannot perform resume  at save (saving...)  state. It will always give an
error. Once the VMs image is saved completely, the state changes to stop
(means the VM is stopped). You can only resume a VM from a stopped or
suspended state. So if you are not getting to 'stop' state, please check
your vm.log file for any error. You can find the log file in
/var/log//vm.log. Do post back the logs in case you find it cryptic
!!!

Regards,
Prakhar

2011/4/8 Khoa Nguyen 

> Hi Carlos Martín Sánchez
>
> When the VM is in save status, How to change from saving  to running
> status?
> I try to enable VM , but it display Erros: wrong state.
> I can't solve problem.
>
>
>
>
> 2011/4/5 Carlos Martín Sánchez 
>
>> Hi there,
>>
>> If you take a look at the Virtual Machine Life-cycle diagram [1], the
>> 'save' state is a intermediate state, and the VM should end in either the
>> 'suspended' or 'stopped' state. If the VM is stuck in 'save', you may find
>> some error messages in oned.log or the VM's log (in /vm.log).
>>
>> About #2, it may be a monitorization problem. Can you check using virsh or
>> xentop the actual memory consumption?
>>
>> Best regards,
>> Carlos.
>>
>> [1]
>> http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle
>>
>> --
>> Carlos Martín, MSc
>> Project Major Contributor
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org  | cmar...@opennebula.org
>>
>>
>> On 17 March 2011 05:01, Khoa Nguyen  wrote:
>>
>>> I have two question but I can't explain .
>>> 1.When i suspend or stop a VM, It changes to save status. Unfortunaly,I
>>> want to resume or restart  VM to changing running status , It display
>>> "Error: Wrong state to perform action". I don't know why. Is OpenNebula
>>> wrong??
>>>
>>> 2. Status's VM is ruunig but MEMORY = 0.
>>>
>>> Anyone know? Please help me.
>>>
>>>
>>> oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm list
>>>ID USER NAME STAT CPU MEMHOSTNAMETIME
>>>39 oneadmin ttylinux runn   0 * 0K*   172.29.70.137 00 00:05:05
>>> oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm suspend 39
>>> oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm list
>>>ID USER NAME STAT CPU MEMHOSTNAMETIME
>>>39 oneadmin ttylinux save   0 * 0K*   172.29.70.137 00 00:05:21
>>> oneadmin1@oneadmin-desktop:/home/oneadmin$ *onevm resume 39
>>> Error: Wrong state to perform action*
>>> oneadmin1@oneadmin-desktop:/home/oneadmin$ *onevm restart 39
>>> Error: Wrong state to perform action*
>>>
>>> Thank you for advance.
>>>
>>> ,--
>>> Nguyễn Vũ Văn Khoa
>>> Đại học Khoa Học Tự Nhiên TP HCM
>>>
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>
>
> --
> Nguyễn Vũ Văn Khoa
> Đại học Khoa Học Tự Nhiên TP HCM
>
>
>
> ___
> 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