Installation of Windchill Modeler
Installation of Windchill Modeler
Installation of Windchill Modeler
5
Installation Guide
Copyright © 2022 PTC Inc. and/or Its Subsidiary Companies. All Rights
Reserved.
User and training guides and related documentation from PTC Inc. and its
subsidiary companies (collectively "PTC") are subject to the copyright laws of the
United States and other countries and are provided under a license agreement that
restricts copying, disclosure, and use of such documentation. PTC hereby grants to
the licensed software 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. Training materials may not be copied without
the express written consent of 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.
PTC regards software piracy as the crime it is, and we view offenders accordingly.
We do not tolerate the piracy of PTC software products, and we pursue (both
civilly and criminally) those who do so using all legal means available, including
public and private surveillance resources. As part of these efforts, PTC uses data
monitoring and scouring technologies to obtain and transmit data on users of
illegal copies of our software. This data collection is not performed on users of
legally licensed software from PTC and its authorized distributors. If you are
using an illegal copy of our software and do not consent to the collection and
transmission of such data (including to the United States), cease using the illegal
version, and contact PTC to obtain a legally licensed copy.
Important Copyright, Trademark, Patent, and Licensing Information: See
the About Box, or copyright notice, of your PTC software.
UNITED STATES GOVERNMENT RIGHTS
PTC software products and software documentation are “commercial items” as
that term is defined at 48 C.F.R. 2.101. Pursuant to Federal Acquisition Regulation
(FAR) 12.212 (a)-(b) (Computer Software) (MAY 2014) for civilian agencies or
2
the Defense Federal Acquisition Regulation Supplement (DFARS) at 227.7202-1
(a) (Policy) and 227.7202-3 (a) (Rights in commercial computer software or
commercial computer software documentation) (FEB 2014) for the Department of
Defense, PTC software products and software documentation are provided to the
U.S. Government under the PTC commercial license agreement. Use, duplication
or disclosure by the U.S. Government is subject solely to the terms and conditions
set forth in the applicable PTC software license agreement.
PTC Inc., 121 Seaport Blvd, Boston, MA 02210 USA
3
Contents
Getting Started............................................................................................................8
Before You Begin..................................................................................................9
Overview of this Installation Guide .........................................................................9
Choosing your Deployment Type .........................................................................10
Server Only, Client Only, or Standalone Installations..............................................12
Server Only Installation .......................................................................................13
Client Only Installation ........................................................................................13
Standalone Installation........................................................................................13
Environment Requirements for Each Installation Type ...........................................14
Default SQL Server Configuration ........................................................................15
Hardware Requirements .....................................................................................18
Administrator Rights Required for Installing Modeler..............................................20
Installation Components......................................................................................22
Installation Configurations ...................................................................................24
Installing Modeler for a Project Team....................................................................28
Installing Modeler Through a Customized MSI File ................................................30
Renaming a Modeler Computer or its Domain After Installation ..............................33
Managing Modeler and Web Interface Security .....................................................34
Working Across Sites.................................................................................................39
Overview of Working Across Sites........................................................................40
Direct Access of a Remote Model from Modeler ....................................................42
Direct Access of a Remote Model Through Microsoft Remote Desktop Services
or Citrix MetaFrame.........................................................................................43
Local Editing of Packages that are Imported from a Sandbox of a Remote
Model .............................................................................................................45
Local Editing of Packages that are Imported from a Remote Model and then
Protected........................................................................................................47
Local Editing of Models that are Stored in an Integrated CM tool ............................49
Local Editing of Models that are Stored in Shared Folders......................................51
Collaboration when working offline .......................................................................55
Planning for Windchill Modeler Installation ..................................................................58
Considerations for a New Installation Based on Deployment Type ..........................59
Choosing your Deployment Type .........................................................................59
Individual User Deployment Checklist ..................................................................61
Production — Workgroup Deployment Checklist ...................................................63
Production — Enterprise Deployment Checklist ....................................................68
Installing Windchill Modeler........................................................................................74
Installing Modeler ...............................................................................................75
Standalone Installation........................................................................................75
Contents 5
Setting up IBM Rational ClearCase .................................................................... 189
Setting up PTC Integrity Lifecycle Manager......................................................... 189
Setting up Serena Dimensions........................................................................... 192
Setting up Serena Version Manager ................................................................... 194
Setting up Telelogic SYNERGY/CM ................................................................... 194
Uninstalling Modeler ................................................................................................ 199
Uninstalling Modeler ......................................................................................... 200
Appendix 1: Configuration Management Use Cases .................................................. 202
Overview of Configuration Management Use Cases ............................................ 203
Configuration Management Use Cases .............................................................. 205
Agile Modeling Using a Multi-User Model............................................................ 206
Versioning Models Quickly and Compactly.......................................................... 207
Controlling Access Using Package Protection and Access Rights......................... 209
Differencing Models for Review Purposes........................................................... 211
Model Import and Export Between Databases and CM ........................................ 213
Change Tracking in a Multi-User Model .............................................................. 214
Breaking Large Projects into Subsystem and Component Specific Models ............ 218
Saving a Database for an External CM Baseline ................................................. 219
Sharing Components and Packages Between Teams and CM ............................. 220
Developer Isolation in Support of Code and Debug Cycles................................... 222
Parallel Development of a Model for the Current and Next Release ...................... 226
Team Isolation in Support of Product Variants ..................................................... 229
Working on Parts of the Model Remotely ............................................................ 229
Appendix 2: Useful Information................................................................................. 231
Adding a certificate to SQL Server ..................................................................... 232
Making a Standalone Installation Work when Disconnected from the
Network ........................................................................................................ 233
Checking You Are Logged on to Windows with Administrator Rights ..................... 234
Setting up Trusted Domains .............................................................................. 235
Disabling Virus Checkers During Installation ....................................................... 236
Migrating Models after Updating PTC Profiles ..................................................... 236
Appendix 3: Troubleshooting.................................................................................... 237
Problems Experienced When Installing the Software ........................................... 238
Problems Experienced When Using the Product ................................................. 239
Technical Support
Contact PTC Technical Support through the PTC website or by phone if you
encounter problems using this product or the product documentation. The PTC
eSupport portal provides the resources and tools to support your implementation:
https://support.ptc.com/appserver/cs/portal/. For complete support details, see the
PTC Customer Support Guide. You must have a Service Contract Number (SCN)
before you can receive technical support. If you do not know your SCN, see
“Preparing to contact TS” on the Processes tab of the PTC Customer Support
Guide. This topic describes how to locate your SCN.
7
1
Getting Started
Before You Begin ........................................................................................................9
Overview of this Installation Guide ................................................................................9
Choosing your Deployment Type ................................................................................10
Server Only, Client Only, or Standalone Installations ....................................................12
Server Only Installation..............................................................................................13
Client Only Installation ...............................................................................................13
Standalone Installation ..............................................................................................13
Environment Requirements for Each Installation Type..................................................14
Default SQL Server Configuration...............................................................................15
Hardware Requirements ............................................................................................18
Administrator Rights Required for Installing Modeler ....................................................20
Installation Components ............................................................................................22
Installation Configurations..........................................................................................24
Installing Modeler for a Project Team ..........................................................................28
Installing Modeler Through a Customized MSI File.......................................................30
Renaming a Modeler Computer or its Domain After Installation .....................................33
Managing Modeler and Web Interface Security............................................................34
Getting Started 9
Custom setup icons
When selecting features to install, the icon next to the feature name indicates the
install state of the feature. Click the icon to drop down the install state menu for
each feature.
This means the feature will be
completely installed to the local hard
drive.
This means the feature will have some
subfeatures installed to the local hard
drive.
This means the feature will not be
installed.
Getting Started 11
Deployment Type Description Installation Type
Click here to view the
Production – Enterprise
Deployment Checklist on
page 68.
Client Only
Standalone
Standalone Installation
A Standalone installation is intended for single user use only.
A Standalone installation of Modeler installs the server software required for
setting up and managing Modeler Databases that will be accessed only from that
computer, and installs the client software required for working with models, that
is, the Modeler application and add-ins.
Perform a Standalone installation of Modeler when the main purpose of the
installation is as a client, but you require the server software to work locally with
models as a single user.
Getting Started 13
Note
When setting access permissions for Models stored on a Standalone
installation computer, only local users are available for selection. A
Standalone installation sets up Modeler to work with a local license.
If you want the client and server software to be installed on a computer, and also
want to be able to set access permissions for users on other computers, perform a
Server Only installation and on the Custom Setup page of the installation
program, choose to install the Modeler Model Editor.
Tip: On the Custom Setup page, expand the Modeler Model Editor entry and
choose not to install any add-ins you do not require (click the entry, and then click
'This feature will not be available').
Note
For a complete detailed list of environment requirements for each installation
type, see Installing Modeler on page 75.
Note
This topic contains and refers to SQL Server 2017–specific information. If you
have installed a different SQL Server version, you must search for your
version-specific information at https://docs.microsoft.com.
Getting Started 15
The Windchill Modeler installation program sets up a SQL Server 2017 Express
instance named MODELER as part of Standalone and Server Only installations by
default. SQL Server provides database storage and management services. In
Model Explorer, databases are used to store, organize, and distribute models. For a
list of all supported versions of SQL Server, see the Release Notes document.
The following table outlines SQL Server system and Windchill Modeler databases
following an installation:
Database Description
System Databases – master, msdb, SQL Server System databases are
model, and tempdb hidden by default in Model Explorer.
For more information, see the following
SQL Server help topic:
System Databases
https://docs.microsoft.com/sql/
relational-databases/databases/system-
databases?view=sql-server-2017
StudioRestService Installed as part of Web Interface.
Contains Web Interface user account
information.
Examples Optional component—Contains the
Windchill Modeler Example Models.
Models Optional component—An empty
database that’s used to store Models.
Note
Your SQL Server instance may contain additional databases that are used by
programs and services other than Windchill Modeler.
The SQL Server Express Edition 2017 provided with Windchill Modeler has the
following limitations:
• CPU support is limited to one socket and up to four cores
• 1GB of RAM for each SQL Server instance
• 10GB maximum database size
Getting Started 17
b. Connect to the SQL Server instance.
c. Click File, point to Open, then click File...
d. In the Open File dialog box, select the adminscript_master.sql script, then
click Open.
The full path to the script is C:\Program Files (x86)\Windchill
Modeler\Modeler\System\SQLScripts\adminscript_
master.sql
e. With the script open, select the master database from the drop-down list in
the SQL Editor toolbar, then click Execute.
f. Confirm that the Query executed successfully message appears.
Hardware Requirements
The following sections outline the minimum hardware specifications for
deploying Windchill Modeler in different scenarios. For optimum performance,
PTC recommends using at least 32 GB RAM and utilizing SSDs (solid state
drives) for the computer that will host the Modeler Server and SQL Server.
Hardware and Software Requirements for Installing SQL Server 2017
https://docs.microsoft.com/en-us/sql/sql-server/install/hardware-and-software-
requirements-for-installing-sql-server?view=sql-server-ver15
When it comes to storage and performance, PTC recommends solid state drives
(SSDs) These are faster than conventional hard disk drives (HDDs) and are also
more reliable and use less power. When considering disk speed in terms of
sequential or random read/write speeds, SSDs are 2 to 5 times faster than
conventional hard disks.
For information on SQL Server requirements and prerequisites, refer to the
Microsoft help topic:
Hardware and Software Requirements for Installing SQL Server 2017
https://docs.microsoft.com/en-us/sql/sql-server/install/hardware-and-software-
requirements-for-installing-sql-server?view=sql-server-ver15
For a list of all supported versions of SQL Server, see the Release Notes
document.
Getting Started 19
The following table suggests the minimum number of processor cores and the
minimum size of RAM that we recommend to support different numbers of users.
Number of Users Processor Cores RAM
10 4 16 GB
25 6 16 GB
50 6 32 GB
100 8 32 GB
200 8 32 GB
Note
Ensure that you have a working, regular backup procedure in place for your
models.
For more information, see Setting up a backup procedure on page 183.
Getting Started 21
Note
After changing the PTC-IM-WSU password, you must use Internet
Information Services (IIS) to update the Windchill Modeler Web Interface
application pool to use the new password.
See Licensing a Web Interface website on page 103 and selecting the
databases it can access for more information.
Installation Components
It is worth taking the time to understand the Modeler components that can be
installed.
The Setup Type page of the Modeler installation program makes you choose a
Server Only, Client Only or Standalone installation.
The Custom Setup page allows you to change the default installation options that
are set up by the Server Only, Client Only or Standalone option you selected. If
you require additional components at later date, you can repeat the installation and
select additional components to install.
Note
Through the installation program you can also remove components you want
to uninstall.
Model Explorer
Accesses databases that contain models you want to work with. If you want to
work with a model, you must locate (and optionally bookmark) its database in
Model Explorer. In addition, Model Explorer allows you to manage models, for
example, importing, exporting and versioning of models.
Model Explorer is installed as part of a Standalone, Server Only and Client Only
installation.
Getting Started 23
Web Interface
Allows users to view Models through their web browser.
Add-ins
Optional tools that perform functions such as document generation and code
generation. Most of the add-ins are installed by default as part of a Standalone and
Client Only installation, however, some add-ins are dependent on other
applications being installed. For example, Integration for IBM Rational DOORS is
installed only if IBM Rational DOORS is installed.
Note
Installing the Windows .NET Framework can take up to 10 minutes; during
installation, the Cancel button on the dialog is not available.
Installation Configurations
There are different deployment options and installation configurations for
Windchill Modeler:
• Individual user deployment
This is the simplest option and is suitable for individual users or test
environments. This deployment utilizes the standalone configuration.
• Production – workgroup deployment
This option is suitable for production environments and can support small and
medium sized workgroups. This deployment options utilizes client/server
configuration.
• Production – enterprise deployment
Getting Started 25
If only the client software is required, perform a Client Only installation in
preference to a Standalone installation as this will have less effect on the
computer's resources.
Getting Started 27
PTC recommends using SQL Server Standard as a database for this type of
deployment for optimum performance. This must be installed before installing
Windchill Modeler, or an existing SQL Server Standard instance can be used.
During installation of Windchill Modeler, a database will be created and
configured in the selected SQL Server instance.
Getting Started 29
Installing Modeler Through a Customized
MSI File
When you install Modeler, the Modeler installation MSI file
(WindchillModeler9_x.msi) determines the default options that are used
for the installation program. These default options can be changed in the pages of
the Modeler installation wizard.
If you are rolling out Modeler to a large number of users, you can create a
customized version of the Modeler installation MSI file so that the default options
result in the required installation of Modeler.
This topic covers setting the default installation folders for Modeler, and setting
up the default license server and database server.
In addition to rolling out Modeler through a customized MSI file, you can perform
administrator installs by installing Modeler through the Windows Installer
(msiexec.exe) command line interface and passing installation parameters
through command line arguments. You can also make use of Systems
Management Server (SMS) to install Modeler. These methods for installing
Modeler are not covered in the Help. For more information, contact customer
support.
Note
• Changing properties in the Modeler MSI file that are not covered in this topic
may result in invalid installations of Modeler and can potentially damage your
Windows system.
• After modifying the Modeler installation MSI file, thoroughly test the changes
you have made to ensure that it creates a valid Modeler installation.
Note
ProgramFilesFolder is a special property for specifying the Windows Program
Files folder.
For more information on these special properties, see the Windows Installer
Guide.
Getting Started 31
Following on from the previous example, we now want to install Modeler to a
folder named C:\MyFolder\MySubfolder:
• The new MY_SUBFOLDER entry creates the MySubfolder folder as a
subfolder of the MyFolder folder.
• The INTALLDIR entry is changed to reference the new MY_SUBFOLDER
entry.
In the following example, we change the default license server to LS001, and
change the default database server instance to RepServ001.
Getting Started 33
Managing Modeler and Web Interface
Security
Microsoft SQL Server
Microsoft SQL Server is the Modeler database engine. The server runs as a
windows service named sqlservr.exe on port 1433.
For information on how to change the default port number, refer to the following
Microsoft SQL Server help topic:
Configure a Server to Listen on a Specific TCP Port
https://docs.microsoft.com/sql/database-engine/configure-windows/configure-a-
server-to-listen-on-a-specific-tcp-port?view=sql-server-2017
You should also ensure that the relevant ports are opened and secured.
For more information, see Setting up the Windows Firewall on page 87.
Network Shares
The following network share is created:
• ModelerATF – contains information on the models that are needed to locate
the model when communicating with the Microsoft SQL Server service.
Those shares are used by the Modeler application to get the appropriate
information on how to locate Microsfot SQL Server, databases, and models.
Note
The contents of the database (models) is not exposed in those folders.
Shares use the standard Microsoft SMB network shares that operate on port 445.
By default, those folders are publicly shared, but the visibility can be restricted by
modifying the sharing configuration through the Windows sharing properties.
The following sharing properties are required:
• ModelerATF – all Modeler users should have Write permissions for the
share property, associated folder, subfolders, and files.
Getting Started 35
FlexLM Server (license)
The license mechanism relies on FlexLM. The following programs or ports need
to be set up as firewall exceptions. In each case, the path shown is for a Modeler
installation to the default locations. For more information, see Setting up the
Windows Firewall on page 87.
For 64-bit versions of Windows:
• C:\Program Files (x86)\Windchill Modeler\License
Manager\lmgrd.exe (for Floating License Server)
• C:\Program Files (x86)\Windchill Modeler\License
Manager\artsansw.exe (for Floating License Server)
For 32-bit versions of Windows:
• C:\Program Files\Windchill Modeler\License Manager\
lmgrd.exe (for Floating License Server)
• C:\Program Files\Windchill Modeler\License Manager\
artsansw.exe (for Floating License Server)
You should also ensure that the relevant ports are open and secure. For more
information on ports and setting up the firewall, see Setting up the Windows
Firewall on page 87.
Note
When you grant a user access to a Web Interface website, they can view all
models that are set to Public Read or Public Write in all databases that can be
accessed through the website.
Note
To ensure security, we recommend changing the PTC-IM-WSU user account
password.
You can set up how users are authenticated when they log in to a Web Interface
website. You can use:
• LDAP authentication,
• Web Interface website account authentication (local accounts created through
the Web Interface administration),
• Both LDAP and Web Interface website account authentication
Getting Started 37
When using LDAP authentication, a user can view the following models through
the Web Interface website: models that are Public Read or Public Write; and
models for which the user has Modeler Owner, Write or Read access permissions.
The installation program sets up the Web Interface and Model Manager websites
as HTTPS. You can configure HTTP for the websites if required. For information
on configuring Websites as HTTP, see Configuring the Web Interface website to
use HTTP on page 123.
Firewall rules must be added to allow access to the Modeler sites which are
configured by default.
For more information, see Setting up the Windows Firewall on page 87.
39
Overview of Working Across Sites
For a Modeler client to work directly with a model on a Modeler server, ideally
you want a connection that has a latency of less than one 1 millisecond. As the
latency of a connection increases from 1 millisecond, the performance and
responsiveness of the Modeler client decreases. When a connection cannot
support direct editing of remote models, you should consider which of the
available solutions works best for you.
The following table summarizes the solutions that are available for accessing
remote models based on the strength of the connection you have between sites.
These are the preferred solutions that allow you to directly edit
remote models:
• Direct access of remote models from Modeler on page 42
This solution requires a high-bandwidth, low-latency connection between the
Modeler client the server software.
This is the simplest solution, but will often not be possible across sites.
• Direct access of remote models through Microsoft Remote Desktop Service or
Citrix MetaFrame on page 43
This solution can provide direct editing of remote models when the latency
and bandwidth of the connection is not fast enough for an acceptable
performance of Modeler, but is fast enough to support Microsoft Remote
Desktop Services or Citrix MetaFrame.
Note
You can reduce network traffic by hiding the status bar, toolbars and the
Property Pages when not in use.
The following table outlines the steps for setting up the sites:
Step Consideration
1. On the server site, perform a You must perform a Server installation
Modeler Server installation. to install the floating license software.
The SQL Server and Floating License
Server software can reside on any site
computer.
2. On the server site, install the
Microsoft Remote Desktop Services/
Citrix MetaFrame server software and
the Modeler client software.
The following table outlines the steps for setting up the sites:
Step Consideration
1. On the server site, perform a server You must perform a Server installation
installation of Modeler. to install the floating license software.
2. On the client site, depending on
whether you want multiuser access to
the model, perform a Server installation
or Standalone installation of Modeler.
3. On the server site, create a sandbox When working with sandboxes, you
for the model you want to edit. may want to change the trunk only
through sandboxes.
The following table outlines the steps for setting up the sites:
The following table outlines the steps for getting changes that have been made by
other users to a Package that is stored in a shared folder.
Step Consideration
1. From Modeler, right-click the • When Modeler gets a Package, it
Package, select Tools ▶ Package Import/ gets the Package and all its child
Export ▶ Update Existing, and then click Packages.
Update Existing (select the shared
folder). • Do not get an unprotected Package
or a Package that contains
unprotected child Packages. If you
get an unprotected Package, any
changes you have made to the
unprotected Package will be lost.
The following table outlines the steps for making changes to a Package that is
stored in a shared folder:
Note
Instructions for installing Web Interface and Model Manager are not
included with the Individual User deployment. If you wish to install these
products, refer to the instructions provided for the Production – Workgroup
or Production – Enterprise deployments.
2. Plan licensing.
• The individual User deployment uses a node-locked license file. The
license file will be requested from PTC Support after installation.
For more information on licensing, see Introduction to Licensing Modeler
on page 132.
3. Prepare the environment.
a. Confirm that the computer that will host Modeler meets the environment
requirements.
For more information, see Environment Requirements on page 14.
b. Confirm that the computer that will host Modeler meets the hardware
requirements.
For more information, see Hardware Requirements on page 18.
Note
Java SE Runtime Environment 8 32bit will also be installed, if it is not
installed already.
Note
Web Interface is required if you wish to use the REST Service or the
OSLC Provider.
g. Documentation
This component is selected by default during the Client Only installation.
2. Plan the system architecture:
a. Review Client/Server architecture information and identify the computers
that will host the Modeler Server (or servers) and Modeler Clients. Refer
to the Client/Server section of Installation configurations on page 24.
b. Review Client/Server architecture installation process. Refer to Installing
Modeler for a project team on page 28.
c. Review security considerations explained in Managing Modeler and Web
Interface Security on page 34. If required, plan the security configurations
for your site.
d. If you are installing the Web Interface, determine the user authentication
strategy and if LDAP will be used. Refer to Setting up user authentication
for a Web Interface website on page 108.
Note
Web Interface is required if you wish to use the REST Service or the
OSLC Provider.
g. Documentation
This component is selected by default during the Client Only installation.
2. Plan the system architecture:
a. Decide how distributed users (those not physically close to the Modeler
Server) will access and use model data. Refer to the Help topic called
Overview of working across sites on page 40 as well as the other topics in
chapter called Working across sites. Decide if Microsoft Remote Desktop
Service or Citrix XenApp (previously called MetaFrame) will be utilized.
b. Review Client/Server architecture information and identify the computers
that will host the Modeler Server (or servers) and Modeler Clients (or
Microsoft Remote Desktop Service or Citrix XenApp clients). Refer to the
Client/Server section of Installation configurations on page 24. If you are
using Microsoft Remote Desktop Service or Citrix XenApp, refer to Direct
access of a remote model through Microsoft Remote Desktop Services or
Citrix MetaFrame on page 43.
c. Review Client/Server architecture installation process. Refer to Installing
Modeler for a project team on page 28.
d. Review security considerations explained in Managing Modeler and Web
Interface Security on page 34. If required, plan the security configurations
for your site.
Standalone Installation
Preparing to Upgrade a Standalone Installation
Note
Only Windows Administrators who are also Modeler Administrators can
perform Modeler upgrades.
Important:
• Before you upgrade a Standalone installation, ensure that you have obtained
the appropriate replacement licenses from PTC. After upgrading Modeler, you
must start License Manager and replace the license file.
Note
Note that this will not prevent you from using Modeler when connected to
the network.
Note
Installation of the Windows .NET Framework can take up to 10 minutes;
during installation, the Cancel button on the dialog is not available.
The installation program enables the Transport Layer Security (TLS) 1.2
protocol as part of a Standalone installation.
On the Custom Setup page, expand the Modeler Model Editor entry and
review the add-ins, documentation and profiles that are selected for
installation. To deselect, click an option, then click This feature will not be
available. If you do not want to install the empty Models database or the
Examples database, expand the Modeler Server entry, click the Models or
Examples as appropriate, and then choose This feature will not be available.
Note
If you are prompted to restart your computer, ensure that you log on to
Windows using the same user name as you did before starting the installation.
Note
Only Windows Administrators who are also Modeler Administrators can
perform Modeler upgrades.
Note
• Before you upgrade a Server Only installation, ensure that you backup your
databases and read the Modeler Release Notes.
• If the server runs a server-based floating license, ensure that you have obtained
the appropriate replacement licenses from PTC. After upgrading Modeler, you
must start License Manager and replace the license file.
• If you choose to install Web Interface, a dialog will be displayed that allows
you to set the password for the PTC-IM-WSU account. If you have previously
changed the default password for this account (which is recommended),
ensure you re-enter your chosen password.
• To install Web Interface or Model Manager, expand the Web Servers entry,
click the drop-down arrow next to the web site, then click This feature will
be installed on the local hard drive.
• If you do not want to install the empty Models database or the Examples
database, expand the Modeler Server entry, and then choose to not install
the Models or Examples as appropriate.
Also on the Custom Setup page, if you want to install the Modeler
application, click the Modeler Model Editor entry, and then click This
feature will be installed on the local hard drive.
• You must provide the path to the ModelerATFiles folder location. This
folder can be located on the local directory or on a mapped drive. You can
provide a UNC path to the folder location.
Note
The ATFiles folder should be a unique folder and the same folder
should not be used for other Modeler installations. Also, the path that
you provide should not have a trailing “\”.
Note
If you are prompted to restart your computer, ensure that you log on to
Windows using the same user name as you did before starting the installation.
Note
After changing the PTC-IM-WSU password, you must use Internet
Information Services (IIS) to update the Windchill Modeler Web Interface
application pool to use the new password.
For more information, see Licensing a Web Interface website and selecting the
databases it can access on page 103.
Setting up Databases
You can now set up the access rights to the databases and models on the server.
Ensure that Model Administrators are given Administrator rights to the database,
so that they can perform operations such as starting and stopping the database, and
importing models.
For more information about the ports that Modeler uses, see Executables that use
ports and their protocols in Windchill Modeler on the PTC eSupport.
Note
Only Windows Administrators who are also Modeler Administrators can
perform Modeler upgrades.
Note
Installation of the Windows .NET Framework can take up to 10 minutes;
during installation, the Cancel button on the dialog is not available.
On the Custom Setup page, expand the Modeler Model Editor entry and
review the add-ins, documentation and profiles that are selected for
installation. If you do not want to install a feature, click the entry, and then
click This feature will not be available.
• On the Default Servers page, enter a SQL Server instance and a Modeler
License Server:
○ To connect to a SQL Server instance, click Browse..., then select a
SQL Server instance from the list of available servers.
○ To connect to a Modeler License Server, type the name of the license
server computer.
Note
The Integration for IBM Rational DOORS is available only if DOORS
is installed and has been run on the computer. The Publisher add-in
requires Microsoft Word. The IDL Profile requires Microsoft Excel for
some reports. For information about which versions of Microsoft Word
and Excel are supported, see the Modeler Release Notes.
Note
You cannot add Model Manager to an existing installation of Windchill
Modeler. To add Model Manager, reinstall Windchill Modeler and make sure
that Model Manager is selected.
Pre-requisites
Internet Information Services (IIS) must be enabled to use Model Manager.
Firewall rules must be added to allow access to the Model Manager website. For
more information, see Managing Modeler and Web Interface Security on page 34.
Note
When a user can view models through a Web Interface website, that user can
view ALL the Models that are Public Read or Public Write in ALL the
Databases that can be accessed through that Web Interface website.
Note
.NET Framework version 4.6.1 is installed by default with Modeler.
To Enable and Set up Internet Information Services (IIS) for Use with
Web Interface (Windows Server 2008):
1. Ensure that you are logged on to Windows as a user that has local
administrator rights.
2. From the Control Panel, search for and then click Turn Windows Features On or
Off.
3. From Server Manager, in the left pane click Roles, in the right pane click Add
Roles (the Add Roles link is available only after the Roles data has been
collected).
4. On the Before You Begin page of the Add Roles Wizard, click Next.
5. On the Server Roles page, select the Web Server (IIS) check box.
6. Click Next, and then click Next again.
7. On the Role Services page, ensure that you select the check boxes associated
with the following services that are shown in bold.
Web Server
• Common HTTP Features:
○ Static Content
○ Default Document
○ HTTP Errors
○ HTTP Redirection
• Application Development:
○ ASP.NET
○ .NET Extensibility
○ ISAPI Extensions
○ ISAPI Filters
• Security:
○ Request Filtering
• Management Tools:
○ IIS Management Console
8. Continue through the wizard to Install the Web Server (IIS) server role.
9. If you are prompted to reboot your computer, reboot your computer.
Note
• The Modeler software is required on the computer that is going to host the
Web Interface website. This is because Model Explorer is used to bookmark
the databases that can be accessed from the Web Interface website.
• The Modeler software installation must add Profiles if Web Interface is also
installed. Otherwise, rendering diagrams from profiled models will fail
because the profile DLLs are not installed.
To ensure that the profiles are installed, during initial install or Update
existing, click the Profiles option under Model Editor Client.
After installing Web Interface, you can license the Web Interface website for
use and select the databases it can access. See Setting up user authentication
for a Web Interface website on page 108.
Note
This step is required to complete Web Interface installation and configuration.
Modeler licenses are for specific users on specific computers, so you must log on
to the hosting computer using the PTC-IM-WSU user, and license Web Interface
for use.
1. If you have performed a Server only installation and have installed the
Floating License Server on the same computer, you do not have to change the
license settings but do need to add a license to the server. Run License
Manager and choose the Replace option, then select the license file to be
added.
2. If the computer that is hosting the Web Interface website does not have a
Floating License Server itself, launch the License Manager using Run as
administrator, and select Manage default license settings for New Users, choose
Options and set the license servername.
It is recommended that you use a server-based license, but you can use a local
license for a Standalone installation. The license server you choose must also
provide Windchill Modeler Web Interface Client licenses for each concurrent
user of the website.
For more information about how client licensing of a Web Interface website
works, see Client licensing of a Web Interface website on page 117.
For more information about setting up a Modeler license, see Introduction to
licensing Modeler on page 132.
Note
This step is required to complete Web Interface installation and configuration.
For more information about working with Model Explorer, see the
Modeler Help.
4. Ensure that each Database you bookmark has been updated to work with the
version of Modeler you are using.
You can do this by using Modeler to open a model in the Database; if the
Database requires updating you are prompted to update the Database.
Important: If a Web Interface website is connected to a Database that requires
updating, the website will stop responding when you expand its Server icon.
5. When a bookmarked Database owns Models that are not Public Read or Public
Write, those models are accessible through the Web Interface website only
when the PTC-IM-WSU user has read access permissions to them.
To ensure that sandboxes in Databases with set access permissions are
accessible on the Web Interface website, you need to grant the PTC-IM-WSU
user access permissions to each sandbox in the Database.
• To set up PTC-IM-WSU user access to a sandbox: grant the PTC-IM-
WSU user read access permissions to the sandbox. Alternatively, you can
To Specify How Many Client Licenses Are Checked out by the Web
Interface Website and How Long after Inactivity a License Expires:
A Web Interface website requires a Windchill Modeler Web Interface Client
license for each concurrent user of that website.
At startup, a Web Interface website checks out a number of Windchill Modeler
Web Interface Client licenses. These licenses are then consumed by users as they
log in to the Web Interface website.
For more information about how client licensing of a Web Interface website
works, see Client licensing of a Web Interface website on page 117.
1. From the computer that is hosting the Web Interface website, ensure that the
Web Interface website is not running:
a. Start Internet Information Services (IIS) Manager: from the Run text box,
type inetmgr, and then press the Enter key.
b. In the Connections pane, select Application Pools.
c. In the Application Pools pane, select the Windchill Modeler Web Interface
entry.
d. If the Status of the Web Interface website is Started, in the Actions pane
click the Stop link.
2. From the computer that is hosting the Web Interface website, locate the
web.config file. The web.config file resides in the following location:
C:\inetpub\wwwroot\PTC Integrity Modeler Web Interface
3. Create a backup of the web.config file.
4. Using a text editor, open the web.config file.
After licensing the Web Interface website and selecting the databases it can
access, you can set up how users are authenticated. For more information, see
Setting up user authentication for a Web Interface website on page 108.
Note
The Help assumes that you have a good working knowledge of setting up
websites and the security issues regarding access.
There are many different ways in which you can control access to a Web Interface
website, for example, through intranet access. How you choose to control access
to a Web Interface website is outside the scope of this Help. The Help assumes
that you have a good working knowledge of setting up websites and the security
issues regarding access.
After connecting to a Web Interface website, a user must be authenticated before
they can view any models. There are two ways in which a Web Interface website
can authenticates users. You can use one or both of these methods:
LDAP Authentication
When using LDAP authentication, the Web Interface website is set up to work
with one or more domains. When a user is a member of a supported domain, they
can log in to the Web Interface website using their Windows user name and
password. Their user name must be prefixed with the domain name followed by a
backslash mark. For example, MyDomain\MyUserName.
When using LDAP authentication, a user can view the following models through
the Web Interface website: Models that are Public Read or Public Write; and
Models for which the user has Modeler Owner, Write or Read access permissions.
Note
You can encrypt the user name and password in the web.config
file. For more information see the Microsoft Developer Network
website.
g. If you want to also use other domains and local groups to authenticate
users, create a copy of the <add name ="PTC_
ADMembershipConnection" and <add name ="PTC_
ADMembershipProvider" entries, and change them accordingly.
6. By default, a user can be authenticated through its REST service. If you are
not using the REST service, you may want to disable it for security reasons.
To disable the REST service:
a. In the web.config file, locate the <add key=
"EnableModelerService" value="true" /> entry.
b. Change the value to false.
Note
• The installation program sets up a Web Interface website as an HTTPS
website. You can configure it as an HTTP website if desired.
For more information about configuring the Web Interface website to use
HTTP, see Testing and Launching a Web Interface Website on page 123.
• To allow access of Models that have special characters in their names,
allowDoubleEscaping is set to true in the win.config file:
<requestFiltering allowDoubleEscaping="true" />.
After you have tested the website, change the administrator password
before launching the website.
Note
Be aware that if you forget the new password, there is no way of resetting the
password. If you forget the password, contact PTC for assistance.
To Unlock an Account:
This topic applies only when the Web Interface website supports Web Interface
website accounts.
1. Connect to the Web Interface website.
2. Log in to the Web Interface website using the administrator user name (MWI_
SiteAdmin) and password.
3. If the Admin Options page is not shown, click the Admin link in the toolbar.
4. Click the Manage User Accounts link.
5. In the User Name column, click the user name for the account you want to
unlock.
In the Locked-Out? column, the check box for the account should be selected.
6. In the User Name column, click the user name for the account you want to
unlock.
7. From the Manage User page, in the Locked-Out? column click the Unlock User
button.
8. Contact the account user and inform them that their account has been
unlocked.
The email address of the user is shown on the Manage Users page.
To Delete an Account:
This topic applies only when the Web Interface website supports Web Interface
website accounts.
1. Connect to the Web Interface website.
To view Which Users Have Client Licenses taken for the Web Interface
Website:
1. Connect to the Web Interface website.
2. Log in to the Web Interface website using the administrator user name (MWI_
SiteAdmin) and password.
3. If the Admin Options page is not shown, click the Admin link in the toolbar.
4. Click the Manage Used Licenses link.
Note
The total number of available licenses and the number of licenses currently in
use is displayed at the bottom of the Log in page.
The Web Interface administrator account does not use a license.
For more information about how client licensing of a Web Interface website
works, see Client licensing of a Web Interface website on page 117.
To View Which Users Have Taken Tokens for the Web Interface
Website:
1. Connect to the Web Interface website.
2. Log in to the Web Interface website using the administrator user name (MWI_
SiteAdmin) and password.
3. If the Admin Options page is not shown, click the Admin link in the toolbar.
4. Click the Manage Issued Tokens link.
Note
The administrator account can login to the Web Interface website even if all
client licenses are in use.
The Web Interface administrator account can only access the Admin, Contact, and
About pages of the Web Interface website. If you try to access other pages, you
will be redirected to the Admin page. Accessing REST and OSLC services returns
a 401 unauthorized response.
Note
The license is returned only when the user clicks the Log Out link on the
website. Closing the web browser or web browser tab does not return the
license.
If the internal pool runs out of licenses, new users cannot log in to the Web
Interface website.
A Web Interface website restarts automatically every 24 hours:
• When the Web Interface website stops, the licenses are removed from the
internal pool, and the Web Interface website returns the Web Interface Client
licenses to the license server.
Note
The Web Interface administrator account does not take a license.
The Web Interface administrator account can only access the Admin, Contact,
and About pages of the Web Interface website. If you try to access other
pages, you will be redirected to the Admin page. Accessing REST and OSLC
services returns a 401 unauthorized response message.
Note
If a user is logged in to a Web Interface website and they close their web
browser (or the web browser tab) without logging out of the Web Interface
website, their license is not released.
c. Create any additional entries you require for the Email, Phone and Address
sections. For example, if you want to add a third email address: copy the
Contact_Email2 entry, paste a new entry after the Contact_Email2 entry,
change Contact_Email2 to Contact_Email3, and change its value
accordingly.
d. Remove any entries that are not required.
After setting up the contact information, you can set up how Web Interface
website accounts work. See Setting up how Web Interface website accounts work
on page 120.
If you are not using Web Interface website accounts, you can launch the website
so that it is available to users. See Testing and launching a Web Interface website
on page 111.
Note
You can use either http or https. You should not configure both as this
results in login errors.
<bindings>
<webHttpBinding>
<binding>
<security mode="Transport" />
</binding>
</webHttpBinding>
</bindings>
2. Add the HTTP binding using Internet Information Services (IIS) Manager:
a. On the server hosting the Windchill Modeler Web Interface, open IIS
Manager.
b. In the left pane, select the Windchill Modeler Web Interface site.
c. In the Actions pane, click Bindings...
d. Click Add... in the Site Bindings dialog box.
e. In the Add Site Binding dialog box, add the binding information as follows:
• Type — http
• Port — 57851
f. Click OK to confirm.
If you do not want to use HTTPS, you can remove the https binding using IIS
Manager after setting up HTTP:
• Select the https binding, then click Remove.
Note that if a Web Interface website cannot read the Registry key for the files
path, it will not be able to write to the status.log. When this occurs, an entry
is sent to the Application Event log under Windchill Modeler Web Interface.
131
Introduction to Licensing Modeler
Each Modeler client must be licensed. Modeler servers do not require a license.
Modeler is supplied with evaluation Modeler licenses that allow new installations
of the product to be started. However, the evaluation licenses expire after a
specific number of days. During this initial period, you must obtain permanent
Modeler licenses from PTC, so that you can continue to use the product after the
evaluation Modeler licenses have expired. There are two ways of licensing
Modeler:
• Through a local license.
• Through a server-based floating license.
Note
You can borrow a license from a server-based floating license and work
locally.
• Before using Modeler for the first time, you must start License Manager and
specify the location of the license file.
• If you are upgrading Modeler, you will require upgrade or replacement
Modeler licenses. For more information, see the Modeler Release Notes. If
you have a maintenance agreement with PTC, you should receive an email
that provides instructions for obtaining the upgrade and replacement licenses.
This section describes how you license Modeler. It contains information about:
• Local and server-based licensing
• Modeler licenses
• Working with server-based floating licenses
• Working with local licenses
• License borrowing - frequently asked questions
• License Manager
Note
FLEXnet Publisher user documentation refers to a local license as a node-
locked license.
For more information about licensing a Web Interface website, see Licensing a
Web Interface Website on page 103.
Note
A Modeler client cannot use both a floating and local license at the same time.
A local Modeler license is installed on the same computer as the Modeler client,
and it allows Modeler to be run at any time. A local Modeler license will work
only on the computer from which the license request is made.
A Standalone installation of Modeler is set up to use a local Modeler license by
default. A Client Only installation of Modeler uses a server-based floating
Modeler license by default. If you want a Client Only installation of Modeler to
use a local Modeler license, you must manually set it up through the Options page
of License Manager.
Subscription
A subscription license is a temporary license, usually valid for one year, that can
be borrowed to allow users to work with Modeler while disconnected from the
license server.
Evaluation
An evaluation Modeler license allows you to start Modeler after installing the
product. The evaluation type expires after a specific number of days, so for use of
Modeler after the Modeler license has expired, you must obtain a permanent or a
subscription Modeler license from PTC. If you have purchased a server-based
floating license, the correct number of evaluation Modeler Licenses will be
provided. The evaluation Modeler license is supplied in the cover letter that
accompanies Modeler.
Permanent
A permanent Modeler license allows you to use Modeler after the evaluation
Modeler license has expired. Use License Manager to create a license request for a
permanent Modeler license, and then send this license request to PTC. PTC can
then send you a permanent Modeler license. A permanent Modeler license works
only on the computer from which the license request was made.
Incremental
If you are using a server-based floating license, you can add additional licenses to
that license by adding an incremental Modeler Licenses to the license file. Use
License Manager to create a license request for an incremental Modeler License,
Upgrade
An upgrade Modeler license upgrades a permanent or incremental Modeler license
to work with a new release of Modeler. An upgrade Modeler license works only
on the computer from which the license request was made. Users that have a
maintenance agreement with PTC should receive an email that provides
instructions for obtaining an upgrade Modeler license.
Note
You cannot select a folder that can be subject to virtualization.
1. From the computer on which the Modeler client resides, start License
Manager.
To start License Manager under Windows 10:
• On the Windows Start menu, click All Apps, click Windchill Modeler, and
then click License Manager.
To start License Manager under Windows 8.1 or Windows Server 2012:
• On the Windows Apps screen, in the Windchill Modeler group, click
License Manager.
Note
The following works only on the license server.
It can be useful to view which users are currently using the licenses of a server-
based floating license.
To view which users are using a floating license, from the Modeler server, start
License Status. You should note that only the computer that has the floating
license server component installed, has the License Status shortcut added to the
Windows Start menu. On computers that do not have the floating license server
component, you can view the floating license status from Modeler, on the Model
tab, Floating License Status option.
To start License Status under Windows 10:
• On the Windows Start menu, click All Apps, click Windchill Modeler, and then
click License Status.
To start License Status under Windows 8.1 or Windows Server 2012:
• On the Windows Apps screen, in the Windchill Modeler group, click License
Status.
Note
FLEXnet Publisher user documentation refers to a local license as a node-
locked license.
If the Path to the Local License is empty or if the path is not as required, click
the associated browse button, and then select the folder in which the license
file will reside.
Note
You cannot select a folder that can be subject to virtualization.
If the Path to the Local License is empty or if the path is not as required, click
the associated browse button, and then select the folder in which you want the
license file to be copied.
Note
You cannot select a folder that can be subject to virtualization.
5. Click Replace.
6. Select the license file that has been sent to you by PTC, and then click Open.
License Manager copies the license file to the folder that is shown in the Path
to the Local License box.
Note
If the Request Wizard button is not available, Modeler is set up to use a
floating license. If you require a Modeler license for the server, you must
generate the license request from the server. If you require a local license,
enable the Request Wizard button by clicking Options, clicking the Path to
the Local License option, and then clicking OK.
Note
You cannot extend the period for which you borrow a license, but you can
return a borrowed license before it has expired and then borrow that license
again.
These are the frequently asked questions that relate to license borrowing.
License Manager
License Manager Overview
For Windchill Modeler, you can maintain your licenses through the License
Manager for both modeler clients and servers.
This dialog is not shown for Server Only installations of Modeler, and the Manage
Default License Settings for New Users button is available only when you are
logged on to Windows with Administrator Rights.
Click the Manage Default License Settings for New Users button to set up default
License Manager settings for all new of the computer:
• Administrators should click the Manage Default License Settings for New Users
button when they want to set up default License Manager settings for other
Note
Note that you cannot select a folder that can be subject to virtualization
6. Click Save.
Opens the License Options page for you to specify whether Modeler is using a
local license or a server-based floating license.
• Request Wizard button
Opens the Request Wizard pages for you to request a license file for the
computer. For more information, see the following topics:
○ Creating a license request on page 152
○ License manager - request wizard company details page on page 159
○ License manager - request wizard feature details page on page 160
○ License manager - request wizard introduction page on page 158
○ License manager - request wizard order details page on page 161
○ License manager - request wizard request information page on page 161
The Request Wizard button is available only when License Manager is set up
to use a local license.
• Borrow/Return button
Opens a dialog for you to select a new license file to use. The selected file is
copied to the path specified in the 'The Path to the Local License' box on the
License Options page. See Replacing a local license file on page 153.
• View button
Opens the View License page for you to view the text of a local license. See
License manager - view license page on page 163.
The View button is available only when License Manager is set up to use a
local license.
• Help button
Specifies that Modeler and its add-ins will use a local license.
• The Path to the Local License box
When the The Path to the Local License option is selected, shows the path that
has been set up for the local license file. When active, you can type a path
directly in to this box.
• Browse button
Opens a dialog to select the folder in which the license file resides, or is going
to reside.
Note
You cannot select a folder that can be subject to virtualization.
Specifies that Modeler and its add-ins will use a server-based floating license.
• Name of the License Server box
The Cancel button abandons any changes you have made to the following
controls and returns you to the Main page: The Path of the Local License
option or Name of the License Server option.
The Cancel button is available only when you have made a change to one of
the following controls: The Path of the Local License option or Name of the
License Server option.
• Return to Main button
Opens the Main page of License Manager. See License manager - main page
on page 155.
Note
When requesting a license, the license must be for the computer from which
you are creating the request.
Click Next.
The Request Wizard Introduction page has the following controls:
• Next button.
Opens the Main page of License Manager. See License manager - main page
on page 155.
Opens the Request Wizard Introduction page. See License manager - request
wizard introduction page on page 158.
• Next button
Opens the Request Wizard Features Details page. See License manager -
request wizard feature details page on page 160.
Opens the Main page of License Manager. See License manager - main page
on page 155.
Lists the available Modeler licenses and allows you to specify the Modeler
licenses you require. For server only installations of Modeler you can specify
how many licenses are required for each Modeler license:
○ To request a Modeler license: select its associated check box.
○ To request more than one license for a Modeler license: select its value,
and then type a new value.
• Select All Features check box.
Opens the Request Wizard Company Details page. See License manager -
request wizard company details page on page 159.
• Next button.
Opens the Request Wizard Order Details page. See License manager - request
wizard order details page on page 161.
• Help button
Opens thetopic.
• Return to Main button
Opens the Main page of License Manager. See License manager - main page
on page 155.
Opens the Request Wizard Features Details page. See License manager -
request wizard feature details page on page 160.
• Finish button
Opens the Request Wizard Request Information page. See License manager -
request wizard request information page on page 161.
• Help button
Opens the Main page of License Manager. See License manager - main page
on page 155.
Opens a dialog for you to save the license request to a text file.
• Print button
Opens the Print dialog for you to send the license request to a printer.
• Help button
Opens the Main page of License Manager. See License manager - main page
on page 155
Lists the license features that can be borrowed. Select the check boxes
associated with the license features you want to borrow.
• Select All check box
Selects or clears all the check boxes in the Available Features list.
• Date box
Sets the time at which the borrowed licenses will expire. To set the time, select
the hour or minute value and then use the up and down arrows to adjust.
Note
The time cannot be set to a time that will result in the license being
borrowed for more than ten days.
Borrows the selected license features that are selected in the Available
Features list.
On the Borrowed Features tab:
• Borrowed Features list
Lists the license features that are borrowed. Select the check boxes associated
with the license features you want to return.
• Select All check box
Selects or clears all the check boxes in the Borrowed Features list.
The Return Selected Features button is available only when one or more
license feature is selected in the Borrowed Features list.
• Return Selected Features button
Returns the license features that are selected in the Borrowed Features list.
The Return Selected Features button is available only when one or more
license feature is selected in the Borrowed Features list.
Opens the Main page of License Manager. For more information, see License
Manager — main page on page 155.
Note
You may need to clear the browser cache to see new changes after upgrading
any of the following Modeler components:
• Web Interface
• Model Manager
Tip
If you are migrating multiple Enabler databases, you can write a batch script to
automate the export and import process. Also, make sure the computer you are
exporting databases from and the one you are importing databases into have
the same locale as the data that you are migrating.
Note
You can only migrate models from Integrity Modeler 8.3, 8.4 and 8.5. Direct
migration of models from earlier versions of Integrity Modeler is not
supported. To migrate data from previous versions, refer to the instructions in
the following topic: Upgrade from Integrity Modeler 8.2 or Earlier on page
170
Before exporting, you should check your Enabler databases and resolve any
issues with your data. For more information, see “Checking a repository"
under the Enabler Administration chapter of the Integrity Modeler 8.5 online
help.
In addition to model data, the following Enabler database components are also
migrated:
• database, package, and model access permissions.
• Active database users and groups.
Note
SQL Server logins and database principals are automatically created for users
and groups that are on the Enabler database.
The SQL Server Import tool allows you to import files you created using the
Enabler Export tool into SQL Server. Before you start the import process, copy
the Enabler Export files to your Windchill Modeler machine.
To import an Enabler export into SQL Server:
1. Start the Windows Command Prompt window as an administrator.
2. Change the working directory to the Exe folder in the Windchill Modeler
installation directory.
3. Run the SQLImport.exe application with the following arguments:
• The full path to the Enabler Export zip file: "D:\Migration\
EnablerExport\databaseExport.zip"
• The name of your machine followed by the SQL Server instance name:
"<Machine-Name>\<SQL-Instance>"
• A specific name for the SQL Server database: "<Database-Name>".
Use alphanumeric characters. The database name cannot contain spaces or
be more than 123 characters long.
• If you are importing Japanese or Chinese data, you must use the -R
argument.
Optional arguments:
• The import batch size parameter: set to 1000 rows by default.
• The bcp.exe path.
You can use the following combinations:
• SQLImport <mandatory arguments>
• SQLImport <mandatory arguments> -R
Note
<Mandatory arguments> = <EnablerExport zip file> <machine\instance>
<database name>
Note
You can perform a direct upgrade from Integrity Modeler 8.3 or later.
To migrate archived model export data after you upgrade to Windchill
Modeler 9.5, you should consider maintaining an Integrity Modeler 8.3, 8.4 or
8.5 installation.
To upgrade to Windchill Modeler 9.5, follow the instructions for each installation
type below.
License Upgrade
Your Integrity Modeler 9.2 license works on Windchill Modeler 9.5. You do not
have to acquire a new license for Windchill Modeler 9.5.
For information on getting a new license for Windchill Modeler 9.5, refer to
Licensing Modeler on page 133.
then clicking the Show Protected Properties button on the ACS/TDK Control
tab. If this reports anything, you should reverse these into the model before
upgrading.
If you upgrade from 7.1, note that some of the C++ code generators were renamed
and merged so after upgrading you may receive an error like these:
"DLL not found Error"
'C:\Program Files\Artisan Software Tools\Artisan Real-time
Studio\ItsShadow\Exe\Cpp Win32 Animation EXE.dll' does not
exist or is not readable' error.
In these cases, you should choose the appropriate new generation scheme from the
ACS Launcher instead, e.g. if you were using the Cpp Win32 Animation EXE
scheme in 7.1 then you should now use the Cpp Win32 Animation scheme
instead.
Note
After performing an upgrade, you may need to clear your browser cache to see
the new changes to Web Interface.
Upgrading an instance
In Model Explorer, if your server or instance needs an upgrade, an indication is
displayed in the bottom pane.
To upgrade an instance, you need to execute the adminscript_master.sql
on the master database using SQL Server Management Studio:
1. On the computer running the SQL Server instance, start SQL Server
Managment Studio.
2. Connect to the SQL Server instance.
3. Click File, point to Open, then click File...
4. In the Open File dialog box, select the adminscript_master.sql script, then
click Open.
b. Clear the query window, then copy and execute the following script to
grant the PTC-IM-WSU user account access to the database:
DECLARE @User nvarchar(50)
Backing up a Model
You can use the export facility in Model Explorer to manually back up a model.
For information about exporting and importing models, see the Model Explorer
Help.
185
Setting up Applications to Work with
Modeler
Modeler can work with the following applications.
Modeling Tools:
• IBM Rational® Rose®
For information about the preceding application versions that are supported, see
the Modeler Release Notes.
For information about setting up the preceding applications to work with Modeler,
see the following topics:
• Setting up IBM Rational ClearCase on page 189
• Setting up IBM Rational DOORS on page 186
• Setting up IBM Rational Rose on page 188
• Setting up Microsoft Visual SourceSafe on page 188
• Setting up PTC Integrity Lifecycle Manager on page 189
• Setting up Serena Dimensions on page 192
• Setting up Serena Version Manager on page 194
• Setting up Telelogic SYNERGY/CM on page 194
Note
In DOORS, a Workstation Client installation does not install the program files
on the computer.
For information about working with Integration for IBM Rational DOORS, open
the Modeler Help, expand the Product Integrations book, and then see the topics
in the Integration for IBM Rational DOORS book. Note that the Integration for
IBM Rational DOORS help topics are installed only when the Integration for IBM
Rational DOORS is installed.
Installation Scenarios
If you install or upgrade DOORS after installing Modeler, Integration for IBM
Rational DOORS will not work:
• If DOORS is installed and has been run and you are installing or upgrading
Modeler, install Modeler and Integration for IBM Rational DOORS.
• If you install DOORS after installing Modeler, you must reinstall Integration
for IBM Rational DOORS through the Modeler installation program.
• If you upgrade DOORS, you must reinstall Integration for IBM Rational
DOORS through the Modeler installation program.
Note
CM tool integration support for Microsoft Visual SourceSafe is being
deprecated.
We recommend that all Visual SourceSafe users use a shared srcsafe.ini file,
which is the default for a client/server installation of Visual SourceSafe.
If users do not use a shared srcsafe.ini file and those users have different
drive mappings for the Visual SourceSafe database the following problem can
occur; if a user checks in a Package and another user with a different drive
mapping views that Package, the Package icon will not have a check mark or
cross and the Check In command will not be available. To overcome this problem,
the user will have to reconnect the Package using locally stored paths.
If you check out a Package, rename that Package in Modeler, and then check in
that Package, the file name of the Package in the CM tool environment will reflect
the new name of the Package, not the old name.
If you are working with Microsoft Visual SourceSafe version 6.0d, you must
install a Microsoft patch to work with the Modeler CM Tool integration. For more
information, click here to open the KB article 821419 on the Microsoft website.
For generic information about the configuration management tool integration, see
the topics in the 'Model, component and package management (includes access
permissions) > Configuration management tool integration' section of the Modeler
Help.
Note
CM tool integration support for IBM Rational ClearCase is being deprecated.
Note
The synchronizer tool currently does not work with multiple installations
of Integrity Lifecycle Manager on a single computer.
• The Integrity Lifecycle Manager Client and its Integrity Lifecycle Manager
Server must both be the same version.
• In the target Integrity Lifecycle Manager system, a user account must be
created that has access permissions to modify data. This account will be used
when Integration for PTC Integrity Lifecycle Manager accesses and modifies
data in Integrity Lifecycle Manager.
Note
To create or synchronize mappings, the user account must have the
ViewAdmin access permission set in Integrity Lifecycle Manager.
Note
Document Types shown in blue text have previously been configured.
Leaving the check boxes associated with these Document Types selected
will ensure that they are updated with any required changes.
5. Click Execute.
6. After the selected Document Types have been configured (log states 'The
process has completed.'), review the log for any errors or warnings.
Note
CM tool integration support for Serena Dimensions is being deprecated.
For generic information about the configuration management tool integration, see
the topics in the 'Database, model, component and package management (includes
access permissions) > Configuration management tool integration' section of the
Modeler Help.
Serena Dimension clients must have the optional SCC Integration component
installed.
Through Dimensions Administration Console you must set up the Dimensions
server to work with Modeler.
Before checking in a Model the first time, you must set up the Dimensions server
to work with Modeler, and then create a Dimensions Project, Workspace and Part
in which to store the Model.
If the check in or check out commands are not available Modeler, it may be
because the lifecycle status of the associated items in Dimensions is preventing
them from being checked in or checked out.
Note
Steps d. to f. set up the Windchill Modeler IDE to check in all Modeler
files using the DOC item type. If you choose to check in Modeler files
using a different Dimensions item type, ensure that the Modeler MDF
and PKF files are checked in as binary files
g. Click OK.
6. Click Home.
7. In the Configuration Object Management group, click Data Format & MIME
Types.
8. Set up the IDF file format type:
a. Click the New button.
b. In the File Format box, type IDF.
c. In the Class list, select ASCII.
d. In the MIME Type box, type application/octet-stream.
e. In the Description box, type Windchill Modeler package id file.
f. Click OK.
9. Set up the PKF file format type:
a. Click the New button.
b. In the File Format box, type PKF.
c. In the Class list, select BINARY.
d. In the MIME Type box, type application/octet-stream.
e. In the Description box, type Windchill Modeler package archive
file.
f. Click OK.
10. Set up the MDF file format type:
Note
CM tool integration support for Serena Version Manager is being deprecated.
When installing Version Manager clients, we recommend that each client uses the
same drive and path mapping for Version Manager. Failure to do so will not
prevent Version Manager from working correctly, but it can result in the following
problem; if a user checks in a Package and another user with a different drive
mapping views that Package, the Package icon will not have a check mark or
cross and the Check In command will not be available. To overcome this problem,
the user will have to reconnect the Package using locally stored paths.
For generic information about the configuration management tool integration, see
the topics in the 'Database, model, component and package management (includes
access permissions) > Configuration management tool integration' section of the
Modeler Help.
Note
CM tool integration support for Telelogic SYNERGY/CM is being deprecated.
Note
When using SYNERGY/CM, you typically check out files and then check in
the tasks associated with those files. When using SYNERGY/CM with
Modeler, you must perform all check out and check in operations from
Modeler. Modeler associates check in and check out operations with the
default SYNERGY/CM task. Warning: Do not check in package files or tasks
from SYNERGY/CM, as this may check in out-of-date package files.
199
Uninstalling Modeler
The uninstall program will not start if the Modeler is running.
Uninstalling Modeler
To uninstall Modeler, perform the following procedure:
1. For Standalone and Server Only installations of Modeler, stop all databases on
the computer.
2. Ensure that no Modeler products are running on the computer.
3. From the Control Panel, uninstall Modeler:
• For Windows 10, Windows 8.1 or Windows Server 2012, from the Control
Panel view, click the Uninstall a Program link, click the Windchill Modeler
entry, and then click Remove.
• For Windows 7, from the Control Panel view, click the Uninstall a Program
link, and then click the Windchill Modeler entry.
• For Windows Server 2008, from the Control Panel view, click the Uninstall
a Program link, click the Windchill Modeler entry, and then click Uninstall.
4. From the confirmation dialog, click Yes.
5. If prompted, restart your computer.
Note
The ModelerATFiles folder is not removed.
Removing Databases
The Windchill Modeler uninstall program does not remove databases from the
computer. To remove databases after uinstalling Windchill Modeler, refer to the
Microsoft SQL Server help topic:
Delete a Database
https://docs.microsoft.com/sql/relational-databases/databases/delete-a-database?
view=sql-server-2017
Note
You can reinstall Microsoft SQL Server without uninstalling Windchill
Modeler. However, changing the SQL Server instance name can affect
bookmarked databases in Model Explorer. Ensure that you use the same
instance name to keep bookmarked databases.
Feature Summary
This is a short high-level summary of key features in Modeler that support
collaborative team-based development.
The Modeler Help also provides details on specific aspects of usage, including a
table on associated access permission rights. The usage scenarios for exploiting
these features are provided in the Use Cases topics.
The key features are as follows:
• Multi-User
Multi-user refers to the ability of multiple developers to interact with the same
model at the same time, without needing to use an external CM tool as a
deployment platform. Based on the client-server architecture, multi-user is a
proven solution for many familiar large-scale database applications like email,
online discussion tools, and financial trading systems.
• Model Versioning
Model Versioning refers to the ability to create snapshots of a complete model
at a particular moment in time. After being versioned, the model is protected
and the version number can be used for unique referencing purposes.
• Active Data Dictionary
At the heart of each model is a single data dictionary that maintains a
consistent view across the model. Model items are defined once in the model
and can be referenced on any diagram and dragged into text fields as hypertext
links. Changes to model item names are automatically propagated across all
diagrams, including references to the model item in textual descriptions. The
active data dictionary also refers to the ability to view the same data in
different ways depending on the user's viewpoint. These varying views of
model content can help to improve the viewer's comprehension and workflow.
• Private Sandboxes
A Private Sandbox is a private view of the model that allows a user to work in
isolation without being affected by other user's changes to the same model.
• Model Reconcile
Usage
Modeler provides a turnkey solution for multi-user modeling using its object-
based database and active data dictionary.
Benefits
Agile re-structuring: With Modeler, you can easily change the package structure in
a model as the project evolves without having to restructure and change the access
controls in an external CM tool. The ability to restructure model content can
increase modeling productivity, particularly in early lifecycle phases when the
structure of a system is still evolving.
Robustness: Multi-user ensures that model consistency is maintained at all times.
This ensures consistency of the model regardless of the number of users and
without mandating unnecessary process constraints.
Granularity and locking: When you begin to modify the location, name,
properties, or associations of an item, Modeler automatically applies a lock on the
item and then releases it when you complete your modification. The fine
granularity and transaction-based approach to locking, reduces the potential for
multi-user conflicts.
Recommendations
To exploit the benefits of Modeler's multi-user client/server architecture, you will
need to deploy Modeler in its Client/Server configuration rather than in
Standalone configuration. In a Client/Server configuration clients are installed on
separate machines and access is provided to central databases through network
connectivity.
For large teams (50+), or a Wide Area Network (WAN) where clients connect to
the server through routers or firewalls that degrade throughput, a practical
optimization for network utilization issues is to deploy Microsoft Remote Desktop
Services or Citrix as this will reduce network traffic. Due to the network lag
introduced by routers, this may also improve performance for local users who are
not connected to the server on the same Local Area Network (LAN).
To make appropriate use of this architecture it is strongly recommended that Full
Logging is enabled and the database is backed up regularly.
For more information about Full Logging, refer to the following SQL Server help
topic:
Recovery Models
https://docs.microsoft.com/sql/relational-databases/backup-restore/recovery-
models-sql-server?view=sql-server-2017
It is also prudent to periodically test the integrity of the back up processes by
exercising the restoration capabilities.
If users are opening diagrams for read-only purposes, then it is recommended they
select the Open Diagrams Read-only check-box in the Tools Options dialog.
Usage
From Model Explorer, right-click the model, select New ▶ New Version to protect
the current version and create a new version. Previous versions of a model can be
opened by showing all versions in Model Explorer.
Benefits
Model availability: Model versions can be viewed at any time by clicking the
Show Versions toolbar button in Model Explorer without having to restore from
CM. Previous model versions are available for audit, review, and differencing
purposes without having to retrieve and rebuild them.
Disk efficiency and storage utilization: Versioning does not create duplicate
objects. Model versions are merely different re-configured views of the underlying
data in the database.
Usage
From Modeler, on the Property Pages of a Package, use the Access Permissions
tab to modify, add or delete access permissions to the Package.
Benefits
Package protection is often used when part of a model is imported into a separate
model for reference purposes. For example, the flow down of an analysis model
from a systems engineering team to a software engineering team, where this part
of the model is for reference only.
Access permissions are often used to limit the danger of inadvertent changes. For
example, when you have a large team working in different parts of the same
interrelated model, a growing team of new and inexperienced users, or many users
accessing the model merely for review and audit purposes.
Recommendations
Only use access control when you need to. The need for access rights will depend
upon the structure and size of your team and the development stage you are
currently in. It is important therefore that you choose a strategy that makes the
Usage
From Model Explorer, right-click a model and choose Difference to see that
commands that compare the current version of a model with another version.
Recommendations
If you want to capture the differences since a moment in time then create a version
of the model before starting work. This is needed if you need to permanently
retain the version of the model for downstream audit or to support roll-back.
Alternatively, you can export part of the model to disk for differencing purposes
downstream through the Component Sharing Wizard. This can be used when you
only need to capture parts of the model and do not need to rollback to a previous
model version downstream.
Usage
From Model Explorer, right-click the model version (not sandbox) and click
Export. An exported model version can be imported into a separate database using
the Import command in Model Explorer.
Benefits
Remote availability: Model versions can be exported into a different Modeler
database. This is useful for sending a snapshot of the model to an external site for
read-only review purposes.
Scalability: Importing models using Model Explorer is more efficient than
importing using Package import and export or the Component Sharing Wizard as
it does not require the merging of new data with existing data.
Consistency: Importing and exporting a complete model results in a more
consistent view as it ensures that the model is fully consistent with itself.
Importing and exporting Packages increases the risk of version skew.
Recommendations
Note that the latest version of a model (the tip) is writable. When delivering a
model to another team you want to send them a fixed version of the model not the
tip. To do this you should first version the model in Model Explorer and then
export the protected version of the model.
After you have exported the model, you can email it to other sites or check it into
CM as part of a project baseline.
Usage
From Modeler, On the Property Pages for the Model, select the Enable Change
Tracking check box. This enables the Change Tracking feature model wide.
Benefits
Communication of change: After being enabled, change tracking ensures that an
audit trail is maintained against all model items. This is useful for enhancing the
communication of change between collaborating users.
Detailed changes: The detailed changes information includes a full audit trail of
all the changes made. This information is accessible through the automation
interface and hence can be used for custom reports, change metrics or audit
purposes.
Changed items synopsis: A synopsis of what items were touched in the process of
completing a change is also available. In the Relationships pane, you can see
which items have been affected by a Change Note. You can quickly find a Change
Note in the Relationships pane by right-clicking the Change Note, pointing to
Find, and then clicking In Relationships Browser. This list of items can be used as
a check-list for the review cycle.
Recommendations
Modeler CM’s features empower you to choose the level of tracking and control
you deem appropriate for your project in its particular stages of development.
However, this does come at the cost of adding information to the model and
requiring additional processes to support Change Notes. At certain project stages,
a barrier preventing changes is needed. For example: after delivery. At other
project stages, such a barrier is not useful. For example: early in the project
lifecycle when the aim is to use the model to improve communication of ideas
between people.
Using temporary Change Notes: Change tracking requires that all users of the
model have an active change node when making edits and a Change Note
monitors all modifications made by the user in their session throughout the Model.
If parts of the model are not under formal change control, then it may be necessary
to create dummy Change Notes for users who are changing these. If many people
are using the same temporary Change Notes then the number of links can become
large. When using this technique therefore, housekeeping is recommended to
regularly delete temporary Change Notes from the model.
Housekeeping: Change tracking will increase the storage space required for a
model and increase the time taken to perform model-level operations, such as,
versioning and model imports and exports. If the number of changes is great, then
you may elect to periodically delete Change Notes from the model. One option is
to version the model when a particular milestone is complete, delete all the closed
Change Notes, and then start again. An alternative is to version the model after the
completion of a particular change and then delete the Change Note. The Change
Notes will be stored in the versioned model and hence are not lost. An external
cross reference of Change Notes to Model Versions could be maintained in, for
example, an external CM tool or external database. If the model has been
versioned then it can be opened for downstream audit to recover the complete
details of changes associated with a Change Note.
Deleting Change Notes: When deleting a Change Note a different Change Note
must be set to active, so that a record of the deletion is tracked. One suggestion is
to have a Change Note in the model for use by a model administrator for deleting
Change Notes.
Change Notes can also be stereotyped to record information relating to your
process, for example, adding a tag definition that records a particular review
status, such as In Progress, Reviewed and Completed. A description can also be
added to the Change Note to summarize the overall change.
Usage
If you want to move a subsystem or component to a different model, use Package
Import/Export or the Component Sharing Wizard to move the subsystem or
component Package to a different model. The Component Sharing Wizard has the
advantage of identifying any dependencies that the Package has.
Benefits
Model size: Breaking large projects into subsystem and component specific
models results in smaller more manageable models.
Scalability: Large projects can be modeled without individual models becoming
too large.
User access: When a model contains only a subsystem or component, access to
that subsystem or component can be controlled at the model level.
Recommendations
Ensure that each subsystem or component has its own Package.
When deciding how to assign subsystems to models, you should consider the
following factors:
• How large each subsystem is likely to be.
• Which users require access to the different subsystems.
• How connected the different subsystems have to be. You cannot create
Modeler links between subsystems that are in different models.
When a subsystem or component is likely to be reused:
• Ensure that the subsystem or component is modeled in its own Package, so
that it can be easily copied or moved.
Benefits
Database .bak files take minutes to capture and restore because they do not
require the translation of data. They are a very efficient way of capturing a
complete snapshot of a database.
Recommendations
It is recommended that database .bak files are automatically generated as part of
overnight back ups. Providing you have a policy in place, you could take the
Backup file from the previous night, and check this into CM.
.bak files need to be generated by users who have server access. If this is
required regularly then you could set up certain users with remote login
capabilities so they can connect to the server when needed.
.bak files contain text. If you want to email a database .bak file, then compress
the file to a zip file.
If your model includes Attribute Files such as generated Word and Excel
documents or you have created custom properties for your model then your
backups must include the Database's ModelerATFiles subdirectory as the .bak file
Usage
From Modeler, right-click a Package and select Tools ▶ Component Wizard ▶
Export To Directory to export set of Packages to a file. The component information
is zipped into a compressed format so that can be emailed between sites or
checked into a CM tool. To import the file, right-click the Package in which you
want the exported Package to reside, and select Tools ▶ Component Wizard ▶
Import From Directory.
Alternatively, from Modeler, right-click a Package and select Tools ▶ Component
Wizard ▶ Export To Model to export Packages from a publishing model into a
subscribing model. You can use the Import From Model command to import
Packages from a publishing model.
Recommendations
Version the publishing model and then export the relevant Packages from the
protected version using the Component Sharing Wizard.
Interfaces should be put in a shared Package that is updated as a whole. Where
possible, separate private Packages from public Packages and only share the
public Packages to reduce the coupling between models.
It is not possible for a model to have more than one root model object. This means
that the Component Sharing Wizard can only export and import Packages and
their contents. If you want to share a whole model inside another model then the
publishing model will need to have a single root Package, for example, named
after the model. To import an analysis model into a design model, for example,
create a single root Package in the analysis model and put all the Packages and
items in the model under this root Package. You can then share the root Package
and all its children in other models.
Ensure, where possible, that the Packages that need to be shared have a common
root Package so that you can move a complete Package hierarchy as one.
Although there may be more than one subscribing model, there should only ever
be one publishing model. Packages imported into the subscriber model should
always be protected so they are read-only.
If you want to share a whole model using the Component Sharing Wizard then
create a single root Package, for example, named after the model, and move
everything into it. You can then share the single root Package and all its children.
Usage
From Model Explorer, right-click a model, and select New and then click New
Private Sandbox to create a personal branch of the selected model.
Notice that trunk versions of a model have an integer value, starting at 0. The
sandbox versions of a model have three parts delimited by periods, such as 1.1.0.
The value of each part is determined as follows:
• The first part is set to the model version in the trunk from which the sandbox
was created. For example, if a sandbox has a version number of 2.1.3, you
know that it was created from version 2 of the model.
• The second part is determined by how many sandboxes have been created
from the same trunk version. For the first sandbox that is created from a trunk
version, the value is set to 0, for the second sandbox that is created from the
same trunk version the value is set to 1, and so on. For example, if a sandbox
has a version number of 2.1.3, you know that it is the second sandbox to be
created from version 2 of the model.
• The third part is determined by how many times the sandbox has been
versioned. When the sandbox is created, this value is set to 0. For the next
version of that sandbox, the value is set to 1, and so on. For example, if a
sandbox has a version number of 2.1.3, you know it is the fourth version of
that sandbox.
From Model Explorer, right-click a sandbox and click Rebase to merge changes in
the trunk into a private sandbox. Conflicts where the same model item has been
updated in parallel will be reported and can be resolved before creating a new
version of the sandbox.
Recommendations
Use a private sandbox for each separate change or set of dependent changes made
by one user. A sandbox should only be shared with another user when very close
cooperation is needed. Although access permissions can be changed, by default a
sandbox is private to the user that creates it.
It is good practice to always rebase before reconciling, so that changes can be
tested privately in the branch before being reconciled to the trunk.
If you rebase often then this creates frequent but smaller integration work. If you
rebase infrequently then you increase the risk of larger integration work. This is
known as the integration-versus-isolation conundrum. When using sandboxes, the
goal is to achieve a balance, that is, do not rebase so often that it causes disruption
to your tasks but rebase often enough to keep abreast of changes that may affect
your work.
Do not unprotect the trunk model. The trunk model will be protected by default.
This significantly improves the time taken to create and reconcile sandboxes and
reduces contention between users.
If the changes need to be abandoned, the sandbox can be kept without being
reconciled or deleted.
After a milestone is reached, old reconciled sandbox versions can be deleted by
the Database Administrator or Model Owner, if desired, as the reconciled changes
can be constructed by comparing the trunk versions.
To make appropriate use of this architecture it is strongly recommended that Full
Logging is enabled and the database is backed up regularly. It is also prudent to
periodically test the integrity of the backup processes by exercising the restoration
capabilities.
The Modeler Help has a topic on database-based configuration management;
including a review of terminology and working with branches, see the Database-
based Configuration Management section of the Modeler Help.
Usage
From Model Explorer, right-click the latest version of the model, point to New
and then click New Private Sandbox.
Note that a trunk version number is an integer value, such as 1. A branch version
number has three parts, such as 1.1.0. The previous use case describes how the
sandbox version numbers are derived.
Maintenance fixes that are made in the trunk for the current release can be merged
to the sandbox for the next release. You do this through a rebase operation. To
rebase a sandbox, right-click the tip version of the sandbox, and then click
Rebase.
When it is time for the next release of the model to be released, merge the sandbox
to the trunk so that the next release in the sandbox of the model becomes the
current release in the trunk. You do this through a reconcile operation. To
reconcile a sandbox, right-click the tip version of the sandbox, point to Reconcile,
and then click To Trunk.
Benefits
Efficiency: Maintenance fixes have to be made only in the trunk for the current
release of the model. Rebase operations merge those changes to the sandbox for
the next release of the model.
Parallel development: Changes made to the Next Release of the model in the
sandbox do not affect Current Release in the trunk.
Recommendations
It is good practice to always rebase a sandbox before reconciling it, so that
changes can be tested privately in the sandbox before being reconciled with the
trunk.
If you rebase often then this creates frequent but smaller integration work. If you
rebase infrequently then you increase the risk of larger integration work. This is
known as the integration-versus-isolation conundrum. When using sandboxes, the
goal is to achieve a balance, that is, do not rebase so often that it causes disruption
to the development of the next release, but rebase often enough to keep abreast of
the maintenance fixes in the current release.
After reconciling a sandbox, the tip version of the trunk will be protected. Do not
unprotect the tip version of the trunk. This significantly improves the time taken to
create and reconcile sandboxes and reduces contention. To continue development
of the trunk, create a new version of it.
To make appropriate use of this architecture it is strongly recommended that Full
Logging is enabled and the database is backed up regularly. It is also prudent to
periodically test the integrity of the backup processes by exercising the restoration
capabilities.
The clone may be versioned and sandboxed as necessary, but will take more disk
space and time to create than a sandbox. Any Packages which are shared between
the original model and the clone can be kept up to date using Component Sharing
Wizard. If a Package needs to be modified in both models, it can be shared via a
sandbox so that changes can be reconciled. This may be used to create multiple
variant models from the same base.
This document does not cover the variability modeling features of Modeler.
Variability modeling allows you to choose variability options for a model and then
generate a product model based on the options you have chosen. For more
information about variability modeling, see the Modeler Help.
Note
Note that this process ensures that it is possible for both the original author
and subcontractor to make changes to the Package then reconcile them in a
managed way. However, working in parallel in this way should be done
carefully as the problems with reference to the isolation-versus-integration
conundrum.
231
Adding a certificate to SQL Server
To add a certificate to SQL Server:
Note
We recommend you use a commercial certificate that is signed by a trusted
Certificate Authority.
Note
If you do not have Local Administrator rights and you attempt to install
Modeler, the installation will fail.
237
Problems Experienced When Installing
the Software
This section covers problems that occur during the installation process.
The installation log file is named PTCWindchillModeler_MSI_<version
number>.log and is generated to your Windows temp folder. To view the
content of your Windows temp folder in Windows Explorer, in the Address box
type %temp%, and then press the Enter key.
The following table documents known issues that can affect the installation
process.
Problem Solution
Installation closed with local See Checking you are logged on to
administrator rights required message. Windows with administrator rights on
page 234.
There was not enough disk space to See the Modeler Release Notes for
complete the installation. information about how much disk space
is required for the installation type you
performed.
Installation stopped before copying all This problem can be caused by virus
the files to the computer. checkers. See Disabling virus checkers
during installation on page 236.
Installation prompted me for The Publisher add-in creates Microsoft
information about Microsoft Word and Word documents. If Microsoft Word is
I do not have it installed. not installed we recommend that you do
not install the Publisher add-in.
database is already mapped message. You are reinstalling Modeler, and the
database has been previously installed.
You may want to install the database
again as it may contain updated models.
Run-time error message. Check that virus checkers are disabled,
close any applications that are running,
and then repeat the installation.
Database not installed message. On an upgrade, this can be caused by
the user not being a Database
Administrator. If this is the case, set up
the user as a Database Administrator
and repeat the installation.
Note
You can manually register a DLL file only if you have administrator rights.
1. From Windows Explorer, right-click the DLL file you want to register, and
then click Open With.
2. If you are using Windows 8.1 or Windows Server 2012:
a. From the warning dialog, click More Options.
b. From the next dialog, click Look for Another App on This PC.
If you are using Windows 10, Windows 7 or Windows Server 2008:
a. If the Caution dialog is displayed, click Open With.
b. From the Windows dialog, select the Select the program from a list of
installed programs option, and then click OK.
c. From the Open With dialog, click Browse.
3. Locate and select the Regsvr32.exe application that resides in your
Windows System32 folder, and then click Open.
To Start a Database:
1. Start Model Explorer.
2. Expand the SQL Icon, the Server Instance, then right-click the database you
want to start.
Note
The above stored procedure works only if the log file size is greater than 2
GB. If it is, then the log file size is truncated to 64 MB.
For more information about stored procedures, refer to the following SQL Server
help topic on how to execute a stored procedure:
https://docs.microsoft.com/sql/relational-databases/stored-procedures/execute-a-
stored-procedure?view=sql-server-2017
For more information about backing up and deleting log files, see the
Administration chapter of the Modeler help.