CATIA Infrastructure
Installation Guide
Version 5 Release 16
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 2
Special Notices
CATIA is a registered trademark of Dassault Systmes.
Protected by one or more U.S. Patents number 5,615,321; 5,774,111; 5,821,941; 5,844,566; 6,233,351;
6,292,190; 6,360,357; 6,396,522; 6,459,441; 6,499,040; 6,545,680; 6,573,896; 6,597,382; 6,654,011;
6,654,027; 6,717,597; 6,745,100; 6,762,778; 6,828,974; 6,904,392 other patents pending.
Any of the following terms may be used in this publication. These terms are trademarks of:
Java Sun Microsystems Computer Company
OLE, VBScript for Windows, Visual Basic Microsoft Corporation
IMSpost Intelligent Manufacturing Software, Inc.
All other company names and product names mentioned are the property of their respective owners.
Certain portions of this product contain elements subject to copyright owned by the following entities:
Copyright Dassault Systemes
Copyright Dassault Systemes of America
Copyright D-Cubed Ltd., 1997-2000
Copyright ITI 1997-2000
Copyright Cenit 1997-2000
Copyright Mental Images Gmbh & Co KG, Berlin/Germany 1986-2000
Copyright Distrim2 Lda, 2000
Copyright Institut National de Recherche en Informatique et en Automatique (INRIA
Copyright Compaq Computer Corporation
Copyright Boeing Company
Copyright IONA Technologies PLC
Copyright Intelligent Manufacturing Software, Inc., 2000
Copyright SmarTeam Corporation Ltd
Copyright Xerox Engineering Systems
Copyright Bitstream Inc.
Copyright IBM Corp.
Copyright Silicon Graphics Inc.
Copyright Installshield Software Corp., 1990-2000
Copyright Microsoft Corporation
Copyright Spatial Corp.
Copyright LightWork Design Limited 1995-2000
Copyright Mainsoft Corp.
Copyright NCCS 1997-2000
Copyright Weber-Moewius, D-Siegen
Copyright Geometric Software Solutions Company Limited, 2001
Copyright Cogito Inc.
Copyright Tech Soft America
Copyright LMS International 2000, 2001
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 3
CAM-POST Version 2001/14.0 ICAM Technologies Corporation 1984-2001. All rights reserved
The 2D/2.5D Display analysis function, the MSC.Nastran interface and the ANSYS interface are based on LMS
International technologies and have been developed by LMS International
ImpactXoft, IX Functional Modeling, IX Development, IX, IX Design, IXSPeeD, IX Speed Connector, IX Advanced
Rendering, IX Interoperability Package, ImpactXoft Solver are trademarks of ImpactXoft. Copyright 2001-
2002 ImpactXoft. All rights reserved.
This software contains portions of Lattice Technology, Inc. software. Copyright 1997-2004 Lattice
Technology, Inc. All Rights Reserved.
Overview
Conventions
What's New?
Installing Version 5
What You Need Before Installing Version 5
Hardware Requirements
Software Requirements
Distributing Code
Distributing Version 5 on Windows
About Distributing Version 5 on Windows
Distributing the Software To a Single Client Computer
Distributing the Software To a Client Using the RCMD Command
Accessing the Software From a Thin Client
Distributing the Software in Compressed Form
Distributing a Service Pack From an Archive File on Windows
Distributing Version 5 on UNIX
About Distributing Version 5 on UNIX
Setting Up the Server
Distributing the Software To A Client Workstation
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 5
Enabling User Access to the Software Over the Network
Distributing a Service Pack From an Archive File on UNIX
Setting Up Vault Servers and Clients
Vault Server and Client Concepts
Setting Up the Vault Server
Installing the Vault Server Manually
Setting Up the Vault Server Cache
How to Set Up File Transfer Mode for the Vault
Vault Administration Tools
Analyzing and Repairing Vault Links
Setting Up a DB2 DATALINK Vault Server
Migrating a Vault Server Manually
Administering Version 5
Licensing
Licensing Overview
Licensing Tools
Enrolling Nodelock Licenses After the Installation
Reserving Static Licenses Using the License Manager
Reserving Shareable Product Licenses Dynamically
Running in Demo Mode
Enabling Concurrent Offline Licensing
Overview
Welcome to the Version 5 Installation and Administration Guide!
This guide is intended for system administrators who need to install code and set up Version 5 products for use
by end users.
Conventions
Certain conventions are used in CATIA, ENOVIA & DELMIA documentation to help you recognize and understand
important concepts and specifications.
Graphic Conventions
The three categories of graphic conventions used are as follows:
a target of a task
the prerequisites
a tip
a warning
information
basic concepts
methodology
reference information
Site Map
What's New?
Overview
Getting Started
Basic Tasks
Interoperability
Workbench Description
Customizing
Administration Tasks
Reference
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 10
Methodology
Glossary
Index
Text Conventions
The following text conventions are used:
The titles of CATIA, ENOVIA and DELMIA documents appear in this manner throughout the text.
File -> New identifies the commands to be used.
Enhancements are identified by a blue-colored background on the text.
Use this
mouse button... Whenever you read...
Drag
Move
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 11
Right-click (to select contextual menu)
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 12
What's New?
New and Enhanced Functionalities
Installation
Administration
Installing Version 5
What You Need Before Installing Version 5
Installing Version 5 Products on Windows
Installing Version 5 Products on UNIX
Distributing Code
Setting Up Vault Servers and Clients
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 14
Hardware Requirements
Common Hardware Requirements
The following requirements are common to all operating systems supported by Version 5. System unit and graphic requirements are
platform specific and are detailed in the topics that follow:
Disk drive: an internal or external disk drive (minimum recommended size : 4 GB) is required to store program executables, program
data, usage environment and paging space.
Installation of all CATIA Version 5 Products require 2.0 GB on Windows, 2.4 GB on AIX, 2.7 GB on HP-UX, 2.5 GB on IRIX and 2.3 GB on
Solaris.
Installation of all ENOVIA DMU products requires about 700 MB on Windows, 900 MB on AIX or IRIX, 1.0 GB on HP-UX, 800 MB on
Solaris.
Memory: 256 MB of RAM is the minimum recommended amount of memory for all applications. 512 MB of RAM is recommended for
DMU applications on large assemblies (and for the CATIA - Digitized Shape Editor 2 (DSE) product). Requirements may be greater when
large amounts of data are used.
Internal/external drives: a CD-ROM drive is required for program installation and access to the online documentation, which can
optionally be downloaded to disk.
Display: A graphic color display, compatible with the selected platform-specific graphic adapter. The minimum recommended size for
usability reasons is 17 inches. The minimum resolution required for Windows workstations is 1024 x 768, and 1280 x 1024 on UNIX
workstations. Changing the resolution during a session is not supported. You first have to exit the current session, change the resolution
then restart the session, otherwise the result is unpredictable.
When selecting a graphic adapter, hardware texturing capability is strongly recommended when using Version 5 products that use
texture mapping, in which case the amount of RAM has to be adequate for the number and complexity of textures to be used.
Keyboard: a specific keyboard compatible with selected installation locale may be required for national language support.
Pointing device: 3-button mouse. On Windows workstations, a 2-button mouse may alternatively be used (the third button is emulated
with a keyboard sequence). The 3-button mouse is recommended for usability reasons. The IntelliMouse (two buttons plus wheel) is an
alternative to the three-button mouse on Windows workstations, the wheel acting as the middle button and allowing additional
manipulations such as panning and scrolling.
SpaceBall and SpaceMouse can be used, in addition to the mouse, to perform graphic manipulations (zoom, pan, rotate, etc.). The
necessary drivers are delivered with the device.
These devices can be used with CATIA - DMU NAVIGATOR 1 (DN1), CATIA - DMU SPACE ANALYSIS (SP1) and all CATIA P2 Products.
The robustness of the overall solution is dependant on the robustness of the operating system and the hardware environment used.
Windows and UNIX hardware configurations certified by Dassault Systemes for running products are published at:
http://www.ibm.com/solutions/plm
Although products might run on other configurations or other graphic adapters, incidents specific to these configurations or adapters
would not be accepted for support.
System Unit
Intel Pentium III or Pentium 4-based workstations running Windows2000 Professional Edition, or Windows XP Professional Edition.
Network Adapter
An active LAN adapter (Ethernet or Token Ring, installed and configured) is required for licensing purposes.
Graphic Adapter
An OpenGL-capable graphic adapter is required. Note that graphic performance on local transformations (panning, zooming, rotating
model) will depend on the selected graphic adapter. This graphic adapter should have the following capabilities:
A 32-bit application can only address a theoretical maximum of 4 GB of memory. Most operating systems can use an addressable
amount of memory less than 4 GB, typically 2 to 3 GB. The system memory will be limited my reservation of operating system functions
and the running application. For CATIA, the theoretical maximum memory was 3 GB, in practice a user had 2.5 GB for productive usage.
The AIX 5L operating system is a true 64-bit operating environment supported by IBM's pSeries and IntelliStation POWER hardware
platforms. Dassault Systemes' ENOVIA DMU Review 2 Configuration, for example, can now access the full 64-bit range of up to 8 TB
(Terrabyte) of real addressable memory when used on IBM 64-bit platforms, or virtual memory can be used to expand the capacity up to
1 YB (Yottabyte).
To check if the environment is well prepared to enable 64-bit application support, run the following commands to ensure the following
system kernels are available on the system:
cd /usr/lib/boot
ls -al
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 17
The unix_64 file should be listed. If so, the system can be switched to enable 64-bit operating support.
/usr/lib/boot/unix_64
bootinfo -K
or:
bootinfo -y
32
64
4. cd /usr/lib/boot
5. ln -fs /usr/lib/boot/unix_64 unix
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 19
8. shutdown -Fr
Once the system is rebooted, verify that the 64-bit kernel is running.
To reactivate the 32-bit environment, execute the previous commands on the original files, create a new kernel and reboot the system.
Pentium III or Pentium 4-based workstations running Microsoft Windows 2000 Professional Edition or Windows XP Professional Edition.
Graphic Adapter
A graphic adapter with a 3D OpenGL accelerator is required. Note that graphic performance on viewing functions (panning, zooming,
rotating) will depend on the selected graphic adapter. The graphic adapter should have the following capabilities:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 20
24 bits, true color, double buffered visual
24 bits Z-buffer
stencil buffer
minimum supported resolution: 1024 x 768; a resolution of 1280 x 1024 is recommended for usability reasons.
Network Adapter
An active LAN adapter (Ethernet or Token Ring, installed and configured) is required for licensing purposes.
An updated list of hardware configurations, certified at Dassault Systemes for running Version 5 products, is published on the V5 Web
site at URL:
http://www.ibm.com/solutions/plm
System Unit: Intel Xeon EM64T, AMD Opteron 64-bit based workstations running Windows XP Professional x64 Edition.
Supported Configurations on Windows XP Professional x64 Edition: An updated list of hardware configurations, certified at
Dassault Systemes for running CATIA Version 5 products, is published on the CATIA V5 Web site at URL:
http://www.ibm.com/solutions/plm/
IBM AIX
System Unit
Power2 or Power3 or Power4 processor families, supported on AIX Version 5.2, provided that requirements described below are met.
Graphic Adapter
GXT500P
GXT550P
GXT800P
GXT800M
GXT2000P
GXT3000P
GXT4000P
GXT4500P
GXT6000P
GXT6500P
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 21
HP-UX
System Unit
Any B-Class, C-Class or J-Class workstation supported on HP-UX Version 11.11 (HP-UX 11i), provided that requirements described below
are met.
Graphic Adapter
Visualize-FXE
Visualize-FX2
Visualize-FX4
Visualize-FX5
Visualize-FX6
Visualize-FX10
Fire GL-UX
Fire GL T2-128
Fire GL X1
FireGL T2-128
FireGL X3
SGI IRIX
System Unit
Any O2, Indigo2, Octane, Octane2, Fuel, Onyx2, Onyx3000, or Tezro workstations based on R5000, R10000, R12000, R14000 or R16000
processors, supported on IRIX 6.5.
Graphic Adapter
setenv CAT_Phong 1
to enable phong (per-pixel) lighting for light sources in Version 5 without any impact on performance.
This feature allows only one light to be activated (which is the default lighting in Version 5).
export CAT_OdyOptim=1
SGI Onyx
Graphics Performance Tuning
export CAT_OdyOptim=1
If you want to use more Display List memory, export the variables as shown below. The values indicated correspond to a 500Mo memory
(500Mo = 1024 x 1024 x 500 = 524288000):
export GLKONA_RESERVE=524288000
export GLKONA_RESERVE_LIMIT=530000000
Note: this reserved memory is taken from the physical system memory, thus make sure that the size is correctly balanced between the
model and your system memory.
If you are fill-limited, you can export the following variable to use the DIGITAL VIDEO RESIZING:
where "number of frame" is the number of frames per second you would like to achieve.
The screen resolution will change automatically while moving the model to reach the number of frames per second you specified.
Sun Solaris
System Unit
any Ultra1, Ultra2, Ultra10, Ultra30, Ultra60, SUN Blade 100, SUN Blade 150, SUN Blade 1000, SUN Blade 1500, SUN Blade 2000 or SUN
Blade 2500 or SUN Blade 1500+ (1.5GHz) workstation based on UltraSPARC processor, supported on Solaris 8, provided that
requirements described below are met.
Graphic Adapter
Creator3D
Creator3D Series III
Elite 3D (U10-440 Mhz only, for U10 workstations)
Expert3D Lite
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 23
Expert3D
XVR-500
XVR-1000
XVR-1200
XVR 600
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 24
Software Requirements
Common Software Requirements
Version 5 runs on selected system levels of:
Windows 2000
Windows XP
IBM AIX
Hewlett Packard HP-UX
SGI IRIX
Sun Solaris.
Refer to the Program Directory or contact your IBM Support Center, for appropriate corrective service to apply to the software
described in the topics that follow.
Windows 2000 / XP
Minimum level required: Windows 2000 Professional Edition, with Service Pack 4 or higher, or Windows XP Professional Edition with
SP1 or SP2, with the following components:
A Microsoft implementation of OpenGL libraries, as delivered with Windows 2000 or Windows XP.
For recommendations related to driver levels based on tested graphic adapters, visit:
http://www.3ds.com/implementation/technology/windows/certified-workstations-list/
A localized version of the operating system may be required when selected installation differs from Latin 1.
Note: For remote access from networked clients, Terminal Server is supported by Windows 2000 Server, Windows 2000 Advanced
Server, Windows 2003 Standard Edition or Windows 2003 Enterprise Edition and Windows XP Professional.
Minimum level required: Windows XP Professional x64 Edition, and the following components: a Microsoft implementation of OpenGL
libraries, as delivered with Windows. For recommendations related to driver levels based on tested graphic adapters, visit:
http://www.3ds.com/implementation/technology/windows/certified-workstations-list/
Minimum level required: Windows XP Professional x64 Edition, and the following components: a Microsoft implementation of OpenGL
libraries, as delivered with Windows. For recommendations related to driver levels based on tested graphic adapters, visit:
http://www.3ds.com/implementation/technology/windows/certified-workstations-list/
HP-UX
HP-UX Version 11.11 (HP-UX 11i), with the following components:
ANSI C++ Runtime Environment (aC++, at a minimum level of 3.50, delivered with the operating system)
HP Fortran 90 Runtime Environment (delivered with the operating system)
OpenGL 3D API Runtime Environment
CDE (delivered with the operating system)
A localized version of the operating system may be required when the selected installation differs from ISO code pages.
SGI IRIX
Minimum level required: IRIX 6.5.15m, with the following components:
C, C++ and Fortran77 standard execution environment at level 7.3.1 (delivered with the operating system)
OpenGL (delivered with the IRIX execution environment)
IRIX Interactive Desktop (delivered with the operating system)
WorldView when the selected installation locale differs from ISO-1.
Sun Solaris
Sun Solaris 8 H/W 05/03, with the following components:
A localized version of the operating system may be required when the selected installation differs from ISO-1.
CATIA - V4 Integration 2 (V4I) requires, on the CATIA Version 5 client, for interoperability with CATIA Version 4 CDM and ENOVIA
VPM 1:
Note: Please contact your IBM or Oracle local representative for support and planning information on DB2 UDB or Oracle.
CATIA Version 4 CDM and ENOVIA VPM interoperability is available through CATIA - V4 Integration 2 (V4I) for the following products:
Interoperability of CATIA Version 5 on the supported Windows platforms with ENOVIA VPM through ENOVIA 3d com requires, on the
client side, either (depending whether the database server is a DB2(R) or an Oracle server):
Math Kernel Libraries: on Intel architecture in a Windows 2000 or Windows XP environment, the use of Intel Math Kernel Libraries
(MKL) 5.2 or 6.0 can improve the performance of the following products:
http://developer.intel.com/software/products/mkl/
This requirement is optional. For more information, refer to the section "Before You Begin" in your Generative Structural Analysis
documentation.
Only the latest version of Intel MKL can be found on the site, and this version may be at a higher level than level 5.2 required for
Version 5. In this case, you can download it from the Intel FTP site (see Generative Structural Analysis Documentation, section
"Before You Begin").
Within Version 5 Products, certain advanced functionalities (used in the Real Time Rendering and FreeStyle applications) require the
use of OpenGL shaders, and these shaders are implemented with the CgFX API (Nvidia). These advanced visual effects (like
advanced realistic materials) work on all the following graphics cards: nVIDIA, ATI, 3DLabs. (refer to the Program Directory for
details graphics cards and drivers that have been certified for OpenGL shaders for Version 5).
To be able to benefit from OpenGL shaders, you need to download the Cg toolkit (Cg1.4) from the nVIDIA website:
http://www.nvidia.com/object/cg_toolkit.html
from the Windows category. There are two versions: one for the 32-bit platform, and one for the 64-bit platform. Make sure you
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 27
download the appropriate version. When installing the toolkit:
1. Uncheck the option "Developer: Installation to be able to develop Cg-based applications" (because this option is not required
for running Cg).
2. Check the option "Minimal: Installation to be able to run Cg-based applications".
as illustrated below:
When Cg setup is finished, you will be prompted to add Cg executables and dlls to your system path:
Product information is delivered on the product CDs in HTML format. An HTML browser is required to access this documentation.
Supported Browsers
On UNIX or Windows, Mozilla 1.4 with Java Plug-ins at level 1.4 (the java level is available in the Program Directories).
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 28
Although access to the online documentation might work on other HTML browsers, incidents specific to browsers other than those
specified are not eligible for support.
Product information is also supplied on the product CDs in Portable Document Format (PDF) form. Viewing and printing of the PDF
files requires the Adobe Acrobat Reader at a minimum level of 5.0. The reader can be downloaded, at no charge, from:
http://www.adobe.com/
Licensing
Windows workstations must have an active LAN card (Ethernet or token ring) and TCP/IP installed and properly configured, but there
is no need to have the workstations connected to the network.
License Use Management (LUM) is required to serve concurrent licenses across a network. A LUM configuration file (i4ls.ini) is
required on clients to access concurrent licenses from these servers.
Server and nodelock licensing mechanisms are available for P1, P2 and P3, on all supported operating environments (Windows 2000,
Windows XP, AIX, HP-UX, IRIX and Solaris).
IBM License Use Management 4.6.7 is shipped with Version 5 Release 15. Other versions of LUM may be obtained, at no charge,
from:
http://www.software.ibm.com/is/lum/download.html
IBM License Use Management High-Availability Licensing (HAL) enables you to set up an environment in which there is a very high
degree of certainty that concurrent licenses will be available, even if a network license server goes down.
When you use this option, you create a cluster of network license servers. A cluster is a group of from 3 to 12 network license
servers that jointly serve vendor-managed concurrent licenses that are enrolled on the cluster rather than on an individual server.
If you decide not to use HAL, when the server goes down, your Version 5 session remains active and another license is requested
from another license server. If the license is granted, the total number of licenses granted is increased by one. With HAL, if the
license is granted, the total numbers of licenses granted stays the same.
Consider that for HAL cluster members, it is strongly recommended to upgrade all the servers to LUM Version 4.6.5.
For more information about High-Availability Licensing, refer to the LUM documentation "Using License Use Management Runtime"
for your platform.
Visual Basic Script (VB Script) at minimum level 5.0. It is delivered with Microsoft Internet Explorer. VB Script libraries at level
5.0.0.3715 are delivered with Microsoft Internet Explorer 5.0 or at later levels with later versions of Microsoft Internet Explorer.
Use of VB Script is recommended for developing Windows/UNIX compatible macros.
Microsoft Visual Basic for Applications (VBA) at minimum level 6.0. VBA is delivered and installed by default with Version 5.
Windows
Printers and plotters are supported through the vendor's drivers for the targeted printer of plotter relative to the targeted version of
the operating system. Contact the printer or plotter vendor for requirements and support.
UNIX
ClearCoat technology is available for IRIX and Windows (SGI only) systems running Version 5 Release 4 or higher. It is supported for
more realistic shading effects. This technology reproduces the reflective nature of glossy materials such as paint, plastic and glass.
This life-like rendering technology improves greatly the fidelity of styling reviews.
You can access this new technology on SGI UNIW/Windows workstations by downloading the runtime library from the following site:
http://www.sgi.com/software/clearcoat
This library must be installed in the Version 5 filetree containing runtime code (...code/bin).
Once the ClearCoat software is installed, the environment mapping textures applied in Version 5 will be modified in a way to produce
the ClearCoat effects.
ClearCoat 360
ClearCoat 360 technology (SGI only) is supported for real-time lighting and reflection computation. It is available for IRIX Systems
running Version 5 Release 5 or higher.
You can apply ClearCoat 360 (.cc360 extension files) the same way you apply textures to your model:
Version 5 Material Library product lets you create materials with ClearCoat 360 textures.
Version 5 Photo Studio product lets you create a Box environment where you can apply environment textures used by your
ClearCoat 360 files.
You can download the ClearCoat 360 runtime environment from the following site:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 30
http://www.sgi.com/software/clearcoat
To create ClearCoat files, use the Sphere Maps generator SMGen. SMGen ordering instructions are available from the following site:
http://www.sgi.com/software/clearcoat
export CC360MipMap=1
to enable mipmapping on ClearCoat 360 rendering. This can improve quality on surface edges and has a low impact on performance.
The MPK version 3.1 libraries are required to run multipiped sessions on SGI IRIX. If these libraries are not installed, you will not be
able to launch a multiscreen session. You can also put the libmpk.so.3 library directly in your irix_a/code/bin directory. For detailed
information, you can browse the following Web site:
http://www.sgi.com/software/multipipe/sdk/
Using WMQ communication tools, some batch operations can now be launched remotely. When implemented at the batch level, this
optional feature requires WMQ at minimum level 5.3. For availability of client and server components on supported platforms, visit:
http://www.ibm.com/software/integration/wmq/
WMQ Client is required on systems where the transaction is initiated. WMQ Server is required on systems where remote batches are
executed.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 31
The screen shots for this installation guide were taken on a computer running Windows 2000.
This Windows 64-bit operating system supports processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel Pentium 4
with Intel EM64T support.
Until now, the same media was used for all Windows platforms. Now, there are both 32-bit code installation CD-ROMs which you can install on
Windows 2000, Windows XP and Windows XP Professional x64 Edition, and 64-bit code installation CD-ROMs which you can install only on
Windows XP Professional x64 Edition.
This means that on Windows 2000 and Windows XP, only 32-bit installations are possible, whereas on Windows XP Professional x64 Edition both
32-bit and 64-bit installations are possible.
CATIA
DELMIA
ENOVIA DMU Navigator.
neither the ENOVIA LCA client nor the ENOVIA LCA server are supported in 64-bit mode on Windows XP Professional x64 Edition
ENOVIA LCA Navigator 32-bit code is supported on Windows XP Professional x64 Edition
ENOVIA 3d com Navigator (Modular and Classic) 32-bit code is supported on Windows 64-bit
the following ENOVIA V5 VPM products are supported in 64-bit mode:
VPM Navigator
VPM Configured Product Design
VPM Relational Design
VPM Supply Chain Engineering Exchange
VPM Instant Collaboration,
VPM Electrical Cable Route Management
Installation and de-installation rely on Windows-compliant tools enabling anyone familiar with Windows procedures and concepts to install the
software without assistance.
Before starting the installation, refer to What You Need Before Installing Version 5 to check you have all the hardware and software
prerequisites.
Furthermore, to prevent the installation from hanging due to concurrently running programs such as screen savers or virus scanning programs,
we recommend that you first shut down any such programs.
You must also have your license enrollment certificate (in electronic format) provided by your vendor. If you have the certificate, you will be able
to register your license during the installation procedure.
Note also that, if an IBM License Use Management Runtime (LUM) license server is running on the computer on which you are installing Version
5, you must stop the server before starting the installation.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 33
Installation Log
An installation log will be created in the current temporary directory, in one of the following locations:
in a file named:
cxinst.log
C:\cxinst.log
The following lines are added at the beginning of the installation log:
or:
where PRODUCT_LINE is the name of the product line you are installing.
How To Display the Target ID of Your Computer Before Ordering Your Products
Before ordering a nodelock license, you need to obtain the target ID of your computer. The target ID must accompany the license order. The
license certificate is generated using the target ID of your computer.
Before installing the software, the application has no way of determining the target ID. In this case, if you have installed IBM License Use
Management Runtime (LUM), you can use the tools provided by LUM to obtain the target id.
i4target -O
located in:
C:\ifor\win\bin
How To Display the Target ID of Your Computer Once You Have Received the CD-ROM
http://www.software.ibm.com/is/lum/lumdownl.html
If you double-click on i4tgtid.exe, a message box displaying the win32mac target ID of the machine will be presented. The target id is a number
represented in hexadecimal notation. Make sure that the string "win32mac" is also displayed alongside with the target id.
Depending on the network configuration of your machine, the win32mac target ID might not be available. This is when i4target.exe in command-
line mode is needed:
1. Open a Command Prompt window and set the directory to your CD-ROM drive.
2. Run:
i4target -z
This will list network adapters that can be used for the target ID.
3. Run:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 34
i4target -d xxx
where "xxx" is one the network adapters listed in step 2.
4. Run:
i4target
or:
i4tgtid
You should obtain the same target ID as in step 2.
NOTE: Do not repeat step 2 once you have a valid win32mac target ID.
You must belong to the Administrators group, or have the privileges assigned to the Administrators group. Otherwise, you will not be
able to start the installation.
2. Insert the CD-ROM into the drive.
IBM License Use Management Runtime (LUM), needed to be able to manage nodelock and offline licensing, is no longer installed
automatically with the files: it is now integrated in the software on the CD-ROM. The installation procedure now automatically installs the
LUM driver which you previously had to install manually.
Note that the LUM driver is not installed on Windows XP Professional x64 Edition. This means that concurrent offline licensing will not be
available on this 64-bit operating system, irrespective of whether the Version 5 code is 64-bit or 32-bit. As a consequence, the
File/Extract and File/Restitute commands are not available in CATNodelockMgt on Windows XP Professional x64 Edition.
A normal installation on a machine without a previous LUM environment creates the following directory if you import a license during the
installation:
COMMON_APPDATA\IBM\LUM
which is typically:
C:\ifor\Ls\Conf\Nodelock
already exists on your machine and you import a nodelock license during the installation, this nodelock file will be updated during the
installation.
C:\ifor\Ls\Conf\Nodelock
will be used. To avoid problems, we recommend that you use ONLY ONE nodelock file in the following directory:
The Welcome dialog box is then displayed on a background window. Note that the screenshots illustrating the installation procedure were
taken without the background window:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 35
The V5R16 License dialog box for your product brand appears, asking you if you want to enter a nodelock license key for the computer
on which you are installing the software.
Note that the target id of the computer on which you are performing the installation is displayed after the dialog box title.
4. If you want to enter a nodelock license, click the Import Certificate button to access the Import Certificate dialog box.
This dialog box lets you import the license certificate (that is, if you received your license certificate by electronic mail, and provided you
detached it and stored it on your disk).
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 36
5. Explore your environment containing the license certificate (ending with the suffix ".lic"), then click Open.
This creates a nodelock file on your computer, and stores your license by default in the nodelock file in:
C:\ifor\Ls\Conf\nodelock
If you already installed LUM elsewhere, the nodelock file will be updated in the correct LUM environment.
If you decide to skip the licensing step, or if you have a license enrollment certificate in paper format only (and not in electronic format),
you can enroll your licenses later, after the installation has been completed. For more information, refer to Enrolling Nodelock Licenses
After the Installation.
The Choose Destination Location dialog box appears. The default destination folder:
However, if you are installing 32-bit code on Windows XP Professional x64 Edition, the default destination folder is:
Note that the next level folder for 32-bit code on Windows 2000 and Windows XP is still:
but if you are installing 64-bit code on Windows XP Professional x64 Edition, the default destination folder is:
However, if you are installing 32-bit code on Windows XP Professional x64 Edition, the default destination folder is:
Note: throughout the rest of this guide, the installation path will be described like this:
7. If the default destination folder is suitable, click the Next button to move to the next step, or click the Browse... button and navigate to
select another folder and click OK.
The folder you choose must be empty. You can also specify a new folder: if the folder does not exist, you will be prompted to specify that
you want the folder to be created, in which case you must click the Yes button to create the folder.
Providing you have enough disk space, you can now install several identical releases in different locations on the same computer.
For example, you may want to install the same V5R16 GA release in two places. Your first installation could be, for example, the
production version. Then, once a V5R16 service pack becomes available, you could apply it to the second installation which would then
become the test version, enabling you to test it before it becomes the official production version.
Furthermore, the different releases you can install can belong either to the same product line, or to different product lines. For example,
you could install CATIA V5R16 and DELMIA V5R16 in different locations.
To install another identical release, when you reach the Choose Destination Location dialog box, this time click the Browse... button,
specify the new destination folder, then click OK. You will be prompted to create the folder if it does not already exist, so click Yes.
Click Next to display the dialog box entitled "Enter Ident for your new installation":
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 38
Enter an identifier which will enable you to identify all the components of your new installation. The string must contain uppercase
characters or numbers, and must not exceed 20 characters.
The identifier for your new installation is preceded by an underscore and is visible:
If identical releases belonging to the same product line are installed, the OLE behavior is the same for both. However, if the installations
involve different product lines, the OLE behavior registered for the last installation takes priority.
Note also that two identical product lines installed in different locations share the same nodelocked license: no new license is needed for
the second installation.
8. Click the Next button to move to the next step.
9. If the default folder is suitable, click the Next button to move to the next step, or click the Browse... button and navigate to select
another folder and click OK.
You can choose any folder, or specify a new folder: if the folder does not exist, you will be prompted to specify that you want the folder
to be created, in which case you must click the Yes button to create the folder.
For more about environment files, refer to About the Environment Created on Your Computer on Windows.
10. Click the Next button to move to the next step.
This dialog box lets you specify whether you want to install all of the software on the CD-ROM, or select the configurations and/or
products to be installed:
Complete: specifies you want to install all the software, and moves on to the next installation step (installation of online
documentation files) when you click Next
Custom: lets you choose the configurations and/or products to be installed.
11. If you want to choose which configurations and/or products to install, check the Custom option and click the Next button to move to the
next step.
Check the buttons to install the user interface files for the appropriate language(s) and/or to install language-indexed fonts. Uncheck the
buttons for the language files you do not want to install. This will let you skip the installation of unnecessary language files and fonts and
enable you to save disk space.
Simplified Chinese
Traditional Chinese
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 41
Japanese
Korean
SSS4 (miscellaneous).
If you intend to access data containing language-indexed fonts for a specific language environment, for example, drawing documents, if
you have not installed the fonts beforehand, you will obtain a message when opening the document, saying that a font is missing and
that it will be replaced by another font.
To avoid this problem, we recommend that you check the option to install the language-indexed fonts.
Note that the choice you make at installation is definitive: you cannot add or remove languages or fonts later when installing additional
configurations and/or products.
13. Choose whether you want to install configurations and/or products by using the list box provided.
Depending on what you chose, the list will display the names of all the configurations or products on the CD-ROM.
14. Click on the configurations and/or products to select them.
In our example, we chose to install the DP2 - CATIA - Drawing Production 2 configuration and the MD2 - CATIA - Mechanical Design 2
configuration:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 42
The dialog box specifies the space available for the installation. Clicking on each configuration or product also specifies the amount of
space required for installing those configurations or products; the space required is updated progressively as you select from the list.
Depending on the configurations and/or products you chose, the Install Extra Products dialog box may appear:
An extra product is a standard product associated with certain configurations and products. You can choose to install or not to install an
extra product.
17. If your configuration requires you to configure Orbix, the Choose Orbix Configuration dialog box appears:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 43
Note that the default values are set to 1570/1590/200. If CATIA or DMU have been installed previously, these values are already taken.
If this is the case, use different values than the CATIA and DMU port numbers.
For Port Number for Orbix daemon, the default is 1570. A check is performed to determine if the port is free. If it is not free, the port
number proposed is incremented by "1" until a free port is found.
For Starting port number for daemon-run servers, the default is 1590. No check is performed to determine if the port is free. If it is
not free, the port number proposed is incremented by "20".
The installation procedure checks that the administrator performing the installation has the correct privileges required for running Orbix
and the server manager. Note that the option "Add required privileges for current user" is grayed out, which means that the privileges
are correct. If the privileges are not correct, the option will be accessible. Check the option before proceeding with the installation to add
the required privileges to the administrator user performing the installation. If not, the installation will fail.
18. Click the Next button to move to the next step.
The Server Timeout Configuration dialog box is displayed if your configuration uses servers run by the server manager:
This value corresponds to the duration in ms after which the server exits if it has not been contacted by the associated client. This
behavior is valid for all servers run by the server manager: 3dcom, LCA for example. You can edit the VPMconf file after the installation
and change the parameter to a value different from the default one (1 hour).
The default value is 60 mn. The value can be increased up to 35.700 mn (1 month). The value can be decreased down to 2 mn. The
increment is 1 mn. The value is internally transformed into ms and stored in the CATIAServerManager.imp file. When launching a server
under its responsibility, the server manager passes the timeout value to it.
Only servers managed by the server manager take into account the timeout parameter. For example, the workbook server is not
impacted by the timeout value.
When installing a Version 5 product which contains a potential vault client, this dialog box prompts you to indicate if you want to
configure a vault client once the code has been installed. If you choose to configure a vault client, you will be prompted to do so in
another dialog box which will be displayed before the enoviadbsetup process is started.
After installation, you can run the VaultClientSetup command in order to catalog another vault server, modify the parameters of an
existing one, or remove an existing one. The VaultClientSetupB command provides the same functionalities in batch mode.
Note: you can only install a vault server by using a configuration belonging to the ENOVIA LCA brand.
20. Check the appropriate option if you want to set up the vault client at the end of the installation.
By default, the "Set up communication ports" option is checked because it is strongly recommended.
A backbone daemon is created as a service and started. You can monitor the daemon by selecting Start->Settings->Control Panel-
>Administrative Tools->Services. The name of the service is Backbone Service. The name of the executable program that corresponds to
the backbone service is CATSysDemon.exe, which you can track using the Task Manager.
This installation step adds three lines to a system file. For more information about the communications backbone and which file is
concerned, refer to Communications Backbone Files. The installation setup then analyses the file in question. If the three lines are
present (for example, due to a previous installation), the dialog box will not appear.
Furthermore, if the backbone service is already running, it is stopped then restarted. You can check which services are running by
selecting the Start->Settings->Control Panel->Administrative Tools command and selecting the Services control.
22. Click the Next button to move to the next step.
Not installing the desktop shortcuts allows you to minimize the number of registry entries during the installation.
23. Check the "I want to install Online Documentation" check box only if you want to install the online documentation during the code
installation procedure: this choice is optional.
If you check this box, you will be prompted later on in the installation (after the software has been copied to your computer) to remove
the code CD-ROM and insert the first documentation CD-ROM.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 47
24. Clicking the Next button displays the Start Copying Files dialog box.
The central area lists the current settings you set in the previous steps:
The result looks something like this (depending on which software you chose to install).
Note that the dialog box reflects our choice to install the
MD2 - CATIA - Mechanical Design 2 Configuration and the DP2 - CATIA - Drawing Production 2 configuration:
There is nothing to prevent you from installing all the configurations and products on the CD-ROM. However, you will be able to use only
the software for which you have enrolled licenses, except if you are using a demo mode license as explained in Running in Demo Mode.
With Windows 2000 and Windows XP Professional 32-bit operating systems, if LUM is already installed on your machine, and the LUM
license server has been started, you will be prompted to stop the LUM server before proceeding. If you choose not to stop the LUM
server, the installation will be stopped.
25. Click the Next button to start copying the files to your computer.
A progression indicator appears, and an animated sequence starts showing you some of the products that you will be able to create with
the software.
Warning: During the installation, and depending on the configuration, an Orbix daemon may be installed and a Server Manager is
registered on the daemon. On Windows systems, and specifically machines running Windows XP SP2, this call can trigger a Windows
Security alert, giving a registered domain name on the machine, because it is occurring on a non-HTTP port with an unknown application.
The connection is harmless for client systems. However, the installation may not terminate successfully.
If this is the case, click the Unblock button to continue the installation.
Furthermore, when you start the application, if the following dialog box appears:
To prevent this problem from occurring, you can deactivate the Windows Firewall. For instructions about how to deactivate the firewall,
refer to the Microsoft documentation.
26. If you indicated earlier that you want to set up a vault client, the Vault Client Setup dialog box appears:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 49
27. Click the Add... button to display the following dialog box:
28. Specify the Vault alias name, server hostname and Orbix daemon port, then click OK.
The Vault Client Setup dialog box is now updated like this:
29. Use the Modify... and Delete... buttons to modify or delete the selected configuration.
If you have several online documentation CD-ROMs (one for each supported language), you can only install one of these CD-ROMs at this
stage of the installation.
If you do not want to install the online documentation immediately, press the Cancel button. You can always install it later. For more
information, refer to Installing the Online Documentation After Installing the Software on Windows.
For illustration purposes, this section describes the installation of online documentation for the CATIA product line. Note,
however, that the principle is the same for all product lines.
The documentation describing the interface between CATIA and SmarTeam is located on the SmarTeam documentation media CD-ROM.
32. If you still want to install the online documentation, remove the product CD-ROM from the drive, insert the first online documentation CD-
ROM for your language (or browse to the documentation folder), and click OK to restart the Setup program, this time to install the online
documentation files.
Note that the dialog box also provides a path for specifying another drive or folder from which you can install the online documentation.
The default path is the drive name (usually C:) on the computer from which you are performing the installation.
you already inserted the online documentation CD-ROM into another drive
you copied the online documentation files from the online documentation CD-ROM to a folder. The advantage of installing from a
folder is that you will not be prompted to change CD-ROMs if the documentation you are installing is distributed on several CD-ROMs.
If this is the case, click the Browse... button and specify the appropriate drive or folder. Select the folder named "disk1", then click OK.
then the Choose Setup Language dialog box appears, prompting you to choose the user interface language for the Setup program:
The default folder in which the documentation in English will be installed is:
34. Click the Browse... button to select a new folder if the default folder is not suitable, or click the Next button to proceed.
The setup program detects which products are installed and preselects the corresponding manuals in the list. Move the scrollbar up or
down to see the preselected manuals:
Note that the BAS - Infrastructure and CFY - Common Functionalities documentation sets are prerequisites for all other online
documentation and are always installed, even if you do not select them explicitly in the list.
The list contains all the manuals related to the configurations you installed, along with any additional prerequisite documentation. Note
that the BAS - Infrastructure and CFY - Common Functionalities documentation sets are prerequisites for all other online documentation
and are always installed, even if you do not select them explicitly in the list.
This means that if you select the manual for a specific application (for example, PRT - Part Design), both this manual and the associated
prerequisite documentation will be installed.
The Start Copying Files dialog box appears listing the online documentation you are about to install:
Note that certain online manuals also require the installation of other prerequisite manuals, therefore the prerequisite manuals (which
you did not select) are also added to the list.
36. Click the Next button to install the documentation.
Depending on your product line, the online documentation may be provided on a suite of up to five CD-ROMs. Once the documentation
files on the first CD-ROM have been installed, and depending on which products you selected, you may be prompted to insert the next
CD-ROM. In this case, click OK to continue the installation until you have inserted the last CD-ROM.
Note that you must install all the documentation CD-ROMs: you cannot, for example, install only one out of two. If you click the Cancel
button before installing the final CD-ROM, the documentation files previously installed will be uninstalled.
If you interrupt the installation, the documentation files will be uninstalled automatically. If the uninstallation has already started, the
message "Uninstallation is running. Please wait..." appears. It will disappear once the uninstallation is completed. So you must wait for
the end of the uninstallation before trying to reinstall the documentation.
37. Once both the product and (optional) online documentation files have been copied, the Setup Complete dialog box informs you that the
installation has been completed:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 55
The Setup Complete dialog box specifies the name and location of the documentation homepage for your product line. On this page, you
will notice that the icons for documentation that you did not install are marked with a red symbol.
38. To exit the documentation installation phase, click the Finish button.
A dialog box informs you that the setup procedure has finished installing Version 5 on your computer, and prompts you to launch your
product now.
Furthermore, installing CATIA also automatically installs Microsoft Visual Basic for Applications (VBA), Version 6.0.
However, note that VBA is supported on Windows XP Professional x64 Edition with Version 5 32-bit code.
The Setup Complete dialog box will then appear, informing you that you must restart your computer, otherwise you will not be able to
run Version 5.
39. To restart, leave the default setting "Yes, I want to restart my computer now" and click the Finish button to restart your computer now.
If you do not want to restart your computer now, click the option "No, I will restart my computer later" then click the Finish button. But
you will not be able to run Version 5.
If Microsoft Visual Basic for Applications (VBA) Version 6.0 is already installed, a different dialog box will appear prompting you to click
the Finish button, this time to start a Version 5 session now.
40. After restarting, you must then relog onto the computer using the same administrator logon, then start Version 5.
1. Log on as administrator.
2. Select Start->Programs->Command Prompt to open a Command Prompt window.
3. Go to the following installation directory
Command Syntax
VaultClientSetupB
-list
-add VaultAliasName -host ServerHostname -port OrbixDaemonPort
-modify VaultAliasName [-host ServerHostname] [-port OrbixDaemonPort]
-delete VaultAliasName -h help
Example of output:
However, all levels point by default to the same settings environment. This can lead to a problem because downward compatibility of settings is
not guaranteed: only upward compatibility is guaranteed. For example, if you first work on the V5R15 level, then work on the V5R16 level,
V5R16 will be able to read and use your V5R15 settings. However, working first on V5R16 then on V5R15 with the same settings will lead to
problems.
To avoid such problems, we recommend, for example, when you install the latest level of Version 5, that you customize the values of the
CATUserSettingPath environment variable (and the CATReferenceSettingPath variable if necessary). We also recommend that you set different
settings for the CATTemp and CATErrorLog variables.
The objective is to have the runtime environment for each level pointing to its own settings.
Furthermore, you can only have one OLE link. This means that when you double-clicking on a Version 5 document using the Windows Explorer,
for example, you will not be able to choose the level to run: the last level that you installed is run (in other words, if you installed V5R15 after
V5R16, then V5R15 will be run).
This limitation is due to the operating system, not to Version 5. You can change which level you want to associate as follows:
1. Log on as administrator.
2. Open a command prompt window.
3. Go to the folder containing the level of Version 5 you want to run when double-clicking Version 5 documents, then to the \code\bin
folder.
4. Run the following command once only:
cnext /regserver
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 57
For detailed reference information about all the different methods for starting your product, refer to "Basic Tasks", "Starting a Session on
Windows" in your Infrastructure Users Guide.
If you want to start your product in a language other than English, refer to the sections "Starting a Session in a Language Other than English
on Windows" in your Infrastructure Users Guide for CATIA.
The Version 5 window will look like this, for example, if you installed the configurations CATIA - Mechanical Design (MD2) and
CATIA - Drawing Production (DP2):
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 58
Because a nodelock license certificate was imported during the installation, the license is automatically reserved, allowing you to enter the
session immediately without having to reserve the license using the License Manager.
If you chose to run Version 5 now, but did not import a nodelock license certificate, a message window appears informing you that you have
not yet requested a configuration or product license:
The License Manager dialog box is then displayed in front of the application window, and contains a list of the names of installed software.
The configuration/product names are grayed out.
The License Manager dialog box lists the configurations and products you installed.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 59
Note that the field specifies: "Not Granted". This is because this is the first time you are starting Version 5, and you have not yet reserved
any licenses.
At this stage, if you click the OK button, a session will still be started, but you will not be able to work with the product: menu commands will
be grayed out, and you will only be able to use the File->Exit command.
At this stage, you will not be able to go any further until you register your licenses.
To register nodelock licenses after the installation, as explained in Enrolling Nodelock Licenses After the Installation, you must import a
license certificate using the command:
Start->(All) Programs->MyProduct->Tools->Nodelock Key Management V5R16
Once you have imported a nodelock license certificate, start a session directly from the desktop by double-clicking the CATIA V5R16 default
environment shortcut .
You can now use the software you installed and for which you enrolled a license.
Your licensing settings are stored in a settings file. During a session, you can reserve and release licenses using the Licensing tab accessible
via the General category of the Tools->Options... command. For more information, refer to Reserving Static Licenses Using the License
Manager.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 60
Installation Folder
The software is installed (if you used the default location) in the folder:
Desktop
The installation:
creates the
Only one environment is created: a global environment (not a user environment). For more
information about global and user environments, refer to What are global and user
environments?.
CATIA.V5R16.B16.txt
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 61
sets up the:
Start->Programs->CATIA->Tools
menu containing the Batch Management V5R16, Printers V5R16, Environment Editor V5R16,
Nodelock Key Management V5R16, Settings Management V5R16 and Software Management
V5R16 commands.
Registry
Whenever you perform an installation (or run a command using the /regserver command option), the
following registry keys are modified:
HKEY_LOCAL_MACHINE
HKEY_CLASSES_ROOT
Note: for the HKEY_CLASSES_ROOT key, 64-bit Windows requires different registry entries for 32-bit and
64-bit applications. Therefore, 32-bit and 64-bit applications have different registry paths for following
software related entries.
HKEY_LOCAL_MACHINE
HKEY_LOCAL_MACHINE\SOFTWARE\DassaultSystemes (Windows 2000, XP Pro and Windows XP
Professional x64 Edition)
The key "B16" is added containing the key "0" which specifies the destination folder. Additional entries
are made each time you install the same release in a different location, and the key number will be
incremented for each installation as follows: "0", "1", "2", etc.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Dassault Systemes
B16_0 (Windows 2000, XP Pro and Windows XP Professional x64 Edition)
Specifies the application name for uninstallation purposes; additional entries are made each time you
install the same release in a different location, and the key number will be incremented for each
installation as follows: "B16_0", "B16_1", etc.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths (Windows 2000, XP
Pro and Windows XP Professional x64 Edition with 64-bit code)
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths
(Windows XP Professional x64 Edition with 32-bit code)
Sets up the Start->Run... command so you can enter the appropriate command to start a session for
your product line). This key is now integrated when using the /regserver and /unregserver command
options.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 62
HKEY_CLASSES_ROOT
This key registers the document types and extensions for the Version 5 product line you installed.
Furthermore, the default OLE behavior of certain document types has changed. For example, what
happens when double-clicking a CATPart document in the Windows Explorer depends on which product
lines have been installed. For example, if only CATIA is installed, the CATPart will be opened. However, if
you installed ENOVIA DMU Navigator after installing CATIA, the default behavior associated with double-
clicking a CATPart in the ENOVIA DMU Navigator context will be used. In this case, the CATPart must be
inserted into a product, not opened.
For 32-bit and 64-bit Applications on Windows XP Professional x64 Edition, this is the original path for 64-
bit applications:
HKEY_CLASSES_ROOT\
HKEY_CLASSES_ROOT\Wow6432Node\
This difference is not visible to the 32-bit application. All registry references from a 32-bit application to:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes
by Windows. 64-bit applications simply access the registry with an unchanged path.
The integration of the following key lets you import nodelock licenses by double-clicking the license
certificate file in the Explorer:
HKEY_CLASSES_ROOT\CATIA.Licensing
Please note that keys have been integrated into the registry for the CATIA Application, DELMIA Application
and ENOVIA DMU Application so that the the user can choose the appropriate security settings to use
these applications as Distributed COM clients.
Registry entries, folders and files are not protected. You can protect access to these entries using system
tools, for example the regedt32 command. Please note that this command is only recommended for
advanced users because it is potentially dangerous.
When one application attempts to communicate with another, the backbone process is started
automatically. If the process is already running, it is not restarted. A timeout is triggered once there are
no more clients attempting to communicate with other applications.
A typical scenario involving the use of the inter-application communications backbone is implemented to
allow the ENOVIA Portal DMU Navigator and ENOVIA Portal WEB to communicate: ENOVIA Portal WEB can
load geometry and product structures into a viewer such as ENOVIA Portal DMU Navigator, 4D Navigator
or CATIA.
When installing from scratch, the installation procedure sets up the communications backbone by creating
the following lines:
catiav5bb 55555/tcp
catiav5run 55556/tcp
in the file:
%windir%\system32\drivers\etc\services
CATDeviceBroker 55557/tcp
If you do not want to set up communication ports during the installation, you can always edit the above-
mentioned files manually later.
Note: The services file also contains the line:
Tools for Setting Backbone and Peripheral Device Broker Port Numbers
The preferred method for setting port numbers, however, is to avoid manual edits by using one of the
following tools:
setV5Ports
-backbonePorts p1 p2: Specifies communication ports for backbone. Default values are 55555 and
55556
-VRPort p3: Specifies communication port for peripheral device broker - default value is 55557
-h: displays help.
1. Log on as administrator.
2. Open a Command Prompt window and go to the installation directory, for example:
When used with the default values, it adds the following lines:
to the file:
BBDemonService
You can also use the BBDemonService command to set up the backbone.
if the option -backbonePorts is not used, and if the services file already contains the lines catiav5bb
and catiav5run, it is not modified. If it does not contain these lines, it is updated using the default
ports 55555 and 55556 if they are free, if not, an error occurs and the command fails
if the option -backbonePorts is used, a check is performed to see if the above-specified ports are free,
and the port numbers are added to the services file; if they are not, the file is updated using the port
number specified with the option.
A backbone daemon is created as a service and started. You can monitor the daemon by selecting Start-
>Settings->Control Panel->Administrative Tools->Services. The name of the service is Backbone Service.
The name of the executable program that corresponds to the backbone service is CATSysDemon.exe,
which you can track using the Task Manager.
System Libraries
System libraries are no longer installed in the Windows filetree. Furthermore, no system libraries are
installed with Windows XP Professional x64 Edition.
All end users can now log onto the same computer and run a Version 5 session, because the
environment created at installation is global.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 66
The installation procedure is the same as for a first-time installation, with a few minor differences.
On Windows, to prevent the installation from hanging due to concurrently running programs such as screen savers or virus
scanning programs, we recommend that you first shut down any such programs.
This installation procedure shows you how to add products to a CATIA installation, for illustration purposes. The
installation steps are the same for the other product brands.
1. Log on as an administrator.
6. Click Next.
7. Click Complete to install all the software, or Custom to display a list containing the additional configurations and/or products
you can install.
8. Click Next.
This displays a list of the configurations and products you have not yet installed:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 68
9. Select the additional configurations and/or products you want to install, and click the Next button.
If the additional configurations and/or products you want to install, or already installed, include extra products, the Install Extra
Products dialog box appears:
An extra product is a standard product associated with certain configurations and products. You can choose to install or not to
install an extra product.
If you previously installed a service pack, you will be prompted to reinstall the service pack near the end of the installation.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 69
Software fixes are distributed in the form of service packs. The service pack CD-ROM contains fixes for all configurations and
products available at the time it is built. Each service pack supersedes the previous ones and may be installed on top of the
released level or on top of a previous service pack. No individual corrections are delivered in between two service packs.
Service packs are made available on a regular basis. Delivery is synchronized for Windows and UNIX platforms.
Installing a service pack also involves committing or rolling back a service pack. For more information, refer to Committing
and Rolling Back Service Packs.
From start to finish, this task should take approximately 15 minutes.
You must belong to the Administrators group, or have the privileges assigned to the Administrators group. Otherwise, you
will not be able to start the installation.
2. Insert the CD-ROM into the drive.
The installation starts automatically, and the Welcome dialog box appears:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 70
3. Click the Next button to move to the next step.
If any Dassault Systemes processes are still running, preventing correct service pack setup, the setup program detects them
and prompts you to terminate them. If so, click the Yes button to terminate the processes and continue.
Note that if you installed the same GA release in more than one location, you will be prompted to select from a list the
destination folder to which you want to apply the service pack.
This also means that you must perform a separate service pack installation, each time selecting the appropriate destination
folder for each GA. Installing the service pack just once in one destination folder is not sufficient.
4. Check the "Commit the service pack automatically" option if you want to commit the service pack.
Installing a service pack also involves committing or rolling back a service pack. For more information, refer to Committing
and Rolling Back Service Packs.
During the installation, you can choose to commit the service pack automatically. This is useful when you want to save disk
space.
If you do not commit the service pack during the installation, and certain code components are redelivered with the service
pack (for example, shells, executable files), the new version of the component is installed and the previous version of the
component is saved using the following naming convention:
MyShell.BeforeSPK
An installation log will be created (or updated) in the current temporary directory, in one of the following locations:
in a file named:
cxinst.log
C:\cxinst.log
Note that, if your Version 5 software is delivered on more than one CD-ROM, you must copy all the software to the same
directory from which you run this command.
1. Log on as an administrator.
StartSPKB
-b: installs the service pack(-b is optional) but does not commit the service pack
-bC: installs the service pack and commits the service pack automatically
-killprocess: detects running processes (for example, Orbix) in the installation folder (unload_dir\code\bin) and terminates
them before installing the service pack; at the end of the installation, the Orbix process is restarted.
-h: help.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 73
Error Codes
The following error codes may appear for a service pack installation:
0 Installation OK
1 Insufficient privilege
2 Bad environment
4 Bad media
5 Bad options
6 No installed GA
8 Installation problem
9 Allocation problem
10 No need to install service pack
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 74
The online documentation is provided on a suite of CD-ROMs. Once the documentation files on the first
CD-ROM have been installed, you will be prompted to insert the next CD-ROM, and click OK to continue
the installation until you have inserted the last CD-ROM.
Note that you must install all the documentation CD-ROMs: you cannot, for example, install only one out
of the whole suite. If you click the Cancel button before installing the final CD-ROM, the documentation
files previously installed will be uninstalled.
The last two CD-ROMs contain all the online documentation in PDF format.
Unlike when installing the software, the documentation installation procedure does not start
automatically.
3. Use the Windows Explorer to explore the documentation CD-ROM, and double-click the Setup.exe
program on the CD-ROM to start the installation.
Do not use "My Computer" to access the CD-ROM: this will not work.
From this point onwards, the installation procedure is the same as the online documentation installation
procedure within the code unloading phase. Refer to Installing the Online Documentation for full details.
To access the documentation using your browser, locate and open the documentation homepage for your
product brand.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 75
When installing additional documentation for the same version (or in another language), after the
Welcome dialog box, a dialog box like this is displayed:
listing the documentation you already installed. Clicking the Next button will then display a list of
preselected documentation reflecting the software you installed, but the documentation already installed
obviously does not appear in the list. The additional documentation will be installed in the same folder.
Online documentation for all product brands is installed in the same location.
If you install documentation for several product brands, one line will appear for each product brand when
you select the Start->Settings->Control Panel, and double-click the Add/Remove Programs control
to access the Install/Uninstall dialog box:
If you interrupt the installation, the documentation files installed will be uninstalled automatically. If the
uninstallation has already started, the message "Uninstallation is running. Please wait..." appears. It will
disappear once the uninstallation is completed. So you must wait for the end of the uninstallation before
trying to reinstall the documentation.
Note that installing the online documentation updates the path of the CATDocView environment variable
using the online documentation installation path.
1. On the Windows desktop, select the Start->Settings->Control Panel, then double-click the
Add/Remove Programs control.
2. In the Change or Remove Programs dialog box, you can choose to uninstall documentation for a
specific product brand by selecting the appropriate item:
(if the documentation is in English) from the list, then clicking the Change/Remove... button, and
confirming when prompted.
When uninstalling documentation for a specific product brand, all the documentation frameworks relating
to that brand are uninstalled, except certain manuals which are not related to any specific brand.
If you want to browse the documentation directly from the CD-ROM drive, and without running a Version
5 session, insert the documentation CD-ROM into the drive, access the device using the Windows
Explorer, and double-click the following file (depending on the language) to display the appropriate
Version 5 online documentation homepage:
CATIAhomepage.htm (English)
French CATIAhomepage.htm (French)
German CATIAhomepage.htm (German)
Japanese CATIAhomepage.htm (Japanese)
Italian CATIAhomepage.htm (Italian).
For example, press F1 for contextual help. A dialog box will prompt you to specify the online
documentation path.
6. In the dialog box, specify the path where the documentation is located.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 77
Wherever you install the documentation, if you attempt to activate the sample documents from within
the online documentation without first installing the code, the samples will not work.
You can also access online documentation if it is installed on a http server (for example, Apache).
If you do so, in the Apache server configuration file (usually httpd.conf) replace the line:
#DefaultType text/plain
DefaultType application/octet-stream
Documentation in PDF format for CATIA is delivered on a separate CD-ROM, therefore it is no longer
installed automatically. We recommend that you copy it to location on your hard disk or on a server to
which your end users have access.
UninstallProductLine-LanguageDocumentation.bat
For example:
Before uninstalling documentation, make sure that no documentation files are currently being accessed
by any program, and that no documentation file path is selected in the Explorer program.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 78
You can install all Version 5 software except online documentation in batch mode.
Note that, if your Version 5 software is delivered on more than one CD-ROM, you must copy all the
software to the same directory from which you run this command.
You can:
StartB
-ident IDENT: creates an identifier used for differentiating multiple versions of the same release
installed in different locations on the same computer; the IDENT must not exceed 20 characters and
must be in uppercase
-D env_dir: specifies the environment directory; the default environment directory is:
-orbixbase port2: specifies the starting port number for daemon-run servers
-addUserPrivilegesForOrbix: adds required privileges for Orbix for current user if they are missing
-backbonePorts port3 port4: specifies the ports reserved for the communication backbone - default
values are 55555 and 55556
-VRPort port5: specifies the port reserved for processing events when using peripheral devices
(spaceball, spacemouse, joystick); the default port for the peripheral device broker is 55557
-CatiaV5Info/: used alone, setup takes default values for other parameters
-list: lists the configurations, products and extra products on the CD-ROM
-all: unloads all the configurations and the products on the CD-ROM
-l "list_to_unload": specifies the list of configurations and/or products to unload. You have to type the
list of configurations and/or products, which you can obtain by running the command using the "list"
argument. In the list, configuration names look like this: ME2.slt., and product names look like this:
KIN.prd. These are the names you must type. Separate the names using a blank.
The arguments -list, -all and -l "list_to_unload" are mutually exclusive.
-allextra_prd: unloads all the extra products included with the configurations and products that are
already installed or to be installed from the CD-ROM.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 80
-lextra_prd "list_to_unload": specifies a list of extra products to unload. These extra products must
be included with the configurations and products that are already installed or to be installed.
-noLang "fr ge it jp ch ko"/-noLang all: specifies user doesn't want to install language user interface
files for French, German, Italian, Japanese, Simplified Chinese, Korean
-noStartMenuTools: does not create an entry in the Start menu for the administration tools
0 Installation OK
1 Insufficient privilege
2 Bad environment
4 Bad media
5 Bad options
6 Allocation problem
7 Prerequisites KO
Prerequisites warning (only for 3dcom:
10
concerns ddraw.dll)
44 LUM server to be stopped
55 Installation problem
Example
The following example installs Version 5 software from scratch, creating the unload directory and
importing the appropriate licenses.
To install the MD2 and DP2 configurations for the CATIA product line, type the following command, for
example on Windows 2000 or Windows XP with 32-bit code:
You have to install VBA6 manually after a batch installation. To do so, run the command:
msiexec /q /i pathcdrom\VBA\VBA6.msi
However, note that VBA is supported on Windows XP Professional x64 Edition with Version 5 32-bit code.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 82
Note that you are not able to selectively uninstall a configuration or product.
Uninstalling relies on Windows-compliant tools enabling anyone familiar with Windows procedures and concepts
to uninstall the software without assistance.
Prior to removing the software, you must remove any user environments you may have created after the initial
installation using the tools described in Customizing Your Environment on Windows.
1. Log on as an administrator.
You must belong to the Administrators group, or have the privileges assigned to the Administrators group.
Otherwise, you will not be able to uninstall the software.
2. On the Windows desktop, select the Start->Settings->Control Panel, then double-click the Add/Remove
Programs control.
The dialog box looks something like this (depending on the software installed on your computer):
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 83
is going to be removed, and prompts you to confirm that you want to continue and remove all the software.
You can also use this command to remove the online documentation. The item name for the English
documentation will be, for example:
ALL the installed configurations and products will be removed. The program removes:
You may be prompted to kill any running processes (including Orbix) which use the version you are uninstalling.
If this is the case, click the Yes button when prompted. However, running services (for example, the BBdemon
backbone service) are killed automatically.
1. Log on as administrator.
2. Open a Command Prompt window.
3. Go to the installation directory:
C:\Program Files\Dassault Systemes\B16\intel_a\code\bin (Windows 2000 and Windows XP Pro)
C:\Program Files\Dassault Systemes\B16\win_b64\code\bin (64-bit code on Windows XP Professional
x64 Edition)
C:\Program Files (x86)\Dassault Systemes\B16\intel_a\code\bin (32-bit code on Windows XP
Professional x64 Edition)
This command stops all Version 5 processes attached to the current concatenation of processes
(including Orbix), and stops all services (for example, the Backbone service).
which outputs the following, for example (Windows 2000 and Windows XP Pro):
KillV5Process
CATInstallPath = C:\Program Files\Dassault Systemes\B16\intel_a
The entries in the Start->(All) Programs menu will not be removed if they still contain environments created
using the tools described in Customizing Your Environment on Windows.
If you delete the installation folder instead of uninstalling cleanly using the Add/Remove Programs control via
the Start->Settings command, your registry will be corrupted. Before, when you attempted to reinstall, you
were blocked. Now, a message will prompt you to click the OK button if you want to automatically clean up the
registry and continue the installation.
Unload_Dir\DSUninstall.bat
This command removes the software in the same way as the Add/Remove Programs control. However, note
that the procedure automatically kills any running processes (including Orbix) which use the version you are
uninstalling. However, running services (for example, the BBdemon backbone service) are killed automatically.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 86
This task explains how to unload the CATIA Version 5 code from scratch on a single workstation running UNIX.
The concepts, procedures and look and feel of the installation procedure for Windows have been carried over to the UNIX environment in order to provide a common
Version 5 installation interface for all supported operating systems.
This installation procedure steps you through a CATIA installation, for illustration purposes. The installation steps are the same for installing ENOVIA
DMU Navigator and DELMIA configurations.
Before starting the installation, refer to What You Need Before Installing Version 5 to check you have all the hardware and software prerequisites.
Until now, the same media was used for all platforms. Now, there are both 32-bit code installation CD-ROMs which you can install on normal AIX, and 64-bit code
installation CD-ROMs which you can install only on AIX 5L.
This means that on AIX, only 32-bit installations are possible, whereas on AIX 5L both 32-bit and 64-bit installations are possible.
CATIA
DELMIA
ENOVIA DMU Navigator.
neither the ENOVIA LCA client nor the ENOVIA LCA server are supported in 64-bit mode
the following ENOVIA V5 VPM products are supported in 64-bit mode:
VPM Navigator
VPM Configured Product Design
VPM Relational Design
VPM Supply Chain Engineering Exchange
VPM Instant Collaboration,
VPM Electrical Cable Route Management
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 88
How To Display the Target ID of Your Computer Before Ordering Your Products
Before ordering a nodelock license, you need to obtain the target ID of your computer. The target id must accompany the license order. The Certificat.lic file is generated
using the target ID of your computer.
Before installing the software, the application has no way of determining the target ID. In this case, if you have installed IBM License Use Management Runtime (LUM),
you can use the tools provided by LUM to obtain the target ID.
For example, you can run the following command to obtain the "PREFERRED LUM Target ID":
i4target -O
located in:
/usr/opt/ifor/ls/os/aix/lum (AIX)
/opt/lum/ls/os/hpux/bin (HP-UX)
/opt/lum/ls/os/svr4.sgi/bin (IRIX)
/opt/lum/ls/os/solaris/bin (Solaris)
How To Display the Target ID of Your Computer Once You Have Received the CD-ROM
http://www.software.ibm.com/is/lum/lumdownl.html
If you double-click on i4tgtid.exe, a message box displaying the win32mac target id of the machine will be presented. The target id is a number represented in
hexadecimal notation. Make sure that the string "win32mac" is also displayed alongside with the target ID.
Depending on the network configuration of your machine, the win32mac target id might not be available. This is when i4target.exe in command-line mode is needed:
1. Open a Command Prompt window and set the directory to your CD-ROM drive.
2. Run "i4target -z".
This will list network adapters that can be used for the target ID.
3. Run "i4target -d xxx"
where "xxx" is one the network adapters listed in step 2.
4. Run i4target or i4tgtid.
You should obtain the same target ID as in step 2.
NOTE: Do not repeat step 2 once you have a valid win32mac target ID.
On AIX, the CATNodelockMgt tool displays a target ID different from what is displayed by the uname -m AIX command. This command is not the correct way for
getting the AIX target ID. Given that it has never been documented, it is not supported. The correct ways are listed above.
Note that, by chance, the results obtained by running both the uname -m and i4target -O command were identical until V5R10 or LUM 4.6.5. This is no longer the case
on subsequent levels because IBM LUM changed the algorithm which is used to compute the AIX target ID.
However, even if V5R11 displays an AIX target ID different from the one displayed by V5R10, for backward compatibility reasons V5R11 and above continue to consider
as valid the licenses generated with a target ID equal to that obtained by running the command uname -m. This compatibility will be removed in a future release.
Additional information about obtaining target IDs can be found in the description of the i4target command in the manual Using License Use Management Runtime -
Version 4.6.7.
df -k
in order to verify that you have enough free disk space in the file system in which you intend to unload the code.
3. Insert the CD-ROM for your UNIX operating system into the drive.
If you are running IRIX or Solaris, inserting the CD-ROM declares and mounts the CD-ROM automatically (unless you disabled this feature).
If you are running AIX or HP-UX, check whether the CD-ROM drive is declared.
lsdev -C -c cdrom
you need to add the CD-ROM drive by using the smit AIX command, for example.
cat /etc/fstab
you need to add the CD-ROM drive, by using the sam HP-UX command, for example.
If you are running IRIX or Solaris, inserting the CD-ROM declares and mounts the CD-ROM automatically (unless you disabled this feature).
4. If you are running AIX and HP-UX, check whether the CD-ROM drive is mounted.
If the CD-ROM drive is not mounted, you will have to mount it before proceeding. You can determine if the drive has already been mounted by typing the
command:
mount
In the output lines, you should see a list of mounted file systems. The CD-ROM drive has already been mounted on your local system if a line similar to one of the
following lines appears in the list:
5. If you are running AIX and HP-UX, mount the CD-ROM drive, if necessary, by typing the commands:
If you are running HP-UX, mount the CD-ROM drive like this:
mount /cdrom
./start
./start -s
if you want to start the installation procedure without the accompanying music.
The Version 5 setup program will be run. The setup program checks you have the correct prerequisites. Then, the Welcome dialog box greets you. The setup
program invokes a full self-explanatory graphical interface which walks you through the installation.
The Welcome dialog box is then displayed on a background window. Note that the screenshots illustrating the installation procedure were taken without the
background window:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 91
The License dialog box appears, asking you if you want to enter a nodelock license key for the computer on which you are installing the software.
Note that the target id of the computer on which you are performing the installation is displayed after the dialog box title.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 92
If you want to enter a nodelock license, click the Import Certificate button to access the Import Certificate dialog box.
This dialog box lets you import the license certificate (that is, if you received your license certificate by electronic mail, and provided you detached it and stored it
on your disk).
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 93
Explore your environment containing the license certificate (ending with the suffix ".LIC"), then click OK.
This creates a nodelock file on your computer, and stores your license by default in the nodelock file on all UNIX platforms in:
/var/ifor/nodelock (AIX)
/opt/lum/ls/conf/nodelock (HP-UX, IRIX, Solaris)
If you already installed LUM elsewhere, the nodelock file will be updated in the correct LUM environment;
If you decide to skip the licensing step, or if you have a license enrollment certificate in paper format only (and not in electronic format), you can enroll your
licenses later, after the installation has been completed. For more information, refer to Enrolling Nodelock Licenses After the Installation.
The Choose Destination Location dialog box appears. A default destination folder is already proposed:
/usr/Dassault Systemes/B16
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 94
10. If the default destination directory is suitable, click the Next button to move to the next step.
Click Yes if prompted to create the directory if it does not exist. Or, click the Browse... button and navigate to select another folder and click OK.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 95
The folder you choose must be empty. You can also specify a new folder: the folder will be created after confirmation.
/CATEnv
12. If the default directory is suitable, click the Next button to move to the next step, or click the Browse... button and navigate to select another folder and click OK.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 97
The directory you choose must be empty. You can also specify a new folder: the directory will be created after confirmation.
For more about environment files, refer to About the Environment Created on Your Workstation on UNIX.
13. Click the Next button to move to the next step.
This dialog box lets you specify whether you want to install all of the software on the CD-ROM, or select the configurations and/or products to be installed:
Complete: specifies you want to install all the software, and moves on to the next installation step (installation of online documentation files) when you click
Next
Custom: lets you choose the configurations and/or products to be installed.
14. If you want to choose which configurations and/or products to install, check the Custom option and click the Next button to move to the next step.
Check the buttons to install the user interface files for the appropriate language(s) and/or to install language-indexed fonts. Uncheck the buttons for the language
files you do not want to install. Uncheck the buttons for the language files you do not want to install. This will let you skip the installation of unnecessary language
files and fonts and enable you to save disk space.
Simplified Chinese
Traditional Chinese
Japanese
Korean
SSS4 (miscellaneous).
If you intend to access data containing language-indexed fonts for a specific language environment, for example, drawing documents, if you have not installed the
fonts beforehand, you will obtain a message when opening the document, saying that a font is missing and that it will be replaced by another font.
To avoid this problem, we recommend that you check the option to install the language-indexed fonts.
Note that the choice you make at installationVersion
is definitive: you cannot
5 Release 16 add or remove languages or fonts laterPage
when installing additional configurations and/or
100
CATIA Infrastructure Installation Guide
products.
15. Click the Next button to move to the next step.
Depending on what you chose, the list will display the names of all the configurations or products on the CD-ROM.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 101
17. Click on the configurations and/or products to select them.
The selected configurations and/or products are listed in the "Selected Software" list.
In our example, we chose to install the DP2 - CATIA - Drawing Production 2 and MD2 - CATIA - Mechanical Design 2 configurations:
The dialog box specifies the space available for the installation. Clicking on each configuration or product also specifies the amount of space required for installing
those configurations or products; the space required is updated progressively as you select from the list.
At this stage, and depending on the space required
Versionfor5 the configurations
Release 16 you are installing, you may be informed that there is not enough space in the
Page 102
CATIA Infrastructure Installation Guide
destination directory. If so, go back and choose another destination directory where this enough space.
There is nothing to prevent you from installing all the configurations and products on the CD-ROM. However, you will be able to use only the software for which
you have enrolled licenses, except if you are using a demo mode license as explained in Running in Demo Mode.
Depending on the configurations and/or products you chose, the Install Extra Products dialog box may appear:
An extra product is a standard product associated with certain configurations and products. You can choose to install or not to install an extra product.
If your configuration requires you to configure Orbix, the Choose Orbix Configuration dialog box appears.
Orbix is used for server-client communications. You can accept the default values.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 103
Note that the default values are set to 1570/1590/200. If CATIA or DMU have been installed previously, these values are already taken. If this is the case, use
different values than the CATIA and DMU port numbers.
For Port Number for Orbix daemon, the default is 1570. A check is performed to determine if the port if free. If it is not free, the port number proposed is
incremented by "1" until a free port is found.
For Starting port number for daemon-run servers, the default is 1590. No check is performed to determine if the port if free. If it is not free, the port number
proposed is incremented by "20".
20. Click the Next button to move to the next step.
The Server Timeout Configuration dialog box is displayed if your configuration uses servers run by the server manager:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 104
/usr/Dassault Systemes/B16/OS/code/command/VPMconf
This value corresponds to the duration in ms after which the server exits if it has not been contacted by the associated client. This behavior is valid for all servers
run by the server manager: 3dcom, LCA for example. You can edit the VPMconf file after the installation and change the parameter to a value different from the
default one (1 hour).
The default value is 60 mn. The value can be increased up to 35.700 mn (1 month). The value can be decreased down to 2 mn. The increment is 1 mn. The value
is internally transformed into ms and stored in the CATIAServerManager.imp file. When launching a server under its responsibility, the server manager passes the
timeout value to it.
Only servers managed by the server manager take into account the timeout parameter. For example, the workbook server is not impacted by the timeout value.
21. Click the Next button to move to the next step.
When installing a Version 5 product which contains a potential vault client, this dialog box prompts you to indicate if you want to configure a vault client once the
code has been installed. If you choose to configure a vault client, you will be prompted to do so in another dialog box which will be displayed before the
enoviadbsetup process is started.
After installation, you can run the VaultClientSetup command in order to catalog another vault server, modify the parameters of an existing one, or remove an
existing one. The VaultClientSetupB command provides the same functionalities in batch mode.
Note: you can only install a vault server by using a configuration belonging to the ENOVIA LCA brand.
If you are installing from scratch, the Choose Communications Ports dialog box is displayed:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 106
By default, the "Set up communication ports" option is checked because it is strongly recommended.
This installation step adds lines to various system files. For more information about the communications backbone and which files are concerned, refer to
Communications Backbone Files.
The installation setup analyses the file in question. If the three lines are present (for example, due to a previous installation), the dialog box will not appear.
Furthermore, if the installation path is different, the installation path referenced in the /etc/inetd.conf file is updated. This means that the most recent
installation takes priority.
The central area lists the current settings you set in the previous steps. The result looks something like this (depending on which software you chose to install):
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 107
24. Click the Install button to start copying the files to your computer.
Depending on your UNIX platform, the software may be provided on a suite of CD-ROMs. Once the software on the first CD-ROM has been installed, you will be
prompted to insert the next CD-ROM, and click OK to continue the installation until you have inserted the last CD-ROM.
Note that you must install all the software CD-ROMs: you cannot, for example, install only one out of two. If you click the Cancel button before installing the final
CD-ROM, the software previously installed will be uninstalled.
25. If you indicated earlier that you want to set up a vault client, the Vault Client Setup dialog box appears:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 109
26. Click the Add... button to display the following dialog box:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 110
27. Specify the Vault alias name, Server hostname and Orbix daemon port, then click OK.
The Vault Client Setup dialog box is now updated like this:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 111
28. Use the Modify... and Delete... buttons to modify or delete the selected configuration.
30. Once the product files have been copied, the Setup Complete dialog box informs you that the installation has been completed.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 112
The Version 5 window will look like this, for example, if you installed the DP2 - CATIA - Drawing Production 2 and MD2 - CATIA - Mechanical Design 2
configurations:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 113
An installation log is created (or the existing log is updated) in the current temporary directory, located by default in:
$HOME/CXINST.log
If you chose to run Version 5 now, but did not import a nodelock license certificate, a message window appears informing you that you have not yet requested a
configuration or product license:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 114
The License Manager dialog box is then displayed in front of the application window, and contains a list of the names of installed software. The
configuration/product names are grayed out.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 115
In our example, we installed the DP2 - CATIA - Drawing Production 2 and MD2 - CATIA - Mechanical Design 2 configurations.
Note that the field below each license specifies: "Not Granted". This is because this is the first time you are starting Version 5, and you have not yet reserved any
licenses.
At this stage, if you click the OK button, a session will still be started, but you will not be able to work with the product: menu commands will be grayed out, and
you will only be able to use the File->Exit command.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 116
Setting Up the Vault Client in Batch Mode
To perform a batch installation:
1. Log on as root.
2. Enter the command:
aix_a
hpux_b
irix_a
solaris_a.
Command Syntax
VaultClientSetupB
-list
-add VaultAliasName -host ServerHostname -port OrbixDaemonPort
-modify VaultAliasName [-host ServerHostname] [-port OrbixDaemonPort]
-delete VaultAliasName -h help
Example:
front panel.
You do not see the icon immediately. To display the icon, you must click
the Application manager icon on the CDE front panel, go into the Desktop
Tools cabinet, then double-click the Reload Applications icon. You can also
On IRIX, access the MYPRODUCT tab in Find->Applications in the desktop, then double-click
the MYPRODUCT V5R16 B16 icon.
You can also double-click document icons in your file manager to start Version 5. Note,
however, that this starts a new Version 5 session each time: the document is not added to a
Version 5 session which is already running.
To do so:
aix_a
hpux_b
irix_a
solaris_a
/usr/DassaultSystemes/B16/OS/code/command/
Installation Path
The software is installed (if you used the default location) in the folder directory:
/usr/DassaultSystemes/B16/OS
aix_a
hpux_b
irix_a
solaris_a
Environment
The installation offers you the choice of where to create the /CATEnv directory. The default is the root
$HOME directory (typically "/"), but you can create the /CATEnv directory anywhere you like.
Note that, if an environment already exists, the installation procedure offers you the choice between
replacing it or creating a new environment with a different name.
If you choose the default location, the installation creates the global environment, required to set the
Version 5 runtime environment variables, in the /CATEnv directory.
The environment is created in a text file and the environment file name is:
CATIA.V5R16.B16.txt
Note: UNIX system administrators can also setup a /CATEnv environment directly in the home directory
of end users.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 120
The installation creates the following filetree required for integrating Version 5 into the CDE desktop:
Note that:
The last four are created using the "-regserver" option of the setcatenv command and deleted using
the "-unregserver" option of the delcatenv command.
CATIAFiles.dt is common to all product lines.
The application is registered in the CDE application base via the "dtAppIntegrate" command which is
executed automatically during the installation. The result of registering the application is that the
/etc/dt/appconfig/ environment on your workstation is modified. This environment contains links to the
application desktop filetree located under /CATCDE (described above).
You do not see the icon immediately. To display the icon, you must click the Application manager icon on
the CDE front panel, go into the Desktop Tools cabinet, then double-click the Reload Applications icon.
You can also log off and log on to display the icon.
the creation of the MyProductLine directory in the Application Manager cabinet, accessible via the
front panel
the creation in this directory of the default global environment icon:
CATIA V5R16
The installation creates the following directory required for integrating your product into the Magic SGI
desktop:
The above three files are created using the "-regserver" option of the setcatenv command and deleted
using the "-unregserver" option of the delcatenv command.
Installing on IRIX takes longer than on the other UNIX platforms because the Magic SGI desktop is
recompiled.
You do not see the icon immediately. To display the icon, you must log off and log on. The visible impact
on the SGI desktop in File->Applications is:
CATIA V5R16
To do so, check the option "Set up communications ports (strongly recommended)" when prompted.
When one application attempts to communicate with another, the backbone process is started
automatically. If the process is already running, it is not restarted. A timeout is triggered once there are
no more clients attempting to communicate with other applications.
A typical scenario involving the use of the inter-application communications backbone is implemented to
allow the ENOVIA Portal DMU Navigator and ENOVIA Portal WEB to communicate: ENOVIA Portal WEB
can load geometry and product structures into a viewer such as ENOVIA Portal DMU Navigator, 4D
Navigator or CATIA.
If you are installing from scratch, the installation procedure sets up the communications backbone by
creating the following lines:
catiav5bb 55555/tcp
catiav5run 55556/tcp
in the file:
/etc/services
CATDeviceBroker 55557/tcp
/etc/inetd.conf
For example:
Tools for Setting Backbone and Peripheral Device Broker Port Numbers
The preferred method for setting port numbers, however, is to avoid manual edits by using the following
tool:
setV5Ports
-backbonePorts p1 p2: Specifies communication ports for backbone. Default values are 55555 and
55556
-VRPort p3: Specifies communication port for peripheral device broker - default value is 55557
-h: displays help.
1. Log on as root.
2. Enter the command:
aix_a
hpux_b
irix_a
solaris_a.
When used with the default values, it adds the following lines:
to the file:
/etc/services
to the file:
/etc/initd.conf
/var/ifor/nodelock (AIX)
/opt/lum/ls/conf/nodelock (HP-UX, IRIX, Solaris)
All end users can now log onto the same workstation and run a Version 5 session, because the
environment created at installation is global.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 125
Software fixes are distributed in the form of service packs. The service pack CD-ROM contains fixes for all configurations and products
available at the time it is built. Each service pack supersedes the previous ones and may be installed on top of the released level or on top
of a previous service pack. No individual corrections are delivered in between two service packs. Service packs are made available on a
regular basis. Delivery is synchronized for Windows and UNIX platforms.
Installing a service pack also involves committing or rolling back a service pack. For more information, refer to Committing and Rolling Back
Service Packs.
From start to finish, this task should take approximately 15 minutes.
2. Insert the CD-ROM for your UNIX operating system into the drive.
3. Declare and mount the CD-ROM drive if necessary, depending on your UNIX system (as described in Installing Version 5 on UNIX).
4. Change directory to the CD-ROM mount point and enter the command:
./start -s
Follow the instructions, and note the following:
the service pack will be installed automatically in the same directory as the current release: on UNIX, if you installed the current release
elsewhere than in the default location, you will be prompted to enter the path
you are not allowed to choose configurations or products: the service pack CD-ROM contains fixes for all configurations and products
available at the time it is built. Fixes are installed for the configurations and products detected in your installation.
unlike a normal installation, you are not allowed to start a session directly at the end of the installation procedure.
The service pack will be installed automatically in the same directory as the current release: on UNIX, if you installed the current release
elsewhere than in the default location, you will be prompted to enter the path.
By default, the service pack setup tool will install the service pack in the destination directory displayed, for example:
/usr/DassaultSystemes/B16
6. If the default destination directory is suitable, click the Next button to move to the next step, or click the Browse... button and navigate
to select another folder and click OK:
If the default destination directory is suitable, click the Next button to move to the next step, or specify another directory and click OK.
The directory you choose must be empty. You can also specify a new directory which will be created after confirmation.
7. Click the Next button to move to the next step.
Note that if you installed the same GA release in more than one location, you will be prompted to select from a list the destination folder to
which you want to apply the service pack.
This also means that you must perform a separate service pack installation, each time selecting the appropriate destination folder for each
GA. Installing the service pack just once in one destination folder is not sufficient.
8. If you want to commit the service pack automatically, check the "Commit automatically" option, or install the service pack without
committing by clicking the Next button.
Installing a service pack also involves committing or rolling back a service pack. For more information, refer to Committing and Rolling Back
Service Packs.
During the installation, you can choose to commit the service pack automatically. This is useful when you want to save disk space.
If you do not commit the service pack during the installation, and certain code components are redelivered with the service pack (for
example, shells, executable files), the new version of the component is installed and the previous version of the component is saved using
the following naming convention:
MyShell.BeforeSPK
9. Click the Install button to install the service pack, then click the Finish button once the setup phase is complete.
Note the following:
you are not allowed to choose configurations or products: the service pack CD-ROM contains fixes for all configurations and products
available at the time it is built. Fixes are installed for the configurations and products detected in your installation
unlike a normal installation, you are not allowed to start a session directly at the end of the installation procedure.
An installation log is created (or the existing log is updated) in the current temporary directory, located by default in:
$HOME/CXINST.log
-h: help.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 129
Error Codes
The following error codes may appear for a service pack installation:
0 Installation OK
1 Insufficient privilege
2 Bad environment
4 Bad media
5 Bad options
6 No installed GA
8 Installation problem
9 Allocation problem
10 No need to install service pack
Examples
start or start -s: installs the service pack using the graphic user interface, and without music
start -s -u /home/install/DassaultSystemes/B16 -bC: in batch mode, installs and automatically commits the service pack in
/home/install/DassaultSystemes/B16
start -s -u install_dir: installs in the install directory without automatic commit
start -u /mydirectory: in batch mode, installs in the directory "/mydirectory" without music and without automatic commit.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 130
On UNIX, you cannot install the online documentation directly from within the code installation procedure (unlike on
Windows).
The online documentation is provided on a suite of CD-ROMs. Once the documentation files on the first CD-ROM have
been installed, you will be prompted to insert the next CD-ROM, and click OK to continue the installation until you have
inserted the last CD-ROM.
Note that you must install all the documentation CD-ROMs: you cannot, for example, install only one out of the whole
suite. If you click the Cancel button before installing the final CD-ROM, the documentation files previously installed will
be uninstalled.
The last two CD-ROMs contain all the online documentation in PDF format.
1. Logon as root.
2. Insert the CD-ROM for your UNIX operating system into the drive.
If you are running IRIX or Solaris, inserting the CD-ROM declares and mounts the CD-ROM automatically (unless you
disabled this feature).
3. If you are running AIX or HP-UX, check whether the CD-ROM drive is declared.
On AIX, run the command:
lsdev -C -c cdrom
you need to add the CD-ROM drive by using the smit AIX command, for example.
Then, check whether the CD-ROM drive is mounted. If the CD-ROM drive is not mounted, you will have to mount it
before proceeding. You can determine if the drive has already been mounted by typing the command:
mount
In the output lines, you should see a list of mounted file systems. The CD-ROM drive has already been mounted on your
local system if a line similar to one of the following lines appears in the list:
cat /etc/fstab
you need to add the CD-ROM drive, by using the sam HP-UX command, for example.
Check if the pfs_mountd and pfsd daemons are running. If not, execute the commands:
Insert the CD-ROM into the drive. Mount the CDROM with the command /usr/sbin/pfs_mount, for
example:
/usr/sbin/pfs_mount /CDROM
/usr/sbin/pfs_umount /CDROM
./start
./start -s
if you want to start the installation procedure without the accompanying music.
The V5Doc Setup program starts, then the Welcome dialog box appears:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 132
If not, click the Browse... button, navigate to the installation folder, then double-click the folder name and click OK.
The dialog box will now display the name of the installation folder. In this case, it is:
/usr/DassaultSystemes/B16
9. Click the Next button to proceed.
/usr/DassaultSystemes/B16doc
10. Click the Browse... button to select a new folder if the default folder is not suitable, or click the Next button to
proceed.
The setup program detects which products are installed and preselects the corresponding manuals in the list, along with
any additional prerequisite manuals.
Note that the BAS - Infrastructure and CFY - Common Functionalities documentation sets are prerequisites for all other
online documentation and are always installed, even if you do not select them explicitly in the list.
This means that if you select the manual for a specific application (for example, PRT - Part Design), both this manual
and the associated prerequisite documentation will be installed.
The Start Copying Files dialog box appears listing the online documentation you are about to install:
Note that you must install all the documentation CD-ROMs: you cannot, for example, install only one out of two. If you
click the Cancel button before installing the final CD-ROM, the documentation files previously installed will be
uninstalled.
If you interrupt the installation, the documentation files will be uninstalled automatically. If the uninstallation has
already started, the message "Uninstallation is running. Please wait..." appears. It will disappear once the uninstallation
is completed. So you must wait for the end of the uninstallation before trying to reinstall the documentation.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 137
13. Once the documentation has been installed, click the Finish button in the Setup Complete dialog box:
We recommend that you install the documentation in the default location. Note that installing the online documentation
in the default location updates the path of the CATDocView environment variable using the online documentation
installation path.
If you decide to install the documentation elsewhere than in the default location, you must update the value for the
CATDocView variable in your default environment to specify the location of the documentation files. Otherwise, you will
not be able to access the documentation.
To do so, use the setcatenv command to change the value of the CATDocView variable to point to the location where
the CD-ROM contents were copied. For more information, refer to Managing Environments.
Using your browser, locate and open the documentation homepage for your product line.
If you want to consult the documentation directly from the CD-ROM drive, and without running a Version 5 session,
insert the documentation CD-ROM into the drive, mount the CD-ROM where necessary, then use your HTML browser to
open the following file (depending on the language) to display the appropriate Version 5 online documentation
homepage:
CATIAhomepage.htm (English)
FrenchCATIAhomepage.htm (French)
GermanCATIAhomepage.htm (German)
JapaneseCATIAhomepage.htm (Japanese)
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 138
ItalianCATIAhomepage.htm (Italian).
You set up a documentation server the same way as you set up a Version 5 code server. For more information, refer to
Enabling User Access to the Software Over the Network.
You can also access online documentation if it is installed on a http server (for example, Apache).
If you do so, in the Apache server configuration file (usually httpd.conf) replace the line:
#DefaultType text/plain
DefaultType application/octet-stream
/usr/DassaultSystemes/B16doc
/usr/DassaultSystemes/xxx
/usr/DassaultSystemes/
and run:
Examples
cd /usr/DassaultSystemes
./B16doc/English/UninstallDoc -doc CATIA_P3-English -s:
cd /usr/DassaultSystemes
./B16doc/English/UninstallDoc -a -s
Note that, if your Version 5 software is delivered on more than one CD-ROM, you must copy all the
software to the same directory from which you run this command.
You can:
To perform a batch installation, log on as root, change directory to the appropriate directory (or CD-ROM
mount point if there is only one CD-ROM) and enter the command:
./start
-D: specifies the /CATEnv environment directory. The default environment directory is /CATENV.
-lic "pathname.lic": specifies the path and name of the nodelock license certificate to import
-env new|replace: if the environment file already exists, you can choose to replace it or create a new
one
-env new: If you install the same level several times, the same environment is created
each time, and using the same name, except that the name is incremented like this each
time:
MYPRODUCT.V5R16_1.B16.txt, MYPRODUCT.V5R16_2.B16.txt
-env replace: if you already installed Version 5, you may then have deleted the
installation directory, in which case the environment remains; in this case, use the "-env
replace" argument to overwrite the existing initial environment and create a new one
during the installation. Note that the "replace" option does not replace existing
environments that you may have created using the "new" option (or using the "Create New
Environment" option when installing using the GUI), and whose name is incremented, for
example:
MYPRODUCT.V5R16_1.B16.txt
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 141
-orbixbase port2: specifies the starting port number for daemon-run servers
-CatiaV5Info/: used alone, setup takes default values for other parameters
-backbonePorts port3 port4: specifies the ports reserved for the communication backbone - default
values are 55555 and 55556
-VRPort port5: specifies the port reserved for processing events when using peripheral devices
(spaceball, spacemouse, joystick); the default port for the peripheral device broker is 55557
-list: lists the configurations, products and extra products on the CD-ROM
-all: unloads all the configurations and the products on the CD-ROM
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 142
-l "list_to_unload": specifies the list of configurations and/or products to unload. You have to type the
list of configurations and/or products, which you can obtain by running the command using the "list"
argument. In the list, configuration names look like this: ME2.slt., and product names look like this:
KIN.prd. These are the names you must type. Separate the names using a blank.
The arguments -list, -all and -l "list_to_unload" are mutually exclusive.
-allextra_prd: unloads all the extra products included with the configurations and products that are
already installed or to be installed from the CD-ROM.
-lextra_prd "list_to_unload": specifies a list of extra products to unload. These extra products must
be included with the configurations and products that are already installed or to be installed.
-noLang "fr ge it jp ch"/-noLang all : specifies user doesn't want to install language user interface
files for French, German, Italian, Japanese, Simplified Chinese, Korean
0 Installation OK
1 Insufficient privilege
2 Bad environment
4 Bad media
5 Bad options
6 Allocation problem
7 Prerequisites KO
Prerequisites warning (only for 3dcom:
10
concerns ddraw.dll)
44 LUM server to be stopped
55 Installation problem
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 143
Prior to removing the software, you must first kill any running processes then remove any user
environments you may have created after the initial installation using the tools described in Customizing
Your Environment on UNIX.
End users who set up their own user environments using the setcatenv command can only remove them
using the delcatenv command.
1. Log on as root.
Should the need arise to kill Version 5 processes manually, proceed as follows:
1. Log on as root.
2. Go to the installation directory:
/usr/DassaultSystemes/B16/OS/code/command
3. Enter the command:
./catstart -run KillV5Process -env MyEnv -direnv MyEnvDirectory
This command stops all Version 5 processes attached to the current concatenation of processes (including
Orbix), and lists all processes killed. This is an output example:
/usr/DassaultSystemes/B16/aix_a/code/bin/orbixd -u -s
KillV5Process - End
Note, however, one important restriction: processes started using "./" will not be detected.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 144
Environments are deleted in two steps, both involving the use of the delcatenv command.
/usr/DassaultSystemes/B16/OS/code/command
aix_a
hpux_b
irix_a
solaris_a.
The files deleted are described in About the Environment Created on Your Workstation on UNIX.
Note: The -d option is not necessary if you chose to install your environment in the proposed default
directory, i.e. /CATEnv . However, if you chose to install your environment in a different directory, you
must specify the -d option and the path of your environment directory.
The message:
Unintegration Complete
Note that environments cannot be deleted using simple operating system commands. The delcatenv
command is essential for removing all trace of environments in the desktop environment.
4. Only when all environments and running processes have been deleted, you can then delete the
installation directory using the command:
rm -rf /usr/DassaultSystemes/B16
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 145
Distributing Code
Distributing Version 5 on Windows
Distributing Version 5 on UNIX
This section concerns only the CATIA, DELMIA and ENOVIA DMU Navigator product lines.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 147
copy all the software into the same folder (as illustrated above)
or, given that the software is distributed on several CDs ( 1, 2 ...), copy the contents of each CD
into a separate folder for each CD, making sure that the name of each folder corresponds to the
CD number ( 1, 2 ...) etc.
Both solutions are ideal if you want the best level of performance, and involve installing and maintaining
the software on each computer.
distribute the software from a source computer to a client computer using the StartB batch
installation command on the client computer
distribute the software from a source computer to a client computer using the RCMD command (part
of the Windows Workstation Resource Kit)
access the software installed on the server from a "light" client on which only a runtime environment
is installed, but no code
distribute the software in compressed form
distribute a service pack from an archive file.
Code distribution scenarios based on the use of the Install Shield silent installation file mechanism are no
longer supported, and are replaced by the use of the StartB batch installation command.
Your roaming profile is the same on every computer you use. Windows system administrators should
ensure that Version 5 end users use roaming profiles. This will enable end users to log onto different
computers to run Version 5 and recover their customizations. Refer to your Windows online
documentation for more information about roaming profiles.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 149
You can copy the software into a folder on the source computer, or simply insert the Version 5 CD-ROM into the
drive. Then, you can log onto another computer, the client, on which you want to install Version 5, map the drive
containing the folder (or the CD-ROM drive directly) and run the StartB batch command to install Version 5 over
the network, as illustrated below:
Note also that, if an IBM License Use Management Runtime (LUM) license server is running on the computer on
which you are installing Version 5, you must stop the server before starting the installation.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 150
When you insert the CD-ROM into the source computer, the installation procedure starts automatically. The
Setup program displays a message telling you that it is preparing the installation procedure. In our example, you
do not need to install the software on the source computer before distributing it, so at this point, you must stop
the installation procedure from starting automatically.
One way of preventing the installation procedure from starting automatically after inserting the CD-ROM is to
press and hold down the Shift key immediately after inserting the CD-ROM.
1. Log on as Administrator onto the remote computer on which Version 5 is to be installed.
You must belong to the Administrators group, or have the privileges assigned to the Administrators group.
2. Run the Windows Explorer.
You need to use the Explorer to connect over the network to the computer containing the software, and access
the StartB batch program in the folder
3. Using the Explorer, select Tools->Map Network Drive...
4. Select a Drive, then enter either the name of the folder containing the software (in our example, this would be
something like \\Remote_Computer\My_CATIAV5_Folder) or directly the CD-ROM drive, or use the Browse...
button to navigate, then click the Finish button once you have made your selection.
Note that if you browsed to select the folder, its name will be displayed like this in the Folder field:
\\Remote_Computer\My_CATIAV5_Folder
Once mapped, the connection to the remote computer in the Explorer window will look like this:
5. Open a Command Prompt window and go to the folder on the source computer you mapped previously, and
then go to the INTEL folder.
6. Run the command:
StartB -h
to display help if you are not familiar with the StartB command.
7. Install the Version 5 software.
For example, running the following command will install the DP2 and MD2 configurations (and the corresponding
nodelock licenses) for the CATIA product line into the following location, for example on 32-bit Windows 2000 or
Windows XP Pro:
Furthermore, for the RCMD command to operate, the RCMDSVC service must be started beforehand on the client
computer. This involves installing a Remote Command server on each client computer, then starting the Remote
Command server. For more information, refer to the following Windows online help topic: RCMD.EXE: Remote
Command Service.
When setting up the server you can:
copy all the software into the same folder (as illustrated above)
or, given that the software is distributed on several CDs ( 1, 2 ...), copy the contents of each CD into a
separate folder for each CD, making sure that the name of each folder corresponds to the CD number ( 1, 2
...) etc.
With Windows 2000 and Windows XP Professional 32-bit operating systems, if LUM is already installed on your
machine, and the LUM license server has been started, you will be prompted to stop the LUM server before
proceeding. If you choose not to stop the LUM server, the installation will be stopped.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 153
The software supplied by Microsoft in the Windows Workstation Resource Kit is not officially supported. Microsoft
(and Dassault Systemes) do not guarantee the performance of the Windows Workstation Resource Kit tools,
response times for answering questions, or bug fixes to the tools. The software (including instructions for its use
and printed and online documentation) is provided "AS IS" without warranty of any kind.
1. Log onto the source computer using an account with Domain Administrator privileges.
2. Copy the Version 5 software into a folder on the source computer, and share the folder.
For example, the folder name could be My_CATIAV5_Folder ,and you could share the folder using the name
"CATIA".
3. Select Start->Programs->Windows 2000 Professional Resource Kit->Tools.
4. Double-click the Network Management Tools control, then the Remote Command Service control.
A Command Prompt window is opened and you are now located in the directory, for example on 32-bit Windows
2000 and Windows XP:
rcmd \\remote_computer
rcmd \\chopin
6. Once you are connected to the remote computer, map a drive on the remote computer to the shared folder on
the source computer.
where:
This command maps the M: device (the device must be available) on the remote computer "chopin" to the shared
folder "CATIA" on the source computer "ravel", using the domain administrator password "admin". Note that the
domain name is "MyDomain" and the domain administrator username is "root".
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 154
To check that the map has been successfully performed, enter the command:
net use
M:\INTEL\StartB -h
M:\INTEL\StartB -list
For example, running the following command will install the DP2 and MD2 configurations (and the corresponding
nodelock licenses) for the CATIA product line into the following location, for example on 32-bit Windows 2000 or
Windows XP Pro:
Note that appending the "-exe" option to the StartB command does not launch a session at the end of the
installation on the remote computer.
You can also use the System Management Server (SMS), part of the Windows BackOffice suite. SMS includes
desktop management and software distribution that significantly automates the task of upgrading software on
client computers.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 155
This type of scenario is sometimes referred to as a "code server" scenario. The advantages of this type of
scenario are:
you save time: the code is installed on the code server only, and not on the clients; and future upgrades and
installation of service packs are easier since you only have to upgrade the software on the server, and not the
clients
you save disk space: code is installed on the server only, so you save disk space on the clients.
the code is sent over the network to the client, so you will experience problems if the network is not efficient
or goes down
the code is executed on the client, so performance may vary depending on the power of the client computer
and the amount of memory on the client.
You need to use the Explorer to connect to the server over the network and access the C:\Program Files folder on
the server.
4. Select Tools->Map Network Drive...
The Map Network Drive dialog box is displayed, and looks something like this:
5. Select a drive.
6. Select the folder Program Files on the server, and click Finish.
This is the folder containing the Dassault Systemes folder in which you installed the Version 5 software.
Note that selecting the folder displays the server name and folder name in the Path field:
\\server\Program Files
In the All Folders list in the left window of the Explorer, you will now see the connection to the server, for
example:
where "server" is the server name, for example, and "F:" is the name of the drive you mapped.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 157
7. Still on the client computer, open a Command Prompt window and go to the following directory:
where, for example, "F:" is the name of the mapped drive and represents F:\Program Files.
8. Open a Command Prompt window to go back to the directory where you were before,
Then, run the following command using exactly the syntax indicated, depending on whether you are running
CATIA, ENOVIA DMU Navigator or DELMIA:
where "MyEnvironment" is the name of the environment, and "MyEnvDirectory" the name of an existing folder
containing the environment on the client, if you intend to create an environment on the client as described in
step 10a.
If you intend to use the environment on the server (step 10b), run the command:
cnext /regserver
dmu /regserver
delmia /regserver
This activates OLE support which ensures that double-clicking Version 5 document icons on the client will run a
Version 5 session.
9. Run the following command, depending on whether you are running CATIA, ENOVIA DMU Navigator or
DELMIA:
or access the server environment via the network, to avoid creating an environment on the client (step 10b).
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 158
10a. Create the runtime environment on the client.
where "MyEnvironment" is the name of the environment, "MyEnvDirectory" is the name of the folder
containing the environment and "MyProductLine" is the name of the product line.
1. Select the Environment->New command to display the New Environment dialog box.
2. Select the Options menu, then the Set Global Storage Directory command, and set the
environment storage directory to the same location you set in step 8.
3. Enter the same environment name you also set in step 8.
4. Enter the path of the shared installation folder on the server as follows:
F:\Dassault Systemes\B16
5. Select Global for the Mode.
6. Select your Product Line.
7. Click OK.
In both cases, a global environment is created on the client computer which can be used by all users
who log onto the client.
10b. You can also access the server environment via the network. To be able to do so, the code and the runtime
environment on the server must be installed in a shared location so you can map it from the client.
For illustration purposes, let's suppose you installed the code for example on 32-bit Windows 2000 or Windows
XP Pro in:
To facilitate access to the runtime environment over the network, the environment must be located in a shared
easily accessible location, and NOT in the default location in the All Users profile on the server which is:
For illustration purposes, let's suppose you created the runtime environment on the server in the following
shared location:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 159
E:\CATEnv
where "MyEnvironment" is an example for the name of the runtime environment on the server.
Note that this scenario will only work if the drive letter on the client and the drive letter on the server are
identical. In certain cases, you may not be able to use the same drive letter on the client and the server. For
example, the code is installed on "E:" on the server, but the drive "E:" on the client is not free, so you map the
drive "K:". If you then try to start a session, the runtime environment will not be found because the paths
referenced in the runtime environment point, for example, to "E:..." like this (32-bit code on Windows 2000 or
Windows XP):
...
CATInstallPath=E:\Program Files\Dassault Systemes\B16\intel_a
CATDLLPath=E:\Program Files\Dassault Systemes\B16\intel_a\code\bin
...
To bypass this problem, create a new global environment on the server using the following command:
where "\\servername\home" is the UNC name of the server and shared folder, and "NewEnvironment" is the new
environment name. Creating a new environment this way will create the correct UNC paths as follows (32-bit
code on Windows 2000 or Windows XP)::
...
CATInstallPath=\\servername\home\Program Files\Dassault Systemes\B16\intel_a
CATDLLPath=\\servername\home\Program Files\Dassault Systemes\B16\intel_a\code\bin
...
This time, your attempt to start a session will be successful if you use the following command:
Note also that if you disconnect the drive you mapped, you will have to remap it as before for the scenario to
continue to work.
11. If you require extended font support, run the following command:
For more information, refer to "Using and Customizing Fonts" in your Infrastructure Users Guide.
12. If you want to record and replay macros, and Microsoft Visual Basic for Applications (VBA), Version 6.0 is not
already installed on your client, you have to install VBA manually from the product CD-ROM.
Pathcdrom\VBA\MSI\INSTMSIW.exe /Q
msiexec /q /i pathcdrom\VBA\VBA6.msi
However, note that VBA is not supported on Windows XP Professional x64 Edition.
13. If you need access to the communications backbone and peripheral device broker, the associated port
numbers must be set up on the client.
Used to support process interoperability (for example, between CATIA and DMU), the backbone needs to be set
up on each computer running applications which need to communicate.
1. Log on as administrator.
2. Open a Command Prompt window and go to the installation directory, for example:
setV5Ports
where "server" is the name of the server machine. The UNC path must be used
imperatively.
For more information about the communications backbone, refer to Communications Backbone Files.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 161
14. If you created a runtime environment on the client, start a session by double-clicking the environment icon
on the desktop or by selecting the command to start the product from the Start->Programs menu.
Make sure that you have set up your licenses (either network or nodelocked) before starting a session.
15. If you created an environment on the client, and want to delete this environment, run the following
commands:
1. Log on as administrator onto the server computer, install the Version 5 software in the following
folder, for example on 32-bit Windows 2000 or Windows XP Pro:
where "MyEnvironment" is the name of the environment, and "MyEnvDirectory" the name of the folder
containing the environment, if you intend to create an environment on the client as described in step 9.
This activates OLE support which ensures that double-clicking Version 5 document icons on the client will
run a Version 5 session.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 163
where "MyEnvironment" is the name of the environment, "MyEnvDirectory" is the name of the
folder containing the environment and "MyProductLine" is the name of the product line.
In both cases, a global environment is created on the client computer which can be used by all
users who log onto the client.
Instead of creating an environment on the client computer, you can use access the environment on
another computer via the network. For more details, refer to step 10b in Accessing the Software From a
Thin Client.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 164
For more information, refer to "Using and Customizing Fonts" in your Infrastructure Users Guide.
10. If you want to record and replay macros, and Microsoft Visual Basic for Applications (VBA), Version
6.0 is not already installed on your client, you have to install VBA manually from the product CD-ROM.
Pathcdrom\VBA\MSI\INSTMSIW.exe /Q
msiexec /q /i pathcdrom\VBA\VBA6.msi
However, note that VBA is supported on Windows XP Professional x64 Edition with Version 5 32-bit code.
11. If you need access to the communications backbone and peripheral device broker, the associated
port numbers must be set up on the client.
Used to support process interoperability (for example, between CATIA and DMU), the backbone needs to
be set up on each computer running applications which need to communicate.
To set up the ports using the default values, for example for 32-bit Windows 2000 or Windows XP Pro:
1. Log on as administrator.
2. Open a Command Prompt window and go to the installation directory, for example:
setV5Ports
where "server" is the name of the server machine. The UNC path must be
used imperatively.
For more information about the communications backbone, refer to Communications Backbone Files.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 165
12. If you intend to extract offline licenses (on Windows 2000 and Windows XP Professional only) for use
on the client, and the client happens to be a laptop (as described in Enabling Concurrent Offline
Licensing), you must install the LUM driver as follows:
13. If you created a runtime environment on the client, start a session by double-clicking the
environment icon on the desktop or by selecting the command to start the product from the Start-
>Programs menu.
Make sure that you have set up your licenses (either network or nodelocked) before starting a session.
14. If you want to delete the environment created on the client, run the following commands:
For example, you can build an archive file containing the differences between level V5Rn GA and V5Rn SP2 (even
if you installed V5Rn SP1 in between).
You use the CATDeltaInstall command with the appropriate arguments to build the archive. The resulting archive
file can then be copied to the target computer and decompressed using platform-specific tools. For example, you
need the Microsoft CabArc.exe utility which can be downloaded from:
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b310618
The installation files from the archive file then overwrite the installation files on the target computer.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 167
Note that installing a service pack from an archive file always commits the service pack automatically. Make sure
that the previously installed service packs on the target computer have been committed before installing the
archive. Furthermore, you can only use this method if the configurations/products on both the source and target
computers are identical.
The traditional methods of service pack installation and the use of the CATDeltaInstall command are
interchangeable: you can install a service pack from a CD-ROM, then install another service pack from an archive
file.
Installation Procedure
1. Log on as an administrator onto the source computer.
You must belong to the Administrators group, or have the privileges assigned to the Administrators group.
Otherwise, you will not be able to install the different levels on the source computer.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 168
2. Perform, for example, the following installations:
install V5Rn GA
install V5Rn SP1 then commit the service pack
install V5Rn SP2 then commit the service pack.
-s: previous level number: the level can be either a service pack or the GA level for the same release;
0 = GA, 1 = service pack 1, 2 = service pack 2, etc.; the default is 0.
A service pack must have been correctly installed if you intend to build an archive based on the differences
between this service pack and another level. For example, if you installed only the V5Rn GA and V5Rn SP2
levels, you cannot specify "-s 1" as an argument (because you did not install the V5Rn SP1 level).
-d: Installation directory; when the command is run from the installation directory, this argument is not
required
-l: only lists the files which are different between the two installation levels; this list can be used to build a
different type of archive (for example, WinZip)
-a: builds an archive file with the specified name (requires the CabArc utility)
-h: help.
On Windows, the archive file compression is handled automatically thanks to the cabarc format.
The service pack installed your computer, and used as the basis for comparison with a previous level, must be
committed beforehand. If not, the CATDeltaInstall command will not operate.
5. Copy the archive file to a target computer on which you want to install the same service pack level.
Keep in mind that the target computer must be running the same Version 5 configuration/products as the source
computer on which the archive file was built.
6. Stop all running Version 5 processes on the target computer before proceeding.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 169
7. Install the archive using the following command, for example on 32-bit Windows 2000 or Windows XP Pro:
You can:
install the software on each computer, either directly from the CD-ROM or from a server.
This is the ideal solution if you want the best level of performance, but involves installing and
maintaining the software on each computer.
copy all the software into the same folder (as illustrated above)
or, given that the software is distributed on several CDs ( 1, 2 ...), copy the contents of each CD
into a separate folder for each CD, making sure that the name of each folder corresponds to the
CD number ( 1, 2 ...) etc.
or, set up the software on a server, and simply set up a minimum environment on each user's
computer so end users can access the software over the network.
This is the ideal solution if you want to save space on each computer, and facilitates future upgrades
since means that you only have to upgrade the software on one computer: the server.
You can run Version 5 using CATIA Version 4 userids. Using Version 5 with a CATIA Version 4 userid is
transparent as is the case for other userids.
The scenarios in this section involve mounting and exporting file systems between source and destination
machines.
on the source machine, export the file system to which the directory belongs
on the destination machine, mount the desired directory or file system.
Temporary Mount
If you do not export a directory or file system, it cannot be mounted elsewhere. On AIX, HP-UX and IRIX
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 172
machines, use the following command to temporarily export a directory or a file system:
Example:
On Solaris machines, use the following command to export a directory or a file system temporarily:
Example:
Note that you can only export file systems. If the directory you are trying to export is not a file system,
depending on your OS level and your machine, either it will not work at all or it will export the higher-
level file system in the path. If it doesn't work, use the command:
df -k .
Mount a Directory
On AIX, HP-UX and Solaris machines, the command you must use in order to mount a directory on your
machine is:
Example:
Note that the mount directory is not necessarily a file system, but the file system it depends on must be
exported on the source machine as explained above.
On IRIX machines, the command you must use in order to mount a directory on your machine is:
Example:
Note that you must mount /CDROM with the option ro (read only).
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 173
Unmount a Directory
You can unmount the directories, which are mounted on the system by using this command:
Example:
umount /mnt
Permanent Mounts
To make permanent mounts, the principle is the same. The only difference is that you must write the
information in files instead of launching commands.
First, modify the file in which all the permanently exported directories are written.
/etc/exports
For each file system you want to export, you must add (or modify ) a line:
Example:
/CDROM -ro,root=verre
/etc/dfs/dfstab
Example:
Again, we can only export file systems. If you want to mount a directory, you must export the higher-
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 174
level file system in the path.
Once you've modified the file, you must use the following command. If you don't use this command, the
computer will not take into account your modifications until the next restart:
exportfs -a
In order to mount a directory permanently on an AIX computer, you must modify the file:
/etc/filesystems
For each directory, you must add certain lines in this file:
[local path]:
dev = [original path]
vfs = [mount type - nfs, jfs, ]
node name = [name of the original machine]
mount = [true/false/automatic] - at start ? -
options = [rw ,ro,wo],Basefs=[original file system type]
account = [true/false]
Example:
/data1:
dev = "/data1"
vfs = nfs
nodename = cabochon
mount = true
options = bg,hard,intr
account = false
/etc/fstab
Example:
/etc/fstab
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 175
Example:
/etc/vfstab
Example:
On all machine types, once you've modified the file, don't forget to launch the command:
mount -a
otherwise your modifications will not be taken into account until the machine is restarted.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 176
We have chosen the AIX platform for the purposes of this scenario.
For the purpose of our example, the name of the directory is:
/usr/my_Version5_software_directory
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 177
6. Go to the directory as follows:
cd /usr/my_Version5_software_directory
You are now ready to perform an installation of Version 5 from this directory.
7. To start the installation, enter the command:
./start
For the purposes of this scenario, when you are prompted to choose a destination directory in the Choose
Destination Location dialog box, choose the default installation directory:
/usr/DassaultSystemes/B16/aix_a
For detailed information about the start command, refer to Start Command Syntax.
You could also export the CD-ROM directory itself in read only mode.
You are now ready to distribute Version 5 to other workstations on your network.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 178
We have chosen the AIX platform for the purposes of this scenario.
You already copied the contents of the CD-ROM into the following directory on the server:
/usr/my_Version5_software_directory
using the scenario described in Setting Up the Server. You are going to perform the installation by allowing the
client to access this directory on the server.
To do so, you must export the directory /usr/my_Version5_software_directory to the client: the directory must be
accessible from the client.
2. Log on as root onto the client "chopin".
3. Mount the exported directory via NFS.
4. Go to the mounted directory.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 179
5. To start the installation, enter the command:
./start
/usr/DassaultSystemes/B16/aix_a
For detailed information about the start command, refer to Start Command Syntax.
You have another alternative if you have not already copied the CD-ROM contents into a directory: insert the CD-
ROM, export the /cdrom directory to the client, then mount the /cdrom directory from the client.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 180
We have chosen the AIX platform for the purposes of this scenario.
/usr/DassaultSystemes/B16/aix_a
2. From the server, export the installation directory (/usr/DassaultSystemes/B16) to the client.
/usr/DassaultSystemes/B16/aix_a/code/bin
6. Set the path of the installation directory on the server using the command:
export
PATH=/usr/DassaultSystemes/B16/aix_a/code/bin:/usr/DassaultSystemes/B16/aix_a/code/command:$PATH
The following list contains the variables to modify on each UNIX system:
where "MyEnvironment" is the name of the environment, "MyEnvDirectory" is the name of the folder containing
the environment and "MyProductLine" is the name of the product line.
Running the setcatenv command as a normal end user runs successfully, but does not create a global
environment.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 182
8. To register document types on the client desktop, go to the directory:
/usr/DassaultSystemes/B16/aix_a/code/command
For a description of the setcatenv and delcatenv command syntax for UNIX, refer to Customizing Your
Environment on UNIX.
9. If you need access to the communications backbone and peripheral device broker, the associated port
numbers must be set up on the client.
Used to support process interoperability (for example, between CATIA and DMU), the backbone needs to be set
up on each computer running applications which need to communicate.
/usr/DassaultSystemes/B16/OS/code/command
2. Enter the command:
aix_a
hpux_b
irix_a
solaris_a.
/usr/DassaultSystemes/B16/aix_a/code/command
12. To delete this environment, run the command from the same directory:
./catstart -run "delcatenv -d MyEnvDirectory -unregserver -cs MyProductLine" -env MyEnvironment -direnv
MyEnvDirectory
./catstart -run "delcatenv -e MyEnvironment -d MyEnvDirectory -desktop yes -a global -cs MyProductLine" -env
MyEnvironment -direnv MyEnvDirectory
For a description of the setcatenv and delcatenv command syntax for UNIX, refer to Customizing Your
Environment on UNIX.
/usr/DassaultSystemes/B16/aix_a
2. From the server, export the following directories to the client:
/usr/DassaultSystemes/B16/aix_a (installation directory)
/CATEnv (runtime environment directory)
Both the installation and runtime environment directories must be accessible from the client.
3. Log onto the client as root.
4. From the client, mount both exported directories via NFS.
5. Go to the following mounted directory:
/usr/DassaultSystemes/B16/aix_a/code/command
6. Log off the root userid.
7. Log on using a normal userid and run a Version 5 session.
/usr/DassaultSystemes/B16/aix_a/code/command
For example, you can build an archive file containing the differences between level V5Rn GA and V5Rn SP2 (even
if you installed V5Rn SP1 in between).
You use the CATDeltaInstall command with the appropriate arguments to build the archive. The resulting archive
file can then be copied to the target computer and decompressed using platform-specific tools (for example, you
use the tar command). The installation files from the archive file then overwrite the installation files on the target
computer.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 185
Note that installing a service pack from an archive file always commits the service pack automatically. Make sure
that the previously installed service packs on the target computer have been committed before installing the
archive. Furthermore, you can only use this method if the configurations/products on both the source and target
computers are identical.
The traditional methods of service pack installation and the use of the CATDeltaInstall command are
interchangeable: you can install a service pack from a CD-ROM, then install another service pack from an archive
file.
Installation Procedure
1. Log on as an root onto the source computer.
/usr/DassaultSystemes/BOn/OS/code/command
aix_a
hpux_b
irix_a
solaris_a.
4. To build an archive file based on the differences between the V5Rn GA and V5Rn SP2 levels, for example, run
the CATDeltaInstall command as follows:
-s: previous level number: the level can be either a service pack or the GA level for the same release;
0 = GA, 1 = service pack 1, 2 = service pack 2, etc.; the default is 0.
A service pack must have been correctly installed if you intend to build an archive based on the differences
between this service pack and another level. For example, if you installed only the V5Rn GA and V5Rn SP2
levels, you cannot specify "-s 1" as an argument (because you did not install the V5Rn SP1 level).
-d: Installation directory; when the command is run from the installation directory, this argument is not
required
-l: only lists the files which are different between the two installation levels; this list can be used to build a
different type of archive
-a: builds an archive file with the specified name
-t: temporary file for storing archive file; the default is /tmp
-h: help.
5. You may want to compress the archive file. To do so, run the command:
compress MyArchiveFile
Keep in mind that the target computer must be running the same Version 5 configuration/products as the source
computer on which the archive file was built.
7. Stop all running Version 5 processes on the target computer before proceeding.
8. If you compressed the archive file earlier, uncompress it by running the command:
compress -d MyArchiveFile.Z
/usr/Dassault Systemes/B0n
Note: The tar command is not enabled for files greater than 2 GB an AIX.
10. Start a session to check the service pack has been correctly installed.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 188
What Is a Vault?
The vault is the repository in which all ENOVIA V5 documents (CATIA V4 models, CATIA V5 documents,
text files, html files, cgr files, etc.) are saved.
optimized data flow: the flow of data over the network is optimized; documents are not stored in the
database because a database is used mainly for querying operations. If the ENOVIA V5 documents
were stored in a database, access to the documents in the database would be too complicated,
especially in the case of very large documents
secured storage: the vault is a set of data repositories (directories on one or more disks) structured
and organized like a database and all documents in the vault are secured
access by non-ENOVIA applications: access data in a vault is possible by using not only the ENOVIA
V5 Life Cycle Applications, but also by using Version 5 applications involved in interoperability.
Access to the vault server from the vault client is resolved as follows: through CORBA, the vault client
contacts the vault server which listens (for incoming requests) on the Orbix port specified at installation.
The whole point is to set up on the client side an "Alias" that will describe the target to be reached:
The vault client is a thin component enabling an application to access the vault, and hides the
communication from the application.
The vault client application requires the vault client properties file. The vault client process may run on a
separate machine from the vault server, or on the same machine. The vault client application knows how
to connect the vault server by reading the properties in the vault client properties file (if needed, it can
connect several vault servers simultaneously).
Each vault server must have its own database structures, file repositories and properties file. Vault
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 190
database setup and repository management are independent from each other, but are integrated within
the same vault setup tool.
Each vault server process may run on a separate workstation, and does not need to be installed on a
machine hosting Version 5 code (except of course the vault code). The server can deal with multi-
processing and can answer several vault client applications simultaneously. When running, it keeps a set
of database connections open in order to improve performance and database access.
Setting up a vault client and vault server creates the following objects:
XXXVaultServer.properties
VaultClient.properties
VaultLocalServerList.properties
are created, where "XXXVaultServer" is the appropriate name of the vault server (Orbix service
name) in:
install_dir/docs/java
For example, the default vault server name and resulting file are named:
ENOVIAVaultServer.properties
the following files:
ENOVIAVaultServer.imp
are created with the appropriate name (Orbix service name) in:
install_dir/startup/orbix/config/Repositories/ImpRep
VaultClientA is the vault client name, with its corresponding properties file
Vault1OrbSrv is the name of the vault server and the Orbix service name, with its corresponding
properties file, database and repository.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 191
How Do
I Create
a Vault Server and Client?
A vault server can be created on its own without the rest of the ENOVIA LCA software, and can be
created without having created an associated vault client previously.
If you installed the Vault Administration configuration, the Vault Server dialog box is displayed instead of
the Vault Client Setup dialog box, and contains two tabs:
Vault Server
Vault Client.
Note: the vault administration tool does not manage the vault cache.
It is quite possible to install the ENOVIA LCA code in one location, and the Vault Server Administration
configuration in another location on the same machine.
You MUST NOT attempt to set up this kind of installation on the same machine. If you need the LCA code
and vault server on the same machine, install them both at the same location.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 192
Corba
NFS
HTTP.
Several applications configured as vault clients can simultaneously access documents from the vault
server.
Security
The vault server process is the only one that has access to the vault contents.
In the file implementation, vault directories do not need to be mounted on the client workstation (except
when using the NFS access or datalink implementation).
The vault server has the ability to serve several users at the same time.
The screen shots in this scenario reflect primarily the Windows platforms because the differences between the vault setup user interfaces on both
platforms are minimal. UNIX screen shots are used only occasionally if there is a significant difference between the two.
If you are still in the installation procedure, and if you selected the Vault Administration configuration, the Vault Setup dialog box will
appear BEFORE the enoviadbsetup step.
Windows
Log on as administrator, open a Command Prompt window, go to the following installation directory:
UNIX
/usr/DassaultSystemes/B16/OS/code/command
aix_a
hpux_b
irix_a
solaris_a.
2. Because you have not yet created a vault server, click the Add... button.
The Vault Server Authentication dialog box is displayed like this on Windows:
3. On Windows, provide the vault administrator userid, password and domain name.
On UNIX, the domain name is not applicable.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 196
The vault administrator can be any operating system userid recognized on the computer on which you are creating the vault server. This
userid is the same as the userid to which the vault server process belongs. Furthermore, the files created in the vault by applications will be
owned by this userid.
must have the privileges to administrate the vault (the user must have write authorization on the vault directories)
must already exist as a system user.
Vault Identification
The Vault server name is the way for vault client applications to identify a vault server. A vault client application needs three items of
information to connect to a vault server:
the Orbix service name under which the vault server is registered via Orbix
the Orbix listening port on the remote machine where the vault server is running
the remote machine name.
The vault client properties file (set up when installing a vault client) is used to provide the link between a given vault server name and the
three items of information identifying a given vault server.
Vault administrator
The userid of the Vault administrator you entered in the Vault Server Authentication dialog box is displayed for information purposes.
Server hostname
The server hostname is the name of the machine on which you are creating the vault server.
Warning: When attempting to install an LCA server and a Vault server on the same machine, the administrator may be allowed to specify
two different port numbers for the servers. If you do so, the application does not work afterwards. This is particularly important since the
vault server and LCA server can be more easily installed separately, that is on two different server paths, which implies two different port
numbers.
Thread number
Set the thread number, which is the number of threads waiting for client requests. A vault server can answer several vault client
applications simultaneously. This number specifies the number of simultaneous requests that can be processed. The default is 2. Multi-
processing capacity depends on the number of processors on the workstation.
Timeout
Set the timeout value in minutes. The timeout is applied if the vault server does not receive a request from a vault client after the
specified period of time starting when the last connection to the Vault server was closed. The default is 900 minutes.
Set the time zone offset in minutes. The server time zone offset (in milliseconds) is used for document creation and modification dates.
For example, if you set the value to 3600000, the server time zone is GMT+1 hour.
5. Click the Database setup... button to access the Vault Server Database dialog box, then check the DB2 or Oracle option to specify which
database you are working with, fill in the fields, and set the desired options.
Database Setup
Each vault server requires its own data structure in the database. During this step, you are going to create tables in the database to support
the vault server.
Note that, before entering this phase, you must have already created a database on DB2 or Oracle. If you already created a
database intended to be used for the enoviadbsetup procedure, you can use that database here.
Note that a tablespace also has to be created first before you enter this phase.
For DB2
The Vault Server Database dialog box looks like this for DB2:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 198
DB2 instance
Select the DB2 alias name to be used to store the vault tables. All available DB2 alias names, remote as well as local, will appear in the
selection list.
The DB2 instance home directory is indicated as information only; you cannot modify this field.
Select the database alias name for the chosen DB2 instance.
Database directory
If the database directory of the chosen database alias is LOCAL, then the database directory field will contain its path. If the database
directory of the chosen database alias is REMOTE, then the database directory field will simply specify the text REMOTE.
The Vault Server Database dialog box looks like this for Oracle:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 199
Click the Browse... button and browse to select the home directory of the Oracle installation if it is not already detected automatically.
Oracle clients communicate with Oracle servers through service names, which are easy-to-remember aliases for database addresses.
Service names can be resolved using various methods:
Local Naming method: resolves service names using a local configuration file (TNSNAMES.ORA, SQLNET.ORA, LISTENER.ORA).
Centralized Naming method: resolves service names using Oracle Names (highly recommended to centrally administer large Oracle
networks).
TNS_ADMIN
check the TNS_ADMIN option (this is the default): the path of the default tnsnames.ora file containing the list of database service
names is highlighted, but you can click the browse button and choose the file at a different location
select the database service name from the pulldown list.
Note: If you don't check the above button, the Centralized Naming method will be used.
uncheck the TNS_ADMIN option: the Database Service Name field appears
enter the database service name in this field.
Enter the database schema name. A schema is a collection of named objects. It provides a logical classification of objects in the database.
This name is a database userid and is used as a prefix in the name of the vault tables. For example, if you enter VPMADM, the table name
will be: VPMADM.VAULTDOCUMENT. The userid is the owner of the database structures created. The resources created in the database for
the vault will belong to this schema (=resource owner).
For DB2, the schema name could be any string accepted by DB2, whereas the connection user must exist at the operating system level.
On Oracle, you have to provide a password. This password is not required in DB2.
This is a system userid used by the vault to connect to the database. All connections to the database will be performed under this id (the
main interest of this specific user being for remote database connectivity, since server authentication is being used). With a local database,
it might identical to be the vault administrator.
Password
Database administrator
Password
Notes: The Administrator's user name and password must already exist as a UNIX User Name and Password. Both of these entries are
case sensitive.
For Oracle, both the Vault database connection user and the Database administrator will have to exist as Oracle users (and will be
created as such if needed), but do not have to exist at the operating system level.
Minimum number of connections for the vault server database connection pool.
Maximum number of connections for the vault server database connection pool.
Tablespaces
Reminder: a tablespace has to be created first before you enter this phase. You cannot create one interactively at this stage (unlike during
the ENOVIA database setup). Note that the table space for the vault does not require a size of 8K (unlike the ENOVIA database setup which
does require a size of 8K). You can select the default tablespace, for example USERS (Windows) or USERSPACE1 (UNIX), or the tablespace
created by the ENOVIA database setup phase (if you already created the ENOVIA database). However, note that the reverse is not true:
you cannot create a vault tablespace and use it during the ENOVIA database setup.
6. After filling in all the fields, click the Tablespace... button to display the Vault Server Tablespace dialog box:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 201
then select the tablespace and click OK, then click OK again.
The database type, database name and vault database connection user you just configured are now displayed next to the Database
setup... button.
Setting Up Repositories
Data is stored in the vault server repository. A vault server repository is characterized by:
its name
a tmp directory: when vault client applications create new documents, they are stored temporarily in this directory, and are written to a
secured directory when saved.
and a set of secured directories.
These directories have to be on the same file system for a specific vault server repository to improve performance and reliability.
7. Click the Repositories setup... button to access the Vault Server Repositories dialog box:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 202
8. Click the Add... button to access the Repository Add dialog box:
Name
Path
Click the Browse... button, double-click a directory in the list to select the repository path, then click OK. This path will contain the tmp and
secured directories. You can select an existing directory or create a new one using the Browse... button.
If you have already created a directory used by another repository, you cannot choose the same directory used by the other repository,
either in the same vault server or a different vault server, and either in the same installation or in a different installation.
Tmp path
Click the Browse... button, double-click a directory in the list to select the path of the temporary directory, then click OK. The directory
must already exist. You can select an existing directory or create a new one using the Browse... button.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 203
Secured list
Secured storage occurs when the saved documents are actually committed into the database.
The secured list displays the list of secured directories. To add a secured directory, click the Add... button, double-click a directory in the
list to select the secured directory, then click OK. The secured directory must already exist. You can select an existing directory or create a
new one using the Browse... button.
A warning will inform you if the selected Tmp path or Secured path is not empty, however you can maintain your choice.
A warning will also inform you if the Repository's path contains something else other than the Tmp path and the Secured paths: in this
case, you must choose another directory.
If the user names you used for the Database schema name and Vault database connection user exist already in the database, the
following warning message appears:
If so, click Yes. If it does not exist, you will be prompted to create it later on.
The Vault Server Add dialog box now displays all the information you entered, and now looks like this, for example on DB2 on Windows:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 205
and like this for example on Oracle on UNIX:
11. Check the appropriate global vault server administration options at the bottom of the dialog box.
Read only
Check the Read only option to set the entire vault to read only mode. This is useful when the vault is full and you want users to be able to
continue to read data from the vault. Obviously, no documents can be saved in the vault in this mode.
Remove files
Check the Remove files option to trigger file deletion on disk. When you request a deletion operation using a vault client application
(CATIA V5, ENOVIA LCA lifecycle application, etc.), a line containing the instruction to remove the file is stored in the database: the file
itself is not removed from the vault. This option must be checked if you want files to be physically removed. This option is checked by
default.
Check the Log removed files option to trigger the logging of deletion operations requested by vault client applications. If you did not
check the Remove files option, your files will remain in the vault. You can then use the log containing the list of deletion operations as
input for your own deletion batch programs.
Check the Authorize NFS access option to ensure that the authorization rights set for the vault directories are correctly set for NFS
access. NFS access is an alternative enabling vault client applications to access the vault directly by the vault server. Refer to How to Set Up
File Transfer Mode for the Vault for details about different file transfer modes supported.
If this is the first time you are creating a vault, you will be prompted to create the user if the database. Click Yes to do so. If the user you
declared already exists in the database, you may be prompted to choose whether you want to use this user. If so, click OK to confirm.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 206
You then return to the Vault Setup dialog box:
Note that you can also modify an existing vault or delete a vault using the Modify... and Delete... buttons. You will be prompted to log on
using the Vault Server Authentication dialog box.
You can edit most vault server properties. However, you cannot select another database for your vault server: the corresponding options
are grayed out in the Database setup... dialog box.
If you attempt to delete a vault server, you will be warned that the catalogued entries for the vault server you want to delete will be
deleted, along with the associated properties file, but the associated database and repositories will not be deleted. However, the
ENOVIAVaultServer.imp file is deleted.
If there is only one vault server, you cannot delete it. If you attempt to do so, a warning will inform you that there must always be at least
one default vault alias name.
The characteristics of the vault server you created are displayed in the Vault Setup dialog box.
13. Click the Close button to exit the vault setup.
Setting up a vault client and vault server creates the following objects:
XXXVaultServer.properties
VaultClient.properties
VaultLocalServerList.properties
are created, where "XXXVaultserver" is the appropriate name of the vault server (Orbix service name) in:
install_dir/docs/java
For example, the default vault server name and resulting file are named: ENOVIAVaultServer.properties
the following files:
ENOVIAVaultServer.imp
are created with the appropriate name (Orbix service name) in:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 207
install_dir/startup/orbix/config/Repositories/ImpRep
In a default installation, for example, the ENOVIAVaultServer.properties file looks like this:
## Orbix parameters
VaultServer_Name = ENOVIAVaultServer
VaultServer_HostName = jane2dsy
VaultServer_DaemonPort = 1570
VaultServer_TimeOut = 54000000
## Other parameters
VaultServer_VaultAdministrator = ses
VaultServer_ReadOnly = false
VaultServer_LogRemovedFiles = false
VaultServer_RemoveFiles = true
VaultServer_AuthorizeNfsAccess = false
VaultServer_Trace = OFF
## Repositories parameters
VaultServer_NumOfRepo = 1
VaultServer_DBSchema = SES
VaultServer_Repo_0_Name = MyRepo1
VaultServer_Repo_0_ReadOnly = false
VaultServer_Repo_0_Path = E:\\users\\ses\\MyRepo1
VaultServer_Repo_0_TmpDirName = tmp
VaultServer_Repo_0_NumOfSecDir = 2
VaultServer_Repo_0_SecDirName_0 = Secured
VaultServer_Repo_0_SecDirName_1 = secured2
## Trace parameter
VaultClient_Trace = OFF
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 208
## Default alias name
VaultClient_DefaultAliasName = ENOVIAVaultServer
## Vault server alias ENOVIAVaultServer
VaultClient_ENOVIAVaultServer_ReadVaultServerName = ENOVIAVaultServer
VaultClient_ENOVIAVaultServer_ReadVaultServerHostName = jane2dsy
VaultClient_ENOVIAVaultServer_ReadVaultServerDaemonPort = 1570
VaultClient_ENOVIAVaultServer_WriteVaultServerName = ENOVIAVaultServer
VaultClient_ENOVIAVaultServer_WriteVaultServerHostName = jane2dsy
VaultClient_ENOVIAVaultServer_WriteVaultServerDaemonPort = 1570
ENOVIAVaultServer
and the ENOVIAVaultServer.imp file containing the name of the Orbix service name looks like this:
Name : ENOVIAVaultServer
Comms : cdr/tcp
Activation : shared
Owner : ses
Launch : ;all;
Invoke : ;all;
ImpRep Version : 2
no. of servers : 1
server's port : 0
Note: creating the vault server does NOT start the vault server process.
Use the full qualified name in the VaultClient.properties file on client side in order to avoid the problem of network
domain name resolution. For instance, if the Vault server machine name is "reverdsy" and the network domain
name is "ds.dsy", you should replace "reverdsy" in the VaultClient.properties file by "reverdsy.ds.dsy"
Note: the vault server trace file is generated in the %USERPROFILE% directory under the name ENOVIAVaultServer.log.
For instance, if the user used for running the vault server is XYZ on a particular domain AA, the trace file will be located in:
The batch tool provides the same functions as the interactive tool, with some minor exceptions indicated below.
Windows
UNIX
1. Log on as root.
2. Enter the command:
aix_a
hpux_b
irix_a
solaris_a.
Command Syntax
VaultServerSetupB
-list [VaultServerName | -a]
-add VaultServerName -adm [domain@]VaultAdministrator:password
[-thread ThreadNumber] [-timeout TimeOut] [-offset TimeZoneOffset]
-db_vendor db2|oracle
-instance DB2Instance -db DBAliasName -schema DBSchemaName
or
-oracle_home OracleHomeDirectory -db DBServiceName
[-tns_admin true|false] [-tns_path tnsnames.oraPath]
-schema DBSchemaName:password
-connect DBConnectionUser:password -db_adm DBAdministrator:password
-tbs Tablespace
[-min_pool DBMinimumPoolSize] [-max_pool DBMaximumPoolSize]
-repo RepositoryName -repo_path RepositoryPath -tmp RepositoryTmpPath
-secured SecuredPath [-secured OtherSecuredPath ...]
[-repo OtherRepoName -repo_path OtherRepoPath -tmp OtherRepoTmpPath
-secured SecuredPath [-secured OtherSecuredPath ...] ...]
[-read_only true|false] [-log_removed_files true|false]
[-remove_files true|false] [-nfs_access true|false]
-h help
Options:
-list: lists the vault servers
-list VaultServerName: lists the properties of VaultServerName
-list -a: lists the properties of all Vault servers.
-add: creates the Vault server VaultServerName.
-modify: modifies the vault server VaultServerName. You can add, modify or delete repositories. Note: unlike in interactive mode, you cannot
create repositories from scratch in batch mode so you must create them manually beforehand. You can also change general-purpose vault
properties.
Default values with -modify: the parameters keep their current values (at creation, repo_read_only is false).
-delete: deletes the VaultServerName's catalogued entries and properties file; the data (database, repositories) are not deleted.
-h: this help.
The following commands were run on Windows in a Command Prompt window in the installation directory:
Command:
catstart -run "VaultServerSetupB.exe -add ENOVIAVaultServer -adm the:pwd -db_vendor db2 -instance DB2 -db THEDB2A8 -schema the -connect
the:pwd -db_adm db2admin:db2admin -tbs USERPACE1 -repo Repo1 -repo_path C:\Temp\Repositories\Repo1 -tmp
C:\Temp\Repositories\Repo1\Tmp -secured C:\Temp\Repositories\Repo1\Secured -secured C:\Temp\Repositories\Repo1\Secured2"
Output:
The command failed because the repositories had not been created, so you must create them first using the following Windows command:
catstart -run "VaultServerSetupB.exe -add ENOVIAVaultServer -adm the:pwd -db_vendor db2 -instance DB2 -db THEDB2A8 -schema the -connect
the:pwd -db_adm db2admin:db2admin -tbs USERPACE1 -repo Repo1 -repo_path C:\Temp\Repositories\Repo1 -tmp
C:\Temp\Repositories\Repo1\Tmp -secured C:\Temp\Repositories\Repo1\Secured -secured C:\Temp\Repositories\Repo1\Secured2"
Output:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 211
The Tablespace parameter is not found in the following list:
USERSPACE1
The command failed.
There was a spelling mistake in the tablespace name ("USERPACE1" instead of "USERSPACE1"), so it was corrected and the command was run
again:
catstart -run "VaultServerSetupB.exe -add ENOVIAVaultServer -adm the:pwd -db_vendor db2 -instance DB2 -db THEDB2A8 -schema the -connect
the:pwd -db_adm db2admin:db2admin -tbs USERSPACE1 -repo Repo1 -repo_path C:\Temp\Repositories\Repo1 -tmp
C:\Temp\Repositories\Repo1\Tmp -secured C:\Temp\Repositories\Repo1\Secured -secured C:\Temp\Repositories\Repo1\Secured2"
Output:
Output:
The following commands list the characteristics of the vault server you just created:
or:
Output:
catstart -run "VaultServerSetupB.exe -modify ENOVIAVaultServer -adm the:pwd -thread 8 -timeout 9 -offset -10 -min_pool 11 -max_pool 12 -
read_only true -log_removed_files true -remove_files false -nfs_access true"
Output:
Output:
Command successful.
The following command lists the vault servers, and the list is now empty:
Output:
Windows
1. Log on as administrator.
2. Select Start->Programs->Command Prompt to open a Command Prompt window.
3. Go to the following installation directory
UNIX
1. Log on as root.
2. Enter the command:
aix_a
hpux_b
irix_a
solaris_a.
Command Syntax
VaultClientSetupB
-list
-add VaultAliasName -host ServerHostname -port OrbixDaemonPort
-modify VaultAliasName [-host ServerHostname] [-port OrbixDaemonPort]
-delete VaultAliasName -h help
Example:
On Windows, we recommend that you install a vault server using the interactive tools provided.
You will find the reference files for the data structure creation (tables, index, etc.) under the following directory:
YourUnloaddir/$OSDS/reffiles/DBMS/ddl
The $OSDS value could be aix_a, hpux_b, irix_a or solaris_a depending on your operating system.
The suffix of these reference files is .clp for DB2 and .sql for Oracle.
You can also use the drop_VPM_VAULTFILE.xxx and the revoke_VPM_VAULTFILE.xxx files to remove
respectively tables and grants on tables.
When creating your data structure, you have to customize the above-mentioned files.
To do so:
VPM_VAULTFILE.xxx VPM_VAULTFILE_MyVault.xxx
grant_VPM_VAULTFILE.xxx grant_VPM_VAULTFILE_MyVault.xxx
drop_VPM_VAULTFILE.xxx drop_VPM_VAULTFILE_MyVault.xxx
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 215
revoke_VPM_VAULTFILE.xxx revoke_VPM_VAULTFILE_MyVault.xxx
2. Change the name of the structure owner (the default owner is VPMADM) and the tablespaces name if
necessary. In the case of the grant file, we advise you to change the "to public" right into "to
vault_structure_owner".
For DB2:
For Oracle:
IT_CONFIG_PATH= install_dir/startup/orbix
export IT_CONFIG_PATH
Beware:'_' are not allowed in the Vault server name and the Vault server alias name!
Example:
Install_dir: /usr/DassaultSystemes/B16/solaris_a
Machine: reverdsy
VaultServerName: ENOVIAVaultServer
Env_name: ENOVIA_LCA.V5R16.B16
Env_dir: /CATEnv
MyVaultOwner_UID: 1400
MyVaultOwner_GID: 360
We get:
IT_CONFIG_PATH= /usr/DassaultSystemes/B16/solaris_a/startup/orbix
export IT_CONFIG_PATH
If all is OK, you should have a ENOVIAVaultServer.imp file under the following directory:
YourUnloaddir/$OSDS/startup/orbix/config/Repositories/ImpRep
The above command will generate a file named ENOVaultServer.imp in the directory:
/home/DS/B16/solaris_a/startup/orbix/config/Repositories/ImpRep.
Name : ENOVaultServer
Comms : cdr/tcp
Activation : shared
Owner : root
Launch : ;all;
Invoke : ;all;
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 217
ImpRep Version : 2
no. of servers : 1
server's port :0
Each Vault Server is supposed to have its own Vault Server properties file. Do not mix properties of two Vault
Server in the same properties file. It is not supported!
install_dir/docs/java
VaultServerName.properties
Mandatory Keys
For detailed information about how to generate the password, refer to the description of the GenVaultPassword
command in Database password encryption for the Vault Server properties file.
Beware: the following keys are no longer valid since release V5R8:
Those keys are still allowed but they can't be mixed with the keys replacing them (VaultServer_NumOfRepo, ),
it is not supported!
Optional Keys
VaultServer_Name = ENOVIAVaultServerOrbSrv
VaultServer_HostName = regis
VaultServer_DaemonPort = 1572
VaultServer_TimeOut = 36000000
VaultServer_NumOfRepo =2
VaultServer_Repo_0_Name = Repo0
VaultServer_Repo_0_Path = /VAULTCXR8/Repo0
VaultServer_Repo_0_NumOfSecDir = 2
VaultServer_Repo_0_TmpDirName = TmpDirectory
VaultServer_Repo_0_SecDirName_0 = SecuredDirectory0
VaultServer_Repo_0_SecDirName_1 = SecuredDirectory1
VaultServer_Repo_1_Name = Repo1
VaultServer_Repo_1_Path = /VAULTCXR8/Repo1
## Trace parameter
VaultServer_Trace = OFF
Explanation of Example
This properties file is corresponding to a standard VaultServer (no DATALINK or VaultCache) running on a
workstation named "regis". The Orbix service name, which is the name declared is registered on the Orbix
daemon, is ENOVIAVaultServerOrbSrv. The Orbix daemon is listening on port 1572 on this workstation. The
VaultServer timeout is exactly ten hours. Two request execution threads and four database connections are
created at start time. The server time zone is GMT+1. The database used is an Oracle database named AIXINT8
and the connection user is tacr. Two Vault repositories are declared.
Several Vault Clients can use the same Vault Client properties file.
VaultAliasName concept:
The VaultAliasName is the way for VaultClient applications to identify a VaultServer. A VaultClient application
needs three data to connect a VaultServer. It needs VaultServer Orbix service name, Orbix listen port on the
remote workstation where VaultServer is running and the remote workstation name. VaultClient properties file is
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 221
used to link a given VaultAliasName to the three data identifying a given VaultServer.
Mandatory Keys
Optional Keys
In order to do that, you have to declare a new VaultAliasName pertaining to the VaultServer you want to
catalog. As read and write operations are separate, you have to add six data by VaultAliasName which are:
VaultClient_MyVaultAliasName_ReadVaultServerName :
Orbix service name of the target vault server for read operation
VaultClient_MyVaultAliasName_ReadVaultServerHostName :
Host name of the target vault server for read operation
VaultClient_MyVaultAliasName_ReadVaultServerDaemonPort :
Orbix listen port of the target vault server for read operation
VaultClient_MyVaultAliasName_WriteVaultServerName :
Orbix service name of the target vault server for write operation
VaultClient_MyVaultAliasName_WriteVaultServerHostName :
Host name of the target vault server for write operation
VaultClient_MyVaultAliasName_WriteVaultServerDaemonPort :
Orbix listen port of the target vault server for write operation
You can catalog as many VaultServers as you want in a VaultClient properties file. But do not declare a
VaultAliasName twice. Only the first entry will be taken into account.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 222
VaultClient_ReadProtocol =2
VaultClient_ReadProtocol_0 = CORBA
VaultClient_ReadProtocol_1 = NFS
VaultClient_WriteProtocol =2
VaultClient_WriteProtocol_0 = CORBA
VaultClient_WriteProtocol_0 = NFS
VaultClient_BlockSize = 262144
VaultClient_Trace = OFF
VaultClient_Vault1_WriteVaultServerName = Vault1OrbSrv
VaultClient_Vault1_WriteVaultServerHostName = laureen
VaultClient_Vault1_WriteVaultServerDaemonPort = 1570
VaultClient_Vault2_WriteVaultServerName = Vault2OrbSrv
VaultClient_Vault2_WriteVaultServerHostName = floydsy
VaultClient_Vault2_WriteVaultServerDaemonPort = 1572
VaultClient_Vault3_WriteVaultServerName = Vault3OrbSrv
VaultClient_Vault3_WriteVaultServerHostName = bayeux
VaultClient_Vault3_WriteVaultServerDaemonPort = 1576
Explanation of Example
This VaultClient properties file declares three VaultAliasName that are Vault1, Vault2 and Vault3. The
VaultServer Vault1OrbSrv Orbix service name is associated to the Vault1 alias name. This VaultServer is running
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 223
on a workstation named laureen and the Orbix daemon listen port is 1570. The VaultServer Vault2OrbSrv Orbix
service name is associated to the Vault2 alias name. The VaultServer Vault3OrbSrv Orbix service name is
associated to the Vault3 alias name.
The vault application default access path for properties file is:
unload_dir/$OSDS/docs/java
You can change this behavior by exporting the keys below in your environment:
For instance:
VaultServer_PropertiesFilePath=/u/lego/VAULTServer/PropertiesV5R16
export VaultServer_PropertiesFilePath
VaultServer_PropertiesFileName=CustomVaultServer.properties
export VaultServer_PropertiesFileName
VaultClient_PropertiesFilePath=/u/lego/VAULTClient/PropertiesV5R16
export VaultClient_PropertiesFilePath
VaultClient_PropertiesFileName=CustomVaultClient.properties
export VaultClient_PropertiesFileName
Beware: '_' are not allowed in Vault server name and Vault server alias name!
Mandatory Keys
VaultServer_NumOfRepo = 2
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 224
VaultServer_Repo_0_Name = Repo0
means that the name of the Vault Server Repository number 0 is Repo0.
This property defines the root path under which tmp and secured directories are supposed to be created.
For instance:
VaultServer_Repo_0_Path = /VAULTCXR8/Repo0
means that tmp and secured directories are created under the directory /VAULTCXR8/Repo0
Optional Keys
VaultServer_FDSMIN = 1000
means that the Vault Server will not use a file system any more if there is less than 1000 free kb on it. Default
VaultServer_Repo_0_TmpDirName = tmpDir0
means that the tmp directory for Vault Server repository named Repo0 is /VAULTCXR8/Repo0/tmpDir0. The
VaultServer_Repo_0_NumOfSecDir = 2
means that two secured directories are defined below. The default value for this property is: 1.
(x stands for the repository index rank. It begins at 0; y stands for the secured directory index rank. It begins at
0)
VaultServer_Repo_0_SecDirName_0 = secDir0
means the the first secured directory for Vault Server Repository named Repo0 is /VAULTCXR8/Repo0/secDir0.
The default value for this property is: securedy (where y stands for the secured directory index rank. It begins
at 0)
VaultServer_Repo_0_ReadOnly = true
means that the Vault Server repository named Repo0 is read only. The default value for this property is: false.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 226
VaultServer_Repo_0_Priority = 2.0
means that the Vault Server repository named Repo0 is two-time more used than it would be by default when
creating new documents. The default value for this property is: 1.0.
Example:
VaultServer_Repo_0_Name = Repo0
VaultServer_Repo_0_Path = /VAULTCXR8/DirOfRepo0
VaultServer_Repo_0_TmpDirName = TmpDirOfRepo0
VaultServer_Repo_0_NumOfSecDir = 2
VaultServer_Repo_0_SecDirName_0 = SecDir0OfRepo0
VaultServer_Repo_0_SecDirName_1 = SecDir1OfRepo0
VaultServer_Repo_1_Name = Repo1
VaultServer_Repo_1_Path = /VAULTCXR8/DirOfRepo1
VaultServer_Repo_1_NumOfSecDir = 3
VaultServer_Repo_2_Name = Repo2
VaultServer_Repo_2_Path = /VAULTCXR8/DirOfRepo2
The lines above mean that the following directories are supposed to be created for Repo0, Repo1 and Repo2:
Repo0:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 227
/VAULTCXR8/DirOfRepo0/TmpDirOfRepo0
/VAULTCXR8/DirOfRepo0/SecDir0OfRepo0
/VAULTCXR8/DirOfRepo0/SecDir1OfRepo0
Repo1
/VAULTCXR8/DirOfRepo1/tmp
/VAULTCXR8/DirOfRepo1/secured0
/VAULTCXR8/DirOfRepo1/secured1
/VAULTCXR8/DirOfRepo1/secured2
Repo2
/VAULTCXR8/DirOfRepo2/tmp
/VAULTCXR8/DirOfRepo2/secured0
A user exit mechanism (ENOVIStorageLocation interface) is used to know where to write new or modified files
into Vault repository directories. If you want to code your own user exit, keep in mind that the code has to be
thread safe.
The default user exit implementation we supply dispatch files depending on free disk space on file system. The
more free disk space you have on a file system, the more you will have new or modified files written on it.
For each defined Vault Server repository create tmp and secured directories:
CLASSPATH issue on vault client and vault server side: the Vault client and server software component are
based on JNI operations for file access rights management. So, make sure the JNIVAULT.jar file is in your
CLASSPATH.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 228
DB2 mandatory environment variables for JDBC use (vault server side only):
DB2INSTANCE=admclien
export DB2INSTANCE
LIBPATH (or LD_LIBRARY_PATH ...) issue on vault server side for JDBC use:
db2client_home_directory/sqllib/lib has to be in LIBPATH (see db2profile shell in the DB2 client
installation to set the value of this variable properly).
ORACLE mandatory environment variables for JDBC use (vault server side only)
NLS_LANG has to be set (US7ASCII, WE8DEC, WE8ISO8859P1, UTF8, ...). This variable is set by
default by the Oracle installation. So, you can just keep the default value. For instance:
NLS_LANG=FRENCH_FRANCE.WE8ISO8859P1
export NLS_LANG
ORACLE_HOME=/u/env/oracle/SunOS
export ORACLE_HOME
TNS_ADMIN=/u/env/oracle/SunOS/network/admin
export TNS_ADMIN
UNIX:
Irix:
Windows 2000/XP:
LIBPATH (or LD_LIBRARY_PATH ...) issue on vault server side for JDBC use:
Unix:
Windows 2000/XP:
The communications between the Vault Client and Vault Server are using TCP/IP sockets. Each socket
represents a file descriptor on the Vault Server process. If the file descriptor limit per process is set too low,
attempts to open socket connections may be unsuccessful. To resolve this condition, increase the file descriptor
limit for the user from which the Orbixd process is started (normally root). Edit the .profile for the user, and add
the following:
ulimit -n 1024
Depending on the number of connections needed, this number may need to be increased more. For this change
to take effect, you do not have to reboot. Just logoff and then logon again.
Solaris
To change the hard upper limit of the number of file descriptors in the kernel (which defaults to 1024 per CPU),
you can, edit the /etc/system config file to include a couple of entries:
set rlim_fd_max=4096
set rlim_FD_cur=1024
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 230
After you change this file, you must reboot for the changes to take effect.
HP-UX
Threads
The default values for HP-UX 11.0 are set too low for VaultServer application. Two kernel parameters need to be
set so that the limit of the maximum number of threads per process is not encountered. Usually you will see this
problem as a Java Out of Memory error. You will want to set the value of the max_thread_proc higher than the
expected maximum number of simultaneously active threads for your application
max_thread_proc
The maximum number of threads allowed in each process. The minimum value (and default) is 64,
often too low for VaultServer application. The maximum value is the value of nkthread.
nkthread
The total number of kernel threads available in the system. This parameter is similar to the nproc
tunable except that it defines the limit for the total number of kernel threads able to run
simultaneously in the system. The value must be greater than nproc. The default is approximately
twice that of nproc. The maximum is 30000.The suggested value of nkthread is 2*max_thread_proc.
If you have many Java processes running and each running process uses many threads, you will want
to increase this value.
open files
Problems occur when the value of kernel parameters are set too low for the number of files allowed to be
simultaneously open in a process. Be certain that your kernel is configured so that you do not reach the limit for
the number of open files for your process. Java opens many files in order to read in the classes required to run
your application. A file descriptor is also used for each socket that is opened.
nfiles
Maximum number of open files.
This value is usually determined by the formula:
((NPROC*2)+1000)
NPROC is usually: ((MAXUSERS*5)+64)
For a MAXUSERS of 400, this works out to 5128. You can usually set it higher.
maxfiles
Soft file limit per process
maxfiles_lim
Hard file limit per process
2048 is the maximum value you can set through SAM for maxfiles and maxfiles_lim. Note that you
can set the parameters higher by configuring the kernel using the configuration file and then
rebuilding the kernel (or by modifying stand/system and doing a mk kernel). Since setting these
parameters too low results typically in application failure, you may want to calculate the number you
need and then double it. You might also consider inode along with these parameters, that is as a
member of the "set". If there's no space in the appropriate inode table then you cannot open a new
file.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 231
timeouts
If the number of pending timeouts on the system exceeds the maximum number of allowable pending timeouts
on the system then the system will crash. This undesireable behavior can be avoided by increasing the following
kernel parameter:
ncallout
Maximum number of pending timeouts
If you are opening many sockets, many of which are waiting on I/O, you will likely run into this limit.
A callout structure is used by each thread that sleeps waiting for a time-based event. Traditionally the callout
structure used by a thread is taken from a pool the size of which is controlled by ncallout. Each thread has a set
of timers associated with it, e.g. for nanosleep or sleeping in select(). There are a set of BringYourOwnCallout
functions that don't allocate from the pool. The maximum number of callout structures needs to be
approximately the maximum number of threads.
If you suspect that you are running out of file descriptors, you can check your limits by switching to the Bourne
Shell and resetting the limits. Simply type in the following:
>sh
>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 65536
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4290772993
nofiles(descriptors) 200
>
Use the first character to reset any of the values. For example, to increase the number of file descriptors, simply
type:
>ulimit -n 5000
>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 65536
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4290772993
nofiles(descriptors) 5000
>
Try re-running your application. (Do not exit the shell in which you've just reset your limits.)
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 232
Important warning for the installation of a vault running on an AIX server and a local DB2 database
You have to implement a client/server database connection for the vault, because of a limitation in the number
of JDBC connections that the VaultServer can open.
So, if you had initially an AIX vault with a local DB2 server (resulting from a standard installation, a migration of
a former configuration, ...) you need to modify the database connectivity for the vault.
You will have to run the appropriate db2 commands to catalog your local database under an alias which will be
accessible through a client/server connection. (typically, "db2 catalog tcpip node" + "db2 catalog database at
node" statements)
Then you will have to update your Vault server java properties, referencing the new db2 alias as the
VaultServer_DBName parameter.
To understand how a vault server cache works, compare the differences between a standard vault server and a vault server cache
installation.
In the case of a standard vault server installation, where a cache is not used, each vault client application connects directly to the
standard vault server for any read/write operation.
Thus, for the sample above, in case of the standard vault server installation, the VaultClient properties file pertaining to VaultClientA
could contain the following:
VaultClient_Vault1_ReadVaultServerName = Vault1OrbSrv
VaultClient_Vault1_ReadVaultServerHostName = laureen
VaultClient_Vault1_ReadVaultServerDaemonPort = 1570
VaultClient_Vault1_WriteVaultServerName = Vault1OrbSrv
VaultClient_Vault1_WriteVaultServerHostName = laureen
VaultClient_Vault1_WriteVaultServerDaemonPort = 1570
Note: the vault alias name is the same as the Orbix service name, but you can modify the alias.
One benefit of activating the cache via a properties file is that it is very easy to plug in or unplug a vault server cache. You only have to
modify a VaultClient.properties file once the vault server cache is installed. Another benefit is that the client application does not waste
time in managing a cache application.
Note: If there is a single Vault Master, the VaultClientA VaultClient.properties file is the same as VaultCacheOrbSrv
VaultClient.properties file.
Read Mechanism
In a vault server cache installation, when a client application using a vault server cache tries to access a document, it asks the vault
server cache to retrieve the document. Then, the vault server cache checks if the requested document is already in the cache. If the
document is found, it checks if it is up-to-date. If this is the case, it transmits the document to the client application. But if the
document is not up-to-date, it retrieves the latest version of the document from the vault server, stores it in the local cache, then
sends it to the client.
In order to do so, a vault server cache embeds its own vault client application. This is why a vault server cache needs a
VaultClient.properties file. This properties file has to be different from the one used by the VaultClientZ application in the illustration. It
is due to the fact that read operations are done on the standard vault server instead of the vault server cache.
In the case of a vault server cache installation, the VaultClient properties file pertaining to VaultClientZ could contain the following:
VaultClient_DefaultAliasName = Vault1
VaultClient_ReadProtocol = 2
VaultClient_ReadProtocol_0 = CORBA
VaultClient_ReadProtocol_1 = NFS
VaultClient_WriteProtocol = 2
VaultClient_WriteProtocol_0 = CORBA
VaultClient_WriteProtocol_0 = NFS
VaultClient_BlockSize = 262144
VaultClient_Trace = OFF
VaultClient_Vault1_ReadVaultServerName = VaultCacheOrbSrv
VaultClient_Vault1_ReadVaultServerHostName = glenn
VaultClient_Vault1_ReadVaultServerDaemonPort = 1572
VaultClient_Vault1_WriteVaultServerName = VaultCacheOrbSrv
VaultClient_Vault1_WriteVaultServerHostName = glenn
VaultClient_Vault1_WriteVaultServerDaemonPort = 1572
Now, the vault client application can write documents to the local vault cache, as illustrated by the diagram below:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 237
The vault server replicates through an external thread when the vault server is inactive or via a command line.
1. The vault server requests the document by block from the vault cache.
2. The vault server publishes the document when the document is completely transferred.
3. The vault server suppresses the reservation.
4. The vault server commits steps 2 and 3.
Note: The vault cache could interrupt the asynchronous vault server transfer if its vault client modifies the document.
Vault server clients and others vault cache clients cannot access the new document version until the document is on the vault server.
In read mode, these vault clients will have access to the previous version of the document being modified.
Vault server clients and others vault cache clients cannot access the document in write mode until the document is on the vault server.
Step one
Install the Vault Server Cache as you install a standard Vault Server. Then, change this Vault Server installation into a Vault Server
Cache installation by following steps two and three below. Keep in mind that just like a standard Vault Server, a Vault Server Cache
needs its own database structures and its own VaultServer.properties file. For information about how to install a standard vault server,
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 238
refer to Setting Up the Vault Server.
Beware: do not share database structures or server properties file between Vault Servers, it is neither supported nor allowed. In order
to avoid any misunderstanding, assume the name of the Vault Cache server properties file is VaultCacheServer.properties in the
following steps.
Step two
Change the Vault Server you just installed into a Vault Server Cache. Two operations have to be done in order to do that:
1. Add the following line to the VaultCacheServer.properties file to enable the Cache working mode:
VaultServer_Cache = true
2. Create a VaultClient.properties file for the Vault Server Cache to setup read/write connection parameters between the Vault
Server Cache and the remote standard Vault Server. In the file VaultClient.properties for the vault server cache, declare the
same vault alias name as in the VaultClient.properties file used for the LCA client.
The host/port/Orbix service name for a given alias must be different between the VaultClient.properties file of the LCA client
and the VaultClient.properties file of the vault server cache. The host/port/Orbix service name for the LCA client reference the
vault cache, whereas the host/port/Orbix service name for the vault cache reference the cached vault.
The VaultClient properties file pertaining to VaultCacheOrbSrv illustrated above in the section Vault
Server Cache Mechanism could be:
VaultClient_DefaultAliasName = Vault1
VaultClient_ReadProtocol = 2
VaultClient_ReadProtocol_0 = CORBA
VaultClient_ReadProtocol_1 = NFS
VaultClient_WriteProtocol = 2
VaultClient_WriteProtocol_0 = CORBA
VaultClient_WriteProtocol_0 = NFS
VaultClient_BlockSize = 262144
VaultClient_Trace = OFF
VaultClient_Vault1_ReadVaultServerName = Vault1OrbSrv
VaultClient_Vault1_ReadVaultServerHostName = laureen
VaultClient_Vault1_ReadVaultServerDaemonPort = 1570
VaultClient_Vault1_WriteVaultServerName = Vault1OrbSrv
VaultClient_Vault1_WriteVaultServerHostName = laureen
VaultClient_Vault1_WriteVaultServerDaemonPort = 1570
In this example, the vault cache is a client of the vault master Vault1OrbSrv illustrated above.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 239
Step three
Modify the VaultClient.properties used by Vault Client applications that are to use the VaultServer Cache. You have to update the
read/write parameters for the right VaultAliasName in order to use the Vault Server Cache in place of the standard Vault Server, as
illustrated in Vault Client Properties File with VaultServer Cache (VaultClientZ).
Step four
Set up the remote Vault Server to enable it to retrieve the documents from the VaultServer Cache. Add the following line to the
VaultServer.properties file to enable the Vault Server to get documents from the Vault Server Cache:
VaultServer_VSForWCV = true
The VaultServer will check every 300 seconds if it has a document to retrieve from a Vault Server Cache. You can change that default
behavior by setting the following optional VaultServer key:
VaultServer_TimeoutForDocsCatcher: time between two checks if there is a document to get from a VaultServer Cache (unit:
millisecond).
If there are several documents to retrieve from one or several Vault Server Caches, the Vault Server retrieves them and then waits for
the timeout above.
These keys may be modified and reloaded without stopping the VaultServer Cache process.
Key explanation
For instance, the line VaultServer_Cache_CleanEnabled = true means that a specialized thread is launched inside the VaultServer
Cache process in order to manage cache size and cleaning operations. If this key is set to false, it disables the whole set of cache size
management functionality.
For instance, the line VaultServer_Cache_MaxSize = 10000 means that the maximum size of the cache is ten mega bytes.
For instance, the line VaultServer_Cache_CleanThreshold = 80 means that if there is less than 80 per cent of maximum cache size in
use, then there is no cleaning operation done. But, if it is not the case, a cleaning operation is launched.
For instance, the line VaultServer_Cache_TimeoutForClean = 300000 means that every five minutes a check is done to know if a
cleaning operation should be launched or not.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 241
First of all, a short explanation about the different Vault file transfer mode available and theirs benefits.
Three file transfer modes are available for the Vault: CORBA, HTTP and NFS.
## Trace parameter
VaultClient_Trace = OFF
Example Explanation
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 243
This VaultClient properties file declares three VaultAliasName: Vault1, Vault2 and Vault3.
VaultClient_Active_ReadProtocol, and VaultClient_Active_WriteProtocol keys define the default read/write
file transfer protocol. In the example above it is CORBA. There are no file transfer protocol keys defined
for VaultAliasName Vault1, it means that the default protocol is used. As VaultClient_Vault2_ReadProtocol
and VaultClient_Vault2_WriteProtocol are set to NFS, the file transfer mode for VaultAliasName Vault2 is
NFS. In the case of VaultAliasName Vault3, there is no protocol defined for write operation, so the default
one is used (CORBA). However HTTP protocol is defined for read operations. In order to be consistent,
two additional keys are required for HTTP protocol. Theses keys are used to define the HTTP server host
and communication port.
VaultClient_Active_ReadProtocol = CORBA
VaultClient_Active_WriteProtocol = CORBA
VaultClient_MyVaultAliasName_ReadProtocol = CORBA
VaultClient_MyVaultAliasName_WriteProtocol = CORBA
Additional features
You have the ability to specify a default block size for CORBA protocol by setting the following key to the
wanted value (CORBA block size is limited up to 7M):
VaultClient_CORBABlockSize = 1048576
You can specify block size for CORBA protocol for a given VaultAliasName:
VaultClient_MyVaultAliasName_ReadCORBABlockSize = 1048576
VaultClient_MyVaultAliasName_WriteCORBABlockSize = 1048576
Keep in mind that an HTTP server is supposed to be installed correctly. This server must have access to
VaultServer directories. In order to avoid file access right problems, we advise you to run the HTTP
server under the same operating system user you already use for the VaultServer. Vault HTTP file
transfer mode is only certified with the Apache HTTP server.
Hostname: the name of the workstation where the HTTP server is installed.
PortNumber: the communication port number of the HTTP server.
Additional features
You have the ability to specify a default block size for HTTP protocol by setting the following key to the
wanted value:
VaultClient_HTTPBlockSize = 1048576
You can specify block size for HTTP protocol for a given VaultAliasName:
VaultClient_MyVaultAliasName_ReadHTTPBlockSize = 1048576
VaultServer_TmpFilesAccessRights = 666
VaultServer_SecuredFilesAccessRights = 444
Beware: If the vault server is not empty, you have to change the file access rights of the already existing
files in order to allow client application to read secured files and read/write temporary files.
Additional features
You have the ability to specify a default block size for NFS protocol by setting the following key to the
wanted value:
VaultClient_NFSBlockSize = 1048576
You can specify block size for NFS protocol for a given VaultAliasName:
VaultClient_MyVaultAliasName_ReadNFSBlockSize = 1048576
VaultClient_MyVaultAliasName_WriteNFSBlockSize = 1048576
You have the ability to specify a mount directory and a mount point in order to have a client file access
path different from the server side by setting the following keys to the wanted value:
VaultClient_MyVaultAliasName_NFSMountDir = /u/users/ojh
VaultClient_MyVaultAliasName_NFSMountPoint = F:
The example above illustrates a W2000 client accessing a Unix Server with the /u/users/ojh Unix path
mounted on F: on the W2000 workstation.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 246
This vault administration tools are available on both UNIX and Windows. This section illustrates the
commands on UNIX.
Conventions for command syntax:
You can generate the database password to put in the VaultServer properties file by using the following
command logged as root:
Then, you can copy and paste the password from the output into the properties file. The pertaining key is
VaultServer_DBPassword.
In order to allow remote administration services on VaultServer, a tool called vsadm, which stands for
VaultServer Administration, has been supplied. Some usage help will be provided if you execute:
You can start a remote VaultServer by using the following command logged on as root:
VAULT vaultserver_name
HOST vaultserver_host
VAULT vaultserver_name
HOST vaultserver_host
You can reload VaultServer properties by using the following command logged on as root:
VAULT vaultserver_name
HOST vaultserver_host
Here is the list of VaultServer properties you can modify and reload:
VaultServer_ThreadNumber
VaultServer_Trace
VaultServer_DBMINPoolSize
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 248
VaultServer_DBMAXPoolSize
VaultServer_FDSMIN
VaultServer_NumOfRepo
VaultServer_Repo_x_Name
VaultServer_Repo_x_Path
VaultServer_Repo_x_ReadOnly
VaultServer_Repo_x_TmpDirName
VaultServer_Repo_x_Priority
VaultServer_Repo_x_NumOfSecDir
VaultServer_Repo_x_SecDireName_y
If you are using a VaultCache, you can modify and reload the following additional properties:
VaultServer_Cache_MaxSize
VaultServer_Cache_CleanThreshold
VaultServer_Cache_Rate
VaultServer_Cache_Enabled
VaultServer_Cache_TimeoutForClean
You can enable tracing on a VaultServer by using the following command logged as root:
VAULT vaultserver_name
HOST vaultserver_host
PORT vaultserver_port }
You can list the whole set of VaultAliasName entries by using the following command logged on as root:
You can get VaultClient parameters configuration by using the following command logged on as root:
You can get VaultServer configuration parameters by using the following command logged on as root:
VAULT vaultserver_name
HOST vaultserver_host
PORT vaultserver_port}"
You can have a VaultServer online/offline by using the following command logged on as root:
VAULT vaultserver_name
HOST vaultserver_host
PORT vaultserver_port }
When a VaultServer is offline, all database connections are released and client requests receive a specific
answer which is a dedicated error message. However, client/server orbix connections are kept. Thus, the
client applications do not need to be restarted when the VaultServer is put back online.
How to test a VaultServer from a remote workstation
You can test if a VaultServer is OK by using the following command logged as root:
This test creates a file in the vault and reads it. The creation of the file confirms that the vault is running
correctly.
How to get VaultServer request queues state from a remote workstation
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 250
You can get VaultServer request queues state by using the following command logged on as root:
./catstart -run "vsadm GET SERVER REQUEST STATE FOR { ALIAS vaultserver_alias_name|
VAULT vaultserver_name
HOST vaultserver_host
You can force document refresh between VaultCache and all VaultServers by using the following
command logged as root:
HOST vaultserver_host
PORT vaultserver_port
[FETCHSIZE fetch_size_value]"
The command above trigger a document version check and refresh for the Whole set of document hold
by the VaultCache regarding all the VaultServer cached by the VaultCache. You can specify your own
fetchsize if you want.
How to force documents refresh between VaultCache and a given VaultServer
from a remote workstation
You can force document refresh between VaultCache and a given VaultServer identified by an alias by
using the following command logged as root:
HOST vaultserver_host
PORT vaultserver_port
[FETCHSIZE fetch_size_value]"
The command above triggers a document version check and refresh for the whole set of documents held
by the VaultCache regarding a given VaultServer. You can specify your own fetchsize if you want.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 251
How to add new documents into VaultCache and force documents refresh from an
input file containing a list of Vault document URL
You can add new documents and force document refresh between VaultCache and a given VaultServer by
using the following command logged as root:
HOST vaultserver_host
PORT vaultserver_port
[ FETCHSIZE fetch_size_value]"
The command above triggers a document version check and refresh for the list of vault document URL
specify by the input file. If a document is missing in the VaultCache, it is added automatically. You can
specify your own fetchsize if you want.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 252
After restoration, the reporting tool, in a specific number of cases described below, will analyze the LCA metadata, vault server metadata
and vault server file systems in order to track broken links, and provides repair functions and correction proposals whenever possible.
Errors Tracked
The tool can track four types of errors broadly divided into two categories:
dangling pointers
unreferenced data.
This can occur after a vault database server crash. Any vault metadata created after the last backup will be missing in the restored vault
database. But LCA metadata still points to the data in the central LCA database server.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 253
after a vault database server crash: any vault metadata deleted after the last backup will reappear after the restore of the crashed vault
server but the pointed file has been deleted.
after a vault file system crash: any vault file created after the last backup will be missing in the restored vault file system, but vault
metadata still points to the data in the corresponding vault server database.
This can occur after a vault database server crash. Any vault metadata deleted after the last backup will reappear after the restore of the
crashed vault server but the corresponding LCA metadata is missing from the central LCA database.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 254
after a vault database server crash: any vault metadata created after the last backup will be missing in the restored vault server but the
corresponding vault file still exists in the vault file system.
after a vault file system crash: any vault file deleted after the last backup will reappear after the restore of the crashed vault file system,
but the corresponding vault metadata has been deleted from the vault database.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 255
Only lists with one item are supported for the moment. This means one
vault alias name, the alias name of the vault server which crashed. This
alias is located in the VaultClient.properties file on the central LCA
server.
-ExceptDomain optional enter the name of data domains found in the admin data that are not to
be checked
-ListDomain optional enter a list of the only data domains that are to be checked
-AfterTimeStamp optional enter a timestamp in the following format (usual database time format):
%4d-%2d-%2d-%2d.%2d.%2d.%6d
this will check only the LCA metadata modified after this timestamp.
-NOCorrection optional do not perform the correction step
-ONLYCorrection optional perform only the correction step (with the info stored in the TmpDir
from a previous Check run with the -NOCorrection option).
After the check, the tool only uses the information contained in the -
TmpDir option but uses the file of the option -FileOut, obtained after
first running the tool in -NOCorrection mode.
-h optional displays help.
By a timeframe
The tool will use the LASTUPDATEDATE column to collect the vault links to check. Only dangling pointers to vault metadata or vault file
systems will benefit from this option.
Both LIST () and EXCEPT () options are available. The standard use is to narrow the process with the alias of the crashed vault.
By a list of domains
Both LIST () and EXCEPT () options are available. Only dangling pointers to vault metadata or vault file systems will benefit from this
option.
extracts all the vault links from the central ENOVIA LCA database (optimized with narrowing capabilities)
checks the consistency between the extracted links and the vault metadata and file system.
tracks unreferenced vault metadata and files.
outputs an XML format report containing the detected errors
processes the correction proposals.
ROOTNODE
this tag aggregates all the other tags.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 257
Correction Modes
The tool ENOCheckVaultLink command can be run in the following correction modes.
No automatic correction
No automatic correction of the detected problems. You must run the command using all the mandatory options (not just -NOCorrection).
The XML output file will be generated in the -FileOut location. Along with the mandatory options, -NOCorrection must also be specified.
To correct the detected problems automatically, you must run the command using all the mandatory options (but neither -ONLYCorrection
nor -NOCorrection).
Note: automatic correction only corrects errors for unreferenced vault metadata and unreferenced vault files, as well as the correction that
is applied.
Run the tool in no automatic correction mode using all the mandatory options. Then, edit the XML file generated in the -FileOut location to
specify the corrections you want to perform. Finally, rerun the command using the same options, except this time replace the -NOCorrection
option by the -ONLYCorrection option.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 258
The LCA dangling pointers identified by the tool have to be manually repaired.
The impacted vault metadata identified by the tool have to be manually repaired.
In this case, the tool will be able to automatically clean the vault database.
In this case, the tool will be able to automatically remove the files.
The return code is not meaningful to know if errors have been reported in the output file. It just indicates if all steps have been fully
performed.
There is a way to try to repair LCA dangling pointers (which the Vault Link Checker cannot do).
Using a two-step process, the Vault Link Restore Utility makes propositions to repair the dangling pointers, and repairs the accepted ones.
During the first step, simulation, it uses the DANGLING LCA tag in the Generated XML file, to access to the database and to generate an
output XML file which proposes to:
>CheckVaultLink_Restorator -user uuu -pwd ppp -role rrr -isimul InSimul.xml -osimul OutSimul.xml
The Data Administrator chooses to accept some of the propositions by leaving them in the file and to refuse some others by deleting them
from the file.
During the second step, execution, the Vault Link Restorator Utility reads the file reviewed by the Data Administrator, and applies the repair
propositions.
Note that the Generated file has evolved to a certain extent: for both DANGLINGLCA and DANGLINGVAULT, the tags are:
OID
TYPE
Attribute
TYPEOID new: hexadecimal value of the Type the pointing object
DATADOMAINOID new: hexadecimal value of the Data Domain the pointing
object
URL
VDOID
DOCLOCATION
DOCSIZE new: size (in bytes) of the pointed document
LASTUPDATEDATE new: last update date of the document
Beware: Each Vault Server is supposed to have its own data structure.
Do not share Vault Server data structures between several Vault Servers!
You will find the reference files for the data structure creation (tables, index, etc.) under the following directory:
YourUnloaddir/$OSDS/reffiles/DBMS/ddl
The $OSDS value could be aix_a, hpux_b, irix_a or solaris_a depending on your operating system.
You can also use the drop_VPM_VAULTFILEDB2DL.clp and the revoke_VPM_VAULTFILEDB2DL.clp files to
When creating your data structure, you have to customize the above mentioned files.
To do so:
VPM_VAULTFILEDB2DL.clp VPM_VAULTFILEDB2DL_MyVault.clp
grant_VPM_VAULTFILEDB2DL.clp grant_VPM_VAULTFILEDB2DL_MyVault.clp
drop_VPM_VAULTFILEDB2DL.clp drop_VPM_VAULTFILEDB2DL_MyVault.clp
revoke_VPM_VAULTFILEDB2DL.clp revoke_VPM_VAULTFILEDB2DL_MyVault.clp
2. Change the name of the structure owner (the default owner is VPMADM) and the tablespaces name if
necessary. In the case of the grant file, we advise you to change the "to public" right into "to
vault_structure_owner". The datalink options used to create the datalink column on the VAULTDOCUMENT table
are:
linktype url file link control integrity all read permission DB write permission blocked recovery yes on unlink
restore
See DB2 documentation if you want to change options above. Beware: the on unlink delete option is not
supported.
VaultServer_DLFMHostServerName = datalink_file_manager_host_name
VaultServer_DB2DATALINK = true
datalink_file_manager_host_name: name of the workstation where the datalink file manager service is
running (see DB2 DATALINK documentation for more information about the datalink file manager).
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 263
Migration Concepts
To migrate a Vault Server, the root concept is to create an R16 Vault that reuses existing Vault repositories
from a previous version and connect a migrated database. This migration is implemented in four steps:
Note: when you have an installation comprising multiple vaults, you must migrate each vault one by one by
following the procedure documented below.
Data structures are not systematically modified in each release. For example, data structures have not been
changed in R16, so you can skip this step for R16.
You will find the reference files for the data structure migration (tables, index, etc.) under the following
directory:
YourUnloaddir/$OSDS/reffiles/DBMS/ddl
The $OSDS value could be aix_a, hpux_b, irix_a or solaris_a depending on your operating system. The suffix of
these reference files is .clp for DB2 and .sql for Oracle. They are named:
When creating/updating your data structure, you have to customize the above-mentioned files.
To do so:
1. MAKE AN OFFLINE BACKUP OF ALL VAULT DATABASES and copy them to tape before starting any
migration.
2. Ensure that you are migrating directly from V5R15 to V5R16. These procedures do not support any other
releases or migration effort. Do not attempt to use any other releases of EV5 with these instructions.
Also ensure that your V5R16 Vault path points to the same path as your V5R15 Vault.
3. Ensure that you have a working V5R15 installation, including a completely functional Oracle or DB2
database that conforms to the required level of Oracle or DB2 software and is up and running before
beginning migration. There should be no users connected to EV5 or the database at the time of
migration.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 264
4. Log as root User.
5. Duplicate the following files and rename them as indicated below:
upgrade516_VPM_VAULTFILE.xxx upgrade516_VPM_VAULTFILE_MyVault.xxx
grant_VPM_VAULTFILE.xxx grant_VPM_VAULTFILE_MyVault.xxx
6. Change the name of the structure owner (the default owner is VPMADM) and the tablespaces name for
table and for index if necessary. In the case of the grant file, we advise you to change the "to public"
right into "to vault_db_cnx_user". That "vault_db_cnx_user" is the user specified in the
VaultServer.properties file for the VaultServer_DBUser property.
For DB2:
b. Under the DB2 prompt, run the command:
For Oracle:
b. Under sqlplus, run the command:
start file_fullpathname.sql
Example:
If the database structure owner is SES and the tablespace for table and index is USERSPACE1 then, the
SQL statement:
Once the vault database has been migrated, you have to create a new R16 Vault server corresponding to the
R15 Vault you want to migrate. To do so, use the VaultSetup tool in batch mode or interactive mode. For more
information, refer to Setting Up the Vault Server.
Beware: the VaultSetup tool create database structures and directories for that new Vault server. So you will
have to remove that useless creation.
In the context of a Vault migration, use the VaultSetup tools as the following:
BEWARE: do not use the migrated database to create the database structures.
Use a temporary or unused directory to create the Vault repositories directories, keep in mind that you will have
to remove them after Vault Server creation. Creates only one Vault repository, it is the minimum number
required by the VaultSetup tool.
BEWARE: Do not use the true Vault directories (R15 ones) to create the R16 VaultServer repositories.
You will find here after how to remove the useless database structures and directories created by the Vault
setup tool.
Database structures
For DB2:
b. Under the DB2 prompt, run the command:
For Oracle:
b. Under sqlplus, run the command:
start file_fullpathname.sql
BEWARE: do not remove the Vault database structure of the migrated R15 database.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 266
Example:
has to be updated to :
Directories
The vault server property file has to be changed in order to access the vault to migrate repositories and to
connect the migrated vault database.
The VaultSetup tool has created a XXXVaultServer.properties file under the directory:
install_dir/docs/java
(default name is ENOVIAVaultServer.properties). That file has to be replaced by a copy of the vault server
properties file of the R15 vault you want to migrate.
Then, edit that file and update the following parameters depending on your R16 Vault server installation:
VaultServer_HostName
VaultServer_DaemonPort
VaultServer_DBName (Warning: the value to set is the name of the migrated database: in the sample
below, it is DBSES)
Example:
VaultServer_Repo_0_ReadOnly = false
VaultServer_Repo_0_Path = E:\\users\\ses\\MyRepo1
VaultServer_Repo_0_TmpDirName = tmp
VaultServer_Repo_0_NumOfSecDir = 2
VaultServer_Repo_0_SecDirName_0 = Secured
VaultServer_Repo_0_SecDirName_1 = secured2
If you have some specific parameters in the VaultClient.properties file you have in R15, you should transfer
those customizations in the R16 VaultClient.properties file generated by the VaultSetup tool.
Note: Do not forget to propagate the updated VaultClient settings, once generated, throughout your R16
migrated domain.
Example:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 269
In the following example, the migrated Vault is the ENOVIAVaultServer one.
VaultClient_ENOVIAVaultServer_ReadVaultServerName = ENOVIAVaultServer
VaultClient_ENOVIAVaultServer_ReadVaultServerHostName = JANE1DSY
VaultClient_ENOVIAVaultServer_ReadVaultServerDaemonPort = 1570
VaultClient_ENOVIAVaultServer_ReadProtocol = HTTP
VaultClient_ENOVIAVaultServer_ReadHTTPServerHost = JANE1DSY
VaultClient_ENOVIAVaultServer_ReadHTTPServerPort = 8080
VaultClient_ENOVIAVaultServer_WriteVaultServerName = ENOVIAVaultServer
VaultClient_ENOVIAVaultServer_WriteVaultServerHostName = JANE1DSY
VaultClient_ENOVIAVaultServer_WriteVaultServerDaemonPort = 1570
## Vault server alias Vault2
## Use HTTP file transfer protocol (read operations only)
VaultClient_Vault2_ReadVaultServerName = Vault2
VaultClient_Vault2_ReadVaultServerHostName = bayeux
VaultClient_Vault2_ReadVaultServerDaemonPort = 1576
VaultClient_Vault2_WriteVaultServerName = Vault2
VaultClient_Vault2_WriteVaultServerHostName = bayeux
VaultClient_Vault2_WriteVaultServerDaemonPort = 1576
The HTTP read protocol has been added and updated to the right machine. The BlockSize has also been
updated. The Vault2 alias declaration has not been copied because we only migrated in that example the
ENOVIAVaultServer Vault.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 271
Administering Version 5
Licensing
Managing Environments
Managing Software
Managing Settings
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 272
Licensing
Licensing Overview
Licensing Tools
Enabling Concurrent Offline Licensing
Setting Up Network Licensing
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 273
Licensing Overview
Configurations
Configurations are a convenient and attractive way for you to order and install the adequate combination
of products for each type of user, while offering a single solution from a licensing point of view.
standard configurations contain a pre-defined list of products, corresponding to most frequent user
profiles across industries and processes. These configurations are offered at an attractive price
compared to the sum of the individual product prices.
the content of custom configurations is dynamically defined at ordering time, thus allowing you to
adapt the configuration content to the most specific user needs. The content of a custom
configuration is defined by adding individual products (see product delivered as "add-on" below) to an
existing standard configuration. The result is a competitively priced solution, and remains a single
solution from a licensing point of view.
After initial installation, the configuration mechanism lets you manage the evolution and growth of your
user profile content by allowing you to add new products. The resulting new seat definition is still a single
solution from a licensing point of view.
To be able to use Version 5, you need to purchase and acquire at least one configuration license.
Products
Products are the elementary software building blocks for Version 5 installations. Version 5 software may
be ordered as:
a standard configuration
an add-on product on top of a standard configuration to build a custom configuration
a shareable product:
In this case the product is delivered with its own license key, allowing the user to obtain the license at
the beginning of the session, or to leave it for another user. Prices of products ordered in this mode
are different, versus "add-on" price, to take into account multiple users potential. Shareable product
licenses do not have serial numbers.
Shareable products concern the CATIA, DELMIA and ENOVIA DMU Navigator product lines
only.
an Extra Product:
An extra product is a standard product associated with certain configurations or products. At install
time, if you select a configuration or a product which contains an extra product, a new dialog box is
displayed allowing you to install (or not install) the extra product. An extra product cannot be
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 274
licensed: it is free of charge. In additional install mode, the extra products already installed are listed
along with the already installed standard products. Installation in batch mode also takes extra
products into account. The CATSoftwareMgt[B] commands list the installed extra products along
with the installed standard products.
After installation, there is no possibility to differentiate the products installed as standard products or
as extra products. Documentation installation does not manage extra products.
Licensing Types
In workstation environments, Version 5 controls the number of concurrent users of a Version 5
configuration or product, according to the number of licenses acquired for the configuration or product.
Version 5 delivers identical licensing mechanisms on UNIX and Windows environments, based on IBM
License Use Management (LUM). The following licensing principles apply:
A Version 5 configuration (standard or custom) will require a license. Licenses for Version 5
configurations are acquired and released for the total configuration. The products within a
configuration cannot be shared.
Version 5 shareable products will require a license, in addition to one for the prerequisite
configuration and any prerequisite product, if applicable.
In all cases, licenses are acquired at the beginning of the process and are released at its termination.
Shareable product licenses may be acquired at the beginning of the process and released at its
termination, or upon user request, acquired and released during the process (ability to acquire and
release licenses is not available for configuration licenses). Shareable licenses acquired at the
beginning of the session cannot be released before the end of the session; only licenses dynamically
granted upon user request during the session can be released during the session.
Version 5 can be used in two licensing modes: nodelock or with concurrent usage of licenses on a
network.
Nodelock Licensing
The use of local display of the hardware configuration is mandatory for Version 5 usage in nodelock
mode. There is no limit to the number of Version 5 processes launched for a given license (configuration
or product). For instance, a user can launch the following simultaneous processes:
In nodelock mode of operation, only one license per configuration and product can be registered by
machine, and only one user can run a license at a time. If you want multiple licenses per configuration or
product, or multiple users, refer to Concurrent Licensing.
Nodelock licensing is available only for the CATIA, DELMIA and ENOVIA DMU Navigator
product lines.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 275
Concurrent Licensing
For CATIA, DELMIA, ENOVIA DMU and RADE, a user on one machine on one display uses one license per
configuration or product used, regardless of the number of processes. For ENOVIA LCA and 3d com, an
individual license is requested by each running process.
If the display changes, an additional license is reserved for the corresponding process.
Add-on and shareable products require a license for a configuration which includes at least the
prerequisite products.
Licenses for Version 5 configurations are acquired and released for the total configuration. The functions
within a configuration cannot be shared.
This feature is designed to add additional flexibility to a user's work environment. It is offered to
accommodate short-term travel needs and collaboration while away from a fixed office environment or
server connection. All ICA terms and conditions, including Cross-Border licensing terms are unchanged,
and users will checkout and check-in licenses at their home server, where rules and procedures are
controlled by LUM.
Demo Usage
In addition to its normal mode of operation where all licensed functions are accessed, Version 5 is
capable of running in demo mode, on UNIX and Windows, with some disabled functions (such as File-
>Save - see list below):
Existing Version 5 customers, who have a minimum of one regular license, can switch from standard
mode to demo mode (Tools->Options->Licensing tab). As the user restarts a session, the demo
mode will be automatically used.
Qualified prospects, who may be given the Version 5 code for evaluation purposes, are required to
enter a special demo license key. This will ensure that the code starts automatically in demo mode.
With this mechanism, customers can explore add-on products for which they do not yet have a license.
The qualified prospect can get first hands-on experience, verify the ease of use of Version 5, and create
the first parts. In both cases, a favorable business environment is created for accelerating sales cycles.
When using Version 5 in demo mode, the following functions are disabled:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 276
Note that only shareable products in the CATIA product line can be acquired without exiting a session.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 277
Licensing Tools
Enrolling Nodelock Licenses After the Installation
Reserving Static Licenses Using the License Manager
Reserving Shareable Product Licenses Dynamically
Running in Demo Mode
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 278
On Windows
1. Log onto the computer.
2. Select the Start->Programs->CATIA ->Tools->Nodelock Key Management V5R16 command, or run the program:
install_root\code\bin\CATNodeLockMgt
where "install_root" is the name of your installation folder which is, by default:
A check is performed automatically to verify whether your license is still valid, and display the number of days before your license
expires.
Note that:
a green light opposite the license serial number means that the license will still be valid for at least 30 days
an orange light opposite the license serial number means that the license will still be valid for less than 30 days
a red light opposite the license serial number means that the license has expired.
If the license is still valid, the number of days left before the license expires is indicated.
Note that the target id of the computer on which you are performing the installation is displayed inside the dialog box.
Pointing to the target id on Windows
displays a tooltip containing the name of
the network adapter used by the
licensing software to generate the target
id:
On UNIX and Windows, in both interactive and batch modes, the nodelock key management tool now displays the three-letter code
for nodelock custom configuration licenses. If this license contains add-on products, their three-letter code will be also displayed.
Identifying the configuration from which the custom configuration license has been generated is now easier, because the three-
letter code provides additional information, along with the serial number.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 279
If the configuration cannot be identified,
the trigram displayed will be "???" like
this:
This can happen for example if you have a license for a configuration which has not been installed, or has been uninstalled.
The File menu contains the following commands:
Import
Add
Read
Extract
Restitute
Clear
Exit
3. To import your electronic license certificate (if you have one), select the File->Import command.
To be able to import the certificate using this command, you do not need administrator privileges, however you need write access
to the folder in the LUM environment containing the nodelock file.
This displays a file selection box which opens with the C:\Temp folder contents displayed:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 280
Explore your filetree and select the license certificate file which uses the prefix ".lic", then click the Open button to import the
certificate.
If you import a license on a machine without a previous LUM environment, the following directory is created:
COMMON_APPDATA\IBM\LUM
which is typically:
C:\ifor\Ls\Conf\Nodelock
already exists on your machine and you import a nodelock license, this nodelock file will be updated.
C:\ifor\Ls\Conf\Nodelock
will be used. To avoid problems, we recommend that you use ONLY ONE nodelock file in the following directory:
This procedure can be used both after installing for the first time and after installing additional products.
To be able to add a license using this command, you do not need administrator privileges, however you need write access to the
folder containing the nodelock file.
This is useful when you do not have a license certificate file to import, and your license is sent to you on paper.
Type the following information (contained in your license on paper) in the appropriate fields:
Version
Password
Serial Number
There may or may not be a serial number, depending on the case:
a serial number exists for all configurations: all configurations are custom configurations
if you already have a custom configuration, you can extend it by adding products: in this case, a new license is provided,
and the new license contains the same serial number as the original configuration
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 281
a serial number does not exist for standalone (shareable) products.
Annotation
Comment.
The "Nodelock" file is created or updated just as if you had imported a license certificate.
5. To read a license, select the File->Read command.
This displays the license in the "Nodelock Key File Content" box:
Offline Licensing
The File->Extract and File->Restitute commands are used for extracting offline licenses from and returning offline licenses to a
LUM 4.6.7 server for the purpose of running Version 5 on a laptop disconnected from the network. For more information, refer to
Enabling Concurrent Offline Licensing. To be able to extract and restitute offline licenses, you do not need administrator privileges,
however you need write access to the folder containing the nodelock file and to the nodelock file itself.
Note that the LUM driver is not installed on Windows XP Professional x64 Edition. This means that concurrent offline licensing will
not be available on this 64-bit operating system, irrespective of whether the Version 5 code is 64-bit or 32-bit. As a consequence,
the File->Extract and File->Restitute commands are not available in CATNodelockMgt on Windows XP Professional x64
Edition.
The File->Clear command allows you to clear obsolete nodelock licenses from the nodelock file. Each time you import a nodelock
license, it is added to the nodelock file. After a period of time, the nodelock file may contain a large number of licenses, some of
which are obsolete. We recommend that you clear obsolete licenses from the nodelock file using this command, not by editing the
nodelock file manually. To be able to clear the nodelock file using this command, you do not need administrator privileges,
however you need write access to the folder containing the nodelock file and to the nodelock file itself.
On UNIX
1. Log on as root.
2. Go the directory:
/usr/DassaultSystemes/B16/OS/code/command
aix_a
hpux_b
irix_a
solaris_a
and enter the following command to display the "Nodelock License Manager" dialog box:
/var/ifor/nodelock (AIX)
/opt/lum/ls/conf/nodelock (HP-UX, IRIX, Solaris)
If you already installed LUM elsewhere, the nodelock file will be updated in the correct LUM environment.
Batch Mode
On all platforms, you can also run the command in batch.
On Windows
install_root\code\bin\CATNodelockMgtB (Windows)
where "install_root" is the name of your installation folder which is, by default:
On UNIX
aix_a
hpux_b
irix_a
solaris_a
2. Select the General category, then the Licensing tab to display the License Manager.
The role of the License Manager is to allow you to reserve licenses before using these products. You will not be able to work with
any Version 5 products until you have first reserved the corresponding licenses.
If you are using network licensing, selecting this tab contacts any license servers to update the list of available configurations and
products.
In our example, it will look like this if you installed the configurations CATIA - Mechanical Design (MD2) and CATIA - Drawing
Production (DP2), and imported a nodelock license for the CATIA - Mechanical Design (MD2) configuration:
Licensing Information
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 284
The "Licensing Information" section contains the following information:
Target id: specifies the target id of your computer
Display Type: informs you whether you are running on a local or remote display;
Local: you are running on a local display and you can work with either nodelock or server licenses
Remote: you are running on a remote display and you can work with server licenses only.
Active servers: if you are using network licensing, the list of all active and the number of available license servers is now
displayed like this:
The name of the server you are using is displayed in the field opposite. Click the the up and down arrows to display the
list of servers available.
If you are using nodelocked licensing only (in other words, if you are not using network licensing), the following is
displayed:
Licensing Setup
The "Licensing Setup" section contains the following information:
Server Timeout: When a client requests a license from a license server list, the client is prepared to wait a certain amount of
time for a response from the first license server (the server replies that the license is available or not available) before
contacting another server. A slider lets you specify approximately the amount of time the client is prepared to wait for a
response from the license server, from a few seconds to a few minutes.
If you have a high-performance network, and servers that are not heavily loaded, we recommend that you reduce the value: this
will allow the client to contact other servers more quickly, instead of waiting too long for a response from the first server.
If you have a low-performance network, or servers that are heavily loaded, we recommend that you increase the value: this will
allow the client to wait long enough for a response over a slow network or from heavily loaded servers.
In principle, a license granted by a LUM license server to a V5 session is released when the V5 session stops. The license is also
automatically released when a V5 session crashes.
However, it may occur in the event of certain severe crashes or network problems, that the V5 session cannot instruct the
license server to release the license, so the license is not released. To prevent the license from being retained endlessly by the
license server, there is a specified period of time (referred to as the "heartbeat") after which the license server considers the V5
session to be dead, and releases the license. This heartbeat is communicated to the license server by the V5 session when the
license is first requested.
Originally, the value of the heartbeat was set by default to approximately 17 mn, which meant that a license could be incorrectly
retained by the license server up to 17 mn, and could not be customized. During this period of time, this license cannot be
granted to another user. However, it can still be granted to the same user on the same machine on which the severe crash
occurred.
Now, you can set the heartbeat using the Frequency option. The default value is the same as before: approximately 17 mins.
This is the maximum value (represented by the value MAX in the list) and cannot be increased. Decreasing the heartbeat value
will decrease the maximum period of time during which a license can be inadvertently retained by the license server.
You can set the appropriate value by increments of 1 min. Consequently, the heartbeat can be set to any of the following range
of values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 and MAX.
Note: because the V5 session must contact the license server more frequently, decreasing the heartbeat leads to increased
network load and to increased license server workload. In particular, before decreasing this value to below 6 minutes, evaluate
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 285
carefully the impact on license server performance.
When a license server or the network goes down, a Version 5 session now enters a special mode giving users the
opportunity to save their work before exiting.
To understand the new behavior when a license server goes down, let`s look at what happened in previous releases.
Let`s take the example of a concurrent license granted to a V5 session when started. Every heartbeat period (about
17mn), the V5 session checks that the license is still granted to it. It may occur that, for example, the license server or
the network are down. In that case, the license check fails.
The session then enters a "countdown" mode. A popup is displayed informing the user that the license check has failed.
The user must then save any work in progress. Five checks are performed at one minute intervals. If all checks fail, the
session exits.
users may not necessarily have understood that any work in progress had to be saved.
even when a save was launched, the session could be exited while the save was still running.
From now on, the popup message clearly indicates to users that saving open documents is strongly recommended. After
the five failed checks, instead of exiting, a new license request is attempted. If it succeeds, the session continues. If this
session fails also, the session is set to a special mode in which only saving and exiting commands are available. All menu
items and toolbars are grayed out, except the commands Exit, Save, Save As, Save All and Save Management from the
File menu. Only the save and exit commands can be launched by using power input.
Notes:
processes such as batches and macros do not support this mechanism: automatic exit is still performed.
even if the problem which led to the license check failure is solved, it is impossible to return to the normal mode after
the session has been set to the special mode in which only saving and exiting are allowed: no other license request is
performed after entering in this mode
Show License Info: check this option if you want feedback when attempting to reserve a license which is not available
(reserved by another user). The next time you start a session, the software will inform you who is using the license you are
trying to use.
Note that this mechanism, even though managed by the Licensing tab, also applies to shareable product licenses managed by
the Shareable Products tab.
Demo mode: You will be able to work in demo mode if you registered and reserved at least one configuration license, and
checked the Demo Mode option. For more information about the demo mode, refer to Running in Demo Mode.
Note that, if you have not previously reserved any licenses, none of the check buttons is checked.
If you are working with a nodelocked license, the license will be reserved by default when you start a session, even if you unchecked
the corresponding button.
If you entered a nodelock license during the installation, the corresponding configuration is preselected in the list.
In our example, the MD2 option is checked because we imported a nodelock license for this configuration (CATIA - Mechanical
Design (MD2) (DS4D8E940000 - MD2)) during the installation.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 286
The "+" button is displayed next to the license in the list. Clicking this button lets you switch between compact mode (the default)
and expanded mode. In compact mode, the license imported is already reserved.
Click the "+" button to switch to expanded mode. In this mode, a sublist is displayed containing the list of all the installed licenses,
preceded by the "Any License" option.
All configurations are considered as custom configurations. When you install a configuration, the list of configurations/products is
organized as follows, in the order of appearance from top to bottom:
selected configuration licenses forced by the administrator, in alphabetical order
selected product licenses forced by the administrator, in alphabetical order
selected configuration licenses not forced by the administrator, in alphabetical order
selected product licenses not forced by the administrator, in alphabetical order
non-selected product licenses with the "Granted" status, in alphabetical order
non-selected configuration licenses available for selection, with the "Not Granted" status, in alphabetical order
non-selected product licenses available for selection, with the "Not Granted" status, in alphabetical order
non-selected configuration licenses, not available for selection, with the "No License" status, in alphabetical order
non-selected product licenses, not available for selection, with the "No License" status, in alphabetical order
non-selected configuration licenses, not available for selection, locked and prohibited by the administrator, in alphabetical order
non-selected product licenses, not available for selection, locked and prohibited by the administrator, in alphabetical order.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 287
Your administrator instruct you specifically to reserve a specific license with a specific serial number in the list. In this case, check
the button for the corresponding license.
However, for a variety of reasons, (network performance, license availability) you may decide to install several identical
configuration licenses on different license servers. Furthermore, these licenses may have identical serial numbers, but they may also
have different serial numbers.
If you are interested in using a specific configuration, irrespective of the serial number, and you do not care which server serves the
license, check the Any License option. This means that you want to reserve any one of the licenses for that configuration in the
list.
In this case, the software reserves by itself one of the available licenses. If the software finds a valid nodelock license on your
computer, the nodelock license will be used first. If there is no nodelock license, or the nodelock license is not valid, the software will
reserve a network license from the list of license servers.
Below each configuration or product license, you will see Local or Server which informs you whether the license is a nodelock
(local) license or a server license. If you are using a server license, the name of the server will be displayed like this:
Server (ip:servername)
The status Not Granted means that you have not requested a configuration or product license, or that you attempted to reserve a
license that is not available (nodelock license expired, server license expired, network server down, etc.).
The status No License appears next to configurations and products which have been installed, but for which you do not have a
license. The configuration and product names are grayed out in the list, and the check buttons cannot be checked.
Click the "-" button to return to compact mode.
3. After checking the appropriate license buttons, click OK.
4. Exit and restart your session.
You need to restart your session after reserving configuration and/or product licenses.
Licensing settings are stored in a settings file. The settings active in the License tab depend on what you set the last time you used
it.
If you run a Version 5 session in administrator mode, you can lock individual configuration and/or product licenses to control their
usage.
Troubleshooting Messages
You may encounter one of the following messages (the list is not exhaustive) when using the Licensing Manager:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 288
Environment xxx not set or incorrect. Please set an environment using the setcatenv command
Set a valid environment using the setcatenv command. For more information about customizing environments, refer to Customizing
Your Environment on Windows.
No Configuration/Product Available
The path containing the information required to display the list of configurations/products, referenced by the CATICPath
environment variable, is incorrect, or the information is incomplete.
You tried to reserve a license when all available licenses are used. Contact your administrator. See Show License Info.
You have requested one or more product licenses, but no configuration license. Click OK and select at least one configuration license
using the License Manager dialog box.
You tried to reserve only a product license. Click OK and select at least one configuration license using the License Manager.
Click OK and select at least one valid configuration license using the Licensing tab.
The added value of shareable products is that they can be either reserved statically, or reserved and released "dynamically". You
can simply reserve the shareable product license dynamically using the Shareable Products tab described below, and start using it
immediately without exiting your session.
Scenario
In the following scenario, we previously installed the DP2 - CATIA - Drawing Production 2 configuration and the MD2 - CATIA -
Mechanical Design 2 configuration. The DP2 license has already been reserved.
2. Select the General category, then the Licensing tab to display the License Manager.
You can see that the DP2 license has already been reserved:
If you scroll down the list of available configurations and products, you will see three product licenses belonging to the MD2
configuration and whose status is "Not Granted":
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 290
You will now see the same three product licenses belonging to the MD2 configuration and whose status is "Not Granted". These are
shareable products:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 291
Consequently, note that shareable products are listed in both the Licensing tab and the Shareable Products tab. This
means that a shareable product license can be reserved either statically or dynamically.
The lower part of the tab lists the products belonging to the DP2 configuration. When you reserved the DP2 configuration license
using the License Manager in the Licensing tab, the authorization to use this list of products was granted.
You can also use shareable products along with the licenses you reserved using the Licensing tab.
The list of shareable products is displayed in the upper part of the tab. The software detects all potentially shareable products
installed on your hard disk and displays them in the list. Accessible shareable products have an option button which you can check
to reserve them.
If you reserve a shareable product statically using the Licensing tab, after restarting your session it will no longer appear in the list
of shareable products in the Shareable Products tab.
The list of shareable products is organized as follows, in the order of appearance from top to bottom:
Unlike the Licensing tab, selecting the Shareable Products tab does NOT contact the license servers to display the licensing status of
the products. This is intended for performance reasons. For example, if you installed a shareable product for which there is no
license, the status of the product as displayed in the Licensing tab is:
No License
However, when you select the Shareable Products tab, the status of the product displayed is:
Not Granted
This illustrates that that you cannot determine immediately the true status of the license in the Shareable Products tab. To do so,
select the license: the license servers are then contacted, and return the message, in our example, that no license is available for
this product.
Consequently, in all cases, you first have to select the license to display its true licensing status.
4. Check the button for the shareable product you want to use.
If you select a product which requires another shareable product as a prerequisite, this prerequisite is also reserved. Once reserved,
the list will indicate that the product is required by another product.
5. Click OK to save your changes and exit the tab.
You can now start using the workbench associated with the shareable product without exiting your session.
Note that:
if you are using a workbench for a shareable product, then attempt to release the shareable product, you must first close the
corresponding workbench before being able to release the product
shareable product licensing is disabled when accessing the Shareable Products tab using the Start->Programs->CATIA -
>Tools menu, and running the Settings Management V5R16 command.
If you reserve a shareable product, use the Tools->Options... command to make changes to a tab introduced by this product, then
release the shareable product, any changes made to these tabs will be saved.
An administrator can lock access to shareable products in administration mode. End users will not be able to access the shareable
product license, but an administrator running in administration mode will be able to do so.
Reset Button
You must have already registered either one demonstration license, or at least one configuration license
(which automatically provides access to the demo mode).
Running in demo mode lets you use all the features of all the configurations and/or products installed,
apart from the few exceptions listed below.
In demo mode:
Note that when running a normal (non-demo) session, you can read specially marked Version 4 or
Version 5 demo documents, and save them as non-demo documents.
The License Manager is displayed automatically after starting Version 5 (either for the first time, or each
time you start a session until you reserve a license). You can also display it by selecting the Tools-
>Options... command, then the Licensing tab in the General category.
2. Check the Demo Mode option, and click OK.
When the concurrent offline license is reserved for use, a license is installed on a laptop connected to the network. For the duration of the
reservation, the extracted license is considered as a nodelock license tied to the laptop. This license is called an offline nodelocked license.
Once the offline nodelocked license has been installed on the laptop, the laptop can be disconnected from the network.
Once extracted, the license is no longer available from the license server. The license only becomes available once more to other users when
one of the following occurs:
The maximum extraction duration is 30 days. License Use Management Runtime administrators can reduce this duration.
If a free standard concurrent license and a free concurrent offline license exist for the same product, and an end-user requests a license for this
product, the server will provide the standard concurrent license, so that the concurrent offline license remains available for extraction.
Note that if you extract a license, you will not be able to run a release prior to V5R12 with that license.
Offline licensing is not supported if you use the LUM HAL (High-Availability Licensing) feature.
Note: The LUM driver required for offline licensing is not installed on Windows XP Professional x64 Edition. Consequently, concurrent offline
licensing is not supported, and the File->Extract and File->Restitute commands are not available.
Software Prerequisites
Here are the software prerequisites for the laptop and the license server.
License Server
Concurrent offline licenses can be enrolled and administered only on a server running IBM License Use Management Runtime (LUM) Version
4.6.7 on either Windows or UNIX.
The machine running the license server does not require Version 5 software.
Laptop
Version 5 Release 14 General Availability level of CATIA, ENOVIA DMU or DELMIA (or RADE) software
supported Windows platforms: Windows 2000 SP2 or Windows XP
the laptop does not require any IBM License Use Management Runtime software, but must be configured as a LUM client
and a LUM driver has to be installed on the client.
Procedure
Implementing concurrent offline licensing involves the following steps which should be performed in the following order:
The following steps referring to starting and stopping existing LUM servers and migration tasks do not apply if you are installing LUM for
the first time or on a different machine.
2. If you have already installed a previous version of LUM, go to the LUM installation directory.
3. Stop the license server using the command:
i4cfg -stop
To do so, refer to the section "Using the Built-In Backup and Recovery Procedure" in "Chapter 7. Hints and Tips" in the following
manual: IBM License Use Management - Using License Use Management Runtime.
5. Install IBM License Use Management Runtime (LUM) Version 4.6.7.
6. On Windows, perform the necessary license database migration steps.
Refer to the section "Installing after an Uninstallation", in section "Installing License Use Management Runtime on Windows" in "Chapter
3. Installing License Use Management Runtime" in the following manual:
IBM License Use Management - Using License Use Management Runtime.
7. Migrate the concurrent network licenses into concurrent offline licenses.
To do so, you need to copy the i4_offline_mig tool from the LUM CD-ROM. This purpose-built command migrates all concurrent
licenses into concurrent offline licenses on the network license server.
It is similar to a normal concurrent license because, even after migration, it can continue to be used as a normal concurrent license.
Each time a new license is enrolled, and you want to use it as an offline license, you must use the same command again to migrate the
license.
The tool is located in a folder named after the operating system you are using. Copy the tool into the same LUM installation directory
from which you run your LUM commands (i4cfg, i4blt, ...). Change the execution rights on the executable file to make sure that you
will be able to run the tool.
i4_offline_mig
After migration, the licenses will remain available, once the server has been restarted.
8. Restart the license server using the command:
i4cfg -start
The LUM administrator must set up rules to determine which users, groups of users and machines are authorized to extract an offline
concurrent license, and under which conditions.
For example, a password can be associated to each rule. By default, nobody is authorized to extract offline licenses.
To do so, you use the Basic License Tool. Run the following command to start the Basic License Tool GUI:
i4blt
At this point, refer to the following manual: IBM License Use Management - Using License Use Management Runtime Version 4.6.7.
In this manual the section: Scenario 15: Managing Concurrent-Offline Licenses, located in the chapter Administering License Use
Management Runtime, explains how to manage the use of concurrent-offline licenses. This scenario shows you the different aspects
involved in concurrent offline license management, for example:
Once this phase has been completed, you are now ready to extract the offline licenses to the laptop.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 296
Warning: if you are using ENOVIA LCA or ENOVIA 3d com, these product brands use concurrent licenses only: nodelock licenses are not
supported. This means that, although nothing stops you physically from extracting licenses for these brands, the extracted licenses will be
useless. Consequently, do not extract concurrent-offline licenses for ENOVIA LCA or ENOVIA 3d com.
On the Laptop
The following dialog box appears, listing the concurrent offline licenses located on the license server:
Before you extract the license, you can reset the license duration to extract the license for a lower duration than the one authorized. To
do so, click the appropriate field, then click it again and enter a new value (30 days maximum).
In certain cases, you may attempt to set a value greater than the value registered for that license on the LUM server. You will be
informed if this is the case, and must reset an appropriate value accordingly.
If the LUM administrator set a password, you must enter the password. Even if you select several licenses for extraction, there will still
be only one password. After validation, the license(s) is(are) extracted.
You cannot extract a license if the same license already exists as a nodelock license (either standard nodelock or offline nodelock) and
with the same serial number, if applicable.
Let's assume that you want to extract a license for the MD2 configuration which you have installed on your laptop. Note that you can
extract several licenses if required.
6. Select the license MD2, then click the Extract button.
A message popup will confirm that the license was successfully extracted. You can then click the OK button in the message box. Once
the license has been extracted, it is no longer available on the license server for network users. The new status of the license can be
tracked on the license server using the Basic License Tool.
Extracting an offline license creates the nodelock file on your laptop, or updates it if it already exists. If you select the File->Read
command, you will see the offline license for MD2:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 297
Offline nodelock licenses are identified in blue when listed using the Nodelock Key Management tool.
7. To test that you can use the license offline, disconnect the laptop from the network.
8. Start a Version 5 session.
Check that you are using a nodelock license by selecting the Tools->Options... command, then the Licensing tab.
If you were using a network license beforehand, the request for this license is still stored in your licensing settings. Consequently, at
this point, the License Manager will inform you that the requested license is not available (you are now disconnected from the network)
and prompt you to select the offline license and restart.
Once you have finally displayed the Licensing tab, you will then see the following (note that the tab does not specifically identify the
license as an offline nodelock license, but as a Local license):
You can now use your license for the duration specified when it was extracted. Once that duration has expired, the license will no longer
be available.
You may also return the license before the expiry date.
9. To do so, reconnect the laptop to the network, then make sure that the LUM client is correctly configured and points to the machine
running the LUM 4.6.7 license server to which you are going to return the license.
10. Select the Start->Programs->CATIA V5R16 (or ENOVIA_DMU_Navigator V5R16, or DELMIA V5R16)->Tools->Nodelock Key
Management V5R16 command.
11. Using the Nodelock Key Management tool, select the File->Restitute command.
Note that you can return more than one offline license.
12. Select the license, then click the Restitute button.
A message popup will confirm that the license was successfully returned. You can then click the OK button in the message box. Once
the license has been returned, it becomes available once more on the license server for network users.
The status of the license can be tracked on the license server using the LUM Basic License Tool.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 299
If you need to install the complete LUM package, and if you want to set up a network license server, you
can install the rest of the product from the LUM CD-ROM accompanying the software to avoid having to
download the software over the Internet.
Additional information about LUM may be found at:
http://www.software.ibm.com/is/lum
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 301
Designing the network licensing environment requires careful thought and planning. Consequently, we
strongly recommend that you read the following sections in the manual Using License Use Management
Runtime for your platform:
Chapter 2 "Planning Network Licensing": note that before starting, you must determine whether you
want to use direct binding or namespace binding. For more information about what this means, read
the section "Selecting a Type of Network Binding". For reliability reasons, we strongly recommend
that you use direct binding.
the section "Setting Up Your Servers and Clients", in particular "Scenario 3: Configuring a Network
License Server" in the chapter "Configuring License Use Management Runtime".
1. Log on as root onto the workstation on which the network license server is to be configured.
i4cfg
6. On the Log page, select the events you want to be logged, and specify the log file directory where you
want the log to be kept.
7. If you have decided to use direct binding (strongly recommended), select the Direct Binding page, and
enter in the Name field the TCP/IP host name of the server workstation ("ravel" in our scenario), then
press the <<Add button to add the server to the Servers list.
8. Select Close from the system menu at the top left corner of the Configuration Tool notebook, and click
the Yes button to save your changes.
On all UNIX platforms, the license server can be configured using a script. To do so, type the command:
i4cfg -script
and in response to the first question, select 3, then answer the questions when prompted.
9. Run the command:
i4cfg -start
i4cfg -list
For detailed information and a scenario explaining how to enroll licensed products and register the
licenses, refer to the sections "Performing Basic Administration", "Scenario 6: Managing a Licensed
Product", in the chapter "Administering License Use Management Runtime" in the manual: Using License
Use Management Runtime for your platform.
If you suspect that the license server database has been corrupted, we recommend that you run the
following LUM command
i4blt -C
You need to install License Use Management Runtime on at least one client.
Refer to the section "Setting Up Your Servers and Clients", in particular "Scenario 5: Configuring a
Network License Client" in the chapter "Configuring License Use Management Runtime".
1. Log on as root onto a workstation to be configured as client, and on which you installed License Use
Management Runtime.
i4cfg
On all UNIX platforms, the license server can be configured using a script. To do so, type the command:
i4cfg -script
and in response to the first question, select 1, then answer the questions when prompted.
7. Run the command:
i4tv
to check that the server is up and running, and that the client can communicate with the server.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 304
Windows
COMMON_APPDATA\IBM\LUM
which is typically:
C:\ifor\Ls\Conf\i4ls.ini
C:\ifor\Ls\Conf\i4ls.ini
will be used. To avoid problems, we strongly recommend that you use ONLY ONE file in the following
directory:
For compatibility reasons, if the i4ls.ini configuration file is not located in:
C:\Documents and Settings\All Users\Application Data\IBM\LUM
after migrating to Windows 2000, it may also be located and accessed in the following folders and in the
following order:
C:\ifor\ls\conf, then C:\Winnt.
If you migrated your machine from Windows NT to Windows 2000, and the target ID of your computer is no longer
recognized, use the regedit command and delete the following registry entry:
UNIX
/var/ifor/ (AIX)
/opt/lum/ls/conf/ (HP-UX, IRIX, Solaris).
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 305
To configure the other clients, simply copy this file to a directory on each client and reference the LUM
variable IFOR_CONFIG with the full path to the file name: you do not need to install License Use
Management Runtime on each client.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 306
A cluster is a set of active servers configured to communicate with each other through direct binding
mode. In this mode, several workstations serve licenses and others are in reserve ready to take over from
an unavailable server.
For more information about clusters, refer to the manual Using License Use Management Runtime for your
platform: section "Planning Clusters for High-Availability Licensing" in Chapter 2 "Planning Network
Licensing."
For more information about configuring clusters, refer to the manual Using License Use Management
Runtime for your platform: section "Administering High-Availability Licensing (HAL)", "Scenario 11:
Creating and Managing a Cluster" in Chapter 4 "Administering License Use Management Runtime".
Note that if you wanted to set up a mixed Windows and UNIX cluster, LUM 4.5.9 or higher is required.
However, you should be aware of the following situation which might occur when using HAL clusters.
In this example, let's suppose you have one license on a 3-server HAL cluster. A first CATIA client
requests the license, and the license is granted by the first server.
The next time that CATIA connects to the first license server to check that it is still up and running, CATIA
displays several warning messages because it is not certain that the license can be acquired or not on
another server in the cluster.
The license is then granted by the second server and CATIA goes on.
After the first server shuts down, another CATIA client on another machine may request the same license
from the first server which has shut down. The same license is then granted to this client by the second
server. The next time that CATIA connects to the first license server to check that it is still up and
running, CATIA displays several warning messages on the first CATIA client then exits, because the
license is already granted to the second CATIA.
This problem is due to the fact that the second server knows that the first server is down, but doesn't
take into account the licenses granted by the first server. If this was the case, the second CATIA process
wouldn't start, the same license wouldn't be granted to two CATIA processes, and the first CATIA process
wouldn't exit.
In both cases, the messages which appear are insignificant, and should be ignored.
These problems are due to the way in which HAL was originally designed.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 307
Servers that are members of a HAL cluster share license availability information, but not license usage
information. Consequently, the other servers do not know that a certain license was in use on the server
that went down, consider this license as available, and grant it to the first client that requests it.
HAL was not designed to share this type of license usage information among all the servers in a cluster.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 308
Managing Environments
What Is An Environment?
Customizing Your Environment on Windows
Customizing Your Environment on UNIX
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 309
What Is An Environment?
What is an Environment?
An environment is a set of runtime environment variables in a text file. Each variable points to a path
searched by the software when you start a session.
Commands used for illustration purposes are for 32-bit Windows 2000 or Windows XP Pro.
All Version 5 product lines share the same environment management mechanism.
For example, on Windows, the CATDocView environment variable is set by default, for 32-bit Windows
2000 or Windows XP Pro, to:
meaning that the online documentation files are installed in the folder C:\Program Files\Dassault
Systemes\B16doc. When you want to access the online documentation, the software will look for the files
in this location.
The term environment also includes its graphical representation, in other words how it is represented to
the user on the user's desktop.
On Windows, for example, the environment is created in a text file located by default in:
Note: the environment file name does not necessarily contain a "." (dot).
You can also specify during the installation procedure the location of environment files on both Windows
and UNIX.
A global environment can only be created by a Windows administrator, or the root userid on UNIX. For
example, the default environment created at installation is a global environment: "global" means that it
is visible to and can be used by all users on the computer on which it has been set up.
Global environments can only be created, edited or deleted by a Windows administrator, or the root
userid on UNIX.
A user environment is visible to and can be used and manipulated (customized or deleted) only by the
user who created it.
using the catiaenv command (Windows) or CATIAENV command (UNIX) to run the Environment
Editor, a GUI-based tool which creates, edits, copies and deletes environments
using the setcatenv command: this command creates and edits user and global environments (if you
are administrator or root, you can edit the default global environment)
using the delcatenv command: this command deletes environments
using the lscatenv command (to list the names of environments)
using the chcatenv command (to edit one or more environment variables)
using the readcatenv command (to read the variables of an environment).
Please use the official tools provided to manage environments. Do not attempt to edit the environment
file using a text editor.
For example, you may install the online documentation at a location different from the default location. If
this is the case, you need to specify where the documentation files are located by modifying the value for
the CATDocView variable. This is an example of what we mean by customizing your runtime
environment.
When customizing runtime environments, you can:
create new environments
edit existing environments
copy existing environments
delete environments
You can ONLY create, modify and delete LOCAL environments: the creation, modification and deletion of
REMOTE environments is not supported. This means that if you customize a local environment, and the
same environment exists on other computers, you have to edit the environments on all of those
computers if you want the environments to be identical.
CATMetasearchPath ENOVIA 3d com search path pointing to location where ENOVIA V5R4
ENOVIA 3d com MetaSearch stores data required for
metasearch engine operation.
CATW3PublishPath ENOVIA Portal search path pointing to location for ENOVIA V5R4
storing HTML documents created by the ENOVIA Portal
Snapshot command.
CATSharedWorkbookPath Points to shared workbooks for ENOVIA Portal ENOVIA V5R8
CATErrorLog Error log search path: points to the default files V5R1
error.log, SessionInfo and AbendTrace files. The syntax
is, for example, on Windows:
CATErrorLog=%CATTemp%\error.log
The error log file will be:
%CATTemp%\error.log
Commands used for illustration purposes are for 32-bit Windows 2000 or Windows XP Pro.
1. Select the Start->Programs->MyProductLine->Tools->Environment Editor V5R16 command,
CATIA
The environment editor belongs to the common suite of Version 5 administration tools. All the different examples in
this section procedure step you through the customization of a CATIA environment, for illustration purposes. The
steps are the same for customizing DELMIA, ENOVIA DMU Navigator, ENOVIA LCA and ENOVIA 3d com environments.
You can also start the environment editor by running the command:
Note that the list of existing environments is displayed in the Environment name list. The list will contain all the environments
detected in the current environment folder. The first environment is selected by default.
When an environment in the list is selected, click the right mouse to display a contextual menu of environment manipulation
commands.
The Mode field indicates one of two possible values:
User: indicates that the environment was set up using your userid, is visible to you and can only be accessed by you (you
cannot see anybody else's user environments)
Global: indicates that the environment was set up by somebody belonging to the Administrators group, or who has the
privileges assigned to the Administrators group (you can see all the global environments on your computer): this is what you
will see after an initial installation on your computer.
This means that you will only see in the Environment name list the names of environments you created, or which are common
to all users. You can only edit environments which belong to you. Furthermore, if you select a global environment as end user,
you will be able to display an environment, but not edit it.
The Last Modified field specifies the date and time the environment was last modified.
The Environment storage directories area displays the current storage location for both global and user environments. This setting
is the location you specified during installation.
2. To reset environment storage directories, select the
Options->Set User Storage Directory or the
Options->Set Global Storage Directory command
to display a file explorer, then explore your filetree to
select the directory, and click OK.
3. To display the variables for any environment, click the environment name.
For example, click the CATIA.V5R16.B16 environment which is the name of the default global environment set up at installation.
This will be the only environment name in the list after a default installation. However, once you create new environments, these
will also be displayed in the list.
For example, the default path for the CATDocView variable in our example is:
However, you may have installed the online documentation in a different folder.
5. If you are authorized to edit the variable, click the variable value to be able to edit it, then type in the new value.
For example, you would type in the new path for the variable CATDocView. The value of the variable is reset in the Environment
Variables field.
6. Click OK.
CSIDL Values in Environment Variable Paths
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 316
There are a number of folders that are used frequently by applications, but may not have the same name or location on any given
system. For example, the system folder is "C:\Windows" on Windows XP and "C:\Winnt" on Windows 2000. CSIDL values provide a
unique system-independent way to identify these special folders.
Consequently, CSIDL values are now part of paths pointed to by environment variables. The variables concerned are:
CATUserSettingPath
CATTemp
CATReport
CATErrorLog
CATMetasearchPath
CATW3PublishPath
The TMP and TEMP variables pointing to the current temporary file path on your computer are not necessarily activated.
The DSKEY_TMPDIR key points to the current temporary file path on your computer which is obtained as follows:
The software does not verify that the directory specified by the TMP or TEMP environment variables exists. The temporary file path
is obtained as follows:
CATIA
The type can be user or global (global is available only for administrators only). If you are logged on as a normal end user, the
type is set automatically to "user".
6. Set the product line by choosing your product line from the list:
CATIA
ENOVIA LCA
ENOVIA 3d com
ENOVIA V5 VPM
ENOVIA DMU Navigator
DELMIA
DELMIA Automation.
7. Check the "Server" option if the environment is to be a server-type environment. This concerns ENOVIA LCA and ENOVIA 3d
com only.
8. Check the "Add Desktop Icon" option if you want to create a desktop shortcut and an entry in the appropriate Version 5 location
of the Start->Programs menu.
9. Check the "Overwrite existing environment" option to overwrite an existing environment.
10. Click OK to create the environment.
where "user" is "All Users" for a global environment, or "myuserid" for a user environment.
CATIA
2. Select an environment and click Yes to confirm you want to modify it.
3. Select the Environment->New from... command to display the following dialog box:
The type can be user or global (global is available only for administrators only). If you are logged on as a normal end user, the
type is set automatically to "user".
8. Set the product line by choosing your product line from the list:
CATIA
ENOVIA LCA
ENOVIA 3d com
ENOVIA V5 VPM
ENOVIA DMU Navigator
DELMIA
DELMIA Automation.
9. Check the "Add Desktop Icon" option if you want to create a desktop shortcut and an entry in the appropriate Version 5 location
of the Start->Programs menu.
10. Check the "Overwrite existing environment" option to overwrite an existing environment.
11. Click OK to create the environment.
where "user" is "All Users" for a global environment, or "myuserid" for a user environment.
CATIA
2. To display the variables for any environment, click the environment name and confirm that you want to modify it.
3. Without selecting a variable, right-click on the variable list to see the contextual commands:
New Variable
Delete Variable
Edit Variable
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 319
4. To create a user-defined variable, select the New Variable command to display the Variable Editor dialog box:
and enter the variable name, its value, and a comment if required, then click OK.
5. To delete a user-defined variable, select the variable, then select the Delete Variable command, then click Yes to delete the
variable.
Note that you can delete only user-defined variables created using the New Variable command, and not official variables.
6. To edit any variable, select the variable, select the Edit Variable command to display the Variable Editor dialog box:
then enter its new value and click OK. Note that the variable name and comment field are not available if you are modifying an
official variable. However, the name, value and comment are editable if you are editing a user-defined variable only.
7. Do not forget to save your changes by selecting the Save command, also in the contextual menu.
setcatenv
is as follows:
-e: environment file name; if the "-e" option is not specified, the name of the environment created will be
"DefaultEnvironment"
-d: specifies an existing directory in which the environment file will be created (it does not create the directory if it does not
exist);
if you do not specify "-d", the environment will be created in:
where "user" is "All Users" for a global environment, or "myuserid" for a user environment
-p: specifies the installation folder, and is mandatory (by default, it is set to the default installation folder:
C:\Program Files\Dassault Systemes\B16)
-server: creates an environment suited for server type environments. The CATUserSettingPath variable value differs between a
server environment and an interactive environment. The "-e" option is mandatory when specifying server environments.
Furthermore, a server type environment does not have a desktop representation, and always overwrites an existing
environment with the same name. Consequently, system administrator rights are required for using this option
-cf: specifies the name or path of an existing environment from which you create a new environment.
For example, the command:
setcatenv -e MyNewEnv -cf CATIA.V5R16.B16
creates the new environment MyNewEnv from a copy of CATIA.V5R16.B16.
This allows you to inherit previous customizations without having to recreate them in the new environment.
For example, the CATReferenceSettingPath variable is frequently used to store settings locked by the administrator, and may
concatenate several different levels of settings. Copying an existing environment saves you time because you do not having to
customize the new environment.
Note that if you do not use the "-cf" option, all the variables are set with their default values in the new environment. If only
the name is specified in the "-cf " option, the template environment is searched in the default storage directories (user or
global).
Behavior Options
These options determine a type of behavior:
-v yes/no:
-v yes (default): verbose mode
-v no: non-verbose mode.
-new yes/no:
yes ( default): an environment with the same name (if it exists) is overwritten
no: if an environment has the same name, this time it is not overwritten (nothing happens).
However, note that if no environment using the same name is detected, a new environment is created in both cases (whether
you use "yes" or "no").
-tools: sets up the Tools menu containing the Environment Editor V5R16, Nodelock Key Management V5R16, Settings
Management V5R16, Software Management V5R16, Batch Management V5R16 and Printers V5R16 commands.
This is an exclusive option: run this command once like this:
setcatenv -tools -cs MyProductLine
-desktop yes/no: sets up the desktop representation of the environment, if it does not already exist. The default is "yes".
Equivalent to "-icon yes" "-menu yes".
-icon yes/no: creates a startup icon on the desktop; default is "yes"
-menu yes/no: creates a startup icon in the Start menu; default is "yes"
Action Options
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 321
These options specify a particular creation or modification action:
-a user/global: specifies whether you are creating a user or global environment. The default value is "user". Note that you
need administrator rights to create a global environment.
-h: displays help.
The catenv.log log file logs environment creation and modification operations. The log file is created in the temporary folder in one
of the following locations:
Creating an environment using the setcatenv command sets up the following environment:
sets up Start->Programs->MyProductLine menu by adding the shortcut for your environment
and creates the shortcut for your environment on the desktop.
If you create a new environment, you can start a session using the new environment with the command:
where "my_new_environment" is the name of the environment you created, and "MyEnvDirectory" is the name of the environment
directory.
delcatenv
-e: environment file name; if the "-e" option is not specified, the name of the environment deleted will be "DefaultEnvironment"
-d: specifies the directory containing the environment; the default is CSIDL_APPDATA\CATEnv.
-a user/global: specifies whether you are deleting a user or global environment. The default value is "user". Note that you
need administrator rights to delete a global environment.
-desktop: if it exists, deletes its graphical representation, in other words, how it is represented to the user on the user's
desktop (desktop shortcut, shortcut in Start menu, etc.). The default is "yes".
-tools: deletes the Tools menu containing the Environment Editor V5R16, Nodelock Key Management V5R16, Settings
Management V5R16, Software Management V5R16, Batch Management V5R16 and Printers V5R16 commands.
This is an exclusive option: run this command once like this:
delcatenv -tools -cs MyProductLine
-cs [CATIA|ENOVIA_DMU_Navigator|ENOVIA_LCA|DELMIA|ENOVIA_3d_com]: specifies the product line whose
desktop tools you want to delete; the default is CATIA.
-v yes/no:
-v yes (default): verbose mode
-v no: non-verbose mode
-server: deletes an environment suited for server type environments. The CATUserSettingPath variable value differs between a
server environment and an interactive environment. The "-e" option is mandatory when specifying server environments.
System administrator rights are required for using this option.
-h: displays help.
Keep in mind that deleting an environment using the delcatenv command deletes all the registry entries.
lscatenv
-a user/global: lists user or global environments. You must specify one or the other.
-d: specifies the directory containing the environment; the default is CSIDL_APPDATA\CATEnv.
-h: displays help.
readcatenv
chcatenv
If the path includes blanks, include the whole string in " ".
-new: creates a new user-defined variable (specified by the "-var" option) with its corresponding value
Example:
Examples
Running this command... Displays this:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 323
readcatenv -e CATIA.V5R16.B16 -a global CATInstallPath=C:\Program Files\Dassault Systemes\B16\intel_a
CATDLLPath=C:\Program Files\Dassault
Systemes\B16\intel_a\code\bin
CATICPath=C:\Program Files\Dassault
Systemes\B16\intel_a\code\productIC
CATCommandPath=C:\Program Files\Dassault
Systemes\B16\intel_a\code\command
CATDictionaryPath=C:\Program Files\Dassault
Systemes\B16\intel_a\code\dictionary
CATDocView=C:\Program Files\Dassault
Systemes\B16\intel_a\doc
CATReffilesPath=C:\Program Files\Dassault
Systemes\B16\intel_a\reffiles
etc....
The feedback obtained when using all the administration commands from the command line is now output to the current command
prompt window.
Each time you use one of the configurations, your licensing settings are stored in the same place. This means that when you start
"Configuration 1", acquire the corresponding license, then exit your session, your licensing settings are saved. When you start
"Configuration 2", your previous licensing settings are retrieved, so you must acquire the new license. Each time you exit, the
previous licensing settings are overwritten by the new licensing settings.
This means that, when you use different configurations alternately, you have to continually reacquire the corresponding license
each time you start.
You can avoid this problem by editing each environment. Let's assume that the two configurations are installed on an Intel
computer running Windows, and that you are authorized to edit each environment. The two variables of interest are:
CATReferenceSettingPath
CATUserSettingPath
In the default environments created, let's assume each variable has the following values:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 324
Environment 1
CATReferenceSettingPath C:\Admin_License_Settings
CATUserSettingPath %CSIDL_APPDATA%\Dassault Systemes\CATSettings
Environment 2
CATReferenceSettingPath C:\Admin_License_Settings
CATUserSettingPath %CSIDL_APPDATA%\Dassault Systemes\CATSettings
Note that, for the moment, the path pointed to by CATUserSettingPath is the same in both cases. Your licensing settings are saved
here each time you use a configuration.
1. Select the Start->Programs->MyProductLine->Tools->Environment Editor V5R16 command,
CATIA
2. Edit "Environment 1" and reset the value for the CATUserSettingPath variable as follows:
aix_a
hpux_b
irix_a
solaris_a.
The Environment Editor appears. The user interface and functions are the same as on Windows. For more
information, refer to the Windows description of the Environment Editor.
aix_a
hpux_b
irix_a
solaris_a.
setcatenv
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 326
is as follows:
-e: environment file name ; if the "-e" option is not specified, the name of the environment created
will be "DefaultEnvironment"
-d: specifies an existing directory in which the environment file will be created ($HOME/CATEnv by
default); the directory is not created if it does not exist
-p: specifies the installation directory, and is mandatory (by default, set to the default installation
directory: /usr/DassaultSystemes/B16)
-server: creates an environment suited for server type environments. The CATUserSettingPath
variable value differs between a server environment and an interactive environment. The "-e" option is
mandatory when specifying server environments. Furthermore, a server type environment does not
have a desktop representation, and always overwrites an existing environment with the same name.
Consequently, system administrator rights are required for using this option.
-cf: specifies the name or path of an existing environment from which you create a new environment.
For example, the command:
setcatenv -e MyNewEnv -cf CATIA.V5R16.B16
creates the new environment MyNewEnv from a copy of CATIA.V5R16.B16.
This allows you to inherit previous customizations without having to recreate them in the new
environment.
For example, the CATReferenceSettingPath variable is frequently used to store settings locked by the
administrator, and may concatenate several different levels of settings. Copying an existing
environment saves you time because you do not having to customize the new environment.
Note that if you do not use the "-cf" option, all the variables are set with their default values in the
new environment. If only the name is specified in the "-cf " option, the template environment is
searched in the default storage directories (user or global).
Behavior Options
These options determine a type of behavior when creating or updating environments:
-v yes/no:
-v yes (default): verbose mode
-v no: non-verbose mode.
-new yes/no:
yes (default): an environment with the same name (if it exists) is overwritten
no: if an environment has the same name, this time it is not overwritten (nothing happens)
However, note that if no environment using the same name is detected, a new environment is created
in both cases (whether you use "yes" or "no").
-desktop yes/no: sets up the desktop representation of the environment, if it does not already exist.
The default is "yes", except on IRIX where the default is "no".
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 327
Action Options
These options specify a particular creation or modification action:
-a user/global: specifies whether you are creating a user or global environment. The default value is
"user". Note that you need administrator rights to create a global environment.
-regserver: registers the application on the workstation by adding or modifying a certain number of
files required to support dragging and dropping of documents inside the desktop environment, and
associates the behavior when double-clicking Version 5 documents. This needs to be performed for
each product line.
This option creates the following files for the CDE Desktop:
$HOME/CATEnv/CATCDE/CATIA/dt/appconfig/types/C/CATIAFiles.dt (action description file for
CATIA document types)
$HOME/CATEnv/CATCDE/CATIA/dt/appconfig/icons/C (contains icons for document types)
$HOME/CATEnv/CATCDE/CATIA/dt/appconfig/types/C/CATIA.dt (action description file for CATIA
directory in the CDE desktop)
and the following files for the Magic SGI Desktop on IRIX:
If a base configuration is already installed, this option serves no useful purpose since the desktop
environment is already present. Only use the "-regserver" option if no base configuration is already
installed. It should be used after creating a reference environment, and can be used only by an
administrator.
-h: displays help.
Any environment created by either an administrator or an end user using the setcatenv command is a
user (not global) environment.
$HOME/CATEnv
Default environment:
CATIA.V5R16.B16.txt
Global environment:
GLOBAL1.txt
The name of this environment is specified by using the "-e" option
User environment:
USER1.txt
The name of this environment is specified by using the "-e" option.
The setcatenv command creates in your $HOME directory the following filetree:
$HOME/CATEnv/CATCDE/MyProductLine/dt/appconfig/appmanager/C/MyProductLine
/etc/dt/appconfig/appmanager/C/MyProductLine
Contains files required for graphic representation of the default global environment and global
environment in the CDE desktop:
CATIA.V5R16.B16
GLOBAL1
$HOME/CATEnv/CATCDE/MyProductLine/dt/appconfig/types/C
/etc/dt/appconfig/types/C
Action description file for default global environment and global environment icon:
CATIA.V5R16.B16.dt
GLOBAL1.dt
CATIA.dt
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 329
(file created by the option "-regserver"; the file name depends on the product line).
CATIAFiles.dt
(file created by the option -regserver; identical for all product lines).
$HOME/CATEnv/CATCDE/MyProductLine/dt/appconfig/icons/C
/etc/dt/appconfig/icons/C
Files created by the option -regserver; file names depend on the product line.
$HOME/.dt/appmanager/My_MyProductLine
USER1
$HOME/.dt/types
USER1.dt
Note: the files MyProductLine.dt and CATIAFiles.dt are not present in this directory because they are
already present in: $HOME/CATEnv/CATCDE/MyProductLine/dt/appconfig/types/C
/etc/dt/appconfig/types/C
$HOME/.dt/icons
The MyProductLine icons are not present in this directory because they are already present in:
$HOME/CATEnv/CATCDE/MyProductLine/dt/appconfig/icons/C
/etc/dt/appconfig/icons/C
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 330
CATIA V5R16
GLOBAL1
My_MyProductLine : USER1
Note
You do not see the icon immediately. To display the icon, you must click the Application manager icon on
the CDE front panel, go into the Desktop Tools cabinet, then double-click the Reload Applications icon.
You can also log off and log on to display the icon.
The setcatenv command creates in your $HOME directory the following filetree:
$HOME/CATEnv/CATSGI/MyProductLine
Files required for graphic representation of default environment, global and user environment in the SGI
desktop:
CATIA.V5R16.B16
GLOBAL1
USER1
$HOME/CATEnv/CATSGI/MyProductLine/.ftr
$HOME/CATEnv/CATSGI/MyProductLine/.fti
The MyProductLine icon files are not present in this directory because they are already present in:
/usr/lib/filetype/install/iconlib
The files in the /.ftr and /.fti directories are only created if the desktop integration was not successful:
these directories allow the administrator to perform the integration manually.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 331
/usr/lib/filetype/install
Dassault_Systemes.CATIAFiles.ftr
(created by the option "-regserver"; the file name depends on the product line).
Dassault_Systemes.CATIAEnvironments.ftr
(created by the option "-regserver"; the file name depends on the product line)
/usr/lib/filetype/install/iconlib
The files are created by the option "-regserver" and the file names depend on the product line.
Note
You do not see the icon immediately. To display the icon, you must log off and log on. The visible impact
on the SGI desktop in File->Applications is:
the creation of the MyProductLine directory and the creation in these directories of the default global
environment icon and global environment icon:
CATIA V5R16 - GLOBAL1
creation of the My_MyProductLine directory and the creation in this directory of the user environment
icon
aix_a
hpux_b
irix_a
solaris_a.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 332
The full list of options for the command:
delcatenv
is as follows:
-e: environment file name; if the "-e" option is not specified, the name of the environment deleted will
be "DefaultEnvironment"
-d: specifies the directory containing the environment file to be deleted ($HOME/CATEnv by default)
-a user/global: specifies whether you are deleting a user or global environment. The default value is
"user". Note that you need administrator rights to delete a global environment.
-desktop: if it exists, deletes its graphical representation, in other words, how it is represented to the
user on the user's desktop. The default is "yes", except on IRIX where the default is "no".
-cs [CATIA|ENOVIA_DMU_Navigator|ENOVIA_LCA|DELMIA|ENOVIA_3d_com]: specifies the
product line whose desktop tools you want to delete; the default is CATIA.
-v yes/no:
-v yes (default): verbose mode
-v no: non-verbose mode.
-unregserver: unregisters Version 5 in the CDE Desktop and the Magic SGI Desktop on IRIX, and
deletes the appropriate desktop files set up by the "-regserver" option. The effect is that dragging and
dropping of Version 5 documents inside the desktop environment, and the behavior associated when
double-clicking Version 5 documents, are deactivated.
This option must be used on its own like this:
delcatenv -unregserver -cs MyProductLine
and once only on a given workstation because it unregisters all Version 5 installations on the same
workstation.
This option is an integral part of the installation process, but must be used with caution if you have
more than one Version 5 installation on the same workstation. For example, you may have two
installations, A and B (you first installed A, then B). Then, you decide to uninstall B. If you run the
commands like this and in this order:
delcatenv -unregserver
delcatenv -e EnvB
then remove the code directory for installation B, installation A will continue to work, but none of the
features available via the desktop (dragging and dropping, double-clicking Version 5 documents, etc.)
will work: this behavior is common to all Version 5 applications, and was deactivated when
unregistering.
If you have only one Version 5 installation, first unregister Version 5 for each product line, then delete
the runtime environment and finally remove the code.
The "- unregserver" option can be used only by an administrator (root).
For more information, refer to Enabling User Access to the Software Over the Network.
-server: deletes an environment suited for server type environments. The CATUserSettingPath
variable value differs between a server environment and an interactive environment. The "-e" option is
mandatory when specifying server environments. System administrator rights are required for using
this option.
-h: displays help.
aix_a
hpux_b
irix_a
solaris_a.
The full list of options for the command:
lscatenv
is as follows:
-a user/global: lists user or global environments. You must specify one or the other.
-d: specifies the directory containing the environment
-h: displays help.
aix_a
hpux_b
irix_a
solaris_a.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 334
The full list of options for the command:
readcatenv
is as follows:
aix_a
hpux_b
irix_a
solaris_a.
The full list of options for the command:
chcatenv
is as follows:
CATVariable = new_path
CATVariable = $CATVariable: new_path
CATVariable = new_path:$CATVariable
If the path includes blanks, include the whole string in " ".
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 335
Note: if you are running this command inside a shell, we recommend that you add a "\"
(backslash) before each variable preceded by the "$" character to avoid the values of
referenced variables from being replaced by their real values.
For example:
CATVariable = \$CATVariable: new_path
-new: creates a new user-defined variable (specified by the "-var" option) with its corresponding
value
Example:
Examples
Running this command... Displays this:
(where "OS" varies for the UNIX platform)
./catstart -run "readcatenv -e CATIA.V5R16.B16 - CATInstallPath=/usr/Dassault
a global" Systemes/B16/OS
CATDLLPath=/usr/Dassault
Systemes/B16/OS/code/bin
CATICPath=/usr/Dassault
Systemes/B16/OS/code/productIC
CATCommandPath=/usr/Dassault
Systemes/B16/OS/code/command
CATDictionaryPath=/usr/Dassault
Systemes/B16/OS/code/dictionary
CATDocView=/usr/Dassault
Systemes/B16/OS/doc
CATReffilesPath=/usr/Dassault
Systemes/B16/OS/reffiles
etc....
The feedback obtained when using all the administration commands from the command line is now output
to the current command prompt window.
All of these products can install, by default, a runtime environment in the same location. If you run a tool
using the catstart command without specifying which environment you want to use, the last environment
installed will be executed.
Consequently, make sure you use the "-env" option to specify which runtime environment you want to
run.
where "myenv" is the environment for your product, and "mytool" is the tool you are running.
For example, if you want to run the VPMPeopleEdit tool, which is an ENOVIA LCA tool, use a command like
this:
Managing Software
Committing and Rolling Back Service Packs
Getting Information About Installed Software
Checking Integrity and Prerequisites
Getting System Information
Using Software Management Tools in Batch Mode
Setting Up Batch Monitoring Using the Communications Backbone and MQSeries
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 338
After installing a service pack, you may want to spend some time using the service pack for validation
purposes, before making it officially available to your end users. "Committing" a service pack means
applying the service pack to your installation, so that it becomes the official working level. This deletes
the previous level, thereby saving disk space.
After spending some time using the service pack for validation purposes, you may find that the service
pack is not suitable. If this is the case, you can "roll back" the service pack: rolling back a service pack
uninstalls the service pack, and restores the software level to the level prior to installing the service
pack.
As explained in Getting Information About Installed Software, you can identify at any time the level of
software on your computer.
On Windows
1. Log on as an administrator.
You must belong to the Administrators group, or have the privileges assigned to the Administrators
group.
2. Select the Start->Programs->MyProductLine->Tools->Software Management V5R16
command, where "MyProductLine" is:
CATIA
install_root\code\bin\CATSoftwareMgt.exe
where "install_root" is the name of your installation folder which is, by default:
If no service packs are installed, the tab will inform you that no service packs are installed.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 339
However, if a service pack is detected, the tab will inform you exactly what you can do.
For example, the following tab informs you that "Service Pack 1" has been installed after a GA
installation.
Depending on the results of your validation, you may decide to commit the service pack, or roll back to
the previous level.
4. Click the Commit button to commit the service pack, or the Rollback button to uninstall the service
pack and restore the previous level.
Keep the following rules in mind when committing and rolling back service packs:
if you install a GA level, then "Service Pack 1", and then intend to install "Service Pack 2", you must
commit "Service Pack 1" before installing "Service Pack 2"
let's assume you install a GA level, then "Service Pack 1", and commit the service pack; if you then
add configurations or products to your installation, you will be prompted at the end of the
installation to reinstall "Service Pack 1"; when you reinstall "Service Pack 1", the service pack is
committed automatically.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 340
You can also choose to commit a service pack automatically during service pack installation. The
consequences of choosing to automatically commit a service pack at installation are:
the service pack overwrites any previous level (GA or service pack): if you have already decided to
commit the new service pack, and you do not want to keep the previous version, this allows you to
save disk space
once you have automatically committed the service pack, you cannot roll back to the previous level
(GA or service pack)
when you add products after automatically committing a service pack, the new software is also
automatically committed.
If running processes are detected in the installation directory when you choose the Rollback option, you
will be prompted to kill running processes.
On UNIX
1. Logon as root.
aix_a
hpux_b
irix_a
solaris_a.
The Dassault Systemes Software Management dialog box is displayed, and the General tab is open.
3. Click the Service Pack Management tab, and proceed as explained for Windows (see above).
You do not need to be an administrator to obtain information about installed software: this capability is available to all
users.
On Windows
1. Select the Start->Programs->MyProductLine->Tools->Software Management V5R16 command, where
"MyProductLine" is:
CATIA
install_root\code\bin\CATSoftwareMgt.exe
where "install_root" is the name of your installation folder which is, by default:
On Windows XP Professional x64 Edition, the build level will be specified like this:
B16 (32-bit)
B16 (64-bit)
Service Pack Level: identifies which service packs (SPK) have been installed (under certain conditions, more than one
service pack may be installed). If no service packs have been installed, the "Service Pack Level" field specifies:
No Service Pack
Installation Path: specifies the installation folder for the specified build level.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 342
If a service pack has been installed, the Service Pack Level field will specify the service pack level, and the last service
pack level that was committed. Note that you can have several service packs installed on your computer.
For information about what committing and rolling back a service pack means, refer to Committing and Rolling Back
Service Packs.
2. Click the Installed Software tab.
The installed configurations and/or products are listed.
On UNIX
1. Log on as root or end user.
aix_a
hpux_b
irix_a
solaris_a.
The Dassault Systemes Software Management dialog box is displayed, along with the General tab containing the same
options as on Windows (see above).
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 344
You do not need to be an administrator to obtain information about installed software: this capability is available to all
users, and at any time.
On Windows
1. Select the Start->Programs->MyProductLine->Tools->Software Management V5R16 command, where
"MyProductLine" is:
CATIA
install_root\code\bin\CATSoftwareMgt.exe
where "install_root" is the name of your installation folder which is, by default:
The message:
Integrity is OK
Integrity is KO
appears, your installation has been corrupted (for example, some files are missing), it will be followed by troubleshooting
information helping you to identify the problem.
When running a level 3 integrity check on a remote computer from a Windows client, a read error may occur on several
files due to a saturation problem.
The problem may be resolved by deactivating the cache of the network redirector on the client computer, by modifying the
following registry key as follows:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanworkstation\parameters
Data: 0
Please exercise extreme caution when editing the registry. It is only recommended for advanced users with the proper
authorization: deactivating the network cache may cause the computer's performance on the local network to deteriorate.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 346
3. Click the Check Prerequisites tab.
This simply checks if you still have the prerequisite environment required for your product line to operate:
Clicking the "Certified Configurations" button opens the Hardware Certification section of the www.catia.com website
containing a list of certified hardware configurations.
On UNIX
1. Log on as root.
aix_a
hpux_b
irix_a
solaris_a.
The Dassault Systemes Software Management dialog box is displayed, and the General tab is open.
3. Click the Check Integrity or Check Prerequisites tab.
CATIA
install_root\code\bin\CATSoftwareMgt.exe
where "install_root" is the name of your installation folder which is, by default:
The Dassault Systemes Software Management dialog box is displayed, and the General tab is open.
2. Click the System Information tab.
machine target id
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 348
locale
hostname, processor, physical memory, paging space
display and video settings
operating system level
network adapter name
display settings
video settings
prerequisite Microsoft DLLs installed and the DLL version (including the DirectX ddraw.dll Version 5.1.2600.0 required
for server installations)
Version 5 environment variables
system and user environment variables.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 349
Windows
UNIX
aix_a
hpux_b
irix_a
solaris_a.
-I1: Checks integrity - Level 1 only control files are checked; quickest
-I2: Checks integrity - Level 2 checks existence of all installed files
-I3: Checks integrity - Level 3 checks existence and validity of all installed files; this may take
several minutes.
-C/-R: performs service pack commit or rollback; you must be administrator to use these options
(see Committing and Rolling Back Service Packs)
If you do not specify the " -o" option, the output will be displayed on the screen on both
Windows and UNIX.
On Windows XP Professional x64 Edition, the build level will be specified like this in the batch
output:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 350
-D: dumps system information to the output log file (see Getting System Information). This option is
only available on Windows.
-killprocess: detects running processes (for example, Orbix) in the installation folder
(unload_dir/code/bin) and prompts you to kill them if you decide to rollback the service pack using
the "-R" option: if you do so, running processes will be killed, if not, the service pack will not be rolled
back. Do not forget to restart the processes afterwards.
-h: provides help on arguments.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 351
For information about how to run the batch monitor and submit batches in both local and remote modes,
refer to Using the Batch Monitor in your Infrastructure Users Guide.
The CATIA, DELMIA and DMU Navigator core software features the CATUTIL batch monitor for running
and monitoring Version 5 batches. Certain batches are provided as part of the Version 5 core package,
others are part of specific configurations/products. Note that certain batches can only be run if you have
the corresponding license.
You can run the batch monitor using a variety of methods to launch the batches installed with your
software. The batches can be:
run locally on the machine on which you are using the batch monitor
or submitted to a remote machine to be run on the remote machine.
with the first implementation, the batch monitor requires no external software as a prerequisite since
it can work using the communications backbone packaged with the core Version 5 software described
in Communications Backbone Files; the backbone is used for both local and remote batch execution
if you install and configure the IBM MQSeries Version 5.2 product, you will be able to run and monitor
batches on both your local computer and remote computers:
using the batch monitor in Version 5
or using the MQSeries command line syntax
The batches can be either those provided with the Version 5 core software, or your own customized
batches.
So that each batch can be listed and recognized, a descriptor file is delivered for each batch on Windows
in:
/usr/DassaultSystemes/B16/OS/resources/batchdesc
aix_a
hpux_b
irix_a
solaris_a.
The descriptor file must NOT be modified by the batch monitor administrator.
The syntax of the parameter file for each batch is provided in an empty file.
The person who runs the batch must fill in this XML file to specify the inputs to be passed to the batch.
If the batch is submitted using the CATUTIL interactive batch tool, the file is generated from the user
input specified by using the batch user interface.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 353
A list of Version 5 batches along with their description is displayed in the Type column. This list may vary
according to the licenses you set up during installation:
Batch-DXF-IGES-STEP: lets you exchange data between Version 5 and DXF, IGES/STEP
ExtractModelFromSequential: lextracts CATIA Version 4 models from CATIA Version 4 sequential
files
MigrateV4ToV5: converts CATIA Version 4 models into Version 5 documents
CATDUAV5: uses the CATIA Version Data Upward Assistant allowing support for Version 5 level
changes, diagnostics and, if required, repairing of Version 5 data
Data Life Cycle: provides a user interface and capabilities common to all batches dealing with data
life cycle, i.e. CATDUAV5, Downward Compatibility and Extract Model From Sequential
DownwardCompatibility: lets you reuse Version 5 data, created in the most recent release, in an
earlier release
UpdateBatch: lets you update a list of CATDrawing documents
PrintBatch: lets you print your documents without running Version 5.
Note that not all batches can be run on a remote machine! Furthermore, documents containing links to
other documents (for example, CATProducts) cannot be processed in remote batch mode.
In Local Mode
To submit batches for execution on your local machine using the communications backbone, no
administration tasks are necessary: the backbone is the default communication driver. The batch will be
run as long as the required license is available.
In Remote Mode
the Version 5 core software containing the communications backbone must be installed
the configuration installed on the remote machine must allow end users to run the desired batch
a license for the appropriate configuration must be either installed on the remote machine, or be
accessible from the remote machine
you must start the backbone server monitor, as explained in Configuring the Communications
Backbone on the Remote Machine.
In Local Mode
If you want to run batches on your local computer, you have to install the IBM MQSeries Server software
on the local computer and then configure the MQSeries server on the local computer.
In Remote Mode
If you want to run batches on a remote computer, you have to install the IBM MQSeries Client software
on your local computer and configure the client, then install the IBM MQSeries Server software on the
remote computer and then configure the server.
Backbone Configuration
The default port used by the Backbone communication software is 55555. Backbone communication may
not work between two remote machines if they use a different backbone port. To get the backbone
working correctly, you must ensure that these machines reference the same port. To perform this check,
the BBPortChecker tool is available on this installation. It allows to test the backbone communication
between two remote machines (-host option) or between your machine and a list of machines (-l file
option). Without any option the BBPortChecker tool display the backbone default port on your machine
and tells you how to update it if needed. You can launch this tool by following these instructions.
The default folder is, for example for 32-bit Windows 2000 or Windows XP Pro:
BBPortChecker
UNIX
/usr/DassaultSystemes/B16/OS/code/command
To allow end users to run a batch on a remote machine, you first have to start the server monitor on the
remote machine.
On Windows
On UNIX
On Windows
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 356
C:\Program Files\MQSeries\bin
4. Before creating the queue manager, set the following variable:
set MQSNOAUT=yes
For more detailed information about the role of the MQSNOAUT variable, refer to the manual IBM
MQSeries System Administration, Chapter 10 : "Protecting MQSeries Objects".
5. Create a queue manager for the hostname of your server computer by entering the command:
crtmqm HostNameMachine
strmqm HostNameMachine
7. Configure the queue manager by entering the command:
where "ConfigFile" is the path of the following file located in the Version 5 installation directory and
installed with the Version 5 software:
The presence of messages in the queues will prevent a batch from being run.
On UNIX
1. Log onto the UNIX workstation as root.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 357
Refer to the IBM MQSeries documentation for more details. For example, you will find the Quick
Beginnings manual very useful if you are using IBM MQSeries for the first time.
For the purposes of our scenario, we installed the IBM MQSeries Server software on a workstation
running AIX.
Refer to the manual MQSeries V5.2 Quick Beginnings for your UNIX platform for more information.
In particular, pay attention to the kernel configuration. MQSeries makes use of semaphores, shared
memory, and file descriptors, and it is probable that the default kernel configuration is not adequate.
Refer to the section Kernel configuration in the manual MQSeries V5.2 Quick Beginnings for your UNIX
platform for more information.
3. Install the IBM MQSeries Server software.
Note that a user ID with the name mqm whose primary group is mqm is automatically created during the
installation. You can create the user and group IDs yourself, as explained in the manual MQSeries V5.2
Quick Beginnings for your UNIX platform, but make sure you do this before installing the server. User ID
and group must both be mqm. For stand-alone machines, you can create the new user and group IDs
locally, and for machines administered in a network information services domain (NIS), you must create
the IDs on the NIS master server machine.
After installation, the mqm user ID owns the directories and files that contain the resources associated
with the product.
If you want to run any administration commands, for example crtmqm (create queue manager) or
strmqm (start queue manager), your user ID must be a member of group mqm.
4. To configure the server, open a shell window and enter the command:
su mqm
and provide the password mqm when prompted. Using this user ID will now let you perform MQSeries
administration tasks.
5. Before creating the queue manager, export the following variable:
export MQSNOAUT=yes
For more detailed information about the role of the MQSNOAUT variable, refer to the manual IBM
MQSeries System Administration, Chapter 10 : "Protecting MQSeries objects".
6. Create a queue manager on your workstation by entering the command:
crtmqm HostNameMachine
strmqm HostNameMachine
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 358
where "ConfigFile" is the path of the following file located in the Version 5 installation directory and
installed with the Version 5 software:
/usr/Dassault Systemes/B16/aix_a/resources/batchdesc/CATBatchMQ.conf
If you encounter an error (execution code other than 0) when running the runmqsc command, you will
not be able to run any batches. If this is the case, please contact your IBM MQSeries Administrator.
9. Run the channel listener:
The presence of messages in the queues will prevent a batch from being run.
On Windows
Set the MQServer variable as follows:
set MQSERVER=CATBATCHANNEL/TCP/Hostname_server
where "Hostname_server" if the name of the client computer on which you installed the IBM MQSeries
Server software.
On UNIX
Export the MQServer variable as follows:
export MQSERVER=CATBATCHANNEL/TCP/Hostname_server
where "Hostname_server" if the name of the client computer on which you installed the IBM MQSeries
Server software.
We recommend at this point that you verify your IBM MQSeries installation as described in the section
Verifying the installation of MQSeries for your UNIX platform. Read the section about verifying a
client/server installation, involving communication links between a server machine and an MQSeries
client.
Furthermore, on UNIX, make sure that you read the information in this section about certain UNIX
system files which need to be modified:
/etc/services
/etc/inetd.conf
On Windows
To run a batch, go to the following Version 5 installation folder, for example:
where MyParameterFile is the path of an existing XML parameter file saved, for example, by running the
batch monitor in interactive mode in a Version 5 session.
C:\Temp
You can monitor the batch queues by selecting the command Start->Programs->IBM MQSeries-
>MQSeries Explorer.
On UNIX
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 360
/usr/DassaultSystemes/B16/aix_a/code/bin
where MyParameterFile is the path of an existing XML parameter file saved, for example, by running the
batch monitor in interactive mode in a Version 5 session.
/tmp
However, note that before starting Version 5 on the local computer configured as an MQSeries client, you
must export the following variable to specify that you are using IBM MQSeries:
export CATBATCHMQ=1
The client machine and the server machine on which the batch is to be run must both have Dassault
Systemes Version 5 software installed.
On the server machine, the batch server monitor is started. This monitor starts the batches installed on
the server submitted from any client. The monitor waits for batch launch requests and must be stopped
manually.
The batch server monitor is started once and for all, whereas the client monitor is started once for each
batch submitted.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 361
Windows
and enter the following command to run the batch monitor server:
CATBatSvrMonitorExe MQ
UNIX
/usr/DassaultSystemes/B16/aix_a/code/command
and enter the following command to run the batch monitor server:
/usr/DassaultSystemes/B16/aix_a/code/command
Managing Settings
About Settings
Locking Settings
Resetting Default Settings
Detailed Scenario Illustrating Concatenation and Inheritance Mechanisms
Administrating Data Using the DLName Mechanism
Importing and Exporting Settings Files to/from XML Format
This section concerns only the CATIA, DELMIA and ENOVIA DMU Navigator product lines.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 363
About Settings
Version 5 creates different types of settings data:
application data contained in the documents you create
setting files which are non-editable.
temporary settings
permanent settings.
Permanent setting files store customization you perform mainly using the various tabs provided by the Tools->Options...
command. For example, application window customization, background colors, part and print settings, etc.
Permanent setting files are identified by the suffix: *.CATSettings, and are created in a location referenced by the
CATUserSettingPath variable.
You specify settings using the Tools->Options... command which displays the Options dialog box:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 364
The left-hand column contains a list of categories used for organizing the different groups of settings. There are general settings for
all configurations and products, and settings for each type of configuration installed. The category names are the same as those
listed on the Start menu.
To access the settings for a specific configuration, click the "+" to display the subcategories. Clicking on the subcategory displays
the settings tabs for that subcategory.
CATOptionsMgt
If you have several runtime environments on your computer, you can select the environment by entering the following command:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 365
CATOptionsMgt -env envname
This function is useful for administrators because it allows you to set up user settings without having to start an interactive session
first.
On UNIX
If you have several runtime environments on your computer, you can select the environment by entering the following command:
The mechanism used is the CSIDL value mechanism. This implementation allows:
your permanent settings (CATSettings) to roam as part of your user profile (CSIDL_APPDATA)
your temporary settings (CATTemp, etc.) to be still stored in the user profile, but prevents them from roaming
(CSIDL_LOCAL_APPDATA).
The following table will help you determine where your settings are located:
Windows 2000/Windows XP
Variable Location
CATUserSettingPath C:\Documents and Settings\user\Application Data\DassaultSystemes\CATSettings
CATTemp C:\Documents and Settings\user\Local Settings\Application
Data\DassaultSystemes\CATTemp
CATCache Obsolete
CATReport C:\Documents and Settings\user\Local Settings\Application
Data\DassaultSystemes\CATReport
CATErrorLog C:\Documents and Settings\user\Local Settings\Application
Data\DassaultSystemes\CATTemp\error.log
CATMetasearchPath C:\Documents and Settings\user\Local Settings\Application
Data\DassaultSystemes\CATTemp
CATW3PublishPath C:\Documents and Settings\user\Local Settings\Application
Data\DassaultSystemes\CATTemp
The value:
Concatenation Mechanism
Settings are based on a hierarchical concatenation mechanism.
The Version 5 software provides default values for all settings. This enables you to start a session without any settings files (for
example, if settings have been deleted accidentally). End users can run a session and use the defaults.
Order of Priority
Setting files are stored in directories referenced in the Version 5 runtime environment by the CATReferenceSettingPath and
CATUserSettingPath environment variables:
CATReferenceSettingPath: points to the directory (or directories) where administrator settings are stored
CATUserSettingPath: points to the directory where user settings are stored.
When a session is started, the directories pointed to by these variables are searched in the following hierarchical order: all files
found first in the CATReferenceSettingPath, and then in the CATUserSettingPath will be read in this order of priority.
When a session is started, if no setting file is found either in the CATReferenceSettingPath or in the CATUserSettingPath, the setting
value is the default provided by the software.
If settings files have been deleted, an end user will inherit the setting values set by the administrator or the default values provided
by the software.
If there are administrator directories pointed to by CATReferenceSettingPath, and the settings have not been locked, the value is the
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 367
value written in the last administrator's file found in CATReferenceSettingPath, or in the user file found in the CATUserSettingPath.
In this case, the tend user will be able to modify the settings.
If there are administrator directories pointed to by CATReferenceSettingPath, and settings have been locked, the setting value is the
value written in the first administrator directory where this attribute has been locked. End users will not be able to modify the
settings.
For full details about how to start a session in administrator mode for the purpose of locking settings, refer to Locking Settings.
For a fully detailed scenario illustrating how settings are concatenated and inherited, and involving multiple administration levels,
refer to Detailed Scenario Illustrating Concatenation and Inheritance Mechanisms.
Consequently, unlike settings, preferences are created by certain applications, and not via the Tools->Options... command.
Preference files are identified by the suffix: *.CATPreferences, and are created in the same location as settings, referenced by the
CATUserSettingPath variable. However, preferences cannot be administered, and consequently are not referenced by the
CATReferenceSettingPath variable.
The same applies when installing a new Version 5 version, for example: you must delete the settings for previous versions before
starting the current version on the same machine.
Click the dump button to open the following dialog box, then specify which settings to dump, the output directory for the dump, then
click Yes:
The resulting macro recovers settings values: the values are represented as comments in the macro. This function is only
implemented on a limited number of tabs. The objects involved are derived from SettingController. For documentation on the
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 369
corresponding Automation interfaces, refer to the Automation Home page in the CAA V5 Encyclopedia.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 370
Locking Settings
This task explains how to run a session in administrator mode for the purpose of locking settings so that other users running a
session with the same environment inherit those settings and cannot change them.
An administrator can also take advantage of this mechanism to set default settings which, although not locked, are proposed to
users as a starting point.
By default, there is "zero administration" of settings: user settings are stored in the CATSettings environment as explained in About
Settings.
The following scenario walks you through a procedure useful for locking settings for users of the default environment created at
installation. This is a useful procedure if you are interested in locking settings, but do not want to multiply environments on the
same computer.
The scenario described reflects the Windows platform only, but the feature is also supported on UNIX.
Do not confuse running a session in administrator mode (a Version 5 concept) with logging on as administrator (a system concept).
You must belong to the Administrators group, or have the privileges assigned to the Administrators group.
For the purposes of this particular scenario only, you need to log on as administrator because you are going to modify the default
global environment (V5R16).
2. Select the Start->Programs->CATIA->Tools->Environment Editor V5R16 command to display the Environment Editor.
CATIA
3. Click the CATIA.V5R16.B16 environment to display the corresponding environment variables.
4. Locate the following environment variable: CATReferenceSettingPath
CATReferenceSettingPath E:\users\administrator\LockSettings
then click Set, then OK to save and exit the environment editor. This folder will contain the setting locks you will create later. The
folder access rights must be set up for read access only for end users, and read/write for the person creating the setting locks.
6. Run a session in administrator mode using the following command:
or:
cnext -admin
The session is started using the default global environment, and a message informs you that you are running in administration
mode. Click OK in the message box to proceed. If prompted by the License Manager, reserve at least one configuration license then
restart a session.
7. Select the Tools->Options... command.
The "Options" dialog box is displayed. Note that a lock symbol like this appears opposite each option in the General tab:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 371
Pointing the cursor to a lock symbol displays a message indicating the name of the folder/directory containing the lock settings. This
is particularly useful for administrators who need to identify which lock settings are active when there are multiple levels of
concatenated locks.
8. To set the locks, click on one of the appropriate lock symbols.
For example, click the lock symbol for the User Interface Style option:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 372
Because the user interface style was set to CATIA - P2, end users running this environment will not be able to change this setting.
9. Click OK to confirm.
The lock settings are stored in the folder referenced by the CATReferenceSettingPath environment variable you reset earlier.
10. Exit the session.
An end user who starts a session with the normal startup commands (but not the cnext -env CATIA.V5R16.B16 -admin command)
and using the same environment, will see this after selecting the Tools->Options... command:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 373
Because the user interface style was set to "CATIA - P2", end users running this environment will not be able to change this setting
to "CATIA - P1".
End users can customize their own user environments to store their own settings in a location referenced by the
CATReferenceSettingPath environment variable, start a session using the command:
where "myenv" is the name of the user environment, then lock settings in the same way as described in their first scenario. Then,
other end users starting a session on the same computer, with the normal startup commands and using the same environment, will
inherit the locked settings.
If several users set locks in different folders using the same environment, end users of the same environment will inherit all the
locks set by those administrators.
To implement this solution, you must concatenate several CATReferenceSettingPath values as illustrated below:
In this example:
one administrator (starting in administration mode) locks settings in "Environment 1" at the site level
on the same site, two administrators (also starting in administration mode) in two different workshops lock settings in
"Environment 2" and "Environment 3" respectively
users 1 and 2 run a Version 5 session with "Environment 2" and inherit the setting locks in "Environment 1" and "Environment 2"
respectively
users 3 and 4 run a Version 5 session with "Environment 3" and inherit the setting locks in "Environment 1" and "Environment 3"
respectively.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 375
After changing settings, you may decide to restore the default settings. The Tools->Options... command provides a Reset... button
for this purpose:
6. Use the default option which restores the default settings for the current tab, which in our example is the Visualization tab, then
click the Yes button.
No matter how many times you change settings, you can always restore the default settings using the Reset... button.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 379
The Cancel button is a handy tool for undoing your changes. Access the Visualization tab again to confirm that your changes have
been cancelled:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 381
8. Access the Visualization tab again, click the Reset... button, then the Yes button:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 383
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 384
The locks on C and D are kept, but all the initial setting values for A, B C and D are restored.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 385
1. Using the environment editor, create the environment Admin1 and reset the variable CATReferenceSettingPath so that it points
to an existing folder, for example:
CATReferenceSettingPath E:\users\administrator\LockSettings
then click Set, then OK to save and exit the environment editor.
Environment Admin1 is the top level administration environment containing the reference settings for all other environments that
reference it.
2. Using the environment editor, create the environment Admin2 and reset the variable CATReferenceSettingPath to concatenate
the value for Admin1 and the name of another folder, for example:
CATReferenceSettingPath E:\users\administrator\LockSettings;E:\users\administrator\LockSettings2
then click Set, then OK to save and exit the environment editor.
Note that the separator on Windows is ";", but on UNIX it is ":". Furthermore, there should be no blanks between the separator and
the path string.
3. Start a session using environment Admin1 in administrator mode as explained in Locking Settings.
4. Select the Tools->Options... command, the Display category, then the Visualization tab.
You inherit the settings and locks from environment Admin1. Note that the locked settings are displayed like this: .
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 388
What Happened?
For locks C and D, the settings were already locked - the values are obviously kept.
Consequently, unlike in the case of the scenario in which no locks are used, using the Reset... button in a scenario involving multiple
administrator levels restores (for non-locked settings) the default values set by the higher level administrator environment, and not
the default settings in the software.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 392
The scenario involves one end user and two administration levels, explains what happens when both
administrators successively set, explicitly modify, lock and unlock settings, and describes the impact on
the end user inheriting these settings and who in turn explicitly modifies and resets settings.
We assume before reading this scenario that you are already familiar with the following concepts:
basic settings concatenation and inheritance mechanisms
resetting settings
locking and unlocking settings.
The scenario presents a list of tables containing settings visible to or specified by Administrators 0 and 1,
and visible to or specified by the User.
Legend
Black: unlocked values inherited from the higher administration level, or from software defaults
X represents the administration level where the value has been set:
0 or 1 (meaning Admin 0 or Admin 1): specifies the level where the setting has been set in the
administration concatenation. "0" means that the highest level administrator has set this setting.
D means Default value: this means that no one has set this setting and thus the value is the code
default value.
Y represents the administration level where the setting has been locked:
0 or 1 (meaning Admin 0 or Admin 1): specifies the level where the setting has been locked in the
administration concatenation. 0 means that the administrator of highest level has locked this
setting. The level X and Y can be different. In this case, we have necessary X <= Y.
U is for Unlocked meaning that the parameter has not been locked
Z specifies if the parameter has been explicitly modified at the current level by the logged user (or
administrator):
T for TRUE meaning that the value has been explicitly modified and thus is not inherited
F for FALSE meaning that the current value of the setting is inherited from an administrator.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 393
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 a1 (D, U, F) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 a1 (D, U, F) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
User a1 (D, U, F) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
The settings visible to Admin 0, Admin 1 and User are identical: they are the default values provided by
the software.
2. Admin 0 explicitly changes Setting 1 to value b1:
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 b1 (D, U, F) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
User b1 (D, U, F) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 b1 (D, U, F) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
User b1 (D, U, F) b2 (D, U, T) a3 (D, U, F) a4 (D, U, F)
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 b1 (0, U, F) c2 (D, U, T) b3 (D, U, T) a4 (D, U, F)
User b1 (0, U, F) b2 (1, U, T) b3 (1, U, F) a4 (D, U, F)
When the User starts a session, because the User has not yet explicitly modified Setting 3, the User
inherits directly the new value b3. However, as the user has already explicitly modified Setting 2, the
modification of Setting 2 made earlier by Admin 1 is not visible.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 394
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 b1 (0, U, F) c2 (D, U, T) b3 (D, U, F) a4 (D, U, F)
User b1 (0, U, F) c2 (1, U, F) b3 (1, U, F) a4 (D, U, F)
After the reset, the User immediately sees that the value of Setting 1 is imposed by Admin 0, whereas
the values of Settings 2 and 3 are imposed by Admin 1. The main difference is that, for Setting 2, the
User now inherits the value c2.
6. The User explicitly changes Setting 2 to value d2 and Setting 4 to value b4:
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 b1 (0, U, F) c2 (D, U, T) b3 (D, U, T) a4 (D, U, F)
User b1 (0, U, F) d2 (1, U, T) b3 (1, U, F) b4 (D, U, T)
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 b1 (0, L, F) c2 (D, L, T) b3 (D, U, F) a4 (D, U, F)
User b1 (0, 1, F) c2 (1, 1, F) b3 (1, U, F) b4 (D, U, T)
The User now inherits the values of Settings 1 and 2 directly: the values are locked so they cannot be
modified.
Note that the value locked for the Setting 1, is directly inherited from the Admin 0. The lock and value
can be set at different administration levels.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 395
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 c1 (0, L, F) c2 (D, L, T) b3 (D, U, F) a4 (D, U, F)
User c1 (0, 1, F) c2 (1, 1, F) b3 (1, U, F) a4 (D, U, F)
The only difference here is that the reset forces the value of Setting 4 to a4, imposed by Admin 1 which
is the administration level directly above.
For Setting 1 at the user level, the expression (0, 1, F) means that the Admin Level 0 is responsible of
the value of the setting, but that this setting has been locked by Admin 1.
9. The User again explicitly changes the settings. This time, the User changes Setting 4 back to the value
b4:
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 c1 (0, L, F) c2 (D, L, T) b3 (D, U, F) a4 (D, U, F)
User c1 (0, 1, F) c2 (1, 1, F) b3 (1, U, F) b4 (D, U, T)
10. Admin 1 unlocks Setting 1 and explicitly changes the value to d1:
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 d1 (0, U, T) c2 (D, L, T) b3 (D, U, F) a4 (D, U, F)
User d1 (1, U, F) c2 (1, 1, F) b3 (1, U, F) b4 (D, U, T)
Because the User has not yet explicitly changed (and therefore has not saved) Setting 1 before Admin 1
locked it earlier, the User now inherits the new value d1 from Admin 1 when the setting is unlocked.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 396
11. Admin 1 unlocks Setting 2 and explicitly changes the value to e2:
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 d1 (0, U, T) e2 (D, U, T) b3 (D, U, F) a4 (D, U, F)
User d1 (1, U, F) d2 (1, U, T) b3 (1, U, F) b4 (D, U, T)
Earlier in the scenario (step 6), the User had already explicitly changed the value of Setting 2 to d2
before Admin 1 locked it. This value was saved. Consequently, because the lock is no longer present, the
User does not inherit the new value e2 from Admin 1 (as in step 10).
In this case, once the setting has been unlocked, the User retrieves the value set in step 6, i.e. d2.
12. The User then resets the settings again:
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 d1 (0, U, T) e2 (D, U, T) b3 (D, U, F) a4 (D, U, F)
User d1 (1, U, F) e2 (1, U, F) b3 (1, U, F) a4 (D, U, F)
The value of Setting 2 is now reset to e2, and the value of Setting 4 is back to a4.
13. The User now explicitly changes the values of all four settings like this:
Setting 1 is changed to e1
Setting 2 is changed to f2
Setting 3 is changed to c3
Setting 4 is changed to b4
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 b1 (D, U, T) a2 (D, U, F) a3 (D, U, F) a4 (D, U, F)
Admin 1 d1 (0, U, T) e2 (D, U, T) b3 (D, U, F) a4 (D, U, F)
User e1 (1, U, T) f2 (1, U, T) c3 (1, U, T) b4 (D, U, T)
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 397
14. Admin 0 explicitly changes Setting 1 to the value d1, then locks Settings 1 and 3:
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 d1 (D, L, T) a2 (D, U, F) a3 (D, L, F) a4 (D, U, F)
Admin 1 d1 (0, 0, F) e2 (D, U, T) a3 (D, 0, F) a4 (D, U, F)
User d1 (0, 0, F) f2 (1, U, T) a3 (D, 0, F) b4 (D, U, T)
Both Admin 1 and the User now inherit the locks and values of Settings 1 and 3, which can no longer be
modified.
15. Admin 0 resets:
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 a1 (D, L, F) a2 (D, U, F) a3 (D, L, F) a4 (D, U, F)
Admin 1 a1 (D, 0, F) e2 (D, U, T) a3 (D, 0, F) a4 (D, U, F)
User a1 (D, 0, F) f2 (1, U, T) a3 (D, 0, F) b4 (D, U, T)
The locks are not removed by the reset, which works only on the values. Thus the two locks on Setting1
and 2 remain unchanged. The default value of Setting 1 is however restored.
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 a1 (D, L, F) a2 (D, U, F) a3 (D, L, F) a4 (D, U, F)
Admin 1 a1 (D, 0, F) e2 (D, U, T) a3 (D, 0, F) a4 (D, U, F)
User a1 (D, 0, F) e2 (1, U, F) a3 (D, 0, F) a4 (D, U, F)
The value of Setting 2 is now e2, and the value of Setting 4 is now back to a4.
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 a1 (D, L, F) a2 (D, U, F) a3 (D, L, F) a4 (D, U, F)
Admin 1 a1 (D, 0, F) e2 (D, U, T) a3 (D, 0, F) b4 (D, U, T)
User a1 (D, 0, F) e2 (1, U, F) a3 (D, 0, F) a4 (1, U, F)
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 398
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 a1 (D, L, F) a2 (D, U, F) a3 (D, L, F) c4 (D, U, T)
Admin 1 a1 (D, 0, F) e2 (D, U, T) a3 (D, 0, F) b4 (0, U, T)
User a1 (D, 0, F) e2 (1, U, F) a3 (D, 0, F) a4 (1, U, F)
Setting
Setting 1 Setting 2 Setting 3 Setting 4
/Level
Default a1 a2 a3 a4
Admin 0 a1 (D, L, F) a2 (D, U, F) a3 (D, L, F) c4 (D, L, T)
Admin 1 a1 (D, 0, F) e2 (D, U, T) a3 (D, 0, F) c4 (0, 0, F)
User a1 (D, 0, F) e2 (1, U, F) a3 (D, 0, F) c4 (0, 0, F)
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 399
This allows you to implement a tightly controlled data storage strategy whereby end users will be able to
store data in only those directories referenced by DLNames.
For a full description of how DLNames are created from an end user point of view during an interactive
session, refer to the description of how document environments are set in the section "Customizing
Settings - General - Document" in your Infrastructure Users Guide.
You must belong to the Administrators group, or have the privileges assigned to the Administrators group.
For the purposes of this particular scenario only, you need to log on as administrator because you are
going to modify the default global environment (V5R16).
2. Select the Start->Programs->CATIA ->Tools->Environment Editor V5R16 command to display the
Environment Editor.
CATIA.V5R16.B16
3. Double-click the CATIA.V5R16.B16 environment to display the corresponding environment variables.
4. Locate the following environment variable: CATReferenceSettingPath
CATReferenceSettingPath E:\users\administrator\LockSettings
then save your modification, and exit the environment editor. This folder will contain the setting locks you
will create later. The folder access rights must be set up for read access only for end users, and read/write
for the person creating the setting locks.
6. Run a session using the following command:
or:
cnext -admin
A session is started using the default global environment, and a message informs you that you are
running in administration mode.
7. Click OK in the message box, then select the Tools->Options... command.
Note that a lock symbol like this appears opposite each option:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 402
DLName is now defined as your current document environment as indicated by the "Current" value in the
State column:
Creating DLNames
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 403
Now that you have set the DLName environment as your current environment, you have to create the
DLNames you will use.
10. Click the Configure... button to open the Configure dialog box which lets you add or remove
DLNames:
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 404
11. Click the button or right-click then select the New command once for each new DLName you
want to create.
A default name and a default folder are assigned to each new DLName as shown below:
12. To customize the DLName, click "DLName1", then click again to activate the editor field, type the new
name and press the ENTER key.
When creating DLNames, you can also organize them into a logical tree using Root DLNames. For more
details, refer to the section "Customizing Settings - General - Document" in your Infrastructure Users
Guide.
13. To customize the folders, click C: (Windows) or /tmp (UNIX) in the appropriate column, then click
again to activate the editor field, type the path of the folder and press the ENTER key.
Instead of typing in the editor field, you can also choose a folder by clicking in the field, and selecting the
New contextual command and selecting the folder using the explorer which is displayed.
Note that you can include system or user-defined variables in DLNames using the syntax $ {VARIABLE}:
Example 1
Example 2
Locking a DLName changes its state from "Green" to "Orange" (and inversely when you unlock the
DLName):
The reason why you would want to lock DLNames is to restrict end user access to only those folders
referenced by DLNames. End users running Version 5 using the same environment will inherit the locks
you set on DLNames, and will not be able to either modify or remove them.
15. Add another DLName and name it "CATProducts", lock it using the same procedure as above, then
rename the folders:
End users will not be able to modify or remove DLNames, but will still be allowed to add DLNames. If you
do not want this to happen, lock the list by clicking the green lock symbol to change it to the orange
lock symbol . End users will then see the red lock symbol and will not be able to add DLNames to
the list.
16. When finished adding DLNames to your list, you can then click the Export... button to save your
list of DLNames as an ASCII .txt file.
This is particularly useful when you have a large number of machines. You can then import the .txt file
containing the DLNames onto all the machines so that end users also inherit the same DLNames, as
described in Importing DLName Settings in Batch Mode.
You can make as many lists as you like. Whenever you want to use one of them, just click the Import...
button before selecting a list from the Import dialog box.
17. Click OK to close the Configure dialog box
18. To force end users to use the DLName strategy only, make sure that "DLName" is still "Current", set
Folder to "Not Allowed", click the lock for the Document Environments, then click OK to exit the Document
tab.
DLNames settings are stored in the settings file: DLNames.CATSettings.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 406
1. Log on as an end user, and start a Version 5 session using the normal startup commands, that is,
without using the "- admin" option.
Because your administrator earlier locked the access to document environment selection, and forced the
DLName document environment, instead of the usual File Selection dialog box, the following panel
opens:
The "Look in" pulldown list only contains the DLNames you defined in the previous steps:
CATParts
CATProducts.
3. Select the desired File name and type from the list.
4. Click OK to open the document.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 407
5. Select the Tools->Options... command, then the Document tab in the General category.
6. Select the DLName option in the Document Environment list, then click the Configure... button to
display the Configure dialog box:
Note that you cannot delete, modify or rename any of the DLNames in the list.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 408
To do so, you start Version 5 in administration mode, set up the DLNames, then lock them as described
in Setting Up DLNames in Administrator Mode. This also means that you have to export the DLNames to
a .txt file.
if you have a small number of end users, import the .txt file containing the DLNames (but the
DLNames will not be locked)
or, use the CATSysDLExport batch: you can write a script using this batch syntax to automate the
process and distribute the DLNames over a large number of machines; the batch provides an option
ensuring that the imported DLNames are locked.
Once the file containing the DLNames has been imported in batch mode, end users must first activate
DLName mode by selecting the Tools->Options... command, then the Document tab in the General
category, then the DLName option in the Document Environment list, and finally by clicking the
Configure... button to display the Configure dialog box.
On Windows
Run the program:
On UNIX
1. Log on as root.
to import file filename with the current DLNames, only in admin mode, and lock all the DLNames in the
file (the option -il is available only in admin mode); a report file is generated to log the encountered
problems
to import the file filename with the current DLNames, either in user mode or in admin mode; a report
file is generated to log the encountered problems
to add the DLName with the values NTPath and UPath for the current real UNIX and Windows path.
Note that the CATSysDLExport command behaves like a standard UNIX or Windows command: names
including blanks should be surrounded by single (' ') or double (" ") quotation marks. Backslashes (\)
should be doubled (\\).
CATSysDLExport -d DLName
to export the current DLNames to the file filename, either in user mode or in admin mode.
The -nocheck option avoids checking the existence of the physical paths and their possible creation.
Notes
The text file must be suitable for the platform on which the import is to be performed, consequently
with carriage returns followed by a line feed (CRLF) on Windows, and just line feeds (LF) on UNIX.
Therefore, if you use Notepad to create it, use either Windows directly or transfer it in FTP ASCII
mode to UNIX before using it.
If you import a first file containing, for example, DLName1 and DLName2, then import another file
containing DLName3, the additional DLName3 will be added to the settings, so you will now have
three DLNames to choose from.
The format of the file to be imported (exported when configuring the DLNames interactively) is like
this:
...
DLName1;C:\MyDLnames;/tmp;
DLName2;E:\AdditionalDLNames;/tmp;
...
where the first part contains the DLName, the second part contains the path on Windows, and the
third part contains the path on UNIX.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 410
No previously existing DLName will be updated during the import in user mode. These DLNames in
the import file will be skipped, and can be updated only in administrator mode. This means that, for
example, if the first file you import contains DLName2, and the second file also contains DLName2,
but the path for DLName2 is different in the second file from the value in the first file, the path for
DLName2 will be updated in the settings if imported in administrator mode.
If a previously existing DLName did not have a lock, but is then updated with a lock by using the -il
option, , the settings will be locked.
For the changes to take effect after importing a file, you have to stop then restart Version 5.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 411
E:\users\ses\CATProducts\Product1.CATProduct
E:\users\ses\CATParts\Part1.CATPart
If you open the document Product1.CATProduct and select the Edit->Links... command, you will see in the "Links" and "Pointed documents"
tabs that the CATProduct document points to the correct CATPart document. For example, this is what you see in the "Pointed documents"
tab:
The path:
E:\users\ses\CATParts\Part1.CATPart
E:\users\ses\CATProducts\Product1.CATProduct
After creating a large number of documents in this way, you may then decide to implement a data storage strategy based on the DLName
mechanism,
However, it is not sufficient to simply create DLNames for all the directories where your documents are stored. Because the path of pointed
documents is stored in the pointing document, you need some way of converting the pathname in the document to the corresponding
DLName.
The CATDLNameMigr batch tool can be used to solve this problem. The batch tool can be used in two modes:
repair mode: the pointing documents are "repaired", in other words modified to replace the pathname by the correct DLName
check mode: provides information and generates a text file containing a list of DLNames; the pointing documents are not modified.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 412
install_root\code\bin\CATDLNameMigr.exe
where "install_root" is the name of your installation folder which is, by default:
On UNIX
1. Log on as root.
2. Enter the command:
E:\users\ses\CATProducts\Product1.CATProduct
E:\users\ses\CATParts\Part1.CATPart
To do so, select the Tools->Options... command, then the Document tab in the General category. To make the DLName environment the
current document environment, select "DLName" in the Document Environments column, then select successively the Allowed and Current
buttons.
Then, click the Configure... button and add the two DLNames. You can name them "DLName1" and "DLName2."
E:\users\ses\CATParts
2. Exit the session, then open a Command Prompt window and go to the installation directory, which is by default:
CATDLNameMigr -r E:\users\ses\CATProducts\Product1.CATProduct
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 413
The output displayed in the command prompt window informs you that:
you chose to run the tool with the "-r" option, so it will attempt to save the file
it analyzed the file:
E:\users\ses\CATProducts\Product1.CATProduct
and succeeded in modifying it.
E:\users\ses\CATProducts\Product1.CATProduct.CATDLNameMigr_report
4. Restart a Version 5 session, then open the document Product1.CATProduct.
5. Select the Edit->Links... command, then click the "Pointed documents" tab:
The batch tool uses the first DLName it finds in the list, and replaces the path by "DLName1" so the pointed document path is now:
DLName1\Part1.CATPart
Our scenario shows how to repair a single document. To repair all the documents contained in a specific directory, run the command with
the "-d" option followed by the name of a directory. For example, the command:
CATDLNameMigr -r -d E:\users\ses\CATProducts
modifies all the files found in the directory E:\users\ses\CATProducts. The "-d" option can be run in check mode without the "-r" option.
Furthermore, if you do not want to modify the original document, specify the "-p" option followed by the name of a directory. For example,
the command:
runs the tool in repair mode, does NOT modify the original file, but copies it to the directory E:\users and modifies the file in this directory
only. This is useful if you do not want to modify the original file.
For the purposes of this scenario, we are going to use the same documents. But this time, make sure that NO DLNames have yet been
created.
1. Start a Version 5 session, and make sure that no DLNames have been created.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 414
2. Exit the session, then open a Command Prompt window and go to the installation directory, which is by default:
CATDLNameMigr E:\users\ses\CATProducts\Product1.CATProduct
Note that this time, you do not use the "-r" option.
Because you have not yet created a DLName for the path:
E:\users\ses\CATParts
the batch tool cannot replace the path by the appropriate DLName. Displaying the document using the Edit->Links... command will show
that the path has not been modified.
The output displayed in the command prompt window informs you that:
you have chosen to run the tool in check mode (because you did not specify the "-r" option")
it could not change the link in E:\users\ses\CATProducts\Product1.CATProduct
the following file has been created in:
C:\Documents and Settings\user\Local Settings\Temp\CATDLNameMigr_missing-DLNames_report.txt
in which a DLName has been created. The file contains the following line:
DLName1;E:\users\ses\CATParts;/tmp;
The ".txt" file can now be imported, which will allow you to run the tool again later to repair the document.
E:\users\ses\CATProducts\Product1.CATProduct.CATDLNameMigr_report
informing you that the link could not be changed because there was no corresponding DLName.
4. Restart a Version 5 session and import the text file.
To do so, select the Tools->Options... command, then the Document tab in the General category. To make the DLName environment the
current document environment, select "DLName" in the Document Environments column, then select the Allowed button.
Click the Configure... button, then the Import... button, browse to select the file:
DLName1 E:\users\ses\CATParts
Now that you have a DLName, you can run the batch tool using the "-r" option to repair the file.
Command Outputs
Running the command in any of the above modes outputs information to the command prompt window about the tasks processed. This
information can also be obtained using the "-h" option.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 415
CATBatGenXMLSet
CATBatImpXMLSet
Certain attributes in certain settings files, when exported to XML format, cannot be converted to text. The
setting files concerned are:
FrameConfig.CATSettings
FrameGeneral.CATSettings
DLNames.CATSettings (which can only be exported in any case using the CATSysDLExport tool).
This renders these settings files unusable after exporting them to XML format.
On Windows
1. Change to the default folder in which you installed the product.
CATBatGenXMLSet
or:
CATBatImpXMLSet
On UNIX
1. Log on as root or end user.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 416
2. Enter the command:
/usr/DassaultSystemes/B16/OS/code/bin/CATBatGenXMLSet
or:
/usr/DassaultSystemes/B16/OS/code/bin/CATBatImpXMLSet
Output_directory: name of the directory where the XML file will be created. Example: /tmp.
SettingName: name of the CATSettings file (without the .CATSettings extension) that you want to
export to XML format. Example: CATStatistics.
mode: optional argument, specify -admin in order to run the command in administrator mode, which
has the effect of creating the resulting file in the administrator settings environment. The default
mode is user mode. No extension.
If you want to understand what administrator mode is and what it is used for, refer to How Settings
are Concatenated and Inherited and Locking Settings.
General information about settings is provided in About Settings.
Batch Output
Example
Example of output
Let's say we have a settings file named Example.CATSettings comprising the following attributes:
Note that a size of 0 means that the attribute has not been explicitly modified anywhere in the
concatenation. Its value is also the default value of the code.
XML_File: path of the XML file to import into the current V5 environment. Example:
/tmp/CATStatistics.xml.
mode: optional argument, specify -admin in order to run the command in administrator mode, which
has the effect of creating the resulting file in the administrator settings environment. The default
mode is user mode.
If you want to understand what administrator mode is and what it is used for, refer to How Settings
are Concatenated and Inherited and Locking Settings.
General information about settings is provided in About Settings.
Batch Output
The output is a settings file in the user settings repository of the current V5 environment, for example
Statistics.CATSettings.
Example
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 418
CATBatImpXMLSet /tmp/Statistics.CATSettings
General Remarks
After either exporting or importing settings files, a message like this appears confirming the operation has
succeeded:
depending on the case, where "xxx" is the settings file name and "yyy" is the number of attributes.
If the exported file is already present, the previous file will be overwritten.
Certain settings files may be empty. If you attempt to export an empty settings file, the following
message is displayed:
where "xxx" is the settings file name, but the resulting XML file is still generated.
We recommend that you do not edit the XML files manually, since the syntactical coherence of setting files
is guaranteed by the interactive Tools->Options... command.
We advise that you use this export/import facility simply as a means of capturing the state of your
configuration settings at a specific point in time, for the purpose of restoring the same settings for another
configuration.
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 419
Index
Symbols
$CATRealUser environment variable
Numerics
3d com alternative settings server
on Windows
3d com single sign-on
on Windows
A
administrator mode
administrator settings
permanent
temporary
Any License
archive file
B
backbone service
batch monitor
BBDemonService command
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 420
C
CATBatGenXML command
CATBatImpXML command
CATCollectionStandard variable
CATCommandPath variable
CATDefaultCollectionStandard variable
CATDeltaInstall command
CATDictionaryPath variable
CATDLLPath variable
CATDLNameMigr command
CATDocView variable
CATErrorLog variable
CATFeatureCatalogPath variable
CATFontPath variable
CATGalaxyPath variable
CATGraphicPath variable
CATICPath variable
CATInstallPath variable
CATKnowledgePath variable
CATMetasearchPath variable
CATMsgCatalogPath variable
CATNodeLockMgt command
CATNodeLockMgtB command
CATOptionsMgt command
CATReferenceSettingPath variable
CATReffilesPath variable
CATReport variable
CATSharedWorkbookPath variable
CATSoftwareMgt command
CATSoftwareMgtB command
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 421
CATStartupPath variable
CATSysDLExport command
CATTemp variable
CATUserSettingPath variable
CATW3PublishPath variable
CATW3ResourcesPath variable
Certificat.lic file
chcatenv command
installing manually
ClearCoat technology
cnext command
commands
BBDemonService
CATBatGenXML
CATBatImpXML
CATDeltaInstall
CATDLNameMigr
CATNodeLockMgt
CATNodeLockMgtB
CATOptionsMgt
CATSoftwareMgt
CATSoftwareMgtB
CATSysDLExport
chcatenv
cnext
cnext -admin
db2start
delcatenv
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 422
ENOCheckVaultLink
Environment Editor
i4_offline_mig
i4blt
i4blt -C
i4cfg
i4target (UNIX)
i4target -O
i4tv
KillV5Process
lscatenv
net use
readcatenv
regedit
rm -rf
runOrbix
setcatenv
Settings Management
setV5Ports
Software Management
start
StartSPKB
VaultClientSetupB
VaultServerSetupB
VaultSetup
communications backbone
CSIDL values
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 423
D
database
setting up DB2
setting up Oracle
DB2INSTANCE variable
db2start command
delcatenv command
Demo mode
distributing code on UNIX
overview
overview
CATDLNameMigr command
CATSysDLExport command
creating
migrating to DLNames
overview
DSKEY_TMPDIR Key
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 424
E
ENOCheckVaultLink command
enoviadbsetup step
global
user
on UNIX
on Windows
environment variables
$CATRealUser
CATCommandPath
CATDictionaryPath
CATDLLPath
CATDocView
CATErrorLog
CATFeatureCatalogPath
CATFontPath
CATGalaxyPath
CATGraphicPath
CATICPath
CATInstallPath
CATMetasearchPath
CATMsgCatalogPath
CATReferenceSettingPath
CATReffilesPath
CATReport
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 425
CATSharedWorkbookPath
CATStartupPath
CATTemp
CATUserSettingPath
CATW3PublishPath
CATW3ResourcesPath
DB2INSTANCE
LD_LIBRARY_PATH
LD_LIBRARYN32_PATH
LIBPATH
list
ORA_NLS33
ORACLE_HOME
PATH
SHLIB_PATH
TNS_ADMIN
USER_HOME
extra products
F
full text server
G
getting information about installed software
global environment
Granted licenses
graph
definition
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 426
importing
H
hardware prerequisites
common
HP-UX
IBM AIX
SGI IRIX
SGI Onyx
Sun Solaris
I
i4_offline_mig command
i4blt -C command
i4blt command
i4cfg command
i4tv command
on UNIX
on Windows
installing code
additional configurations/products
distributing on UNIX
distributing on Windows
on UNIX
on Windows
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 427
service pack
on UNIX
on Windows
installing online documentation
K
KillV5Process command
L
LD_LIBRARY_PATH variable
LD_LIBRARYN32_PATH variable
LIBPATH variable
License Manager
Any License
Demo mode
Granted
No License
Not Granted
troubleshooting
model
offline licensing
overview
prerequisites
shareable licenses
static licenses
locking settings
concatenating locks
lscatenv command
M
Microsoft Visual Basic for Applications installation
MQSeries
N
net use command
No License
on UNIX
on Windows
O
offline licensing
ORA_NLS33 variable
ORACLE_HOME variable
P
packaging
products
PATH variable
permanent settings
post installation
overview
prerequisites
hardware
software
R
readcatenv command
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 430
regedit command
resetting
rm -rf command
runOrbix command
S
service pack
committing
installing
installing on UNIX
installing on Windows
rolling back
setcatenv command
settings
how to specify
location
location on UNIX
locking
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 431
overview
permanent
temporary
setV5Ports command
shareable licenses
shareable products
SHLIB_PATH variable
software management
additional
ClearCoat
client
HP-UX
IBM AIX
licensing
macro capabilities
MQSeries
server
SGI IRIX
Sun Solaris
start command
StartB command
StartSPKB command
T
temporary settings
TNS_ADMIN variable
U
uninstalling code
on UNIX
on Windows
uninstalling online documentation
on UNIX
on Windows
unregserver
user environment
V
Vault Server
setting up cache
VaultClientSetupB command
VaultServerSetupB command
VaultSetup command
CATIA Infrastructure Installation Guide Version 5 Release 16 Page 433
VPMGRAPHADM tool
VPMPeopleUpdate tool