Ok, I tried this. It all goes well, until I start the instance - at
that point, the uptime counts up, but the state perpetually remains on
Pending, and the Load Averages at 'Unknown'. :( Console output is,
however, available.


On 1月8日, 午前11:52, "Robert Crowe" <[email protected]> wrote:
> Let's get something really simple running.  Try this:
>
> 1.      You need to have a domain registered somewhere.  Let's say your
> domain is "example.com".
>
> 2.      Wherever you have it registered, point the name servers for your
> domain to ns1.scalr.net, ns2.scalr.net and ns3.scalr.net
>
> 3.      Create a new farm, and only include 1 app role.  Leave all the
> setting for the role at the defaults.
>
> 4.      You now have a farm with 1 server instance, which is configured to
> be a web server.
>
> 5.      Create a new application, setting its domain to "example.com"
> (whatever domain you registered) and selecting the farm you just created for
> it to run on, and your app role as the front end.
>
> 6.      From the menu on the right of your farm, launch your farm.
>
> 7.      When the instance shows you the little terminal window under the SSH
> column on the Instances > View page, your server is ready.
>
> 8.      Go to your domain in a web browser and you should see the default
> Scalr page.
>
> 9.      If that's working, then download the private key for your farm
> (right side menu), and use it to set up an SFTP client to access your server
> and upload files.
>
> 10. Remember to synchronize to all to save your changes.
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
>
> On Behalf Of Jason
> Sent: Thursday, January 08, 2009 5:46 AM
> To: scalr-discuss
> Subject: Re: Confused about creating roles, DNS, etc...
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to