Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > ServerTemplates > Archive > 11H1 > References > EBS Stripe Toolbox - 11H1

EBS Stripe Toolbox - 11H1

Table of Contents

  1. Info
  2. Images
  3. Scripts
  4. Inputs
  5. Revision History
  6. See also

Info

Current Revision: 11
MultiCloud Marketplace: https://www.rightscale.com/library/server_templates/EBS-Stripe-Toolbox-11H1/18194

  • Description - This template includes a collection of useful RightScripts that can be used to perform various EBS-related tasks such as mounting an EBS volume with no database or creating custom ServerTemplates using EC2 EBS volumes.
  • Supported Clouds - AWS US-East, AWS EU, AWS AP-Singapore, AWS AP-Tokyo, AWS US-West

Images

The following MultiCloud Images (MCIs) are used by the ServerTemplate. The MCIs determine which operating systems and clouds are supported.

MultiCloud Images

  • RightImage_CentOS_5.4_x64_v5.6 - 11H1
    • AWS US-East, AWS EU, AWS AP-Singapore, AWS AP-Tokyo, AWS US-West
  • RightImage_CentOS_5.4_i386_v5.6 - 11H1
    • AWS US-East, AWS EU, AWS AP-Singapore, AWS AP-Tokyo, AWS US-West
  • RightImage_Ubuntu_10.04_i386_v5.6 - 11H1
    • AWS US-East, AWS EU, AWS AP-Singapore, AWS AP-Tokyo, AWS US-West
  • RightImage_Ubuntu_10.04_x64_v5.6 - 11H1
    • AWS US-East, AWS EU, AWS AP-Singapore, AWS AP-Tokyo, AWS US-West

Scripts

Inputs

EBS_BACKUP_FREQUENCY

Defines how frequently EBS snapshot backups should be taken. By default, backup snapshots are taken every hour. Define the frequency in standard crontab format (example: 1 * * * * ). If set to "ignore" hourly backups will begin at a random time.

EBS_BACKUP_KEEP_DAILY

The number of daily snapshots (backups) to keep (i.e. rotation size). A daily backup is defined as the latest completed snapshot of a day that is closest to the end of the day (23:59:59). (Default: 14) See "Archiving of EBS Snapshots" on RightScale's Support site for further details on the archiving logic.

EBS_BACKUP_KEEP_LAST

The total number of snapshots to keep. When this limit has been reached, the oldest snapshot will be deleted. (Default: 60) See "Archiving of EBS Snapshots" on RightScale's Support site for further details on the archiving logic.

EBS_BACKUP_KEEP_MONTHLY

The number of monthly snapshots to keep (i.e. rotation size). (Default: 12) See "Archiving of EBS Snapshots" on RightScale's Support site for further details on the archiving logic.

EBS_BACKUP_KEEP_WEEKLY

The number of weekly snapshots to keep (i.e. rotation size). (Default: 6) See "Archiving of EBS Snapshots" on RightScale's Support site for further details on the archiving logic.

EBS_BACKUP_KEEP_YEARLY

The number of yearly snapshots to keep (i.e. rotation size). (Default: 2) See "Archiving of EBS Snapshots" on RightScale's Support site for further details on the archiving logic.

EBS_LINEAGE

The lineage of the EBS volume. The string will be used to name/locate all volumes in a striped EBS volume set. For example, if set to 'myebsprefix', the snapshots will be named 'myebsprefix-timestamp'. Unlike the DB_LINEAGE_NAME, it is only a backup of the EBS volume and not of an EBS volume with a MySQL database installed on it. For a restoration, the most recently completed backups will be used. Ex: myebsprefix

EBS_LINEAGE_PREFIX_OVERRIDE

If defined, it will override the input defined for EBS_LINEAGE. For example, if you've cloned and created a staging deployment, you'll need to isolate the deployments from each other by using different EBS_LINEAGE names. But, you'll probably want to use a recent snapshot of the production deployment to set up your staging deployment. This input allows you to restore from a different snapshot however, the subsequent backups will use EBS_LINEAGE to name the snapshots. Be sure to remove this input once the new master is operational. Ex: otherebsprefix

EBS_MOUNT_POINT

Defines the filesystem path where you're going to detach a currently mounted EBS volume. Ex: /mnt/ebs

EBS_STRIPE_COUNT

The total number of EBS volumes in the EBS stripe that will be used by the database. EBS volumes will be created and mounted to the instance. By default, a value of '1' will be used, which means only a single volume will be used (no striping). Only the predefined options have been tested.

EBS_TERMINATE_SAFETY

Prevents the accidental running of the "EBS TERMINATE SERVER" script. If this input variable is set to anything other than "off" this script will not run

EBS_TOTAL_VOLUME_GROUP_SIZE

Defines the total size of the striped EBS volume set (in GB). For example, a stripe count of '3' will create an EBS stripe that contains 3 EBS volumes that are each 1GB in size. If an uneven ratio is defined, volume sizes will be rounded up to the nearest whole integer.

MON_PROCESSES

A space-separated list of additional processes to monitor in the RightScale Dashboard. Ex: sshd crond

MON_PROCESSMATCH

A space-separated list of pairs used to match the name(s) of additional processes to monitor in the RightScale Dashboard. Pair arguments are passed in using the syntax 'name/regex'. Ex: ssh/ssh* cron/cron*

OPT_DB_RESTORE_TIMESTAMP_OVERRIDE

If you are using OPT_DB_RESTORE_LINEAGE_OVERRIDE input in order to restore a specific snapshot, you must also specify the desired timestamp. If the timestamp override is undefined, the latest database backup in the lineage will be used. Ex: 200912141627

SERVER_UUID

A value of 'env:RS_INSTANCE_UUID' is required for proper RightScale monitoring and logging.

SKETCHY

A value of 'env:RS_SKETCHY' is required to use RightScale monitoring servers.

SYSLOG_SERVER

The hostname of the syslog server where log files will be sent. This input should be set to 'env:RS_SYSLOG' so that you can view your log files in the Dashboard.

SYS_TZINFO

Sets the system time to the timezone of the specified input, which must be a valid zoneinfo/tz database entry. If the input is 'unset' the timezone will use the 'localtime' that's defined in your RightScale account under Settings -> User -> Preferences tab. You can find a list of valid examples from the timezone pulldown bar in the Preferences tab. Ex: US/Pacific, US/Eastern

Revision History

Revision Date Published Description of Changes Known Issues
11 Mar 22, 2011 Initial Release -- 12H1  

See also

You must to post a comment.
Last modified
23:31, 16 May 2013

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.