Mcad InstallGuide PDF
Mcad InstallGuide PDF
Mcad InstallGuide PDF
0
Installation and Administration
Guide
December 2010
Contents
1
About This Guide
http://www.ptc.com/appserver/cs/doc/refdoc.jsp
Pro/ENGINEER Wildfire 5.0 Installation and Administration GuideIncludes
additional information about installing and using FLEXnet, including
information on using FLEXnet on platforms other than Windows.
http://www.ptc.com/appserver/cs/doc/refdoc.jsp
Technical Support
Contact PTC Technical Support if you encounter problems using the software.
Contact information for PTC Technical Support is available on the PTC Customer
Support Site.
http://www.ptc.com/support/
You must have a Service Contract Number (SCN) to receive technical support. If
you do not have an SCN, contact PTC using the instructions in the PTC Customer
Service Guide under Contacting Technical Support.
http://www.ptc.com/support/cs_guide/cs_guide.pdf
Comments
We welcome your suggestions and comments on our documentation. Please
submit your feedback to mathcad-documentation@ptc.com.
When you submit feedback, remember to include the version number and name of
the documentation piece with your comments.
Types of Installations
GraphicalUse the PTC.Setup installation utility to graphically install
Mathcad resources. You can select between Typical installation and Custom
installation.
SilentUse a customized installation package (MSI) to drive the installation
automatically.
Order of Installation
You can elect to perform either the Mathcad install or the FLEXnet install first. In
addition, you can specify a license file or server as part of a silent install.
System Requirements
Pentium-compatible 2xP4 2.4GHz or later
Windows XP Home or Professional Edition SP3, Windows XP Professional
x64 Edition, Windows Vista x32 or x64 Edition, Windows 7 x32 or x64
Edition; Windows XP SP3, XP-x64 SP3, Vista, or Windows 7 recommended
Windows Installer 3.0 or later
Microsoft .NET Framework 3.5 SP1 or later
Note
On Windows 7 client computers, Micsrosoft .NET Framework 3.5 SP1 is
enabled by default on client computers. On Windows 7 servers, this feature
is disabled and you must enable it through Control Panel > Programs > Turn
Windows features on or off.
512 MB of RAM
1.6 GB of hard disk space (400 MB for Mathcad with one language installed,
250 MB for prerequisites, 1.2 GB temporary space during installation)
CD-ROM or DVD drive (not required for silent installations) and Internet
connection (required for license acquisition)
SVGA or later graphics card, 1024 x 768, 32-bit color monitor
Keyboard and mouse or compatible pointing device
Internet Explorer 6.0 and Adobe Reader 5.0 or later are required for full
functionality of the Help system.
Download the software from Microsoft or Adobe, respectively:
http://www.microsoft.com/windows/products/winfamily/ie/default.mspx
http://www.adobe.com/products/acrobat/
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 is included on the CD.
License Management
To serve floating licenses and registered-user licenses, you must use FLEXnet
10.8.6.2 or later. FLEXnet 10.8.6.2 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.
To use Mathcad, you need the appropriate license file. Mathcad is sold with either
floating, locked, trial, or registered-user volume licenses, which must be renewed
on an annual basis.
Floating licenses can be used by any workstation on your network.
Locked licenses can only be used on specified workstations.
Trial licenses can be used by any workstations on your network, and will
expire after 30 days.
Registered-users are administered from a license server, but always allocated
to a particular workstation, regardless of whether the workstation is running
Mathcad at the time.
If, and only if, your installation is active on Maintenance Support, you are entitled
to home-use licenses. For more information refer to the PTC Maintenance Support
Policies on the Customer Support Site.
To request a license, know the CPU ID of the computer to which you intend to
assign the license. In most cases, the CPU ID will be the MAC address of the
active network adapter. For more information on types of licenses and the CPU
ID, see Obtaining a License on page 21.
Licenses must be renewed on a yearly basis on the PTC Customer Support site, or
by contacting your local support office.
Note
For more information on License Management refer to License Management on
page 19.
10
2
Installing Mathcad
11
12
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.
13
to
Note
Refer to the Windchill ProductPoint Installation and Administrator's Guide
for information about ProductPoint.
3. Proceed to finalize the installation.
Finalizing the Installation
1. Click Install. If the installation is silent, an MSI file is created when you
click Install.
2. When the installation is complete, click Exit.
Note
You can register Mathcad for use with Windchill Workgroup Manager.
Installing Mathcad
15
to
Note
Refer to the Windchill ProductPoint Installation and Administrator's Guide
for information about ProductPoint.
3. Proceed to finalize the installation
Finalizing the Installation
1. Click Install. If the installation is silent, an MSI file is created when you
click Install.
2. When the installation is complete, click Exit.
16
Installing Mathcad
17
3
License Management
19
20
If you have server-based licenses and want to run Mathcad while disconnected
from your network for example, on a laptop while out of the office
temporarily borrow a license from the server. This borrowed license is stored on
the workstation, so Mathcad does not need to access the license server at start up.
Note
If you have a locked or home-use license file, you do not need to install and
configure FLEXnet. Save your license file to the License folder of the Mathcad
installation on the appropriate workstation.
Obtaining a License
This section provides step-by-step instructions on how to obtain a trial license, an
enterprise license, and the license file.
License Management
21
Educational Professor
6. Click Next and follow the on-screen instructions. For more information on
how to obtain a license file, proceed to Obtaining a License File on page 22
and return to Mathcad.
7. To set up your purchased license, in the License tab, under License
Configuration continue as follows:
For enterprise licenses, type the server hostname and port number, or
provide the license path.
For individual licenses, provide the license path.
8. Click Apply and Close.
22
If you intend to serve licenses from multiple servers, see Using Multiple License
Servers on page 28 before you obtain your license files.
License Management
23
7. Click Install. You can click Cancel to stop the installation, if necessary. If
installation fails, check the log file ptcsetup.log, in the temp directory.
8. When installation completes, the License Service starts automatically. Click
Exit to end installation.
lmutil
ptcflush
ptchostid
ptcsetup
ptcshutdown
ptcstartserver
ptcstatus
24
Note
If your organization already uses FLEXnet or FLEXlm to meter another
application, read Licensing Both Mathcad and Other Applications on page 28
before proceeding.
Changing Your License File
If you receive a new license file, run the ptcsetup utility (ptcsetup.bat).
When prompted, specify the new license file. The utility stops the current license
server process, replaces the existing license file with the new one, and restarts the
license server. This utility does not reinstall FLEXnet.
Checking the HOSTID of A Computer
To check the HOSTID of a computer, run the ptchostid utility
(ptchostid.bat). This utility determines the HOSTID for a computer and
returns it in the desired format. Use this HOSTID when you request a license file.
Releasing Licenses
If you experience network disruptions, you may need to reclaim all licenses on
the server and then allow users to reobtain them. To reclaim any licenses in-use,
run the ptcflush utility (ptcflush.bat). You can run ptcflush only once
every twelve minutes.
For a list of arguments allowed by ptcflush, run the utility from a command
prompt. Values for all of the arguments can be obtained with the ptcstatus
utility.
Stopping and Restarting the License Server Process
Occasionally, you may need to stop the license server process for administrative
maintenance. To do so, run the ptcshutdown utility (ptcshutdown.bat).
After you have completed the maintenance operation, you can restart the license
server process with the ptcstartserver utility (ptcstartserver.bat).
Checking the Status of Your Licenses
To check the number of floating or registered-user licenses in use, run the
ptcstatus utility (ptcstatus.bat). You can execute this utility in either
normal or verbose mode (ptcstatus -v). Verbose mode provides additional
information about your licenses, such as their version number and expiration date.
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. Start 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.
License Management
25
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:
License server name.
Port number used by the license service.
License file in use.
Status of the server and the PTC vendor daemon.
Number of licenses in use and their assigned workstation. The report
indicates borrowed licenses with the word linger, followed by the length of
the borrowing period in seconds and in parentheses after the workstation
information.
4. If the status report is incorrect, verify that the server has been configured
properly. On the Config Services tab:
Click FLEXlm server for PTC in the Service Name list.
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 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.
Editing the Options File
With the options file created, you can tailor the installation to your particular
environment. The default options file contains two lines:
REPORTLOG +"C:\Program Files\flexnet\licensing\ptcreport.log"
TIMEOUTALL 7200
If you purchased a 5-seat floating Mathcad license, you can edit the options file to
add the lines:
INCLUDE
INCLUDE
INCLUDE
INCLUDE
INCLUDE
MATHCAD
MATHCAD
MATHCAD
MATHCAD
MATHCAD
HOST
HOST
HOST
HOST
HOST
Eng1
Eng2
Eng3
Eng4
Eng5
MATHCAD is the metered application and Eng1, Eng2, ... are the specific
workstations allowed to use Mathcad.
26
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.
License Management
27
28
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 29.
To administer licenses on a triad server:
1. Request your license file, following the instructions in Obtaining a Trial
License File on page 21. 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 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[; ...].
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
This prevents Mathcad from querying Server2 for a license, since Server2
has no Mathcad licenses.
License Management
29
Tip
When using [VENDOR]_LICENSE_FILE, remember that FLEXnet checks
LM_LICENSE_FILE before checking [VENDOR]_LICENSE_FILE. If you use
both variables, LM_LICENSE_FILE should only list servers with licenses for all
metered applications. Querying extraneous servers listed in LM_LICENSE_FILE
slows Mathcad down at startup.
30
You may also have multiple license server processes running on the server.
Consolidate all services under one license server process, or move the Mathcad
license service to another server.
Desired vendor daemon is down (-97, 121)
Causes: The vendor daemon is missing or in the wrong location, or you made a
change to a Cadence license dongle on the Mathcad server metering.
Solution: Check that the vendor daemon is located in the same folder as the
FLEXnet daemon, lmgrd.exe; if it is not, find the file on the server and move it
to this folder. If you made a change to a Cadence license dongle, reboot the server.
Note
This error may also occur if the FLEXnet daemon cannot create its temporary
directory (C:\FLEXlm), or any of the files within it.
Invalid host (-9)
Causes: The volume serial number in your single-user license file is incorrect.
Solution: Request a replacement license file.
USER/HOST on EXCLUDE list for feature (-38, 147)
Causes: Comment lines in the options file (ptc.opt) are erroneously being
interpreted as commands.
Solution: Delete the comment lines.
User based license has no specified users (-84)
Causes: The options file is missing, the hostname in the options file is not set
properly, or you have more allowed users than licenses for a particular feature.
Solution: Confirm that the options file is in the same folder as your license file and
that the hostname is set to the Mathcad server metering.
If you have more allowed users than available licenses, either delete the appropriate
number of INCLUDE lines in the options file, or contact PTC or your distributor to
purchase extra licenses.
Unable to obtain a license on Windows XP
Causes: Mathcad was unable to locate the FLEXnet server. If you are running
Mathcad on Windows XP, you may have a firewall enabled, which is interfering
with communication to and from the server.
Solution: Disable the firewall, or allow an exception for the Mathcad executable
(mathcad.exe). If this does not resolve the issue, see License server machine is
down or not running (-96, 7) for additional guidance.
License Management
31
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 borrowing period.
Note
A license can only be borrowed from within Mathcad.
1. To borrow a license, use your FLEXlm floating license to open Mathcad.
2. Click the Mathcad Button
, and then click Mathcad Options. The Mathcad
Options dialog box opens.
3. Click the Licensing tab and then click Borrow.
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.
Mathcad automatically selects the maximum borrowing 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 24.
32