Today, we will focus on the installation of Cloud Cruiser with Windows Azure Pack (WAP). Cloud Cruiser is a company which provides solutions for financial management of cloud solutions released an express version of its Cloud Cruiser software which is included with Windows Azure pack.
In order to get Cloud Cruiser working, you will first need to enable and configure the usage and metering functionality of WAP.
Anders, from Microsoft, did a great blog post series about it, it’s why I will not cover this topic and let you read these posts.
If you previously configured WAP Usage and Metering and that you just applied the UR1, ensure to read this post:
Use the link below to download the Cloud Cruiser Express release for Windows Azure Pack.
The download file is about 230 MB.
Before running the Cloud Cruiser installer, we need to install JRE and create a Windows Azure Pack API password.
JRE installation and configuration
, you need to install Java RunTime Environment, also must know as JRE. (http://www.java.com/en/download/manual.jsp)
After you installed Java 7, you must set an environment variable called JAVA_HOME to the location of your Java installation.
- Open the System Properties form.
Using Windows Explorer, one way to open this form is by clicking Start and entering “environment variables” in the search box, then selecting Edit the system environment variables from the results.
- Click Environment Variables in the advanced page of the System Properties form.
- Click New… in the System variables panel of the Environment Variables form.
- In the Variable name field, enter JAVA_HOME.
- In the Variable value field, enter C:\Program Files\Java\jre7 (or the appropriate path).
- Click OK
Setting the Windows Azure Pack API password
Cloud Cruiser Express uses the Usage REST API of Windows Azure Pack to retrieve subscription and usage data. The user account it connects with, UsageClient, has a randomly generated password by default, so you must set a new password that you can provide to Cloud Cruiser Express application..
To set the Usage REST API password:
- On the Windows Azure Pack Admin Site machine, open a Windows PowerShell window.
- Execute the following command:
Set‐MgmtSvcSetting ‐Namespace UsageService ‐Name Password ‐Value ‘<newPassword>’ ‐Encode
Note: the new password you created so that you can provide it as part of the Windows Azure Pack connection information in the Cloud Cruiser Express installer.
Cloud Cruiser Installation
Now, it’s finally time to run the Cloud Cruiser Setup.
Review the information and click on NEXT.
Accept the terms and click on NEXT.
Specify the install patch:
As you could see, Cloud Cruiser is using TomCat. Ensure that you are not already using the 8080 port for another application.
Provide the information and click on NEXT.
Select you DB Type and click on NEXT.
Provide your SQL server information.
Provide the Azure Pack Collector properties. (It’s the password that we defined earlier in this post).
Review the information and click on NEXT.
Installation in progress…
System Configuration in progress..
Installation finished J
Windows Azure Pack configuration
We need now to register the Cloud Cruiser REST endpoint. The URL to the REST API method that fetches tenant cost data from the Cloud Cruiser Express server.
This URL is using the following format: <ccServerURL>/rest/v1/wap, where <ccServerURL> is the server where you just installed Cloud Cruiser Express.
For example: http://wapsma001:8080/rest/v1/wap.
Go to your Windows Azure Pack Management Portal > User Costs
Click on Register your Cloud Cruiser REST endpoint.
Password: The Admin User Password you created in the installer
Windows Azure Pack Plan Configuration
Now that the REST endpoint is configured, we need to add the Cloud Cruiser service to our existing WAP Plans.
Open one of your plan and click on ADD Service.
Select Cloud Cruiser as Service and Instance.
Confirm that the service has been added to the plan.
NOTE: If you click to thee Cloud Cruiser service in the Plan Services list of any plan, you’ll receive the message “Failed to load configuration for service ‘Cloud Cruiser“.
This is normal as there is nothing to configure for this service.
You are now all set J In another blog post, we will see how to use Cloud Cruiser.