Overview
We have heard from several customers who have been looking for an easier way to get their Atria license reporting out of Atria.
Although there is a distributor report within the system, it seems that
- In many deployments this is not functional, and
- It does not determine whether or not the bundled “Cloud Complete” SKU is a better cost option.
We have now written a Powershell script which will extract your user-based license usage. This also determines whether or not the cloud complete bundle SKU should be used.
The process retrieves the services assigned to each user and aggregates a weighting (cost) against each SKU, if the cost for that user exceeds the cost of the cloud complete SKU, all of the user's individual licenses are swapped for the CloudComplete SKU. This is aggregated and then listed.
The process excludes the following objects:
- any users flagged as Test
- any users flagged as Template Users
- any users in a de-provisioned state
- any services in a de-provisioned state.
Please email support@automate101.com or log a ticket if you have issues with this process and we can provide assistance.
Applies To:
- CloudPortal Services Manager V11.x
- CloudPortal Services Manager V11.5.x
- Atria V12.x
- Atria v15.X
Download
There is a .zip file attached to the bottom of this article.
Download this file onto any server in your environment that has access to the SQL server containing the Atria databases
Make sure to check the file to see if it is blocked before extracting the contents
Extract the .zip contents, then execute it via PowerShell using the Execution guidelines below
Execution
GetUsageStats.ps1
[-ServerName <ServerName>]
[-Instance <SQL Instance>]
[-Port <SQL Port>]
[-TrustedConnection]
[-Threshold <weighting threshold>]
GetUsageStats.ps1
[-ServerName <ServerName>]
[-Instance <SQL Instance>]
[-Port <SQL Port>]
-SQLUsername <Username>
-SQLUserPassword <Password>
[-Threshold <weighting threshold>]
Examples
Retrieve Usage Stats with all default parameters. This will connect to the default instance of SQL on CortexSQL using Windows Authentication
Connect to the database server on Server02 using a non-standard instance of Atria over port 52681, and connecting with SQL Authentication
- .\GetUsageStats.ps1 -ServerName Server02 -Instance Atria -Port 52681 -SQLUsername AtriaUser -SQLUserPassword 'D!ji94bG.St'
NOTE: A log file is generated which will give a more detailed view of which users were and were not included in the Cloud Complete SKU count
This log file is stamped with the date that the script was executed and is named "{dateofexecution}_UsageDetails.log"