Re: [one-users] how to create more than one vm for same host in opennebula

2014-02-18 Thread Carlos Martín Sánchez
Hi,

If your Images are not persistent, Templates can be instantiated several
times to create identical VMs.

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Mon, Feb 17, 2014 at 7:34 AM, Neelaya Dhatchayani
neels.v...@gmail.comwrote:

 hi

 how to create more than one vm for the same host in opennebula

 i able to create only one vm for one lease in the network


 regards
 neelaya

 ___
 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] How to integrate external DHCP/ or existing DHCP server in ONE

2014-02-18 Thread kiran ranjane
Hello Everyone,

Is there a documentation or howto for integrating external or existing dhcp
server so that VM can acquire IP directly from DHCP server?

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


[one-users] OpenNebula EC2 API compatible with itself?

2014-02-18 Thread Stefan Kooman
Hi List,

Just wondering, is the OpenNebula EC2 API compatbile with itself? I.e.
can I add another OpenNebula Cloud as EC2 host in a OpenNebula Cloud?
The documentation seems to suggest so but I haven't tried it myself [1].
I know work is underway to provide resource providers and cloud
federation but, until then I want to know if this is the way to connect
ONE clouds.

Gr. Stefan

[1]:
http://docs.opennebula.org/4.4/advanced_administration/cloud_bursting/introh.html#introh


-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Adding test system datastore

2014-02-18 Thread Carlos Martín Sánchez
Hi there,

Maybe we could try to replicate the 'onehost disable' behaviour.
That is, a disabled system DS would be ignored by the scheduler, but you
can still deploy VMs manually there.

What do you think? Should I open a ticket for this?

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Mon, Feb 17, 2014 at 4:52 PM, Stefan Kooman ste...@bit.nl wrote:

 Quoting Daniel Dehennin (daniel.dehen...@baby-gnu.org):
  Stefan Kooman ste...@bit.nl writes:
 
 
  [...]
 
   You can, in your vm template you can put the following:
  
   SCHED_DS_REQUIREMENTS=NAME=NAMEOFYOURTESTDATASTORE. All other DS'es
   will be filtered out.
 
  This will force a VM to use this one when it have this
  SCHED_DS_REQUIREMENTS, but what about all other VMs which do not have
  any requirements set?
 
  As far as I understand, they will use it too.

 They might use it. It depends on the policy set on the DS (packing,
 striping or custom) [1]. You have to set the requirement on each and
 every vm (template) to make sure they end up in the correct datastore.
 See sched.log to see what priorities your datastores end up with. Our
 datastores end up with the same priority and the first one in the list
 gets chosen.

 Gr. Stefan

 [1]:

 http://docs.opennebula.org/stable/administration/storage/system_ds.html?highlight=system%20datastores

 
 
  [...]
 
   Actually I was looking for this as well :). For example I would like to
   be able to link certain datastores to groups, i.e. use datastore A
   for group A by default instead of having it defined in every single
   template. If users of group A have the possibility to define their own
   templates and they would forget the SCHED_DS_REQUIREMENTS to their
   datastore it would end up somewhere else (if at least they have enough
   rights on other (system) datastores). Basically it would be nice to
 have
   even more filtering capabitilites to ensure correct
   placement/deployment.
 
  If I remember correctly, I heard about some group and resource providers
  mechanisms for 4.6, it may address this.
 
  Regards.
 
  --
  Daniel Dehennin
  Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
  Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF



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


 --
 | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
 | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)

 iF4EAREIAAYFAlMCMEoACgkQTyGgYdFIOcbqOwEAjnynlt3OOcgnm+c4FoVA22uj
 q6mKLNQ4iW5QqaGthhcBAJxYt3gkqWRP3iXV/rPME0/Bq/ZOm8UVpEa9PEqIBO7h
 =tDzh
 -END PGP SIGNATURE-

 ___
 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] Netmask setting

2014-02-18 Thread Javier Fontan
The problem is indeed your context section. It does not have
networking configuration.

When creating the template using Sunstone make sure the option Add
Network contextualization in the Context tab is activated.

In case you are creating the template manually add NETWORK=YES in CONTEXT.

On Mon, Feb 17, 2014 at 9:57 PM, SysSolutions99
syssolution...@gmail.com wrote:
 thank You for your  help Javier. Here are the details -

 $ onevm show 20 -a
 VIRTUAL MACHINE 20 INFORMATION
 ID  : 20
 NAME: testvm3
 USER: oneadmin
 GROUP   : oneadmin
 STATE   : ACTIVE
 LCM_STATE   : RUNNING
 RESCHED : No
 HOST: test
 CLUSTER ID  : -1
 START TIME  : 02/08 21:08:23
 END TIME: -
 DEPLOY ID   : one-20

 VIRTUAL MACHINE MONITORING
 NET_RX  : 68.4G
 NET_TX  : 96.1G
 USED MEMORY : 2G
 USED CPU: 112


 PERMISSIONS
 OWNER   : um-
 GROUP   : ---
 OTHER   : ---

 VM DISKS
  ID TARGET IMAGE   TYPE SAVE SAVE_AS
   0 hdaCentOS-6.4_x86_64 -Copy 2   file   NO   -

 VM NICS
  ID NETWORK  VLAN BRIDGE   IP  MAC
   0 privateno br0  172.16.192.64   02:00:ac:10:c0:40

fe80::400:acff:fe10:c040

 VIRTUAL MACHINE HISTORY
 SEQ HOSTACTION DS   STARTTIME
 PROLOG
   0 teststop0  02/08 21:08:43   0d 20h51m   0h00m14s
   1 testundeploy0  02/09 18:02:12   0d 00h02m   0h00m00s
   2 testnone0  02/09 18:07:42   7d 18h43m   0h00m00s

 VIRTUAL MACHINE TEMPLATE
 AUTOMATIC_REQUIREMENTS=!(PUBLIC_CLOUD = YES)
 CONTEXT=[
   DISK_ID=1,
   SSH_PUBLIC_KEY=ssh-rsa
 B3NzaC1yc2EBIwAAAQEAtDxiwxLzNnlvGPBJEmVRNfV5bCxw1MMPh5/qWtEGNOnamzDr+Qyn6qZcAn3gHUP8FTm0HagsYLgjfJrfu6F0BY4Nk+8R3l9TzwJS1EzaeZ4GQOAjsL51opckxw3fjwctKCPC2nTXcvtiy9lpdo9hl1vKerCAfwwoKTnvyoNaykys+TXNR22fhrJzxVbX81BI2rte0ReNEwYyKzh/aBslKHadmvibkv1msC9+GHPOgmJF8cKzpEqxEQrj+x7FwpcHqwhVvwZfDYMn/nNTHubTWoR0Rl0+u5j6B1MGnY9ueMmqHWgy/m6RU8ctuyYa4/yMffpTHTvZ3mqGIcSgFRtoFQ==
 oneadmin@fermi,
   TARGET=hdb ]
 CPU=1
 DISK=[
   CLONE=YES,
   CLONE_TARGET=SYSTEM,
   DATASTORE=default,
   DATASTORE_ID=1,
   DEV_PREFIX=hd,
   DISK_ID=0,
   DRIVER=qcow2,
   IMAGE=CentOS-6.4_x86_64 -Copy 2,
   IMAGE_ID=3,
   IMAGE_UNAME=oneadmin,
   LN_TARGET=NONE,
   READONLY=NO,
   SAVE=NO,
   SIZE=218,
   SOURCE=/var/lib/one//datastores/1/e2b9535f84eef5185c2554371e0e8727,
   TARGET=hda,
   TM_MAD=shared,
   TYPE=FILE ]
 GRAPHICS=[
   LISTEN=0.0.0.0,
   PORT=5920,
   TYPE=VNC ]
 MEMORY=2048
 NIC=[
   BRIDGE=br0,

   IP=172.16.192.64,
   IP6_LINK=fe80::400:acff:fe10:c040,
   MAC=02:00:ac:10:c0:40,
   NETWORK=private,
   NETWORK_ID=0,
   NETWORK_UNAME=oneadmin,
   NIC_ID=0,
   VLAN=NO ]
 OS=[
   ARCH=x86_64 ]
 TEMPLATE_ID=5
 VCPU=2
 VMID=20




 On Fri, Feb 14, 2014 at 1:47 AM, Javier Fontan jfon...@opennebula.org
 wrote:

 Can you send us the VM definition (onevm show 20 -a). It looks like
 the network info is not in the context section.

 On Wed, Feb 12, 2014 at 10:21 PM, SysSolutions99
 syssolution...@gmail.com wrote:
  Hi,
 
  The netmask on my network is 255.255.0.0, yet the VMs get plumbed with
  255.255.255.0.
  I have tried setting up the netmask using the onevnet command but I am
  not
  able to.  Please help.
 
  here are the network details of the main host
 
  - # ifconfig br0
  br0   Link encap:Ethernet  HWaddr 00:25:90:E2:C5:98
inet addr:172.16.192.60  Bcast:172.16.255.255
  Mask:255.255.0.0
inet6 addr: fe80::225:90ff:fee2:c598/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:10352600 errors:0 dropped:0 overruns:0 frame:0
TX packets:5714417 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6383539896 (5.9 GiB)  TX bytes:8971371821 (8.3 GiB)
 
  # netstat -rn
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window  irtt
  Iface
  192.168.122.0   0.0.0.0 255.255.255.0   U 0 0  0
  virbr0
  169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
  br0
  172.16.0.0  0.0.0.0 255.255.0.0 U 0 0  0
  br0
  0.0.0.0 172.16.192.10.0.0.0 UG0 0  0
  br0
 
 
  Here are the networking details of the VM:
 
  # ifconfig eth0
  eth0  Link encap:Ethernet  HWaddr 02:00:AC:10:C0:40
inet addr:172.16.192.64  Bcast:172.16.192.255
  Mask:255.255.255.0
inet6 addr: fe80::acff:fe10:c040/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:165669946 errors:0 dropped:1041 overruns:0 frame:0
TX packets:170954965 

Re: [one-users] Adding test system datastore

2014-02-18 Thread Stefan Kooman
Quoting Carlos Martín Sánchez (cmar...@opennebula.org):
 Hi there,
 
 Maybe we could try to replicate the 'onehost disable' behaviour.
 That is, a disabled system DS would be ignored by the scheduler, but you
 can still deploy VMs manually there.

I think this would support Daniel's use case. But how do you deploy a VM
manually? I.e how do you by-pass the scheduler (except by creating a
WILD vm)? 

At the moment the multi DS support is configured at template level. From a
system perspective it would be nice to be able to control which
datastore gets used. For example filter on user, group, vm template
attributes, etc. At least we have a use case for this (seperate Qtree
per datastore for IO billing). It proably makes the scheduler's life
more complicated :(.

 What do you think? Should I open a ticket for this?

Yes, it's definitely useful.

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Netmask setting

2014-02-18 Thread SysSolutions99
Thanks Javier,

Much appreciated. However, how do I fix my current VMs? Is there a way to
do so?

Regards


On Tue, Feb 18, 2014 at 7:21 AM, Javier Fontan jfon...@opennebula.orgwrote:

 The problem is indeed your context section. It does not have
 networking configuration.

 When creating the template using Sunstone make sure the option Add
 Network contextualization in the Context tab is activated.

 In case you are creating the template manually add NETWORK=YES in
 CONTEXT.

 On Mon, Feb 17, 2014 at 9:57 PM, SysSolutions99
 syssolution...@gmail.com wrote:
  thank You for your  help Javier. Here are the details -
 
  $ onevm show 20 -a
  VIRTUAL MACHINE 20 INFORMATION
  ID  : 20
  NAME: testvm3
  USER: oneadmin
  GROUP   : oneadmin
  STATE   : ACTIVE
  LCM_STATE   : RUNNING
  RESCHED : No
  HOST: test
  CLUSTER ID  : -1
  START TIME  : 02/08 21:08:23
  END TIME: -
  DEPLOY ID   : one-20
 
  VIRTUAL MACHINE MONITORING
  NET_RX  : 68.4G
  NET_TX  : 96.1G
  USED MEMORY : 2G
  USED CPU: 112
 
 
  PERMISSIONS
  OWNER   : um-
  GROUP   : ---
  OTHER   : ---
 
  VM DISKS
   ID TARGET IMAGE   TYPE SAVE SAVE_AS
0 hdaCentOS-6.4_x86_64 -Copy 2   file   NO   -
 
  VM NICS
   ID NETWORK  VLAN BRIDGE   IP  MAC
0 privateno br0  172.16.192.64
 02:00:ac:10:c0:40
 
 fe80::400:acff:fe10:c040
 
  VIRTUAL MACHINE HISTORY
  SEQ HOSTACTION DS   STARTTIME
  PROLOG
0 teststop0  02/08 21:08:43   0d 20h51m
 0h00m14s
1 testundeploy0  02/09 18:02:12   0d 00h02m
 0h00m00s
2 testnone0  02/09 18:07:42   7d 18h43m
 0h00m00s
 
  VIRTUAL MACHINE TEMPLATE
  AUTOMATIC_REQUIREMENTS=!(PUBLIC_CLOUD = YES)
  CONTEXT=[
DISK_ID=1,
SSH_PUBLIC_KEY=ssh-rsa
 
 B3NzaC1yc2EBIwAAAQEAtDxiwxLzNnlvGPBJEmVRNfV5bCxw1MMPh5/qWtEGNOnamzDr+Qyn6qZcAn3gHUP8FTm0HagsYLgjfJrfu6F0BY4Nk+8R3l9TzwJS1EzaeZ4GQOAjsL51opckxw3fjwctKCPC2nTXcvtiy9lpdo9hl1vKerCAfwwoKTnvyoNaykys+TXNR22fhrJzxVbX81BI2rte0ReNEwYyKzh/aBslKHadmvibkv1msC9+GHPOgmJF8cKzpEqxEQrj+x7FwpcHqwhVvwZfDYMn/nNTHubTWoR0Rl0+u5j6B1MGnY9ueMmqHWgy/m6RU8ctuyYa4/yMffpTHTvZ3mqGIcSgFRtoFQ==
  oneadmin@fermi,
TARGET=hdb ]
  CPU=1
  DISK=[
CLONE=YES,
CLONE_TARGET=SYSTEM,
DATASTORE=default,
DATASTORE_ID=1,
DEV_PREFIX=hd,
DISK_ID=0,
DRIVER=qcow2,
IMAGE=CentOS-6.4_x86_64 -Copy 2,
IMAGE_ID=3,
IMAGE_UNAME=oneadmin,
LN_TARGET=NONE,
READONLY=NO,
SAVE=NO,
SIZE=218,
SOURCE=/var/lib/one//datastores/1/e2b9535f84eef5185c2554371e0e8727,
TARGET=hda,
TM_MAD=shared,
TYPE=FILE ]
  GRAPHICS=[
LISTEN=0.0.0.0,
PORT=5920,
TYPE=VNC ]
  MEMORY=2048
  NIC=[
BRIDGE=br0,
 
IP=172.16.192.64,
IP6_LINK=fe80::400:acff:fe10:c040,
MAC=02:00:ac:10:c0:40,
NETWORK=private,
NETWORK_ID=0,
NETWORK_UNAME=oneadmin,
NIC_ID=0,
VLAN=NO ]
  OS=[
ARCH=x86_64 ]
  TEMPLATE_ID=5
  VCPU=2
  VMID=20
 
 
 
 
  On Fri, Feb 14, 2014 at 1:47 AM, Javier Fontan jfon...@opennebula.org
  wrote:
 
  Can you send us the VM definition (onevm show 20 -a). It looks like
  the network info is not in the context section.
 
  On Wed, Feb 12, 2014 at 10:21 PM, SysSolutions99
  syssolution...@gmail.com wrote:
   Hi,
  
   The netmask on my network is 255.255.0.0, yet the VMs get plumbed with
   255.255.255.0.
   I have tried setting up the netmask using the onevnet command but I am
   not
   able to.  Please help.
  
   here are the network details of the main host
  
   - # ifconfig br0
   br0   Link encap:Ethernet  HWaddr 00:25:90:E2:C5:98
 inet addr:172.16.192.60  Bcast:172.16.255.255
   Mask:255.255.0.0
 inet6 addr: fe80::225:90ff:fee2:c598/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:10352600 errors:0 dropped:0 overruns:0 frame:0
 TX packets:5714417 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:6383539896 (5.9 GiB)  TX bytes:8971371821 (8.3 GiB)
  
   # netstat -rn
   Kernel IP routing table
   Destination Gateway Genmask Flags   MSS Window
  irtt
   Iface
   192.168.122.0   0.0.0.0 255.255.255.0   U 0 0
  0
   virbr0
   169.254.0.0 0.0.0.0 255.255.0.0 U 0 0
  0
   br0
   172.16.0.0  0.0.0.0 255.255.0.0 U 0 0
  0
   br0
   0.0.0.0 172.16.192.10.0.0.0 UG0 0
  0
   br0
  
  
   Here are the networking details of the VM:
  
   # ifconfig eth0
   eth0  Link encap:Ethernet  HWaddr 02:00:AC:10:C0:40
   

[one-users] Issue with Cloud View

2014-02-18 Thread kiran ranjane
Hi Everyone,

It seems that the document is not updated or I am missing something while
configuring Cloud View in Sunstone.

I followed this link to setup cloud view and it do not work, there are few
things missing on the document

http://docs.opennebula.org/stable/administration/sunstone_gui/cloud_view.html

If I open the file sunstone-views.yaml, there seems to be a group called as
default and it that the user view.

When I create a new group and give that view cloud view in the above file,
then restart sunstone, create new user and add that user to the new group
created and login with the new user By Default it goes to USER VIEW

Example of the entry

groups:
oneadmin:
- admin
- vdcadmin
- user
- cloud
default:
- user
clouduser
- cloud

Now when I remove -user from the default view and add cloud in there and
then login with the new user it goes to cloud view.

-- I have added the new user to clouduser group and removed user group from
new user, restarted sunstone and still it goes to user view.

I tried above document 2 twice and it seems that there is something missing
in the document and something has changed between 4.0 to 4.4 version.


Thanks and Regards
Kiran Ranjane
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Adding an external VM to Open Nebula

2014-02-18 Thread SysSolutions99
Hi,

I have a kvm based Virtual Machine (CentOS 6.4 x86_64) which was created
outside of Open Nebula. How may I bring it under Open Nebula control?

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


Re: [one-users] Netmask setting

2014-02-18 Thread Javier Fontan
Unfortunately the contextualization CD is not regenerated after the VM
is created so the only way to fix it is creating the context CD again
manually.

What you can do is modify the template from where the VMs were created
and start them again.

On Tue, Feb 18, 2014 at 4:52 PM, SysSolutions99
syssolution...@gmail.com wrote:
 Thanks Javier,

 Much appreciated. However, how do I fix my current VMs? Is there a way to do
 so?

 Regards


 On Tue, Feb 18, 2014 at 7:21 AM, Javier Fontan jfon...@opennebula.org
 wrote:

 The problem is indeed your context section. It does not have
 networking configuration.

 When creating the template using Sunstone make sure the option Add
 Network contextualization in the Context tab is activated.

 In case you are creating the template manually add NETWORK=YES in
 CONTEXT.

 On Mon, Feb 17, 2014 at 9:57 PM, SysSolutions99
 syssolution...@gmail.com wrote:
  thank You for your  help Javier. Here are the details -
 
  $ onevm show 20 -a
  VIRTUAL MACHINE 20 INFORMATION
  ID  : 20
  NAME: testvm3
  USER: oneadmin
  GROUP   : oneadmin
  STATE   : ACTIVE
  LCM_STATE   : RUNNING
  RESCHED : No
  HOST: test
  CLUSTER ID  : -1
  START TIME  : 02/08 21:08:23
  END TIME: -
  DEPLOY ID   : one-20
 
  VIRTUAL MACHINE MONITORING
  NET_RX  : 68.4G
  NET_TX  : 96.1G
  USED MEMORY : 2G
  USED CPU: 112
 
 
  PERMISSIONS
  OWNER   : um-
  GROUP   : ---
  OTHER   : ---
 
  VM DISKS
   ID TARGET IMAGE   TYPE SAVE SAVE_AS
0 hdaCentOS-6.4_x86_64 -Copy 2   file   NO   -
 
  VM NICS
   ID NETWORK  VLAN BRIDGE   IP  MAC
0 privateno br0  172.16.192.64
  02:00:ac:10:c0:40
 
 fe80::400:acff:fe10:c040
 
  VIRTUAL MACHINE HISTORY
  SEQ HOSTACTION DS   STARTTIME
  PROLOG
0 teststop0  02/08 21:08:43   0d 20h51m
  0h00m14s
1 testundeploy0  02/09 18:02:12   0d 00h02m
  0h00m00s
2 testnone0  02/09 18:07:42   7d 18h43m
  0h00m00s
 
  VIRTUAL MACHINE TEMPLATE
  AUTOMATIC_REQUIREMENTS=!(PUBLIC_CLOUD = YES)
  CONTEXT=[
DISK_ID=1,
SSH_PUBLIC_KEY=ssh-rsa
 
  B3NzaC1yc2EBIwAAAQEAtDxiwxLzNnlvGPBJEmVRNfV5bCxw1MMPh5/qWtEGNOnamzDr+Qyn6qZcAn3gHUP8FTm0HagsYLgjfJrfu6F0BY4Nk+8R3l9TzwJS1EzaeZ4GQOAjsL51opckxw3fjwctKCPC2nTXcvtiy9lpdo9hl1vKerCAfwwoKTnvyoNaykys+TXNR22fhrJzxVbX81BI2rte0ReNEwYyKzh/aBslKHadmvibkv1msC9+GHPOgmJF8cKzpEqxEQrj+x7FwpcHqwhVvwZfDYMn/nNTHubTWoR0Rl0+u5j6B1MGnY9ueMmqHWgy/m6RU8ctuyYa4/yMffpTHTvZ3mqGIcSgFRtoFQ==
  oneadmin@fermi,
TARGET=hdb ]
  CPU=1
  DISK=[
CLONE=YES,
CLONE_TARGET=SYSTEM,
DATASTORE=default,
DATASTORE_ID=1,
DEV_PREFIX=hd,
DISK_ID=0,
DRIVER=qcow2,
IMAGE=CentOS-6.4_x86_64 -Copy 2,
IMAGE_ID=3,
IMAGE_UNAME=oneadmin,
LN_TARGET=NONE,
READONLY=NO,
SAVE=NO,
SIZE=218,
SOURCE=/var/lib/one//datastores/1/e2b9535f84eef5185c2554371e0e8727,
TARGET=hda,
TM_MAD=shared,
TYPE=FILE ]
  GRAPHICS=[
LISTEN=0.0.0.0,
PORT=5920,
TYPE=VNC ]
  MEMORY=2048
  NIC=[
BRIDGE=br0,
 
IP=172.16.192.64,
IP6_LINK=fe80::400:acff:fe10:c040,
MAC=02:00:ac:10:c0:40,
NETWORK=private,
NETWORK_ID=0,
NETWORK_UNAME=oneadmin,
NIC_ID=0,
VLAN=NO ]
  OS=[
ARCH=x86_64 ]
  TEMPLATE_ID=5
  VCPU=2
  VMID=20
 
 
 
 
  On Fri, Feb 14, 2014 at 1:47 AM, Javier Fontan jfon...@opennebula.org
  wrote:
 
  Can you send us the VM definition (onevm show 20 -a). It looks like
  the network info is not in the context section.
 
  On Wed, Feb 12, 2014 at 10:21 PM, SysSolutions99
  syssolution...@gmail.com wrote:
   Hi,
  
   The netmask on my network is 255.255.0.0, yet the VMs get plumbed
   with
   255.255.255.0.
   I have tried setting up the netmask using the onevnet command but I
   am
   not
   able to.  Please help.
  
   here are the network details of the main host
  
   - # ifconfig br0
   br0   Link encap:Ethernet  HWaddr 00:25:90:E2:C5:98
 inet addr:172.16.192.60  Bcast:172.16.255.255
   Mask:255.255.0.0
 inet6 addr: fe80::225:90ff:fee2:c598/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:10352600 errors:0 dropped:0 overruns:0 frame:0
 TX packets:5714417 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:6383539896 (5.9 GiB)  TX bytes:8971371821 (8.3
   GiB)
  
   # netstat -rn
   Kernel IP routing table
   Destination Gateway Genmask Flags   MSS Window
   irtt
   Iface
   192.168.122.0   0.0.0.0 255.255.255.0   U 0 0
   0
   virbr0
   169.254.0.0 

Re: [one-users] Adding test system datastore

2014-02-18 Thread Daniel Dehennin
Carlos Martín Sánchez cmar...@opennebula.org writes:

 Hi there,

 Maybe we could try to replicate the 'onehost disable' behaviour.
 That is, a disabled system DS would be ignored by the scheduler, but you
 can still deploy VMs manually there.

 What do you think? Should I open a ticket for this?

Am'I right about group and resource providers?

If yes, disabling a DS is not useful for my usecase.

But remains interesting for general cluster management, for example if
something goes wrong with the backend, system DS could be disabled and
VMs restarted to use another one.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


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