Administrator's Guide: Mathcad 14.0 April 2007
Administrator's Guide: Mathcad 14.0 April 2007
Mathcad 14.0
April 2007
Copyright 2007 Parametric Technology Corporation. All Rights Reserved.
User and training documentation from Parametric Technology Corporation and its subsidiary companies
(collectively PTC) is subject to the copyright laws of the United States and other countries and is provided
under a license agreement that restricts copying, disclosure, and use of such documentation. PTC hereby
grants to the licensed user the right to make copies in printed form of this documentation if provided on
software media, but only for internal/personal use and in accordance with the license agreement under which
the applicable software is licensed. Any copy made shall include the PTC copyright notice and any other
proprietary notice provided by PTC. This documentation may not be disclosed, transferred, modified, or
reduced to any form, including electronic media, or transmitted or made publicly available by any means
without the prior written consent of PTC and no authorization is granted to make copies for such purposes.
Information described herein is furnished for general information only, is subject to change without notice,
and should not be construed as a warranty or commitment by PTC. PTC assumes no responsibility or liability
for any errors or inaccuracies that may appear in this document.
The software described in this document is provided under written license agreement, contains valuable trade
secrets and proprietary information, and is protected by the copyright laws of the United States and other
countries. It may not be copied or distributed in any form or medium, disclosed to third parties, or used in
any manner not provided for in the software licenses agreement except with written prior approval from PTC.
UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN RESULT IN CIVIL
DAMAGES AND CRIMINAL PROSECUTION.
Important Copyright, Trademark, Patent, and Licensing Information
On the Reference Documents page at http://www.ptc.com/appserver/cs/doc/refdoc.jsp, select Legal for the
product and PTC Copyright for the document type. Alternatively, click Help > About on your product's main
menu.
UNITED STATES GOVERNMENT RESTRICTED RIGHTS LEGEND
This document and the software described herein are Commercial Computer Documentation and Software,
pursuant to FAR 12.212(a)-(b) (OCT'95) or DFARS 227.7202-1(a) and 227.7202-3(a) (JUN'95), and are
provided to the US Government under a limited commercial license only. For procurements predating the
above clauses, use, duplication, or disclosure by the Government is subject to the restrictions set forth in
subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software Clause at DFARS 252.227
7013 (OCT'88) or Commercial Computer Software-Restricted Rights at FAR 52.227 19(c)(1)-(2) (JUN'87),
as applicable. 00002007
Installing Mathcad
Installing Mathcad 7
Installing Mathcad on a Workstation 7
Silently Installing Mathcad 9
Installing Internet Explorer and Adobe Reader 11
License Management
License Management 12
About License Management 12
Obtaining a License File 12
Using the License Service 13
Installing the License Service 13
Using the License Service Utilities 17
Troubleshooting your Installation 23
Borrowing Licenses 24
iii
About the Administrators Guide
How to Read This Manual
Before You Install
Before You Install An introduction to the concepts covered and terminology used
in this manual (see page 2.)
Installing Internet Instructions for installing Internet Explorer and Adobe Reader,
Explorer and Adobe included on the Mathcad CD (see page 11.)
Reader
Before You Install An introduction to the concepts covered and terminology used
in this manual (see page 2).
Installing Internet Instructions for installing Internet Explorer and Adobe Reader,
Explorer and Adobe included on the Mathcad CD (see page 11).
Reader
1
About the Administrators Guide / 2
lmtools Launches the FLEXnet utility LMTOOLS, similar to the shortcut icon
created in Start > Programs > PTC License Management tools.
Functionality includes customer configuration of the license service,
starting and stopping the lmgrd license server(s), server and licensing
status, as well as diagnostic tools. lmutil provides the same functionality
as command-line arguments.
lmutil Provides optional arguments to check the server and licensing status.
Refer to the FLEXnet End Users Guide.
ptcflush Releases licenses. This may be necessary if there are network problems.
ptchostid Returns the Host ID, with required formatting, used for license requests.
ptcshutdown Shuts down a license server process for administrative maintenance of the
license server. On Windows systems, you can also use LMTOOLS to stop
a license server process. See License Administration Tools in the
FLEXnet End Users Guide.
ptcstartserver Starts a license server process. On Windows systems, you can also use
LMTOOLS to start a license server process.
ptcstatus Displays information on server status and the current usage and
availability of licenses.
Order of Installation
You can elect to perform either the Mathcad install or the FLEXnet install first. If you
install Mathcad first, click Cancel to dismiss the Mathcad License Setup wizard
presented during installation, and provide the location of your license server or license
file when you launch Mathcad.
To specify a license file or server as part of a silent install, see the section Silently
Installing Mathcad on page 9.
About the Administrators Guide / 5
Product Code
The product code is a 22-character string of letters and numbers required to install
Mathcad. This code is provided with your Mathcad CD, or by e-mail if you purchased
a downloadable version of Mathcad.
If you create a silent install for Mathcad, the same product code is applied to each
workstation installation. If you install from the CD, you must enter the same product
code for each installation.
System Requirements
FLEXnet Server Requirements
Windows 2000 SP4, or Windows XP Home or Professional Edition
16 MB free memory (for license management processes)
9 MB of hard disk space (not including log file)
CD-ROM or DVD drive
SVGA or higher graphics card and monitor
Mouse or compatible pointing device
To serve floating and registered-user licenses, you must use FLEXnet 10.8 or later.
FLEXnet 10.8 for Windows is available on the Mathcad CD.
Note You can also use the FLEXnet executable for Linux, Solaris, or 64-bit Windows provided with
other PTC products. You cannot use a FLEXnet executable provided by another vendor, as it
does not include PTCs vendor daemon.
Under regular usage, license administration places little load on your server or network.
The FLEXnet license daemon and PTC vendor daemon both require approximately 3
MB of memory when running. Additionally, aside from license check-out and check-
in, and periodic heartbeats sent out to verify the continued presence of the license
server, Mathcad generates no network traffic to the FLEXnet server when running.
However, as more workstations access the license server, network traffic may become
an issue, and your log file will grow more quickly.
Mathcad Requirements
Pentium-compatible 32-bit (x86) or 64-bit (x86-64, EM64T) processor, 400 MHz
or higher; 700+ MHz recommended
Windows 2000 SP4, Windows XP Home or Professional Edition, Windows XP
Professional x64 Edition, Windows 2003, or Windows Vista; Windows XP SR2,
XP-x64 SR2, 2003, or Vista recommended
Microsoft .NET Framework 2.0 or later
MSXML 4.0 SP2 or later
Microsoft Data Access Components (MDAC) 2.6 or later
256 MB of RAM; 512 MB or more recommended
550 MB of hard disk space (250 MB for Mathcad, 100 MB for prerequisites, 200
MB temporary space during installation)
About the Administrators Guide / 6
Internet Explorer 6.0 or later (IE does not need to be your default browser)
Adobe Reader 5.0 or later
CD-ROM or DVD drive (not required for silent installations)
SVGA or higher graphics card and monitor
Keyboard and mouse or compatible pointing device
Internet Explorer 6.0 or later is required for full functionality of the Help system,
accessing HTML content within the Resources window, the opening and saving of
Web-based files, and automatic product licensing.
MSXML, MDAC, and the .NET Framework are available on the Mathcad CD, and
from the Microsoft Web site at http://www.microsoft.com/downloads/. Software can
be installed automatically during the Mathcad installation.
Upgrading from a Previous Version of Mathcad
Installing Mathcad Alongside Previous Versions
Mathcad 14 can be installed on a workstation currently running Mathcad 11 or later.
You do not need to uninstall any previous versions before you install Mathcad 14, nor
does installing Mathcad 14 automatically remove previous Mathcad installations.
Mathcad 14 can be installed alongside other previous versions, although compatibility
is not assured with unsupported versions of Mathcad.
If you elect to uninstall an earlier version after installing Mathcad 14, you may need to
re-register Mathcad 14. For more information on re-registering Mathcad, consult the
Release Notes (relnotes.htm), located either in the Mathcad folder or on the CD.
FLEXnet and Upgrading from Earlier Versions of Mathcad
If you are upgrading from an earlier version of Mathcad Enterprise Edition, you must
install FLEXnet from your Mathcad CD. Both FLEXlm and the vendor daemon
provided with previous versions of Mathcad are not compatible with Mathcad 14.
Previous versions of Mathcad are compatible with the version of FLEXnet provided
with Mathcad 14. Additionally, multiple versions of FLEXnet can exist on the same
server or network. This allows you to use the current version of FLEXnet to manage
Mathcad 14 licenses, and an existing installation of FLEXlm to manage licenses for
earlier versions of Mathcad.
More information on running multiple license services is available in the FLEXnet End
User Guide; see Other Sources of Information on page 2.
Vendor Daemon
In addition to a license file, FLEXnet also requires a vendor daemon to properly serve
Mathcad licenses. This vendor daemon actually dispenses a license to your machine
when you start Mathcad. Without it, Mathcad cannot check out a license at start up.
The vendor daemon is provided as part of the FLEXnet install, available on the Mathcad
CD. The vendor daemon included on the CD works only on supported Windows
operating systems. Serving Mathcad licenses with a UNIX-based installation of
FLEXnet requires a copy of the PTC vendor daemon that runs under UNIX.
Installing Mathcad
Installing Mathcad
Installing Internet Explorer and Adobe Reader
Installing Mathcad
Installing Mathcad on a Workstation
When you place the Mathcad CD into a CD-ROM drive, the Installation Wizard should
automatically start. If it does not:
1. Click Start > Run in Windows and browse to your CD-ROM drive.
2. Select the file setup.exe.
3. Click Open in the Browse dialog, then OK in the Run dialog.
At this point, the Installation Wizard should start.
Note The installation program does not uninstall any detected previous version(s) of Mathcad.
Note Only persons with administrative privileges can install Mathcad onto a workstation. If you lack
administrator privileges for the workstation onto which you are installing, or are not sure you
have administrator privileges, contact your system administrator.
Before installing Mathcad, make sure that all of the required system components are
installed. (See Mathcad Requirements on page 5.) You can install any missing system
components from the PreReq folder on the Mathcad CD.
If all of the required system components have been installed, click the Mathcad 14
button to install Mathcad.
Note Unlike previous versions of Mathcad, online Help and Mathcad Resources are installed in
separate processes with individual entries in the Add/Remove Programs control panel. Users
must uninstall Help and the Resources separately.
7
Installing Mathcad / 8
Figure 1: Specify the Product Code on the Customer Information page. The
User Name and Organization should be drawn automatically from the
operating system. If multiple users use the workstation, make sure that
Mathcad is installed for Anyone who uses this computer (all users).
4. On the Destination Folder page, confirm that the given installation destination is
correct. If you want to install Mathcad to a different folder, click Change, specify
the location to which you want to install, and click OK. Click Next.
5. Click Install to install Mathcad according to your selections. If you change your
mind, click Back until you reach the appropriate page in the wizard, edit your
choice, and click Next until you return to this last page, verifying that any choices
along the way have not changed.
6. The installer now copies the appropriate files to the installation folder. As the
installation proceeds, the installer displays its progress on-screen. The Installation
Wizard automatically launches the installation programs for both online Help and
the Resource Center.
7. Near the end of the installation, the progress bar stops and the installer presents the
Mathcad License Setup wizard. Specify the name of your license server or the
location and name of your locked or home-use license file. For information on the
different types of license files, see Obtaining a License File on page 12.
Note To access the Mathcad License Setup wizard at any time, type mathcad /license at a
command prompt. This allows you to change the license server or file used by the workstation.
8. Once the Installation Wizard notifies you that it has completed the installation of
Mathcad, click Finish to quit the installation program.
Installing Mathcad / 9
Note At this time, the silent installers do not support installation locations involving non-ASCII
characters. Any path specified in the silent installation should use ASCII characters only.
entries blank, Mathcad defaults to locations within the program folder. In each case,
the path specified must include the file name, or else Help and the Mathcad Resources
will not work properly when opened from either the Resources toolbar or the Help
menu.
Note The Mathcad silent installer does not install either Help or the Mathcad Resources to the
locations specified by the following variables. If you specify an alternate value for the following
variables, you must also edit SilentHelp.bat and/or SilentRC.bat to install Help
and/or the Resources to the corresponding folder.
HELPDIR Enter the full path of the directory for Mathcad Help, including the
Authors Reference and Developers Reference. If no directory is specified, the
installer defaults to the doc folder in the path specified by the INSTALLDIR
variable.
HBKLOCATION Specify the location of the Mathcad Resources E-book file
(qsheet.hbk). If left blank, Mathcad will search for qsheet.hbk in the path
specified by the INSTALLDIR variable.
MYSITEDESTINATION The HTML page opened in the Resources window
when you select My Site on the Resources Toolbar. If no alternate location is
specified, Mathcad appends qsheet\html\ehome.html to the path specified by
the INSTALLDIR variable.
HOMEPAGE Points to the opening page of the Mathcad Resources
(map.xmcd). If left blank, Mathcad appends qsheet\map.xmcd to the path
specified by the INSTALLDIR variable.
The following can be set in SilentHelp.bat for a silent installation:
HELPLOGFILE Specify the full path, including file name, of the log file
reporting the status of your silent installation. By default, the installer creates a file
named Mcad14_install_help_log.txt in the folder from which you run the
batch file.
HELP_INSTALL_DIR Specify the installation location for the Mathcad
Documentation: Help, the Authors Reference and Developers Reference, and the
Mathcad Users Guide. The installer defaults to:
C:\Program Files\Mathcad\Mathcad 14\doc\.
The following can be set in SilentRC.bat for a silent installation:
RCLOGFILE Specify the full path, including file name, of the log file reporting
the status of your silent installation. By default, the installer creates a file named
Mcad14_install_rc_log.txt in the folder from which you run the batch file.
RC_INSTALL_DIR Specify the installation location for the Mathcad
Resources (qsheet.hbk and the qsheet folder). The installer defaults to:
C:\Program Files\Mathcad\Mathcad 14\.
All values must be delimited by quotation marks, with each quotation mark preceded
by a backslash. Unspecified variables (those left in the batch file as an empty string,
written as \\) assume the default values in each case, except for the Product Code,
which is required.
Installing Mathcad / 11
The batch files contain detailed instructions for customizing your silent installation.
Executing a Silent Installation
To perform a silent installation of Mathcad:
1. Copy the contents of the Mathcad folder from the Mathcad CD to a shared network
volume.
2. Modify SilentInstall.bat as necessary. If necessary, also modify
SilentHelp.bat and SilentRC.bat.
Note If you run the silent installation from a shared network location, specify a unique log file for each
user. Otherwise, only the log file from the last attempted installation is preserved. One
suggestion is to save the log file to the installation folder; for example C:\Program
Files\Mathcad\Mathcad 14\Mcad14_install_log.txt.
License Management
About License Management
When launched, Mathcad searches for an available license. If available, this license is
allocated to the workstation, and Mathcad opens for use. If a license is not available,
Mathcad notifies the user with an error message and shuts down. Mathcad requires use
of a license server for floating and registered-user licenses. Locked license files reside
on the workstation, and do not require a license server.
If users with server-based licenses wish to run Mathcad while disconnected from your
network for example, on a laptop while out of the office they can borrow a license
from the server for a limited amount of time. This borrowed license is stored on the
workstation, so Mathcad does not need to access the license server at start up. More
information on borrowing licenses is available in Borrowing Licenses on page 24.
In addition, purchasing a volume license for Mathcad entitles you to home-use licenses
as part of your purchase. Unlike borrowed licenses, which are not available to other
workstations while borrowed, home-use licenses supplement your license purchase.
Note If you have a locked or home-use license file, you do not need to install and configure FLEXnet.
Save the license file generated for you to the LICENSES folder of the Mathcad installation on the
appropriate workstation. Specify the location and name of this file when prompted by the
Mathcad License Setup wizard.
12
License Management / 13
Support Web site to request a new license file. Home-use licenses are available only
with a purchase of floating, locked, or registered-user licenses.
Note The use of non-ASCII characters in the path of your license file may cause an error. When saving
your license file, use only ASCII characters in folder names.
To obtain your license files, use your PTC user account to log on to the PTC Customer
Service Web site at http://www.ptc.com/olm/index.htm. If you do not have a PTC
user account, follow the instructions on the Web site to create one. Once you log in,
click Configure New Software, in the License Management section, and enter your
Sales Order Number to begin your request. You must provide the CPU ID for each
server or workstation in your request.
To determine the CPU ID for a server or workstation:
1. Type ipconfig /all at a command prompt, and press [Enter].
2. Find the 12-digit number labelled Physical Address, in the form XX-XX-XX-
XX-XX-XX. Enter this number as the CPU ID.
Note The CPU ID, or MAC address, identifies the active network adapter on a workstation. Mathcad
attempts to match the CPU ID in a locked or home-use license file against all detected MAC
addresses at startup. As long as any available address matches, Mathcad launches.
After you complete your request, your licenses will arrive by email, as attachment files.
To use your licenses:
If you ordered floating or registered-user licenses, save the license file to your
server. Then, install FLEXnet from the Mathcad CD, following the instructions in
the section Installing the License Service on page 13.
If you ordered locked or home-use licenses, distribute the license files to the
corresponding workstations. Launch Mathcad on each workstation, and point the
application to the license file in the Mathcad License Setup wizard.
If you intend to serve licenses from multiple servers, see Using Multiple License
Servers on page 21 before you obtain your license files.
Transferring A License File to Anther Server or Workstation
To transfer a license file to another computer, you must de-allocate a current license,
then request the license file for the new computer. To do so, use the Reconfigure
Software Licenses option available at the PTC Customer Support Web site.
Note Obtain a license file before you install FLEXnet, as the installer validates your license file.
License Management / 14
Tip You can also browse to the Flex10 folder on the Mathcad CD and run SETUP.EXE.
Figure 2: For most users, the PTC License Server install will suffice. Click
Other Products to customize your installation options.
License Management / 15
To customize your installation, click Other Products, then the resulting Custom
Installer option. In most cases, the PTC License Server installation should
suffice.
Note If you selected the Custom Installer option in Step 5, skip to Step 8.
6. Either accept the default installation location, or specify a new location by clicking
the folder button to the right of the Destination Folder drop-down, then specifying
the location of your license in the License File text field. You can instead click
the folder button next to the text field to browse to the license file (see Figure 3).
Do not specify a license file containing licenses from both PTC and other software
vendors, as the installer considers combined licenses to be invalid.
Figure 3: Specify the Destination Folder for the installation, and the license
file to validate. You can also opt to configure the startup options for the license
service (Step 7).
License Management / 16
Note When the license service (lmgrd.exe) runs, it uses C:\FLEXlm\ to store temp files related to
the licensing services. To avoid possible errors, do not install to this folder.
7. To configure the license service to start automatically the next time you reboot the
server, click FLEXnet Server Options and enable Start on Reboot. Use the
Command Line Arguments text field to specify any desired startup parameters.
For information on the allowed parameters, click Command Line Arguments to
open the FLEXnet Licensing End User Guide.
Note If you selected the PTC License Server option in Step 5, proceed to Step 9.
8. Either accept the default installation location or specify a new location by clicking
the folder button to the right of the Destination Folder drop-down, then choose
which features you wish to install (see Figure 4).
Figure 4: Specify the Destination Folder for the installation, along with the
specific features to install.
License Management / 17
Note If your organization already uses FLEXnet or FLEXlm to meter another application, read
Licensing Both Mathcad and Other Applications on page 21 before proceeding.
If you require more detailed information about the status of your licenses or license
server, you can perform a status enquiry, using the PTC License Server tools
(lmtools.exe):
1. Launch the PTC License Server tools from Programs > PTC > PTC License
Server in the Start menu.
2. On the Service/License File tab, select FLEXlm server for PTC (see Figure 5).
Figure 5: Select the FLEXlm server for PTC service to check the status of
Mathcad licenses.
3. Click Perform Status Enquiry, located on the Server Status tab. If the service has
been configured properly, you should see a status report that shows:
The name of the license server.
The port number used by the license service.
The license file in use.
The status of the server and the PTC vendor daemon.
The number of licenses in use, and the workstation to which they are assigned.
The report indicates borrowed licenses with the word linger, followed by the
length of the borrow period, in seconds, in parentheses after the workstation
information.
4. If your status report does not return the correct information, verify that the server
has been configured properly. On the Config Services tab (see Figure 6):
Select FLEXlm server for PTC in the Service Name drop-down box.
License Management / 19
Confirm the path to the licensing service daemon (lmgrd.exe, located in the
i486_nt\obj folder of your FLEXnet installation).
Confirm the path to the license file (license.dat, located in the licensing
folder of your FLEXnet installation). If this information is incorrect, run the
ptcsetup utility to point the license service to the proper license file.
Confirm the path to the log file used by the PTC license management service.
The default is ptclmgrd.log, located in the licensing folder of your
FLEXnet installation. If your license server hosts multiple services, you should
create an individual log for each service.
Verify that Use Services is selected.
Double-check that paths to files are absolute and include the name of the file.
Figure 6: Use the Config Services tab to confirm the license service daemon,
license, and log file used by the FLEXlm server for PTC service.
If you purchased a 5-seat floating Mathcad license, you could edit the options file to
add the lines:
INCLUDE MATHCAD HOST Eng1
INCLUDE MATHCAD HOST Eng2
INCLUDE MATHCAD HOST Eng3
INCLUDE MATHCAD HOST Eng4
INCLUDE MATHCAD HOST Eng5
where MATHCAD is the metered application, or feature, and Eng1, Eng2, ... are the
specific workstations allowed to use Mathcad. If you purchased two licenses for the
Signal Processing Extension Pack, and wanted to deny them specifically to Eng2 and
Eng3, you would add the following lines to the options file:
EXCLUDE 256 HOST Eng2
EXCLUDE 256 HOST Eng3
where 256 is the feature name for the Signal Processing Extension Pack. Both the
workstation and feature names are case-sensitive.
Supported FLEXnet Keywords
The vendor daemon used by Mathcad supports the full set of FLEXnet options file
keywords. The following keywords may prove useful in administering licenses:
BORROW_LOWWATER specifies the number of licenses that cannot be
borrowed.
DEBUGLOG the log file used by the vendor daemon for debug information.
EXCLUDE prevents access to the specified feature.
EXCLUDE_BORROW prevents the borrowing of a license for the specified
feature.
EXCLUDEALL prevents access to all features served by the vendor daemon.
GROUP defines a group of users for use with any options.
HOST_GROUP defines a group of hosts for use with any options.
INCLUDE allows use of the specified feature, if a valid license is available.
INCLUDE_BORROW allows a user to borrow licenses.
INCLUDEALL allows a user to use all features served by the vendor
daemon.
MAX limits usage for a particular feature or group, prioritizing usage among
users.
NOLOG turns off logging of certain items in the debug log file.
REPORTLOG specifies the report log file to be written. This file can be read
by SAMreport, available from the Macrovision Corporation.
RESERVE reserves licenses for the specified feature for the specified user
or group.
TIMEOUTALL allows the server to reclaim inactive licenses after a
specified number of seconds.
License Management / 21
More information on using these and other keywords is available in the FLEXnet
documentation; see Other Sources of Information on page 2.
Customizing a Registered-user License
If you purchased a registered-user license, you are bound by the license agreement to
restrict Mathcad usage to the proper number of workstations. One way to do this is with
the RESERVE keyword:
RESERVE 1 MATHCAD HOST Eng1
This would reserve one Mathcad license exclusively for the workstation Eng1. You can
also create a group of user names or host names, using the GROUP or HOST_GROUP
keywords.
Licensing Both Mathcad and Other Applications
If you are already serving licenses for other applications with FLEXlm or FLEXnet for
Windows, you can manage licenses for all your applications from one server. Install
FLEXnet from the Mathcad CD to the server. Once installation completes, FLEXnet
displays all licenses served from the server. When configuring FLEXnet to meter
Mathcad, make sure the Mathcad license service is selected on the Config Services tab
(see Step 4 on page 18).
Tip To prevent name conflicts between Mathcad license files and those for other applications, save
your Mathcad license files to a folder named Mathcad within your existing license folder.
Note Do not merge your Mathcad license with licenses of other software vendors into a combined
license file for use on the same license server. Although the server can handle combined license
files, license files from PTC use a vendor-specific HOSTID, which makes them incompatible
with license files using a FLEXnet HOSTID.
2. Install FLEXnet on each license server. When prompted for the license file, use the
file that corresponds to that server.
3. When you install Mathcad, point each installation to the proper license server. If
you install Mathcad silently, create a version of SilentInstall.bat customized
for each license server (see Silently Installing Mathcad on page 9).
You can instead configure each workstation to query each server in a predetermined
order, until Mathcad obtains a license; see Configuring Workstations to Query
Multiple Servers on page 22.
To administer licenses on a triad server:
1. Request your license file, following the instructions in "Obtaining a License File"
on page 12. Provide information for each server in the triad and designate which
server will act as the master.
2. When your license files arrive, copy them to the appropriate server. Edit the license
file before you install each of the license servers, specifying the hostname of each
of the triad partners. If this is not done, the license files will be different on each of
the three triad partners, and the license server will not start.
3. Install FLEXnet on each triad server.
4. When prompted for a server name during Mathcad installation (or editing
SilentInstall.bat), use the same server you designated as the master in
Step 1.
Configuring Workstations to Query Multiple Servers
On each workstation, define an environment variable (using either the set or setenv
commands, or the System control panel) called LM_LICENSE_FILE, listing the servers
in the order they should be queried. For example:
7788@Server1;7788@Server2[; ...], or
7788@Server2;7788@Server1[; ...].
where Server1 and Server2 are your license servers, and 7788 is the port the server uses
to administer Mathcad licenses. The port specified in LM_LICENSE_FILE must be the
same one listed in your license file.
Each workstation queries servers in the order listed when checking out a license. If a
server is unavailable, the workstation queries the next server on the list, until it either
checks out a license or runs out of servers.
If you are serving licenses for multiple applications from the same server, you can use
the environment variable [VENDOR]_LICENSE_FILE instead of LM_LICENSE_FILE.
By doing so, you can specify exactly which servers each application should query,
rather than forcing each application to query each server, regardless of whether that
server has the appropriate license. For example, if you wanted to use two servers to
serve licenses for another application, but only one of those servers would serve
Mathcad licenses, you would set the following two environment variables:
PTC_LICENSE_FILE=7788@Server1
[OTHERAPP]_LICENSE_FILE=27000@Server1;27000@Server2
License Management / 23
This prevents Mathcad from querying Server2 for a license, since Server2 has no
Mathcad licenses.
Note This error may also occur if the FLEXnet daemon cannot create its temporary directory
(C:\FLEXlm), or any of the files within it.
Borrowing Licenses
If you normally access a FLEXnet server for a license when you run Mathcad, but
occasionally need to use Mathcad without network access, you can borrow a license
from the server for use while disconnected from the network. Your license file specifies
the maximum allowed borrowing period.
License Management / 25
Borrowed licenses are checked out from the available pool until they expire, regardless
of whether the workstation using the borrowed license is running Mathcad. If you have
a pool of 25 floating licenses and borrow one, the workstations on your network can
only use the remaining 24 licenses until the borrowed license returns to the pool.
Note Borrowing a registered-user license also reduces the overall number of licenses. However, since
the license is already allocated to the workstation, it does not reduce the number of licenses
available to other users.
End-users can borrow a license from within Mathcad by going to the Tools menu,
selecting License > Borrow. Mathcad automatically selects the maximum borrow
period. To borrow a license for a shorter duration, select a different return date. Click
OK to borrow the license.
Borrowed licenses appear in the status report with the text (linger: xxxxxx) appended
to the end, where the six-digit number xxxxxx indicates the duration of the borrowing
period, in seconds. To generate a status report, read the section Using the License
Service Utilities on page 17.