After successfully licensing and using PGP Command Line on a system on a VMware machine, the software license displays as invalid.
PGP Command Line is licensed based on the number of processors on the computer. If the processor allocated to the VMware instance changes, the PGP Command Line license can be affected by the change and display the license as invalid.
For information on how to download Symantec Encryption products and other related topics, see the following articles:
193931 - How to download Symantec Encryption products from the Broadcom download Portal
206503 - How to find your license number for Symantec Encryption products
175951 - How to: Enter your License information for PGP Encryption Server (Symantec Encryption Management Server)
276507 - How to: Enter your License information for Symantec Endpoint Encryption version 12 and above
180234 - How to: Enter your license information for PGP Command Line
180213 - How to: Enter your License information for PGP Encryption Desktop (Symantec Encryption Desktop)
This issue can be resolved by configuring the processor affinity for the instance of VMware machine where PGP Command Line is installed. This prevents VMware from allocating different processors to the VMware instance for your PGP Command Line.
If DRS is enabled for your VMware, that is, your hardware resources are being moved around, and it is not possible for you to configure the option to for CPU affinity, a workaround to this issue is to include the licensing information with the batch file when performing encryption.
As part of your scripting, you could include logic to check for the license status, and if it shows as "Invalid", then have your script execute the following command:
pgp --license-authorize --license-number "Your license here" --force
This should re-license the PGP Command Line and correct the situation. Once this is run, have your script check to ensure the license state is now valid, and then proceed to your commands.
Depending on how frequently your hardware resources are "moved" will dictate how often you will need to check. As this may be difficult to manage, we recommend finding a way to ensure your hardware resources, and in particular, your CPUs are not rotated from the current VM system.
For more information on licensing PGP Command Line, see the following article:
180234 - HOW TO: License PGP Command Line
For information on how to download Symantec Encryption products and other related topics, see the following articles:
193931 - How to download Symantec Encryption products from the Broadcom download Portal
206503 - How to find your license number for Symantec Encryption products
175951 - How to: Enter your License information for PGP Encryption Server (Symantec Encryption Management Server)
276507 - How to: Enter your License information for Symantec Endpoint Encryption version 12 and above
180234 - How to: Enter your license information for PGP Command Line
180213 - How to: Enter your License information for PGP Encryption Desktop (Symantec Encryption Desktop)
153245 - Symantec Encryption Product License concept - How are Symantec Encryption Products licensed (SEE and PGP)
153399 - PGP Command Line license displays as "Invalid" on VMware systems