WWW.CLOUDASSERT.COM 1 CLOUD ASSERT USAGE AND BILLING SETUP GUIDE Usage and Billing for Windows Azure Pack setup and configuration guide Version: 1.0.0.3 Published: 4/27/2015 INTRODUCTION Usage and Billing for Windows Azure Pack has four components. All of these can be installed from the same single installer by selecting or un-selecting the features to install: I. API Service – IIS Web Application II. Aggregation Service – Windows Service III. Admin Extension – Windows Azure Pack Admin Portal Extensions IV. Tenant Extension – Windows Azure Pack Tenant Portal Extensions These components can be installed on the same machine or multiple machines. GENERAL PRE-REQUISITES: Following are some of the installation pre-requisites and checklist. Cloud Assert Usage and Billing Database: a. Create a SQL Database and note down the name. For example: CloudAssertBilling b. Ensure that the Database server has at least 8 GB RAM and 4 Virtual CPUs. As usage and billing involves lots of data aggregations it is important to have a performant database server. c. Create a database user with read-write, owner and admin privileges just to this database Pre-Requisites: Components of Usage and Billing API Service can co-exist with other WAP Portal components, for example you can install Usage and Billing API Service on the same machine as WAP Admin-Site Portal. Optionally you can choose to install components on separate boxes, especially when you have WAP components installed in distributed fashion. For Usage and Billing API Service (IIS Web Application) on a separate box o Choose a machine with at least 4 GB RAM, preferably 8 GB
20
Embed
CLOUD ASSERT USAGE AND BILLING Setup Guide... 2 CLOUD ASSERT USAGE AND BILLING SETUP GUIDE o Ensure that firewall is configured to allow access to inbound port 30045 o Ensure that
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Step 2 - Register Usage and Billing Resource Provider with Windows Azure Pack:
Note: If you are upgrading from a previously supported installation, the resource provider registration could be skipped as it might already be registered. If you changed the username or password on the previous step, then do not skip this step and must proceed with updates as mentioned below.
1. Logon to WAP Admin portal, click on Usage and Billing on the Left
2. Select Settings Tab
3. Enter the URL for Usage and Billing API Service.
a. For example: http://CloudAssertBillingAPIServiceMachine:30045/
b. As per Figure 1, URL will look like http://wap01.contoso.com:30045/
4. Enter the password you have configured in web.config.
5. Optionally change the Username, but remember this has to match the user name provided in
appSettings of Usage and Billing web.config.
6. Click ‘Register’
7. If the registration succeeds you can more to next steps. If there are errors, check the username and
password again with web.config of Usage and Billing API service and try again.
After registering the resource provider successfully, you need to configure the database for Usage and Billing.
1. Enter the database information
2. Click Save.
3. Once the configuration succeeds you will see success messages. If you see any errors double check
the database settings and try again.
Note for Upgrades from Licensed V1 RTM: If you are upgrading from a previous installation and if you continue to see DB config update errors: Please recycle the Usage and Billing API Service application pool or do IISReset. If that didn’t help, check the Usage and Billing logs in Event Viewer for more details and email [email protected]. Note for Upgrades from Beta Releases or previous Trial Installations: If you continue to see DB configuration errors, this usually means your version of DB is not supported for the current upgrade due to major DB changes. Please create a new DB in SQL Management studio and provide the new DB name in the Settings to configure Usage and Billing fresh and experience all the new awesome features.
1. Open a browser and hit the URL provided in EndPoint Url under Usage Endpoint Settings a. The URL in the image is just a sample.
2. If the endpoint is valid, it will ask for credentials using a dialog box 3. Enter the credentials you provided in the settings 4. If the credentials work, then a valid Usage.json will be downloaded.
How to reset Usage Endpoint credentials?
Go to Start -> Windows Azure Pack Configuration PowerShell (run as administrator in WAP
machine)
To find the Username set, execute the following command:
MANAGING PRICING PROFILES At the core of the usage and billing is Pricing Profiles, which enables administrators to enable collection of
usage resources and attach monetary value for each resource.
NOTE: CLOUD ASSERT provides Deployment Service as part of enterprise license purchase and will take care of working with your team to understand your requirements and configure the pricing profiles to suit your needs. Following is provided for information purposes and if you want to kick the tires yourself during trial installations.
Usage and Billing solution ships with a ‘default’ pricing profile that contains all the known usage resources at
the time of release. It is recommended to clone that default profile and use the cloned profile for your needs.
Pricing profile can be accessed from the admin portal Usage and Billing Pricing Profile.
To create a New PricingProfile, Click ‘Add’ and provide the information like below: