CS的日志管理

2013-06-26 Thread wanghaicheng2004
大家有知道CS的日志存放位置修改方法的么?另CS保存规则设置,如保存多长时间、占用多大空间等 wanghaicheng2004

Re:RE: Is this a bug?

2013-06-26 Thread WXR
Why the rule set will lost after iptables restarting?How can I do to avoid it? -- Original -- From: Jayapal Reddy Uradijayapalreddy.ur...@citrix.com; Date: Wed, Jun 26, 2013 12:34 PM To: usersusers@cloudstack.apache.org; Subject: RE: Is this a bug? Hi,

RE: Re:RE: Is this a bug?

2013-06-26 Thread Jayapal Reddy Uradi
Restart iptables logic is specific to host iptables. You can save (iptables-save) and restore (iptables-restore) to avoid config loss. Thanks, Jayapal -Original Message- From: WXR [mailto:474745...@qq.com] Sent: Wednesday, 26 June 2013 12:57 PM To: users Subject: Re:RE: Is this a

Re: Re:RE: Is this a bug?

2013-06-26 Thread Nils Vogels
One could argue that the CloudPortal should do this, since the host is under the reign of CloudPortal ... ;) On Wed, Jun 26, 2013 at 12:18 PM, Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com wrote: Restart iptables logic is specific to host iptables. You can save (iptables-save) and

RE: Re:RE: Is this a bug?

2013-06-26 Thread Jayapal Reddy Uradi
Iptables restart loads the default configuration from the config file (/etc/sysconfig/iptables). In this case other configuration will be lost. If you want to reset iptables config use restart. cloudstack is not controlling the iptables restart. User is not supposed to touch the cloudstack

Re:RE: Re:RE: Is this a bug?

2013-06-26 Thread WXR
Thank you!I will have a try. -- Original -- From: Jayapal Reddy Uradijayapalreddy.ur...@citrix.com; Date: Wed, Jun 26, 2013 06:55 PM To: users@cloudstack.apache.orgusers@cloudstack.apache.org; Subject: RE: Re:RE: Is this a bug? Iptables restart loads the

How can I allocate a specific IP when I create an instance.

2013-06-26 Thread WXR
cloudstack version: 4.1 network type: basic network When I create a new instance,the vm will get a random IP from the DHCP server on vrouter. If I want to: 1.allocate a specific ip to the vm. 2.allocate multiple ips to the vm. 3.change the vm ip from one to another. How can I achieve it? I try

Snapshot failing and SR left mounted

2013-06-26 Thread Yong Chen
Hi, From time to time there are VMs failed to take snapshots. I found that there are SR left mounted (they are the mount to secondary storage snapshot paths) on hosts and that seems causing the issue. If I manually dismount or detach SR then snapshots can be takened successfully. However

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Dave Dunaway
There should be a way to have the ability to reserve an IP and still have DHCP assign the IP by mac reservation. There's no technical reason this wouldn't work and likely a feature a lot of people would love to see. The only hold back is the UI not allowing you to do so. Ultimately, you can go to

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Geoff Higginbottom
Simple answer - you can't. In an advanced zone, you can specify the IP address when you create a new VM using the API, however in a basic zone, because the IP will depend on which POD your VM ends up in, and as a user you cannot influence this, there is no way to specific the IP, even if you

Re: Re:RE: Is this a bug?

2013-06-26 Thread Ahmad Emneina
If you feel strongly about it, I'd file a feature enhancement for it. At least an api call that can restore the iptable rules. I'd also start a thread about it on dev and see if you can get people to upvote the ticket. I for one, would love to see that in cloudstack. On Wed, Jun 26, 2013 at

Re: Re:RE: Is this a bug?

2013-06-26 Thread Ahmad Emneina
on second thought, i wonder if a 'force reconnect' for the host restores the rules. That might be the way to restore them in an undocumented way. On Wed, Jun 26, 2013 at 5:16 PM, Ahmad Emneina aemne...@gmail.com wrote: If you feel strongly about it, I'd file a feature enhancement for it. At

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Ahmad Emneina
Its feasible to do this, you can pick a host to deploy to (as an admin) so you know what pod it will eventually land in and its ip address space. I say file an enhancement, bring it up to dev and have it discussed and voted upon. On Wed, Jun 26, 2013 at 4:51 PM, Dave Dunaway

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Geoff Higginbottom
Dave, There is a very good reason you can't, and its nothing to do with the GUI. In a Basic Zone, the Guest VM IP is allocated from the POD CIDR. The gotcha is that each POD has a unique CIDR, and as a user cannot influence POD placement, they have no way of knowing which POD the VM will end

Re: CPVM custom SSL location

2013-06-26 Thread Steven Liang
good question. i also want to know. On 06/26/2013 12:31 PM, David Comerford wrote: Hi, Does anyone know where custom SSL certificates are stored on the console proxy vm's? Had a look in /etc/ssl/certs/ and /usr/local/cloud/certs/ but they only contain the

Re: CPVM custom SSL location

2013-06-26 Thread Kelven Yang
For security reasons, we actually don't store custom SSL certificate in console proxy VM's file system. The certificate is stored in management server DB (encrypted), dynamically re-constructed in memory and sent it over through the SSL secured channel to console proxy VM at run time. Kelven

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Jason Pavao
Do you by chance have a sample sql query that would perform this? On 6/26/2013 8:51 AM, Dave Dunaway wrote: There should be a way to have the ability to reserve an IP and still have DHCP assign the IP by mac reservation. There's no technical reason this wouldn't work and likely a feature a lot

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Dave Dunaway
@Geoff: Of course we are talking advanced networking, and having consideration of what your networks are that you can use. If someone wants to put a 10.x.x.x ip on a VM that is on a 192.x.x.x network, then they can gladly shoot themselves in the foot. Ideally the person making such a change

CS4.1 S3 AWS, problem with End Point Reference

2013-06-26 Thread Michał Łuczak
Hi, I have tried to configure Amazon S3 in CS4.1 but I have a problem with one error. API AmazonEC2 works (tested), but S3 not. My steps 1) I enabled S3 API (from UI) 2) mkdir -p /mnt/S3 and owned to cloud.cloud 3) In cloud-bridge.properties I set storage.root to /mnt/S3 Now looks that:

Re: CPVM custom SSL location

2013-06-26 Thread David Comerford
Well that explains why I couldn't find it anywhere on the filesystem. Cheers Kelven. Regards, David Comerford On 26 June 2013 18:14, Kelven Yang kelven.y...@citrix.com wrote: For security reasons, we actually don't store custom SSL certificate in console proxy VM's file system. The

cloudstack support in apache libcloud

2013-06-26 Thread Sebastien Goasguen
Hi folks, libcloud 0.13 RC is up for vote. There is much better support for CloudStack in it. Check it out: http://buildacloud.org/blog/268-cloudstack-support-in-apache-libcloud.html -sebastien

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Geoff Higginbottom
@Dave: you are right about advanced networks but the original question was in relation to basic networking. @All: I did some testing over a year ago around changing IPs for guest. For a VM on and advanced network you can edit the IP directly in the database but restarting the VM is not

Error While Decrypting on Create volume from snapshot

2013-06-26 Thread John Skinner
I am running CS 3.0.2 and I am running into an issue when trying to create a new volume from a snapshot, I instantly get an error like this: 2013-06-26 16:47:38,637 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-67:job-110824) Executing com.cloud.api.commands.CreateVolumeCmd for

RE: Unable to add host: Unable to start agent: NO HVM support on this machine

2013-06-26 Thread Susumu Shipp
This may be a basic question, but have you verified that you can use kvm outside of cloudstack on the node? -susumu -Original Message- From: Mir Islam [mailto:mis...@mirislam.com] Sent: Wednesday, June 26, 2013 2:44 PM To: users@cloudstack.apache.org Subject: Unable to add host: Unable

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Dave Dunaway
I've done testing on changing IPs with 3.0.4 CloudPlatform in advanced networking and never had to reboot the VR. Seems a bit silly to have to go that far just to re-ip a machine. When the machine is restarted from CloudPlatorm it will add its IP to the dhcp leases file correctly as expected on

Load balance in basic network model

2013-06-26 Thread j...@millican.us
Hello, I am running CloudStack 4.1 on Ubuntu 12.04.2 with KVM for hypervisors and am using NFS for primary and secondary storage. I am currently running Basic Networking model and would like to have two VMs on separate hosts load balanced. I see in the network section of Service Offerings

Re: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread WXR
If I use basic zone and basic network, I can set the public ips(the ips which can be routed on internet) to the guest newwork.So a vm instance can get the public ip directly from dhcp and I can see the public ip on its nic. But the advanced network topology is not as same as basic network,the

RE: How can I allocate a specific IP when I create an instance.

2013-06-26 Thread Geoff Higginbottom
There is a feature which got pulled from the 4.1 release which should make it into the 4.2 release, which is 'Security Group Isolation in Advanced Zone'. This enables you to create a basic style network with security groups, but in advanced networking. An alternative might to use advanced

How to find the the vm's volume file in primary storage?

2013-06-26 Thread WXR
My primary storage is NFS. When I mount it and list the files in it, I can see lots of files named as uuid.I think they are vm volume files. But the uuid does not match to any vm's uuid or volumes uuid displayed in the cloudstack UI??so if I want to find a vm's volume file on primary storage

Re: How to find the the vm's volume file in primary storage?

2013-06-26 Thread Kirk Jantzer
I haven't looked, but I think they would be correlated to each other in the database tables, or possibly via the api. Regards, Kirk Jantzer http://about.me/kirkjantzer On Jun 26, 2013 10:10 PM, WXR 474745...@qq.com wrote: My primary storage is NFS. When I mount it and list the files in it, I