ACS Discovery
Overview
The ACS (Apache CloudStack) Discovery feature in the Admin Portal is designed to synchronize Apache CloudStack resources with the Cloud Management Platform (CMP). This process allows admins to maintain up-to-date resource information in the CMP, such as virtual machines, storage, networks, and other infrastructure elements from the CloudStack environment. By connecting and synchronizing these resources, the CMP can efficiently manage, monitor, and automate cloud operations for users.
This process collects information about instances, volumes, networks, templates, and more from CloudStack and maps them into the CMP portal. Any changes to CloudStack resources will automatically be reflected in the CMP after synchronization.
Cloudstack Configuration
1. Navigation to Cloudstack configuration :
-
Login into the admin portal.
-
- Navigate to the Config section by clicking on the Config icon in the portal menu.
-
Under cloustack section, click on the ACS Discovery link.

2. Add the CloudStack URL :
- Enter the URL of the CloudStack environment you wish to integrate with the CMP. This is the endpoint through which the CMP connects and pulls the data.
3. Add the Root User API Key :
- The API Key is required to authenticate the CMP’s connection to CloudStack. This API key corresponds to the root admin user of CloudStack, granting the necessary permissions to access the full scope of resources.
4. Add the Root User Secret Key :
- The Secret Key is the associated private key that, along with the API key, completes the authentication process. It ensures secure communication between CloudStack and the CMP.

5. Click the Validate Button :
- The Validate button will check whether the provided API key and Secret key are correct and authorized to communicate with the CloudStack environment. If the validation is successful, you can proceed.

6. Click the Update Button :
- After the validation is complete, click the Update button to save the configuration. This step ensures that the CMP portal is now correctly linked to the CloudStack environment and can retrieve the necessary resources.

7. Edit CloudStack Configuration :
- To make changes to the configuration (e.g., update the API key, secret key, or URL), you can click the Edit button.

- After making the necessary updates, click the Update button again to save the changes.
Syncing CloudStack and CMP Resources :
Once the CloudStack configuration is successfully validated and saved, the CMP can synchronize and import the data from CloudStack.
1. Sync Resource Count :
- This synchronization step ensures that the CMP and CloudStack maintain the same resource counts. Resources include Infrastructure, Organization, Cloud, and Configuration.

- By clicking Check button, the system will verify and display the current count of synchronized resources from CloudStack (such as instances, networks, volumes, etc.). This step is critical to ensuring that the resource counts between CloudStack and the CMP portal are accurate.
2. Import CloudStack Data :
-
After verifying the resource counts, admins can import the data into the CMP portal.
-
Clicking Import will pull all available CloudStack data into the CMP system. This data may include virtual machines, network configurations, templates, organizations, and more.

- After successful importation, a confirmation message will be displayed: "CloudStack data has been imported successfully."