PROCISION INSTALLATION NOTES

    1. Obtaining software
    2. Obtaining license
    3. Obtaining host ID
    4. Software installation
        4.1. Windows
        4.2. Unix
    5. Registering with Pro/ENGINEER
        5.1. Understanding protk.dat file
        5.2. Compatibility with different Pro/ENGINEER versions
        5.3. Pro/INTRALINK
    6. License setup
        6.1. Understanding Procision licensing
        6.2. Understanding license file
        6.3. Windows license setup
        6.4. Unix license setup
        6.5. Shareware license setup
    7. Installation test

1. Obtaining software

Procision software is available for download from http://www.procision.com/downloads.html. Otherwise contact your local Rand Worldwide office, or call 1-877-726-3243 to obtain a CD-ROM copy of the software.

Procision software is updated frequently; be advised to visit http://www.procision.com/downloads.html to download most recent build.

2. Obtaining license

Procision is licensed using FlexLM license server. A license file is required. Please contact your local Rand Worldwide office, or call 1-877-726-3243 to obtain license file(s) for purchased seats. Be advised that your license server host ID must be available in order to obtain the license file.

License file for the shareware license is available free of charge. The shareware license file is included with the installation package, and is copied into Procision <machine>\bin directory upon the software installation. Should the installation package contain an expired shareware license file, the up-to-date file may be downloaded from http://www.procision.com/downloads.html.

3. Obtaining host ID

To obtain an authorization code you will need to provide the Host ID for your license server. Host ID can be obtained as follows:

Windows (installed Pro/ENGINEER required):     cpu_id
SGI IRIX:                                
                        sysinfo -s
HP UX:                                    
                        uname -i
Sun Solaris:                                                     hostid

4. Software installation

4.1. Windows

4.2. Unix

5. Registering with Pro/ENGINEER

5.1. Understanding protk.dat file

Registering Procision means providing information to Pro/ENGINEER about the files that form Procision application. This is done via a small text "registry file", that Pro/E will find and read. Pro/E searches for the registry file in the following locations, in the following order:

  1. A file called protk.dat in the Pro/E current directory (this is normally Pro/E startup directory).
  2. A file named in a PROTKDAT statement in the Pro/E configuration file.
  3. A file called protk.dat in the directory <Proe_loadpoint>/<machine>/text/<language>.
  4. A file called protk.dat in the directory <Proe_loadpoint>/text.

Option 1 is most restricted, because in this case Procision will be seen by Pro/E only if Pro/E is started from the specific directory that contains the appropriate protk.dat file. Options 2 and 4 make sure that the registry file is always found, and Procision is seen by Pro/E, no matter what directory is used to start Pro/E. Option 3 is not normally recommended.

At installation, Procision creates a protk.dat file in <Procision_loadpoint>\wrk directory (Windows), or in <Procision_loadpoint> directory (Unix). At this point, further choices of registering Procision with Pro/E are as following:

5.2. Compatibility with different Pro/ENGINEER versions

Procision requires different application files be registered with different versions of Pro/ENGINEER:

The name of Procision application file to be registered is contained in the exec_file statement of the protk.dat file. For example:

        exec_file C:\Apps\Procision_4.13\i486_nt\bin\pr_proe2001.dll

Procision setup creates an appropriate protk.dat file upon software installation, given the user's input on which Pro/E version will be used. The exec_file statement of this file may later be edited, should the user wish to use a different version of Pro/E.

5.3. Pro/INTRALINK

If Pro/ENGINEER is started by Pro/INTRALINK, then PROTKDAT statement in config.pro file should be used to register Procision (see Understanding protk.dat file for more information). In this case, make sure the Pro/INTRALINK startup directory contains this config.pro file.

6. License setup

6.1. Understanding Procision licensing

Procision licensing is based upon FlexLM licensing software. The components of Procision licensing are as follows:

The license file is normally sent to the end-user by e-mail upon issuance of a license. Other licensing components are supplied with Procision software and installed into <Procision_loadpoint>\i486_nt\lmgr directory on Windows, or <Procision_loadpoint>/<platform>/lmgr directory on Unix. Note that lmgrd server may already be present on your computer, since other applications installed on your computer might utilize FlexLM licensing software too.

Three kinds of licensing activity take place when Procision is used (this is an approximate description, intended to demonstrate the main ideas only):

  1. License server startup: a) lmgrd starts and reads the license file (the pathname for the license file must be supplied as an argument in the command that starts lmgrd), b) lmgrd starts procisiond daemon (hence procisiond must either be in the same directory where lmgrd starts, or VENDOR line in the license file must contain the correct path to procisiond),  c) procisiond checks validity of the license file, and d) lmgrd memorizes the number of licenses available and stays active until explicitly shut down.
  2. License check-out (takes place when PROCISION item in the PART menu is clicked): a) Procision application finds and reads the license file and checks its validity, b) Procision sends a signal to the lmgrd license server that a check-out is requested, c) lmgrd asks procisiond to check the validity of the request, and d) lmgrd decrements the number of licenses available (thus counting the number of licenses in use) and sends a signal back to Procision that the license check-out is permitted.
  3. License check-in (takes place when Procision menu is exited): a) Procision application sends a signal to lmgrd that Procision is no longer running, b) lmgrd increments the number of available licenses.

Note that for the above scheme to work it is critical to ensure that both license server and Procision application either read the same license file, or read two different files that contain identical Procision-related information (could be copies of Procision license file, or contents of Procision license file could be appended to other FlexLM license files).

By default, Procision application looks for a file called license.dat in the <Procision_loadpoint>\i486_nt\bin (Windows) or <Procision_loadpoint>/<platform>/bin (Unix) directory. This can be changed, though, by using the LICENSE_FILE statement in the Procision configuration file config.szf (refer to Procision User's Manual for details).

The license server lmgrd, as already mentioned, requires the license file pathname be supplied at the lmgrd startup.

A variety of options how the license file(s) can be configured is available; below are the most commonly used:

  1. Both lmgrd and Procision read the same license file, for example, located in <Procision_loadpoint>\i486_nt\bin (Windows) or <Procision_loadpoint>/<platform>/bin (Unix) directory. This option is most convenient if both license server and Procision run on the same computer.
  2. Lmgrd and Procision read identical copies of the same license file, possibly located on different computers. This option is most convenient if Procision is required to run on any computer in a network; in this case only lmgrd is 'locked' to a particular computer.
  3. Procision reads the original license file while lmgrd reads a license file that contains Procision license information along with licenses for other applications. This option conveniently allows to have single lmgrd process serving several different applications that utilize FlexLM licensing (for example, Procision, Pro/E, Rational Rose, etc).

Note that described later Windows license setup and Unix license setup procedures realize option 1.

Please visit http://www.macrovision.com/solutions/esd/index.html should you require more information on FlexLM licensing.

6.2. Understanding license file

The default name for the Procision license file is license.dat; it is a small text file similar to:

    SERVER <hostname> <host_id>
    VENDOR [<path>]procisiond
    PACKAGE modules_<feature> procisiond <version> COMPONENTS="procision_pre_<feature> \
    procision_solver_<feature> procision_post_<feature>" SIGN="<signature_1>"
    FEATURE modules_<feature> procisiond <version> <expiration_date> <no_of_lic> \
    SIGN="<signature_2>"
    PACKAGE components_<feature> procisiond <version> \
    COMPONENTS="procision_struct_<feature> procision_thermal_<feature> \
    procision_modal_<feature> procision_imp_<feature> procision_freq_<feature> \
    procision_rand_<feature>" OPTIONS=SUITE SIGN="<signature_3>"
    FEATURE components_<feature> procisiond <version> <expiration_date> <no_of_lic> \
    SUITE_DUP_GROUP=SITE SIGN="<signature_3>"

<hostname> is your computer's hostname (network name); this may appear as unknown if you did not provide the hostname while requesting the license. If this is the case, enter the correct hostname in that field. Important: this is the first of two fields in the license file (the second is <path>) that may be safely modified; modifying any other field will invalidate the license, and Procision will not start.

<host_id> is your computer's host ID.

<path> is the path to the procisiond daemon (<Procision_loadpoint>\i486_nt\lmgr\ on Windows, or <Procision_loadpoint>/<platform>/lmgr/ on Unix). This field allows the license server lmgrd (see Understanding Procision licensing for more information) to find and start procisiond daemon; it may be empty if lmgrd is started in the same directory where procisiond is located (this is the default configuration upon Procision installation). Important: this is the second of two fields in the license file (the first is <hostname>) that may be safely modified; modifying any other field will invalidate the license, and Procision will not start.

<feature> indicates the type of Procision license (see http://www.procision.com/support.html for more information). This field may appear as main (full Procision version), light ('lite' version), edu (educational, or student version), eval (evaluation version), or shw (shareware version).

<version> is the version of Procision licensing scheme, tied to Procision version number. Important: the licensing scheme changes with major Procision releases only; currently it appears as 4.0 and is good for Procision versions from 4.0 up to 4.49.

<expiration_date> is the license's expiration date. It may also appear as permanent if the license has no expiration date.

<no_of_lic> is the number of licenses, i.e. the number of concurrent Procision sessions this license file allows to have.

<signature_1>, <..._2>, <..._3> are 'signatures' used by the licensing software to verify the validity of the license file.

6.3. Windows license setup

You will likely be provided with the license file as an attachment by e-mail. The file you receive would likely be named license.dat.ABCcorp where ABCcorp would correspond to your company name. Rename this file to license.dat and put it in the <Procision_loadpoint>\i486_nt\bin directory (it is recommended to save already existing there license file, if any, under a different name). Also make sure the SERVER statement in the license.dat file contains the correct hostname (network name) of your computer; edit this line if necessary.

Next, we must create the means to start the license server. 

One way is to set up a shortcut on your desktop that can be double-clicked to start the license server. The server needs to be started only once, or after a reboot. Once the shortcut is created, you may copy it into your startup folder so it will initiate automatically.

Right-click on an empty space of your desktop, and select NEW > SHORTCUT. In the box COMMAND LINE enter:

<Procision_loadpoint>\i486_nt\lmgr\lmgrd -app -c <Procision_loadpoint>\i486_nt\bin\license.dat

Double-click the icon to start the license server.

Another way is to create a Windows service that will start Procision license server automatically each time Windows is started:

6.4. Unix license setup

You will likely be provided with the license file as an attachment by e-mail. The file you receive would likely be named license.dat.ABCcorp where ABCcorp would correspond to your company name. Rename this file to license.dat and put it in the <Procision_loadpoint>/<platform>/bin directory (it is recommended to save already existing there license file, if any, under a different name). Also make sure the SERVER statement in the license.dat file contains the correct hostname (network name) of your computer; edit this line if necessary.

Next, the license server must be started. From Unix shell, execute the command:

<Procision_loadpoint>/<platform>/lmgr/lmgrd  -c  <Procision_loadpoint>/<platform>/bin/license.dat

Your Unix system administrator would know how to setup this command to execute automatically upon system startup by including it in one of many possible startup scripts. Otherwise, you must execute this command manually each time the system is rebooted.

6.5. Shareware license setup

The shareware license file is installed by default by Procision setup program. On Windows, this is file license.dat.shareware located in <Procision_loadpoint>\i486_nt\bin directory; just rename this file to license.dat to have the shareware license set up. On Unix, this is file license.dat located in <Procision_loadpoint>/<platform>/bin directory; here no other steps are required to have the shareware license active.

7. Installation test

To test the installation:

If you still have trouble, contact Rand hotline at 1-800-625-RAND.