Re: Template Upload options

2013-11-21 Thread Shanker Balan
On 21-Nov-2013, at 1:06 pm, Jake G. wrote: > HI all, > > I am trying to upload a Windows 2008 R2 64-bit qcow2 file into templates and > way at the bottom of the add template window is a check box for Routing. > > Does anyone know what this is? It is not in the official documentation. > Thank you

Secondary Storage address info

2013-11-21 Thread Gaspare A. Silvestri
Hi all, I've got a question about the secondary storage: the entire CloudStack infrastructure I've currently installed has got public IP addressing; in your opinion, is it possible attacching and working on an NFS secondary storage with a local IP address (172.16.0.0/16 class , for instance)? Tha

Re: Secondary Storage address info

2013-11-21 Thread Shanker Balan
Comments inline. On 21-Nov-2013, at 3:39 pm, Gaspare A. Silvestri wrote: > Hi all, > > I've got a question about the secondary storage: the entire CloudStack > infrastructure I've currently installed has got public IP addressing; in > your opinion, is it possible attacching and working on an NF

Auto-resize partition when create VM

2013-11-21 Thread Fariborz Navidan
Hi. When a new VM from template is created the main partition is not resized to the sized defined in disk offering. So the volume has space but not usable. How make it resize automatically when a VM is created? Regards.

Re: Secondary Storage address info

2013-11-21 Thread Gaspare A. Silvestri
Hi Shanker, really thank you for your answer. My main problem is not on the hypervisor side, but I want to understand if Cloudstack (configured with basic - flat - networking) is able to reache the secondary storage private IP when the entire network (management, guest) has been configured with pu

Re: Auto-resize partition when create VM

2013-11-21 Thread Nux!
On 21.11.2013 10:57, Fariborz Navidan wrote: Hi. When a new VM from template is created the main partition is not resized to the sized defined in disk offering. So the volume has space but not usable. How make it resize automatically when a VM is created? When you create an instance from a

Re: Auto-resize partition when create VM

2013-11-21 Thread Fariborz Navidan
SolusVM does this autpmatically! Isn't it possible to make it fully ready just after instance is created? On Thu, Nov 21, 2013 at 2:33 PM, Nux! wrote: > On 21.11.2013 10:57, Fariborz Navidan wrote: > >> Hi. >> >> When a new VM from template is created the main partition is not resized >> to >>

Re: Auto-resize partition when create VM

2013-11-21 Thread Nux!
On 21.11.2013 11:11, Fariborz Navidan wrote: SolusVM does this autpmatically! Isn't it possible to make it fully ready just after instance is created? Well, it's not the cloud software's job to format and mount your drives. If you are not comfortable with doing it manually you can install We

RE: sechduled snapshot bug

2013-11-21 Thread prakash
Hi, Any update about this bug. It will fix on next release only. Regards, Prakash.M > Hi, > > > Below is api command used in cloudstack > > > command createSnapshotPolicy > intervaltype daily > maxsnaps 1 > response json > schedule 10:12 > sessionkeyl2wYbaZ6VS1rOyy

Re: Auto-resize partition when create VM

2013-11-21 Thread Fariborz Navidan
Hi. I want to cloudstack for vps service provisioning. So end user should be confortable and can start using his/her right away. Am I choosing wrong system for this purpose? Th reason I choose CloudStack is that it is free and let me offer offerings with different storage types (SSD, SATA) on the s

Re: Auto-resize partition when create VM

2013-11-21 Thread Nux!
On 21.11.2013 11:19, Fariborz Navidan wrote: Hi. I want to cloudstack for vps service provisioning. So end user should be confortable and can start using his/her right away. Am I choosing wrong system for this purpose? Th reason I choose CloudStack is that it is free and let me offer offerings

Re: Auto-resize partition when create VM

2013-11-21 Thread Fariborz Navidan
If I use LVM on template, can I add a script that resizes the root logical volume (LV) via LVM on the first boot? Then how to get the allocated disk size from cloudstack? Regards. TIA On Thu, Nov 21, 2013 at 2:54 PM, Nux! wrote: > On 21.11.2013 11:19, Fariborz Navidan wrote: > >> Hi. >> I want

KVM snapshots

2013-11-21 Thread Fariborz Navidan
Hi. I have enabled kvm snapshots in global settings but it still says not enabled. Please advise.

Re: Auto-resize partition when create VM

2013-11-21 Thread Nux!
On 21.11.2013 11:30, Fariborz Navidan wrote: If I use LVM on template, can I add a script that resizes the root logical volume (LV) via LVM on the first boot? Then how to get the allocated disk size from cloudstack? If you user LVM inside the template, then once you add another disk (if you'

Re: KVM snapshots

2013-11-21 Thread Nux!
On 21.11.2013 11:36, Fariborz Navidan wrote: Hi. I have enabled kvm snapshots in global settings but it still says not enabled. Please advise. For some reason Cloudstack does not do KVM snapshots, which is inconvenient, but you can snapshot your individual disks from the Storage section.

Re: KVM snapshots

2013-11-21 Thread Vahric Muhtaryan
Sorry what storage is used Maybe no need to get snapshot from cloudstack Go storage and take the snap from there Of course depend storage On 21/11/13 13:53, "Nux!" wrote: >On 21.11.2013 11:36, Fariborz Navidan wrote: >> Hi. >> >> I have enabled kvm snapshots in global settings but it still say

Re: Auto-resize partition when create VM

2013-11-21 Thread Fariborz Navidan
Hi. Can I write down the above into a shell script and add it to first boot? Can I then resize the root volume? On Thu, Nov 21, 2013 at 3:22 PM, Nux! wrote: > On 21.11.2013 11:30, Fariborz Navidan wrote: > >> If I use LVM on template, can I add a script that resizes the root logical >> volume (

New VM inherits template's network settings

2013-11-21 Thread Fariborz Navidan
Hi, New VM inherits template's network settings and not new allocated IP and settings. Please advise.

Re: KVM snapshots

2013-11-21 Thread Fariborz Navidan
Thanks. On Thu, Nov 21, 2013 at 3:34 PM, Vahric Muhtaryan wrote: > Sorry what storage is used > Maybe no need to get snapshot from cloudstack > Go storage and take the snap from there > Of course depend storage > > > On 21/11/13 13:53, "Nux!" wrote: > > >On 21.11.2013 11:36, Fariborz Navidan wr

Re: Auto-resize partition when create VM

2013-11-21 Thread Nux!
On 21.11.2013 12:05, Fariborz Navidan wrote: Hi. Can I write down the above into a shell script and add it to first boot? Can I then resize the root volume? Yes, those commands will extend your root LVM over to the new DATA disk that you added. However, you must only run that ONCE, running i

Re: New VM inherits template's network settings

2013-11-21 Thread Nux!
On 21.11.2013 12:07, Fariborz Navidan wrote: Hi, New VM inherits template's network settings and not new allocated IP and settings. Do you have a eth1 instead of eth0? It means you probably still have eth0 mapped on the MAC address of the original VM the template came out of. I suggest you

Re: iptables needs restart on every cloud action

2013-11-21 Thread Fariborz Navidan
Hi. In my case eventually started to become more stable. Now this happens rarely. What did you o to fix it permanently? Best Regards. On Fri, Nov 22, 2013 at 1:13 AM, Adam wrote: > I've had similar issues but only with Console Proxy. Once I stop iptables, > it's resolved temporarily but comes

Deploy Template Error READ TIMEOUT

2013-11-21 Thread Steve Searles
I found this open issue for 4.2.1. It seems to be effecting my 4.2 install as well. https://issues.apache.org/jira/browse/CLOUDSTACK-5014 I am seeing this issue as well. It seems that the timeout occurs on any copy from secondary storage that exceeds 10 Minutes on vmware 5.1. This seems t

Re: cloudstack4.2 dhcp

2013-11-21 Thread Shanker Balan
On 21-Nov-2013, at 7:49 pm, Du Jun wrote: > Hi all, > CloudStack provides API access to attach up to 32KB of user data to a > deployed VM. Deployed VMs also have access to instance metadata via the > virtual router. > User data can be accessed once the IP address of the virtual router is > known.

Re: New VM inherits template's network settings

2013-11-21 Thread Fariborz Navidan
libvurt is installed on the host node. the cloudstack management and the template vm runs on this host. So if I want to reference the to template vm image I should install libguestfs-tools on the host node. So how will it modify or unconfigure the template vm? Regards. On Thu, Nov 21, 2013 at 5:2

cloudstack4.2 dhcp

2013-11-21 Thread Du Jun
Hi all, CloudStack provides API access to attach up to 32KB of user data to a deployed VM. Deployed VMs also have access to instance metadata via the virtual router. User data can be accessed once the IP address of the virtual router is known. My problem is that,when I try to find the virtual route

Re: New VM inherits template's network settings

2013-11-21 Thread Nux!
On 21.11.2013 13:25, Fariborz Navidan wrote: Hi. On which machine should I install libguestfs-tools? the host (where libvirt is installed) or on the machine from which template will be created? On the machine the template is created. After you have finished installing the OS and made all th

Re: New VM inherits template's network settings

2013-11-21 Thread Nux!
On 21.11.2013 14:13, Fariborz Navidan wrote: libvurt is installed on the host node. the cloudstack management and the template vm runs on this host. So if I want to reference the to template vm image I should install libguestfs-tools on the host node. So how will it modify or unconfigure the t

Re: cloudstack4.2 dhcp

2013-11-21 Thread Du Jun
Hi shankerbalan, I just want to know why my VM's dhclient.leases file is empty?Is there any problems with my configurations? Best regards, DuJun 2013/11/21 Shanker Balan > On 21-Nov-2013, at 7:49 pm, Du Jun wrote: > > > Hi all, > > CloudStack provides API access to attach up to 32KB of u

Re: New VM inherits template's network settings

2013-11-21 Thread Fariborz Navidan
Ohh. In the admin guide it is not mentioned that I should run sysprep it is only mentioned for windows. Thanks for advise. On Thu, Nov 21, 2013 at 3:43 PM, Nux! wrote: > On 21.11.2013 12:07, Fariborz Navidan wrote: > >> Hi, >> >> New VM inherits template's network settings and not new allocate

iptables needs restart on every cloud action

2013-11-21 Thread Fariborz Navidan
Hi,' Everytime I perform an action such staty/stop an instance, all VMs get inaccessible and cannot be reached. Then I need to restart iptables and it fixes the issue temporarily. How do I fixed it permanently? Thanks in advance.

Re: Distributed Intrusion Detection System in Cloud Computing

2013-11-21 Thread tuna
Hi guys, Just take a look onto Suricata. It's very nice. I took a chance to implement Snort as another SystemVM in CloudStack. That SystemVM worked well, but Snort was terrible. Will try with Suricata. Thanks, On Nov 21, 2013, at 23:07, Robert Bruce wrote: > Sir Santhosh, > > I am very gra

Re: Distributed Intrusion Detection System in Cloud Computing

2013-11-21 Thread Robert Bruce
Sir Santhosh, I am very grateful to you for your help. According to your recommendation, I have studied about Suricata and concluded that it is a much better NIDS for use in cloud environment. It is well developed and well documented. Well, actually, I want to detect distributed intrusions in clo

Re: Auto-resize partition when create VM

2013-11-21 Thread Shanker Balan
On 21-Nov-2013, at 5:40 pm, Nux! wrote: > On 21.11.2013 12:05, Fariborz Navidan wrote: >> Hi. >> Can I write down the above into a shell script and add it to first boot? >> Can I then resize the root volume? > > Yes, those commands will extend your root LVM over to the new DATA disk that > you a

Re: cloudstack4.2 dhcp

2013-11-21 Thread Shanker Balan
On 22-Nov-2013, at 6:56 am, Du Jun wrote: > Hi shankerbalan, > I just want to know why my VM's dhclient.leases file is empty?Is there any > problems with my configurations? Du, Are you using the CloudStack provided default CentOS templates? If so, then the dhcp lease file is under /var/lib/dhcl

Re: Auto-resize partition when create VM

2013-11-21 Thread Carlos Reátegui
Fariborz Not sure if it is clear from your emails or not but the disk size you are selecting in the add instance wizard is not the root disk size, instead it is the size of an extra disk that will be available and attached to your instance. Hopefully Nux's emails make more sense to you now. >

Re: iptables needs restart on every cloud action

2013-11-21 Thread Shanker Balan
Comments inline. On 22-Nov-2013, at 3:22 am, Fariborz Navidan wrote: > Hi. > In my case eventually started to become more stable. Now this happens > rarely. What did you o to fix it permanently? This is certainly not expected behaviour. Could you tell us how to reproduce this issue? > > Be

Apache CloudStack API Documentation (v4.2.0) @ pdf

2013-11-21 Thread Erdősi Péter
Dear, Are there any way, to get the this: http://cloudstack.apache.org/docs/api/apidocs-4.2/TOC_Domain_Admin.html doc at pdf, or something downloadable (and/or printable) format? Thanks! Regards, Peter

Re: Distributed Intrusion Detection System in Cloud Computing

2013-11-21 Thread John Kinsella
Hey Robert! On Nov 16, 2013, at 11:53 AM, Robert Bruce wrote: > Hi, hope all of you will be fine and doing your best for the development of > open source community. > > I want your suggestions and help regarding my project. I am going to start > my master's thesis in the domain of Cloud Computi

Re: iptables needs restart on every cloud action

2013-11-21 Thread Adam
I've had similar issues but only with Console Proxy. Once I stop iptables, it's resolved temporarily but comes back eventually. Sometimes it doesn't come back, but sometimes it does. Not sure what to do to get it to work permanently. Best Regards, Adam Scarcella On Thu, Nov 21, 2013 at 7:40 A

Re: Template Upload options

2013-11-21 Thread Nitin Mehta
Can you please create a UI bug for this ? There should be some helper text explaining what it stands for On 21/11/13 12:25 AM, "Shanker Balan" wrote: > >On 21-Nov-2013, at 1:06 pm, Jake G. wrote: > >> HI all, >> >> I am trying to upload a Windows 2008 R2 64-bit qcow2 file into >>templates and >

Re: Template Upload options

2013-11-21 Thread Shanker Balan
On 21-Nov-2013, at 9:18 pm, Nitin Mehta wrote: > Can you please create a UI bug for this ? There should be some helper text > explaining what it stands for Done. https://issues.apache.org/jira/browse/CLOUDSTACK-5231 -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@sh

Re: New VM inherits template's network settings

2013-11-21 Thread Fariborz Navidan
Hi. On which machine should I install libguestfs-tools? the host (where libvirt is installed) or on the machine from which template will be created? Thanks in advance. On Thu, Nov 21, 2013 at 3:57 PM, Fariborz Navidan wrote: > Ohh. In the admin guide it is not mentioned that I should run syspr

Re: cloudstack4.2 dhcp

2013-11-21 Thread Du Jun
Hi Balan, Thank you for your reply.I am using ubuntu 10.4 ISO and then transform it into a qcow2 format template.I only have /var/lib/dhcp/ directory and don't have /var/lib/dhclient/ directory.If I insist in using my own tempalate and I want a non-empty file "dhclient.leases",how can I do?Thank yo