Installation

Usage and Billing solutions can be installed in two different ways,

  • Single Machine Setup

  • Distributed Multi-Machine Setup

Single Machine Setup

If all the Windows Azure Pack (WAP) components like Admin Portal, Tenant Portal, etc. are setup in a single machine, then all the CloudAssertBilling installers can be installed in the same machine.

IMPORTANT NOTE: The agent service setup alone is installed after all the preliminary settings and configurations are done. The steps for it are discussed under Step 10 – Installing Usage and Billing Agent Service section.

Install Usage and Billing API Service

  • Download the ‘CloudAssert.WAP.Billing.Service.Setup’ installer after registering into https://www.cloudassert.com/register

  • Click on the installer and click ‘Next’ button.

  • Click the ‘I accept the terms in the License Agreement’ check box to accept the EULA and click the ‘Next’ button.

  • Click ‘Next’ button.

  • To install the API Service with AppPoolIdentity use the default option. Change the default option if a specific service account needs to be used to run the AppPool. Click the ‘Next’ button.

  • Set the user name and password for the API Service resource provider credentials and click the ‘Test’ button, if the ‘Test Result’ label displays a green tick mark click ‘Next’ button. Make a note of the user name and password that is set, it is used while installing the Billing Agent Service Setup.

  • Specify the database server name, instance name (if any) under ‘Database Instance’. E.g.: ‘myserver\myinstance’ or ‘myserver,portnumber’

    • Specify the database name (refer GENERAL PRE-REQUISITES) and click the ‘Test’ button.

  1. If the ‘Test Result’ label displays a green tick mark click ‘Next’ button.

    1. If the database is not created beforehand, specify the database server name and instance name (if any) under ‘Database Instance’ and click the ‘Create the database now’ button.

      1. Select the type of login authentication and specify the database name, login user name and password.

      2. Click ‘Create’ button, when the ‘Result’ label displays a green tick close the dialog box.

      3. Repeat steps 1.7.1 and 1.7.2 .

  • Specify the login user name and password for the database created. (Example: CloudAssertBilling)

    • Click the ‘Test’ button.

    • If the ‘Test Result’ label displays a green tick mark click ‘Next’ button.

  • Specify the WAP database server name, instance name (if any) under ‘WAP Database Instance’ E.g.: ‘myserver\myinstance’ or ‘myserver,portnumber’

    • Click the ‘Test’ button

    • If the ‘Test Result’ label displays a green tick mark click ‘Next’ button.

  • Specify the login user name and password for the WAP database.

    • Click the ‘Test’ button

    • If the ‘Test Result’ label displays a green tick mark click ‘Next’ button.

  • Click ‘Install’ button to install the Usage and Billing – API Service, click ‘Finish’ button to exit the installer after completion of the installation.

Install Usage and Billing Admin Extension

  • Download the ‘CloudAssert.WAP.Billing.Extension.Admin.Setup’ installer after registering into https://www.cloudassert.com/register

  • Click on the installer and follow instructions on the installer and click ‘Next’ till the installer finishes and then click ‘Finish’ to exit. Sample installer screens shown below:

Install Usage and Billing Tenant Extension

  • Download the ‘CloudAssert.WAP.Billing.Extension.Tenant.Setup’ installer after registering into https://www.cloudassert.com/register

  • Click on the installer and follow instructions on the installer and click ‘Next’ till the installer finishes and then click ‘Finish’ to exit.

Distributed Multi-Machine Setup

If the Windows Azure Pack (WAP) components are installed in different machines in the distributed environment, then the Usage and Billing components are required to be installed on different machines respectively.

Note: For upgrade installations refer General Upgrade Installation Instructions .

IMPORTAN NOTE: The agent service setup alone is installed after all the preliminary settings and configurations are done. The steps for it are discussed under Step 10 – Installing Usage and Billing Agent Service section.

Install Usage and Billing API Service

Pre-Requisites:

  • Usage and Billing API Service can co-exist with other WAP Portal components, for example the Usage and Billing API Service can be installed on the same machine as WAP Admin API machine.

  • It is better to install the Usage and Billing – API Service in each of the machines where WAP ‘Admin-API’ component is installed.

    • Ensure that the machine has at least 4 GB RAM, preferably 8 GB

    • Ensure that firewall is configured to allow access to inbound port 30045

    • Ensure that this machine can talk to the SQL database server on which the Usage and Billing database will be configured (refer GENERAL PRE-REQUISITES).

    • Ensure that IIS, Asp.Net MVC features and other features similar to the requirements for Windows Azure Pack portal installations are met.

    • Ensure that the machine can connect to internet if the Payment gateway feature is enabled (Licensed Feature).

    1. Download the ‘CloudAssert.WAP.Billing.Service.Setup’ installer after registering into https://www.cloudassert.com/register

    2. Repeat steps 1.2 to 1.10 from ‘Install Usage and Billing API Service’ under ‘Single Machine Setup’ section to complete the installation in each of the machines where WAP ‘Admin-API’ component is installed. .

Install Usage and Billing Admin Extension

  • Logon to the machine on which WAP ‘Admin-Site’ is installed.

  • Download the ‘CloudAssert.WAP.Billing.Extension.Admin.Setup’ installers from:

https://cloudassertdownloads.blob.core.windows.net/usage-rc/CloudAssert.WAP.Billing.Extension.Admin.Setup.msi

  • Click on the installer and follow instructions on the installer and click ‘Next’ till the installer finishes and then click ‘Finish’ to exit.

  • Repeat the above steps for each machine in which WAP ‘Admin-Site’ is installed.

Install Usage and Billing Tenant Extension

  • Logon to the machine on which WAP ‘Tenant-Site’ is installed.

  • Download the ‘CloudAssert.WAP.Billing.Extension.Tenant.Setup’ installers from:

https://cloudassertdownloads.blob.core.windows.net/usage-rc/CloudAssert.WAP.Billing.Extension.Tenant.Setup.msi

  • Click on the installer and follow instructions on the installer and click ‘Next’ till the installer finishes and then click ‘Finish’ to exit.

  • Repeat the above steps for each machine in which WAP ‘Tenant-Site’ is installed.