Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > ServerTemplates > Archive > Pre-11H1 > MySQL-S3 > Database Manager for MySQL-S3 Runbook > MySQL-S3 Recipes > Initialize Slave-DB from Master-DB

Initialize Slave-DB from Master-DB

By default, when a new slave DB instance is launched with the "MySQL Additional" server template, it will automatically sync itself to the master DB and start replication once the contents of the master DB have been copied over.  (The "MySQL Additional" server template includes "DB slave init at boot" as a boot script.)

If a slave DB instance is launched in a different way and did not automatically sync itself with the master DB, you can manually initialize the slave DB by running the "DB slave init" operational action.

Instructions

  1. Go to the running slave DB's instance page.  (Manage -> Servers)
  2. Click on the nickname of the slave DB.
  3. Click on the Scripts tab.  Then click on the DB slave init operational button.
  4. Wait until the action is successfully completed.

 

What feedback to expect

The Recent Events pane will highlight the progress of the operation.  If the action is not completed successfully and there is a failure message, click on the name of the action in the Recent Events pane for a detailed output that you can use for troubleshooting.

You must to post a comment.
Last modified
21:34, 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.