Hybr®
Cloud Assert HomeDocs Home
2303
2303
  • Introduction
  • Features
    • Summary
    • Service Providers
      • Tenants Management
        • Tenant Onboarding
        • Tenant Portal Access for HYBR Admin
        • Tenant Portal Access for Support Users From Different Domain
        • Tenant Company Management
        • Company with AAD B2C
        • User Management
        • Subscriptions Management
        • Offers Management
        • Plans Management
      • Reseller Management
        • Reseller Offer
        • Reseller Plan
        • Onboarding a CSP Customer and Mapping it with Reseller
      • Billing
        • Credits
        • Microsoft CSP
        • Pricing Profile
          • Pricing Profiles Management
            • How to set Pricing List Import setting for meter
          • Update Pricing Profile from Excel
        • Cost Reset
      • Resource Management
        • Console connect requirements for imported VMs
        • Connection manager
          • Azure Stack Hub Connection Management
          • Azure
          • AWS
        • VM Template management
        • Param Spec
        • Network Management
        • Azure Integration
        • Policy Management
        • Linked Clone
        • Attach and detach networks
        • Delete Options
        • Backup
          • Veeam Backup Configuration
          • Scheduling a backup using Veeam
      • Microsoft CSP
        • MS CSP security consent process
        • Partner Center Refresh Token Expiry Alert
        • New Commerce Experience (NCE)
          • Transition from Legacy to NCE
        • Azure Reservation Management
        • Granular Delegated Admin Privileges
          • Bulk Transition of customers from DAP to GDAP
          • Default roles to be provided for relationship request.
      • Service Catalog
        • FAQ
      • Azure Stack Hub
        • Create and Publish Service Catalog offers
        • Configure Service Catalogue Plan
        • Pricing
        • Security Deposit for an Azure Stack Hub Offer
      • Customization
      • Administration
        • Application Settings
        • Admin Portal Access for Support Users
    • Business Intelligence Dashboards & Reports
      • Dashboards
      • Reports
        • Schedule Reports
    • Reseller
      • Customers Management
        • Customer Onboarding
        • Plans
        • Offers
      • Billing
        • Pricing Profile Management
    • Customer
      • Subscriptions
      • Resource Management
        • Virtual Machines
        • Connect a VM using browser
        • Virtual Networks
        • Resource Templates
        • Resource Groups
      • Microsoft CSP
        • CSP Operations and Status tracking
      • Software-Defined Network (SDN)
      • Company Registration
    • Cloud Cost Management
      • Cloud Dashboards
        • Azure Invoice Comparision
      • Collaborations
      • Resource Tagging
        • Data Processing Rules
      • Cost Allocations & Budgeting
        • Budgeting
      • Recommendations
      • Reconcilation
      • Getting started
        • Kubernetes
        • Azure
        • AWS
        • GCP
        • Tenant Company Creation
  • Advanced Guides
    • CSP Customers with Resellers
  • API Documentation
    • External Integration and API Documentation Overview
    • External Webhook Integration
    • Zapier Integration
      • External application events which trigger event in Hybr
      • Event in Hybr which trigger external Application
  • Support
    • How do I contact support?
    • How do I share feedback?
    • Roadmap
    • Changelog
  • On-Prem Installation
    • Architecture
    • Prerequisites
      • Infrastructure
        • Production
        • POC
      • Identity Providers
        • AAD B2C
        • Microsoft Entra ID
        • ADFS
      • Services
        • VConnect
        • Workflow
        • Microsoft CSP
        • Remote connect using Guacamole
          • Apache Guacamole Setup
          • Troubleshoot
          • Support Links
          • Guacamole Pre-Requisites
        • Console connect for VCenter V7
          • Pre-Requisites
          • Configurations for Nginx (Reverse Proxy Server)
          • Troubleshoot
          • Supporting Commands / Configurations
      • Ports Requirements
    • Deployment
      • Core Components
      • VConnect
      • Billing
    • Configuration
      • Billing
        • Custom Invoice
        • Multilingual Support
      • Cost Management
        • General
    • Updates
      • Billing
      • Cost Management
    • Infrastructure & Application Security - Recommendations
Powered by GitBook
On this page

Was this helpful?

  1. On-Prem Installation
  2. Deployment

Billing

PreviousVConnectNextConfiguration

Last updated 1 year ago

Was this helpful?

  1. Download the below installers and extract tools folder

  2. Save the below files in the same folder where we have the installers (downloaded in step #1)

  3. Create database for Billing

  4. Fill the below details in initialize.ini

    1. Database Server - Database server name

    2. CREATE_DATABASE_USERNAME - Billing DB user name

    3. CREATE_DATABASE_PASSWORD - Database Password

    4. DBSQLAUTH_USERNAME - Billing DB user name

    5. DBSQLAUTH_PASSWORD - Database Password

    6. DBSQLAUTH_PASSWORD_CONFIRM - Database Password

    7. RUNTIME_DATABASE_NAME - Billing database name

    8. RUNTIME_DATABASE_USERNAME - Billing DB user name

    9. RUNTIME_DATABASE_PASSWORD - Database Password

    10. RUNTIME_DB_CONNECTION_STRING - Database connection string; example: Data Source=DESKTOP-G274HJH\MSSQLSERVER01;Initial Catalog=Billing.MFA; User Id=hybradmin; password=admin (user must be SQL authentication)

    11. UANDB_API_URL -

    12. UANDB_API_USERNAME - Specify API username ex: admin.

    13. UANDB_API_PASSWORD - Specify API password ex: BillingApiPassword@123

    14. UANDB_API_PASSWORD_CONFIRM - Confirm the password entered in above entry

      1. NOTE: Note down the last 3 values, these are required while configuring Billing API details in Hybr.

  5. From Powershell, run setup.bat to install API service. Command is: .\setup.bat install-api Note: Make sure that you don’t have any white spaces in your file path

  6. Update the database using billing tool.

    1. Navigate inside tool folder

    2. Execute the below command with Billing datab.\sase details using command prompt. Command: Billing.exe UpdateDatabase /ApiEndpoint:{String} /Username:{String} /Password:{String}Note: API end point, user name and password needs to be same as the values given in initialize.ini

  7. From Powershell, run setup.bat to install Agent service. Command is: .\setup.bat install-agentNote: Make sure that you don’t have any white spaces in your file path

  8. Set the configuration ‘IsWapDeployment’ to false in API and AgentService configs. Paths:

    1. API – C:\inetpub\MgmtSvc-CloudAssertBilling\Web.Config

    2. Agent Service - C:\Program Files\CloudAssertBilling\CloudAssert.WAP.Billing.AgentService\CloudAssert.WAP.Billing.AgentService.exe.config

  9. Verify TrisulSubscriptionEventProcessor.Enabled configuration in AgentService config and set it to true if it is not. Path: C:\Program Files\CloudAssertBilling\CloudAssert.WAP.Billing.AgentService\CloudAssert.WAP.Billing.AgentService.exe.config

  10. Enable VConnect Usage Collector if required. Follow below steps to make sure that all configurations are done.

    1. Configure 'VConnectApi' settings in Usage and Billing database.

    2. Set VConnectUsageCollector.Enabled setting to true in AgentService.exe.config file. Path: C:\Program Files\CloudAssertBilling\CloudAssert.WAP.Billing.AgentService\CloudAssert.WAP.Billing.AgentService.exe.config

  11. Billing - Service Notification Handler settings

    1. Install Billing API & Agent service Hybr build (New build configuration allows us to take Hybr build)

    2. Set below app settings with appropriate values

    3. Add Hybr endpoint in etc/host file

    4. Start the Agent service

    5. Execute the below file commands with relevant inputs. On completion of that

Settings Name

Group

Value

HybrApiEndpoint

HybrSettings

HybrApiUsername

HybrSettings

ex: hybrapiuser

HybrApiPassword

HybrSettings

ex: pass@word1

HybrServiceNotificationEventSource

HybrSettings

(trisulapi/azurestoragequeue)

ServiceNotificationQueueSasUri

HybrSettings

(Azure storage queue sas uri)

12. Insert queue URL in Billing Database - Ignore this step if Cloud Assert Event handler is used

  • Update shared access signature of Azure storage account queue in the below insert script and execute in Billing DB. Note: Azure storage account queue is one of the prerequisites.

insert into [Billing].[dbo].[AppSettings]([Key], [Value], [Group], Version, IsEncrypted, LastUpdatedTime) Values('ServiceNotificationQueueSasUri', '{queueUrl}', 'HybrSettings', '1.0', 0, GETDATE())

13. License Activation

  • Navigate inside the extracted folder and execute the below command from command prompt

  • Command: VConnect.exe ActivateOnline licenseKey emailId Note: Do not copy-paste the values directly into command prompt, paste it in notepad, remove spaces and add again before executing

  • Once the command is executed successfully, .cal file will be generated in the same directory. Copy this file into C:\inetpub\MgmtSvc-CloudAssertBilling\bin

14. Post API and Agent Deployment Steps:

  • Once after the successful installation check agent version with Api version. Both should be same

  • Billing agent service is up and running

  • Agent config file check:

    • Iswapdeployment should be false in agent config file

    • Trisuleventprocessor should be true

    • As per the need, the cspusageprocessor, csplicenselog processor, VConnect processor AWS, Azure processors should be true

ex:

Download and extract

https://cloudassertdownloads.blob.core.windows.net/usage/Billing2.1.7/WAP/2.1.7.17/CloudAssert.WAP.Billing.AgentService.Setup.msi
https://cloudassertdownloads.blob.core.windows.net/usage/Billing2.1.7/WAP/2.1.7.17/CloudAssert.WAP.Billing.Extension.Admin.Setup.msi
https://cloudassertdownloads.blob.core.windows.net/usage/Billing2.1.7/WAP/2.1.7.17/CloudAssert.WAP.Billing.Extension.Tenant.Setup.msi
https://cloudassertdownloads.blob.core.windows.net/usage/Billing2.1.7/WAP/2.1.7.17/CloudAssert.WAP.Billing.Service.Setup.msi
https://cloudassertdownloads.blob.core.windows.net/usage/Billing2.1.7/WAP/2.1.7.17/Tools.zip
https://cloudassertdownloads.blob.core.windows.net/usage/Initialize.ini
https://cloudassertdownloads.blob.core.windows.net/usage/shttetup.bat
http://localhost:30045
VConnect.zip
https://local.admin.hybr.com/
866B
Billing-setup-event-notification.bat.txt
Billing - Setup Event Notifications