|
|
Frequently Asked Questions (FAQ)From $1Table of contents
Do I need an AWS account to use Scalr?You do need to have some Cloud infrastructure account, like AWS, Rackspace Cloud, or a private Cloud like Eucalyptus or OpenStack. Where do I get my AWS account ID?It can be found at http://aws.amazon.com/account/ How do I update my domain DNS zone when my farm is reconfigured?Just set nameservers for your domain to ns1.scalr.net, ns2.scalr.net, ns3.scalr.net, and ns4.scalr.net. Scalr will take care of the rest. Does Scalr configure virtual hosts on app instances?Yes. Just go to Websites -> Apache Virtual hosts. How does MySQL replication work?Scalr handles MySQL replication and re-configuration. An Instance serving as MySQL Slave will automatically be promoted to MySQL Master if the precedent Master crashes, is terminated, or becomes unavailable. More on Setup a MySQL cluster. OK, I created an application, built and launched a farm, now what?Upload your application to an App Instance, then create a server snapshot. Or follow the Getting Started guide. Where do I place my files? What are the default directories?/var/www for the App role How do I SSH into my instance?
Scalr provides a single-click method of logging into one of your servers as root, using Mindterm. On any page that lists an Instance, simply click the black terminal icon and Scalr will use your private key to log you in as root in a Java applet. If you would like to connect to an instance using Putty, Terminal, or Cyberduck, click Server Farms->View all, Then click the "View" link next to the Roles count. Next to each Role there's an Options dropdown. Select Download SSH private key. This private key allows you to authenticate on all instances in this farm via an OpenSSH client ( How do I use my private key in Putty?Does Scalr synchronize my content between Instances for www or app roles?No, but you can either do this by yourself (a simple rsync script will do the job) or use "Create server snapshot" feature. Can I use Scalr or other tools like Elasticfox simultaneously to control my instances?You are strongly advised not to. Scalr cannot track any outside changes on your Instances, EBS volumes, Elastic IPs, etc., and you can face with unexpected behavior as a result. For example, assigning an Elastic IP to an instance via Elasticfox will mess up your Scalr Elastic IPs. What are "Min LA" and "Max LA" settings for Roles?LA is a common abbreviation for "Load Average". You can read more on this in this Wikipedia article . Scalr scales your Role based on average LA on all instances for last 15 minutes. If LA grows higher than your Max LA setting, a new instance is started. If LA falls below your Min LA setting, one instance is terminated. What are Min Instances and Max Instances?Scalr will keep a number of running instances of a particular role between Min and Max, regardless of LA limits. If you set a Max of 10, Scalr will never start a new Instance that would bring the count over 10. Will my farms/instances be stopped if I unsubscribe?No, they will keep running. But you will no longer be able to control them from the Scalr web interface; Scalr will not monitor them, nor will it scale them. How are HTTP requests spread across all load balancer instances?Scalr adds the public IP addresses of all load balancer instances to your Application DNS Zone. This is DNS round-robin. Different visitors (different DNS requests) are spread across different load balancer instances. Can I add my existing AMI/instance into Scalr?You can use one of Scalr's pre-made instances, build off the premade "base" role, or Import a non-Scalr server. How do I create my custom role/AMI out of a "base" one?Include a base role when creating a new farm, or edit an existing farm and add one. Select an Instance of that base role and use the "Create server snapshot" option. You will be asked to give it a new role name. The new Role will only be accessible by you. I made changes on instance, clicked "Synchronize to all" and now it won't be recognized by Scalr or MySQL snaphsot not working or it hangs in "Synchronizing…..." state."Synchronize to all" has been replaced by "Create server snapshot" in Scalr 2.0, but if you are still using 1.0, then: Make sure that you did not mess essential scalr programs on your instance. I want to run
|
Powered by MindTouch Core |
This might be true in a sense, but won't you run the risk of loosing user's session data *if* the farm scales down and the instance effected happens to hold the session data?
yes this is true. Even with sticky sessions during a downscale session data could be lost.
True session clustering can take place via a shared file system (e.g. GlusterFS) or if sessions are stored in the DB.