FAQ - Licensing HP Anyware
This article provides common questions and answers on how to license HP Anyware. It includes concepts, guidelines and troubleshooting checklists + links to the product licensing instructions found in the various HP Anyware guides.
FAQ – General
- Guidelines for choosing between Cloud Licensing and deploying your own Local License Server?
- What is included in each HP Anyware license order?
- How do I use the registration code? (Windows, Linux)
- How can I move licenses from the Cloud Service to a Local License Server?
- How can I see the licenses that are installed?
- How can I see the licenses that are available?
- What are License features? What are Agent-Session and Agent-Graphics used for?
- How can I track license usage?
- How many licenses do I need?
- At what time does a license expire?
- What is Licensing Grace Period? and when is it triggered?
- How can I transfer my HP Anyware key from one license server to another license server?
- How can I move my registration code from one PCoIP agent to a different PCoIP agent?
- How can I check if my Cloud or Local license server is healthy?
- Which firewall ports need to be open for licensing to work?
- What services need to be available for Cloud Licensing to work?
- How to activate licenses when operating on a dark site (offline) environment?
- How do I configure HP ZCentral Remote Boost licensing?
FAQ – Troubleshooting Tips
- Registration code does not take, what should I look for to correct?
- My key does not activate on my local license server, what could be wrong?
- The pcoip-validate-license command fails, what could be wrong?
- I just purchased licenses but I still see the old expiry date associated with my old licenses, how can this be fixed?
- My license server will not start, how can this be fixed?
- Cannot connect to session: Client shows licensing-related errors, or error 0x1002?
- How do we recover licenses from a deleted Local License Server?
Related Articles
- PCoIP Agent failed to launch the remote session
- How to use the HP Anyware Licensing Portal
- FAQ - Licensing
- FAQ - Licensing for PCoIP Management Console
- FAQ - Managing your account on the HP Anyware self-service portal
Answers – General
Guidelines for choosing between Cloud Licensing or deploying your own Local License Server?
With HP Anyware, you can choose to put all your licenses into a single cloud based pool (Cloud Licensing) or if you need more additional pools, or control, you can deploy your very own Local License Servers.
Use Cloud Licensing if you do not want the overhead of deploying or managing Local License Servers.
You will need to use a Local License Servers if your use case includes one or more of these advanced features:
- hosts do not have access to the internet
- need to use an offline (dark site) activation process
- need to divide your pool of licenses into multiple pools aimed at different users
- need to track license usage
The following table illustrates the features available for both licensing types:
Features | Cloud Licensing | Local License Server(s) |
---|---|---|
Internet Access Required? | Yes | Optional |
Online Activation Supported? | Yes | Yes |
Offline (Dark site) Activation Supported? | No | Yes |
Internet Proxy Supported? | Yes | Yes |
Number of licenses pools supported? | 1 | Many |
High Availability Options Available? | No | Yes |
Ability to Track License Usage? | Yes | Yes |
For more information, see Licensing Models Explained
What is included in each HP Anyware license order?
In each licensing order, there will be one registration code and one or more license activation codes.
As you order HP Anyware licenses, these licenses will automatically be added to the Cloud service licensing pool. Your PCoIP agents can be configured to access the pool of licenses in the cloud by using the registration code.
This short video shows you how the registration code is used.
Alternatively, you may move the license out of the cloud licensing pool and into one or more local license server pools. By deploying additional servers, you can gain more control over how each license is used. The activation code will need to be unmapped from the cloud and mapped onto the your local license server. The registration code is not used when using local license server. When using a local license server, you will need to configure and maintain the license server and the connection manager will need to be updated to broadcast the location of the license server to all your deployed agents. For more information see:
- Licensing Server Administration guide (Online , Offline)
- Agent Administration Guide: Licensing with a Local Licensing Server (Windows , Linux)
- Connection Manager Administration Guide: How to configure a Local License Server
How can I move licenses from the Cloud Service to a Local License Server?
If you want to transfer a license from the cloud or to a local license server (or vice versa) use the following instructions:
- How to remove a license (unmap) from a HP Anyware License Server pool.
- How to add a License (map) to a HP Anyware License Server pool?
How can I see the licenses that are installed?
All licenses that are purchased are available on your HP Anyware License portal. The purchaser of your licenses will have access to the portal:
In addition for a Local License Server, the command pcoip-view-license lists all used and available licenses, expiry dates and the devices/hosts that are currently using licenses.
How can I see the licenses that are available?
Run the command pcoip-list-licenses on any PCoIP Agent that is connected to either the cloud or local license server. This command will retrieve and display licenses that are not already in use. Licenses that are in use, may not be not shown. Command is available for both Local License Server and Cloud Licensing deployments.
What are License features? What are Agent-Session and Agent-Graphics used for?
A HP Anyware Graphic Agent will require both an "Agent-Session" and an "Agent-Graphics" feature license before it establishes a PCoIP session. The standard Agent or Workstation Card hardware Agent require only an "Agent-Session" license prior to establishing a PCoIP session.
How can I track license usage?
If you would like to track usage of your licenses, a script can be setup to capture usage over time. The script is located here: https://github.com/hpinc/pcoip-license-server
How many licenses do I need?
Licenses are based on concurrent PCoIP sessions. They will float to an PCoIP Agent on the remote host just prior to the host establishing a PCoIP session. Once the license is obtained, that host VM will be able to establish PCoIP session for the next 12 hours. When sizing your license pool, you should purchase enough licenses for each host VM that you would like active in a 12 hour period.
At what time does a license expire?
For Cloud Licensing: the expiry time is 11:59 PM US Central Time (CDT or CST depending on time of year).
For Local License Server: the expiry time is 11:59 PM, the time zone of local license server.
What is Licensing Grace Period and when is it triggered?
Refer About the Licensing Grace Period
How can I move my local license server key into my cloud server (or vice versa)?
Key can be transferred by unmapping the key from the license server where it is being used and then re-mapping it to the other license server. See the following instructions for details:
How can I move my registration code from one PCoIP agent to a different PCoIP agent?
You can register as many agents as you want to connect to the cloud based licensing server. If you want to de-register using the pcoip-register-host script and select the deregister option.
How can I check if my license server is healthy?
Local License Server: http://<License Server IP>:<port>
Cloud Licensing: https://teradici.compliance.flexnetoperations.com/api/1.0/instances/<LicenseServerInstance>/health
The <LicenseServerInstance>
You can perform the health check using a browser or via curl. If you are using curl and are behind a proxy, specify your proxy settings by including -x and the proxy IP and port numbers, as shown in this example (replace all address and port numbers with your own):
- curl http://10.0.10.1:7070/api/1.0/health -x 10.0.16.9:8080
A successful check returns a JSON response containing the following key/value pair:
"database" : { "connectionCheck" : "success" }
If the health check fails, check the license server is up and running, the required ports are open, and the proxy setting is correct (if configured).
Which firewall ports need to be open for licensing to work?
If you are using cloud based licensing then your PCoIP Agent will need access to the internet either by using port 443 or by setting up an internet proxy. The URL used for licensing is https://teradici.compliance.flexnetoperations.com/.
If you are using a local licensing server, the ports that need to be configured are described here.
What services need to be available for Cloud Licensing to work?
Note: if you are not currently configuring your firewall to allowlist specific network traffic, you can skip this session.
Our third-party licensing vender has scheduled an IP block change. Please ensure to update your network allowlist by March 11, 2023 to avoid any licensing service disruption.
If you are using HP Anyware Cloud Licensing, you will need to allowlist the following:
If you use an IP allowed list, we recommend sharing the following network blocks to allowlist with your IT team:
-
IPv4: 185.146.155.64/27
-
IPv6: 2620:122:f005::/56
If you previously used the IP allowlist as in the following, we also recommend you to keep the old allowlist until the new allowlist is in effect and you have tested it working:
-
Production: 64.14.29.0/24
-
Disaster Recovery: 64.27.162.0/24
How do I configure HP ZCentral Remote Boost licensing?
Instructions for configuring ZCentral Remote Boost are provided in HP documentation:
- Go to https://h30670.www3.hp.com/portal/swdepot/displayProductInfo.do?productNumber=ZCRB-WSR.
- Find the HP ZCentral Software Licensing Guide and download it.
- In the Licensing Guide, go to Configuring HP Anyware Plus Licenses.
Answers – Troubleshooting Tips
My registration does not take, what should I look for to correct?
Step 1: Retry your registration manually using the command pcoip-register-host:
-
Instructions: Windows PCoIP Agent , and Linux PCoIP Agent.
Step 2: Do you see any of the error message listed below?
- If yes, follow the recommendations in the checklist.
- If no then , submit a case.
Scenario: | Registration of the HP Anyware Agent fails |
---|---|
Error: |
Error creating FNE capability response: [1,7E3,4,0[7000001C,71000034,250137]] Server was not able to process request correctly. Server status: (Back office server error.) |
Cause | Virtual Machine name had been previously registered to a different license server. |
Troubleshooting Checklist: |
|
Scenario: | Registration of the HP Anyware Agent fails |
---|---|
Error: |
Unable to reach the cloud license service. Please ensure 'https://teradici.compliance.flexnetoperations.com' is accessible from this system. |
Cause | Communication to the Cloud license server was either blocked or the server did not reply in time. |
Troubleshooting Checklist: |
|
Scenario: | Registration of the HP Anyware Agent fails |
---|---|
Error: |
Registration error: Error creating FNE capability response. [1,7E2,5,0[7000001C,71000034,250137]] Server was not able to process request correctly. Server status: (Back office server error.) |
Cause | An incorrect (unknown) registration code was used.. |
Troubleshooting Checklist: |
|
My key does not activate on my local license server, what could be wrong?
Step 1: Retry your activation using the command pcoip-activate-<type>-license command
-
Instructions: Online (Internet activated), and Offline (Dark site)
Step 2: Do you see any of the error message listed below?
- If yes, follow the recommendations in the checklist.
- If no, submit a case.
Scenario: | Activation of a License on a Local License Server Fails |
---|---|
Error: |
Host's UUID does not match expected UUID for that host ID Host id does not match; Expected <8 digit number> got 1234B012-2345-56BE-A00B-666688B66F88 |
Cause | The License Server cannot operate due to insufficient memory. |
Troubleshooting Checklist: |
|
Scenario: | Activation of a License on a Local License Server Fails |
---|---|
Error: |
Could not commit JPA transaction nested exception java, because transaction was set to rollback |
Cause | The security measures on license server prevents the license server user to commit the transaction. |
Troubleshooting Checklist: |
|
The pcoip-validate-license command fails, what could be wrong?
Step 1: Retry your validation check the command pcoip-validate-license command:
- Instructions: Windows PCoIP Agent , and Linux PCoIP Agent.
Step 2: Is the cloud or local license server healthy?
Step 3: Are there license availables for use on the license server?
- Instructions: How can I see the licenses that are available?
Step 4: Do you see any of the error message listed below?
- If yes, follow the recommendations in the checklist.
- If no, submit a case.
Scenario: | The command, pcoip-validate-license is failing |
---|---|
Error: |
This version of trusted storage is not supported.or in the log file, there were entries like Unable to handle request for feature Agent-Session 1.0 count=1. Reason: FEATURE_SERVER_HOST_ID_MISMATCH. |
Cause: | The Licenses have been corrupted on the agent. |
Troubleshooting Checklist: |
|
My license server will not start, how can this be fixed?
Step 1: Do you see any of the error message listed below?
- If yes, follow the recommended checklist.
- If no, submit a case.
Scenario: | Local License Server Service does not start |
---|---|
Error: | The license server service was not started up, and the /var/log/flexnetls-TERADICI/pcoip-license-server.log indicated the following error:
ERROR flexnetls_licenses:database flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: File corrupted |
Cause: | The trusted storage has been corrupted on the license server. |
Troubleshooting Checklist: |
Option 1: try restore the backup database file first
|
I just purchased licenses but I still see the old expiry date that was associated with my old licenses, how can this be fixed?
The PCoIP agent will show the expiry date used by the license that it acquired from the pool. It will return the license once the PCoIP connection is terminated and will get a new license when the next session is established. The expiry date shown may not align to the more recent purchase.
For example, if you purchased 5 licenses that expire on date Y, and then purchase 10 licenses that expire on date Z, your pool of 15 licenses will have two expiry dates (Y and Z). When you look at the license that is being used on an agent, it could be the license that expires on Y or Z as long as Y or Z are in the future.
To double check that the new licenses have been added to your license server, run the command; pcoip-list-licenses on the PCoIP agent. It will show all the expiry dates. If you do not see your licenses with the new date, submit a case.
How do we recover licenses from a deleted Local License Server?
If your licenses has been deleted, follow the guidance provided in the KB, We have deleted our License Server VM. How do we recover the deleted license?