On 12-Nov-2013, at 5:49 pm, Lennert den Teuling <lenn...@pcextreme.nl> wrote:
> > >> Op 12 november 2013 om 13:04 schreef Shanker Balan >> <shanker.ba...@shapeblue.com>: >> >> >> Comments inline. >> >> On 12-Nov-2013, at 5:16 pm, Lennert den Teuling <lenn...@pcextreme.nl> wrote: >> >>>> Op 12 november 2013 om 2:18 schreef Nick Wales <n...@nickwales.co.uk>: >>>> >>>> >>>> Thanks Lennert. >>>> >>>> My issue isn't around the state of the VR as such, we've destroyed and >>>> brought back plenty with no issue, more so the impact it going down will >>>> have on my instances. >>>> >>>> We're looking at consolidation ratios of 40 to 1 so Pods will have a large >>>> number of instances. >>>> >>>> We have been trying to work out the best way to use external DNS servers my >>>> main issue there has been that puppet requires the FQDN of the instance >>>> which they won't get until the external DNS servers respond appropriately >>>> which slows things down. >>>> >>>> We have been testing scripts to push DNS entries from the instances at >>>> start up which seems to work ok. How do you approach this problem? >>> >>> If i understand you correctly, what you probably want is to directly update >>> your >>> (main) nameservers when a VM is started. I heard my colleague talking about >>> writing something for CloudStack which automatically add a records for the >>> hostname and reverse DNS when VMs are being deployed. This is something we >>> are >>> currently looking into. >> >> Cloud-init would be a nice framework to standardise on as it already >> supports cloudstack meta-data services. One would have to write a customer >> DNS registration module and enable it in their template. >> >> Puppet etc would be a overkill for this task. > > Indeed, for setting thing like the hostname, cloud-init would be just fine no > need to use puppet. > > In our case , the customer has (root)access to the VM, so i'm not sure if > creating the correct (r)DNS records is something i would trigger from within > the > VM. It's an option of course, but i rather not have the client looking into > the > code we use to manipulate the DNS for example. > > If i would manage the VMs myself it would be definitely be a option. Agreed. I really don’t like the idea of storing my keys on a customer accessible VM. :) “dyndns” package would be the simplest for the OP. >>> >>> If you systems (outside) CloudStack also use this nameservers (which is the >>> case >>> in our situation) the FQDN should be resolvable at once. Of course it could >>> take >>> some time for it to be available world-wide. >>> >>> It seems that there is already some code available which gets triggered at >>> these >>> events, but you still need to implement you own DNS infrastructure. >> >> AWS Route 53 would be a good choice. Looks like some already has >> added Router 53 support to cloud-init. >> >> https://github.com/lovelysystems/cloud-init/blob/master/cloudinit/CloudConfig/cc_dns.py > > Interesting, I'm not that familiar with cloud-init is seems! :-) The SSH key updater module worked well in my tests. -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 CloudStack Bootcamp Training on 27/28 November, Bangalore http://www.shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.