Home > Cloud Cruiser 3 > Setting Up Collection > Native collectors > Microsoft Windows Azure Pack > Data source configuration

Data source configuration

A data source is required to provide a Windows Azure Pack Usage API endpoint URL and credentials as follows:

  • The endpoint URL is https://<adminSite>:30022/usage, where <adminSite> is the hostname or IP address of your Windows Azure Pack Admin Site machine.
  • The username is UsageClient unless you have changed this name with a Set-MgmtSvcSetting command.
  • The password is the one you set in Setting the Windows Azure Pack API password.

You can provide this information in the Cloud Cruiser Portal as a managed data source or embed it in the job file as an explicit data source.

Explicit data source

The explicit data source requires that all connection information be set directly on the bean, which means credentials are embedded in one or more job files. To specify the data source for data collection directly in the job XML, use the AzureSvcsUsageDataSourceConfig bean to provide the endpoint URL using the following syntax:

<bean class="com.cloudcruiser.batch.collect.microsoft.AzureSvcsUsageDataSourceConfig">
  <property name="endpoint" value="endpointURL"/>
  <property name="username" value="user"/>
  <property name="password" value="password"/>
</bean>

This is convenient when developing jobs, but not necessarily secure and can increase maintenance complexity when credentials change.

Managed data source

Alternatively, a managed data source is securely maintained in the application and is referenced by one or more jobs using a unique data source name. You can set the data source connection in the Cloud Cruiser Portal and refer to that data source by name in your collect job (see Managed data source for more information). For example, with the data source managed by the application, the ManagedAzureSvcsUsageDataSource bean in the job file can fetch the data source Microsoft Windows Azure Pack by name:

<bean class="com.cloudcruiser.batch.collect.microsoft.ManagedAzureSvcsUsageDataSource">
  <property name="name" value="Microsoft Windows Azure Pack"/>
</bean>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP