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 > Runbooks > EBS Toolbox Runbook > EBS Recipes > Change the Total Size of the Volume Stripe

Change the Total Size of the Volume Stripe

Objective

To either grow or shrink the total size of the current EBS Volume or Stripe of EBS Volumes.

Background

Over the lifecycle of your Server, it may become necessary to change the total size of the stripe of EBS Volumes.  Typically, you will want to grow the size of the volume, but there may be some scenarios where you will want to shrink the size of the volume stripe.  Fortunately, the steps to perform both actions is relatively the same. 

This tutorial will show you how to restore the EBS contents on a larger EBS volume stripe by creating a new EBS volume stripe based on the size specified by the EBS_TOTAL_VOLUME_GROUP_SIZE input.

Steps

Below are the steps that you will need to make modifications to your volume stripe. 

  1. If you haven't already done so, import the 'Toolbox' ServerTemplate
  2. Go to your Deployment (Manage -> Deployments).
  3. Click the nickname of the Server that has the EBS Volumes Stripe attached.
  4. The "grow and restore" script will use the most recent backup (snapshot) that's available when creating a larger volume stripe, unless the optional override inputs are used.  So, you may want to create a manual backup now to preserve any unsaved data.
  5. Before you grow the size of the volume stripe, you'll need to temporarily disable continuous backups.  Run the "EBS Freeze volume backups" script.
  6. Script Dependencies:  The following scripts must be run before you can successfully run the "grow and restore" script.
    • For "EBS Stripe Toolbox" - (Stripe)
      • EBS Stripe Rightscale tools install
  7. Under the Server's Scripts tab, use the 'Any Script' option to run the "EBS Stripe volume grow and restore" script.  You'll need to specify values for any missing inputs:
    • EBS_TOTAL_VOLUME_GROUP_SIZE - Enter the new total size for the EBS Stripe.  Note: You will not be able to change the number of EBS Volumes in the Stripe.
  8. Next, create a manual backup of the volume stripe.  Run the "EBS Stripe volume backup" script, to create an EBS Snapshot of each volume in the stripe.
  9. Re-enable continuous backups.  Run the "DB unfreeze binary backups" script.

What feedback to expect

The Events pane will highlight the progress of the operation.  Click on the name of an action in the pane to view a detailed output of the action that can be used to troubleshoot the cause of a failure, if necessary.

See also

 

You must to post a comment.
Last modified
16:45, 21 May 2013

Tags

This page has no custom 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.