Landslide applications, features, session capacities, activation rates as well as test server types and quantities are controlled by a locally installed license file on the TAS.
Use the TAS Manager Console or the TAS Manager Web UI when you need to install a system license in order to change the system's capacity or to access new software features. A test system installed for evaluation may contain a license with an expiration date and time. In that case, a warning message displays to notify you of the number of days and hours (with an accuracy of +/- 2 hours) remaining until the expiration when you log in to the system during the last 7 days of the evaluation period. The expiration of the license occurs at midnight of the expiration date. Alternatively, installing a license can be performed by Command Line Interface Commands or the RESTful API - Landslide Home Page TAS Manager API.
Select System > Install License from the TAS Manager Console menu or select TAS Manager Web UI | Actions | Install Licenses, and the License TAS Settings window opens and displays the license files (.sql) available on the TAS. The file name of the system's current license is displayed in the Last License Installed field.
TIPS:
|
To upload a new license to the TAS using the TAS Manager Console menu, click Browse and the Load Local TAS License File window opens. Browse to the license file, select it, and click Load to upload the license to the TAS.
To upload a new license to the TAS using the TAS Manager Web UI, click Files | License . Browse the license files that are available for selection, select it and Download Selected license, or click Upload New License to upload a new license file for selection to the TAS. When you select a license file from the list, you can Download Selected license or Delete Selected license from the list.
Select the license from the available license list and click Install to install the license.
When the installation is complete, you'll see a confirmation message in the console.
TROUBLESHOOT: If the license is not compatible with the TAS software, the TAS will not start and you will see "Failed to start TAS: Not licensed for TAS version <version> TAS startup failed" in the console. When you install a license from TAS Manager Console, where the # of test servers (max_ts) is less than the number of test servers provisioned (select count(*) from ts_tbl), you will get a warning. And you can cancel the install or choose to continue. This will only work with New license Tool Licenses. When you run the TAS and the license has fewer TSs than the TS is provisioned for, the TAS will no longer delete the test servers, instead it will just prevent ALL test servers from reaching the READY state UNTIL you delete enough TSs to meet the license requirements. Also note: The TS Admin will show "NEEDS_LICENSE" for TSs that attempt to register with the TAS.
When you start the TAS you may see this: Initializing Test Servers ################################################ There are too many Test Servers, 9 must be removed ------------------------------------------------ ################################################ Warning: There are too many Test Servers, 9 must be removed Default TS version not specified Initializing other TAS services Messages in Real-Time Logs and TS Admin, you get this when a TS tries to register: Over licensed limit for test server count, delete test servers until within license limit, setting state=NEEDS_LICENSE. |
Additional details about licensing can be found in the topic - About Licensing. For TAS to License Server Networking Requirements Click here - Deployment Guidelines.
To view license information:
Select System > Show License Info to retrieve the currently installed license file metadata / details. The license key, the file name of the last license installed, and license summary are displayed in a popup dialog. The popup will not be modal ( i.e. it will not lock the focus and require closure to continue working). If it is not closed, it will stick around in the background and you can keep it open while you continue working with TAS Manager Console. It is full "Frame" and it will show up on the OS's Task Bar.
License Server Licenses:
On the System Status window, you can view the License Server Status, Last Checkout as well as some additional statuses.
Startup output - You should expect to see messages indicating the address of the License Server, the auto_checkin_timeout_mins setting, and the License ID, ending with a confirmation of the TAS Version that started. See items in bold in the example provided here :
coast190:/usr/sms/data> more tasoutput.txt
CHECKING LINUX CONFIGURATION
Sending License Checkout Requests to 10.71.30.246
TAS will go to Locked state after being disconnected from License Server for 4320 minutes
Setting Results ThreadPool to 2
Results Storage Max Size=117.19GiB
Space allocated for other files=80508MiB
--WARNING: Release 23.1 is the final SW release for this Ubuntu 16 OS based system!!
Platform: "genVM"
Product Loaded: Landslide Version: TAS-99.9.0.2023-01-05.1pv-(internal)
License ID: BR54911WTF
Max TAS Memory: 12058MB
OS: Linux:4.15.0-70-generic
Timezone: America/Chicago
Startup: Thu Jan 05 14:24:44 CST 2023
Checking Tables:
Tables OK
Initializing SNMP trap sender
Last 5 min update was same day of year, loading data from the 5min updates
TAS restarted same day, refreshing daily count based on hourly counts last hour@2
Optimizing usage history files, duplicate entries removed
Initializing Test Servers
Default TS version not specified
Initializing other TAS services
DTA feature licensed, but missing firebase.conf file
Loading the root test cases
...
25% complete
50% complete
75% complete
Caching TCs
..........................................................................................Done
Using Customer Provided SSL Certificate/Key
TAS started version 99.9.0.2023-01-05.1pv
TAS started version 99.9.0.2023-01-05.1pv
Using Port 7888 for client file transfers
coast190:/usr/sms/data>
Auto-Download License - is a mechanism where the TAS can automatically query / retrieve the license from a single location thus removing license file dependency. This option prevents the need to have to manually install a new license on each of the TASs anytime there is an update. Available with License Server licensing on Cloud License Server only.
To initially setup your TASs, you must install a one time license that basically provides the TAS with the information required to query the License Server for the real license :
1. Customer requests License Server Loaded License from support.
2. Support generates the specific license.
3. Support installs the “real” license on the license server and sends License file to Customer.
4. Customer installs the license on all the TASs.
5. TAS is started, it requests the “real” license from License server, receives response and applies the license.
If at a later time, you need to update the license, and deploy it to all the TASs:
1. Customer requests to change their license.
2. Support generates the specific license
3. Support installs the “real” license on the license server and lets’ customer know when complete
4. Customer restarts their TASs (NO LICENSE FILE INSTALLED). TASs will still be using old license until they restart.
5. TASs are started, it requests the “real” license from License server, receives response and applies the license
1. Customer requests a specific license for one of their TASs, different from the whole system.
2. Support generates the specific license, not License Loaded type.
3. Support returns the file to the customer.
4. Customer installs the special license on one TAS.
5. TAS is started, uses it’s local license and just does a normal checkout from license server.
The TAS, once it identifies that the installed license indicates an auto-downloaded license from the License Server via the "dkey" license key, will send a license request over HTTPS. The License Server will reply with a encrypted code.
On TAS startup, you will see messages like this in the tasoutput.txt:
CHECKING LINUX CONFIGURATION
Downloading License: L11811
License successfully downloaded from License Server
Sending License Checkout Requests to 10.71.30.248
TAS will go to Locked state after being disconnected from License Server for 30 minutes
Setting Results ThreadPool to 2
Results Storage Max Size=2.93GiB
Space allocated for other files=46308MiB
And it might be several seconds between them as downloading the license takes some amount of time.
Related Real-Time Log Message:
In the TAS manager console, when you do Show License Info, if the TAS downloaded a license you will see the name of the license file that was installed on the TAS to indicate download from license server in the title bar and the contents will be the downloaded license with an indication if the Auto Download was enabled : # Auto Download: Enabled