Thanks Alex and Arie. I think I am a little bit clearer about the process, and I think I know what is causing my confusion.
When I create a new farm, I give it a domain name, and a DNS zone is created. That's fine. But as I wrote in my other message (other thread), the instances never enter a 'Running' state - they stay in 'Pending' --- so A records in the zone are never created for them, and I think that's what making me misunderstand the whole process. I just realised that the 'Public IP' column stays empty forever --- which is probably _why_ the DNS A records are never created, and which is why the whole thing isn't working. So I think I need to debug first why the machines do not enter a running state and do not register a load (load stays at Unknown, although uptime goes up properly). Also, I suspect that this is why instances keep getting killed and restarted by Scalr, since it probably thinks they didn't start properly. 'ec2-describe-images', though, says the instances are running fine, and in the Console Output in Scalr I can see the console output (I can paste it here if needed, there's a few errors about some kernel parameters, but it _does_ get to the "ec2-xxx-xxx-xxx login:" prompt). Cheers, -j On Jan 8, 7:33 am, Alex Kovalyov <[email protected]> wrote: > How do you "Create a role for each application."? > > When you create application/domain, you choose which role in the farm > will create A records in the DNS zone ( usually Load balancers or > Application servers). > If the farm is running and there are instances of this role running, > these records will be created immediately. > Otherwise A DNS records will be created for each instance that is > coming up in this role, dynamically. > > On Jan 8, 5:58 am, Jason <[email protected]> wrote: > > > > > Hi all, > > > I'm completely confused about creating farms and roles. I follow the > > following process: > > > 1. Create a farm. > > 2. Create individual applications. > > 3. Create a role for each application. > > > When I create roles, it asks me for a DNS zone for the first one. > > Fine, I enter 'domain.net' in the Doman name section. When the zone is > > created, no IPs are added to the zone, though. And if I try to create > > _another_ role, it asks me for a domain, I put in 'domain.net' and it > > says 'Zone already exists'. > > > How do I make it actually add individual hosts to the zone files? And > > what do I do with the roles, how do I make them fit into the DNS zone > > structure? > > > Thanks, much appreciated. > > > -j --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
