Azure Stack Hub Billing
Cloud Assert HomeDocs Home
2005
2005
  • Introduction
  • Release Notes
  • Key Concepts
    • Pricing Profile
    • Credits
  • Installation
    • Prerequisites
      • PKI Certificate Requirements
    • Deployment
      • Billing
        • High Availability and Scale Deployment considerations
      • Cost Managment
      • Operations and Monitoring
      • Billing Database and Log File Configuration
      • License Activation
    • Configuration
      • Azure Stack Hub
        • Add the resource provider in Tenant Portal
        • Add the service to Azure Stack Plan
      • Billing
        • Setup pricing profile and quotas
        • Invoice
      • Cost Management
    • Steps for version update
  • Features
    • Admin Features
      • Settings
      • Pricing Profile
      • Usage History
      • Invoice
      • Quotas
      • User Credits
      • Usage & Quota
      • Notifications
      • Health Status
      • Customizations
    • Tenant Features
      • Overview
      • Usage History
      • Invoice
      • Notifications
      • Usage and Quota
      • Billing Profile Creation
  • Others
    • Troubleshooting
      • Cost Management
    • Multi-Stamp Azure Stack Hub
Powered by GitBook
On this page
  • Pre-Uninstall Steps
  • Uninstallation Steps
  • Installation Steps
  • Post Installation Steps

Was this helpful?

  1. Installation

Steps for version update

PreviousCost ManagementNextAdmin Features

Last updated 5 years ago

Was this helpful?

Pre-Uninstall Steps

  • Take a backup of Cloud Assert billing database.

  • Take a backup of the following files from their respective locations.

File Name

File Path

Web.config

C:\inetpub\MgmtSvc-CloudAssertBilling

License.cal

C:\inetpub\MgmtSvc-CloudAssertBilling\bin

CloudAssert.WAP.Billing.AgentService.exe.config

C:\ProgramFiles\CloudAssertBilling\CloudAssert.WAP.Billing.AgentService

web.config

C:\inetpub\AzureStack-BillingAdminExtension

web.config

C:\inetpub\AzureStack-BillingTenantExtension

Web.config

C:\inetpub\AzureStack-BillingRP

Uninstallation Steps

  • Uninstall existing Usage and Billing installers from Add or Remove Programs on the resource provider machine.

  • Delete ‘CloudAssertBilling’ from ‘C:\Program Files’ if present after uninstalling Billing Agent Service setup.

Installation Steps

  • Extract the billing installers to a desired location

  • To install the Billing API and Agent service components via command line, download the ‘setup.bat’ file

  • Copy the initialize.ini file from the following location ‘C:\Packages\Plugins\Microsoft.Powershell.DSC\2.19.0.0\DSCWork\setupBillingConfiguration.0\AzureStack.Billing.Setup.1.0.0\content\Setup\Packages’

  • Place ‘setup.bat’ and ‘initialize.ini’ (which are acquired from the above steps) files in the folder where the billing installers have been extracted.

Install Billing API Service

  • Open a command prompt as administrator.

  • Navigate to the billing installers folder.

  • Run ‘setup.bat install-api’.

Install Billing Admin Extension

  • In the command prompt, change the directory to the AdminExtension folder

  • Run the command “CloudAssert.AzureStack.Billing.AdminExtension.deploy.cmd /y”

Install Billing Tenant Extension

  • In the command prompt, change the directory to the TenantExtension folde

  • Run the command “CloudAssert.AzureStack.Billing.TenantExtension.deploy.cmd /y”

Install Billing RP

  • In the command prompt, change the directory to the RP folder

  • Run the command “CloudAssert.MAS.Billing.ResourceProvider.deploy.cmd /y”

Install Billing Agent Service

  • Refresh the admin/tenant portal and verify that Billing extension is working fine

  • Open a command prompt as administrator

  • Navigate to the billing installers folder

  • Run ‘setup.bat install-agent’.

Post Installation Steps

  • Open a command prompt as administrator

  • Navigate to the billing tool folder

  • Run the ‘UpdateDatabase’ command in BillingTool.exe as below,

Download the Billing Tool and extract it

here
here