Re: Multiple ROOT disk for one Instances in CS 4.2.1

2015-01-23 Thread Keerthiraja SJ
Below are the query ran for the instances which have many root disk. mysql> select * from volumes where instance_id='1381'; +--++---+-+--+-+---+---+--+-+-

RE: No VMID/VolumeID in Volume Usage Data

2015-01-23 Thread Somesh Naidu
Volume Id: 242 The volume ID seems to be present in the API output - you could do "select * from volumes where id=242" to get the details about that volume. Regards, Somesh -Original Message- From: mvs babu [mailto:mvsbabu0...@outlook.com] Sent: Friday, January 23, 2015 2:32 AM To: clo

Re: Hostname and IP address of VMs created from template.

2015-01-23 Thread Dan Dong
Hi, All, Thanks for all the info, by recreating the template following the document, now the newly created VMs have their IP addresses set automatically, but the hostname still keeps the hostname of the VM from which template is created. For CentOS, the hostname is set in the file /etc/sysconfig

Re: How to reduce the size of the cloud_usage database

2015-01-23 Thread Rohit Yadav
> On 23-Jan-2015, at 8:40 pm, Abhinandan Prateek > wrote: > > Will this also take care of usage server not regenerating usage data on > restart before a certain cut-off date ? Since this is an API, its usage is at the discretion of the admin. This has nothing to do with server not generating

Re: How to reduce the size of the cloud_usage database

2015-01-23 Thread Abhinandan Prateek
Will this also take care of usage server not regenerating usage data on restart before a certain cut-off date ? > On 23-Jan-2015, at 7:43 pm, Rohit Yadav wrote: > > Hi, > > Instead of a automatic thread that would clean up cloud_usage database, I’ve > implemented a new API (removeRawUsageRecord

Re: How to reduce the size of the cloud_usage database

2015-01-23 Thread Rohit Yadav
Hi, Instead of a automatic thread that would clean up cloud_usage database, I’ve implemented a new API (removeRawUsageRecords) that will be available with 4.6.0 and above. It takes an interval parameter which is an integer greater than 0, and this API when called removes all records from cloud_

unable to get VM console in broswer

2015-01-23 Thread Sonali Jadhav
Hi, I have installed wildcard certificate for management servers as well as Console proxy VM. Management Certificate works without any problem. But if I try to take console of VM, it shows blank screen, I can see that certificate is loaded but I have to disable "Protection" then it shows conso

RE: Hostname and IP address of VMs created from template.

2015-01-23 Thread Geoff Higginbottom
Hi Bhavin, Firstly the VMs Hostname is always taken from the 'name' setting and not the 'display name' this is why the name setting cannot have spaces (as Hostnames are not allowed to have spaces) but the display name can. Regarding https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.

Re: Clearing template cache on primary storage

2015-01-23 Thread Prashant Kumar Mishra
>>I want the template to be pulled down to primary storage each time a >>deployment starts. I think this can be done using full clone vm deployment . In case of full clone template should get copied every time ,there is a global setting ³vmware.create.full.clone² which controls this attribute .

Re: Multiple ROOT disk for one Instances in CS 4.2.1

2015-01-23 Thread Prashant Kumar Mishra
Can you check state of these Disks in DB( volumes table for give instance_id). On 1/23/15, 4:46 PM, "Daan Hoogland" wrote: >Keerthi, > >This doesn't ring a bell directly but to investigate further; > >Did you check in the database whether these are pointing to the same >image? This seems like a

Re: Multiple ROOT disk for one Instances in CS 4.2.1

2015-01-23 Thread Daan Hoogland
Keerthi, This doesn't ring a bell directly but to investigate further; Did you check in the database whether these are pointing to the same image? This seems like a data corruption, to me. When you say stop/start the vm, do you mean from cloudstack/xenserver or within the vm? On Fri, Jan 23, 20