Linux Import Procedure
The Linux import procedure includes the following steps:
| • | Step 1: Export from Old Server |
| • | Step 2: Import the Database |
| • | Step 3: Verify Migration |
| • | Step 4: Verify H2 Database Version |
Step 1: Export from Old Server
To export from the old server:
Complete the steps in Linux Export Procedure.
Note:If an existing license server service is present, remove it before proceeding with the import. Delete the existing license server service files from the installation and configuration directories (for example, under /opt and /etc) to ensure a clean installation.
To import the database:
| 1. | Ensure that the migration file (flexnetls-h2-1-4-x-migration-source.data) is located in the trusted storage directory (/var/opt/flexnetls/<publisher>/) before running the import. |
| 2. | Run the following command: |
sudo ./install-systemd.sh --import-database
| 3. | The data is imported and the service starts automatically. |
To verify the migration:
| 1. | Check the following log file: |
cat /var/opt/flexnetls/<publisher>/logs/h2-2x-migration-import.log
| 2. | Check the service by running the following command: |
sudo systemctl status flexnetls-<publisher>
| 3. | Verify the migration using the API: |
./flexnetlsadmin.sh -server http://localhost:7070/api/1.0/instances/~ -licenses -verbose
Step 4: Verify H2 Database Version
Note:Ensure that the server is installed successfully and is running and accessible.
Starting with the 2026.07 release, the current H2 database version can be verified using the following methods.
Method 1: H2 Version Endpoint
| • | Endpoint: /api/1.0/h2version |
| • | Example: http://localhost:7070/api/1.0/h2version |
Method 2: Health Endpoint
The H2 database version is also exposed through the /api/1.0/health endpoint.
The version information is available under the database section of the health response.