Spp Id Install Guide

March 3, 2018 | Author: Sudheer Reddy | Category: Oracle Database, Windows Vista, 64 Bit Computing, Databases, Windows Xp
Share Embed Donate


Short Description

Download Spp Id Install Guide...

Description

SmartPlant P&ID Installation and Upgrade Guide

SP-P&ID 2009 SP4 (6.0.4) and SPEM 2009 SP5 (6.1.5) January 2009/September 2011 DPID2-PE-200014O-Updated

Copyright Copyright © 1999-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.

U.S. Government Restricted Rights Legend Use, duplication, or disclosure by the government is subject to restrictions as set forth below. For civilian agencies: This was developed at private expense and is "restricted computer software" submitted with restricted rights in accordance with subparagraphs (a) through (d) of the Commercial Computer Software - Restricted Rights clause at 52.227-19 of the Federal Acquisition Regulations ("FAR") and its successors, and is unpublished and all rights are reserved under the copyright laws of the United States. For units of the Department of Defense ("DoD"): This is "commercial computer software" as defined at DFARS 252.227-7014 and the rights of the Government are as specified at DFARS 227.7202-3. Unpublished - rights reserved under the copyright laws of the United States. Intergraph Corporation P.O. Box 240000 Huntsville, AL 35813

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.

Warranties and Liabilities All warranties given by Intergraph Corporation about equipment or software are set forth in the EULA provided with the software or applicable license for the software product signed by Intergraph Corporation, and nothing stated in, or implied by, this document or its contents shall be considered or deemed a modification or amendment of such warranties. Intergraph believes the information in this publication is accurate as of its publication date. The information and the software discussed in this document are subject to change without notice and are subject to applicable technical product descriptions. Intergraph Corporation is not responsible for any error that may appear in this document. The software discussed in this document is furnished under a license and may be used or copied only in accordance with the terms of this license. No responsibility is assumed by Intergraph for the use or reliability of software on equipment that is not supplied by Intergraph or its affiliated companies. THE USER OF THE SOFTWARE IS EXPECTED TO MAKE THE FINAL EVALUATION AS TO THE USEFULNESS OF THE SOFTWARE IN HIS OWN ENVIRONMENT. Intergraph is not responsible for the accuracy of delivered data including, but not limited to, catalog, reference and symbol data. Users should verify for themselves that the data is accurate and suitable for their project work.

Trademarks Intergraph, the Intergraph logo, PDS, SmartPlant, SmartMarine, FrameWorks, I-Convert, I-Export, I-Sketch, 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. MicroStation is a registered trademark of Bentley Systems, Inc. Other brands and product names are trademarks of their respective owners.

Contents Welcome to SmartPlant .............................................................................................................................. 7  Installation Checklist ............................................................................................................................... 7  Introducing SmartPlant P&ID .................................................................................................................. 7  SmartPlant P&ID Program Group .................................................................................................... 8  SmartPlant Engineering Manager ........................................................................................................... 8  SmartPlant Engineering Manager Program Group .......................................................................... 9  Internationalization.................................................................................................................................... 11  Hardware and Software Recommendations ........................................................................................... 13  SmartPlant P&ID Database Server ....................................................................................................... 13  SmartPlant P&ID Workstation ............................................................................................................... 14  Oracle Installation and Configuration ..................................................................................................... 17  Configure Oracle Networking Components .......................................................................................... 17  Oracle Installation Workflow ................................................................................................................. 18  Installing Oracle Database Server ........................................................................................................ 18  Install Oracle Database Server ...................................................................................................... 19  Create an Oracle Listener ..................................................................................................................... 19  Creating an Oracle Instance ................................................................................................................. 19  Requirements for Oracle Instance Creation ................................................................................... 20  Create a New Oracle Instance ....................................................................................................... 20  Oracle System User Requirements ...................................................................................................... 23  Installing Oracle Client .......................................................................................................................... 25  Installing Oracle Client Prerequisites ............................................................................................. 25  Install Oracle Client ........................................................................................................................ 25  Register DLLs with RegSrv32 ............................................................................................................... 26  Oracle Tuning Recommendations ........................................................................................................ 26  Microsoft SQL Server Installation and Configuration ........................................................................... 29  Modify Logon Information for SQL Server Services ............................................................................. 30  Install SQL Server 2005 ........................................................................................................................ 30  Configure SQL Server Database Server ........................................................................................ 31  Set Database Maintenance Options for SQL Server ..................................................................... 32  Run DBCC Utility Options for SQL Server ..................................................................................... 33  Update Statistics for SQL Server ................................................................................................... 33  Installing SQL Server Client .................................................................................................................. 33  Install SQL Server Client ................................................................................................................ 34  Installing the Software .............................................................................................................................. 37  Setting up the Database ....................................................................................................................... 37  Loading SmartPlant P&ID Prerequisite Software ................................................................................. 38  Install SmartPlant 3D Piping Specification Remote Access Client ....................................................... 38  Grant Permissions to Write to a Registry Key ...................................................................................... 38  Install SmartPlant Engineering Manager .............................................................................................. 39  Install SmartPlant P&ID ........................................................................................................................ 39 

SmartPlant P&ID Installation and Upgrade Guide

3

Contents Uninstall a Previous Version of SmartPlant Engineering Manager ...................................................... 41  Uninstall a Previous Version of SmartPlant P&ID................................................................................. 41  Installing SmartPlant P&ID in Silent Mode ............................................................................................ 42  Install SmartPlant P&ID in Silent Mode .......................................................................................... 42  Configuring Reference Data for SmartPlant P&ID ................................................................................. 45  Install SmartPlant Reference Data........................................................................................................ 45  Working in Thin Client Mode .................................................................................................................... 47  Comparison of Thin Client Mode and SmartPlant P&ID Workshare .................................................... 47  Tuning the Software for Use in Thin Client Mode ................................................................................. 48  Create Global Objects ........................................................................................................................... 48  Publish the SmartPlant Application using Citrix Presentation Server ................................................... 48  Publish the SmartPlant Application using XenApp ............................................................................... 49  Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) ............................................................................................................................................................. 59  Correcting Database Constraint Violations ........................................................................................... 59  Generate a Database Constraint Exceptions Report ..................................................................... 60  Using Constraint Utilities ................................................................................................................ 61  Before Running the Upgrade Utility ...................................................................................................... 63  Back Up Your Data ......................................................................................................................... 63  Share Paths to Site .INI Files ......................................................................................................... 63  Set Oracle Parameters ................................................................................................................... 63  Memory Management Considerations ........................................................................................... 64  Using the SmartPlant Engineering Manager Upgrade Utility ................................................................ 64  Upgrading a Site ............................................................................................................................. 65  Upgrade a Plant.............................................................................................................................. 66  Upgrade SmartPlant P&ID ............................................................................................................. 67  Upgrade Utility Commands ............................................................................................................ 68  After Running the Upgrade Utility ......................................................................................................... 70  Backup Each Upgraded Plant ........................................................................................................ 70  Use Oracle Analyzer Scripts .......................................................................................................... 70  Preserve Software Customizations ................................................................................................ 71  Making Manual Changes ................................................................................................................ 71  Upgrading Reference Data ................................................................................................................... 71  Upgrade Reference Data ............................................................................................................... 72  Updating Drawings ................................................................................................................................ 72  Update Command (File > Out-of-Date Drawings Menu) ................................................................ 73  Resolve Command (File > Out-of-Date Drawings > Update Drawings Menu)............................... 74  Out-of-Date Drawing Criteria Command (Tools Menu) .................................................................. 75  Out-of-Date Drawing Criteria Dialog Box ....................................................................................... 75  Configuring SmartPlant Engineering Manager ...................................................................................... 77  Working with Database Schemas ......................................................................................................... 77  Understanding Default Database User Names .............................................................................. 78  Working with Data Dictionaries ...................................................................................................... 80  Using Default Settings .................................................................................................................... 82  Creating Network Shares ...................................................................................................................... 88  Site Administrator User Group .............................................................................................................. 88  Create a User Group ...................................................................................................................... 89 

4

SmartPlant P&ID Installation and Upgrade Guide

Contents Add Users to the Administrators Group.......................................................................................... 90  Grant Network Access Privileges ................................................................................................... 91  Change the Site Administrator User Group .................................................................................... 91  New Site Administrator Group Dialog Box ..................................................................................... 92  New Site Server Wizard ........................................................................................................................ 93  New Plant Structure Wizard .................................................................................................................. 94  Associate Applications Wizard .............................................................................................................. 95  Create a New Role ................................................................................................................................ 95  User Access ............................................................................................................................................... 97  SmartPlant Engineering Manager Rights ............................................................................................. 98  SmartPlant P&ID Access Rights ......................................................................................................... 100  SmartPlant P&ID Access Rights Examples ................................................................................. 103  Customizing Your Reference Data ........................................................................................................ 107  Customizing Reference Data Options ................................................................................................ 107  Working with Filters ............................................................................................................................. 107  Working with Formats ......................................................................................................................... 107  Working with Symbols and Labels ...................................................................................................... 108  Modifying Data Model Properties ........................................................................................................ 108  Synchronizing Reference Data ........................................................................................................... 108  Establishing Design Rules .................................................................................................................. 109  Configuring Border Templates ............................................................................................................ 109  SmartPlant P&ID Delivered Templates ........................................................................................ 109  Edit Delivered Templates ............................................................................................................. 110  Create a Border Template ............................................................................................................ 111  Using SmartPlant P&ID in Production................................................................................................... 113  Start SmartPlant P&ID ........................................................................................................................ 113  Tips for Creating a P&ID Drawing ....................................................................................................... 113  Re-creating Drawings ......................................................................................................................... 114  Filtered Printing ................................................................................................................................... 115  Working with SmartPlant Integration .................................................................................................... 117  Preparing the Integrated Environment ................................................................................................ 118  Tool Requirements for Integrating SmartPlant P&ID .......................................................................... 119  General Integration Requirements ............................................................................................... 119  Working with SmartPlant Instrumentation .................................................................................... 119  Working with SmartPlant 3D ........................................................................................................ 121  Working with Aspen Basic Engineering........................................................................................ 121  Using Workshare in an Integrated Environment .......................................................................... 122  Using the Catalog Index in SmartPlant P&ID and SmartPlant Integration ................................... 122  Mapping for SmartPlant Integration .................................................................................................... 123  Using Custom Hierarchies .................................................................................................................. 123  Register Command (SmartPlant Menu) .............................................................................................. 124  Index ......................................................................................................................................................... 125 

SmartPlant P&ID Installation and Upgrade Guide

5

Contents

6

SmartPlant P&ID Installation and Upgrade Guide

SECTION 1

Welcome to SmartPlant The Intergraph SmartPlant family of process industry solutions is an open line of discipline-specific software tools that provide an integrated solution for the entire plant life cycle. Knowledge-based, intuitive, easy-to-use, accessible, flexible, and data-driven, SmartPlant supports global workflows. The software enables users to create logical and physical definitions of the plant model and enables access to plant data from conceptual design to decommissioning. SmartPlant is the fulfillment of the Intergraph vision to speed and improve the creation of information and to provide this data to multiple users at any moment in the appropriate form. Workflows are compressed, reducing production time, lowering costs, enhancing global execution, and extending the life and usability of plant information. The successor to the Intergraph Plant Design System (PDS), SmartPlant includes expanded functionality for front-end engineering and design (FEED), construction, operation, and maintenance phases.

Installation Checklist For the recommended installation workflow, see the SmartPlant P&ID Installation Checklist: (SPPIDInstall_Checklist.xls), delivered during product setup to the ..\SmartPlant\P&ID Workstation\Program\resdlls\0009\ folder.

Introducing SmartPlant P&ID SmartPlant P&ID creates intelligent P&IDs by populating the database with relevant plant data. This method provides valuable information throughout the plant life cycle. As a data-centric, rule-based solution for the P&ID life cycle, SmartPlant P&ID helps users improve design quality, data consistency, and standards compliance. With quick access to supporting engineering data, SmartPlant P&ID significantly cuts design and modification time and increases accuracy with its exclusive data-centric approach and use of design rules, automatic checks, and drag-and-drop capabilities. SmartPlant P&ID is vastly different from graphic-driven P&ID solutions of today. All data from the P&ID is stored in the plant database and adheres to plant standards. The graphical representation of the P&ID is a view or a report of the data. The strong data import and export facilities of SmartPlant P&ID allow users to populate the system with relevant plant data, such as process data from process simulation databases based on Aspen Basic Engineering from Aspen Technologies, Inc. or equipment and line lists. You can then use this information in the SmartPlant P&ID Stockpile to design the P&ID. The rule-based and automation capabilities of SmartPlant P&ID also differentiate it from other P&ID systems. SmartPlant P&ID features a comprehensive, user-definable rule-based system that assists the engineer during the design phase of the plant and subsequent life cycle phases. Data is entered directly into the database; rules are executed; and feedback is immediate. The design rule-base confirms data consistency and compliance with plant and engineering standards, allowing faster, more efficient design with less iteration. SmartPlant P&ID incorporates the latest Microsoft technologies, such as OLE automation, to provide integration with existing data and other systems. Running on various Microsoft Windows

SmartPlant P&ID Installation and Upgrade Guide

7

Welcome to SmartPlant operating system platforms, SmartPlant P&ID does not require a traditional, expensive CAD engine for P&ID creation. The open architecture of SmartPlant P&ID permits integration with other systems, such as Intergraph PDS, SmartPlant Instrumentation, and Aspen Basic Engineering, all of which allow users to share data with third-party software.

SmartPlant P&ID Program Group SmartPlant P&ID provides multiple views of a central, unified data structure that represents the plant model. A view is a visual presentation of the data in the plant model and can be a schematic drawing or a table. The plant model is the computer representation of the conceptual design, including all plant components and their relationships. By manipulating model views, you can organize the information within the plant model to better understand and maintain the data. SmartPlant P&ID has several programs and utilities for running and managing your plant data. SmartPlant P&ID provides the design environment for SmartPlant P&ID drawings. SmartPlant P&ID Drawing Manager allows you to create and delete drawings, manage drawing versions, and print multiple drawings. Drawing Manager also allows you to perform Workshare and project-specific commands. SmartPlant P&ID Insulation Specification Manager allows you to create and modify lookup tables for insulation specifications and thicknesses. SmartPlant P&ID Options Manager defines plant-wide graphic standards for symbology, gapping, heat tracing, and formats. Options Manager also defines paths to SmartPlant P&ID files and directories. SmartPlant P&ID Rule Manager defines rules for placement and property copying on placement. SmartPlant Engineering Manager performs higher-level data management tasks, such as specifying user permissions, designing plant hierarchies, and so forth. For more information about SmartPlant Engineering Manager, see the SmartPlant Engineering Manager User's Guide and the appropriate sections of this guide.

SmartPlant Engineering Manager SmartPlant Engineering Manager provides all the tools you need to effectively set up and manage your work with SmartPlant applications. SmartPlant Engineering Manager takes advantage of a client/server design that greatly enhances performance and lowers the cost of ownership. Because it is built on few Microsoft dependencies and is not web-based, SmartPlant Engineering Manager requires no web server. The intuitive user interface design, with its streamlined layout, allows you to easily manage user access and to share plant data. Supporting SmartPlant P&ID, SmartPlant Instrumentation, and SmartPlant Electrical, SmartPlant Engineering Manager manages the plant structures while the applications themselves are responsible for manipulating the actual data (including creating, deleting, modifying, launching, and so forth). SmartPlant Engineering Manager allows you to view not only the data related to the whole site but also data related to individual plants and projects. You can create and maintain SmartPlant Engineering sites, plant structures and projects, in addition to adding plant group types, modifying plant attributes, creating and modifying hierarchies, and associating SmartPlant applications.

8

SmartPlant P&ID Installation and Upgrade Guide

Welcome to SmartPlant

SmartPlant Engineering Manager Program Group The SmartPlant Engineering Manager program group provides several utilities for managing your plant data. SmartPlant Engineering Manager allows you to create the SmartPlant site and plants. You can create plant structures, plant groups, hierarchy templates, as well as define the access to plant data on many levels. Catalog Manager allows you to create and modify symbols and labels. Data Dictionary Manager allows you to add properties to SmartPlant database tables, define external programs, view relationships, and create and modify select lists. Data Dictionary Template Comparison Utility allows you to determine the differences between two data dictionary template files or between one data dictionary template file and the corresponding data dictionary/schema from a plant. Filter Manager allows you to create and modify filters to discriminate on database data. Filters are used for displaying data in symbology, gapping, graphical views, reports, rules, and so forth. Format Manager defines available formats for units of measure properties. Refresh Site Roles Utility allows you to automatically refresh the roles in a site on a scheduled basis. Reference Data Synchronization Manager provides tools for comparing, synchronizing, and managing reference data across multiple plants. Used in conjunction with the Update Drawings functionality in Drawing Manager, this application is especially useful when you need to maintain a central set of reference data for all plants across a site without having a network or database connection between plants. Upgrade Utility guides you through upgrading your SmartPlant Engineering data.

SmartPlant P&ID Installation and Upgrade Guide

9

Welcome to SmartPlant

10

SmartPlant P&ID Installation and Upgrade Guide

SECTION 2

Internationalization Supporting internationalization in a homogeneous environment is one of the enhancements available in SmartPlant Enterprise. A homogeneous environment uses elements from only a single locale. For example, a German customer running on a German operating system using only German characters and German cultural conventions is a fully supported homogeneous environment configuration.

Homogeneous Environments When starting a new project, use extra care during installation and configuration to ensure the proper creation and maintenance of homogeneous environments: ƒ All the computers (servers and clients) within an integrated SmartPlant Enterprise implementation must have the same regional settings, and no one should change the regional settings after the project has started. ƒ Do not cross the decimal locale boundary. This is the most common cause of numeric data corruption and calculation errors. Having users with different regional settings (like with a period versus a comma for the decimal point) causes the software to interpret values unpredictably. For example, a pipe run with a pressure of 35.3 psi can be read by the software as 353 psi to the user with different regional settings. A cable length defined as 39 ft 11,21 inches has been interpreted as 121718910971323 meters when published to an XML file. These incorrect interpretations may be used in internal software calculations and can be impossible to backtrack or correct. Do not change the decimal point character to try to solve an issue. Doing so will only corrupt values in the database or in text files. ƒ Do not cross the character-set locale boundary. For example, the character set boundary between Western (Latin-based) and Eastern Europe (Cyrillic-based), or between Eastern Europe and Japan. ƒ Create Oracle databases using AL32UTF8 for the database character set and AL16UTF16 for the NLS character set. ƒ Never modify the NLS_LANG registry entry on an Oracle client. Doing so causes the character data not to convert to Unicode. ƒ Create Microsoft SQL Server databases with locale-specific collation settings and ensure that all databases have the same setting.

Heterogeneous Environments In contrast, a heterogeneous environment using elements from different, or even multiple locales, is not supported. Many customers are currently operating in unsupported heterogeneous environments and are often not aware of that fact. Examples of heterogeneous environments: ƒ Entering or viewing Japanese data on an US/English operating system ƒ Using German Regional Settings (where the decimal point is a comma) on a US/English operating system ƒ Using databases with different character encodings such as CL8MSWIN1251 or JA16SJIS ƒ Using multiple languages in a project, especially when crossing language-group boundaries ƒ Using an English server with different local language clients

SmartPlant P&ID Installation and Upgrade Guide

11

Internationalization

International / Bi-lingual Projects International bi-lingual projects are possible; however, great care must be used when configuring these environments. Limitations exist and must be properly understood: ƒ Oracle and MS SQL Server databases can reside on any language operating system, as long as the databases have been created and configured with proper Unicode and collation settings. ƒ All Microsoft operating systems (Japanese, Russian, German, and so forth) can enter English characters. The reverse, however, is not true in most cases. ƒ Keyboard-locale can be changed as long as a character-set and code- page boundary is not crossed. For example, English, German, French, and Spanish characters can all be used in the same project because the same Windows code-page (1252) is used. However, Russian characters (code-page 1251) cannot be used in a US/English environment. ƒ You must decide which language operating system will be the master for bi-lingual projects. The following is an example of a Russian-based project: Companies in the United States and the United Kingdom are working a project with a Russian company and the deliverables (drawings, reports, and so forth) must ultimately be provided in Russian. The companies in the U.S. and the U.K. are working the project using the "master" Russian operating systems (possibly using virtual Russian operating systems running on VMware Workstation). The U.S. and U.K. companies can install and use English Microsoft Office products on the Russian operating system because Office products are globally enabled. If a Russian interface exists for the SmartPlant Enterprise application, then Russian users can use the Russian interface while the English-speaking users would continue to use the US/English interface. English-speaking engineers can enter English characters. Russian-speaking engineers can enter Russian characters. However, because the Russian locale uses different decimal and character-set locales, everyone (English and Russian engineers) must use the Russian decimal symbol which is a comma. For customization purposes, databases can be modified to accommodate new Russian-specific requirements (fields, properties, and so forth.) Using filters, display sets, and other software features, bi-lingual projects can be further customized. Graphic data, reports, and so forth can be created in either or both languages. Do not change regional settings to reflect a U.S. environment in order to resolve problems in a non-US/English homogeneous configuration. Doing this creates a heterogeneous configuration that will cause other possibly hidden problems that cannot be corrected. Everyone working on a project must use the same regional settings and character set throughout the life of the project.

Questions and Assistance Please contact your support representative for assistance.

12

SmartPlant P&ID Installation and Upgrade Guide

SECTION 3

Hardware and Software Recommendations Before beginning an installation of the SmartPlant software, verify that your servers meet the following requirements. These requirements assume that the SmartPlant software is not installed on the database server. You can install the SmartPlant software on the database server if you want to, but we do not recommend it. SmartPlant Engineering Manager may be installed on its own workstation or it can run on the same computer with other engineering applications, such as SmartPlant P&ID or SmartPlant Electrical.

SmartPlant P&ID Database Server Hardware Recommendations ƒ ƒ ƒ ƒ

Pentium machine with 2.4 GHz processor 2 GB RAM (or more for a large database) 100 BaseT or higher network interface For all installations, DVD drive access, either locally or through a network connection

Supported Operating Systems ƒ ƒ ƒ ƒ ƒ

Microsoft Windows Standard Server 2003 R2 Service Pack 2, 32-bit and 64-bit Microsoft Windows Enterprise Server 2003 Service Pack 2, 32-bit Microsoft Windows Enterprise Server 2003 R2 Service Pack 2, 64-bit Microsoft Windows Standard Server 2008 R2 Service Pack 1, 64-bit Microsoft Windows Enterprise Server 2008 R2 Service Pack 1, 64-bit

The operating system must be installed in the account where you have administrator privileges.

SmartPlant P&ID Installation and Upgrade Guide

13

Hardware and Software Recommendations

Supported Database Servers    

Microsoft SQL Server 2005 Service Pack 4, 32-bit and 64-bit Microsoft SQL Server 2008 Service Pack 2, 64-bit Oracle Database 10g Release 2 (10.2.0.5), 32-bit and 64-bit Oracle Database 11g Release 2 (11.2.0.2), 64-bit

Recommended Disk Space Oracle Software

SQL Server Software

SmartPlant Engineering Manager Software Initial SmartPlant Engineering Manager database

250 MB

Total:

0.25 GB

Oracle Server installation

2 GB

SQL Server Server installation

1 GB

Initial Oracle instance

500 MB

SQL Server Temporary database

100 MB

Total:

2.5 GB

Total:

1.1 GB

SmartPlant P&ID Workstation Hardware Recommendations     

Pentium IV with 2 GHz processor or higher 2 GB RAM 100 BaseT or higher network interface DVD drive access, either locally or through a network connection Windows supported printer access, either locally or through a network connection

Supported Operating Systems   

Microsoft Windows XP Professional Service Pack 3, 32-bit Microsoft Vista Business Client 1.0 Service Pack 2, 32-bit Microsoft Windows 7 Professional and Enterprise Service Pack 1, 32-bit and 64-bit Windows 7 is certified with UAC ‘On’ at Level 3 (Default)

Supported Database Clients

14

 

Oracle 10g Client Release 2 (10.2.0.5), 32-bit Oracle 11g Client tools (11.2.0.2), 32-bit

 

Do not use Oracle 'light client' as it does not include some of the required .dll files. The client database software must be of the same version as the server database software.

SmartPlant P&ID Installation and Upgrade Guide

Hardware and Software Recommendations

Recommended Disk Space Oracle Software Oracle Client installation

Total:

1 GB

1 GB

SQL Server Software

SmartPlant Software

SQL Server 100 MB Client installation

SmartPlant Engineering Manager 2009 SP5 (full installation)

250 MB

SmartPlant P&ID 2009 SP4 (full installation)

250 MB

SmartPlant Schema Component

25 MB

SmartPlant Client

30 MB

Total:

0.55 GB

Total:

0.1 GB

Software Prerequisites 

   

Adobe® Reader 9.0 or later compatible version (required for viewing the Software License Agreement and Printable Guides). The latest version is downloadable from the Adobe Web site. SmartPlant License Manager 2010. The licensing is delivered on its own CD that comes with your SmartPlant P&ID product CD. Microsoft Internet Explorer 7.0 or 8.0 (required for viewing the Online documentation delivered with the software) Microsoft XML Core Services (MSXML) 6.0 Service Pack 1 One of the following versions of Microsoft Office (Microsoft Excel is required for working with report templates and for viewing the Installation Checklist and various other files): Microsoft Office Version

Supported Operating Systems

2003 Service Pack 3

Windows XP or Server 2003

2007 Service Pack 2 with Hotfix Package (msoshext-x-none.msp): February 22, 2011 http://support.microsoft.com/kb/2483216

Windows Vista or Windows 7

2010 (32-bit only) with Hotfix Package (msoshext-x-none.msp): February 22, 2011 http://support.microsoft.com/kb/2483230

Windows 7 or Server 2008

Select for download the 32-bit file: office2010kb2483230fullfilex86glb



Microsoft Office must include the installation of Visual Basic for Applications. SmartPlant 3D Piping Specification Remote Access Client, Version 01.00. The Piping Specification Client software is required for using SmartPlant 3D specifications in the SmartPlant P&ID Piping Specification Utility and is available on the SmartPlant P&ID product CD. Microsoft Data Access Components (MDAC) 2.8 Service Pack 1



MDAC is delivered as part of Microsoft Windows XP, Windows Server 2003, Vista, and Windows 7 installations. Microsoft .NET Framework 3.5 Service Pack 1



SmartPlant P&ID Installation and Upgrade Guide

15

Hardware and Software Recommendations

Optional Software Apart from SmartPlant Engineering Manager and SmartSketch, the following software programs are not Intergraph corporation software and are owned by third parties. It is the responsibility of the customer to select in its sole discretion the applicable third party software the customer desires to use to generate reports and Intergraph makes no recommendation as to the choice of said third party software. The customer is responsible for obtaining a valid license to use said third party software from the owner of said third party software and to pay any license fees to the owner of said third party software for the use of said third party software. INTERGRAPH DISCLAIMS AND MAKES NO WARRANTY EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR THE WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE IN REGARDS TO SAID THIRD PARTY SOFTWARE.  For administrative functions, SmartPlant Engineering Manager 2009, SP5  For working in a Citrix environment, Citrix Presentation Server 4.5 or XenApp 6  One of the following drawing software programs (for compatibility with the 'Save As' feature):  SmartSketch 2009, 2009 SP1, 2009.1, or 2009.1 SP1  Autodesk AutoCAD 2000 or 2002  Bentley MicroStation J (not certified on Vista, Windows 7, or on a 64-bit machine)

16

SmartPlant P&ID Installation and Upgrade Guide

SECTION 4

Oracle Installation and Configuration Because system configurations, database software, and individual company standards vary, use this section as a checklist instead of step-by-step instructions. Consult your Oracle software documentation for information as to which versions of Oracle database can be used with which versions of the Windows operating system. Please contact Intergraph Customer Support (http://support.intergraph.com) for specific configuration questions.

Oracle Instances If one server hosts the databases of several products, Intergraph recommends that each product's database be a separate instance, each of which can host multiple plants. The advantage of placing each product's database its own instance is that only the affected application will be off-line during backup, performance tuning, and other database maintenance activities. Additionally, global tuning parameters that apply to one instance can be tailored to the specific product requirements. According to Oracle documentation, the only limit to the number of instances you can have on any machine is the availability of resources. However, the number of instances on one database server should be minimized, because each additional instance puts additional load on the server. Each instance adds redundant tablespaces, rollback segments, background processes, and memory requirements for each SGA (System Global Area). For this reason, you should start by putting the database of one product for several plants into a single instance. Then, when the number of plants increases, or a plant becomes very large, consider separating the database into new instances, adding server memory, or even adding database servers. ƒ ƒ

We recommend installing and configuring Oracle locally, not by remote desktop connection. Oracle recommends that database activity on the database server consume no more than 50 percent of the available memory.

Configure Oracle Networking Components Oracle Net combines configuration abilities with component control to provide an integrated environment for configuring and managing client connections to services via a net service name. SmartPlant Engineering Manager and P&ID use the Oracle Net service to establish and maintain network sessions from client applications to the Oracle database server. After a network session is established, this utility acts as a data courier for the client application and the database server. See the Oracle Net Services Administrator's Guide and the Oracle Net Services Reference Guide in your Oracle documentation for more information about using this utility and creating net service name connections. If you follow the procedures provided to Install Oracle Server Software (Basic Installation for Enterprise Edition) and Install Oracle Client Software, the Oracle Networking Components should be configured correctly. ƒ

For SmartPlant P&ID to access the database, you must load and configure Oracle Net Services on the database server and on each end-user SmartPlant workstation. If

SmartPlant P&ID Installation and Upgrade Guide

17

Oracle Installation and Configuration

ƒ

ƒ ƒ

SmartPlant Engineering Manager is installed on the database server, you must load and configure Oracle Net Services on that server, in addition to the Oracle TCP/IP Protocol Adapter. If SmartPlant Engineering Manager is installed on a workstation other than the database server, you must load the Net Services and the Oracle TCP/IP Protocol Adapter on the SmartPlant Engineering Manager computer. You must also load the Net Services and the Oracle TCP/IP Protocol Adapter on the Oracle database server. Net Manager is installed with the Net Services software and allows you to create a database Net Service Name, which SmartPlant uses to communicate with the database. The version of Net Services must be the same on all computers.

Oracle Installation Workflow The following workflow is necessary for installing Oracle for use with SmartPlant P&ID. Depending on which version of Oracle you are using and on the operating system installed on your machine there may be differences in the required workflow. Consult your Oracle software documentation for information as to which versions of Oracle database can be used with which versions of the Windows operating system. Please contact Intergraph Customer Support (http://support.intergraph.com) for specific configuration questions. ƒ ƒ ƒ ƒ

Installing Oracle Database Server (on page 18) Create an Oracle Listener (on page 19) Creating an Oracle Instance (on page 19) Installing Oracle Client (on page 23)

Installing Oracle Database Server The following editions of Oracle Database Server are available: ƒ Standard Edition — For department or workgroup level applications, or for small-to-medium sized enterprises (SMEs). It is engineered to provide core relational database management services and options. If you select this installation type, you must purchase additional licenses if you want to install extra Enterprise Edition options. ƒ Enterprise Edition — For enterprise-level applications. It is engineered for mission-critical, high-security online transaction processing (OLTP) and data warehousing environments. If you select this installation type, all separately licensable Enterprise Edition options are installed. ƒ Personal Edition — Not supported by SmartPlant Instrumentation. You should refer to your Oracle Installation Guide for detailed instructions on installing Oracle.

18

SmartPlant P&ID Installation and Upgrade Guide

Oracle Installation and Configuration

Install Oracle Database Server 1. Double-click the Oracle setup icon.. 2. On the Select Installation Method page, click Basic Installation, and from the Installation Type list, select the required installation.

3. 4. 5. 6. 7. 8. 9.

Do not select Personal Edition. SmartPlant Instrumentation does not support this installation type. Clear the Create Starter Database check box and then click Next. On the Product-Specific Prerequisite Checks page, ignore the Checking Network Configuration requirements warning and click Next. On the Warning dialog box, click Yes. On the Summary page, click Install. Complete the installation and then click Exit. Restart the server machine. Install the latest Oracle patch.

Create an Oracle Listener 1. On the Start menu, click All Programs > Oracle – OraDb10g_home1 > Configuration and Migration Tools > Net Configuration Assistant. 2. In the Oracle New Configuration Assistant Wizard, select Listener configuration and click Next. 3. Select Add, and click Next. 4. Define the listener name, for example, LISTENER and click Next. 5. On the Listener Configuration, Select Protocols page, select TCP and click Next. 6. On the remaining Wizard pages, click Next and then click Finish to complete the listener creation.

Creating an Oracle Instance The Oracle instance is a workspace on the Oracle database server where Oracle keeps a single database. You can create as many instances as required and, in this way, append as many databases as you need on a single database server. However, note that appending instances on your Oracle database server can slow down your work in the P&ID database located on that server. You need to create a new instance in Oracle if you have an existing Oracle database server whose parameters do not comply with the parameters required to use P&ID on Oracle. This way you can append the P&ID database to existing Oracle databases on your Oracle database server without losing your existing Oracle database information. The instance creation process contains the following major steps: 1. Creating a new instance initialization file from an existing initialization file. 2. Modifying the database parameters in the new instance initialization file. 3. Modifying the Listener.ora file which Oracle will run when carrying out the instance creation process. 4. Creating a new instance using the Database Configuration Assistant.

SmartPlant P&ID Installation and Upgrade Guide

19

Oracle Installation and Configuration When creating an instance, Oracle takes-up some disk space. Therefore, you must have enough free disk space on the hard disk where the Oracle database is located to be able to create the new instance. The disk usage is as follows: ƒ Oracle instance environment — 50 MB recommended ƒ Oracle instance after running Oracle DB Setup — 80 MB recommended ƒ Oracle instance after initializing a domain — 150 MB recommended See your Oracle User Guide for additional information about limitations on creation of instances.

Requirements for Oracle Instance Creation Before creating an Oracle instance, make sure that you have Administrator's access rights in both your Oracle server database and the operating system installed on the server machine. If you still need to create an instance from the account in which you do not have Administrator's rights, and if your company's policy allows you to change the Oracle security, you can do the following: in the Sqlnet.ora file, add the # symbol before the Sqlnet.Authentication_Services = (NTS) parameter to comment it out. The default location of the Sqlnet.ora file will look similar to the following path: \\\Product\\db_1\Network\Admin\ (* An example of the 6.0.4 folder name is 10.2.0) Before starting an Oracle database you need to ensure that the RAM that this database occupies does not exceed the available RAM on your server. You can calculate the amount of RAM needed for the database by using the following Oracle parameters: ƒ SHARED_POOL_SIZE (at least 10 MB) ƒ DB_BLOCK_SIZE ƒ LOG_BUFFER ƒ SORT_AREA_SIZE JAVA_POOL_SIZE and LARGE_POOL_SIZE are additional parameters that affect the RAM that the Oracle database occupies. These parameters appear if you select certain options when running the Oracle Database Configuration Assistant using a custom installation type. For the DB_BLOCK_SIZE parameter, make sure that the value is at least 8192. As an alternative to the above calculation, you can use the following target parameters to determine the maximum amount of RAM: ƒ sga_target (at least 100 MB is recommended) ƒ pga_aggregate_target (at least 20 MB is recommended)

Create a New Oracle Instance ƒ

Make sure that all passwords, user names, folders, and files of the new instance are different from those of any existing instance. ƒ All user names and passwords must use ASCII / English characters. Oracle does not support non-ASCII / English characters in user names or passwords and will not work. This limitation is an Oracle limitation, not Intergraph's. 1. On the Start menu, click All Programs > Oracle – OraDb10g_home1 > Configuration and Migration Tools > Database Configuration Assistant. 2. On the Welcome page, click Next. 3. In the Database Configuration Assistant Wizard, click Next until you reach the page Step 2 of 12: Database Templates.

20

SmartPlant P&ID Installation and Upgrade Guide

Oracle Installation and Configuration 4. Select Custom Database and click Next. 5. On the page Step 3 of 12: Database Identification, do the following: a. In the Global Database Name box, define the database name, for example, PID10gdb. b. In the SID box, accept or modify the instance name that the software enters automatically as you type the database name. The database name and the instance name do not have to be the same. 6. Click Next. 7. On the page Step 4 of 12: Management Options, clear Configure the Database with Enterprise Manager, and then, click Next. 8. On the page Step 5 of 12: Database Credentials, in the Password and Confirm Password boxes, type the password, for example, Oracle.

9.

10. 11.

12.

The following terms are reserved and cannot be used as passwords: manager (reserved for the SYSTEM user) and change_on_install (reserved for the SYS user). Click Next until you reach the page Step 7 of 12: Database File Locations, and then do the following: a. Select Use Common Location for All Database Files. b. Specify the path and folder, for example, D:\oracle\. c. Click Next. On the page Step 8 of 12: Recovery Configuration, clear Specify Flash Recovery Data and click Next. On the page Step 9 of 12: Database Content, do the following: a. On the Database Components tab, clear all the check boxes. b. Click Standard Database Components, and then, on the Standard Database Components dialog box, clear all the check boxes and click OK. c. If prompted you to disable local database management, click Yes. d. On the Custom Scripts tab, click No scripts to run. e. Click Next. On the page Step 10 of 12: Initialization Parameters, on the Memory tab, do the following: a. Select Custom. b. Beside Shared Memory Management, select Automatic. c. In the SGA Size box, enter 160 M Bytes. d. In the PGA Size box, enter 60 M Bytes.

SmartPlant P&ID Installation and Upgrade Guide

21

Oracle Installation and Configuration The recommended total memory for one Oracle 10g instance is 260 M Bytes.

e. Click the Character Sets tab and do the following: i. Under Database Character Set, select Use Unicode (AL32UTF8). ii. Under National Character Set, select AL16UTF16 (the default) ƒ

f.

22

The same database character set and national character set values should also be defined on your server. ƒ The Default Language and Default Date Format values will reflect locale-specific information. Accept the settings on the other tabs and click Next.

SmartPlant P&ID Installation and Upgrade Guide

Oracle Installation and Configuration

13. On the page Step 11 of 12: Database Storage, if you intend to create a SmartPlant Electrical or SmartPlant P&ID database in the current Oracle database, change the data file size of the TEMP and USERS tablespaces to 100 MB. 14. 15. 16. 17.

To change the size, double-click the field under Size. Click Next. On the page Step 12 of 12: Creation Options, click Finish. On the Confirmation dialog box, click OK. Restart the server machine.

Oracle System User Requirements The following lists describe the minimum Oracle system user privileges that need to be defined in order to work successfully with SmartPlant Engineering Manager and SmartPlant P&ID.

Default System User Privileges CREATE ANY PROCEDURE CREATE ANY SEQUENCE CREATE ANY SYNONYM CREATE ANY TABLE CREATE ANY TRIGGER CREATE ANY VIEW CREATE DATABASE LINK CREATE PUBLIC DATABASE LINK

SmartPlant P&ID Installation and Upgrade Guide

23

Oracle Installation and Configuration CREATE PUBLIC SYNONYM CREATE ROLE CREATE ROLLBACK SEGMENT CREATE SESSION CREATE SYNONYM CREATE TABLESPACE CREATE TRIGGER CREATE USER CREATE VIEW DROP ANY SYNONYM DROP ANY TABLE DROP ANY TRIGGER DROP ANY VIEW DROP TABLESPACE DROP USER EXECUTE ANY PROCEDURE INSERT ANY TABLE SELECT ANY DICTIONARY SELECT ANY TABLE UNLIMITED TABLESPACE

Default Oracle Roles The following roles are created by Oracle when an instance is created. These roles are expected to be present by SmartPlant Engineering Manager.

24

Role

Privilege

CONNECT

ALTER SESSION

CONNECT

CREATE CLUSTER

CONNECT

CREATE DATABASE LINK

CONNECT

CREATE SEQUENCE

CONNECT

CREATE SESSION

CONNECT

CREATE SYNONYM

CONNECT

CREATE TABLE

CONNECT

CREATE VIEW

CONNECT

EXECUTE ANY PROCEDURE

RESOURCE

CREATE CLUSTER

SmartPlant P&ID Installation and Upgrade Guide

Oracle Installation and Configuration Role

Privilege

RESOURCE

CREATE INDEXTYPE

RESOURCE

CREATE OPERATOR

RESOURCE

CREATE PROCEDURE

RESOURCE

CREATE SEQUENCE

RESOURCE

CREATE TABLE

RESOURCE

CREATE TRIGGER

RESOURCE

CREATE TYPE

Installing Oracle Client The Oracle client provides P&ID with the means to interface with the Oracle database server. You install the Oracle client after you have completed the Oracle database server installation. You can install the Oracle client either on a file server or on the local station. If you install the Oracle client on a station, make sure you have the appropriate access rights to the Oracle database server. After the Oracle client installation process is complete, you proceed by installing P&ID. Before you start the installation process, make sure that the machine (file server or local station) has access to a CD-ROM or DVD drive. If your machine does not have access to a suitable drive, you need to copy all the installation files from the installation media to your local hard disk.

Installing Oracle Client Prerequisites ƒ ƒ

Make sure that your Oracle server version is 10.2.0.5. Set up your client Windows regional and language options as you require. You can only set up these options before the client installation. If you want to change the regional and language options after the installation, you will have to reinstall the Oracle client for the changes to take effect

After the client installation, you must not change any of the default values of the NLS_LANG parameter on the client.

Install Oracle Client 1. Start the Oracle Universal Installer for Oracle client 10.2.0.4. 2. On the Select Installation Type page, from the list, select one of the following: ƒ Administrator — For users who need Administrator functions, such as the ability to create tablespaces. ƒ Runtime — For all other users. 3. On the Specify Home Details page, enter the name of the folder that will appear in the Start menu and the folder path for the installation. The Start menu folder name is also the name given to the Oracle Home folder in the Registry. 4. Clear the Create Starter Database check box and then click Next. 5. On the Product-Specific Prerequisite Checks page, click Next.

SmartPlant P&ID Installation and Upgrade Guide

25

Oracle Installation and Configuration 6. On the Summary page, click Install. 7. On completion of the installation, when the Oracle Net Configuration Assistant opens, select the Perform typical configuration check box. 8. On the Welcome page, click Next. 9. On the Oracle Net Configuration Assistant: Done page, click Finish. 10. Complete the installation and then click Exit. 11. Restart the client machine. 12. Create an alias to the Oracle database on the client machine using Oracle Net Manager. The alias name can contain any alphanumeric characters without spaces. 13. Install the Oracle client 10.2.0.5 patch.

Register DLLs with RegSrv32 If you install Oracle Client on your SmartPlant workstation after installing SmartPlant Engineering Manager or P&ID software, the setup process will not register the igrOraspconnect.dll file. To rectify this, after you install Oracle Client, do the following: 1. From the Windows Control Panel, select Add/Remove Programs. 2. From the list of programs on your computer, select Intergraph P&ID. 3. Click Change/Remove. 4. On the Setup Type page, select Add/Remove install components (in SmartPlant P&ID only). 5. Select Repair.

Oracle Tuning Recommendations We recommend using the following Oracle tools for optimizing your database performance with the SmartPlant products.

OPTIMIZER_MODE Initialization Parameter The OPTIMIZER_MODE initialization parameter establishes the default behavior for choosing an optimization approach for the instance. This parameter can be set in the initSIDname.ora or init.ora file to one of the following four values. For more information, see the Oracle performance tuning documentation at http://pbscrm.intergraph.com/pbs/sppid/Freeware/OracleAnalyzer.zip (http://pbscrm.intergraph.com/pbs/sppid/Freeware/OracleAnalyzer.zip). CHOOSE — The optimizer chooses between a cost-based approach and a rule-based approach based on whether statistics are available for the CBO. If the data dictionary contains statistics for at least one of the accessed tables, then the optimizer uses a cost-based approach and optimizes with a goal of best throughput. If the data dictionary contains no statistics for any of the accessed tables, then the optimizer uses a rule-based approach. This is the default value for the parameter. ALL_ROWS — The optimizer uses a cost-based approach for all SQL statements in the session regardless of the presence of statistics and optimizes with a goal of best throughput (minimum resource use to complete the entire statement). If you are not gathering statistics on your database, we do not recommend using this setting. FIRST_ROWS — The optimizer uses a cost-based approach for all SQL statements in the session regardless of the presence of statistics and optimizes with a goal of best response time (minimum resource use to return the first row of the result set). If you are not gathering statistics on your database, we do not recommend using this setting.

26

SmartPlant P&ID Installation and Upgrade Guide

Oracle Installation and Configuration RULE — The optimizer chooses a rule-based approach for all SQL statements regardless of the presence of statistics. If you are not gathering statistics on your database, we do not recommend using this setting.

Oracle Cost Based Optimizer (CBO) We recommend using the Oracle Cost Based Optimizer (CBO) on Online Transaction Processing (OLTP) systems. Use the following settings to encourage the CBO to use indexes instead of full table scans. OPTIMIZER_INDEX_CACHING = 90 OPTIMIZER_INDEX_COST_ADJ = 35 Before you can use the CBO, you must set the OPTIMIZER_MODE initialization parameter to CHOOSE.

ARCHIVELOG Mode We also recommend running Oracle in ARCHIVELOG mode, which copies filled online redo logs to disk. You must specify the mode at database creation or by using the ALTER DATABASE statement. You can enable automatic archiving either dynamically using the ALTER SYSTEM statement or by setting the initialization parameter LOG_ARCHIVE_START to TRUE. Running the database in ARCHIVELOG mode has several advantages over NOARCHIVELOG mode. You can: ƒ Back up the database while it is open and being accessed by users. ƒ Recover the database to any desired point in time. ƒ To protect the ARCHIVELOG mode database in case of failure, back up the archived logs. For more information, please see the SQL*Plus Backup and Recovery Concepts document in your Oracle documentation.

Other Recommendations Some users have found using the following settings beneficial. ƒ System Tablespace Max_Extents = UNLIMITED (If you choose to set this parameter to 505, the database monitoring system will warn you if the system tablespace is growing heavily. This setting has no impact on performance.) ƒ Tablespace System / initial und next set to 64KB (Setting the pctincrease parameter to 50 allows you to take advantage of the dynamic growth provided by Oracle, leading to larger extents in a large database.) ƒ RollBackSegment und Temp-Tablespace create rollback segment tablespace rbs storage (optimal 10MB) ƒ begin dbms_stats.gather_database_stats (cascate => TRUE); end;/ (Gathers statistics on the schemas. Use with the OPTIMIZER_MODE variable set to ALL_ROWS.)

SmartPlant P&ID Installation and Upgrade Guide

27

Oracle Installation and Configuration

28

SmartPlant P&ID Installation and Upgrade Guide

SECTION 5

Microsoft SQL Server Installation and Configuration The installation and configuration procedures described in this guide include only the steps required to install and use SmartPlant software in the Microsoft SQL Server environment. Therefore, it is recommended that you refer to your Microsoft SQL Server User's Guide for additional information about Microsoft SQL Server. If you intend to use the SmartPlant P&ID Connected Workshare functionality, you must use an Oracle database rather than SQL Server. Connected Workshare does not support SQL Server; however, Standalone Workshare does support SQL Server. Because system configurations, database software, and individual company standards vary, use this section as a checklist instead of step-by-step instructions. For specific configuration questions, contact Intergraph Customer Support (http://support.intergraph.com). 1. Using the Typical installation, load the Microsoft SQL Server software on your database server. 2. Configure SQL Server to create your custom database. You will need to provide the database node name, Administrator user name, and Administrator password when performing the configuration. ƒ

ƒ

ƒ

ƒ ƒ

SQL Server Client is required on any computer running SmartPlant Instrumentation on which you intend to perform administrative activities such as site, plant, or project creation, or on any computer on which backup or restore operations are performed. When creating and configuring your databases, keep in mind that plant structures must be created in a SQL Server database separate from the site server database and that each plant must be in its own database. Database node names may not include periods (.) or spaces. If the backup location for your SQL site is located on a separate computer from your database, you must modify the logon information for the SQL Server services using the procedure that follows. When creating a database for SmartPlant Engineering Manager, the database name may not include periods (.) or spaces. Create Microsoft SQL Server databases with locale-specific collation settings and ensure that all interacting databases have the same collation settings

SmartPlant P&ID Installation and Upgrade Guide

29

Microsoft SQL Server Installation and Configuration

Modify Logon Information for SQL Server Services 1. From the Windows Control Panel, select Administrative Tools > Services. 2. In the Services list, double-click SQLServer (MSSQLServer) to open the SQLServer (MSSQLServer) Properties dialog box. ƒ ƒ

3. 4. 5. 6.

The default instance for SQL Server 2005 is SQLServer (MSSQLServer). In place of the default instance, you can use a named instance, for example: SQLServer (SPPID). Click the Log On tab. Select This account and type the user name and password for the domain user who will be starting the MSSQLSERVER service. Save your changes. If the user defined in This account does not already have permissions to the share where backups are stored, grant the user read/write permissions to that share.

For more information about MSSQLServer properties and granting permissions to domain users, refer to your SQL Server and Windows documentation.

Install SQL Server 2005 1. Start SQL Server 2005 Setup. 2. On the Microsoft SQL Server 2005 Setup wizard, click Next until you reach the Components to Install page. 3. On the Components to Install page, do the following: a. Select SQL Server Database Services. b. Select Workstation components, Books Online and development tools and then click Next. 4. On the Instance Name page, select Default instance and click Next. 5. On the Existing Components page (if displayed), click Next. 6. On the Service Account page, do the following: a. Select Use the built-in System account and then select Local system. b. Under Start services at the end of setup, select SQL Server and click Next. On the Service Account page, you must only select the SQL Server service. The other two services (SQL Server Agent and SQL Browser) are not needed for any SmartPlant software product. After the database server setup, the SQL Server service is created with the Automatic startup type, the SQL Server Agent service is created with the Manual startup type, and the SQL Browser service is not created. 7. On the Authentication Mode page, do the following: a. Select Mixed Mode. b. Define the System Administrator password as you desire and click Next.

30

SmartPlant P&ID Installation and Upgrade Guide

Microsoft SQL Server Installation and Configuration 8. On the Collation Settings page, ensure that Collation designator and sort order is selected, and from the list, select the appropriate designator corresponding to the national environment defined for the operating system on the client machines. For example, if the client environment is Russian, select Cyrillic_General as the collation designator. ƒ

If the national environment of the client machines is identical with the national environment defined for the server, just accept the default values on this page. ƒ Ensure that the Case sensitive check box is cleared. 9. Click Next and complete the remaining steps. 10. After clicking Finish, restart the server machine.

Configure SQL Server Database Server This procedure explains how to configure the server to avoid running out of memory. ƒ ƒ ƒ 1.

By default, the server is configured to use unlimited memory. As a quick alternative to this procedure, you can stop and then restart the server. To implement this procedure, you must have DBA permissions. Click Start > Programs > Microsoft SQL Server 2005 Setup > SQL Server Management Studio. 2. On the Connect to Server dialog box, enter the required information as follows: a. Beside Server type, select Database Engine. b. Beside Server name, select the name of your server or instance. c. Beside Authentication, select SQL Server Authentication. d. Type a login name. e. Type a strong password of a least 6 characters; this is a password that must include upper- and lower-case characters, numeric and non-alphanumeric characters. f. Click Connect.

SmartPlant P&ID Installation and Upgrade Guide

31

Microsoft SQL Server Installation and Configuration 3. In the Microsoft SQL Server Management Studio window, under the Object Explorer, select the server (top-level node), right-click, and on the shortcut menu, click Properties.

4. Select the Memory page and do the following: a. Select Use AWE to allocate memory. b. Under Maximum server memory (in MB), set a suitable value. If it is likely that a large number of users will connect to the database concurrently, set the maximum memory to a higher value to avoid poor performance. 5. Select the Database Settings page and change the value of Default index fill factor to 80.

Set Database Maintenance Options for SQL Server You set the database maintenance options for SQL Server using the DBCC Utility. It is recommended that you run the following options about once a week: ƒ CHECKCATALOG ƒ CHECKDB You must use an SA connection for running these options. You should also update the database statistics as needed.

32

SmartPlant P&ID Installation and Upgrade Guide

Microsoft SQL Server Installation and Configuration

Run DBCC Utility Options for SQL Server 1. Open the SQL Server Management Studio. 2. In the Microsoft SQL Server Management Studio window, under the Object Explorer, select the server (top-level node), right-click, and on the shortcut menu, click New Query. 3. Type the appropriate query using the syntax shown, for example: DBCC CHECKCATALOG ('Site_Server1_DB') ƒ

You must enclose the name of your database within the quotes and parentheses as shown. ƒ Identical syntax applies for the CHECKDB command. 4. Click Query > Execute. 5. View the Messages window for the results of the query. You can save the results to an external file. To do so, click Query > Results To > Results to File. The software automatically corrects basic problems. For more complex problems, you must refer to the query results and correct these problems manually.

Update Statistics for SQL Server 1. Open the SQL Server Management Studio. 2. In the Microsoft SQL Server Management Studio window, under the Object Explorer, select the server (top-level node), right-click, and on the shortcut menu, click New Query. 3. Type the following SQL script with the name of your database, for example: USE Site_Server1_DB GO EXEC SP_UPDATESTATS This script updates the statistics for every table in the database.

Installing SQL Server Client The SQL Server client provides with the means to interface with the SQL Server database server. You can install the SQL Server client on each client machine after you have completed the SQL Server database server installation. Before you install the SQL Server client on a client machine, ensure that: ƒ SQL Server database server is installed on a database server machine. ƒ The SQL Server client version is compatible with your SQL Server database server version. ƒ You have appropriate access rights to the SQL Server database server. You do not need to install the SQL Server client on the computer where you installed the SQL Server database server, as all the client utilities are automatically installed during the SQL Server database server installation. See your SQL Server User Guide for additional information about SQL Server components and utilities.

SmartPlant P&ID Installation and Upgrade Guide

33

Microsoft SQL Server Installation and Configuration

Install SQL Server Client 1. 2. 3. 4. 5. 6.

34

Start SQL Server Client Setup to open the Microsoft SQL Server 2005 CTP Setup wizard. Accept the licensing agreement. Click Next until you reach the Registration page. On the Registration page, type in the user details. Click Next until you reach the Feature Selection page. On the Feature Selection page, select the desired features. The Feature Selection page should look similar to the following image:

SmartPlant P&ID Installation and Upgrade Guide

Microsoft SQL Server Installation and Configuration 7. Click Next until you reach the Setup Progress page. The Setup Progress page displays the progress and status of the components being installed.

SmartPlant P&ID Installation and Upgrade Guide

35

Microsoft SQL Server Installation and Configuration 8. Click Next, to go to the Completion page.

9. Click Finish and restart the client machine.

36

SmartPlant P&ID Installation and Upgrade Guide

SECTION 6

Installing the Software This section describes how to set up your database and install SmartPlant Engineering Manager, SmartPlant P&ID and supporting software. Before you begin installing the software, verify that the computers on which the software components will be installed meet the requirements described in the SmartPlant Engineering Manager Hardware and Software Recommendations (on page 13). The Open Database functionality, incorporated into all parts of the SmartPlant software, allows you to install pieces of the software on several different workstations. You do not have to maintain a server for just SmartPlant Engineering Manager. For example, you can install SmartPlant Engineering Manager and its related managers on one workstation, SmartPlant P&ID and its related managers on another, and the reference data on yet another workstation or file server. You could install all of the SmartPlant software on one workstation, or you could install SmartPlant Engineering Manager on one workstation, SmartPlant Catalog Manager on another workstation, and the remaining SmartPlant software on another workstation. When installing on Vista or Windows 7 with the User Account Control setting at the default level, you should run setup.exe as an Administrator user, even if you are not logged on as an Administrator. To do this, select setup.exe, right-click and then select the Run as administrator option. If not logged on as an Administrator, you will be prompted for Administrator credentials to allow you to continue the setup.

Setting up the Database Installing any database involves significant decisions regarding the size of the database, the maximum number of users, the frequency of automatic backups, and other important issues. Therefore, the following sections provide only suggestions for tuning your database configuration to work with SmartPlant software. The ultimate database creation and configuration depends on the policies and standards at your company. SmartPlant Engineering Manager includes a number of deferrable database constraints, which are rules used to ensure database integrity by checking values at the time the information is written to the database. If all of the information does not fall within these embedded constraints, the information is not written to the database, and the software rolls back the transaction. These deferrable database constraints are applied only when you use an Oracle database; SQL Server does not support them.

SmartPlant P&ID Installation and Upgrade Guide

37

Installing the Software

Loading SmartPlant P&ID Prerequisite Software Install any required prerequisite software which is not yet installed on your computer. The following software is required: ƒ Adobe Reader (required for viewing the Software License Agreement and Printable Guides). ƒ SmartPlant License Manager. ƒ Microsoft .NET Framework. ƒ Microsoft Office. (Microsoft Excel is required for working with report templates and for viewing the Installation Checklist and various other files.) ƒ SmartPlant 3D Piping Specification Remote Access Client. ƒ ƒ

Requirements may vary depending on your particular configuration. For details of the specific software versions that are compatible with your product and working environment, see SmartPlant P&ID Workstation (on page 14).

Install SmartPlant 3D Piping Specification Remote Access Client In order to use the Piping Specification utility with SmartPlant 3D, you must install the SmartPlant 3D Piping Specification Remote Access Client. 1. Insert the SmartPlant P&ID CD into the CD-ROM drive. 2. On the SmartPlant P&ID Installation screen, click Prerequisite Software. 3. Click SmartPlant 3D Piping Specification Remote Access Client Installation. 4. Follow the instructions to install the client software. 5. When the setup is complete, click Close to return to the list of prerequisite software.

Grant Permissions to Write to a Registry Key If you are installing over an older version of the SmartPlant software, you may receive an error during the installation process stating that setup does not have permission to modify one or more registry keys. This procedure explains how to grant write permissions to the registry keys. 1. Click Start > Run. 2. Type regedit.exe, and click OK. 3. In the left window, do one of the following: ƒ For a 32-bit machine, select the HKEY_LOCAL_MACHINE\Software\Intergraph\Applications registry key. ƒ For a 64-bit machine, select the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Intergraph\Applications registry key. 4. Right-click and select Permissions. 5. On the Permissions for dialog box, click Advanced. 6. At the bottom of the Advanced Security Settings dialog box, clear the option: Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here. 7. A security dialog box appears to verify your change. Click Remove.

38

SmartPlant P&ID Installation and Upgrade Guide

Installing the Software 8. Reselect the Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here check box. 9. Select the Replace permission entries on all child objects with entries shown here that apply to child objects check box.

Install SmartPlant Engineering Manager 1. Insert the product CD into the CD-ROM drive. If the installation does not start automatically, double-click setup.exe in the main folder. 2. Click SmartPlant Engineering Manager Installation. 3. Click Next to start the installation wizard. 4. Type your User Name, Company Name, and Serial Number, then click Next. 5. Verify your Name, Company, and Serial Number, then click Yes. 6. Click Display to view and read the license agreement. You must have Adobe Reader installed to be able to view the software license agreement. 7. Close the Adobe Reader window, then click Yes to accept the license agreement. 8. Specify the Destination Folder, then click Next. 9. Verify that the appropriate components are selected, then click Next. If you want to upgrade your SmartPlant Engineering Manager data, be sure that you select Upgrade Utility to install the SmartPlant Engineering Manager Upgrade Utility. For more information, see the SmartPlant Engineering Manager Upgrade Utility User's Guide. 10. Accept the default Program Folders or select a new Program Folder name, then click Next. 11. Review your Current Settings, then click Next to install SmartPlant Engineering Manager. 12. Click Finish to close the installation wizard. ƒ

ƒ

If you are reinstalling SmartPlant Engineering Manager, you must first remove the previous SmartPlant Engineering Manager installation using the Add/Remove Programs option in the Windows Control Panel. Be sure to apply all available SmartPlant Engineering Manager service packs for the version you are installing. For more information, please contact Intergraph Customer Support.

Install SmartPlant P&ID If you have not already installed and configured SmartPlant License Manager on your workstation, we recommend doing so before installing SmartPlant P&ID. SmartPlant P&ID requires the SmartPlant License Manager software for concurrent licensing for both the core SmartPlant P&ID product and for each manager. This licensing software is delivered on its own media. For more information about using and configuring concurrent licensing, refer to the SmartPlant License Manager Online Help. 1. Insert the SmartPlant P&ID CD into the CD-ROM drive. If the installation does not start automatically, double-click setup.exe in the main folder. 2. Click SmartPlant P&ID Installation. 3. Click Next to start the installation wizard. 4. Type your User Name, Company Name, and Serial Number, then click Next. 5. Verify your Name, Company, and Serial Number, then click Yes.

SmartPlant P&ID Installation and Upgrade Guide

39

Installing the Software 6. Click Display to view and read the license agreement. You must have Adobe Reader installed to be able to view the software license agreement. 7. Close the Adobe Reader window, then click Yes to accept the license agreement. 8. Specify the destination folder, then click Next. 9. Verify that the appropriate components are selected, then click Next. 10. Accept the default Program Folder or type a new Program Folder name, then click Next. 11. Review your Current Settings, then click Next to install SmartPlant P&ID. 12. Click Finish. ƒ

ƒ

ƒ ƒ

ƒ

40

If you do not plan to immediately make use of the system editing functionality introduced in SmartPlant P&ID Version 4.2, you must take steps to make the current version of the software behave more like Version 4.1, such as running the validation programs that are delivered with Version 4.1 instead of the new programs delivered with the current version. All validation programs that were configured for the plant before upgrading remain configured after upgrade. The Upgrade Utility does not change the ProgIDs of validation programs in the data dictionary. However, the uninstall and reinstall of the software on a client machine deletes the Version 4.1 validation programs if you do not take measures to avoid it. Before installing the current version of SmartPlant P&ID, the old validation programs delivered with Version 4.1 should be moved to a different folder so that when the Version 4.1 software is uninstalled, the old validation programs will not be deleted. When you install the Version 2009 software, the new validation programs are installed in their normal locations. After installing the Version 2009 SP 2 software, you must re-register the old Version 4.1 validation programs. For more information, see Running in Version 4.1 Compatibility Mode. Be sure to apply all available SmartPlant P&ID service packs for the version you are installing. For more information, please contact Intergraph Customer Support. If you try to install SmartPlant P&ID software when you do not have write permissions to the registry on the computer on which you are installing, the following warning message appears. For more information, see Grant Permissions to Write to a Registry Key (on page 38).

If Oracle software is not detected on the computer during the installation of SmartPlant P&ID, the following warning message appears:

SmartPlant P&ID Installation and Upgrade Guide

Installing the Software

ƒ

If you plan to use Oracle, click No to stop the installation process and install the Oracle software before you proceed further. If you are planning to use Microsoft SQL Server software, click Yes to continue with the installation process. The driver used for printing the PDF files, SmartPlant PDF Converter 302, is included in the SmartPlant P&ID installation. This printer is used for PDF generation and should not be removed or used for any other purpose. If you are unable to generate PDF files because this driver is missing, restore the driver by running the executable file InstallPDFConverter.exe, which is installed by default in the software installation folder path ..\SmartPlant\P&ID Workstation\Program\.

Uninstall a Previous Version of SmartPlant Engineering Manager 1. From the Windows Control Panel, select Add or Remove Programs. 2. Select Intergraph SmartPlant Engineering Manager and then click Remove. To uninstall a previous Service Pack, select the appropriate row in the Currently installed programs list. 3. In the Installation for SmartPlant Engineering Manager wizard, on the Welcome page, select Remove and then click Next. 4. At the message prompt to confirm removal of the software, click Yes. 5. On the Maintenance Complete page, click Finish.

Uninstall a Previous Version of SmartPlant P&ID 1. From the Windows Control Panel, select Add or Remove Programs. 2. Select Intergraph SmartPlant P&ID and then click Change/Remove. To uninstall a previous Service Pack, select the appropriate row in the Currently installed programs list. 3. In the Installation for SmartPlant P&ID wizard, on the Welcome page, select Remove and then click Next. 4. At the message prompt to confirm removal of the software, click Yes. 5. On the Maintenance Complete page, click Finish.

SmartPlant P&ID Installation and Upgrade Guide

41

Installing the Software

Installing SmartPlant P&ID in Silent Mode Silent mode installation is a two-stage process. First, you perform a normal installation by running the setup.exe file from the command line with special parameters that cause the software to record the installation session and the options you choose to a file with an .iss extension. Then, from any workstation, you can run setup in silent mode using the recorded .iss file to provide the necessary setup information. ƒ ƒ

ƒ

ƒ

You must restart your computer after running the recorded .iss file. Because SmartPlant P&ID installation requires SmartPlant License Manager software for concurrent licensing, you must install the SmartPlant License Manager software on your workstation prior to creating a silent setup of SmartPlant P&ID and on each workstation where you will be silently installing SmartPlant P&ID. For more information about installing and configuring SmartPlant License Manager, see the SmartPlant License Manager Online Help. The environment of the machine on which you run the normal setup to create the .iss file and the environment of the workstations on which you perform the silent mode installation must be identical; that is, they must have the same operating system, database platforms, software versions, installed files, drive partitions, and so forth. You must also ensure that there is sufficient disk space on each workstation for the installation. Prior to creating a silent setup of SmartPlant P&ID over a network, ensure that the following conditions exist: ƒ For a new release, all previous existing versions of SmartPlant P&ID on the target machine have been uninstalled prior to network installation. ƒ The target machine does not have a directory by the same name to which SmartPlant P&ID is to be installed. ƒ The target machine meets the free disk space recommendations specified in SmartPlant P&ID Workstation (on page 14). ƒ All applications are closed.

Install SmartPlant P&ID in Silent Mode 1. Open a Command Prompt window from the Start menu. 2. At the command prompt, type: "\setup.exe" /r /f1"\.iss" Be sure the specifies the path to the folder that contains the setup.exe file that launches the SmartPlant P&ID InstallShield Wizard, not the setup.exe file that launches the SmartPlant P&ID AutoPlay executable. For example, on the SmartPlant P&ID media, the setup.exe file in the P&ID folder is the file that launches the InstallShield Wizard. Double quotes are required only if the path to the setup.exe file contains spaces. ƒ ƒ

42

The /r parameter tells the setup to automatically generate the silent setup file (.iss), and to record all setup input. The /f1"\.iss" parameter specifies the path and filename for the silent setup file. The double quotes are required around this path, with no space between the /f1 and the opening double quotes. For example, if you type the following command string, the software places the resulting .iss file in the c:\installfiles folder \\sourceserver\sppid\setup.exe /r /f1"c:\installfiles\silentsetup.iss".

SmartPlant P&ID Installation and Upgrade Guide

Installing the Software 3. Work through the standard software installation on your database platform. For details, refer to the appropriate procedure in the SmartPlant P&ID Installation and Upgrade Guide. When you click Display on the License Agreement dialog box while running setup in record mode, the following message appears.

Click OK to acknowledge that you are accepting the license agreement for all users on whose computers you will install the product. Setup then returns you to the normal installation process by displaying the license agreement and enabling the Yes button on the License Agreement dialog box. 4. At each workstation on which you want to install the software, open a Command Prompt window and type: "\setup.exe" /s /f1"\.iss" /f2"\.log" ƒ ƒ

Be sure to use the same setup executable that you used in step 2 above. The environment of the machine on which you run the normal setup to create the .iss file and the environment of the workstations on which you perform the silent mode installation must be identical; that is, they must have the same operating system, database platforms, software versions, installed files, drive partitions, and so forth.

ƒ ƒ

The /s parameter tells the setup to run in silent mode using the indicated .iss file. The /f1"\.iss" parameter specifies the path and the filename for the silent setup (.iss) file you want to run. The double quotes are required, with no space between the /f1 and the opening double quotes. For example, /f1"c:\installfiles\silentsetup.iss". ƒ (Optional) Use the /f2"\.log" parameter to record a log file of the setup process. The double quotes are required, with no space between the /f2 and the opening double quotes. For example, /f2"c:\installfiles\silentsetup.log". If /f2 is not defined, a log file is created in the same location as the .iss file. 5. Check the .log file to ensure that the installation proceeded without errors. A successful silent installation produces a .log file looking something like this: [InstallShield Silent] Version=v7.00 File=Log File [ResponseResult] ResultCode=0 [Application] Name=SmartPlant P&ID Version=2009 (xx.xx.xx.xx) Company=Intergraph Lang=0009 In general, if an error occurred, the ResultCode will be a number less than zero. Possible result codes include the following:

SmartPlant P&ID Installation and Upgrade Guide

43

Installing the Software Any value greater than 0 = Success. -1

General error

-2

Invalid mode

-3

Required data not found in the Setup.iss file

-4

Not enough memory available

-5

File does not exist

-6

Cannot write to the response file

-7

Unable to write to the log file

-8

Invalid path to the InstallShield Silent response file

-9

Not a valid list type (string or number)

-10

Data type is invalid

-11

Unknown error during setup

-12

Dialog boxes are out of order

-51

Cannot create the specified folder

-52

Cannot access the specified file or folder

-53 Invalid option selected 6. Restart the computer. This procedure also applies to the uninstall operation. The uninstall procedure should use the same command and procedures as for the installation, both for the record mode and for each workstation mode; however, you should specify a different name for the .iss file so as not to overwrite the file used for the installation.

44

SmartPlant P&ID Installation and Upgrade Guide

SECTION 7

Configuring Reference Data for SmartPlant P&ID SmartPlant Reference Data for P&ID contains the symbols, rules, labels, styles, templates, insulation specification and other information that you use to create a P&ID. The default location for the reference data is ..\SmartPlant\P&ID Reference Data. If the reference data is located elsewhere, use SmartPlant P&ID Options Manager to identify the location of symbols, rules, labels, and other reference data for the application. You can also define symbology for graphics, default formats for data, and key distances that affect the behavior of the application. Usually, a project manager sets these options at the beginning of a project. The project manager seldom modifies these options except on rare occasions when project requirements dictate a change. For more information about using SmartPlant P&ID Options Manager, see Customizing Your Reference Data (on page 107). ƒ

ƒ

You no longer need to set the default data locations in Options Manager before creating a P&ID in SmartPlant Drawing Manager. These locations are set at the time of plant structure creation. The drawing template path should be set to the correct node name and share name so that the software can locate the templates for P&ID creation. For the correct share name, see Install SmartPlant Reference Data (on page 45). For a configuration in an integrated environment, be sure the Integration Resource Path setting in Options Manager points to the Integration Resource Files installed with the SmartPlant P&ID Reference Data.

Install SmartPlant Reference Data 1. Insert the product CD into the CD-ROM drive. If the installation does not start automatically, double-click setup.exe in the main folder. 2. Click SmartPlant Reference Data for P&ID Installation. 3. Click Next to start the installation wizard. 4. Click Display to view and read the license agreement. You must have Adobe Reader installed to be able to view the software license agreement. 5. Close the Adobe Reader window, then click Yes to accept the license agreement. 6. Type your User Name and Company Name, then click Next. 7. Specify the Destination Folder, then click Next. 8. Verify that the appropriate components are selected, then click Next. ƒ

For a configuration in an integrated environment, be sure to install the Integration Resource Files during reference data installation. ƒ After installation, be sure the Integration Resource Path setting in Options Manager points to this folder. 9. Review your Current Settings, then click Next to install the reference data. 10. Click Finish to close the installation wizard.

SmartPlant P&ID Installation and Upgrade Guide

45

Configuring Reference Data for SmartPlant P&ID 11. After installation, share the folder that contains the reference data. All SmartPlant users must be granted read permission to this share. Write permission to the share is required to make changes to the symbols, rules, templates, and other reference data. We recommend that you make a copy of the reference data and store it with your plant files. This common practice will help you with future service pack installations, data recovery, and so forth.

46

SmartPlant P&ID Installation and Upgrade Guide

SECTION 8

Working in Thin Client Mode You can use SmartPlant P&ID in thin client mode, which supports Citrix Presentation Server or Microsoft Terminal Server using Remote Desktop for Administration. For installation details of Citrix Presentation Server client / server or Microsoft Terminal Server, refer to the appropriate software vendor's documentation. When working in an integrated environment, thin client mode operation is used as the means of providing Workshare. ƒ

ƒ

When you access the SmartPlant P&ID application via Citrix, we strongly recommend that you do not perform any administration activities that run automatically for a long time on a client machine. When you execute administration activities via Citrix client, the software actually performs these activities on the server side, while the client remains idle, and the connection to Citrix is lost, possibly resulting in corruption of data. Examples of these types of administration activities are: upgrading the database to a new version or importing a large number of drawings. As a workaround, we recommend that you perform these kinds of activities either on your database server machine or on a client machine using a configuration other than Citrix. When using thin client mode, all users share a common database, resulting in intellectual property being shared between all sites.

Comparison of Thin Client Mode and SmartPlant P&ID Workshare For data sharing between sites, you can use SmartPlant P&ID's Workshare functionality or you can run SmartPlant P&ID in thin client mode using Citrix Presentation Server or Microsoft Terminal Server.

Using SmartPlant P&ID Workshare Users on the host and on each satellite work in separate databases. This means that it is possible to segregate intellectual property between sites by transferring only the data that needs to be shared. When using Workshare, it is necessary to update reference data at remote locations and to move data between sites.

Using Thin Client Mode All users share a common database, so that there is no need to update reference data at remote locations or to move data between sites.

SmartPlant P&ID Installation and Upgrade Guide

47

Working in Thin Client Mode

Tuning the Software for Use in Thin Client Mode The following procedures describe special instructions for the installation of SmartPlant P&ID when working in thin client mode using Citrix Presentation Server 4.5 on Windows 2003 Server. Tuning SmartPlant P&ID involves performing the following operations: ƒ Installing SmartPlant P&ID on a Citrix Presentation Server. ƒ Creating Global Objects. ƒ Publishing the SmartPlant P&ID program to enable it to be viewed on a web page or in a published Citrix application list.

Create Global Objects In order to run SmartPlant P&ID via Citrix using Oracle, users or groups that will be using SmartPlant P&ID are required to be included in the "Create Global Objects" policy security setting. 1. In Windows, open Control Panel. 2. Do one of the following: ƒ In Vista or Windows 7, click Administrative Tools. ƒ In Windows XP, click Performance and Maintenance > Administrative Tools. 3. Double-click the Local Security Policy icon. 4. In the left pane of the window that opens, expand the hierarchy Local Policies > User Rights Assignment. 5. In the right pane, double-click Create global objects. 6. On the Create global objects Properties dialog box, click Add User or Group. 7. On the dialog box that opens, add the users or groups that will be using SmartPlant P&ID.

Publish the SmartPlant Application using Citrix Presentation Server You need to publish the application to allow you to view the data using a web page. You must perform this procedure for each SmartPlant P&ID executable file for which you want to view data; for example, the SmartPlant P&ID program (SmartPlantPID.exe), Drawing Manager (DrawingManagerEXE.exe), Options Manager (Options Manager.exe), Rule Manager (Rule Manager.exe), and so forth. 1. On the Start menu, click Programs > Citrix > Metaframe Presentation Server to start the Citrix Management Console. The names of dialog boxes may vary from the ones described in this document according the version of Citrix Presentation Server that you are using. 2. Click Action > New > Published Application. 3. In the Published Application wizard, type a display name such as SmartPlant P&ID, and an application description, and then click Next. 4. On the Specify What to Publish page, do the following: a. Click the Application option button (the default). b. Beside Command Line, click Browse to navigate to the SmartPlant P&ID executable file location. c. Click Next.

48

SmartPlant P&ID Installation and Upgrade Guide

Working in Thin Client Mode 5. On the Program Neighborhood Settings page, if desired, define a program neighborhood folder and add shortcuts for the clients, and then click Next. 6. On the Specify Application Appearance page, specify the window size, color, and start-up settings according to your needs, and then click Next. 7. On the Specify ICA Client Requirement page, accept the default value, and then click Next. 8. On the Specify Servers page, add the Citrix server and then click Next. 9. On the Specify Users page, add the user accounts that are to be granted access to the published application and then click Finish. 10. After publishing the application, do the following to create the .ica and .html files: a. On the Citrix Management Console, select the SmartPlant P&ID application, right-click, then click Create ICA File and follow the wizard instructions. b. On the Citrix Management Console, select the SmartPlant P&ID application, right-click, then click Create HTML File and follow the wizard instructions.

Publish the SmartPlant Application using XenApp You need to publish the application to allow you to view the data using a web page. You must perform this procedure for each SmartPlant P&ID executable file for which you want to view data; for example, the SmartPlant P&ID program (SmartPlantPID.exe), Drawing Manager (DrawingManagerEXE.exe), Options Manager (Options Manager.exe), Rule Manager (Rule Manager.exe), and so forth. 1. Open the Citrix Delivery Services Console. 2. Under your farm, click Applications.

SmartPlant P&ID Installation and Upgrade Guide

49

Working in Thin Client Mode 3. Click Action > Publish application.

4. On the Publish Application wizard Welcome page, click Next. 5. On the Name page, enter values for Display name and Application description, and then click Next.

6. On the Type page, choose the application type options as follows: a. Click the Application option button (the default).

50

SmartPlant P&ID Installation and Upgrade Guide

Working in Thin Client Mode b. Under Application type, click Accessed from a server. c. From the Server application type list, select Installed application.

d. Click Next.

SmartPlant P&ID Installation and Upgrade Guide

51

Working in Thin Client Mode 7. On the Location page, under Command line, click Browse and navigate to the executable (.exe) file for the application being published, and then click Next.

8. On the Servers page, do the following: a. Click Add. b. On the Select Servers dialog box, select Servers. c. Select the Include subfolders check box.

52

SmartPlant P&ID Installation and Upgrade Guide

Working in Thin Client Mode d. Click Add All.

SmartPlant P&ID Installation and Upgrade Guide

53

Working in Thin Client Mode e. Click OK to return to the wizard Servers page.

f. Click Next. 9. On the Users page, add a domain user account that is to be granted access to the published application as follows: a. Click Add. b. On the Select Users or Groups dialog box, click Add List of Names. c. Enter names using the format user@domain.

54

SmartPlant P&ID Installation and Upgrade Guide

Working in Thin Client Mode d. Click Check Names to verify the entered names.

e. Click OK on the Account Names Checked verification message box. f. Click OK on the Add List of Names dialog box.

SmartPlant P&ID Installation and Upgrade Guide

55

Working in Thin Client Mode g. Click OK on the Select Users or Groups dialog box to return to the wizard Users page.

h. Click Next. 10. On the Shortcut presentation page, do the following: a. Click Change Icon to change the application icon if necessary.

56

SmartPlant P&ID Installation and Upgrade Guide

Working in Thin Client Mode b. Select options for application shortcut placement as desired.

c. Click Next.

SmartPlant P&ID Installation and Upgrade Guide

57

Working in Thin Client Mode 11. On the Publish immediately page, click Finish.

If successful, the application will appear under Applications. 12. Repeat the above steps for each application you want to publish.

58

SmartPlant P&ID Installation and Upgrade Guide

SECTION 9

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) SmartPlant Engineering Upgrade Utility Version 2009 SP5 upgrades the SmartPlant P&ID database from Versions 2009, 2009 SP1, 2009 SP2, or 2009 SP3 to Version 2009 SP4. ƒ

If you are upgrading from a SmartPlant P&ID database version earlier than 2009, you must first upgrade that database version to SmartPlant P&ID 2009 using Version 2009 of the Upgrade Utility, before upgrading to SmartPlant P&ID 2009 SP4. For more information, visit the Intergraph Customer Support (http://support.intergraph.com) Web site. ƒ SmartPlant Engineering Manager Version 2009 SP5 is compatible with SmartPlant P&ID software version 2009 SP4. ƒ Before using the new version of the software, we strongly recommend that you completely upgrade your plant and update all drawings to the current version. A plant with a mixture of upgraded and non-upgraded data may result in some data being permanently inaccessible. To upgrade, you must perform the following steps: 1. Correct Oracle database constraint violations using SmartPlant P&ID 2009. If you are working on a SQL Server platform, you can skip this step. 2. Upgrade the plant, project, satellite, and application database tables of SmartPlant P&ID 2009 using the SmartPlant Engineering Manager Upgrade Utility. 3. Open and then close Options Manager without running any commands. This action updates the RAD version for the ProjectStyles.spp file and as a result, changes the status of the Symbology for the drawings to 'Out-of-Date'. 4. Update drawings as needed using SmartPlant P&ID Drawing Manager 2009 SP4.

Correcting Database Constraint Violations Before you can begin upgrading, you must make sure the SmartPlant P&ID data stored in your Oracle database is compliant with the database constraints. To help you identify non-compliant data, use the Database Constraint Report.exe reporting utility delivered with your current version of SmartPlant P&ID before installing the latest version.

Tasks for correcting constraint violations 1. Make a complete backup of the data you are upgrading. 2. Generate a Database Constraint Exceptions Report. For more information, see Generate a Database Constraint Exceptions Report (on page 60). 3. Clean up the database by removing orphan model items. For more information, see Clean Data Utility (DelOrpModItems.dll) in the SmartPlant P&ID Utilities Guide. 4. Resolve constraint violations. For more information, see Constraint Utilities (on page 61). 5. Generate a database constraint exceptions report again.

SmartPlant P&ID Installation and Upgrade Guide

59

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) 6. Run the appropriate constraint utilities again if any exceptions still exist. 7. Continue running the database constraint report and the constraint utilities until no exceptions are reported. 8. Make a complete backup of the now compliant data. ƒ ƒ

If you are using Microsoft SQL Server, you can skip this database constraints process. For additional information on resolving discrepancies listed in the database constraint report, contact your custom service representative.

Generate a Database Constraint Exceptions Report Use SmartPlant P&ID or one of its manager applications to connect to the plant on which you want to run the Database Constraint Exception Report utility. If you use SmartPlant P&ID to connect to the plant, be sure to close all drawings before proceeding. 1. In the ..\SmartPlant\P&ID Workstation\Program folder, double-click the Database Constraint Report.exe file. 2. On the Database Constraint Exception Report Utility dialog box, click Connect to Active Plant.

3. 4.

5. 6. 7.

The utility runs the report on the active plant that you are connected to at the time. To run a report on another plant, connect to that plant using SmartPlant P&ID or one of its manager applications. After connecting to the database, click the Create Database Constraint Report button. This process may take several minutes, depending on the amount of data you have in your plant. When complete, the utility automatically saves a copy of the report in the temp directory under your user profile and displays the file name (plant name - ConstraintExceptions.xls) in the list box on the right side of the Database Constraint Exception Report Utility dialog box. Exit the Database Constraint Exception Report utility. Open the report using Microsoft Excel and save a copy of the report to another location other than the Temp folder. Review the completed report for discrepancies that must be resolved before you can upgrade to the new version of SmartPlant P&ID. We recommend running this utility again until no discrepancies are reported.

Microsoft Excel must be installed on any workstation from which you run the Database Constraint Exception Report utility.

Database Constraint Report Results The Database Constraint Report file is a Microsoft Excel file containing several worksheets. The first sheet in the report is the Report Progress Messages, which contains a list of the constraint checks made and the number of violations detected for each constraint check. Each violation type appears on its own worksheet, with the name of the constraint violation displayed on the worksheet tab. Each worksheet also contains a list of drawings containing constraint exceptions, along with the name of the recommended constraint utility (usually in cell B1) to use in resolving the violation. All constraint utilities (see "Using Constraint Utilities" on page 61), including the Clean Data utility (DelOrphModItem.dll), are run on an open drawing inside SmartPlant P&ID. However, unlike all the other constraint utilities that run on a drawing-by-drawing basis, the Clean Data utility runs

60

SmartPlant P&ID Installation and Upgrade Guide

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) on the entire plant data set. If Clean Data is used to resolve any particular constraint violation, a particular drawing will not be specified in the report for this constraint violation nor will a utility name be listed at the top of the worksheet.

Using Constraint Utilities Before running any of the constraint utilities recommended by the database constraint report, run the Clean Data utility inside a blank drawing, then run the Database Constraint Report.exe again. Running Clean Data first decreases the number of exceptions listed in the report and lessens the amount of further manual data cleanup required. For more information about running the Clean Data utility, see Clean Data (Delete Orphan Model Items) in the SmartPlant P&ID Utilities Guide. The remaining constraint utilities must be run from within specific drawings. These utilities are located in the ..\SmartPlant\P&ID Workstation\Program folder, along with the Clean Data (DelOrphModItems.dll) utility. Each plant may require a different set of utilities. Open each drawing listed in the database constraint report and run the recommended macros on the drawing. You need to run only the macros listed in the report for that particular drawing.

Constraint Utilities Delivered with SmartPlant P&ID, the following constraint utilities help you correct any database constraint exceptions reported in the database constraint exception report. In general, each utility attempts to repair the constrain violation. However, in some cases the violation cannot be cleaned up by the utility and the item is band-aided in the drawing. This situation is noted and logged in each utility's corresponding log file. For more information, see Constraint Utilities Log Files (on page 62). You must manually fix any band-aided item in a drawing by deleting the item and replacing it. If you have difficulty finding the band-aided items, click Tools > Options in SmartPlant P&ID, then select the Display as Printed option on the Options > General tab. cmdnotconnectedcomps.dll — Repairs items that have a relationship to a PipeRun or SignalRun (sp_piperunid or sp_signalrunid are not null), but are not referenced by a corresponding connector. If the relationship cannot be repaired, you must delete it and replace it. cmdLPCheck.dll — Checks for LabelPersist records pointing to a representation that does not exist. If the graphical label is watching a graphic, the database is updated to match, thus repairing the LabelPersist. If the label cannot be repaired, the utility band aids it. You should delete and replace these band-aided items. cmdRepOIDCheck.dll — Checks for symbol records with a null graphic OID. If the graphical symbol exists, the utility repairs the item by updating the database with its graphic OID value. If the graphical symbol does not exist, the utility sets the InStockpile flag = True to repair the item. ConnectorItem12.dll — Checks for connector records pointing to a symbol that does not exist. If the graphical connector is connected to a symbol, the utility repairs the connector by updating the database to match. If the connector cannot be repaired, the utility band aids it. You should delete and replace these band-aided items. OPCFK.dll — Checks for OPC records with a partner that does not exist. If the graphical OPC exists, fix it. You should delete these items. PointIndexCheck.dll — Checks for PipingPoint records and SignalPoint records with non-unique indices or point numbers, then repairs the item by deleting from the database whichever one of the duplicate points is not loaded into the cache.

SmartPlant P&ID Installation and Upgrade Guide

61

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) RelationshipOIDMacro.dll — Checks for relationship records with a null graphic OID. If the graphical relationship indicator exists, the utility repairs the item by updating the database with its graphic OID value. If the graphical relationship indicator does not exist, the utility deletes the relationship from the database. RepairBadConnector.dll — Checks for connectors with the same start and end objects and connectors with the wrong number of vertices. The utility band aids the graphical connector, which you should delete. RepairNullFileNameCmd.dll — Checks for LabelPersist records with a null file name value. ƒ If the number of LabelPersist records equals the number of SmartLabel objects locked to the watched symbol, the utility repairs the LabelPersist record by updating the filename value for the LabelPersist. ƒ If the number of LabelPersist records does not equal the number of SmartLabel objects locked to the watched symbol, then the utility band aids the watched symbol. You should delete band-aided items. ƒ For the remaining LabelPersist records with a null filename, if the graphic exists, the utility band aids it. You should delete band-aided items. If the graphic does not exist, the utility deletes the representation from the database. RepairOrphanedNozzleCmd.dll — Checks for the following situations. ƒ Nozzle records without a Parent — If the Nozzle graphic is not in the drawing, the utility repairs the nozzle by setting the Instockpile flag = True. If the Nozzle graphic is in the drawing, the utility tries to set either the SP_EquipmentID or SP_PartOfID based on the graphic relationship. The graphic parent must be an equipment or equipment component for the relationship to be re-established. If the relationship cannot be re-established, the utility band aids it. You should delete band-aided items. ƒ Nozzles associated via SP_EquipmentID to a Parent in the stockpile — If the Nozzle graphic is not in the drawing, the utility repairs the Nozzle by setting the Instockpile flag = True. If the Nozzle graphic is in the drawing, the utility band aids it. You should delete band-aided items. ƒ Nozzles associated via SP_PartOfID to a Parent in the stockpile — If the Nozzle graphic is not in the drawing, the utility repairs the Nozzle by setting Instockpile flag = True. If the Nozzle graphic is in the drawing, the utility band aids it. You should delete band-aided items. ƒ Nozzles that are a Part of a Run — The utility clears the SP_PartOfID attribute. If the Nozzle graphic is not in the drawing, the utility repairs the Nozzle by setting the Instockpile flag = True. If the Nozzle graphic is in the drawing, the utility band aids it. You should delete band-aided items.

Constraint Utilities Log Files Each constraint utility generates a log file, which records each action taken to correct the constraint violation. Log files are located at the path specified in your TEMP environment variable.

62

Constraint Utility

Log File

cmdnotconnectedcomps.dll

RepairNotConnectedComps.log

cmdLPCheck.dll

RepairBadEmbLabelCmd.log

cmdRepOIDCheck.dll

RepresentationOIDChecks.log

ConnectorItem12.dll

ConnectorItem12_Check.log

SmartPlant P&ID Installation and Upgrade Guide

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) Constraint Utility

Log File

DelOrpModItems.dll (CleanDB)

SPDelOrpModItems.log DBCleanup.txt

OPCFK.dll

OPC_OPC_FK.log

PointIndexCheck.dll

PointIndexConstraint_check.log

RelationshipOIDMacro.dll

RelationshipOID_Checks.log

RepairBadConnector.dll

RepairBadConnector.log

RepairOrphanedNozzleCmd.dll

RepairOrphanedNozzles_.pid.log

RepairNullFileNameCmd.dll

RepairNullFileNameCmd.log

Before Running the Upgrade Utility The following tasks must be completed before you begin upgrading your plant using the Upgrade Utility.

Back Up Your Data Before you upgrade, back up your existing site and plant data using the Backup and Restore functionality in SmartPlant Engineering Manager.

Share Paths to Site .INI Files The Upgrade Utility must be able to read the site INI file for the site containing the plants being upgraded. Create a UNC network share to the folder containing the site INI file and be prepared to provide this path during the upgrade process.

Set Oracle Parameters If you are using an Oracle database, you must modify the following parameters in the initsid name.ora file using Oracle Enterprise Manager before you begin your upgrade. After completing the upgrade process, reset these parameters to their original values. OPEN_CURSORS — Set to at least 500. You can use a higher number if necessary for other applications. SmartPlant uses open cursors to improve performance and scalability for database inserts, updates, and deletes. Hash Parameters — Provide extra memory for the Oracle hash procedure by setting the following hash parameters to the values shown below. The upgrade process runs much faster if the hash table fits in RAM, rather than being written to and read from the disk. Therefore, by providing extra memory for this procedure during the upgrade process, you can significantly reduce the time required. hash_join_enabled=true

True is the default setting. However, you should make sure the setting was not previously changed to False.

SmartPlant P&ID Installation and Upgrade Guide

63

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) hash_area_size=number

This setting determines how much RAM is available for use by the hash tables. The default value for hash_area_size is 131072, and the value you enter for number should be a multiple of this default value. The new value should be as large as possible without interfering with the needs of the operating system. A value of 1310720 (default x 10) would not be unreasonable for a server with a gigabyte or more of memory.

Memory Management Considerations Upgrading database information requires significant changes and, therefore, a significant amount of database server resources. For that reason, Intergraph makes the following recommendations. ƒ Upgrade only one plant at a time on a database server. ƒ As much as possible, limit other activity on the database server during the upgrade process. You should limit the use of SmartPlant applications on the server, as well as access to the database by other plants. ƒ The more database server resources available for upgrade, the faster the upgrade process will proceed. The more activity occurring on the database server during the upgrade process, the longer that process will take.

Using the SmartPlant Engineering Manager Upgrade Utility The SmartPlant Engineering Manager Upgrade Utility upgrades the plant and application databases to the latest version of the SmartPlant software. Version 2009 SP5 of the SmartPlant Engineering Manager Upgrade Utility allows you to upgrade plants created in SmartPlant Engineering Manager 2009 or a SmartPlant Engineering Manager 2009 Service Pack. The following table is a compatibility matrix of the most recent software versions. SmartPlant Engineering Manager

SmartPlant P&ID

SmartPlant Electrical

Version 2009

Version 2009

Version 2009

Version 2009 SP1

64

Version 2009 SP1

Version 2009 SP2

Version 2009 SP1

Version 2009 SP2

Version 2009 SP3

Version 2009 SP2

Version 2009 SP2 HF4

Version 2009 SP4

Version 2009 SP3

Version 2009 SP3

Version 2009 SP5

Version 2009 SP4

Version 2009 SP3, SP4

SmartPlant P&ID Installation and Upgrade Guide

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)

ƒ ƒ ƒ

ƒ

Before you can upgrade your plants, you must upgrade your site using SmartPlant Engineering Manager 2009 SP5. You are not required to upgrade all plants in a particular site at the same time. When upgrading from SmartPlant Engineering Manager 2007.x to 2009 SP5 where you intend to use the Windows 7 operating system, you must first install SmartPlant Engineering Manager 2009 on Windows XP or Vista and perform the upgrade from 2007.x to 2009 (including a plant and application upgrade). After that, you can upgrade the operating system to Windows 7, install SmartPlant Engineering Manager 2009 SP5 and perform the upgrade from 2009. On Windows 7, when installing SmartPlant Engineering Manager 2009 prior to upgrading to 2009 SP5, if you receive the following message, just click OK to continue.

The SmartPlant Engineering Manager 2009 SP5 installation will register the OCX file.

Upgrading Plants Containing Projects Running the Upgrade Utility on a plant containing projects upgrades both the plant and its projects at the same time. Each of the upgrade tasks handles any necessary changes in both the plant databases and the project databases.

Upgrading Satellites in a Workshare Collaboration You do not have to collapse or shut down projects or satellites in Workshare collaborations before upgrading. Upgrading a satellite is a separate process. The host for a connected satellite must be upgraded before the satellite.

Upgrading a Site When you open a site created in Version 2009 SP2 or earlier using SmartPlant Engineering Manager 2009 SP5, you are prompted to upgrade the site. Use the Upgrade Site command to perform the upgrade.

SmartPlant P&ID Installation and Upgrade Guide

65

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)

Upgrade a Plant It is not necessary to upgrade your plant if the plant version is 2009 or later. If your plant is in one of these versions, you can skip this procedure. For earlier versions of a plant, using SmartPlant Engineering Upgrade Utility 2009, follow this procedure to upgrade your plant to Version 2009. After you select the site containing the plants you want to upgrade, the SmartPlant Engineering Upgrade Utility displays a list of active plants that are available for upgrade. 1. Select a plant in the Tree view to see the available applications that can be upgraded for that plant.

2. Right-click the active plant and select Upgrade Plant from the shortcut menu. The utility moves the plant from the Active plants node to the Upgrades in progress node and displays the list of upgrade tasks required to upgrade the selected plant.

3. Right-click in either pane and on the shortcut menu, click Finish All Tasks to complete the plant upgrade.

66

SmartPlant P&ID Installation and Upgrade Guide

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) After the plant is upgraded, the utility moves it back under the Active plants node and updates the plant status in the Upgrade Tasks pane to Up-to-date.

Upgrade SmartPlant P&ID 1. Select the plant in the Active Plants node, right-click and select the Upgrade P&ID command.

2. The utility moves the plant from the Active Plants node to the Upgrades in progress node and displays the list of upgrade tasks required to upgrade the P&ID application.

SmartPlant P&ID Installation and Upgrade Guide

67

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) 3. Right-click in either pane and on the shortcut menu, click Finish All Tasks to complete the application upgrade.

4. After the application is upgraded, the utility moves the plant back under the Active plants node and updates the application status in the Upgrade Tasks pane to Up-to-date.

All drawings in the upgraded plant will be out-of-date because of select lists and formats. These drawings must be updated using the Update Drawings command in Drawing Manager.

See Also Finish Next Task Command (File Menu) (on page 69) Run to Selected Task Command (File Menu) (on page 69) Upgrade P&ID Command (Upgrade Menu) (on page 70)

Upgrade Utility Commands The Upgrade Utility provides the following commands.

68

SmartPlant P&ID Installation and Upgrade Guide

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)

Open Site Command (File Menu) Allows you to select another site containing other plants you want to upgrade.

Finish Next Task Command (File Menu) Runs the first incomplete task in the Upgrade Tasks pane. The status of each task appears in the Status column. The Upgrade Utility records how far it progresses during an upgrade task so that it can recover if system problems occur.

Finish All Tasks Command (File Menu) Runs all incomplete tasks listed in the Upgrade Tasks pane. The status of each task appears in the Status column. The Upgrade Utility records how far it progresses during an upgrade task so that it can recover if system problems occur.

Run to Selected Task Command (File Menu) Runs all incomplete tasks up to and including the selected task. The status of each task appears in the Status column in the Upgrade Tasks pane. The Upgrade Utility records how far it progresses during an upgrade task so that it can recover if system problems occur.

Show Log Command (File Menu) Displays the upgrade log file. ƒ ƒ

The upgrade log file contains a list of all changes made during the upgrade, including each upgrade subtask. The log file, named UpgradeV600_plant name.log, is saved in the folder where the drawings for the plant are stored.

Upgrade Plant Command (Upgrade Menu) Displays the upgrade tasks required for the plant upgrade process. On choosing this command, the utility moves the plant from the Active plants node to the Upgrades in progress node and displays the list of upgrade tasks required to upgrade the selected plant. Click File > Finish All Tasks to start the upgrade process. If you have not yet run a task, you can cancel the upgrade process by selecting the plant under the Upgrades in Progress node and clicking File > Cancel to restore the pre-upgrade state. ƒ

You must complete all upgrade tasks for a plant before you upgrade the reference data or drawings in the plant.

SmartPlant P&ID Installation and Upgrade Guide

69

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) ƒ

You cannot upgrade a backed-up plant without restoring it first.

ƒ

For a list of all changes made during the plant upgrade, including each upgrade subtask, see the plant upgrade log file. The log file, named UpgradeV600_plant name.log, is saved in the folder where the plant structure resides. To view the plant upgrade log file, select the plant in the Tree view, and then click File > Show Log.

ƒ

See Also Upgrade a Plant (on page 66)

Upgrade P&ID Command (Upgrade Menu) Displays the upgrade tasks required for the SmartPlant P&ID application upgrade process. Click File > Finish All Tasks to start the upgrade process. If you have not yet run a task, you can cancel the upgrade process by selecting the plant under the Upgrades in Progress node and clicking File > Cancel to restore the application to the pre-upgrade state. All drawings in the upgraded plant will be out-of-date because of select lists and formats. These drawings must be updated using the Update Drawings command in Drawing Manager.

See Also Upgrade SmartPlant P&ID (on page 67)

After Running the Upgrade Utility After you complete all of the upgrade tasks for a plant, make a full backup of the upgraded databases. You should also use the Oracle analyzer scripts to optimize your databases.

Backup Each Upgraded Plant After you have completed the upgrade process for each plant, you should do the following: 1. Set the backup location for the plant in SmartPlant Engineering Manager and perform a full backup. For more information about backing up a plant, see the Backup and Restore section in the SmartPlant Engineering Manager Help. 2. Perform a complete database backup. 3. Perform a file system backup to archive the drawings, reference data, and other files.

Use Oracle Analyzer Scripts The Oracle performance tuning documentation recommends analyzing the database objects after a large number of records have been added. These analyzer scripts collect statistics and store them internally in the database to determine potential execution paths so that the one with the lowest cost can be selected for use. After the upgrade, you should add these scripts to your nightly backup routine.

70

SmartPlant P&ID Installation and Upgrade Guide

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)

Preserve Software Customizations The Upgrade Utility does not make changes that might overwrite user customization of display names, property formats, calculation programs, validation programs, or layouts. A data dictionary change made during an upgrade can cause layouts that use PipingPoint properties to have an incorrect caption or column heading. None of the default layouts delivered during installation include PipingPoint properties. However, if you added these properties to one of the default layouts or created a new layout with PipingPoint properties, you can manually revise the captions for any layouts that use PipingPoint properties after you upgrade by doing the following: 1. Open SmartPlant P&ID. 2. In the list on the Engineering Data Editor toolbar, select the saved view that contains PipingPoint properties. 3. 4. 5. 6.

menu and select Edit View. In the Engineering Data Editor, click the View On the Table Properties dialog box, click Advanced. Click the Layout tab. In the Display Property list, select the PipingPoint property.

PipingPoint properties start with the word End, such as End, End 2, End 3, and End 4. 7. Confirm that the caption is appropriate for the property. 8. If you need to modify the caption, make changes in the Caption box at the bottom of the Advanced Table Properties dialog box.

Making Manual Changes After running the Upgrade Utility, you must still perform the following changes manually for the current version of SmartPlant P&ID: ƒ Opening and saving the rules file so that the new rule options are added to the Rules.rul file. ƒ Possibly copying any new or modified symbols from ..\SmartPlant\P&ID Reference Data to the plant's reference data, making sure that you do not overwrite any customizations.

Upgrading Reference Data Reference data often changes between versions of the software. These changes can include deletions and additions to reference data, as well as modifications to existing data formats and locations. After you upgrade your plant data using the SmartPlant Engineering Upgrade Utility, you can use the Upgrade Reference Data command in SmartPlant P&ID Options Manager to upgrade styles, template files, symbols, and assemblies.

User Access Before you can upgrade the reference data and drawings for an upgraded plant, you must define user access for the plant in SmartPlant Engineering Manager. For more information about defining user access, see the SmartPlant Engineering Manager User's Guide. ƒ ƒ

After you upgrade reference data, you cannot view it in earlier versions of the software. For information about changes made during the reference data upgrade, see the V4RefDataUpgrade.log file. This log file is saved in the folder where the symbols are stored. For more information about upgrading reference data, see SmartPlant P&ID Options Manager Help.

SmartPlant P&ID Installation and Upgrade Guide

71

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)

Upgrade Reference Data 1. Click Start > Programs > SmartPlant P&ID > Options Manager. 2. Select the site and plant for which you want to upgrade reference data. 3. Click Tools > Upgrade Reference Data. A splash screen displays, then a message box informs you when the upgrade operation successfully completes.

4. Click OK. ƒ ƒ ƒ

After you upgrade reference data, you should not view it in earlier versions of the software. For information about changes made during the reference data upgrade, see the V4RefDataUpgrade.log file. This log file is saved in the folder where the symbols are stored. For more information about upgrading reference data, see SmartPlant P&ID Options Manager Help.

Updating Drawings Changes are often made to the SmartPlant P&ID reference data while work is being managed on the P&IDs. When these changes are made, they apply to all drawings items after the time of change, but do not apply to existing drawing items. The Update Drawings functionality (provided by the set of Out-of-Date Drawings commands in Drawing Manager) allows you to manage which drawings are updated with the latest reference data changes by defining values that define out-of-date drawings criteria and by resolving any symbols that have been deleted, moved, or renamed. You can also schedule these update operations and create reports. For more information about this functionality, see the Drawing Manager Help. ƒ

Using the Update Drawings functionality is not required as part of the upgrade process, but it is strongly recommended. ƒ After upgrading to the latest version of SmartPlant P&ID, opening Options Manager for the first time updates the RAD version for the ProjectStyles.spp file and as a result, changes the status of the Symbology for the drawings to 'Out-of-Date'. For this reason, after upgrading SmartPlant P&ID, you should open and close Options Manager once before updating your drawings using SmartPlant P&ID Drawing Manager. When you submit a selection of P&IDs to the Out-of-Date Drawings > Update command, Drawing Manager analyzes the drawing for changes to the following: ƒ Data Dictionary (select lists) ƒ Formats ƒ Symbols (moved and missing symbols, and changes to the .sym file)

72

SmartPlant P&ID Installation and Upgrade Guide

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) ƒ Rules Manager ƒ Options Manager (heat tracing, gapping, and symbology) ƒ Model Items (via Llama) ƒ OPCs (moved) ƒ Drawings in a Re-create state ƒ Drawing Properties After this analysis process, a summary displays, listing the number of drawings selected, the number of out-of-date drawings, and the number of drawings with missing symbols. You must manually resolve the missing symbols using the Resolve Missing Symbols dialog box, which lists the symbols in question and allows you to define the new location of each symbol. In addition to the interactive approach of updating drawings, you can schedule the entire update process, except for the resolution of missing symbols, which is a manual process as described above. Reporting capability provides a summary of the selected drawings and the out-of-date criteria detected during the analyze step. This report format is non-configurable.

Update Command (File > Out-of-Date Drawings Menu) Displays the Update Drawings dialog box. When you select this command, the selected drawings are analyzed based on the out-of-date criteria and the results display on the Update Drawings dialog box. Update does not update any symbol whose definition has been changed into a break component. This situation occurs when you have a catalog item that has been placed in a drawing and then you change its definition to be a break component. The SmartPlant P&ID Replace command does not allow a non-breaking component to be replaced with a break component. The Update command relies on the SmartPlant P&ID Replace command to replace symbols that are out-of-date. Intergraph recommends that you backup your work or create a version of your work prior to using this command.

Total drawings selected — Displays the number of drawings selected. Report — Generates a Microsoft Excel report describing the details of out-of-date drawing(s).

SmartPlant P&ID Installation and Upgrade Guide

73

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) Out-of-date drawings — Displays the number of drawings that are out-of-date based on the criteria selected using the Out-of-Date Drawing Criteria dialog box. Resolve — Displays the Resolve Missing Symbols dialog box. Use this button to resolve any missing symbols. Drawings with missing symbols — Displays the number of out-of-date drawings containing symbols that do not exist in the catalog. If the path to your Rules file is set incorrectly in SmartPlant P&ID Options Manager, then the Update Drawings command will not work. For example, if the path is invalid, then all drawings in the project are in an out-of-date state but the software cannot update them. This error also occurs if the Catalog Explorer Root Path specified in SmartPlant P&ID Options Manager is invalid. An error message displays and the report displays Drawings with a ? in the criteria column have missing or incorrect reference data.

Resolve Command (File > Out-of-Date Drawings > Update Drawings Menu) Displays the Resolve Missing Symbols dialog box which provides a way for you to define any symbols that have been deleted, moved, or renamed. ƒ

In order to resolve any missing symbols, you must have an existing symbol in the catalog to define as the replacement for the missing symbol. ƒ You cannot resolve missing symbols for offline instruments of a different class using this command. Old Path - Displays the relative path of the missing symbol. New Path - Displays possible options for defining correct locations for the missing symbol(s). Drawings - Displays the list of drawings that contain the missing symbol(s).

74

SmartPlant P&ID Installation and Upgrade Guide

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)

See Also Update Command (see "Update Command (File > Out-of-Date Drawings Menu)" on page 73)

Out-of-Date Drawing Criteria Command (Tools Menu) Displays the Out-of-Date Drawing Criteria dialog box, from which you can define the criteria used to search for out-of-date values when you use the File > Out-of-Date Drawings commands.

Out-of-Date Drawing Criteria Dialog Box Allows you to define the criteria used to search for out-of-date values when you use the File > Out-of-Date Drawings commands.

Select out-of-date drawing criteria Select List Changes ƒ Data Dictionary Select List GUID on the drawing item is not equivalent to select list GUID in Data Dictionary. ƒ PID Select List GUID on the drawing item is not equivalent to the select list GUID in PID schema. Format Changes ƒ Formats GUID on the drawing item is not equivalent to Formats GUID from the Database. ƒ Default Formats GUID on the drawing item is not equivalent to Default Formats GUID in Option Manager setting. Out-of-Date Symbols — File Last Modified Time Stamp on at least one representation in the drawing is not equivalent to the File Last Modified Time Stamp on the corresponding symbol definition file. Missing Symbols — Filename specified for at least one representation in the drawing does not have the corresponding symbol definition file available in the current catalog. Rule Changes — Rules GUID on the drawing item is not equivalent to the GUID from the Rules file. Heat Trace Changes — Heat Trace GUID on the drawing is not equivalent to the Heat Trace GUID in Option Manager Setting.

SmartPlant P&ID Installation and Upgrade Guide

75

Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) Gapping Changes — Gapping GUID on the drawing item is not equivalent to the Gapping GUID in Option Manager Setting. Symbology Changes — Symbology GUID on the drawing item is not equivalent to the Symbology GUID in Option Manager Setting. Out-of-Date Model Items — SP_ModelItemTimeStamp for at least one representation in the drawing is not equivalent to the TimeStamp on the History Item of its Model Item. This criteria covers model items updated via Llama (Outside the drawing). Moved OPCs — MatingOPCPath (will have Drawing Id of its mate) on the OPC is not equivalent to the SP_DrawingId of its mate OPC. The OPC label is in a to-be-updated state as its mate has been moved. Recreate State — The drawing is in a re-create state. Drawing Property Changes — Property Changes GUID on the drawing item is not equivalent to Drawing Property Changes GUID on the drawing item. Drawing Property Changes GUID is set when drawing properties are modified from Drawing Manager.

76

SmartPlant P&ID Installation and Upgrade Guide

SECTION 10

Configuring SmartPlant Engineering Manager After installing the software and reference data, use SmartPlant Engineering Manager to create a site server and plant structures within the site, associate applications to the plant structure, and configure user access.

Working with Database Schemas The SmartPlant schemas are configured to use separate data dictionaries for SmartPlant Engineering Manager and each engineering application. While each application sees only the reference data that applies to it, each application shares some common SmartPlant Engineering Manager data. This configuration supports the requirement for distributed management of the relational database, supports navigation across application tables for read-only access, and supports integration of data across applications. A valid site with one plant consists of six database schemas when you use SmartPlant P&ID as your application, seven database schemas when you use SmartPlant Electrical, and nine database schemas if you use both applications concurrently. The plant structure schemas are shared between SmartPlant P&ID and SmartPlant Electrical. For example, in the following figure, the site server contains two plants, one with both SmartPlant P&ID and SmartPlant Electrical associated to it and the other with only the SmartPlant P&ID application associated.

SmartPlant P&ID Installation and Upgrade Guide

77

Configuring SmartPlant Engineering Manager The figure below shows the schemas that would exist in the database for this configuration example, assuming that both applications are in the same database instance. On a given database server, we recommend putting all plants in one database instance.

The majority of database activity occurs in the application schemas (SPPID Schema, SPPID Data Dictionary Schema, SPEL Schema, SPEL Data Dictionary Schema, and SPEL Reference Schema) since this is where the application data is stored. The plant schema contains the smallest amount of data compared with the other schemas.

Understanding Default Database User Names Oracle and SQL Server databases require user names and passwords for each of the schemas and data dictionaries created by the New Site Server, New Plant Structure, Load Plant Structure, New Project, and Associate Application wizards. SmartPlant Engineering Manager uses the formulas in the following table to generate default values for these user names.

78

Schema Type

Database User Name

Example

Site Schema

Name of the site

Site1

Site Data Dictionary

Site Schema user name + 'd'

Site1d

Plant Schema

Name of the plant

Plant1

Plant Data Dictionary Schema

Name of the plant + 'd'

Plant1d

P&ID Schema

Plant schema user name + 'pid'

Plant1pid

P&ID Data Dictionary Schema

Plant schema user name + 'pidd'

Plant1pidd

Electrical Schema

Plant schema user name + 'el'

Plant1el

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager Schema Type

Database User Name

Example

Electrical Data Dictionary Schema

Plant schema user name + 'eld'

Plant1eld

Electrical Reference Schema Electrical schema user name + 'ref'

Plant1elref

Satellite Plant Schema

Plant schema user name + 'sat' + satellite count

Plant1sat1

Satellite P&ID Schema

Satellite plant schema user name + 'pid'

Plant1sat1pid

Satellite Replication Schema Satellite plant schema user name + 'rep'

Plant1sat1rep

Project Schema

Plant schema user name + 'p' + project Plant1p1 count

Project P&ID Schema

P&ID schema user name + 'p' + project count

Plant1pidp1

Project Electrical Schema

Electrical schema user name + 'p' + project count

Plant1elp1

ƒ

ƒ ƒ

ƒ ƒ ƒ

The software sets the related password defaults for the above user name automatically to for Oracle and to + '1' for SQL Server. In the case of SQL Server 2005 running on Windows Server 2003, if you are using SQL Server authentication, you can specify that SQL Server 2005 is to use the password validation rules that are used by Windows Server 2003. Database usernames cannot start with a numeric digit and cannot contain any of the following characters: ~ ` ! % ^ & * ( ) - + = { } [ ] \ / ; : ‘ " < > , . ? | Oracle database user names are limited to 30 characters. Because site or plant names can be up to 64 characters long, the software uses only the first 12 characters of the name in creating the default database user names using the formulas above. The software removes all spaces or special characters in a site name before using that name to create a default database user name. Oracle database passwords cannot contain the characters: " ' @ SQL Server database passwords cannot contain the character: '

See Also New Site Server Wizard (on page 93) Associate Applications Wizard (on page 95)

SmartPlant P&ID Installation and Upgrade Guide

79

Configuring SmartPlant Engineering Manager

Working with Data Dictionaries SmartPlant Engineering Manager allows you to add or edit attributes in plant and application data dictionaries and then create data dictionary templates from the modified plant or application data dictionaries. You can then move the template to a new site and use it to populate a new plant or application schema. For example, you can make your plant customizations one time, create a template of that data dictionary, and then use that template in other sites, much like copying a plant from site to site, rather than having to perform the same modification steps at each site. Data dictionary templates are not database-specific. In other words, a given data dictionary template can be used in both Oracle and SQL Server environments. ƒ

ƒ ƒ

The data dictionary template file is a collection of all filters, plant group types, Options Manager settings, and other database-related items (anything that's not stored in external files, like Rules or Symbols). When using a data dictionary template to create a plant in another site, you must have the proper rules file (which relies on filters) to go with that template. Rules, insulation specification, symbols, and other file-based reference data are not included in data dictionary templates. In a Workshare collaboration, you cannot create a plant or application data dictionary template at a satellite site. You must create the templates at the host site. Data dictionary templates cannot be upgraded. However, you can use the Data Dictionary Template Comparison Utility to compare your existing template with the default template delivered with the latest version of SmartPlant Engineering Manager. For more information, see the SmartPlant Data Dictionary Template Comparison Utility User's Guide.

See Also New Data Dictionary Template Dialog Box (on page 82)

Data Dictionary Manager Command (Tools Menu) Starts Data Dictionary Manager, allowing you to or edit properties in the site and plant data dictionaries within the site. The specific data dictionary that opens depends on what was selected before invoking this command: ƒ To add or edit properties in the active plant database using the plant data dictionary, first select a named plant structure. ƒ To add or edit properties for plant group types using the site data dictionary, first select the Plant Group Types node. Attributes added to a plant group type using this method are not automatically included in the attributes for active plant group structures which use that plant group type. ƒ

ƒ

ƒ

To change between the site and a plant data dictionary, or between different plant data dictionaries, close Data Dictionary Manager, select the Plant Groups node or the desired plant structure and run the Data Dictionary Manager command again. After accessing Data Dictionary Manager from within SmartPlant Engineering Manager and making changes, you must either exit and restart SmartPlant Engineering Manager or reopen the site to see the changes from within SmartPlant Engineering Manager. Do not use Oracle reserved words (for example, "address") as property names.

See Also New Data Dictionary Template Dialog Box (on page 82)

80

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager

Create a Data Dictionary Template 1. Select the site, plant, or application from which you want to create the template and click Tools > New Data Dictionary Template. ƒ

To create a site data dictionary template, select the Site Server node view.

in the Tree

ƒ ƒ

in the Tree view. To create a plant data dictionary template, select the Plant node To create an application data dictionary template, select the Applications node in the Tree view and then select the application in the List view. 2. In the Template file box, browse to the path where you want the template file saved and then type a file name for the template file. 3. If you are creating an application template, type the Source name for the application data dictionary template. By default, this field displays the name of the source data dictionary template used to create the existing application data dictionary. ƒ

ƒ ƒ

Data dictionary templates cannot be upgraded. You cannot use a template created using an older version of SmartPlant Engineering Manager to create a site, plant, or application schema. Data dictionary templates are not database-specific. In other words, a given data dictionary template can be used in both Oracle and SQL Server environments. When using a data dictionary template to create a plant in another site, you must have the proper rules file (which relies on filters) to go with that template. Rules, insulation specification, symbols, and other file-based reference data are not included in data dictionary templates.

See Also Data Dictionary Manager Command (Tools Menu) (on page 80) New Data Dictionary Template Command (Tools Menu) (on page 81)

New Data Dictionary Template Command (Tools Menu) Generates a template .ddt file based on the selected site, plant, or application schema. Use this command to create a data dictionary template from a data dictionary that you have modified via the Tools > Data Dictionary Manager command. A site data dictionary template file contains all the information in the site schema including plant group types and hierarchy templates. A plant data dictionary template file contains all the information in the plant schema. The application data dictionary temple contains all filters, plant group types, Options Manager settings and symbology, and other database-related items (anything that's not stored in external files, like rules or symbols). ƒ

ƒ ƒ

Data dictionary templates cannot be upgraded. You cannot use a template created using an older version of SmartPlant Engineering Manager to create a site, plant, or application schema. Data dictionary templates are not database-specific. In other words, a given data dictionary template can be used in both Oracle and SQL Server environments. When using a data dictionary template to create a plant in another site, you must have the proper rules file (which relies on filters) to go with that template. Rules, insulation specification, symbols, and other file-based reference data are not included in data dictionary templates.

SmartPlant P&ID Installation and Upgrade Guide

81

Configuring SmartPlant Engineering Manager

See Also Data Dictionary Manager Command (Tools Menu) (on page 80) New Data Dictionary Template Dialog Box (on page 82)

New Data Dictionary Template Dialog Box Allows you to generate a template from an existing plant or application data dictionary.

Template file — Allows you to specify the path and file name for the new template. Source name — Available only when creating an application template, this field displays the internal name of the source data dictionary template used to create the existing application data dictionary. You can type a new name to be used in place of Imperial or Metric in the Plant Settings table in the plant schema.

See Also Data Dictionary Manager Command (Tools Menu) (on page 80) New Data Dictionary Template Command (Tools Menu) (on page 81)

Using Default Settings SmartPlant Engineering Manager allows you to predefine values for creating sites, plant structures, projects, and associating applications. Using these default settings simplifies the creation process and allows you to use the same settings across sites and plants. The values specified on the Default Settings dialog box are used by default only if you activate the Tools > Use Default Settings command.

See Also Default Settings Dialog Box (on page 83) Default Settings Command (Tools Menu) (on page 83) Use Default Settings Command (Tools Menu) (on page 83)

82

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager

Use Default Settings Command (Tools Menu) Allows you to toggle on and off using the predefined settings for populating the corresponding values in the New Site Server, New Plant Structure, and Associate Applications wizards.

See Also Using Default Settings (on page 82)

Default Settings Command (Tools Menu) Displays the Default Settings dialog box, which allows you to predefine settings for populating the corresponding values in the New Site Server, New Plant Structure, and Associate Applications wizards. These wizards use the values specified on this dialog box only if you turn on the Tools > Use Default Settings command.

See Also Use Default Settings Command (Tools Menu) (on page 83) Default Settings Dialog Box (on page 83) Using Default Settings (on page 82)

Default Settings Dialog Box Allows you to predefine values for populating the corresponding values in the New Site Server, New Plant Structure, and Associate Applications wizards. The default settings values are used by default only if you turn on the Tools > Use Default Settings command.

SmartPlant P&ID Installation and Upgrade Guide

83

Configuring SmartPlant Engineering Manager

Database Tab (Default Settings Dialog Box) Displays the database settings you can predefine for populating the corresponding values in the New Site Server and New Plant Structure wizards. Initially, the values specified during site creation populate this tab. You can modify these values for subsequent site or plant creations.

Oracle Select this option if you are using an Oracle database. This information is carried forward from the site properties, but you can modify it for subsequent plant creations. Oracle alias — Type the name of the Oracle net service alias used by the site in which the plant will be created. Refresh — Click this button to update the entries in the tablespace lists if you have changed the system user name or password entries. System user — Type a database system user name. This name does not have to be the database administrator user name, but this user must have the DBA role. System password — Type the system password. Oracle system passwords cannot contain any special characters other than: @ ('at' symbol), . (period), and _ (underscore). Oracle tablespace — Select a default Oracle tablespace name for your plant database. We recommend that you do not use SYSTEM for the default tablespace, because Oracle uses this tablespace for its own use. Oracle temp tablespace — Select a default Oracle temporary tablespace name for your plant database. If this list is empty, contact your database administrator.

84

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager

SQL Server Select this option if you are using a SQL Server database. This information is carried forward from the site properties, but you can modify it for subsequent plant creations. Server — Type the node name of the server on which the SQL Server database resides. Refresh — Click this button to update the database information if you have changed the system user name or password entries. System user — Type a database system user name. This name does not have to be the database administrator user name, but this user must have sysadmin privileges. Database user names cannot contain any of the following characters: ~ ` ! % ^ & * ( ) - + = { } [ ] \ / ; : ‘ " < > , . ? | For a SQL Server database, the period (.) is not allowed. System password — Type the system password. SQL Server database passwords cannot contain the character: '. Other special characters are allowed for system passwords.

Paths Tab (Default Settings Dialog Box) Displays the path settings you can predefine for populating the corresponding values in the New Site Server, New Plant Structure, and Associate Applications wizards. All paths, except Seed location, must be in UNC format.

Plant structure root directory — Specify the path to the storage location for the plant data and the drawing files. Folders for individual plant structures are automatically appended to this path as they are created. You must create the plant structure root directory and share it out before using these default settings during plant creation. Backup root directory — Specify the path to the shared storage folder for backing up the plant files. Folders for individual plant structures are automatically appended to this path as they are created. Seed location — Specifies the folder where all the templates are stored. The site administrator sets this path during installation.

SmartPlant P&ID Installation and Upgrade Guide

85

Configuring SmartPlant Engineering Manager

Plant Tab (Default Settings Dialog Box) Displays the plant settings you can predefine for populating the New Plant Structure wizard.

Data Dictionary source — Select the default source for the new plant data dictionary. Use default template — Select this option to create the plant data dictionary using the delivered template. Use custom template — Select this option to create the plant data dictionary using a custom template. Template path — Specify the path where the custom template file is located. This field is enabled only if the Use custom template option is selected. This path is limited to 255 characters and must be in UNC format. The software verifies that the specified template is of the proper template type. Data dictionary templates are not database-specific. In other words, a given data dictionary template can be used in both Oracle and SQL Server environments. For more information about using data dictionary templates, see Working with Data Dictionaries (on page 80). Hierarchy — Select the default hierarchy that you want to use for new plants. All currently defined hierarchies display in this list.

86

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager If you want to use a custom hierarchy, use the New Hierarchy Template dialog box to create it before using these default settings to create a plant structure. Hierarchies cannot be modified during plant structure creation. Hierarchy definition — Displays the plant breakdown structure items in the currently selected hierarchy. Show warning when hierarchy is not universally valid — Displays a warning when a plant hierarchy has less than three levels and therefore cannot be used with SmartPlant Instrumentation. Clear this check box if you do not want the warning to be displayed.

SmartPlant P&ID Tab (Default Settings Dialog Box) Displays the SmartPlant P&ID settings you can predefine for populating the corresponding values in the Associate Applications wizard.

Data Dictionary source — Select the default source for the SmartPlant P&ID data dictionary. Use default template — Select this option to create the SmartPlant P&ID data dictionary using the delivered template. Use custom template — Select this option to create the SmartPlant P&ID data dictionary using a custom template. Template path — Specify the path where the custom template file is located. This field is enabled only if the Use custom template option is selected. This path is limited to 255 characters and must be in UNC format. The software verifies that the specified template is of the proper template type. Data dictionary templates are not database-specific. In other words, a given data dictionary template can be used in both Oracle and SQL Server environments. For more information about using data dictionary templates, see Working with Data Dictionaries (on page 80). SmartPlant P&ID reference data path — Type or browse to the SmartPlant P&ID reference data path. This path is limited to 255 characters and must be in UNC format. System of units — Select the system used for displaying units in SmartPlant P&ID.

SmartPlant P&ID Installation and Upgrade Guide

87

Configuring SmartPlant Engineering Manager

Creating Network Shares Before using SmartPlant Engineering Manager, you must create the following network shares. The paths to these shares are needed while running the various wizards in SmartPlant Engineering Manager.

Site Server Share Create a share on the SmartPlant Engineering Manager (server) workstation to hold the site's SmartPlantV4.ini file. This share can be on the same computer as SmartPlant Engineering Manager or on a different machine. Because you can have several sites (different SmartPlantV4.ini files) on one computer, you must create separate shares for each site. All SmartPlant users must be granted read permissions on a site share (the site administrator group needs to be granted read and write permissions). You will need this share name to create the site later.

Role Template Share Create a share on a server to hold the role templates you create for use with SmartPlant Engineering Manager. These templates are standard sets of rights and privileges that you can grant to user groups, without having to define the rights each time. This share can be on the same server as SmartPlant Engineering Manager or on a different server. Only administrators responsible for the creation of sites, plants, user groups, and assigning user access require read and write permissions to this share. You must specify this location during site creation, or your role templates will not be available for selection.

Backup Location Shares Create shares to hold the backup data for the site and for each plant structure. These shares can be on the same server as SmartPlant Engineering Manager or on a different server. We recommend using a separate server for backups. SmartPlant users who will be doing backups must be granted read and write permissions on these shares. You will need these share names to create the site and plants later. You must create backup shares for each plant structure you create.

Site Administrator User Group During site creation, you are asked to specify the user group that you want to have site administrator privileges. The group you specify will then possess a set of unique rights that cannot be granted to any other role. These rights include creating plant structures, creating and modifying hierarchies, creating and modifying plant group types, enabling and creating projects, and so forth. Site administrators can see all plant structures in the site and have full access to them. Site administrator privileges do not extend to the individual engineering products. The following tasks must be completed before a user group can be used as the site administrator group: 1. Create the user group using the administrative tools on your computer. 2. Verify that the users you added to the group created above are also members of the local Administrators group on the computer where SmartPlant Engineering Manager is loaded.

88

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager 3. Grant network access privileges to the user group you just created using administrative tools on your computer. ƒ

ƒ ƒ

For more information about how SmartPlant Engineering Manager applies user access and site administration privileges, see User Access (see "Change the Site Administrator User Group" on page 91). All users in Groups other than the Administrators group must have Read/Write access to the folder where SmartPlant Engineering Manager is installed in order to use the software. You can change the user group assigned as the site administrator group after site creation. For more information, see Change the Site Administrator User Group (on page 91).

Create a User Group Before creating a site server, you must create, on the computer that will house the site smartplantv4.ini file, a local users group containing the users you want to have site administration privileges. For example, to create a group named SiteAdmins on a Windows 2003 server, use the following steps. 1. From the Windows Control Panel, select Administrative Tools > Computer Management. 2. Select System Tools > Local Users and Groups. 3. Select Groups in the Tree view, right-click and on the shortcut menu, select the New Group command. 4. On the New Group dialog box, type the name and description for the new group.

SmartPlant P&ID Installation and Upgrade Guide

89

Configuring SmartPlant Engineering Manager 5. Click Add and, from the Select Users, Computers or Groups dialog box, select users to add to the new group. Each user added to this group must be a Windows domain user.

6. Click Create to create the new group. The new SiteAdmins group should appear in the list of groups.

Add Users to the Administrators Group 1. On the Local Users and Groups dialog box, double-click the Administrators group.

90

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager 2. On the Administrators Properties dialog box, click Add.

3. Add the same users to this group that you added to the SiteAdmins group in the section above. All users in Groups other than the Administrators group must have Read/Write access to the folder where SmartPlant Engineering Manager is installed in order to use the software.

Grant Network Access Privileges Complete the following steps to grant the Right to access this computer from the network local policy to the SiteAdmins group you just created. 1. From the Windows Control Panel, select Administrative Tools > Local Security Policy. 2. On the Local Security Settings dialog box, select the User Rights Assignment local policy, and double-click the Access this computer from the network policy.

3. On the Local Security Setting dialog box, click Add User or Group and browse to the group you created above (for example, SiteAdmins).

Change the Site Administrator User Group 1. Select the site node in the Tree view. 2. Right-click and select Properties. 3. On the General tab on the Site Properties dialog box, click the Browse button next to the Site administrator user group box.

SmartPlant P&ID Installation and Upgrade Guide

91

Configuring SmartPlant Engineering Manager 4. On the New Site Administrator dialog box, define the following properties: ƒ Use local machine and domain groups — Select this option to choose an existing user group or domain that is accessible from your machine. ƒ Use site server and domain groups — Select this option to choose a user group or domain that is accessible from the site server machine. ƒ

, and select the user group to which you want Role name — Click the Browse button to assign site administrator privileges. ƒ Role description — (Optional) Type a descriptive note about the user group you selected, such as noting that this group is assigned site administrator privileges. If a description was defined when the group was created, it appears by default. 5. Click OK on the New Site Administrator Group dialog box. 6. Click OK on the Site Properties dialog box to complete the change. ƒ

ƒ

You must have Site Administrator privileges to change the Site Administrator User Group. You (or the person who changes the Site Administrator User Group) retain Site Administrator privileges until you either select a new site or you restart the software. However, if you are also a member of the user group now assigned Site Administrator privileges, you will retain your Site Administrator privileges. When the Site Properties dialog box is dismissed, the software checks to see if the Site Administrator User Group has changed and, if so, replaces the group in the T_Roles table and the users in the T_RoleUsers group. If any error occurs or the same group is selected, no changes occur.

See Also New Site Administrator Group Dialog Box (on page 92)

New Site Administrator Group Dialog Box Displays when you click the ellipsis button beside the Site administrator user group box on General tab of the Site Properties dialog box, allowing you to change the user group assigned administrator privileges for the site.

Use local machine and domain groups — Use this option when you want to choose an existing user group or domain that is accessible from your machine.

92

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager Use site server and domain groups — Use this option when you want to choose a user group or domain that is accessible from the site server machine. Role name — Click the ellipsis button to open the Select Group dialog box and then select the Windows user group you want to assign to this new role. The name of the SmartPlant role will be the same as the name of the selected user group. To quickly find the user group in your domain, you can type a partial name in the Enter the object name to select field and click Check Names. If, after clicking Check Names, the partial name you typed corresponds to a unique name of a user group, the full user group name is displayed. If the partial name corresponds to a string for more than one user group, the Multiple Names Found dialog box opens, from which you can select a user group. If the partial name does not correspond to a string in any user group, a message is displayed. Role description — Type a descriptive note about the role that you are creating. You can make notes that indicate the privileges assigned to the group. If a description was defined when the group was created, it appears by default.

See Also SmartPlant Engineering Manager Rights (on page 98) Change the Site Administrator User Group (on page 91)

New Site Server Wizard The New Site Server wizard steps you through creating a site schema and site data dictionary to hold the database connection information for your site. To start the New Site Server wizard, select Create a new site from the Site Server Options dialog box, which appears when you run SmartPlant Engineering Manager for the first time. You must provide the following information as you step through the wizard. Data Dictionary Source — Specifies whether the data dictionary for the new site will be built from the default template or a custom template. You must specify the path to the location of the seed files. Data dictionary templates are not database-specific. In other words, a given data dictionary template can be used in both Oracle and SQL Server environments. For more information about using data dictionary templates, see Working with Data Dictionaries (on page 80). Paths — Consists of naming the new site and specifying Universal Naming Convention (UNC) paths to the site server, backup shares, and template locations. Database Connection Information — Allows you to specify the alias or database node and system password for the database containing the site data. When creating a site on a SQL Server platform, do not use a database name that contains any of the following characters: ~ ` ! % ^ & * ( ) - + = { } [ ] \ / ; : ‘ " < > , . ? |. Doing so will result in errors if you proceed to the last page of this wizard and click the Finish button. Site Administrator Privileges — Specify the local user group that can be assigned site administrator privileges. Use the user access controls provided with your operating system to create a group or to verify a group exists that can be used for these purposes. After you have created the site, you can change the user group that is assigned site administrator privileges using the Site Server Properties dialog box. You can also add or remove users from that user group using the user access controls provided with your operating system.

SmartPlant P&ID Installation and Upgrade Guide

93

Configuring SmartPlant Engineering Manager Site Schema and Site Data Dictionary Schema Information — Allows you to specify user names and passwords for both schemas. All data needed to maintain the site is written into the site's schema. ƒ

ƒ

Before you can create a site using an Oracle database, you must create a database instance in Oracle and the database must be started. In the Windows Control Panel, select Services to verify that the database is running. The Site Server Options dialog box appears during future sessions only if SmartPlant Engineering Manager cannot find the site SmartPlantV4.ini file.

New Plant Structure Wizard The New Plant Structure wizard steps you through creating a plant structure. To start this wizard, select the Plant Structures root in the Tree view and then click File > New. You must provide the following information as you step through the wizard. Data Dictionary Source — Specifies whether the data dictionary for the new plant will be built from a default template or a custom template. You must specify the path to the location of the seed files. Data dictionary templates are not database-specific. In other words, a given data dictionary template can be used in both Oracle and SQL Server environments. For more information about using data dictionary templates, see Working with Data Dictionaries (on page 80). Hierarchy — Indicates the template for the plant breakdown structure of the plant. You can define your own hierarchy that you can then use in creating plant structures or you can use one of the several delivered hierarchies. Root Item Attributes — Specifies the plant structure root item and the name that will appear in the Plant Structures node in the software. Paths — Consists of UNC paths for the plant structure storage location and a backup storage location. Database Connection Information — Allows you to specify the alias and system password for the database instance that contains the plant data. When creating a plant on a SQL Server platform, do not use a database name that contains any of the following characters: ~ ` ! % ^ & * ( ) - + = { } [ ] \ / ; : ‘ " < > , . ? |. Doing so will result in errors if you proceed to the last page of this wizard and click the Finish button. Plant Schema and Data Dictionary Schema Information — Allows you to specify user names and passwords for both schemas. All data needed to maintain the plant structure is written into the plant schema. ƒ

ƒ ƒ

You can use the Default Settings commands on the Tools menu to specify default values to simplify the plant creation process. For more information, see Using Default Settings (on page 82). After creating your new plant structure, be sure to associate applications with your plant and to assign user access for the new plant structure. Creating, restoring, or copying different plants on the same site, from two terminals, at the same time, is not possible. A Run-time error 91:Object variable or With block variable not set message is displayed on both terminals.

See Also Associate Applications Wizard (on page 95) Create a New Role (on page 95) User Access (on page 97)

94

SmartPlant P&ID Installation and Upgrade Guide

Configuring SmartPlant Engineering Manager

Associate Applications Wizard Engineering applications (such as SmartPlant Instrumentation, SmartPlant P&ID, or SmartPlant Electrical) are used to access data within your plant structure. Before you can use an application with your data, you must associate that application with the plant structure. To associate an application with your plant structure, use the Tools > Associate Applications command to open the Associate Applications wizard that helps you step through creating the application schema and data dictionary. The association procedure of SmartPlant Instrumentation is different from association of SmartPlant P&ID or SmartPlant Electrical and involves database configuration as the association prerequisite. For details, see Associating SmartPlant Instrumentation with a Plant Structure. When associating an application, you must provide the following information as you step through the wizard. Data Dictionary Source — Specifies whether the data dictionary for the associated application will be built from a default template or a custom template. You must specify the path to the location of the seed files. Data dictionary templates are not database-specific. In other words, a given data dictionary template can be used in both Oracle and SQL Server environments. For more information about using data dictionary templates, see Working with Data Dictionaries (on page 80). Application Schema and Application Data Dictionary Schema Information — Allows you to specify user names and passwords for both schemas. All data needed to maintain the application association is written into the application schema. ƒ

ƒ

When associating SmartPlant P&ID or SmartPlant Electrical, you can use the Default Settings commands on the Tools menu to specify default values to simplify the application association process. For more information, see Using Default Settings (on page 82). In an integrated environment, if only one application is associated with the plant at the time it is registered, only that application is registered. If another application is later associated with the plant, the Register command is enabled so that you can register the new application with the plant. For more information, see Register Command.

Create a New Role 1. Select the Roles node under the plant structure or project to which you want to add the new role. 2. Right-click and select New Role. 3. On the General tab, define the following properties: ƒ Use local machine and domain groups — Use this option when you want to choose a user group that is defined on your machine or in any accessible domain. ƒ Use site server and domain groups — Use this option when you want to choose a user group that is defined on the site server machine or in any accessible domain. ƒ Define role for specified users — Use this option when you want to define a common role for individual users, such as users who may belong to different groups, including users who have an account in a domain that is not accessible. ƒ Role name — Do one of the following:

SmartPlant P&ID Installation and Upgrade Guide

95

Configuring SmartPlant Engineering Manager ƒ

For the Use local machine and domain groups or Use site server and domain groups options, click the ellipsis button to display the Microsoft Select Group dialog box, which allows you to select the Windows user group you want to assign to this new role. The name of the SmartPlant role will be the same as the name of the selected user group.

If the group that is being added resides in a child domain in the Active Directory structure, when you select Locations from the Microsoft Select Group dialog box, you must choose the child domain instead of Entire Directory. When you select the child domain and the GroupName, the group resolves in the New Role dialog box under Role name as the child domain\GroupName and all the users get populated in the database. ƒ For the Define role for specified users option, type the role name that the software will use to grant privileges for the specified users. ƒ Role description — Type a descriptive note about the role that you are creating. You can make notes that indicate the privileges assigned to the group. ƒ Users — For the Define role for specified users option, add the names of users that you want to assign to the role. User names must be typed using the syntax @., for example: ‘[email protected]'. ƒ Template — Select a pre-defined role template. Three role templates are delivered by default: None, Read-Only and Full Control. The None template grants no rights for the associated applications. The Read-Only template grants read-only rights to all of the rights for the associated applications. The Full Control template grants full control to all of the rights for the associated applications. You can edit individual rights after applying a role template. 4. On the Rights tab, specify the access privileges for this group of users. This step is optional if you selected a template on the General tab. You can still modify individual access rights after applying a role template. ƒ

ƒ

ƒ

If users experience access problems after you create a role for the group to which the user is assigned, check with your Information Technology group to see if that user was created on a Windows NT domain that has been upgraded to Windows XP. Microsoft provides a method for adding users to the built-in Pre-Windows 2000 Compatible Access Group to handle this backward-compatibility issue. For more information, see the Microsoft Knowledge Base article number 303973 at http://support.microsoft.com. When setting the rights for the new role, be sure to not only set the rights for the applications, but also set the access permissions available under the SmartPlant Engineering Manager rights. You can automatically include the site administrators group in each plant you create by selecting the Add the site administrator group to each plant created option on the Site Properties > General tab. Doing this saves you the step of creating a new role to grant these users access to the new plant.

See Also SmartPlant Engineering Manager Rights (on page 98) SmartPlant P&ID Access Rights (on page 100)

96

SmartPlant P&ID Installation and Upgrade Guide

SECTION 11

User Access User access identifies the users allowed to work at specified access levels within the site and related plant structures. With user access, administrators can control access to data and thereby ensure the security of their project data. SmartPlant Engineering Manager incorporates user access as an integral product feature by using roles to define and maintain user privileges and rights at the plant structure level, where each application has its own set of rights. Roles are the primary focus, with each role associated to a single Windows user group. Each role is then assigned specific rights for each engineering application and for SmartPlant Engineering Manager. ƒ ƒ

To see the roles currently defined for a plant, click the Roles node under the plant node in the Tree view. To view the rights settings for a particular role, right-click the role in the List view and click Properties.

Mutually-Exclusive Rights Users can have access privileges that vary from one plant to another in the same site. These rights are defined by categories. Categories with radio button options indicate that the rights contained within are mutually exclusive, meaning you can choose only one right in that category to apply to the role. In other categories, you can choose multiple rights, as denoted by check boxes. ƒ None — The user is not allowed to execute the application or utility for this plant structure. ƒ Read-Only — The user can execute the application or utility for this plant structure to view the data held within it. ƒ Modify Settings — The user can execute the application or utility for this plant structure to view the data held within it and to modify any custom settings. ƒ Full Control — The user can execute the application or utility for this plant structure and perform all commands and modifications. This right is not available to a satellite site when operating in the Workshare mode because the reference data must be controlled by the host site. SmartPlant Engineering Manager provides roles templates to help you easily create new roles. Because the most labor-intensive part of a role creation is setting the values for the rights, you can create templates for specific roles and then use those templates multiple times. This feature is useful for defining a role template in one site and then reusing that same role template throughout all of your sites.

See Also SmartPlant Engineering Manager Rights (on page 98) Create a New Role (on page 95) SmartPlant P&ID Access Rights (on page 100)

SmartPlant P&ID Installation and Upgrade Guide

97

User Access

SmartPlant Engineering Manager Rights SmartPlant Engineering Manager contains two sets of rights: site administrator rights and plant structure rights.

Site Administrator Rights Site administrators, while not appearing in the Roles node in a plant structure, have a set of unique rights that cannot be granted to any other role. This group of users has privileges to create and modify plant structures, roles, hierarchies, and plant group types, to enable projects, and so forth. Only members of the user group specified as the Site Administrator User Group during site creation can see the Hierarchy Templates and Plant Group Types roots in the Tree view. Site administrators can see all plant structures and have full access to them. ƒ ƒ

ƒ ƒ

Site administrator privileges do not extend by default to full privileges in the engineering applications. Additional site administrators can be added to the Site Administrator User Group by using the administrative tools provided by Windows. Be sure that these users are granted network access rights to the computer where SmartPlant Engineering Manager is installed. You can change the user group assigned as the site administrator group after site creation. For more information, see Change the Site Administrator User Group (on page 91). You can automatically include the site administrators group in each plant you create by selecting the Add the site administrator group to each plant created option on the Site Properties > General tab. Doing this saves you the step of creating a new role to grant these users access to the new plant.

Plant Structure Rights These rights are valid only within the plant structure with which the right is associated. To access the plant structure through SmartPlant Engineering Manager, the user must belong to a role that has at least read-only access to the plant structure.

98

SmartPlant P&ID Installation and Upgrade Guide

User Access

The following rights are available to the Plant Structure Access category and are mutually exclusive. Category

Right

Plant Structure Access

None — The user is not allowed to see any part of the plant structure, including the plant structure node. Read-Only — The plant structure is visible, but the user cannot create, modify, or delete any data within the plant structure. Full Control — The user can create plant groups, add applications and roles, and create projects and satellites, but cannot see the hierarchies or the plant group types. This right is valid only within the SmartPlant Engineering Manager software.

Formats

None — The user is not allowed to launch Format Manager. Read-Only — The user can launch Format Manager and view the format settings but cannot create, modify, or delete formats. Full Control — The user can launch Format Manager and can create, modify, or delete formats.

SmartPlant P&ID Installation and Upgrade Guide

99

User Access

SmartPlant P&ID Access Rights Category

Right

Notes

Catalog

None

None prevents users from accessing Catalog Manager.

Read-Only

Read-Only allows users to view symbols in Catalog Manager, but not make changes.

Full Control

Full Control allows users to create new symbols and edit existing symbols. Full Control is disabled for Workshare satellites and projects.

None

None prevents users from accessing Filter Manager.

Read-Only

Read-Only allows users to view existing filter definitions, but not make changes.

Full Control

Full Control allows users to create new filters and edit existing filters. Full Control is disabled for Workshare satellites and projects.

None

Controls the ability to view, edit, and define display sets. Full Control is disabled for Workshare satellites.

Plant Filters

Display Sets

Read-Only Full Control Default Views

None Read-Only Full Control

Plant Reports

Rules

Data Dictionary

Controls the ability to specify default filters and layouts for item types. Also controls setting the Brief/Bulk Lists associated with item types. Full Control is disabled for Workshare satellites and projects.

None

None prevents users from accessing the plant reports.

Read-Only

Read-Only allows users to view existing report definitions, but not make changes.

Full Control

Full Control allows users to create new plant reports and edit existing reports. Full Control is disabled for Workshare satellites and projects.

None

None prevents users from accessing Rule Manager.

Read-Only

Read-Only allows users to view existing rule definitions, but not make changes.

Full Control

Full Control allows users to create new rules and edit existing rule definitions. Full Control is disabled for Workshare satellites and projects.

None

None prevents users from accessing Data Dictionary Manager. Modify Select Entry and Full Control are disabled for Workshare satellites and for projects.

Read-Only

Read-Only allows users to view settings in the data dictionary, but not make any changes.

Modify Select Entry Modify Select Entry allows users to edit select lists.

100

SmartPlant P&ID Installation and Upgrade Guide

User Access Category

Options

Insulation Specifications

Drawing Management

Right

Notes

Full Control

Full Control allows users to add items and edit existing items in the data dictionary. Modify Select Entry and Full Control are disabled for Workshare satellites and for projects.

None

None prevents users from accessing Options Manager.

Read-Only

Read-Only allows users to view option settings, but not make any changes.

Modify Settings

Modify Settings allows users to change reference data pointers.

Full Control

Full Control allows users to add options and edit existing options. Full Control is disabled for Workshare satellites and for projects, but users must have at least Modify Settings level privileges to use Workshare.

None

None prevents users from accessing Insulation Specification Manager.

Read-Only

Read-Only allows users to view insulation settings, but not make any changes.

Full Control

Full Control, disabled for Workshare satellites and projects, allows users to add settings and edit existing insulation settings.

Create P&ID

Create P&ID allows users to execute the New Drawing command in Drawing Manager.

Delete P&ID

Delete P&ID allows users to execute the Delete command in Drawing Manager.

Refresh P&ID

Refresh P&ID allows users to execute the Compare and Refresh and Validate commands in SmartPlant P&ID. Users must also have Full Control permission for P&ID Objects before they can refresh a drawing.

Create Version

Create Version allows users to execute the Create Version command in Drawing Manager.

Delete Version

Delete Version allows users to execute the Delete Version command in Drawing Manager.

Fetch Version

Fetch Version allows users to execute the Fetch Version command in Drawing Manager.

Edit Import Map

Edit Import Map allows users to execute the Edit Import Map command in Drawing Manager.

Update P&ID

Update P&ID allows users to execute the Update P&ID command in Drawing Manager to update existing drawings.

Create Revision

Create Revision allows the user to create revision properties, modify revision properties, and associate revision properties with the revised drawing.

SmartPlant P&ID Installation and Upgrade Guide

101

User Access Category

P&ID Objects

Workshare

Projects

SmartPlant

Right

Notes

Delete Revision

Delete Revision allows the user to delete a revision and its associated version.

None

None prevents users from accessing objects in the SmartPlant P&ID Modeler environment.

Read-Only

Read-Only allows users to view objects in the SmartPlant P&ID Modeler environment, but not make any changes.

Modify Properties

To import, user needs at least the Modify Properties right.

Full Control

To refresh drawings in SmartPlant P&ID, users must have Full Control permission on P&ID Objects.

Publish

Publish allows users to publish drawings to other satellites or back to the host.

Get Latest Version

Get Latest Version allows users to obtain the latest published drawing from the host or satellite site.

Assign Drawing Ownership

Assign Drawing Ownership allows users to specify which Workshare sites have read/write permission for published drawings.

Synchronize Reference Data

Synchronize Reference Data allows users to update their reference data with the reference data at the host.

Synchronize Shared Items

Synchronize Shared Items allows users to update their shared items with the shared items at the host.

Check Out

Check Out allows users to execute the Check Out and Undo Check Out commands in Drawing Manager.

Check In

Check In allows users to execute the Check In command in Drawing Manager.

Fetch

Fetch allows users to execute the Fetch command in Drawing Manager.

Change Status

Change Status allows users to interact with the Project Status dialog box in Drawing Manager. If you are not granted this right, you can only view the project status, but cannot modify it.

Claim

Claim allows users to execute the Claim and Release Claim commands in SmartPlant P&ID.

Publish

Enables or disables the ability to publish to or retrieve documents. Select the check box to enable an option; clear to disable.

Retrieve

102

SmartPlant P&ID Installation and Upgrade Guide

User Access

SmartPlant P&ID Access Rights Examples The following examples are suggestions for granting rights to common groups of users. These examples are a great starting place for defining custom SmartPlant P&ID role templates.

Plant Administrators This user group has full control over all aspects of the plant structure for drawings, administrative tasks, and reference data. The users should have the capability to create plant groups, add applications and roles, create projects, enable Workshare, and create satellites, but should not see the hierarchy templates or plant group types. Category

Right

SPEM Plant Structure Access

Full-Control

Catalog

Full-Control

Plant Filters

Full-Control

Display Sets

Full-Control

Default Views

Full-Control

Formats

Full-Control

Plant Reports

Full-Control

Rules

Full-Control

Data Dictionary

Full-Control

Options

Full-Control

Insulation Specifications

Full-Control

Drawing Management

Create P&ID, Delete P&ID, Archive, Retrieve

P&ID Objects

Full Control

Workshare

Publish, Get Latest Version, Assign Drawing Ownership, Synchronize Reference Data, Synchronize Shared Items

SmartPlant

Publish, Retrieve

Plant Users This group has full control on all drawings, can set personal filters, set up personal display sets, set up My Reports, create drawings, and archive drawings (needed for personal use in case there are big changes to the drawing design). Category

Right

SPEM Plant Structure Access Read-Only Catalog

None

Plant Filters

Read-Only

SmartPlant P&ID Installation and Upgrade Guide

103

User Access Category

Right

Display Sets

Full-Control

Default Views

Read-Only

Formats

None

Plant Reports

Read-Only

Rules

None

Data Dictionary

None

Options

None

Insulation Specifications

None

Drawing Management

Create P&ID Archive

P&ID Objects

Full Control

Workshare

Undefined (do not choose anything)

SmartPlant

Undefined (do not choose anything)

Engineers This group has access to drawings to view and modify data reports but not graphics. They can set up personal filters, set up personal display sets, and create My Reports. They should not be able to modify any project reference data or perform any administrative tasks with respect to drawing management, projects, or Workshare activities. Category

Right

SPEM Plant Structure Access Read-Only

104

Catalog

None

Plant Filters

Read-Only

Display Sets

Full-Control

Default Views

Read-Only

Formats

None

Plant Reports

Read-Only

Rules

None

Data Dictionary

None

Options

None

Insulation Specifications

None

Drawing Management

Undefined (do not choose anything)

SmartPlant P&ID Installation and Upgrade Guide

User Access Category

Right

P&ID Objects

Modify Properties

Workshare

Undefined (do not choose anything)

SmartPlant

Undefined (do not choose anything)

Managers This group needs only view data access. They can set up personal filters, set up personal display sets, and create My Reports. They should not be able to modify any project reference data or perform any administrative tasks with respect to drawing management or Workshare activities. Category

Right

SPEM Plant Structure Access Read-Only Catalog

None

Plant Filters

Read-Only

Display Sets

Full-Control

Default Views

None

Formats

None

Plant Reports

None

Rules

None

Data Dictionary

None

Options

None

Insulation Specifications

None

Drawing Management

Undefined (do not choose anything)

P&ID Objects

Read-Only

Workshare

Undefined (do not choose anything)

SmartPlant

Undefined (do not choose anything)

SmartPlant P&ID Installation and Upgrade Guide

105

User Access

106

SmartPlant P&ID Installation and Upgrade Guide

SECTION 12

Customizing Your Reference Data Several tools are delivered during installation that allow you to customize your reference data.

Customizing Reference Data Options Reference data options control the look and feel of the product and controls much of the data used throughout the life of a project. Use SmartPlant P&ID Options Manager to define how you want particular P&ID items to appear in drawings by selecting colors, line styles, gapping styles, and heat tracing styles for the project. 1. Click Start > Programs > SmartPlant P&ID > Options Manager. 2. Define the symbology, gapping, heat tracing, formatting, and distances as needed. 3. Click Settings. 4. Verify that all \\node\share entries are set to the shares defined during reference data installation. 5. Click File > Save. For more information about working with reference data options, click Help > Printable Guides in SmartPlant P&ID and select the Options Manager User's Guide.

Working with Filters SmartPlant Filter Manager, delivered with SmartPlant Engineering Manager, allows you to select the items to display in the engineering application. You can use this feature to clear the view of other items to display one class of items. For more information about working with filters, click Help > Printable Guides in SmartPlant Engineering Manager and select the SmartPlant Filter Manager User's Guide.

Working with Formats SmartPlant Format Manager, delivered with SmartPlant Engineering Manager, allows you to define the characteristics and formats for labels, report data and formatted properties. You can also create and edit formats. For more information about working with formats, click Help > Printable Guides in SmartPlant Engineering Manager and select the SmartPlant Format Manager User's Guide.

SmartPlant P&ID Installation and Upgrade Guide

107

Customizing Your Reference Data

Working with Symbols and Labels Symbols include a graphic representation of the item as well as the properties associated with that item. SmartPlant Catalog Manager, delivered with SmartPlant Engineering Manager, allows you to create and edit these symbols. Some of the characteristics of a SmartPlant symbol include the graphic representation of the item, labels, heat tracing, the icon that represents the item in the Catalog Explorer, and the properties associated with the item. Two types of labels display important information about drawing items: ƒ Driving — Sets the property in the model, for example, a dimension that changes the size of the object. ƒ Driven — Reports the property in the model, for example, a pressure label that takes its pressure value from the associated pump. For more information about working with symbols and labels, click Help > Printable Guides in SmartPlant Engineering Manager and select SmartPlant Catalog Manager User's Guide.

Modifying Data Model Properties SmartPlant Data Dictionary Manager, delivered with SmartPlant Engineering Manager, allows you to modify the data model properties, including the database entries, select lists, and item types that form the underlying data structure. With Data Dictionary Manager, you can perform the following tasks: ƒ Add and change properties for specific database tables ƒ Create select lists and add entries to them ƒ Associate validation programs with various item types Because your changes can affect the database for the entire project, only system administrators and project managers typically customize the database with Data Dictionary Manager. For more information about using Data Dictionary Manager, click Help > Printable Guides in SmartPlant Engineering Manager and select SmartPlant Data Dictionary Manager User's Guide.

Synchronizing Reference Data SmartPlant Reference Data Synchronization (RDS) Manager provides tools for comparing, synchronizing, and managing reference data across multiple plants. This application is especially useful when you need to maintain a central set of reference data for all of the plants across a site without having a network or database connection between plants. The reference data synchronization process involves three steps: 1. Creating an RDS package that contains the reference data from the source plant. 2. Comparing the RDS package to the target plant reference data. 3. Synchronizing (merging) the RDS package into the plant and application reference data at the target. For more information, see the SmartPlant Reference Data Synchronization User's Guide. After synchronizing the reference data across the plants, you must use the Update Drawings functionality in SmartPlant P&ID to synchronize the drawings in each plant with the

108

SmartPlant P&ID Installation and Upgrade Guide

Customizing Your Reference Data updated reference data. For more information about updating drawings, see the SmartPlant P&ID Drawing Manager Users Guide.

Recommended Configuration ƒ ƒ ƒ ƒ ƒ

Select the plant whose reference data you want to use as the source reference data. Create a data RDS package from the source plant. Back up the target plant. Lock down (set to read-only) the user access to the reference data at the source plants. Allow full-control user access to the reference data only at the target plant. Synchronize the target plants with the source plant RDS package.

Do not use the RDS Manager to synchronize reference data between a host and satellites in a Workshare collaboration. Use the Workshare Synchronize Reference Data command instead.

Establishing Design Rules By defining typical or standard design rules, you can quickly and easily place required equipment, interconnecting piping, instrumentation, and other accessories on a drawing. These rules define the placement characteristics of items and how items interact with each other. Using rules, you also confirm that you meet proper design criteria. SmartPlant P&ID Rule Manager provides the tools for creating and editing rules. For more information, click Help > Printable Guides in SmartPlant P&ID and click the Rule Manager User's Guide link.

Configuring Border Templates The delivered borders are embedded in the delivered template files. Before you can see modifications made to the drawing border during the course of a project, you must edit (see "Edit Delivered Templates" on page 110) the delivered templates. If you do not modify the delivered template files, the borders of the drawings created with these templates will not be modifiable on a global level. In other words, changes to border files do not show up in drawings that are using the embedded border template files, which means that you can change the border of drawings only on a drawing-by-drawing basis.

SmartPlant P&ID Delivered Templates SmartPlant P&ID delivers the following border templates.

Metric Templates Template File

Border File

Page Size

A0-Size.pid

A0border.igr

A0 Wide (1189mm x 841mm)

A1-Size.pid

A1border.igr

A1 Wide (841mm x 594mm)

A1-Wide(Metric).pid

A1-Wide(Metric).igr

A1 Wide (841mm x 594mm)

A1-Wide Note Area.pid

A1-Wide Note Area.igr

A1 Wide (841mm x 594mm)

A2-Size.pid

A2border.igr

A2 Wide (594mm x 420mm)

SmartPlant P&ID Installation and Upgrade Guide

109

Customizing Your Reference Data Template File

Border File

Page Size

A2-Wide(Metric).pid

A2-Wide(Metric).igr

A2 Wide (594mm x 420mm)

A2-Wide Note Area.pid

A2-Wide Note Area.igr

A2 Wide (594mm x 420mm)

A3-Size.pid

A3border.igr

A3 Wide (420mm x 297mm)

A3-Wide (Metric).pid

A3-Wide (Metric).igr

A3 Wide (420mm x 297mm)

A4-Size.pid

A4border.igr

A4 Wide (297mm x 210mm)

A4-Wide (Metric).pid

A4-Wide (Metric).igr

A4 Wide (297mm x 210mm)

A5-Size.pid

A5border.igr

A5 Wide (210mm x 148mm)

Template File

Border File

Page Size

A-Size.pid

A-Wide.igr

A Wide (11in x 8.5in)

A-Wide (Imperial).pid

A-Wide (Imperial).igr

A Wide (11in x 8.5in)

B-Size.pid

B-Wide.igr

B Wide (17in x 11in)

B-Wide (Imperial).pid

B-Wide (Imperial).igr

B Wide (17in x 11in)

C-Size.pid

C-Wide.igr

C Wide (22in x 17in)

C-Wide (Imperial).pid

C-Wide (Imperial).igr

C Wide (22in x 17in)

C-Wide Note Area (Imperial).pid

C-Wide Note Area (Imperial).igr

C Wide (22in x 17in)

D-Size.pid

D-Wide.igr

D Wide (34in x 22in)

D-Wide (Imperial).pid

D-Wide (Imperial).igr

D Wide (34in x 22in)

D-Wide Note Area (Imperial).pid

D-Wide Note Area (Imperial).igr

D Wide (34in x 22in)

E-Size.pid

E-Wide.igr

E Wide (44in x 34in)

English Templates

Edit Delivered Templates Before editing the delivered templates, verify that the correct plant structure has been selected and that no drawings are open. 1. In Windows Explorer, browse to the default templates location defined in Options Manager or the location of the reference data of your plant. 2. Select the template that matches the system of units and page size requirements for the drawing and double-click the template file to open it in SmartPlant P&ID. Refer to the previous chart to determine the appropriate template and border files. You also can drag the template file into the application window to open the template file. 3. Select the existing border file, and press Delete. 4. Click Edit > Insert > Object. 5. Clear the Link check box to be sure the item will be embedded.

110

SmartPlant P&ID Installation and Upgrade Guide

Customizing Your Reference Data 6. 7. 8. 9. 10. 11.

Click Browse. Click the border file to use. You can use the delivered border or choose another border. Click Open. Click OK on the Insert Object dialog box. Position the border file in the template. Click File > Exit.

Create a Border Template 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.

Start SmartPlant P&ID. Verify that the correct plant structure has been selected. Click File > New Template. Click File > Page Setup. Select the sheet size in the Standard option and then click OK. Click File > Properties. On the Units tab select a unit in the Length, Angle, and/or Area Readout boxes to specify the default units of measure, and then click OK. Click Edit > Insert > Object. Verify that Link is on if you want the border file linked, or clear the Link check box if you want to link the file. Select the border to use and click Open, and then click OK. Click File > Save. Type the name for the template in the File Name box. Save the template border in the default templates location defined in Options Manager. Click Save. Click File > Exit.

SmartPlant P&ID Installation and Upgrade Guide

111

Customizing Your Reference Data

112

SmartPlant P&ID Installation and Upgrade Guide

SECTION 13

Using SmartPlant P&ID in Production SmartPlant Drawing Manager handles all of the drawing file maintenance tasks by allowing you to create, open, update, and delete drawings, and to modify drawing properties and print multiple drawings. See both the SmartPlant P&ID Drawing Manager and the SmartPlant P&ID Help files for more information about handling drawings. Before using the new version of the software, we strongly recommend that you completely upgrade your plant and all drawings to the current version. A plant with a mixture of upgraded and non-upgraded drawings may result in some data being permanently inaccessible.

Start SmartPlant P&ID 1. Click Start > Programs > SmartPlant P&ID > Drawing Manager. 2. Click File > Open Database. If the plant that you want appears in the Available plant structures list, select the plant and go to step 6. 3. On the Open Plant Structure dialog box, click Site Server. 4. On the Open Site Server dialog box, select the correct SmartPlantv4.ini file and click Open. 5. Select the plant in the Available plant structures list. 6. Click Open. The Open command checks to make sure you have the correct access privileges for the selected plant structure and passes your access information back to the software. 7. In the Tree view, click through the plant hierarchy nodes until you find the drawing you want to work with. 8. Double-click the drawing in the list of drawings to open it in SmartPlant P&ID. You can also open drawings directly from within SmartPlant P&ID. To do this, follow the steps 1-6 above to connect to the plant database, then close Drawing Manager, open SmartPlant P&ID, then click File > Open to navigate to the drawing. For more information, see the SmartPlant P&ID User's Guide.

Tips for Creating a P&ID Drawing With SmartPlant P&ID, you can easily perform the tasks required to create a detailed plant model. You can place components such as equipment, piping, and instrumentation from Catalog Explorer or the stockpile into graphical representations of your plant model in the drawing. SmartPlant P&ID provides multiple views of a central, unified data structure that represents the plant model. The plant model is the computer representation of the conceptual design in its entirety, including all plant components and their relationships. By manipulating model views, you can organize the information within the plant model to better understand and maintain the data. A view is a visual presentation of the data that composes the plant model. A view can be a schematic drawing, a table, or a report. Assemblies — One key feature of SmartPlant P&ID is using catalogs to create instances of components within the plant model. The standard modeling environment lets you place items from the catalog into the appropriate model views. If you repeatedly place particular groups of items,

SmartPlant P&ID Installation and Upgrade Guide

113

Using SmartPlant P&ID in Production you can save the group of items as an assembly. Assemblies appear as symbols in the Catalog Explorer list view so that you can place them exactly as you place other symbols in your drawing. Properties Window — Allows you to add values for various properties of each item after you place it in your drawing. Also, you can annotate your drawing with labels as you design the drawing. Consistency Checking - As you work on your drawing, you can monitor any inconsistencies in your design by reviewing the inconsistency indicators. These indicators appear in your drawing as soon as an inconsistency occurs in the design. You can resolve inconsistencies using solutions from the Consistency Check dialog box. Reporting — Reports help you keep track of information in the drawing. For example, after you finish the drawing, you can generate order lists for the components in the drawing. Display Sets — Replacing the former display tab functionality, displays sets allow you to control the display of the model in the Drawing view. Display sets use filters you define to control which symbols you want to display. You can also define colors and widths for display items, then save these filters and share them with other users working in the same plant, and use these filters to print a subset of the entire drawing. Use the UpgradeTabsCMD.dll to convert display tabs created in previous SmartPlant P&ID versions to display sets. The new display set displays in My Display Sets folder. For more information, see Display Tabs Conversion Utility in the SmartPlant P&ID Utilities Guide.

Re-creating Drawings SmartPlant P&ID continually updates the database as you edit a drawing; however, the drawing file is not updated until you actually save the file (that is, when you click File > Save or when you exit SmartPlant P&ID). Occasionally, the software may terminate abnormally due to power outages and so forth. As a result, the database is up-to-date with changes that you posted to the drawing, but the drawing file reflects the status when you last saved the drawing. When you re-open the drawing, the software recognizes that the drawing file is different from the database. The software displays a message box that states: 'One or more items in this drawing are inconsistent with the database. Click OK to re-create the drawing from the database.' During the re-create process, the status bar at the bottom of the main window keeps you informed about the particular elements currently reconciling with the database. Also, a log file, Recreate-DrawingName.log, is created in your Temp folder. You can check this file for irregularities that occur during the re-create process. Do not interfere with the re-create process once started because the drawing can become unusable. ƒ

For best system performance, close all other applications except for SmartPlant P&ID when running the re-create process. ƒ During the re-create process the status bar at the bottom of the P&ID window displays updates about the particular elements currently being reconciled with the database. You can check the log file, Recreate[Drawing#].log, located in the Temp directory, for any problems that may have occurred during the re-create process. ƒ If your reference data has changed, use the Update Drawings functionality to incorporate those changes into your existing drawings. For more information, see the SmartPlant P&ID Drawing Manager User's Guide. After the re-create process finishes, SmartPlant P&ID reinitializes the drawing and displays the message 'Re-create drawing is complete'. Review the re-created drawing and resolve any errors that occurred.

114

SmartPlant P&ID Installation and Upgrade Guide

Using SmartPlant P&ID in Production

Resolving Error Conditions If a section of the drawing could not re-create successfully, an error condition appears on the drawing as a heavy line segment that is highlighted orange by default. Error conditions are almost always associated with a pipe or signal run and must be resolved manually.

1. Delete the heavy orange line segment and components directly connected to it. 2. Re-route the line runs and replace all connections and components as required.

Filtered Printing The Display Set functionality allows you to print a drawing using multiple filters. Using the Print filter options on the Print dialog box in Drawing Manager, you can select the display set that specifies which symbols in the drawing to print. If no display set is applied, the entire drawing prints.

SmartPlant P&ID Installation and Upgrade Guide

115

Using SmartPlant P&ID in Production

116

SmartPlant P&ID Installation and Upgrade Guide

SECTION 14

Working with SmartPlant Integration SmartPlant integration standardizes and improves the communication among the various authoring tools you use in the course of designing, constructing, and operating a plant. SmartPlant integration manages data exchange among these authoring tools, which enables sharing and re-use of plant information throughout the plant lifecycle. SmartPlant Foundation acts as a repository for data and a medium through which information is shared among other tools, such as Aspen Basic Engineering, SmartPlant Instrumentation, SmartPlant Electrical, and SmartPlant 3D. Most of the commands that provide access to SmartPlant integration functionality exist in the common user interface available on the SmartPlant menu in Engineering Manager, SmartPlant Instrumentation, SmartPlant Electrical, SmartPlant P&ID, and Drawing Manager. The following graphic displays what SmartPlant P&ID publishes and retrieves and shows the flow of data and the different types of data.

SmartPlant P&ID interacts with SmartPlant Foundation by correlating items between the plant database and the SmartPlant Foundation database, retrieving documents from SmartPlant Foundation. Also, SmartPlant P&ID creates a set of tasks in the To Do List that you can run to update the plant database. In SmartPlant P&ID, you can also use the commands on the SmartPlant menu to publish documents and retrieve data, access the SmartPlant Foundation

SmartPlant P&ID Installation and Upgrade Guide

117

Working with SmartPlant Integration Web Portal in order to browse in SmartPlant Foundation, and subscribe to change notifications and compare documents. You can only use the SmartPlant menu commands after your plant is registered. For more information, see SmartPlant Engineering Manager Help.

Registering Tools Before you can publish and retrieve documents from any of the other authoring tools, such as SmartPlant Electrical or SmartPlant Instrumentation, you must register each plant in SmartPlant P&ID with a SmartPlant Foundation database. The connection allows SmartPlant P&ID to use the commands on the SmartPlant menu. A SmartPlant Engineering Manager administrator typically registers a plant. The software maps a plant and all its projects to a single SmartPlant Foundation URL, which points to one, and only one, SmartPlant Foundation plant database and its projects. When you use the Register command in any of the authoring tools, you are registering an authoring tool plant with a SmartPlant Foundation URL and plant that you specify. The system administrator must register each plant in the authoring tool once; this action takes place in SmartPlant Engineering Manager. After the plant is registered, you can publish and retrieve documents.

Preparing the Integrated Environment To enable SmartPlant P&ID to work in an integrated environment, you must do the following: 1. Install the Schema Component and the SmartPlant Client, delivered with SmartPlant Foundation, on each SmartPlant Engineering Manager and P&ID workstation. For more information about installing these components, see the SmartPlant Enterprise Installation and Setup Guide. Before you install the Schema Component and the SmartPlant Client, be sure to install the software prerequisites described in the SmartPlant Client Workstations section of the SmartPlant Enterprise Installation and Setup Guide. 2. Use a hierarchy that contains a minimum of three levels when you create your plant in SmartPlant Engineering Manager. In addition to requiring a minimum of three-levels in hierarchies, SmartPlant configurations also require that the names of hierarchy items cannot be changed after they are created and that the hierarchy structure cannot be modified after you create the project. For more information, see the SmartPlant Enterprise Installation and Setup Guide or the Using Custom Hierarchies in SmartPlant topic in the SmartPlant Engineering Manager User's Guide. 3. Associate applications with and assign user access rights to your plant. When SmartPlant P&ID and SmartPlant Electrical are both enabled for a plant, they are both enabled for all projects in that plant. If a project requires only one of these applications, create separate plants in the project, then enable SmartPlant P&ID for one plant and SmartPlant Electrical for the other. 4. Edit the SmartPlant resource path setting in Options Manager to point to the folder where you installed the Integration Resource Files. The path specified in Options Manager must contain the tool schema (for example, SPIDDataMap.xml) for publish and retrieve operations between the tool and SmartPlant to work properly. For more information, see the SmartPlant P&ID User's Guide.

118

SmartPlant P&ID Installation and Upgrade Guide

Working with SmartPlant Integration 5. Register your SmartPlant plant with SmartPlant Foundation, as described in the SmartPlant Engineering Manager Help. ƒ

ƒ

When you register your plant, you must specify the location of the SmartPlant Engineering Manager schema map file (SPEMDataMap.xml). For more information, see the Specify Map File Dialog Box topic in the SmartPlant Engineering Manager User's Guide. If only one application is associated with the plant at the time it is registered, only that application is registered. If another application is later associated with the plant, the Register command is enabled so that you can register the new application with the plant.

Tool Requirements for Integrating SmartPlant P&ID The following lists include rules that must be followed when using SmartPlant P&ID when working in an integrated environment. Following these rules allows SmartPlant P&ID data to be shared correctly with SmartPlant 3D, SmartPlant Instrumentation, and the other tools that are part of the integrated environment. Other tools that are not listed here have no known SmartPlant P&ID/SmartPlant integration issues.

General Integration Requirements The following is a list of best practice scenarios for using SmartPlant P&ID so data will migrate correctly to the other SmartPlant tools. ƒ When working with Projects and As-Built, all instruments in the Instrument Index must be placed on a P&ID drawing. This is because the Stockpile is not communicated back and forth between Projects and As-Built. ƒ SmartPlant P&ID retrieves equipment components and nozzles and generates corresponding create tasks in the To Do List for them. The system allows you to automatically place the items in a drawing when the To Do List task is executed. The items are placed attached to their parent equipment item, based on a spacing algorithm. You can adjust the location and post-placement as necessary.

Working with SmartPlant Instrumentation Connect to Process Lines ƒ ƒ

ƒ

Connect to Process lines are required for connecting instruments to equipment nozzles and pipe runs in SmartPlant P&ID. All non-piped offline equipment instruments must be connected to vessels through non-electric signal lines and nozzles in SmartPlant P&ID. This enables SmartPlant Instrumentation to recognize that instruments are connected to vessels. If SmartPlant P&ID assigns an object to an intermediate level in the hierarchy and publishes, SmartPlant Instrumentation will assign the object to the level in the hierarchy in SmartPlant Instrumentation determined by their logic. Because instruments belong to units in SmartPlant Instrumentation, an instrument assigned to the intermediate level in SmartPlant P&ID will be assigned to the unit in SmartPlant Instrumentation. Panels will be assigned to the plant. SmartPlant P&ID may get an update on retrieve to move the object to another level in their hierarchy than where it was published based on the move done automatically by SmartPlant Instrumentation. Instruments will move to the top level; panels will move to the bottom.

SmartPlant P&ID Installation and Upgrade Guide

119

Working with SmartPlant Integration

Deleting and Adding Items ƒ

When you are working in a Projects environment, and items are correlated using the SmartPlant integration tools, you should minimize deleting and re-adding any items. SmartPlant P&ID will reuse tag numbers in the numbering scheme when you delete and re-add items. SmartPlant Instrumentation tracks tag numbers claimed in a project, and this tracking will not work if tag numbers are reused after correlation. If you must delete an item in this situation, you can delete the item to the SmartPlant P&ID Stockpile.

Instrument Expansion ƒ

A SmartPlant P&ID instrument or loop tag does not always have a 1:1 relationship with instruments in SmartPlant Instrumentation. In some cases, a single item tag in a P&ID corresponding to an instrument or loop needs to be expanded to create several instruments when publishing the data for SmartPlant Instrumentation. For this purpose, the Expansion Type property in SmartPlant P&ID specifies the expansion behavior when publishing an instrument or loop. Each value of the property corresponds to a SmartPlant Instrumentation rule that determines which instrument types and numbers are to be created in SmartPlant Instrumentation when the SmartPlant P&ID tag is expanded and retrieved. When retrieving data back to SmartPlant P&ID, the behavior of a particular instrument created by expansion is determined by SmartPlant Instrumentation parameters. For an expanded instrument, the state of the IRetrievableExpansion interface determines whether that instrument will be retrieved by SmartPlant P&ID: if the IRetrievableExpansion interface is realized, the instrument is retrieved, whereas if the IRetrievableExpansion interface is not realized, the instrument is not retrieved. The 'parent' item tag is always retrieved, regardless of the realization state of the IRetrievableExpansion interface.

Ports ƒ

SmartPlant Instrumentation uses physical ports, while SmartPlant P&ID uses logical ports. SmartPlant Instrumentation publishes the physical ports with the Dimensional Data Sheets and not the Instrument Index. SmartPlant P&ID retrieves the Instrument Index and does not retrieve the Dimensional Data Sheets. When the workflow goes from SmartPlant P&ID to SmartPlant Instrumentation, followed by SmartPlant Instrumentation publishing the Dimensional Datasheet, a Same As relationship is created between the ports in the SmartPlant Foundation database. That Same As relationship is required by SmartPlant 3D to correctly match the design basis ports to the 3D representation of the ports. When the workflow goes from SmartPlant Instrumentation to SmartPlant P&ID, however, a Same As relationship is not created in the SmartPlant Foundation database. Without the Same As relationship created in the SmartPlant Foundation database, the result may be additional ports in SmartPlant 3D. To obtain the Same As relationship on the ports requires that SmartPlant P&ID publish the P&ID with the instrument, this P&ID be retrieved by SmartPlant Instrumentation and then having SmartPlant Instrumentation publish the Dimensional Data Sheet.

120

SmartPlant P&ID Installation and Upgrade Guide

Working with SmartPlant Integration

Working with SmartPlant 3D Piping ƒ

Deleting pipe runs should be avoided in SmartPlant P&ID. You should either use the SmartPlant P&ID Undo command or try to reconnect the pipe run correctly. Deleting pipe runs in SmartPlant P&ID causes delete instructions to be passed to SmartPlant 3D which requires a SmartPlant 3D user to remodel the pipe runs.

Working with Aspen Basic Engineering Retrieving Documents ƒ

Basic Engineering data sheets can contain multiple objects and may be formatted in a traditional data sheet view or list view (for example, as an equipment list). Data sheets retrieved from Basic Engineering may include stream data, specialty piping data, or relief valve data as required by business practices.

Using Nozzles, Projects and Claiming in the SmartPlant Environment ƒ

When using Projects in an integrated environment and SmartPlant P&ID claims a pump but not the motor and then publishes, when Aspen Basic Engineering retrieves, they will respond to the claim on the pump and then claim the motor. When Basic Engineering publishes, both the pump and motor are published. When P&ID retrieves they get the update on the pump and get a create task for the motor, even though they can clearly see the motor on the P&ID. Without it being claimed to the P&ID project, it is not acknowledged as belonging to the project. The same holds true for the equipment and nozzle issue. SmartPlant P&ID permits an equipment object to be claimed to the project without requiring the nozzles to be claimed, even if the nozzles are seen on the P&ID. The claim method of Basic Engineering does not support this. When Basic Engineering retrieves the equipment claim it claims the nozzles along with the equipment. When P&ID retrieves from Basic Engineering the nozzles are Create tasks since P&ID is not looking to retrieve Claim status from other tools. In these cases, either the P&ID user will have to delete the create tasks or agree to add the objects to the project scope. If they agree to add them to the project scope they should delete the create tasks first, then claim the objects and then re-retrieve the Basic Engineering document. This would generate update tasks. Optionally, since Basic Engineering requires all related nozzles to be claimed when claiming equipment, when claiming equipment in SmartPlant P&ID, all nozzles could be claimed. This causes the scopes of the claims between Basic Engineering and SmartPlant P&ID to match.

SmartPlant P&ID Installation and Upgrade Guide

121

Working with SmartPlant Integration

Using Workshare in an Integrated Environment The following rules apply to using the Workshare functionality within an integrated SmartPlant environment: ƒ You can enable and disable Workshare before or after registering a Greenfield plant. ƒ You can create satellites and connect to them after registering. ƒ You cannot register a satellite. ƒ You cannot retrieve a WBS document when Workshare is enabled.

Using the Integration Commands Within a Workshare Collaboration The Workshare host can perform the following actions from within SmartPlant P&ID when registered. For more information about these commands, see the SmartPlant P&ID User's Guide. ƒ Publish — Any drawing can be published. ƒ Retrieve — Any SmartPlant document can be retrieved. ƒ Correlate — Reviewing correlation is available if the drawing is in a read-only state. It is not possible to assign correlation in a read- only drawing. ƒ To Do List — Only available at the Workshare Host. To Do List tasks may be reviewed on drawings for which the host does not have ownership, but these tasks may not be executed unless ownership is assigned to the Host. The To Do List is not available at the Satellite.

Using the Catalog Index in SmartPlant P&ID and SmartPlant Integration When you select the Retrieve command, the software accesses the CatalogIndex.mdb and the system performs the following options: 1. Using the retrieved document, the object type and classification of the retrieved item is determined. 2. Using the SmartPlant P&ID Map file, the ItemTypeName (Equipment, PipeRun, PipingComp, and so forth), and codelist indices for Class, Sub-Class, and Type is determined.

Catalog Index Lookup The Catalog Index file is used to find a symbol in the catalog with type properties that match the given values. The lookup is performed using the most specific information first. If a match is found, that symbol is used. However, if there is no match, the more generic type information is used for additional searches. In this way, a generic symbol will be returned if no specific symbol is available in the catalog. Search Based on Type Value — Searches the catalog index for all rows with matching ItemTypeName and Type values and IsDefaultForType = True. If one or more rows are found, the software uses the CatalogItemName from the first one. If no match is found, the software performs the search based on Subclass. Search Based on Subclass Value — Searches the catalog index for all rows with matching ItemTypeName and SubClass values and IsDefaultForSubclass = true. If one or more rows are found, the software uses the CatalogItemName from the first one. If no match is found, the software performs the search based on Class. Search Based on Class Value — Searches the catalog index for all rows with matching ItemTypeName and Class values and IsDefaultForClass = True. If one or more rows are found, the software uses the CatalogItemName from the first one. If no match is found, the software returns an empty string.

122

SmartPlant P&ID Installation and Upgrade Guide

Working with SmartPlant Integration

Mapping for SmartPlant Integration If you customize the plant database items or attributes in your SmartPlant Engineering Manager plant, you must define the mapping between these customized plant attributes and the properties in the SmartPlant schema. 1. Open the plant data dictionary by right-clicking the plant in the Tree view in SmartPlant Engineering Manager and selecting the Data Dictionary Manager command. For more information, see Data Dictionary Manager Command (Tools Menu) (on page 80). 2. Add or modify the attributes in Data Dictionary Manager for each level in your hierarchy. For more information, see the Add a Property to Database Tables topic in the Data Dictionary Manager User's Guide. 3. Open the plant SPEMDataMap.xml schema map file in the Schema Editor and map the plant database items between the tool schema (SPEMDataMap.xml) and the SmartPlant schema. For more information, see the Schema Editor User's Guide. ƒ

ƒ

ƒ

If you add an enumerated list attribute to the plant data dictionary, see the Hierarchical Enumerated Lists topic in the SmartPlant P&ID User's Guide for information about mapping these complex data types. The default SPEMdatamap.xml file contains the EF_SPAPlant attributes (CompanyName, SiteName, SiteLocation, DivisionName, DivisionLocation). To use these default attributes, use the EF_SPAPLANT.ddt when creating your plant in SmartPlant Engineering Manager. The default SPEMdatamap.xml and the EF_SPAPLANT.ddt files are delivered to the C:\Program Files\SmartPlant\Engineering Manager\EFResources folder.

Using Custom Hierarchies SmartPlant integration supports custom hierarchies, as long as they contain a minimum of three levels. By default, the delivered SPEMdatamap.xml file is compatible with the standard SmartPlant Plant > Area > Unit hierarchy. ƒ

ƒ

ƒ ƒ

After registering, SmartPlant Engineering Manager cannot retrieve the PBS document if the plant and SmartPlant hierarchies are not compatible. To be compatible with the SmartPlant hierarchy, your plant hierarchy can contain less than or equal, but not more than the number of levels in the SmartPlant hierarchy. SmartPlant Engineering Manager retrieves from the SmartPlant hierarchy only the hierarchy levels it needs. For example, if your plant hierarchy contains 4 levels and the SmartPlant hierarchy contains 8 levels, only the top 4 levels of the SmartPlant hierarchy are retrieved. Hierarchy item names (plant group names) at the same level do not have to match. Hierarchies are mapped by depth (level), not by name. In addition to requiring a minimum of three-levels in hierarchies, SmartPlant integration also requires that the names of hierarchy items cannot be changed after they are created and that the hierarchy structure cannot be modified after you create the project. For more information, see the SmartPlant Enterprise Installation and Setup Guide.

SmartPlant P&ID Installation and Upgrade Guide

123

Working with SmartPlant Integration

Register Command (SmartPlant Menu) Allows you to register a plant database, along with its associated applications, with an instance of SmartPlant Foundation. Each database must be registered before you can connect to SmartPlant Foundation to perform any specific tasks, such as publishing or retrieving files. You can register each plant database only once. During registration, the software maps the plant database, all of its projects, and all of its associated applications to a single SmartPlant Foundation URL, which points to one SmartPlant Foundation plant database, and returns a unique signature for the tool/plant combination being registered. ƒ

You must install the Schema Component and the SmartPlant Client, delivered with SmartPlant Foundation, on your SmartPlant Engineering Manager workstation before you can register your plant. ƒ If only one application is associated with the plant at the time it is registered, only that application is registered. If another application is later associated with the plant, you must also register the new application with the plant. ƒ We recommend that you re-register each tool with SmartPlant Foundation after upgrading that tool to the current software version. After the plant is registered, the SmartPlant tab is added to the Plant Structure Properties dialog box. The SmartPlant tab displays the SmartPlant Foundation URL, the SmartPlant Foundation plant database, and the unique application identifiers returned by the registration process.

124

SmartPlant P&ID Installation and Upgrade Guide

Index A 



adding users .............................................90 user groups ...........................................90

Data Dictionary Manager ....................... 108 data model ............................................. 108 customizing ........................................ 108 database ...................................... 17, 27, 37 database constraints .............. 59, 60, 61, 62 utilities .................................................. 61 database servers ..................................... 13 configuration................................... 17, 37 networking components ....................... 17 Oracle ARCHIVELOG mode ................ 27 Oracle Cost Based Optimizer .............. 27 system requirements ............................ 13 tuning ................................................... 27 display sets ............................................ 115 printing ............................................... 115 Drawing Manager............................... 8, 113 overview ................................................. 8 starting SmartPlant P&ID ................... 113 drawings ........................................... 72, 115 printing ............................................... 115 updating ............................................... 72

B  backing up.................................................70 upgraded plants ....................................70 backup locations .......................................88 sharing ..................................................88 border templates .................... 109, 110, 111 configuring ..........................................109 creating ...............................................111 delivered .................................... 109, 110 break componenet ....................................73 update drawings....................................73 break labels ..............................................71 upgrading ..............................................71

C  catalog index ...........................................119 CatalogIndex.mdb ...............................119 out-of-date...........................................119 retrieving symbols ...............................119 updating ..............................................119 configuring ..................... 17, 45, 77, 88, 109 border templates .................................109 Integration Resource Path ....................45 network shares......................................88 Oracle networking .................................17 reference data .......................................45 SmartPlant Engineering Manager.........77 creating .................................... 89, 111, 113 border templates .................................111 P&IDs ..................................................113 user groups ...........................................89 customizing .................... 107, 108, 109, 110 border templates ........................ 109, 110 data model ..........................................108 filters ...................................................107 formats ................................................107 labels ...................................................108 Options Manager ................................107 reference data .....................................107 rules ....................................................109 symbols ...............................................108

SmartPlant P&ID Installation and Upgrade Guide

F  Filter Manager ........................................ 107 filtered printing ....................................... 115 filters....................................................... 107 customizing ........................................ 107 Format Manager .................................... 107 formats ............................................. 71, 107 upgrading ............................................. 71

H  hardware ............................................ 13, 14 hardware requirements ............................ 13 database servers ................................. 13 requirements ........................................ 13 workstation ........................................... 14

I  installation ................................................ 42 Installation Guide ....................................... 8 overview ................................................. 8 silent mode ........................................... 42 installing ................................. 37, 38, 39, 45 database .............................................. 37

125

Index reference data .......................................45 SmartPlant ............................................38 SmartPlant 3D client .............................38 SmartPlant Engineering Manager.........39 SmartPlant P&ID .............................38, 39 Insulation Manager .....................................8 integration .........................................37, 118 preparing the environment ..................118 supported Oracle versions ....................37

L  labels.......................................................108 customizing .........................................108 logs ...........................................................71

N  network access privileges .........................91 granting to user groups .........................91 network shares .........................................88 backups.................................................88 plant structure .......................................88 role template .........................................88 site server .............................................88

O  Options Manager ................................8, 107 customizing .........................................107 overview ..................................................8 Oracle .................................................27, 70 Oracle analyzer scripts .............................71 analyzer scripts .....................................70 ARCHIVELOG mode ............................27 Cost Based Optimizer ...........................27 statistics ................................................70 tuning ....................................................70 out-of-date...........................................73, 74 resolve drawings ...................................74 update drawings....................................73 overviews ....................................................7 SmartPlant P&ID .....................................7

P  permissions ...............................................38 piping specification ...................................38 PipingPoint ................................................71 placing.....................................................113 items ...................................................113 plant structures .........................................88 sharing ..................................................88 printing ....................................................115 filtered .................................................115

126

P&IDs ................................................. 115

R  recommendations .................................... 13 database servers ................................. 13 reference data ...................... 45, 71, 72, 107 configuring............................................ 45 customizing ........................................ 107 installing ............................................... 45 Integration Resource Files ................... 45 Integration Resource Path ................... 45 Options Manager ............................... 107 upgrading ....................................... 71, 72 registering .............................................. 117 with SmartPlant Foundation ............... 117 registry ..................................................... 38 requirements ...................................... 13, 14 database servers ................................. 13 hardware .............................................. 13 software................................................ 13 workstation ........................................... 14 role templates .......................................... 88 sharing ................................................. 88 Rule Manager .................................... 8, 109 overview ................................................. 8 rules ....................................................... 109 rules for integrating authoring and viewing tools customizing ........................................ 109

S  servers ..................................................... 13 database .............................................. 13 silent mode installation............................. 42 site administrators .............................. 90, 91 network access privileges .................... 91 user group ............................................ 90 site servers ............................................... 88 sharing ................................................. 88 SmartPlant ............................................... 38 SmartPlant 3D .......................................... 38 installing remote access client ............. 38 SmartPlant Engineering Manager..... 39, 77, 117 configuring............................................ 77 installing ............................................... 39 SmartPlant Foundation .......................... 117 SmartPlant integration ..................... 37, 118 preparing the environment ................. 118 supported Oracle versions ................... 37 SmartPlant P&ID ...................... 7, 8, 38, 113 Drawing Manager ........................... 8, 113

SmartPlant P&ID Installation and Upgrade Guide

Index installing ................................................38 Insulation Manager .................................8 Options Manager ....................................8 overviews ................................................7 Rule Manager .........................................8 starting ................................................113 using ...................................................113 SmartPlant SmartPlant P&ID ....................39 installation .............................................38 installing ................................................39 software ....................................................14 requirements .........................................13 workstation ............................................14 starting ....................................................113 P&IDs ..................................................113 SmartPlant P&ID .................................113 subtasks ....................................................71 symbols .......................................... 108, 119 customizing .........................................108 retrieving .............................................119 system requirements ................................13 database servers ..................................13

user groups .................................. 89, 90, 91 adding users......................................... 90 creating ................................................ 89 network access privileges .................... 91 customization ........................................... 71 utilities ...................................................... 60 Clean Data ........................................... 60 DelOrphModItem.dll ............................. 60

W  Workshare .............................................. 119

Z  Zyqad ..................................................... 119 retrieving documents .......................... 119

T  tasks..........................................................71 understanding .......................................71

U  updating ....................................................72 P&IDs ....................................................72 upgrade .....................................................71 upgrade tasks ...........................................71 logs .......................................................71 manual changes....................................71 tasks ......................................................71 understanding .......................................71 upgrading ....... 61, 62, 63, 64, 70, 71, 72, 73 after .......................................................70 backing up after ....................................70 backing up old data ...............................63 break labels...........................................71 cleanup macros.....................................62 constraint utilities ..................................61 formats ..................................................71 memory management ...........................64 Oracle ...................................................70 plants ....................................................71 reference data .................................71, 72 setting Open_Cursors parameter .........63 sharing paths ........................................63 update drawings....................................73 user customizations ..................................71

SmartPlant P&ID Installation and Upgrade Guide

127

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF