Steps for version update

Pre-Uninstall Steps

  • Take a backup of Cloud Assert billing database and obtain the resource provider username and password settings from Usage and Billing API Service web.config

  • Take backup of ‘Web.config’ file located at ‘C:\inetpub\MgmtSvc-CloudAssertBilling’

  • Take backup of ‘CloudAssert.WAP.Billing.AgentService.exe.config’ file located at ‘C:\Program Files\CloudAssertBilling\CloudAssert.WAP.Billing.AgentService

  • Take a backup of ‘Scripts’ folder form ‘C:\ Program Files\ CloudAssertBilling\ CloudAssert. WAP. Billing. AgentService’ folder if present

  • Take a backup of the following files (If present) from ‘C:\ Program Files\ CloudAssertBilling\ CloudAssert. WAP. Billing. AgentService

    • CloudAssert.Billing.UsageExtensions.dll

    • System.Management.Automation.dll

    • CloudAssert.Billing.UsageExtensions

    • UsageExtensionsSettings.json

  • Take backups of ‘Templates’ folders present in ‘C:\inetpub\MgmtSvc-CloudAssertBilling’ and ‘C:\ Program Files\ CloudAssertBilling\ CloudAssert. WAP. Billing. AgentService’.

Uninstallation Steps

  • Uninstall existing Usage and Billing installers from Add or Remove Programs on the respective machines.

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

Pre – Installation Steps

  • For upgrading from version v1.9.0.22 to v1.9.1.11 (or) v1.9.2. *, the following has to be done before installing the latest build.

    • Download the SQL script from here.

    • Execute the script in CloudAssertBilling database server

NOTE: Versions less than 1.9.0.22 will not need the script to be executed.

  • For upgrading from version v1.9.1.10 to v1.9.2. *

    • Download the SQL script from here.

    • Execute the script in CloudAssertBilling database server.

  • For upgrading from version v1.9.1.11 to v1.9.2. *

    • Download the SQL script from here.

    • Execute the script in CloudAssertBilling database server.

  • For upgrading from version v1.9.2.14 to v2.0.1. *

    • Download the SQL script from here.

    • Execute the script in CloudAssertBilling database server.

  • For upgrading from version v1.9.2.14 to v2.1.1.* and higher

    • Download the SQL script from here.

    • Execute the script in CloudAssertBilling database server.

  • For upgrading from version v2.0.1.10 to v2.1.1. * and higher

    • Download the SQL script from here.

    • Execute the script in CloudAssertBilling database server.

Post – Installation Steps

The post installation steps need to be followed after the ‘Billing Agent Service’ setup is installed.

  • Stop the billing agent service.

  • Replace the folder ‘Templates’ and its contents into ‘C:\inetpub\MgmtSvc-CloudAssertBilling’ and ‘C:\ Program Files\ CloudAssertBilling\ CloudAssert. WAP. Billing. AgentService’.

  • Replace the ‘Scripts’ folder and its contents into ‘C:\ Program Files\ CloudAssertBilling\ CloudAssert. WAP. Billing. AgentService’ folder.

  • Replace the following files into ‘C:\ Program Files\ CloudAssertBilling\ CloudAssert. WAP. Billing. AgentService’ folder.

    • CloudAssert.Billing.UsageExtensions.dll

    • System.Management.Automation.dll

    • CloudAssert.Billing.UsageExtensions

    • UsageExtensionsSettings.json

  • Open ‘CloudAssert.WAP.Billing.AgentService.exe.config’ file located at ‘C:\ Program Files\ CloudAssertBilling\ CloudAssert. WAP. Billing. AgentService’ and compare it with the backup file of the same name (CloudAssert.WAP.Billing.AgentService.exe.config). Enable the job processors that are enable in the backup file. For example, UsageEventsProcessors, UsageExtensionProcessor, etc.

  • If ‘UsageExtensionProcessor’ is enabled in the backup file, set true in the new file and also ensure the ‘SettingsPath’ is pointed to ‘C:\ Program Files\ CloudAssertBilling\ CloudAssert. WAP. Billing. AgentService\UsageExtensionsSettings.json’ as seen below.

  • Start the Billing agent service.

Last updated