Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > Dashboard Users Guide > Manage > Arrays > Actions > Add Server Array Assistant

Add Server Array Assistant

Table of Contents

Overview

Adding a server array to a deployment is done through a flow of selecting a ServerTemplate, configuring the Server Details, Array Details and then reviewing your selections for confirmation. On the Confirm tab, you have the option of saving your settings as defaults for adding future servers to that specific deployment. Be sure to take advantage of the information offered in the tooltips throughout the add server array flow. Just hover over a tooltip to view additional information about that specific component.

Choose a Cloud

You may add a server array from the array index page by navigating to Manage > Arrays. There, you can view all of your active and inactive servers arrays with the option of adding a new server array by clicking New Array.

After clicking New Array, you will be prompted to choose a cloud and specify a deployment to add your server array. After making these selections, you will then be taken through the add server array flow to configure the rest of your settings. You also have the ability to add a server array directly from your desired deployment by navigating to Your Deployment > Add Array.

Add a New Array

There are several different ways to get to the Add Server Array Assistant in the Dashboard. 

  • Manage -> Deployments -> Deployment_Name -> Add Array
  • Manage -> Arrays -> New Array
  • Design -> ServerTemplates -> ServerTemplate_Name -> Add Array

Choose a Cloud

When you click the Add Array button you will be prompted to make a cloud selection. Select the cloud where you will eventually launch the array. (Servers are cloud-specific.)

If you are adding a server array through the Design -> ServerTemplate route or through the Manage -> Arrays > New Array route as shown above, you will need to specify a cloud and deployment.

If you are adding the array directly from a deployment, the "Deployment" row will be hidden and you will only need to specify a cloud.

File:12-Guides/Dashboard_Users_Guide/Manage/Arrays/Actions/Add_Server_Array_Assistant/screen-AddNewArray2.png

Note: You will only be able to create a server in the chosen cloud if one of the ServerTemplate's MultiCloud Images supports that cloud.

Make your selections and click Continue.

Choose a ServerTemplate

The next step to add a server array to a deployment is to select a ServerTemplate. Available to you are the ServerTemplates that exist in your account. There are multiple ways to find the ServerTemplate of your choice by using the Filter Options on the left. Enter the name of the ServerTemplate or sort the list by using one or several of the Filter Options including Publisher, Tags, Category, and Name or Date. After choosing a ServerTemplate, select its revision you would like to use and proceed to Server Details.

 

screen-ServerArrayServerTemplate.png
 

Finish takes you to the show page of your server array where you can edit settings and launch your server if you have the minimum of required components. Cancel will cancel your selections and take you back to the Server Array index page or the Servers tab of your deployment. Confirm will take you to the Confirm tab and allow you to review your settings while also giving you the option to make these settings your Server Defaults.

Configure Server Details

The Server Details tab allows you to configure your server array by making selections under Hardware and Networking. Server Details will show particular fields and options depending on which cloud you chose to launch your server array. The Hardware section shows the basic settings of your server array tied to the ServerTemplate you chose in your previous step. Here, you can change the name of your server array and select a MultiCloud Image and Instance Type. The Networking section displays the security and network options for your server array. Each cloud also offers different Advanced Options, available below the Hardware section. 

Each Server Details tab looks has different fields depending on which cloud was chosen. For more detailed information on the Server Details of each cloud, see below.

AWS

screen-NewAlertArray-v4.png

 

  • Array Name - Provide a name for the server array.
  • MultiCloud Image - Select the MultiCloud Image to be used for the Server Array. The default MultiCloud Image is inherited from the ServerTemplate.
  • Instance Type - Select the type of instance that will be launched. By default, the instance type is specified by the chosen MCI, however it can be overwritten if you want to launch a smaller or larger instance type.
  • Pricing - Choose either Spot or On Demand for your instances.
  • EBS Optimized - Check the box if you want to launch instances that use optimized EBS volumes for better performance. Note: Additional charges from Amazon do apply.
  • VPC Subnet - If applicable, specify a subnet of your Virtual Private Cloud (VPC).
  • SSH Key - The SSH key that will be used by all servers in the server array.
  • Security Group(s) - Select one or more security groups that will be used by all servers launched in the server array.
  • Availability Zone - Specify which availability zone(s) new server instances should be launched into.
    • Use the 'any' option if you want the cloud provider to choose which zone the server will be launched. There is no guarantee that the instances will be launched evenly across all zones. For example, all instances could be launched into the same zone. Therefore, if you want instances to be evenly distributed across all zones, you should use the 'weighted' option instead.
    • If "Weighted across availability zones" is chosen, you will see a green message: "You can set weights on the Array Details tab." There, you can set probability percentages of instance allocation that total 100% and specify a max number of instances for each availability zone.
  • Machine Image - The AMI that will be used to build the machine. RightScale will only support instances launched with one of our RightImages. We recommend using ServerTemplates with RightImages.
  • Ramdisk Image - Select a Ramdisk image of your choice. (optional)
  • Kernel Image - Select a kernel image of your choice. (optional)
  • Ec2 user data - This information is passed to the instance using the EC2 user launch data mechanism which is limited to 16KB of data. The best way to pass configuration data into instances is with RightScripts, but this user data field is sometimes useful for testing purposes.

 

AWS Pricing

With an AWS server, you have the option to choose the type of pricing for your instance. The default is On-Demand, with the current On-Demand price listed right below. If you select Spot from the Pricing dropdown, the current spot prices will be viewable for each Availability Zone.

 

screen-ServerDetailsSpot.png

CloudStack-based Clouds

 

screen-CloudSTackServerDetails.png

 

  • Array Name - Provide a name for the server array.
  • MultiCloud Image - Select the MultiCloud Image to be used for the Server Array. The default MultiCloud Image is inherited from the ServerTemplate.
  • Instance Type - Specify the type (size) of instance to launch. For a CloudStack cloud, you must manually select the instance type if using a RightScale-created MultiCloud Image; RightScale MCIs do not specify a default instance type for CloudStack clouds.
  • Security Group - Security group that will be used by all servers in the server array.
  • Datacenter / Zone - The regional datacenter in the cloud (Datacenter and Zone are synonymous). A cloud will often have multiple Datacenters which can help when architecting a highly available deployment.
    • If "Weighted across availability zones" is chosen, you will see a green message: "You can set weights on the Array Details tab." There, you can set probability percentages of instance allocation that total 100% and specify a max number of instances for each availability zone.
  • Subnets - Subnet of the network in which the server is deployed.
  • Machine Image - The image that will be used to build the machine. RightScale will only support instances launched with one of our RightImages. We recommend using ServerTemplates with RightImages.
  • User data - This information is passed to the instance. The best way to pass configuration data into instances is with RightScripts, but this user data field is sometimes useful for testing purposes.

Google Compute Engine

screen-AddArrayGoogle.png

  • Array Name - Provide a name for the server array.
  • MultiCloud Image - Select the MultiCloud Image to be used for the Server Array. The default MultiCloud Image is inherited from the ServerTemplate.
  • Instance Type - Specify the type (size) of instance to launch.
  • Security Group - Security group that will be used by all servers in the server array.
  • Datacenter / Zone - The regional datacenter in the cloud (Datacenter and Zone are synonymous). A cloud will often have multiple Datacenters which can help when architecting a highly available deployment.
    • If "Weighted across availability zones" is chosen, you will see a green message: "You can set weights on the Array Details tab." There, you can set probability percentages of instance allocation that total 100% and specify a max number of instances for each availability zone.
  • Machine Image - The image that will be used to build the machine. RightScale will only support instances launched with one of our RightImages. We recommend using ServerTemplates with RightImages.
  • User data - This information is passed to the instance. The best way to pass configuration data into instances is with RightScripts, but this user data field is sometimes useful for testing purposes.

Rackspace

 

screen-RaxServerDetails.png

 

  • Array Name - Provide a name for the server array.
  • MultiCloud Image - Select the MultiCloud Image to be used for the Server Array. The default MultiCloud Image is inherited from the ServerTemplate.
  • Instance Type - Specify the type (size) of instance to launch.
  • Machine Image - The image that will be used to build the machine. RightScale will only support instances launched with one of our RightImages. We recommend using ServerTemplates with RightImages.

Configure Array Details

Alert-based Arrays

 

screen-Alert_Array_Details-v1.png

 

  • Status - The status of the server array. If active, the server array is enabled for scaling actions. For alert-based arrays, if you disable an array with running instances, the server array will no longer be able to scale up or down, but the instances will continue to run until they are manually terminated. It's recommended that you keep the server array disabled until you have manually launched and tested instances into the array because you do not want to enable an array with a minimum count of 10 and have 10 servers strand in booting because there was an error in the configuration.
  • Min Count - The minimum number of active servers that must exist at all times in the server array. If you are setting up a multi-tier deployment, it's strongly recommended that you have a minumum count of two (2) for redundancy purposes.
  • Max Count - The maximum number of active servers that must exist at all times in the server array.
  • Array Type - Specify alert-based or queue-based arrays. Secondary options will change accordingly.
    • For Weighted Arrays - If "Weighted across availability zones" was chosen in the previous Server Details tab, you can set probability percentages of instance allocation that total 100% and specify a max number of instances for each availability zone. It's strongly recommended that you distribute the instances in the array across multiple zones (if available) to protect against a single zone failure from affecting the entire application tier.
  • Decision Threshold - Percent of votes that must be made by all application servers in order to trigger an alert escalation and resize the server array. Typically, you will want to specify that a majority of your application tier is experiencing a problem before you want a scaling action to occur. If you set the threshold too low, you may experience premature and unnecessary scaling actions.
  • Choose Voters by Tag - The Voters Tag that RightScale will use in order to determine when to scale up/down. For example, the elasticity daemon will look for all servers with the specified tag (e.g. MyArray) when counting the number of votes for a scale/up action. When the number of votes for a particular scaling action (e.g. grow) exceeds the decision threshold, the server array will automatically scale based on the specified resize parameters. By default, the name of the server array will be used as the voter tag, however you can specify a different string if desired. If you use the nickname of the server array as the voter tag, it's recommended that you use a simple string. (e.g. my-tag) 
  • Resize up by - Number of servers that should be added from a server array when a resize action occurs. Typically, you will want to use a more agressive value for scaling up and a more conservative value for scaling down.
  • Resize down by - Number of servers that should be removed from a server array when a resize action occurs.
  • Resize calm time - Time (in minutes) that must pass before another action can be taken on the server array. The calm time prevents an array from being resized too frequently. Be sure to allow enough time for the server to become operational and start taking load. You should always test the server array and determine the nominal launch time for your configuration in order to determine the appropriate calm time for your application. Clouds, instance sizes, and the time required to complete all the boot scripts are all factors that should be taken into consideration.

Queue-based Arrays (EC2-only)

screen-QueueArray.png

 

  • Status -  The status of the server array. If active, the server array is enabled for scaling actions. 
  • Min Count - The minimum number of active servers that must exist at all times in the server array.
  • Max Count - The maximum number of active servers that must exist at all times in the server array.
  • Array Type - Specify alert-based or queue-based arrays. Secondary options will change accordingly.
  • Elasticity Function - Defines how the server array should grow/shrink. (size or age)
  • Items per Instance - Max number of items in queue per operational instance.
  • Indicator Queue - Select the input SQS queue that contains all of the job tasks.
  • Audit Queue - Select the audit SQS queue that will store audit entries.

Confirm Settings

The Confirm tab for adding a server gives a summary of details for your server array, as well as a list of Alerts that are inherited from the ServerTemplate you selected. The selections listed in the Confirm Details section summarize the settings for your server array. You have the option of saving these settings as defaults for future servers arrays used in that deployment. For more information, see Server Defaults.

 

You must to post a comment.
Last modified
13:23, 24 Mar 2014

Tags

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.