Licensing
CloudShell's licensing mechanism is based on the amount of concurrent sandboxes. For better management of the licenses, the system administrator can create license pools – the total capacity is equal to the amount of purchased sandboxes. Licenses in CloudShell are managed in Licensing page, which is available to Admins only.
In this article:
License types
Licenses are required for each of the following:
License name | Description | Type |
---|---|---|
CloudShell Team / Premium Tier |
Quali server. CloudShell Premium Tier supports High Availability, SSO, sandbox environment automation and enhanced orchestration. |
1 per Quali Server |
Concurrent Environment for Team / Premium Tier | Concurrent Sandboxes |
1 per active sandbox |
Concurrent Authoring | TestShell Studio, CloudShell Authoring | 1 per open application |
Concurrent Execution | TestShell Runner, Execution Server (Running TestShell Tests) | 1 per open application |
Remote Agent | TestShell Remote Runner | 1 per open application |
Staging Environment | Additional permanent Quali Server for dev/staging activities (doesn’t include Concurrent Environment licenses). More than one may be purchased. | 1 per Quali Server |
CloudShell Runtime | Required by all Quali Product components, and included out-of-the-box with every license package |
|
Licensed features | ||
Save and Restore | Save and Restore plugin |
|
Job Scheduling | Job Scheduling. This holds true for both the original Job Scheduling used for TestShell Studio test suites and the New Job Scheduling that works with Robot tests. |
|
Each license can be one of the following types:
- Floating: Configured in the License Server, which is accessible to each product component. This license types requires an ongoing connection to the License Server. Disconnection will result in a temporary loss of the license, until the connection is resumed.
- Seat: Configured separately on each machine.
- Commuter: (Applies to the Studio, Runner and Authoring applications) Configured to temporarily use a floating license as a seat license on a single machine. This license allows you to continue working with the application in cases you have no access to the License Server (e.g. when you are out-of-office and your PC is not connected to any domain).
A new license is required when installing CloudShell, or upgrading to a major (8.0, 9.0, etc.) or minor (8.1, 8.2, etc.) version. Patches do not require a new license.
All license types have an expiration date.
A license is provided in one of the following formats:
- License file: This format requires the fingerprint of the machine on which the license is configured. For a Floating license, the fingerprint of the License Server required. For a Seat license, the fingerprint of the machine on which the license in configured, is required.
- Activation token: This format requires an internet connection only. The license locks for the specific machine from which you activate the license.
Configuring a license
To configure a Floating license:
- If the License Server has an internet connection, a token will be provided for you.
- Run CloudShell License Server's configuration wizard.
- In the Welcome page, click Next and in the License server settings page click Next.
- In the Configure a License page, click Specify Token, enter the activation code, and click Send.
- Click Next and then Finish.
- If the License Server doesn’t have an internet connection,
- Acquire the fingerprint of the Quali Server:
- Run CloudShell License Server's configuration wizard.
- In the Welcome page, click Next and in the License server settings page click Next.
- In the Configure a License page, click Specify Token and under Email Fingerprint, click Generate and Copy Fingerprint to Clipboard.
- Provide the copied fingerprint via a Quali Support License request ticket.
- Save the file in a location accessible to the CloudShell License Server.
- To load the license file, in the Configure a License page, click Browse and point to the provided .lsn file.
You will receive a .lsn file containing your license entitlement.
- Acquire the fingerprint of the Quali Server:
- Once the license is loaded, run the configuration wizard of each installed product component and do the following:
- In the Select a License page, select the License Server checkbox.
- In the License server (enter address of your license server) field, enter the server's IP address or name.
- Click Next and then Finish.
To configure a Seat license:
- If the machine has an internet connection:
- Run the Configuration Wizard of the relevant product component:
- In the Select a License page, click Get License File.
- Enter the activation code and click Send.
- Confirm the rest of the process.
- If the machine hasn’t an internet connection:
- Run the configuration wizard of the relevant product component:
- In the Select a License page, click Get License File, under Email Fingerprint click Generate and then click Copy Fingerprint to Clipboard
- Provide the copied fingerprint via a Quali support license request ticket.
- Save the file in a location accessible to the relevant machine.
You will receive a .lsn file which contains your license entitlement.
- To load the license file, in the configuration wizard of the relevant product component, in the Configure a License page, click Browse and point to the provided .lsn file.
- Click Next and then Finish.
To configure a Commuter license:
Note: Commuter license is available for the following product components only: CloudShell Authoring, TestShell Studio TestShell Runner and Remote Runner.
- In the client, on which the relevant product component is installed, browse to the following folder: C:\Program Files(X86)\Qualisystems\CloudShell\LicenseServer\Commute.
- Run the WCommute.exe utility on the relevant product component machine.
- Connect to the License Server in one of the following ways :
- Click Single Server and enter the License Server's address (DNS or IP).
- Click Search Subnet to scan the network for it.
-or-
- In the left pane, select the feature relevant to the license you require:
Feature Description QS_Procedure_Editor For TestShell Studio or CloudShell Authoring licenses QS_RemoteRunner For a Remote Runner (execution) license QS_Studio_Runner For a TestShell Runner license QS_TestShellRuntime Required license for any product component - Click Check Out.
- On the same client, access the Configuration Wizard and in the Select a license page, select the Commuter License checkbox.
- Click Refresh.
- A validation message displays, indicating which commuter license was configured. Click OK to close the message box.
- In Select a License page, click Next.
- In the Folder and file migration page, click Close.
Note: the QS_TestShell_Runtime is required. Make sure to configure this license along with any other required license.
To convert the license back to floating:
- Run the WCommute.exe utility on the relevant product component machine.
- Connect to the License Server in one of the following ways :
- Click Single Server and enter the License Server's address (DNS or IP).
- In the left pane, select the relevant checked-out feature and then click Check In.
-or-
Click Search Subnet to scan the network for it.
Monitoring the license usage
In the Licensing page, the system administrator can monitor the current usage in each pool – how many concurrent sandboxes are in use in each pool.
It includes the following information, which refers to the image above:
- Active concurrent sandboxes allowed - total number of sandboxes in the system
- Current usage – total number of active sandboxes in the system that are in one of the following statuses: active/setup/teardown/overtime
- License expiration date
- For each license pool:
- Pool name
- Domains using this pool
- Pool size
- Pool usage (total number of active sandboxes)
The status page is automatically refreshed at a set period. However, you can use the Refresh button to immediately refresh the Licensing page.
Release license after idle time has elapsed
The applications specified below automatically release the license after the idle time has elapsed. The idle time is specified by the administrator by updating the IdleLicenseReleaseWatchdog.IdleTimeInMinutes
key in the customer.config
file. The application remains open and when focus is returned to the application, a new license is retrieved. However, if no licenses are available, a message is issued to notify the user that the license is missing. By default, when the application has been lying idle for 65 minutes, the license is released.
In the following conditions, idle time is not counted:
- When TestShell Runner is under external control.
- When a Test or function is either running or has paused.
- When a seat license is being used.
The relevant applications are:
- TestShell Studio
- TestShell Runner
- CloudShell Authoring