MultiCloud Marketplace

Ryan Geyer

CloudStack Management Server Single-Node 4.0+

Open in Dashboard

Published by Ryan Geyer on Dec 19, 2012Revision: 5

Description

Configures a CloudStack 4.0.x Single Node Management Server. Based on the RightScale Database Manager for MySQL 5.1.

This template also enables an OpenVPN server which uses a self signed SSL/TLS certificate for encryption and authentication. You can fetch a client configuration and key pair with the following;

scp root@hostname-or-ip-of-this-server:/etc/openvpn/keys/remote.tar.gz .

The default URL for the CloudStack management dashboard is; http://hostname-or-ip-of-this-server:8080/client

The Default login is; admin/password

See the source cookbook for more information.

------------------ Original Right Scale Database Manager Description -------------------------

This ServerTemplate is on the Infinity Lineage. For the latest LTS version, see the 12-LTS Release
For a description of the Infinity and LTS lineages, see ServerTemplate Release Methodology

Configures a MySQL 5.1 database server. This ServerTemplate provides a high-availability master/slave database configuration that can be used as the backbone for a variety of applications and workloads.

The ServerTemplate supports multiple clouds, using either instance-based storage or attachable volumes. Instance-based snapshot backups are automatically uploaded to your choice of remote object storage (Amazon S3, Rackspace Cloud Files, or SoftLayer Object Storage). It also includes iptables management for clouds that do not have firewall services.

For the latest version of MySQL, see Database Manager for MySQL 5.5

Key Features:

  • Master or slave roles.
  • Uses attachable volumes or instance-based LVM volumes for primary backup.
  • Supports a secondary, disaster-recovery backup to S3, Cloud Files, or SoftLayer Object Storage remote object stores.
  • Support for striping of external volumes for faster database performance.
  • Continuous snapshot backups using a grandfather-father-son paradigm (on clouds with volume support).
  • Assisted database restoration, including stripe re-creation.
  • Provides scripts for master to slave fail-over, restoration of master, and more.
  • Choice of DNS providers (DNS Made Easy, DynDNS, AWS Route53, CloudDNS).
  • iptables management within a three-tier scalable web architecture for clouds that do not have firewall services.
  • Pre-configured monitoring and alerts.

Related ServerTemplates:
Load Balancer with HAProxy
PHP App Server
Apache-Rails-Passenger App Server
Tomcat App Server

Release Notes:
Database Manager for MySQL 5.1 Release Notes


Application versions:

  • MySQL 5.1.55

Supported compute clouds:

  • Amazon Web Services EC2
  • Citrix CloudStack (2.2 and Acton)
  • Datapipe
  • Google Compute Engine
  • HP Cloud
  • IDC Frontier
  • Logicworks
  • Rackspace
  • Rackspace Open Cloud
  • SoftLayer
  • Windows Azure

Supported backup clouds:

  • Amazon Web Services S3
  • Azure Storage
  • Google Cloud Storage
  • Rackspace CloudFiles
  • SoftLayer Object Storage

Supported primary backup methods:

  • Volume snapshots: AWS EC2, Citrix CloudStack, Windows Azure
  • Remote Object Store Upload: AWS S3, Azure Storage, Google Cloud Storage, Rackspace Cloud Files, SoftLayer Object Storage

Supported MultiCloud Images:

  • CentOS 6 - Amazon, Google, CloudStack, Datapipe, HP, IDC Frontier, Logicworks, OpenStack, Rackspace, Rackspace Open Cloud, SoftLayer, Windows Azure
  • RHEL 6 - Amazon

Contents

  • Cookbook Repo: git://github.com/rgeyer-rs-cookbooks/cookbooks_st.git of CloudStack Management Server Single-Node

  • Cookbook Repo: git://github.com/rightscale/cookbooks.git of CloudStack Management Server Single-Node

  • Cookbook Repo: git://github.com/rgeyer/cookbooks.git of CloudStack Management Server Single-Node

  • Cookbook Repo: git://github.com/rgeyer/cookbooks_linux.git of CloudStack Management Server Single-Node

  • Cookbook Repo: git://github.com/rgeyer/rightscale_cookbooks-1.git of CloudStack Management Server Single-Node

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_XenServer [rev 8]

  • MultiCloudImage: SoftLayerImage_Storage_CentOS_6.3_x64_v5.8 [rev 2]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_KVM [rev 11]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_HVM_EBS [rev 4]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_EBS [rev 5]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8 [rev 22]

  • Recipe: db::do_secondary_backup

  • Recipe: cloudstack_single_node::default

  • Recipe: db::do_appservers_allow

  • Recipe: db::do_appservers_deny

  • Recipe: db::do_delete_volumes_and_terminate_server

  • Recipe: db::do_dump_import

  • Recipe: db::do_force_reset

  • Recipe: db::do_init_and_become_master

  • Recipe: db::do_primary_backup

  • Recipe: db::do_primary_backup_schedule_disable

  • Recipe: db::do_primary_backup_schedule_enable

  • Recipe: db::do_primary_init_slave

  • Recipe: db::do_primary_restore

  • Recipe: db::do_primary_restore_and_become_master

  • Recipe: db::do_promote_to_master

  • Recipe: cloudstack::setup_single_node_management_server

  • Recipe: sys_firewall::setup_rule

  • Recipe: db::do_secondary_restore_and_become_master

  • Recipe: db::handle_demote_master

  • Recipe: db::install_server

  • Recipe: db::request_master_allow

  • Recipe: db::request_master_deny

  • Recipe: db::setup_monitoring

  • Recipe: db::setup_replication_privileges

  • Recipe: db_mysql::setup_server_5_1

  • Recipe: cloudstack::do_prepare_system_vm_template

  • Recipe: block_device::setup_ephemeral

  • Recipe: block_device::do_restore_or_setup_block_device_on_boot

  • Recipe: block_device::default

  • Recipe: sys_ntp::default

  • Recipe: logging::default

  • Recipe: openvpn::default

  • Recipe: openvpn::users

  • Recipe: rightscale::default

  • Recipe: rightscale::install_file_stats_collectd_plugin

  • Recipe: rightscale::install_tools

  • Recipe: sys::do_reconverge_list_disable

  • Recipe: sys::do_reconverge_list_enable

  • Recipe: sys::setup_swap

  • Recipe: sys_dns::default

  • Recipe: sys_firewall::default

  • Recipe: sys_firewall::do_list_rules

  • Recipe: db::do_secondary_restore

  • RepoPath: CloudStack Management Server Single-Node [rev 4]

  • See More

Revisions

Revision 5 | Dec 19, 2012

CloudStack 4.0+ support added, previous versions deprecated. Better integration with DB Manager backup capabilities. Update to CentOS 6.3 and RightScale v13.2

Revision 2 | Mar 26, 2012

* Upgraded to CloudStack 2.2.14 * Improved OpenVPN configuration

Revision 1 | Feb 28, 2012

Initial Commit

Discussion

Info

No Ratings

Supported Clouds

Pricing

All Users

Sign-up for RightScale

Support Information

Have problems? Have suggestions for improvement? Just wanna chat with a really cool guy that likes to automate cloud stuff?

Drop me a line me@ryangeyer.com