Collapse AllExpand All

Appendix C: Moving to High Availability

With Eucalyptus 3.2 users may register additional components to bring high availability to an existing cloud. This section provides instructions for registering additional Eucalyptus components (specifically Walrus) in an existing environment for the purpose of achieving high availability.
Important
Important
Adding an additional Walrus will require downtime of your cloud platform.
Registering redundant components to your existing Eucalyptus installation will take your platform into a highly available configuration. Registering the Cloud Controller, Cluster Controller and Storage Controller (with SAN adapter only) is fairly trivial but adding an additional Walrus requires that the user configure DRBD for bukkit storage replication.
Before you begin, ensure that you have completed the following:
  • Installed the same operating system on any additional server you will add for High Availability of a Eucalyptus component.
  • Installed and configured Eucalyptus with matching configuration on any additional system you will be adding.
  • If registering an additional Walrus, ensure you are able to move the contents of /var/lib/eucalyptus/bukkits/ to a temporary storage area.
  • A block device (disk or partition) is available for use as a DRBD device. Consider using LVM for future growth.
Important
Important
The configuration of Highly Availiable components must match. For more information, see HA Planning.

  1. To register an additional Eucalyptus component please follow the instructions in Registering Eucalyptus.
  2. Additional steps are required for adding another Walrus component. You will need to configure a DRBD device for the bukkit store. Start by shutting down the eucalyptus-cloud service on both Walrus servers.
    service eucalyptus-cloud stop
  3. On the original primary system, copy the current contents of /var/lib/eucalyptus/bukkits to a temporary location.
    cp -R --preserve /var/lib/eucalyptus/bukkits /newlocation/
  4. Configure your new DRBD device. For more information, see Configure DRBD. After you are finished configuring your device, move to the next step.
  5. On the primary Walrus, ensure the new DRBD resource is in a primary state before proceeding.
    drbd-overview
  6. On the primary Walrus, copy the preserved contents of /var/lib/eucalyptus/bukkits from the temporary location to the new DRBD device.
    Tip
    Tip
    At this point you should run service eucalyptus-cloud stop to ensure cloud services are stopped during migration.
    cp -R --preserve /newlocation/* /var/lib/eucalyptus/bukkits/
    Tip
    Tip
    If you are migrating large amounts of data, consider skipping initial device synchronization as explained in Skipping Initial Device Synchronization.
  7. On the primary Walrus, monitor the state of the resource with drbd-overview to observe the sync. Data will not be replicated until the resource is marked UpToDate/UpToDate.
    drbd-overview
  8. With the synchronization complete, start the eucalyptus-cloud service to bring up Walrus.

Your HA environment is now ready.