Sha256: 7ca26b1211e5d2be3cb2e85bda64e1413623a1202e37192e176ccd8af5d77ac5

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

@mysql_5.x
Feature: mysql 5.x v1 to v2 upgrade tests
  Tests the RightScale premium ServerTemplate

  Scenario: Follow the steps in the v1 to v2 upgrade guide. Then run the mysql checks.
# http://support.rightscale.com/03-Tutorials/02-AWS/02-Website_Edition/2.1_MySQL_Setup/MySQL_Setup_Migration%3a__EBS_to_EBS_Stripe
#
# PHASE 1) Launch a v1 master from a known hardcoded snapshot.
#  TODO - add the steps to create the v1 master from scratch.  The upgrade is the major
#         concern so lets get that done first.
#  Prerequisite: A Deployment with a running MySQL EBS Master-DB server 
#  (launched using a revision of the "MySQL EBS v1" ServerTemplate)
# Old school hand crafted deployment: https://my.rightscale.com/deployments/49925.  Make sure
# The one server is still up and running as master DB.
#
    Given A MySQL deployment
    Then I should stop the servers
    Then I should set a variation lineage
    Then I should set a variation stripe count of "3"
# This is done when the deployment is setup - the master never changes the scripts use the inputs as set
#    Then I should set the master DNS to a hardcoded value
#    Then I should set the v1 ebs prefix to a hardcoded value

#
# PHASE 2) Launch a new v2 server and migrate from v1
#
    Then I should launch all servers
    Then I should wait for the state of "all" servers to be "operational"
# Run "DB EBS create migrate script from EBS non-stripe master"
    Then I should create the migration script
# ssh to box and run "/tmp/init_slave.sh"
    Then I should migrate a new slave
#    Then I should test that new slave is working

#
# PHASE 3) Initialize additional slave from v2 snapshots
#
    Then I should init a new v2 slave
    Then I should test the new v2 slave
#    Then I should run mysqlslap stress test
    Then I should check that ulimit was set correctly

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
virtualmonkey-0.0.1 features/old_cuke_features/mysql_v1_upgrade_v2.feature