Lock-Based Licensing

 

Lock-based licensing may be used with the PSCAD Professional and Educational editions. Validation is achieved through the installation of a license database file and hardware lock. Licensing is managed using license manager software, which can be used in two different manners, either using the separate standalone service, or using the PSCAD embedded tool.

 

A lock-based license contains seats, which represent the number of instances of PSCAD that may be run simultaneously on one or more workstations. For example, a two-seat license will allow up to two instances of PSCAD to be run simultaneously. Each time PSCAD is opened or closed, a seat will be requested or relinquished, respectively.

 

Lock-based licenses may be used in two different manners: Network Licensing and Local Licensing. The style that is best for your purposes depends on how PSCAD is to be utilized.  The following sections describe each licensing style in detail.

Network Licensing

With network licensing, the license is installed on a server and shared with PSCAD client machines (including the host) over the facility networks. Licensing can also be shared over the internet with client machines, connected to the facility, through virtual private network (VPN).

 

Network licensing is set up by installing the standalone license manager software, the license database file and hardware lock on a server machine.  When an instance of PSCAD is started somewhere on the network, licensing will be requested by the license manager.  The license manager ensures that license is authorized according to the license file and lock, and if available, shares a PSCAD seat with the client machine. The seat will allow the user to run one instance of PSCAD. When PSCAD is closed, the seat is relinquished back to the license manager.

 

The number of users that can access PSCAD simultaneously depends on the number of seats on a license.  For example, if a license contains two seats for the PSCAD Professional Edition, then two users may each use one instance of the Professional Edition at the same time, or one user may run up to two instances of PSCAD on his or her workstation. The following diagram illustrates how a two-seat network license can be shared with two users simultaneously.

 

  

NOTE:  The number of licenses and seats owned does not limit the number of PSCAD installations in a facility.  PSCAD can be installed on any number of workstations.

Local Licensing

With local licensing, the license database file and hardware lock are installed directly on the PSCAD client machine. Two different types of management software are available for managing the license, depending on the number of seats on the license.

 

If the license contains only one seat, self-licensing is used, in which the embedded license manager in PSCAD is used to manage the license.  Or, if the license contains more than one seat, the standalone license manager is installed and used to manage the license. When an instance of PSCAD is started, the license managing software ensures that the license is authorized according to the license file and lock, and if available, shares a PSCAD seat. The seat will allow the user to run one instance of PSCAD. When PSCAD is closed, the seat is relinquished back to the managing software.

 

The number of instances of PSCAD that may be run on the workstation simultaneously depends on the number of seats on the license. For example, if a license contains two seats for the Professional Edition, then up to two instances of the Professional Edition may be run at the same time.  

 

EXAMPLE 1:  

 

A license containing one seat for the Professional Edition is set up on a client machine. The diagram below illustrates how PSCAD would use self-licensing.  Note the absence of the license manager as a separate program.

 

  

EXAMPLE 2:

 

A license containing two or more seats for the Professional Edition is set up on a client machine.  The diagram below illustrates how PSCAD would be managed using the license manager.

 

NOTE:  The number of seats on a license does not limit the number of PSCAD installations in a facility.  PSCAD can be installed on any number of workstations. Simply, PSCAD and the license database file will be installed on each machine, but licensing will be authorized on the machine on which the hardware lock is currently plugged in.

Hardware Locks (Dongles)

The embedded and standalone license manager software for network and local licensing supports the following hardware lock (also known as a USB lock or dongle) for a lock-based license:

 

Sentinal SuperPro™ USB, USB Port Hardware Lock

 

The USB hardware lock is compatible with all Windows platforms, on which PSCAD and the license manager are supported.  

License Key/License Database File

The license key is an ASCII text file named license.txt. The license key is used with both network and local licensing, and is required for both the Professional and Educational Editions.  This file contains encrypted information designed to act as a key to adding or upgrading a license on a workstation, specifically by creating and updating a license database file.  Together, the hardware lock and license database file are used directly by either the embedded or standalone license manager to validate a request for a license.

Upgrade Key

The upgrade key is an ASCII text file named upgrade.txt. It is used to renumber an existing license, due to specific changes to the license products. When applied, the products are modified, the hardware lock is renumbered to the new license number, and a new license database file, with the new license number, replaces the existing one.

Adding/Modifying Licenses

When using a license for either local or network licensing, the corresponding license database file may be added as a new license, or a pre-existing license, and may be modified in the following circumstances:

Adding or Improving a License

The License Update Utility is used to install the license database file either on the license server, for network licensing, or on the client machine/s, for local licensing. This utility will be launched automatically during the installation of the license manager, or may be launched from the Windows Start menu if either PSCAD or the license manager is already installed.

 

Adding a new license or improving an existing license on the server or client machine may be performed as follows:

Renumbering a License

The License Update Utility is used when renumbering an existing license file and hardware lock either on the license server, for network licensing, or on the client machine, for local licensing. This utility, along with an upgrade key,  a new license key, and a number of other files will be provided by the MHI Sales Team.

 

Renumbering an existing license on the server or client machine/s may be performed as follows:

If you encounter any issues during this process, contact us at PSCAD Support Services.

NOTE: If using a standalone license manager, it is recommended to always use the latest version. Please contact PSCAD Support Services for a download, and this article  for setup information.

Configuring Licensing Settings

License settings may be set or altered without the need to close and reopen PSCAD in a different mode.  The settings may be configured directly from within PSCAD, in the Licensing Menu.

Switching between Lock-based Licensing and Certificate Licensing

Select Switch to Lock-based (for lock-based licensing) or Switch to Certificate, as applicable from the Licensing menu.

 

To Switch to Lock-Based Licensing

(Licensing is currently configured for Certificate Licensing)

To Switch to Certificate Licensing

(Licensing is currently configured for Lock-Based Licensing)

Configuring for Local Licensing

To configure PSCAD to use local licensing, select Licensing Options from the Licensing menu, enter localhost 2053 in the License Host field, then select Ok to apply the selection and close the dialog.

 

Select Licensing Options

Licencing Options Dialog

Configuring for Network Licensing

To configure PSCAD to use network licensing from a server, select Licensing Options from the Licensing menu, enter the name or IP address of the server, followed by a space and 2053 in the License Host field, then select Ok to apply the selection and close the dialog.

 

Select Licensing Options

Licencing Options Dialog

Activating the License

A license to run PSCAD may be activated by launching PSCAD from the Windows Start menu, configuring the license, and selecting the Edition from the Activation menu.

 

 

The following requirements must be met to activate a license:

Viewing Active License Information

At any time, you can review the status of your active license. From the Licensing menu, select View | Current License:

 

Reviewing Licensing Information

Licensing information and activity are logged to help with licensing setup and diagnostics.

Get Info Utility

The Get Info Utility detects whether the license database file and hardware lock are properly installed.

 

It is recommended to always use the latest Get Info Utility, which may be downloaded from the following link:

 

http://updater.pscad.com/utilities/GetInfo32.zip

 

This utility is also installed alongside both PSCAD and the License Manager, and may be run from the Windows Start menu (select GetInfo).

 

The Get Info DOS-based window should appear, similar to that shown below. If detected, the associated license number of a license database file and/or hardware lock will be displayed.

 

 

The findings are summarized in a log file that can be forwarded to our support desk for evaluation. The location of the log file is listed in the bottom of the utility, as shown in the previous snapshot. This is an important file to include when contacting PSCAD Support Services.

PscadLmgr.txt file

On a client machine, all lock-based licensing activity is logged to the PscadLmgr.txt log file. The logged errors may be used to determine the cause of a licensing issue, or the log file may be forwarded to PSCAD Support Services for evaluation.

 

The PscadLmgr.txt file may be displayed as shown:

 

  

This file is maintained in the following path:

 

C:\ProgramData\Manitoba HVDC Research Centre\LicenseManager\

Lmgrd-log.txt file

If the standalone license manager is installed, all activity pertaining to managing lock-based licensing is logged to the Lmgrd-log.txt log file. The logged errors may be used to determine the cause of a licensing issue, or the log file may be forwarded to the PSCAD Support Services for evaluation.

 

On the machine hosting the license manager, the Lmgrd-log.txt file may be displayed from the Windows Start menu by selecting View Licence Manager Log File.

 

This file is maintained in the following path:

 

C:\ProgramData\Manitoba HVDC Research Centre\LicenseManager\

PSCAD Usage Log

If the standalone license manager is installed, the usage of lock-based licensing is logged to the PscadUsage.txt file. This file may be displayed from the Windows Start menu by selecting View PSCAD usage log file.

 

This file is maintained in the following path:

 

C:\ProgramData\Manitoba HVDC Research Centre\LicenseManager\

 

The following is a sample line from a PscadUsage.txt file:

 

 

Description: