Installing the License Server in an Offline Environment¶
Offline Environments
The method you will use to install the HP Anyware License Server in an offline environment depends on whether you can open a temporary internet connection to the License Server machine.
- If you can open a temporary connection to the internet, install the software and dependencies directly and then remove the internet connection.
- If you cannot connect to the internet, obtain dependencies and License Server software via a temporary internet-connected machine and then transfer the files yourself.
Important: Migrating from RHEL 7 to RHEL 8
Linux Local License Server does not support RHEL 7. If you have currently deployed a HP Anyware License Server on RHEL 7 and wish to upgrade to RHEL 8, do not upgrade the operating system in place. Updating the operating system could invalidate your licenses. See Migrating from RHEL 7 to RHEL 8 for a supported migration path.
Caution: Do not install more than one type of license server on the same machine
The HP Anyware License Server version 24.10 cannot be installed on the same machine as the HP Anyware License Server 1.x or an NVIDIA GRID License Server.
Before you Begin¶
Before you begin installing, read the password rules.
Note: Default password
The default password in new installations is 1P@ssw0rd!
, where the leading 1
is a numeral one and 0
is a zero. When setting the password on a clean installation, use this as your curent password. Change the default password immediately. Until the default password is changed, commands can be issued to the license server without your knowledge.
Installing With a Temporary Internet Connection¶
-
Open the internet connection on the License Server machine.
-
SSH into your License Server machine.
-
Install the
pcoip-license-server
repository, using the shell script available here. The script will discover your operating system and configure the repo appropriately. -
Install Java:
sudo dnf install java-11-openjdk sudo dnf install tzdata-java
-
Install the license server:
sudo dnf install -y pcoip-license-server
-
Wait for the HP Anyware License Server to start (about 30-60 seconds).
-
Verify that the HP Anyware License Server is running by using the following command:
sudo systemctl status HPAnywareLicenseServer
-
Set your HP Anyware License Server administrative password:
sudo pcoip-set-password
You will be prompted for the old and new passwords.
-
Remove the internet connection.
-
If you need to change the HP Anyware License Server's listening port, see Configuring the License Server's Listening Port.
The HP Anyware License Server starts automatically when it is installed.
Installing With No Internet Connection¶
If you cannot open an internet connection on the License Server machine, you must create a temporary machine to download the License Server software and its dependencies and then manually transfer and install them.
-
Create a disposable internet-connected RHEL (or CentOS) machine for downloading and inspecting packages. This machine should be identical to the license server machine.
-
SSH into the new temporary machine.
-
Install the HP Anyware repository by running the shell script available here. The script will discover your operating system and configure the repo appropriately.
-
Create a new directory to hold the downloaded package manager files. In the following examples, we are creating folders in your user home directory (
~/
).cd ~/
mkdir ./rpms/ mkdir ./updates/
-
Download the required updates to the new
/updates/
folder:sudo dnf update -y --downloadonly --downloaddir=./updates
-
Install the dependencies from the
/updates/
folder:cd ~/updates/ sudo dnf install --disablerepo="*" -y *
cd ~
-
Download the RPM packages to the new
/rpms/
folder:sudo dnf install --downloadonly --downloaddir=./rpms pcoip-license-server -y cd ~ sudo dnf install --downloadonly --downloaddir=./rpms tzdata-java -y
-
Transfer the RPMs directory containing the packages to your license server machine using any acceptable method, such as a USB flash drive.
The temporary machine is no longer needed
The temporary machine can be safely destroyed at this point.
-
Connect to the license server machine using a console.
-
Install the updates from the updates/ directory you transferred earlier. The following example assumes the updates/ directory is in the user home directory; if you put it somewhere else, modify these instructions accordingly:
cd ~/updates/ sudo dnf install --disablerepo="*" -y *
-
Install the HP Anyware License Server from the rpms/ directory you transferred earlier. The following example assumes the rpms/ directory is in the user home directory:
cd ~/rpms/ sudo dnf install --disablerepo="*" -y *
Note: Time Required for Installation
When installing the HP Anyware License Server offline, installation times of up to 10 minutes are possible. This is expected behavior.
-
Set your HP Anyware License Server administrative password:
You will be prompted for the old and new passwords.sudo pcoip-set-password
-
If you need to change the HP Anyware License Server's listening port, see Configuring the License Server's Listening Port.
The HP Anyware License Server starts automatically when it is installed.
Do not modify the trusted storage database
The HP Anyware License Server installs a trusted storage database in /var/opt/flexnetls/HP.
If the contents of this directory are moved or modified, the license server will consider the trusted storage corrupted. The server will log an error and refuse to start.