PDS Citrix Guide
PDS Citrix Guide
PDS Citrix Guide
Citrix Guide
Copyright
Copyright 2009-2011 Intergraph Corporation. All Rights Reserved.
Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license agreement;
contains confidential and proprietary information of Intergraph and/or third parties which is protected by copyright law, trade
secret law, and international treaty, and may not be provided or otherwise made available without proper authorization from
Intergraph Corporation.
Terms of Use
Use of this software product is subject to the End User License Agreement ("EULA") delivered with this software product unless
the licensee has a valid signed license for this software product with Intergraph Corporation. If the licensee has a valid signed
license for this software product with Intergraph Corporation, the valid signed license shall take precedence and govern the use
of this software product. Subject to the terms contained within the applicable license agreement, Intergraph Corporation gives
licensee permission to print a reasonable number of copies of the documentation as defined in the applicable license agreement
and delivered with the software product for licensee's internal, non-commercial use. The documentation may not be printed for
resale or redistribution.
Trademarks
Intergraph, the Intergraph logo, PDS, SmartPlant, FrameWorks, I-Convert, I-Export, I-Sketch, SmartMarine, IntelliShip, INtools,
ISOGEN, MARIAN, SmartSketch, SPOOLGEN, SupportManager, and SupportModeler are trademarks or registered trademarks
of Intergraph Corporation or its subsidiaries in the United States and other countries. Microsoft and Windows are registered
trademarks of Microsoft Corporation. Oracle, JD Edwards, PeopleSoft, and Retek are registered trademarks of Oracle
Corporation and/or its affiliates. MicroStation is a registered trademark of Bentley Systems Inc, all rights reserved. Other brands
and product names are trademarks of their respective owners.
Contents
Preface PDS ................................................................................................................................................. 5
What's New with Citrix Integration ............................................................................................................ 6
Plant Design System (PDS) and Citrix ...................................................................................................... 7
Custom CMD Files for Publishing PDS .................................................................................................. 7
PDS.CMD Files ....................................................................................................................................... 8
Commands Set in PDS.CMD ........................................................................................................... 8
TEMP Variables .................................................................................................................................... 12
Installation of SmartPlant License Manager ........................................................................................... 17
Windows Firewall for Windows XP and Windows 2003 ....................................................................... 18
SmartPlant License Manager and Citrix ............................................................................................... 19
Additional Citrix Implementation Topics ................................................................................................ 23
Adding Application Path Statements to the System Path ..................................................................... 23
Publishing Complex Links or Shortcuts ................................................................................................ 25
Configuring Dual Monitors .................................................................................................................... 25
Citrix Client Time Zones ........................................................................................................................ 28
Disable the Citrix Virtual Memory Optimizer ......................................................................................... 29
Batch Jobs and the Citrix Server .......................................................................................................... 33
Modifying Batch Queues for Redirected Processing ...................................................................... 33
Index ........................................................................................................................................................... 43
Contents
Preface PDS
This document provides command reference information and procedural instructions for the
Plant Design System (PDS).
SECTION 1
PDS.CMD Files
You can define unique PDS.CMD files for users by selecting the Current User option on the
PDS 3D Control File dialog box. By using unique PDS.CMD files, each user can have their own
user menu preference resource file, their own font resource file, and their own config resource
file.
For more information about the environment variables that you can set, see Commands Set in
PDS.CMD (on page 8).
If you want to add environment variables to the PDS.CMD file, add them before the "$PD_Shell
= $ARGV[0];" line.
You MUST include an extra backslash for every backslash that is used in pathing
text in the pds.cmd file. For example, if the path you want is \\pdsserver\z\projfile, then you need
to define the path in the pds.cmd like this: \\\\pdsserver\\z\\projfile.
The following environment variables can be set in the pds.cmd file.
The exported ISOOPTION value is loaded by default into the Options File field on the Add
Default Set form. It is also used as a default for the options file, ISO Options File, when
extracting an interactive isometric.
$ENV{'ISOSEED'} = 'node: directory path\seed file';
The exported ISOSEED value is loaded by default into the Seed File field on the Add
Default Set form. It is also used as a default for the seed design file, ISO Seed Design File,
when extracting an interactive isometric.
$ENV{'ISOPLOT'} = 'node:directory path\iparm file';
The exported ISOPLOT value is loaded by default into the Plot File field on the Add Default
Set form. It is also used as a default for the plot parameters file, ISO Seed Plot File, when
plotting an interactive isometric.
$ENV{'ISOBORDER'} = 'node:directory path\border file';
The exported ISOBORDER value is loaded by default into the Border File field on the Add
Default Set form.
$ENV{'ISOBATCH'} = 'node:directory path\isobat\\';
The exported ISOBATCH value is loaded by default into the Batch Job Input File field on
the Create Batch Job Input form. The isobat file name is optional. If left blank here it can
be set for each batch job input, ensuring a unique input file name.
$ENV{'ISOREPORT'} = 'node:directory path\isorpt';
The exported ISOREPORT value is loaded by default into the Output File field on the
Batch Data Reports form. The isorpt file name is optional. If left blank here it can be set for
each batch data report, ensuring a unique file name.
$ENV{'ISOBATCHQUE'} = 'PDisocreate';
The exported ISOBATCHQUE value is loaded by default into the Process Queue field on
the Schedule Batch Job form.
$ENV{'ISO_ASCII_LOAD'} = 'node:directory path\isoascii';
The exported ISO_ASCII_LOAD value is loaded by default into the Filename field on the
Bulk Load Lines From ASCII File form.
$ENV{'PDISOFONT'} = 'XX';
The exported PDISOFONT value defines the font that will be used on the output isometric,
both on the face of the ISO, and on the MTO on the ISO. The defined font must be a monospaced font.
$ENV{'SYMDGN'} = 'node:directory path\symbol.dgn';
$ENV{'SYMNDX'} = 'node:directory path\symbol.ndx';
$ENV{'SYMLIB'} = 'node:directory path\symbol.lib';
The exported values SYMDGN, SYMNDX and SYMLIB are loaded into the Symbol Design
Node:File, Symbol Index Node:File and Symbol Library Node:File fields respectively on
the Isometric Symbol Editor form.
$ENV{'ISOUSRREFDIM'} = 'node:directory path\filespec.dat';
where,
node
= the hostname of the project file server,
directory path
= the directory path containing the reference data file,
filespec.dat
= the name of the gridline reference data file.
For example,
$ENV{'ISOUSRREFDIM'} = 'pdsserv1:e:\proj1\project\fw_bldg_a.dat';
After this variable is set, the data in the file filespec.dat will be referenced as a result of
enabling Intergraph option 71 in the isometric options file. Note that this file will be used in
place of the file fw_projname.dat which is the gridline reference data file by default. When
utilizing this variable, the following rules will apply:
If the ISOUSRREFDIM variable is set and points to the proper location of a valid gridline
reference data file, this file will be used for placing gridline references on the isometric
drawing if Intergraph option 71 is turned on.
If the ISOUSRREFDIM variable is set improperly (for example, UNCpath or filespec are mistyped) and Intergraph option 71 is turned on, then no references will appear on the face of
the iso. That is, the result will be as if no gridline reference data file exists in the project
directory.
If the ISOUSRREFDIM variable is not set in the pds.cmd file but option 71 is turned on, then
the software will, by default, search for the file fw_projname.dat in the project directory. If it
exists and contains valid data, then the gridline reference dimensions will be extracted from
this file.
$ENV{MDP_IMPLIED_USE_DESIGN_DB} = 1
Used to report NPD for gaskets and bolts from the Commodity Code labels in the short
description. If MDP_IMPLIED_USE_DESIGN is defined, the software retrieves component
NPD values from the Design database. If the variable is not defined, the software retrieves
the values from the Spec database.
10
11
$ENV{'PDS_PF_DISCIPLINE'} = 'discipline_indx_no'; or
$ENV{'PDS_PF_DISCIPLINE'} = 'discipline_name';
Used to specify the Pelican Forge discipline number for the project. This variable can be set
to either the discipline number or discipline name from pdtable_111. This variable can also
be set as a system environment variable.
$ENV{'PDME_LABEL_SEP_CHAR'} = '-';
Used to specify the concatenation character for multi-line PDME label text. The default
character is a dash '-'. There is not restriction on the length of characters that you can use.
$ENV{'PDS_USER_UMENUPREF'} = 'mymenufile.rsc';
Used to specify the user menu preference resource file.
$ENV{'PDS_USER_FONTRSC'} = 'myfonts.rsc';
Used to specify the font resource file.
$ENV{'PDS_USER_CONFIG'} = 'myconfig.cfg';
Used to specify the config resource file.
$ENV{'SUPRESS_UPDATE_LABELS'} = 'YES';
Once this variable is set, the Import Project Retrieval and Scheduled Project Import
commands do not update labels while importing the drawings. The label retains the existing
definition.
TEMP Variables
Setting the TEMP variables for PDS when running in a Citrix environment can be tricky with a
couple of issues that you need to be aware of. The suggested workflow given below is just one
solution and may not be the best solution for you. You need to work with your Citrix
administrators to find your best solution.
First Issue
Processes running on a Citrix platform access the temp folder to store the log files that assist in
the troubleshooting and workflows within the PDS application. The default method for creating
temporary folders for multiple users (usually pointed to by the TEMP and TMP environment
variables) is to create subfolders in the \temp folder using the user's logon ID as the subfolder
name. For example, if the TEMP environment variable points to c:\temp, the temporary folder
assigned to the user logon ID 4 is c:\temp\4.
After the user is finished and exits that application on Citrix, the temp directory is destroyed and
no longer holds the log files and data used during that session; however, these files are needed
at times for some workflows in PDS. To overcome this, we suggest that you turn on the
Windows FLATTEMP by typing "flattemp /enable" (without the quotes) in a command window.
You need to have administrator privileges to do this.
Second Issue
The second issue involves simply setting and using flattemp to give everyone the same temp
directory. If two people are running similar or the same process at the same time and the same
log file is trying to be written to this folder at the same time, there will be errors. To overcome
this, we suggest that each user be provided their own temp folder location by creating a logon
script to create, verify, and apply a folder for this specific user at logon time. See below for an
example workflow for this.
12
As you can see in this above example at startup the script usrlogon.vbs will run at startup, see
below for its contents:
#####################################################
'For getting username
Set shell= WScript.CreateObject("WScript.Shell")
13
14
15
SECTION 2
Hardware Configurations
The SmartPlant License Manager licensing machine software should be installed on a stable,
single node, hardware configuration (such as a simple PC), with a static IP address, because
license key installation and license seat usage authentication depends on the information
gathered from the physical hardware. Any automated changes that cause the hardware
information not to match with the information used to generate the license key will result in a
failure of the authentication process.
Virtual (including VMware), shadowed, mirrored, dynamic, or distributed hardware
configurations cannot be used as a SmartPlant License Manager licensing machine. This
includes terminal (application) servers, networked and distributed storage management
systems, and so forth. When these specialized systems occur in the user's network, the
SmartPlant License Manager licensing machine should be installed on a separate dedicated
hardware configuration system. The SmartPlant License Manager licensing machine should be
situated on the user's network where it can be accessed by all systems that are running
application software that relies on the SmartPlant License Manager licensing machine for
license management.
Multiple SmartPlant License Manager licensing machines can be used in the user's network as
long as each system is a unique hardware system/installation. If SmartPlant License Manager
licensing machines are cloned after the license key has been installed, then the license
management will fail on the cloned system. Each SmartPlant License Manager licensing
machine requires its own unique license key.
The license machine must have the same version (or later) of SmartPlant License
Manager installed as any client machines. In other words, you cannot use a newer version on a
client machine to retrieve a license from an older version of SmartPlant License Manager on the
licensing machine. The license machine must have the same version (or a newer version)
installed than the clients.
You must log in as Administrator to install this software.
1. Insert the Intergraph SmartPlant License Manager media. If the media does not start
automatically, double-click Setup.exe in the root folder of the media.
2. Select SmartPlant License Manager Installation.
3. Click Next on the Welcome to the InstallShield Wizard for SmartPlant License Manager
page.
4. Enter your name and company name in the User Name and Company Name fields on the
Customer Information page. Click Next.
17
18
19
If you have the license machine defined under HK_Current_User for SmartPlant License
Manager, you cannot use Test Seat Reservation and Test Seat Release (commands in the
SmartPlant License Manager product) to test the licensing machines. Those test options are
used to test for the licensing machine configured in the SmartPlant License Manager's
registry key (value from HK_Local_Machine in Registry).
Additional information about certified Citrix versions is available on the SmartPlant Enterprise
Product Compatibility Matrix on the Intergraph Process, Power & Marine eCustomer Web site.
To view this matrix, browse to the following Web address, and type your eCustomer user name
and password: https://crmweb.intergraph.com. Click Download Software Updates > Products,
and then click the PPM Compatibility Matrices link in the middle of the page.
20
Hardware Requirements
Refer to your Citrix documentation for system hardware requirements for the Citrix server.
SmartPlant License Manager has no special hardware requirements beyond those
recommended for Windows.
Supported Platforms
Known Issues
Configuring SmartPlant License Manager as a license machine on Citrix is not supported.
See Also
Configure a License Machine for Current User
21
22
SECTION 3
23
2.
3.
4.
5.
6.
24
25
26
27
28
29
30
31
To repair the corrupt .NET images in place without removing and reinstalling software:
1. Complete the "Proactive" steps in the previous section: 1.) Stop the VMO service and, 2.)
Disable the service as a FARM-WIDE Policy.
2. Open a command prompt to C:\windows\Microsoft.Net\framework64\ and run "ngen.exe
update" (Ignore any embedded errors many are expected. The process will take a few
minutes).
3. Open a command prompt to C:\windows\Microsoft.Net\framework\ and run "ngen.exe
update" (same-to-same)
This will fix .NET 3.5 and 3.0 and 1.1 images in addition to the 2.0 because the .NET
2.0 NGEN is the unified definition for all of these versions of .NET there is currently no
need to run NGEN for 3.0/3.5/1.1 just for 2.0. If 2.0 does not exist on the computer, then
the 3.0/3.5 NGEN(s) would work.
32
The fact that the Queue Type is set to batch indicates that all queues are local to this node.
2. Exit Batch Manager and start the PDS Queue utility. In order to create Queues on a
computer using UAC, you must right-click the PDS Queue utility and select Run as
administrator.
3. You may get a message that All Products Have Queues Created. Accept this warning.
The Queue Creation utility displays Reading information from the queue.lst file and the
local machine.
The queue.lst file is not to be confused with the queue_descript file. The queue.lst file is
located in the same directory with the proj file, and is used by the PDS Queue Creation
utility.
33
When this dialog box displays, all products are dithered (in this example) because the PDS
Queue Creation utility has determined that queues for all products have been created.
4. By turning on Enable all for configuration, all products become available.
5. Select the product whose queues will be reconfigured (in this example, PD_Clash). After
clicking the product, you can click the list by the Queue Name field to display the list of all
queues that product uses. If ALL is selected, all of the queues that appear in the list will be
reconfigured.
6. In the next figure, you can see that the Pdclash_server queue has been chosen to be
reconfigured, the Remote Node box has been checked, and the name of the server has
been entered.
34
When creating a pipe queue to a remote node, clicking Yes on this dialog box will write
information for the specified queue(s) into the queue.lst file. By default, the queue.lst file has
entries that look like this:
[PD_Clash Queues]
node=
When a client node that is using this proj file creates a pipe queue used by this discipline
and saves the information to the queue.lst file, the information will be changed. Considering
the example of the Pdclash_server queue that was created as a pipe queue to the node
CADSRV, the PD_Clash entry in the queue.lst file would now look like this:
[PD_Clash Queues]
node=
PDclash_server=CADSRV
When another client node is creating PD_Clash pipe queues using the PDS Queue
Configuration utility and Read data from ASCII file has been selected, the node CADSRV
will appear in the Remote Node field. In this manner, the System Administrator can create
all required pipe queues from one client, change the permissions of the queue.lst file to read
only, and then other clients will see the preferred location to create their pipe queues to.
Changing the permissions of the queue.lst file to read-only will not stop clients from creating
pipe queues to other nodes, but it will show them where they should be created to and also
stop them from altering the information in this file.
Some queues are shared by more than one application. For example, the PDreport queue
is used by PD_Clash and PD_Projec as well as PD_Report. If PD_Clash pipe queues are
created, the information for the PDreport queue will also appear in the PD_Report and
PD_Projec sections of the queue.lst file.
35
36
This is a quick way to check where batch jobs sent to this queue will be processed. It is possible
to add additional destinations to this pipe queue; if the first destination in the list is disabled, the
next one will be used. See the on-line help for additional information.
After the pipe queue has been created, the following items should also be checked to make sure
the pipe queue can be used successfully:
Does a batch queue by the same name exist on the specified server?
A batch queue with the same name must exist on the server. In this example, the
PDclash_server batch queue must exist on the node CADSRV.
37
See Also
Setting the RIS_PARAMETERS Environment Variable (on page 39)
Configuring the PDS Batch Mail Utility (on page 40)
38
39
40
PDS\* = PDS\mary
PDS\mary = PDS\mary
Mary's node
Server
PDS\mary = PDS\mary
PDS\mary = PDS\mary
In the first case, Mary will receive the email from any batch job initiated by a PDS domain user
while logged in on her node. In the second case, Mary will receive only the email resulting from
batch jobs that she initiates.
One additional note for those using Microsoft Exchange Server as the email provider, the
PDS_MAIL_LOGIN environment variable must be set to the profile name (as seen using
Control Panel > Mail and Fax > Show Profile).
41
Index
A
B
Batch Jobs and the Citrix Server 35
C
Citrix Client Time Zones 30
Commands Set in PDS.CMD 10
Configuring Dual Monitors 27
Configuring the PDS Batch Mail Utility 42
Custom CMD Files for Publishing PDS 9
D
Disable the Citrix Virtual Memory Optimizer
31
I
Installation of SmartPlant License Manager
19
M
Modifying Batch Queues for Redirected
Processing 35
P
PDS.CMD Files 10
Plant Design System (PDS) and Citrix 9
Preface PDS 5
Publishing Complex Links or Shortcuts 27
S
Setting the RIS_PARAMETERS
Environment Variable 41
SmartPlant License Manager and Citrix 21
T
TEMP Variables 14
43