This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

vCloud Director Connector Extension

##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 vcloud-director-connector-extension 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 vcloud-director-connector-extension 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 vcloud-director-connector-extension 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 vcloud-director-connector-extension may be used to stage migration of an application from a physical to virtual infrastructure. Or the vcloud-director-connector-extension may be used to add additional virtual capacity to an application to augment a preexisting physical infrastructure hosting the application.

##Directory Structure

File/Folder Description
lib Contains third-party project references
src Contains source code to the vCloud connector extension
dist Only obtained when using ant. Run 'ant build' to get binaries. Run 'ant package' to get the distributable .zip file
build.xml Ant build script to package the project (required only if changing Java code)

##Installation

  1. Clone the vCloud-director-connector-extension from GitHub
  2. Run 'ant package' from the cloned vCloud-director-connector-extension directory
  3. Download the file vcloud-connector.zip located in the 'dist' directory into <controller install dir>/lib/connectors
  4. Unzip the downloaded file
  5. Restart the Controller
  6. Go to the controller dashboard on the browser. Under Setup->My Preferences->Advanced Features enable "Show Cloud Auto-Scaling features" if it is not enabled.
  7. On the controller dashboard click "Cloud Auto-Scaling" and configure the compute cloud and the image.

Click Compute Cloud->Register Compute Cloud. Refer to the image below

alt tag

Click Image->Register Image. Refer to the image below

alt tag

##Contributing

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

##Community

Find out more in the AppSphere community.

##Support

For any questions or feature request, please contact AppDynamics Center of Excellence.

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.