MultiCloud Marketplace

RightScale

DB EBS slave init at boot - 11H1

Open in Dashboard

Published by RightScale on Oct 03, 2012Revision: 7

Description

On first boot, the script initializes a MySQL DB server to become a Slave-DB of a running Master-DB when it's launched.

Description

This RightScript performs the following actions:

  • Makes a local Slave copy of the current Master-DB.
  • Starts this server as a MySQL Slave to a Master-DB.
  • Sets up the correct configuration file for a reboot to continue the slave role.

First Launch

Boot-time version of slave initialization. Can be enabled/disabled by setting:

  • INIT_SLAVE_AT_BOOT = true/false

NOTE: Setting the value to $ignore is equivalent to true.

When set to True, it performs the same actions as its counterpart in the operational script's list:

  • Converts a running DB instance to be a slave of an existing Master-DB.
  • Snapshot and pull the necessary files of the running master.
  • Set the slave DNS entry to point to the instance's private IP.

Reboot

No action is taken. MySQL just restarts and resumes its past role.

  • If the Slave was started, it continues.
  • If the Slave was not started, it stays the same.

This script is part of RightScale's Database Manager.

Revisions

Revision 7 | Oct 03, 2012

Revision 4 | Mar 18, 2011

Pricing

All Users

Sign-up for RightScale

Support Information

http://support.rightscale.com