Cloud Connector Extension for OpenStack

Use Case

 

Elastically grow/shrink instances into cloud/virtualized environments. There are four use cases for the connector.

 

First, if the Controller detects that the load on the machine instances hosting an application is too high, the cloud-connector-extension-for-openstack may be used to automate creation of new virtual machines to host that application. The end goal is to reduce the load across the application by horizontally scaling up application machine instances.

 

Second, if the Controller detects that the load on the machine instances hosting an application is below some minimum threshold, the cloud-connector-extension-for-openstack may be used to terminate virtual machines running that application. The end goal is to save power/usage costs without sacrificing application performance by horizontally scaling down application machine instances.

 

Third, if the Controller detects that a machine instance has terminated unexpectedly when the connector refreshes an application machine state, the cloud-connector-extension-for-openstack may be used to create a replacement virtual machine to replace the terminated application machine instance. This is known as our failover feature.

 

Lastly, the cloud-connector-extension-for-openstack may be used to stage migration of an application from a physical to virtual infrastructure. Or the cloud-connector-extension-for-openstack may be used to add additional virtual capacity to an application to augment a preexisting physical infrastructure hosting the application.

 

The Cloud Connector Extension for OpenStack is actually a meta-connector and supports the following OpenStack cloud implementations:

  1. OpenStack Compute (Nova)
  2. Rackspace OpenStack Public Cloud
  3. Rackspace OpenStack Private Cloud
  4. HP Cloud

Installation

 

  1. Download and unzip the cloud-connector-extension-for-openstack zip file into the <controller install dir>/lib/connectors directory.
  2. Restart the Controller and then log into AppDynamics.
  3. In the upper right corner of the window, click Setup -> My Preferences. In the Advanced Features section, enable Show Cloud Auto-Scaling features if it is not enabled.
  4. In the left navigation pane, click Cloud Auto-Scaling to configure the compute cloud and the image.
    • Click Compute Clouds -> Register Compute Cloud. Fill in the required information (shown in the images below) and then click Register Compute Cloud to save the information.

 

connector_openstack_1.png

 

connector_openstack_2.png

 

connector_openstack_3.png

 

connector_openstack_4.png

 

connector_openstack_5.png

 

connector_openstack_6.png

 

connector_openstack_7.png

 

Select an Image and click 'Launch Instance'

 

connector_openstack_8.png

 

 

    • Fill the details and click on 'Launch Instance' button.

    •  

      • Metadata; specify metadata to be passed. ex: Key1=Value1;Key2=Value2
      • Personality Path: Personality file path. ex: /etc/test.sh
      • Personality File: Base64 encoded file content.

 

Contributing

Always feel free to fork and contribute any changes directly via GitHub.

 

Support

For any support questions, please contact help@appdynamics.com.

 

Version:

1.1

Compatibility:

3.6, 3.7

Last Update:

11/13/2014

 

The OpenStack word mark and the Square O Design, together or apart, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the OpenStack Foundation’s permission. AppDynamics, Inc. and its affiliates are not affiliated with, endorsed by, or sponsored by the OpenStack Foundation or the OpenStack community.