• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Join the HP Community Solve‑a‑thon | Help Others & Share Your Solutions | Live on Zoom | 2:30 PM to 2:30 AM IST | Every Wednesday Click here to know more
HP Recommended

Dear HP Support Team,


Hello, I am writing to inquire about the best practices and recommended maintenance for our on-premises HP Anyware (formerly RGS) license server (flexnetls). We recently experienced a database corruption issue triggered by a workaround we had implemented for response delays.

While the system is currently restored, we would like to understand the root cause and how to properly maintain the server moving forward.

Background and Current Status:

  1. The Issue:
    We previously experienced a severe delay when clients attempted to acquire licenses. As a temporary workaround, we set up a cron job to restart the license server (systemctl restart flexnetls) once a week (every Monday).

  2. DB Corruption:
    Recently, the following H2 database file became corrupted, causing the server to stop distributing licenses entirely: /var/opt/flexnetls/TERADICI/flexnetls_licenses.mv.db

  3. Current Status:
    We resolved the immediate issue by deleting and initializing the corrupted DB file, then re-activating and re-distributing the licenses. The weekly restart cron job has been disabled to prevent future corruption. Notably, since initializing the database, the license connection speed has become extremely fast and runs very smoothly. This strongly suggests that the previous delays were caused by database bloating or data accumulation over time. We anticipate that without proper maintenance, the response delays will eventually recur.

  4. Already Verified:

    • We previously adjusted the priority order of the licenses in the client-side rgsenderconfig, but this did not fundamentally resolve the delay issue.

    • We checked the server logs (flexnetls.log), but no explicit errors (such as OutOfMemoryError) were recorded around the time of the delay.

 

Questions:

1. Validity of recovery using
tsBackup If the database file (.mv.db) becomes corrupted again in the future, is it an officially supported method to restore it by replacing it with the backup file from the following path and restarting the service?

  • Backup file: /var/opt/flexnetls/TERADICI/tsBackup/flexnetls_licenses.mv.db.ts
    Are there any specific precautions we should take regarding data consistency or license activation status when performing this step?

2. Methods to keep the H2 database clean
To prevent database bloat, fragmentation, and response delays without forcing a service restart, is there an officially recommended routine maintenance procedure? (e.g., using flexnetlsadmin commands to clean up or optimize old transaction data?)

3. Adjusting Java Heap Size (Memory) To fundamentally prevent future response delays, would increasing the current memory allocation from 2GB (-Xmx2g) to 4GB (-Xmx4g) or higher be effective?

For your reference, we currently have the following 80 concurrent licenses activated and running in our environment:

  • Agent-Session : 80 (CONCURRENT)

  • Agent-Graphics : 80 (CONCURRENT)

Based on this scale of licenses (the number of activations and expected concurrent clients), please provide the recommended heap size for stable operation and the correct configuration file to modify.

Thank you for your support. I look forward to hearing from you.

Best regards,



3 REPLIES 3
HP Recommended

Hello, 

 

ZCentral Remote Boost V22 uses the HP Anyware Pro licenses, and now that Remote Boost V22 has gone back to HP Z RGS, the V26 releases now use the same type of licenses as HP Anyware Pro but HP Anyware does not work on HP Z RGS licenses.  It sounds like you are still using HP Anyware agents and clients, and the best way to get support for your questions/issue would be to file a case with HP Anyware support.  You should already have your login credentials when you received your licenses.  https://support.hp.com/us-en/help/HPAnyware  

 

They also have an excellent Knowledge Base section that might be helpful. There is a lot of documentation regarding offline (local license servers).  I will forward this post to people that I do work with via HP Anyware support, and see if they have access to this forum, but probably the fastest way to get your questions answered is raising a support case.  

 

Kelly

 

I am an HP employee.
HP Recommended

I had a conversation with HP Anyware support regarding your post and they do recommend opening a case with them https://support.hp.com/us-en/help/HPAnyware

They also provided me with the Knowledge Base link that I mentioned.  https://anyware.hp.com/knowledge

In the event they need to look into any issues for you, having an open case will help expedite that.  

 

Kelly

I am an HP employee.
HP Recommended

Hi Kelly,

Thank you so much for your follow-up and for checking with the HP Anyware support team on my behalf.
I really appreciate your help.

Just to clarify our environment to avoid any misunderstanding: our end-user application is indeed HP Z RGS v26 (including the older ZCentral Remote Boost versions). However, our local license server infrastructure uses the flexnetls (H2 Database) manager under the /var/opt/flexnetls/TERADICI path.

Since my questions are purely focused on this license manager's behavior, DB maintenance, and Java specifications rather than the RGS application itself, opening a case with HP Anyware support makes perfect sense.


I have not opened a support case yet, so I will go ahead and create one with the HP Anyware support team now, keeping this context in mind.

Thank you again for pointing me in the right direction!

Best regards,

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.