You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Caleb Call <ca...@me.com> on 2012/08/09 00:31:51 UTC

Customizing cloudstack

Couple questions that pertain to customizing cloudstack to fit better into our environment.  First question is related to DNS.  What needs to be done to make it so the DHCP addresses that are assigned in cloudstack can be pushed back dynamically to our company DNS?  Is it as simple as setting up an rndc key?  We'd like this functionality so that the self-service part is truly self service and as automated as possible.  I would guess the changes would need to be made on the virtual router, but how could we make it so any future routers that are spun up pickup these changes as well...is that possible?

Second question has to do with modifying an instance's resources.  Is it possible to resize an instance, say add additional memory without creating a new Compute Offering, maybe using the API?  The one thought I had on doing this was to use the API, create a new computer offering with the specs you want, stop the VM, assign this compute offering, start up the VM, then remove the computer offering.  I'm sure there are issues with that, but it seems odd that you can't just add memory or an extra CPU or <insert whatever> without creating a whole new compute offering for existing instances.

Thanks,
Caleb

Re: Customizing cloudstack

Posted by Caleb Call <ca...@me.com>.
Correct, I've tested removing the compute offering and the instance that was using it continues to run fine and I'm also able to shutdown, reboot, etc and it's fine.  It even retains the compute offering name that was used that has since been deleted.  We're currently not doing any billing (our cloudstack is all internal but we would like to eventually do some show back or maybe charge back to the different departments and teams in the future) so I can't speak to that, there also could be some other side effects I'm not currently seeing.

Thanks

On Aug 10, 2012, at 5:46 AM, Nitin Mehta <Ni...@citrix.com> wrote:

> If I recall it correctly, it does allow you to delete even if some vm's are using it and what that means is that the existing vms would still be using it but new vms cant be created with the deleted compute offering. It's a soft delete and the usage should be able to calculate metering for the deleted compute offering. If it doesn't then it's a bug.
> 
> Thanks,
> -Nitin
> 
> -----Original Message-----
> From: Tamas Monos [mailto:tamasm@veber.co.uk] 
> Sent: Friday, August 10, 2012 4:26 PM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: Customizing cloudstack
> 
> Hi,
> 
> I'm not sure you can remove a compute offering while VMs are using it. Also usage has references to the compute offering so if you can remove them that might break usage so you might not be able to bill your customers properly.
> 
> Regards
> 
> Tamas Monos                                               DDI         +44(0)2034687012
> Chief Technical                                             Office    +44(0)2034687000
> Veber: The Hosting Specialists               Fax         +44(0)871 522 7057
> http://www.veber.co.uk
> 
> Follow us on Twitter: www.twitter.com/veberhost Follow us on Facebook: www.facebook.com/veberhost
> 
> 
> -----Original Message-----
> From: Caleb Call [mailto:calebcall@me.com]
> Sent: 08 August 2012 23:32
> To: cloudstack-users@incubator.apache.org
> Subject: Customizing cloudstack
> 
> Couple questions that pertain to customizing cloudstack to fit better into our environment.  First question is related to DNS.  What needs to be done to make it so the DHCP addresses that are assigned in cloudstack can be pushed back dynamically to our company DNS?  Is it as simple as setting up an rndc key?  We'd like this functionality so that the self-service part is truly self service and as automated as possible.  I would guess the changes would need to be made on the virtual router, but how could we make it so any future routers that are spun up pickup these changes as well...is that possible?
> 
> Second question has to do with modifying an instance's resources.  Is it possible to resize an instance, say add additional memory without creating a new Compute Offering, maybe using the API?  The one thought I had on doing this was to use the API, create a new computer offering with the specs you want, stop the VM, assign this compute offering, start up the VM, then remove the computer offering.  I'm sure there are issues with that, but it seems odd that you can't just add memory or an extra CPU or <insert whatever> without creating a whole new compute offering for existing instances.
> 
> Thanks,
> Caleb
> 
> 


RE: Customizing cloudstack

Posted by Will Chan <wi...@citrix.com>.
That is correct.  You can definitely delete a service offering.  It is a soft-delete and shouldn't affect existing VMs until they upgrade/downgrade from it.  Usage will also not be affected as well.

Will

> -----Original Message-----
> From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com]
> Sent: Friday, August 10, 2012 4:47 AM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: Customizing cloudstack
> 
> If I recall it correctly, it does allow you to delete even if some vm's are using
> it and what that means is that the existing vms would still be using it but
> new vms cant be created with the deleted compute offering. It's a soft
> delete and the usage should be able to calculate metering for the deleted
> compute offering. If it doesn't then it's a bug.
> 
> Thanks,
> -Nitin
> 
> -----Original Message-----
> From: Tamas Monos [mailto:tamasm@veber.co.uk]
> Sent: Friday, August 10, 2012 4:26 PM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: Customizing cloudstack
> 
> Hi,
> 
> I'm not sure you can remove a compute offering while VMs are using it.
> Also usage has references to the compute offering so if you can remove
> them that might break usage so you might not be able to bill your
> customers properly.
> 
> Regards
> 
> Tamas Monos                                               DDI         +44(0)2034687012
> Chief Technical                                             Office    +44(0)2034687000
> Veber: The Hosting Specialists               Fax         +44(0)871 522 7057
> http://www.veber.co.uk
> 
> Follow us on Twitter: www.twitter.com/veberhost Follow us on Facebook:
> www.facebook.com/veberhost
> 
> 
> -----Original Message-----
> From: Caleb Call [mailto:calebcall@me.com]
> Sent: 08 August 2012 23:32
> To: cloudstack-users@incubator.apache.org
> Subject: Customizing cloudstack
> 
> Couple questions that pertain to customizing cloudstack to fit better into
> our environment.  First question is related to DNS.  What needs to be done
> to make it so the DHCP addresses that are assigned in cloudstack can be
> pushed back dynamically to our company DNS?  Is it as simple as setting up
> an rndc key?  We'd like this functionality so that the self-service part is truly
> self service and as automated as possible.  I would guess the changes would
> need to be made on the virtual router, but how could we make it so any
> future routers that are spun up pickup these changes as well...is that
> possible?
> 
> Second question has to do with modifying an instance's resources.  Is it
> possible to resize an instance, say add additional memory without creating
> a new Compute Offering, maybe using the API?  The one thought I had on
> doing this was to use the API, create a new computer offering with the
> specs you want, stop the VM, assign this compute offering, start up the
> VM, then remove the computer offering.  I'm sure there are issues with
> that, but it seems odd that you can't just add memory or an extra CPU or
> <insert whatever> without creating a whole new compute offering for
> existing instances.
> 
> Thanks,
> Caleb
> 


RE: Customizing cloudstack

Posted by Nitin Mehta <Ni...@citrix.com>.
If I recall it correctly, it does allow you to delete even if some vm's are using it and what that means is that the existing vms would still be using it but new vms cant be created with the deleted compute offering. It's a soft delete and the usage should be able to calculate metering for the deleted compute offering. If it doesn't then it's a bug.

Thanks,
-Nitin

-----Original Message-----
From: Tamas Monos [mailto:tamasm@veber.co.uk] 
Sent: Friday, August 10, 2012 4:26 PM
To: cloudstack-users@incubator.apache.org
Subject: RE: Customizing cloudstack

Hi,

I'm not sure you can remove a compute offering while VMs are using it. Also usage has references to the compute offering so if you can remove them that might break usage so you might not be able to bill your customers properly.

Regards

Tamas Monos                                               DDI         +44(0)2034687012
Chief Technical                                             Office    +44(0)2034687000
Veber: The Hosting Specialists               Fax         +44(0)871 522 7057
http://www.veber.co.uk

Follow us on Twitter: www.twitter.com/veberhost Follow us on Facebook: www.facebook.com/veberhost


-----Original Message-----
From: Caleb Call [mailto:calebcall@me.com]
Sent: 08 August 2012 23:32
To: cloudstack-users@incubator.apache.org
Subject: Customizing cloudstack

Couple questions that pertain to customizing cloudstack to fit better into our environment.  First question is related to DNS.  What needs to be done to make it so the DHCP addresses that are assigned in cloudstack can be pushed back dynamically to our company DNS?  Is it as simple as setting up an rndc key?  We'd like this functionality so that the self-service part is truly self service and as automated as possible.  I would guess the changes would need to be made on the virtual router, but how could we make it so any future routers that are spun up pickup these changes as well...is that possible?

Second question has to do with modifying an instance's resources.  Is it possible to resize an instance, say add additional memory without creating a new Compute Offering, maybe using the API?  The one thought I had on doing this was to use the API, create a new computer offering with the specs you want, stop the VM, assign this compute offering, start up the VM, then remove the computer offering.  I'm sure there are issues with that, but it seems odd that you can't just add memory or an extra CPU or <insert whatever> without creating a whole new compute offering for existing instances.

Thanks,
Caleb



RE: Customizing cloudstack

Posted by Tamas Monos <ta...@veber.co.uk>.
Hi,

I'm not sure you can remove a compute offering while VMs are using it. Also usage has references to the compute offering so if you can remove them that might break usage so you might not be able to bill your customers properly.

Regards

Tamas Monos                                               DDI         +44(0)2034687012
Chief Technical                                             Office    +44(0)2034687000
Veber: The Hosting Specialists               Fax         +44(0)871 522 7057
http://www.veber.co.uk

Follow us on Twitter: www.twitter.com/veberhost
Follow us on Facebook: www.facebook.com/veberhost


-----Original Message-----
From: Caleb Call [mailto:calebcall@me.com] 
Sent: 08 August 2012 23:32
To: cloudstack-users@incubator.apache.org
Subject: Customizing cloudstack

Couple questions that pertain to customizing cloudstack to fit better into our environment.  First question is related to DNS.  What needs to be done to make it so the DHCP addresses that are assigned in cloudstack can be pushed back dynamically to our company DNS?  Is it as simple as setting up an rndc key?  We'd like this functionality so that the self-service part is truly self service and as automated as possible.  I would guess the changes would need to be made on the virtual router, but how could we make it so any future routers that are spun up pickup these changes as well...is that possible?

Second question has to do with modifying an instance's resources.  Is it possible to resize an instance, say add additional memory without creating a new Compute Offering, maybe using the API?  The one thought I had on doing this was to use the API, create a new computer offering with the specs you want, stop the VM, assign this compute offering, start up the VM, then remove the computer offering.  I'm sure there are issues with that, but it seems odd that you can't just add memory or an extra CPU or <insert whatever> without creating a whole new compute offering for existing instances.

Thanks,
Caleb



Re: Customizing cloudstack

Posted by Matthew Patton <mp...@inforelay.com>.
Configure your DNS server to accept dynamic updates. If you use dnsmasq for dhcp it will auto register what it leases out.