Description
R E F E R E N C EG U I D E PDS Project Setup Technical Reference DEA506751 March 2000 PDS Project Setup Copyright ©1997-2000 IntergraphCorporation 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 and trade secret law and may not be provided or otherwise made available without proper authorization. Restricted Rights Legend Use, duplication, or disclosure by the government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of The Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c) (1) and (2) of Commercial Computer Software---Restricted Rights at 48 CFR 52.227-19, as applicable. Unpublished---rights reserved under the copyright laws of the United States. Intergraph Corporation Huntsville, Alabama 35894-0001 Warranties All warranties given by Intergraph Corporation about equipment or MicroStation 32 software are set forth in your purchase contract. All warranties given by Intergraph Corporation concerning the MicroStation PC Software are set forth in the License Agreement and Limited Product Warranty included in this package. All warranties given by Intergraph Corporation about equipment or software are set forth in your purchase contract, and nothing stated in, or implied by, this document or its contents shall be considered or deemed a modification or amendment of such warranties. The information and the software discussed in this document are subject to change without notice and should not be considered commitments by Intergraph Corporation. Intergraph Corporation assumes no responsibility 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. Trademarks Intergraph, SmartPlant, and FrameWorks are registered trademarks of Intergraph Corporation. Intel is a registered trademark of Intel Corporation. Microsoft is a registered trademark of Microsoft Corporation. DISKSHARE, DesignReview, DBACCESS, and DesignDraft are trademarks of Intergraph Corporation. Windows is a trademark of Microsoft Corporation. All other brands and product names are trademarks of their respective owners. T A B L E O F C O N T E N T S Table of Contents Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Server Functional Descriptions Server Requirements . . . . . File Server . . . . . . . . Database Server . . . . . . Software Server . . . . . . Compute Server . . . . . . Plot Server . . . . . . . . PDS License Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Loading and Configuring Software . . . . . . . . . . . . . . . . . . . . . Operating Systems and Related Components . . File Systems . . . . . . . . . . . . . . . . Client Nodes . . . . . . . . . . . . . . . . Server Nodes . . . . . . . . . . . . . . . . Software Required for File Sharing . . . . . . . Protocols Provided with Windows NT . . . Protocols Not Provided with Windows NT PDS and Windows NT 4.0 . . . . . . . . . Software Compatibility . . . . . . . . . . . Software Required for Batch Processing . . . . Core Graphics Software . . . . . . . . . . . . . MicroStation . . . . . . . . . . . . . . . . SmartSketch® . . . . . . . . . . . . . . . Software Required for Plotting . . . . . . . . . Database Software . . . . . . . . . . . . . . . PDS Products, Client Nodes . . . . . . . . . . PDS Products, Server Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 16 16 16 17 17 17 17 19 . . . . . . . . . . . . . . . . . 20 20 20 20 22 22 22 23 23 24 25 25 25 26 27 28 31 Relational Interface System . . . . . . . . . . . . . . . . . . . . . . . . . 33 Why RIS? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 iii TABLE OF CONTENTS PDS Project Setup How RIS Communicates with the Database Database Structure . . . . . . . . . . . . . Informix and RIS Schemas . . . . . . . Oracle, SQL Server, and RIS Schemas . 3D Schemas . . . . . . . . . . . . . . . . . 2D Schemas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 36 37 37 38 39 Preparing for Project Creation . . . . . . . . . . . . . . . . . . . . . . . . 41 Establishing Domain Users and Groups . . . . . . . . . . Domain Name . . . . . . . . . . . . . . . . . . . . . Domain Usernames . . . . . . . . . . . . . . . . . . . Domain Groups . . . . . . . . . . . . . . . . . . . . . Location of the proj File . . . . . . . . . . . . . . . . . . Sharing the proj File Location Through LAN Manager Default C Drive Permissions . . . . . . . . . . . . . . Universal Naming Convention . . . . . . . . . . . . . Sharing the proj File Locations Through NFS . . . . . Location of schemas File . . . . . . . . . . . . . . . . . . Creating Batch Queues . . . . . . . . . . . . . . . . . . . Establishing Account Mapping . . . . . . . . . . . . . Creating Project Directories and Required Shares . . . . . Configuring PD_Lice . . . . . . . . . . . . . . . . . . . . Creating Required Databases/Database Users . . . . . . . Attaching Reference Data to the Project . . . . . . . . . . . . . . . . . . 107 Piping Reference Data . . . . . . . . . . . . . . . . . . . . . . . . . . Equipment Reference Data . . . . . . . . . . . . . . . . . . . . . . . . Loading Default Data into the Piping Reference Database . . . . . . . . 108 114 118 Creating 3D Areas and Models . . . . . . . . . . . . . . . . . . . . . . . 123 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 73 81 84 86 91 93 101 106 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Project Organization . . . . . . . . . . . . . 3D Disciplines . . . . . . . . . . . . . . . . . 3D Areas . . . . . . . . . . . . . . . . . 3D Models . . . . . . . . . . . . . . . . Model Creation for Other 3D Disciplines 3D Design Data and the Database . . . . 2D Disciplines . . . . . . . . . . . . . . . . . Creating a Graphics-only Drawing . . . . Creating a Database Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating a PDS 2D/3D Project Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 42 42 46 47 47 48 49 50 56 60 61 64 66 67 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating Project Directories . . . . . . . . . . . . . . Creating the 3D Project (Equipment and Piping) . . . Creating a FrameWorks/ModelDraft Project . . . . . Creating the EE Raceway Project . . . . . . . . . . . Adding Tables to the EE Raceway Reference Schema Changing Coordinate Systems and Working Units . . Creating PE-HVAC Projects . . . . . . . . . . . . . Creating the 2D Project . . . . . . . . . . . . . . . . Adding Disciplines to an Existing Project . . . . . . iv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 125 128 135 140 140 141 141 142 Table of Contents TABLE OF CONTENTS System Administrator Responsibilities . . . . . . . . . . . . . . . . . . . 147 Plotting in the PDS Environment . . . . . . . . . . . . . . . . . . My Computer versus Network Printer Server --- Windows NT Use of My Computer . . . . . . . . . . . . . . . . . . . . . . Use of Network Printer Server . . . . . . . . . . . . . . . . . The queue_descript File . . . . . . . . . . . . . . . . . . . . Application-specific Considerations . . . . . . . . . . . . . . Modifying Batch Queues for Redirected Processing . . . . . . . . Setting the RIS_PARAMETERS Environment Variable . . . Configuring the PDS Batch Mail Utility . . . . . . . . . . . . Access Control . . . . . . . . . . . . . . . . . . . . . . . . . . . Copying a Set of Users to Another Project . . . . . . . . . . . Creating Backups and Maintaining a Backup Schedule . . . . . . PDS Project Archive to Back Up Project Data . . . . . . . . . NTBACKUP or CPIO Backup of Project Data . . . . . . . . PDS Project Archive to Back Up Database . . . . . . . . . . NTBACKUP or CPIO Backup of Database Files . . . . . . . RIS Backup of Database . . . . . . . . . . . . . . . . . . . . Database Vendor Backup of Database . . . . . . . . . . . . . Full versus Incremental Backups . . . . . . . . . . . . . . . . Which Backup Methods Should I Use? . . . . . . . . . . . . Creating and Maintaining Distributed Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 148 149 149 151 152 155 161 162 164 169 170 170 178 179 179 180 180 181 181 182 RAID Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 I/O Subsystem Components . . . . . . . . . . . . . . . . . Intergraph Supported RAID Levels . . . . . . . . . . . . . RAID 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . RAID 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . RAID 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . RAID 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . RAID 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware Versus Software RAID Implementations . . . . ISMP 5* or 6* RAID Subsystem Description . . . . . . . Configuring ISMP RAID for Performance and Availability 185 187 189 190 191 194 195 196 197 198 DiskShare Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204 206 207 208 209 Scripts to Create Project Directories . . . . . . . . . . . . . . . . . . . . 211 Script to Create Project Directories on Windows NT . . . . . . . . . . . Script to Create Project Directories on CLIX . . . . . . . . . . . . . . . 212 220 Log Files Produced by PDS Batch Jobs . . . . . . . . . . . . . . . . . . 225 PD_Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PD_Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PD_Draw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 227 228 v TABLE OF CONTENTS PDS Project Setup PD_Report PD_Review PD_Clash . PD_Project PD_Data . . Notes: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 230 231 232 233 234 PDS Project Creation Workbook . . . . . . . . . . . . . . . . . . . . . . . 235 Using PDS with FrameWorks and ModelDraft . . . . . . . . . . . . . . . 245 DesignReview . . . . . . . . . . . . . . . . . . . . Interference Detection . . . . . . . . . . . . . . . . Archival and Retrieval . . . . . . . . . . . . . . . Inserting a FrameWorks Plus Project into PD_Shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 . . . . . . . . . . . . . . . . . . . . . Database Setup---Oracle for Windows NT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 246 247 248 . . . . . . . . . . . . . . . . . . . . . . . . . Oracle 8i . . . . . . . . . . . . . . . Removal of Older RIS Client . . Production Database Installation Oracle 8 . . . . . . . . . . . . . . . Removal of Older RIS Client . . Production Database Installation Automatic Startup for Oracle . . Oracle 7.3 . . . . . . . . . . . . . . Removal of Older RIS Client . . Production Database Installation Automatic Startup for Oracle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Database Setup---Microsoft SQL . . . . . . . . . . . . . . . . . . . . . . MSSQL Server 7.0 . . . . . . . . . . . . . Installing MSSQL 7.0 . . . . . . . . . Create User Database on MSSQL 7.0 . MSSQL Server 6.5 . . . . . . . . . . . . . Installing MSSQL Server 6.5 . . . . . . Creation of User Database on SQL 6.5 . . . . . . . . . . . . . 278 278 280 283 283 286 The PDS queue_descript File . . . . . . . . . . . . . . . . . . . . . . . . 289 vi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 . . . . . . . . . . . . . . . . . PDS and Windows NT 4.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 292 292 294 297 298 . . . . . . . . . . . . . . . . . . . . . . . Registry Entries . . . . . . . . . . . . . . . . Creation/Modification of "Common" key Creation of DisableUNCCheck . . . . . . Deletion of winreg . . . . . . . . . . . . Location of RIS Schemas File . . . . . . . . . . . . . . . . . . . . 277 . . . . . . Format of the queue_descript File . . . . . . . General Processing Rules for Printers/Plotters . Configuration for this Example . . . . . . . PDS Print/Plot Jobs and the queue_descript File Interactive Jobs Which Print/Plot . . . . . . . . PDS Batch Jobs and the queue_descript File . . . . . . . . 252 252 252 262 262 262 268 269 269 269 274 . . . . . . . . . . . . . . . . . . . . . 300 300 301 302 303 . . . . . . . FrameWorks Plus Environment Variables . . . . . Commands Set in PDS. . . .CMD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PDS2D Environment Variables . . . . . . . 312 316 318 322 Index . . . . . . . System Environment Variables . .Table of Contents TABLE OF CONTENTS Database Setup -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Informix Workgroup Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 311 . . . . . . . . . . . . . . . . . . 325 vii . . PDS Environment Variables . . . TABLE OF CONTENTS PDS Project Setup viii Preface This PDS Project Setup Guide is designed as an aid for students attending the PDS Project Setup Workshop presented by Intergraph Corporation Education Center and is a supplement to the standard product documentation. It is structured according to the course outline and can be used as a study guide. This document is not intended to serve as a comprehensive reference. Related Products For more information on related topics, consult the following documents: ● Getting Started in PDS 2D (DEA5050) ● PDS 2D RDB Administrator User’s Guide (DEA5018) ● PDS 2D RDB Administrator Reference Guide (DEA5065) ● Project Administrator (PD_Project) Reference Guide (DEA5027) ● Reference Data Manager (PD_Data) Reference Guide (DEA5028) Document Organization This document contains the following chapters: ● Introduction---This chapter defines the basic terminology behind the project setup operations. It also covers questions that should be answered before starting the setup process. ● System Configurations---This chapter describes the system hardware considerations for Project Setup and recommended system configurations. ● Loading and Configuring Software---This chapter describes how to install and configure databases for use with PDS. ● Relational Interface System (RIS)---This chapter describes how PDS uses RIS to define and communicate with the relational databases for a project. ● Preparing for Project Creation---This chapter describes the steps required to set up a server and workstations to run the PDS products. ● Creating a PDS 2D/3D Project Manually---This chapter describes the steps required to create PDS projects manually. These are the steps you must follow if you do not use the Express Project Creation function. ix PDS Project Setup x ● Attaching Reference Data to the Project---This chapter describes the steps required to define the minimal reference data required to run PDS. ● Creating 3D Areas and Models---This chapter describes the creation of models and drawings. ● System Administrator Responsiblities---This chapter describes the tasks associated with maintaining a PDS project C H A P T E R 1 Introduction This document describes the procedure to create a PDS project using PD_Shell. On Windows NT, an alternate method exists. Express Project Creation is a new tool provided with PDS version 6.0 that runs in one of two modes---New User or Advanced User. New User mode asks a minimal number of questions and forces the project to be located on a single node. Advanced User mode is driven by an ASCII file that you can edit to suit your needs and used repeatedly. Express Project Creation is described in the PDS Express Project Creation Quick Start Guide (DEA5083). Project creation through PD_Shell is mandatory if you are creating the project from a CLIX node. It is also useful if you want to add a discipline to an existing project (for example, add an EE Raceway project or insert an existing FrameWorks project). Even if you use Express Project Creation, there are many important principles addressed in this document (Windows NT domains and groups, plotting setup, and so on) that are not described in the PDS Express Project Creation Quick Start Guide . For this reason, this document is suggested reading for all PDS project and system administrators. This document describes the definition of project data and creation of project files including database files, design files, and seed files. It is specifically designed to support the creation and revision of project data for use by other PDS modules. NOTE: System and project setup is typically done by a system manager because the procedure requires the use of privileged logins. However, the system administrator needs to consult with the PDS project manager since certain design choices can be made only at project creation time. 11 CHAPTER 1 PDS Project Setup Other post-creation tasks can be accomplished by other non-administrator users. The normal operation of PDS does not require administrative privileges. ■ The instructions in this document are oriented towards project setup and administration in a primarily Windows® NT environment. Servers running other operating systems (CLIX™, Sun®, and so on) will be discussed only in the role of a file and/or database server. The instructions in this document are not oriented towards a particular database engine. Instructions for the installation of some database engines are contained in the appendices. For assistance installing databases not discussed in the appendices, please see the Intergraph World Wide Web page (http://www.intergraph.com), or contact Database Support at the Intergraph Help Desk. Chapter Topics Concepts and Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Concepts and Terminology The PDS products use interactive graphics and a relational database to integrate the engineering and design of a physical plant. A project and all of its accompanying files must be defined before you can use any of the PDS modules. Before work can begin on a project, extensive system setup needs to be completed. The following diagram outlines the basic flow for initial system setup and project creation. Figure 1-1 Overview for Initial Project Setup This document discusses each step in the diagram. 12 C H A P T E R 2 System Configuration PDS can run on a stand-alone workstation or in a client-server environment. On a stand-alone workstation, PDS, the Relational Database Management System (RDBMS), and plotting software must all be loaded on a local disk. This requires a workstation with substantial resources (disk, memory, CPU). In a typical PDS project, many users will be working with the plant data. In addition, these users may be performing different tasks at the same time (2D schematics, 3D modeling, isometric extraction, report generation, and so on). For this reason, most projects are set up in a client-server environment. In a client-server environment, each client machine accesses the resources it needs from remote servers. These resources can fall into a number of different categories. Chapter Topics Server Functional Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 14 Server Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 13 for optimal performance. infrequently used applications can be loaded in client mode. PDS License Server When you purchase or lease PDS. large reports. This includes seed files. Plot Server Depending on the number of plotting devices in use. Compute Server When a large number of jobs are being run that consume significant amounts of CPU time (hidden line removal. and many other associated support files. report format files. which performs the calculations and returns output to the client. A file server should have a large amount of disk space. they are redirected to the compute server. it can be advantageous to set up a plot server. the client workstations reconfigure their local batch queues to be pipe queues that point to the compute server. the actual 2D and 3D model files. This machine has all I/O cards required to interface with the plotting devices. PID. When batch jobs are submitted by the clients. 2D. the client machine mounts a disk from the software server and runs the software over the network. Licenses are graded by functionality---3D. it can be advantageous to set up a compute server. and so on). all server plotting software. Database Server A database server stores the RDBMS used by the PDS software. clash detection. a tape backup device. and IDM. In this configuration. In this configuration. client machines be provided with sufficient disk space such that all frequently used applications can be loaded locally. distributes these licenses as requested by 14 Server Functional Descriptions . you are provided a key that provides you with a number of PDS licenses. The PDS licensing software (PD_Lice). Many users choose to use a single machine as the file and database server for small-to-medium sized projects. backups are made easier and centralized access control can be established. A PDS key contains encoded information that tells the system how many of each kind of license you have and when they expire. This can place a significant load on the network. and the size and type of the plots. Software Server Intergraph recommends that. Its requirements are similar to those of the file server. By storing all such files on a dedicated server. so it is not suggested for heavily used applications.CHAPTER 2 PDS Project Setup Server Functional Descriptions File Server A file server stores the project files associated with a PDS project. reference libraries. the number of plots being produced. isometric extractions. and a high-speed networking subsystem. However. and sufficient memory to cache certain kinds of plots (typically large raster plots). a new interactive request will fail immediately while a batch job will be placed into a wait state. Specific recommendations as to what functions need to be relocated to separate servers is beyond the scope of this book. If all licenses of a particular type are checked out. It is to your advantage to have a knowledgeable system administrator on staff who can monitor overall system performance and identify trends in system usage that will point out when a particular server is reaching the limits of its resources.System Configuration CHAPTER 2 the clients. It keeps track of how many licenses of which type have been given out and how many remain in the pool. Not all functions require a separate server in all circumstances. PDS is flexible in that these servers can be configured and decommissioned during the course of a single project. Acting as a PDS license server places very little load on the selected node---its choice should be based on it having a stable TCP/IP address (keys are installable only on a node having a specific address) and its accessibility to the system administrator. Server Functional Descriptions 15 . Multiple server functions can be consolidated on a single machine. Note also that NFS can be used to access files on servers running operating systems other than UNIX and its variants (for example. which then communicates with the database through a RIS data server (typically resident on the database server). Modern servers are designed for these purposes. The RIS client software comes with PDS (RIS Shared Component. 16 Server Requirements . as seen in the PDS Component Loader).CHAPTER 2 PDS Project Setup Server Requirements File Server In a Windows NT-only environment. There is no reason why a machine running Windows NT cannot function as a server. This allows the database server to be any machine supported by the database vendor. and then access the database through the database vendor’s networking tools. The vendor’s version of NFS server (SS01261. in the case of an Intergraph CLIX server) must also be loaded on the server. Other supported protocols include the DECnet protocol (DNP) and the Xerox Networking System (XNS). If there are CLIX clients on the network. RIS allows a single version of PDS to work with databases from various vendors in a manner that is transparent to the PDS software. incorporating RAID (Redundant Array of Independent Disks) technology and multiple networking cards as part of the basic design. RIS is a client-server package. it is suggested that the file server run Windows NT Server (NTS). the database server needs to have a high-speed disk subsystem (to access data efficiently) and a high-speed networking subsystem (to retrieve and send data to the network). for a detailed description. VMS). If the server is an Intergraph CLIX machine or a machine running a UNIX variant. In this case. a maximum of 10 mounts per share). Windows NT clients can access remote files using LAN Manager. then Windows clients must use PCNFS (SSBY534) or DiskAccess to access files on the servers. client machines running PDS access the database through the RIS Client software (loaded on the client). the option exists to have the RIS client and server modules located on the client machine. Database Server PDS accesses the RDBMS using the Relational Interface System (RIS). TCP/IP is the preferred communication protocol. In addition. This allows the CLIX clients to mount files from a Windows NT server. In the majority of installations. but there are restrictions that can limit its usefulness (for example. If the database resides on a server running an operating system that is not supported by RIS. See Relational Interface System on page 4-33. the Windows NT server will need to have Diskshare Server (SSBY535) installed. LAN Manager is the networking software that comes delivered with Windows NT and Windows NT Server. Software Server A software server’s requirements are identical to those of the file server. Client machines running PDS submit plots through the IPLOT client. NFS. which communicates with the plotter through the IPLOT server software. Server Requirements 17 . or DiskAccess. the plot server may require an IPLOT metafile interpreter to deal with the specific characteristics of a particular plotter. The software server must have sufficient disk space to load all required PDS products. This will require LAN Manager. InterPlot is designed on a client-server model. If the PDS software is loaded in client mode. similar to RIS. and/or the files it is accessing are temporarily stored on hard disk). NTBATCH may be required on the plot server (NQS for a CLIX plot server). In addition to the IPLOT server software. Compute Server A compute server should have a powerful CPU (typically more than one) and a large amount of main memory to allow it to complete its tasks without having to resort to swapping (where the unused portion of a program. it will need to access the same software loaded in server mode using LAN manager or NFS.System Configuration CHAPTER 2 However. but can also be submitted through NFS. PDS License Server Functioning as a PDS license server places little load on the selected node. It must have a stable TCP/IP address and run either Windows NT or CLIX. Often. Plot Server Intergraph’s InterPlot product suite is a comprehensive plotting production system that supports a large variety of plotters. Because the compute server must run the PDS software. it must run Windows NT or CLIX. depending on the operating system run on these machines. See System Administrator Responsibilities on page 9-147 for a detailed description. even the fastest server will be crippled if the physical network is not up to the task. In addition to the IPLOT software. It will need to have NTBATCH (Windows NT) or NQS (CLIX) loaded so client nodes can pipe batch jobs to the server. Plots are typically submitted across the network using TCP/IP or XNS. It will also need to access the database through RIS. the compute server will mount required resources from the file server. CHAPTER 2 PDS Project Setup 18 Server Requirements . . . . . . . . . . . . . . . verify that no client nodes have the D drive assigned to be a CDROM. . . . . . . . . . . . . Client Nodes . . PDS Products. . . . You can reassign drive letters so that the CDROM on a client node is assigned to a letter other than D. . . . . . . . . . Chapter Topics Operating Systems and Related Components Software Required for File Sharing . . . . . . . . . . Many computers have the D drive assigned to be a CDROM. . . . . . . . . . . . . . Software Required for Plotting . . . . . . Software Required for Batch Processing . . . Both client and server nodes are covered. . . . . . . . . . 20 22 24 25 26 27 28 31 19 . . . . . . . . . . . . . . . . You should make the reassignment before you load software on that client node. . . . . . Core Graphics Software . . . . . . . . . . . . . . . . . . . . . The various products are covered in a bottom-up approach. . . . with the lowest level products described first. . . . . . . . . If you plan to create projects on the D drive. . . . If you are using a server where the D drive is not a CDROM and plan to access the project from client nodes where the D drive is a CDROM. . . . . you may encounter problems. .3 C H A P T E R Loading and Configuring Software This section describes the loading and configuration of specific software products. . . . . . . . PDS Products. . . Server Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Database Software . . . . Comments on each are listed below. . . . . . . RAID Most Intergraph servers come with built-in support for hardware RAID (Redundant Array of Independent Disks). . . . . A full description of the differences can be found in the documentation that accompanies Windows NT. . . in a limited manner. . 20 Client Nodes . . . . and also many of the advanced networking functions require at least one node on the network to run Windows NT Server. . . . 20 File Systems Windows NT and Windows NT Server support a number of file systems--FAT. FAT now includes support for long file names. TCP/IP must be installed. . . ● PDS has not been tested using HPFS. . . . . The description is limited to Windows NT and Windows NT Server. . . . . . . . . . . . many other networking services are described . . . . . . . . . . 20 Server Nodes . . ● Under Windows NT/Windows NT Server. . . . . . . . . function as a server. Performance---Data can be striped across drives. . RAID provides two primary benefits.CHAPTER 3 PDS Project Setup Operating Systems and Related Components This section describes specifics regarding the configuration of the operating system. . . . It offers a more robust file recovery/corruption checking scheme as well as complete Windows NT security. and HPFS. . . .but at minimum. . . Some limited testing of PDS using FAT file systems has been done. TCP/IP is essential for the operation of the PDS Licensing software and RIS. ● Intergraph recommends that NTFS be used on all nodes. . NTFS. . Server Nodes A machine running Windows NT can. 1. . File Systems . . . . but since FAT offers very little security (only on shares) it is not recommended for use with PDS. . . Client Nodes All client nodes that will run PDS must have Windows NT and TCP/IP loaded. . . . . In Server Nodes on page 20. . . . . . . . . . . 20 Operating Systems and Related Components . . boosting performance of read operations. . . . . . . . There are limitations on the maximum number of client machines that can mount a share (10). . . . . . CAUTION: Before loading additional software and configuring network services. This allows all computers in the domain to be treated as a single unit for management of user and group accounts. The Windows NT domain controller must run Windows NT Server. It is recommended that a Windows NT domain be created and that domain accounts be used. which allows assignment of internet (TCP/IP) addresses to clients on demand. Creation of a Windows Naming Service Server It is also suggested that a Windows Naming Service server (WINS server) be created. creating. Additional information about planning. be sure to examine the RAID configuration to determine its suitability for the system’s intended use. Creation of a Domain Naming Service Server If you have CLIX nodes on your network or nodes running other operating systems. A WINS server maintains a database of the names of all network nodes. It also allows nodes to browse domains across a router and greatly reduces Internet Protocol (IP) broadcast traffic on the network. If changes to the RAID subsystem are required. and administering domains can be found in the Windows NT Server Concepts and Planning Guide. To run PDS in a DHCP-enabled network. ■ See RAID Configuration on page 183. User Accounts A Windows NT domain is a collection of computers that share a common user account database. Operating Systems and Related Components 21 . Additional information on DHCP can be found in the Windows NT Server Books Online. for a technical overview of RAID. the operating system and all software components will have to be reloaded after reconfiguring RAID. The DHCP server must run Windows NT Server. Use of Dynamic Host Control Protocol Windows NT Server includes Dynamic Host Control Protocol. The WINS server must run Windows NT Server. This allows the Windows NT nodes to resolve the names of CLIX/other nodes and vice-versa. Additional information about creating and administering a WINS server can be found in the Windows NT Server Books Online.Loading and Configuring Software CHAPTER 3 2. the address of all servers need to be fixed--particularly those of the database server and the PDS license server. then a RAID configuration of some type has already been set up. This eliminates the need to maintain an LMHOSTS file on each node. Reliability---Certain RAID configurations offer protection from data loss due to disk failure. If your server came with the operating system preloaded. and it makes it easier for system administrators to manage the network. DNS for CLIX is covered in the CLIPPER System and Network Administrator’s Guide (DSA0299). It provides a benefit to users when they browse the network for available resources (since nodes are grouped by domains). you may need to configure a Domain Naming Service server (DNS server). For example. When NetBEUI and TCP/IP are both installed on each node and NetBEUI has been set to be the first protocol used. For this.CHAPTER 3 PDS Project Setup Software Required for File Sharing Protocols Provided with Windows NT Microsoft provides four protocols for use with Windows NT/Windows NT Server. it does not allow them to mount disk resources from CLIX nodes. Windows NT uses NetBEUI for communications between nodes on the same LAN and TCP/IP for communications across routers. providing interoperability with Novell NetWare servers. On 22 Software Required for File Sharing . and has a low overhead. then the mount occurs. however. NFS is a client/server product---the NFS client requests access to a disk directory from the server. and its primary advantage is that it provides communications across interconnected networks where different operating systems may be in use. Additional information on these protocols can be found in the Windows NT Server Concepts and Planning Guide. the client and server portions of NFS are combined in a single product (SS01081). DLC Data Link Control (DLC) has been provided to allow communications with IBM mainframe computers and with printers that are connected directly to the network. provides good error detection. While NetBEUI and TCP/IP together provide a way for Windows NT nodes to mount each other’s disk resources within and across LANs. Protocols Not Provided with Windows NT NFS allows machines running a variety of different operating systems to share and mount disk resources. It is. If the specified disk directory is shared and the client machine has been granted access to it. NWLink Is compatible with the Novell NetWare IPX/SPX protocol. It is very fast. DiskAccess is required. TCP/IP Transmission Control Protocol/Internet Protocol (TCP/IP) has been around since the 1970s. a CLIX node can mount disk resources from a VAX running VMS through DiskAccess. NetBEUI Is the primary network protocol used when sharing resources (disks) within a single LAN. not routable across LANs. nor does it allow CLIX nodes to mount disk resources from Windows NT nodes. On CLIX. and other supporting products. Software Compatibility Download the PDS compatibility matrix (an Microsoft Excel spreadsheet) from smart.com for information on compatibility of PDS products with MicroStation. understand. and so on).intergraph.0 Before you start loading applications. and the server portion is DiskShare for Windows NT (SSBY535). PDS and Windows NT 4. and following the information provided in Appendix J. and so on) to be able to mount disk resources from a Windows NT node. the client and server portions are broken into two separate products---the client portion is DiskAccess for Windows NT (SSBY534). PDS and Windows NT 4. the Windows NT node must have DiskShare loaded. VMS.0. For a Windows NT node to mount disk resources from another node running NFS server (CLIX. be sure to read. Windows NT. For a node running NFS (CLIX. Software Required for File Sharing 23 .Loading and Configuring Software CHAPTER 3 Windows NT. the Windows NT node must have DiskAccess loaded. VMS. databases. PDS batch jobs that are redirected to a server require that the server be able to run the PDS software. The second is: Do you want all jobs to run as the same user? It is recommended that you decline this option and establish account mappings later. 24 Software Required for Batch Processing . ● Batch processes can be redirected (piped) to another node that may have more suitable resources to complete the required task. the currently running batch job will result in a collapsed DOS window being shown at the bottom of the monitor. SS01126) loaded to be able to run batch jobs. either move the directory paths with the quotes to the end of the PATH statement or remove the quote marks (if the directory path does not contain spaces). CLIX machines must have Intergraph Network Queuing System (NQS. archive project. The benefits of using batch processes are: ● Batch processes run in the background---allowing the client node to continue with productive work. ● Allow batch jobs to have access to the desktop. make sure you: ● Load the software into ~\win32app\ingr. It is recommended that you accept this option. Although NQS is available for machines other than Windows NT and CLIX (such as SCO UNIX). because it is a prerequisite for the PDS batch mail utility. NTBATCH must be loaded on each machine that will run PDS. there are two prompts in particular to pay attention to. ● Batch processes can be scheduled to run at a set time. and so on). PDS path statements must appear before path statements with quotation marks. The first is: Do you want jobs to have access to the desktop? If you accept this option. for more information. which will mail you the log file (with possible error messages) from batch jobs. If you find that the batch processing software has added quotes. therefore redirecting PDS batch jobs to a server other than one running CLIX or Windows NT is not possible. See Preparing for Project Creation on page 5-41.CHAPTER 3 PDS Project Setup Software Required for Batch Processing PDS accomplishes many tasks by the use of batch processes (create model. When NTBATCH is loaded on a Windows NT node. extract iso. ● When finished loading software. When loading the batch processing software. check the PATH variable (in Control Panel > System) to check for quotes (") in the system PATH. NT Batch Services for Windows NT (SSBY734) allows PDS to run batch jobs. Loading and Configuring Software CHAPTER 3 Core Graphics Software CAUTION: All software described in this section should be loaded before any PDS products are loaded. Loading core products after PDS products have been loaded can lead to problems. Core Graphics Software 25 . See the README file or the compatibility matrix for more information on the versions of MicroStation that are supported with that version of PDS. ■ MicroStation All client nodes that run PDS should have MicroStation loaded. SmartSketch® Any client nodes that will generate Pipe Support drawings or perform data transfer from SmartPlant® P&ID should have SmartSketch® loaded. you should reload PDS. If you reload MicroStation. you must reload PD_Shell and IPLOT Client to ensure that you have the correct user preference file. If you need to reload a core product after you have loaded PDS. The reason is that when you connect to Windows NT printers using Connect to Printer. make sure you: ● Load the software into ~\win32app\ingr. The more useful printer connection is made using Create printer.CHAPTER 3 PDS Project Setup Software Required for Plotting At a minimum. check the PATH variable (in Control Panel > System) to check for quotes (") in the directory paths. all client nodes must have IPLOT client installed (SP0N194. ● When finished loading software. When loading plotting software. for more information regarding plotting configuration. and to do this the client machine must have IPLOT server loaded. PDS path statements must appear before path statements with quotation marks. the Windows NT client machine will also need to have IPLOT server installed as well. See System Administrator Responsibilities on page 9-147. In addition. If you find that the plotting software has added quotes. for Windows NT clients) if they want to print from that client node. the connection that is made is a temporary connection that is usable only by the currently logged-in user. 26 Software Required for Plotting . other Windows NT clients can submit plots to this same printer using this client as a gateway. In many cases. After a single Windows NT client has established a connection to a printer using Create printer. IPLOT server and the required metafile interpreter must be loaded on servers that support directly-connected printers. either move the directory paths with the quotes to the end of the PATH statement or remove the quote marks (if the directory path does not contain spaces). backup devices are designated.com). 2.Loading and Configuring Software CHAPTER 3 Database Software All client machines must have the RIS client software (RIS Shared Component. In most cases installing the database is a two-part procedure: 1.intergraph. Creation of individual databases for use by a particular PDS project. depending on which products have been loaded. It is suggested that the Configure RIS version utility be used to remove older versions of the RIS client software. as seen in the PDS component loader) loaded to access the database. MDAC Any client nodes that will perform drawing resymbolization or data transfer from SmartPlant P&ID should have the Microsoft Data Access Components (MDAC) loaded. and so on). Having multiple versions of the RIS client software loaded can lead to problems. See Relational Interface System on page 4-33. Database Software 27 . MDAC can be loaded from the Windows NT option pack or from the SmartPlant P&ID CD-ROM. you may find that multiple versions of the RIS client software exist on a particular node. CAUTION: In certain situations. For assistance with a database not covered in the appendix. Installation of the actual database product (which typically takes you through a procedure where disk space is set aside. These steps are described for a number of database products in the appendices. consult Intergraph’s World Wide Web page (http://www. Oracle Client If Oracle is being used as the relational database for the SmartPlant P&ID project. administrative users are created. ■ The RDBMS software must also be installed on the server. for more information. any client nodes that will perform data transfer from SmartPlant P&ID should have Oracle client loaded. The database server will also need to have the RIS data server for the database in use. or contact the Database Support at the Intergraph Help Desk. then you should have a serial number for each product that is separate from the PDS serial number. Client Nodes When you invoke the PDS component loader. the Intergraph PDS Component Loader dialog box displays. ■ After entering this information. then PDS can be loaded on all clients using a PDS 3D serial number (ending with 316). you are prompted to enter your name and serial number. EE Raceway. If you have purchased FrameWorks Plus. These products should be loaded with the individual product’s serial number.CHAPTER 3 PDS Project Setup PDS Products. 2D. 28 PDS Products. NOTE: If your PDS License key contains only PDS 3D seats. and/or IDM seats. then the 2D products must be loaded on those clients using the correct serial number as shown on the outside of the box. Client Nodes . If your PDS License key includes 3D. PID. or PE HVAC separately from PDS. All client nodes must have PD_Shell and PD_Lice loaded to the local disk. If you choose Server as the installation type. the Local install path changes to Server install path. a dialog box showing its load options displays. If you choose Local as the installation type. Frequently-used products should be loaded locally. while infrequently used products can be loaded in client mode. If you choose Client as the installation type. the software is loaded to the local disk. You must now enter the software server name and the path where this PDS product was loaded in server mode. both of which can be loaded on PDS Products.Loading and Configuring Software CHAPTER 3 When you choose a specific product to load. Other products can be loaded local or in client mode. An exception is the 3D reference data. RDUSRDB or RDDINRDB. The node from which projects will be created must have all required products loaded locally. the Server Name field becomes active. and the PDS 2D reference data. and the Local install path field changes to Server path. Client Nodes 29 . If this registry keystring does not exits. NOTE: The Component Loader runs a check of the registry keystring HKEY_LOCAL_MACHINE>SOFTWARE>Intergraph>Common in preparing for delivery of the RIS Shared Components. If the keystring does exist.CHAPTER 3 PDS Project Setup a server and referenced from the client node during project creation. Client Nodes . If projects are created using Express Project Creation/New User Mode. See Registry Entries on page 300 for more information. a warning dialog box displays. and the RIS Components will not be delivered. then the required reference data must be loaded locally. If either of these rules is violated. ■ 30 PDS Products. it must be no longer than 22 characters and must not contain any spaces. The Component Loader creates it with a value of c:\win32app\ingr\share. If the server is used as a PD_Lice license server. the following products would have to be loaded on a server that is processing batch isometric extractions and plotting them: PD_ISO PD_ISOGEN PD_LICE NTBATCH MicroStation IPLOT Client (also IPLOT Server if printing to a network printer) RIS client Note also that any redirected batch job which involves initializing a design file will require MicroStation to be loaded on the compute server. then MicroStation would not be required. See Preparing for Project Creation on page 5-41. then it will have a PD_Lice key installed as well.Loading and Configuring Software CHAPTER 3 PDS Products. then the products can be loaded server mode on the server. then the required products can be loaded local on the server. If the server is used for redirected batch jobs and also by client nodes having the software loaded client mode. Server Nodes PDS products must be loaded to the server node if it is being used by clients having the same products loaded in client mode. PDS Products. for more information. or if the server is being used to process redirected batch jobs. As an example. An example of this is a PD Clash interference check . it must also have PD_Lice loaded and have access to a valid license server. Also note that if a server is used for processing redirected batch jobs. If the server is used only for redirected batch jobs. Server Nodes 31 .the marker file must be opened by MicroStation as part of the batch job. If the server is used only for clients having the software loaded client mode. If the server is only a file server and/or database server. then the products can be loaded local on the server. Server Nodes .CHAPTER 3 PDS Project Setup 32 PDS Products. . . . . . . . . . . . . . . . 3D Schemas . . . . . How RIS Communicates with the Database Database Structure . . . . . . . . . . . . . . . . . . Chapter Topics Why RIS? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 C H A P T E R Relational Interface System The on-line RIS SQL Reference manual provides a detailed overview of RIS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2D Schemas . . . . . This chapter provides a brief summary. . . . . . . . . . . . . 34 35 36 38 39 33 . . . . those applications were hard wired to a particular database type.CHAPTER 4 PDS Project Setup Why RIS? When Intergraph first developed applications that used databases. RIS decouples the database from the application. RIS includes the networking software to access the remote database. To support the use of a different database type. saving you money by not requiring the use of the database vendor’s networking software. A methodology was required such that a single version of an application could interface with multiple database types---the solution to this problem is RIS. 34 Why RIS? . By doing so it allows multiple client nodes to share a single copy of the database. another version of the application software would have to be written. In fact. and the RIS data server translates these into database-specific requests for information. however. The schemas file and the proj file serve similar functions---they allow the client application to resolve a name into a location. RIS locates databases in a manner similar to how PDS locates projects. Having found the information required to locate the database from the schemas file. RIS establishes a connection to the database via the RIS data server. Projects and databases can be located on multiple server nodes. The RIS client issues database-independent requests for information. The schemas file can reside on the local node or on a server. ■ The RIS client software reads the parms file that resides in the RIS product directory on the local node. How RIS Communicates with the Database 35 . Typically the RIS client software that is used is that loaded on the local machine. RIS supports a locate client function that allows RIS to use the client software located on another node. and contains a list of all accessible databases on the network. The parms file tells RIS where to find the schemas file. CAUTION: The use of the RIS locate client operation can lead to problems unless it has been recommended by Intergraph Support. The client application uses these files to locate projects and databases anywhere on the network.Relational Interface System CHAPTER 4 How RIS Communicates with the Database The following diagram shows a complete RIS connection: A RIS-enabled application (such as PDS) issues commands to the RIS client software. yet all can be listed in a single proj file/schemas file. When creating a new PDS project. PDS then connects to the same database and creates the PDS application tables for that particular database type. After completing this. the database type. A schema is a unique database/username combination. PDS Application Tables The PDS application tables contain real data of use to PDS. When a schema is created. After accepting this form. and rows. 36 Database Structure . When you create a schema for a database from within PDS. and username must be identified.CHAPTER 4 PDS Project Setup Database Structure All databases have certain features in common. address. and clash information. In some cases. The schema is a way of mapping a name to a database. a subset of the database dictionary tables may be included with each user database. For assistance with a database not covered in the appendices. Information about creating schemas for a number of different databases is provided in the appendices. a number of schemas must be created. consult Intergraph’s World Wide Web page (http://www. Then. A database consists of tables.intergraph. such as pipeline. or contact the Intergraph Help Desk. you must first complete the information in the Create Schema form. RIS connects to the specified database and creates all of the RIS dictionary tables. RIS Dictionary Tables The RIS dictionary tables are used by RIS and contain information that RIS needs to communicate with PDS. Tables may be broken into 3 types. columns. unit. PDS can refer to the database by specifying only its name.com). PDS issues a command to RIS to create a schema for the specified database. Database Dictionary Tables These are tables that the database uses for its own administration. They include things such as where all of the files that comprise the database are located and lists of all database usernames. For this reason. SQL Server. a unique database is created for each schema. Schema Name Database Name pd_proj1 pd_proj1 Operating System Username pds dd_proj1 dd_proj1 pds ra_proj1 ra_proj1 pds Oracle.Relational Interface System CHAPTER 4 Informix and RIS Schemas Informix requires that each database be owned by an operating system username. Schema Name pd_proj1 Database Name pds Database Username pd_proj1 dd_proj1 pds dd_proj1 ra_proj1 pds ra_proj1 Database Structure 37 . and RIS Schemas Oracle and SQL Server both maintain a list of usernames that is different from that maintained by the operating system. Rather than create multiple operating system usernames just for the purpose of owning databases. a unique database username is created for each schema. 38 3D Schemas . 2D. Contains information specific to each EE Raceway model. See the Project Administrator (PD_Project) Reference Guide (DEA50275). Contains information specific to each 3D piping (and optionally equipment) model. RA Approved reference schema. Contains EE Raceway reference data. EE EE Raceway project schema. EE. FW) and all associated reference data DD Design schema. RU Unapproved reference schema. Contains approved reference data. Contains unapproved reference data. Contains the location of the project (3D. for a list of the tables and columns for each of these database schemas. RE EE Raceway reference schema.CHAPTER 4 PDS Project Setup 3D Schemas PD Project control schema. Relational Interface System CHAPTER 4 2D Schemas PD Project Control Data. Contains information posted from the PFD schema. Contains information posted from the IN schema. PID P&ID Task Schema. Contains the location of all drawings and the 2D reference data. IN IDM Task Schema. PIDM P&ID Master Schema. Contains information specific to each 2D PID drawing. PIDBK. INM DM Master Schema. The backup schemas can be used when retrieving 2D data from an archives. Contains information posted from the PID schema. Contains information specific to each 2D PFD drawing. there can be a backup schema for each of the schemas listed above (PDBK. Contains IDM reference data. PFD PFD Task Schema. NOTE: In addition to these schemas. and so forth). PFDM PFD Master Schema. ■ 2D Schemas 39 . Contains information specific to each 2D Instrument and associated devices. INR IDM Reference Schema. CHAPTER 4 PDS Project Setup 40 2D Schemas . . . Creating Project Directories and Required Shares Configuring PD_Lice . . . . . . . . Location of schemas File . . . . . . . and others need to be done before any new project is created. . . . . . . . . . . . . . Creating Required Databases/Database Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 C H A P T E R Preparing for Project Creation Additional preparations that must be made before creating a project are discussed in this section. . . . . 42 47 56 60 64 66 67 41 . . . . . . . . . . . . Location of the proj File . Some are one-time tasks. . Chapter Topics Establishing Domain Users and Groups . . . . . . . . . . . . . . . . . . . . . . Creating Batch Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Domain Usernames Domain user names are created through User Manager while you are logged in as the administrator user on the domain controller. . . . . . . . ■ 42 Establishing Domain Users and Groups . Because nodes in a workgroup do not share account information. . it is very difficult to establish a comprehensive security system. .) By default. . . . all nodes are members of a workgroup. Domain Name . . . . (The server must be running Windows NT Server.CHAPTER 5 PDS Project Setup Establishing Domain Users and Groups Establishing domain users and groups is as important as establishing TCP/IP addresses for the nodes on your network---if it is not done correctly. . . An example domain user/group setup is outlined in the following sections. . . . . . A workgroup is a loose collection of nodes that do not share account or security information. . . Note that to create a domain. . . . . . . . . . . . . . . . . . . . . . . . Do not allow users to create their own logins while logged into client nodes. . . . You should also establish a secondary (or backup) controller. . The Windows NTS Concepts and Planning Guide (provided with the Windows NT Server software) is highly recommended reading for system administrators. 42 Domain Usernames . . . . . . all nodes share a single account database. . . . . . . Windows NT Server must be loaded as primary or backup domain controller. NOTE: All domain user names are created while you are logged in as the administrator user on the domain controller. . . You will be requested to provide this information when loading Windows NT Server. . 42 Domain Groups . . . . . . In a domain. specify a domain name. . . . . . . . . . The domain name can be set by starting Control Panel and double-clicking Network. . This makes the establishment of a security system much easier. Then. . . . . . . 46 Domain Name The domain name can be set when the domain is created on the server. . . . you will have ongoing problems. then click Change. and start Control Panel. the system administrator typically performs this operation. Welcome to the PDS domain. and from User Manager click User Rights from the Policies menu. Click Log on locally from the list. and you are prompted to reboot. In the bottom part of this dialog box. Then double-click Network. The generic user pds is used for a number of user-independent operations that are described later. Because knowledge of the administrator password on the domain server is required to accomplish this task. Click Domain. log in once again as the local administrator user. each client node must join the new domain. log in on a client node as the local administrator. Establishing Domain Users and Groups 43 .Preparing for Project Creation CHAPTER 5 An set of example domain user names follows: PDS User Domain User name Al PDS\al Jane PDS\jane Bob PDS\bob Mary PDS\mary Janice PDS\janice generic user PDS\pds After a domain and the domain user names have been created on the domain controller. Click the Identification tab. select Create Computer Account in Domain and type administrator as the user name. To join the domain. Then type the password for the administrator user on the domain controller. A message displays. and type PDS (in this example) as the domain name. After rebooting. Then click Domain Users and the Add button. You may want to add user bob into the local administrators group. give them permission to do anything. it is primarily used by one user (Bob). however. This allows any user in the PDS domain to log in on this client node. They do not have access to files or any administrative functions unless the local administrator grants them those privileges. and select the domain you created from the List Names From list. 44 Establishing Domain Users and Groups . Click OK to allow domain users to log on to the client node. You would then need to grant this user access to the files on the local disk before logging out as the local administrator. although you have granted all domain users the right to log on to this node. If this is done. then you would not want to do this.CHAPTER 5 PDS Project Setup Click Add. Assume that. If you want to restrict this user from all administrative functions (such as adding other users into the local administrators group). It does not. no additional file permissions should need to be granted to user bob---members of the local administrators group should have access to most files on the local disk. Select the Security tab on the Properties dialog box. Select the domain user name. and click Show Users. select the C drive. While you have the Directory Permissions dialog box open. click Add.Preparing for Project Creation CHAPTER 5 To grant a domain user access to files on the local disk. activate Explorer. be sure to click Replace Permissions on Subdirectories if you want to grant the user access to all subdirectories. Select the domain from the list. Right-click and select Properties. then click Add. and then select the permission you want. Click Permissions. Having granted the domain user the right to log on locally and access to files on the local disk. you should be able to log off as the local administrator user Establishing Domain Users and Groups 45 . For example. After all users on all client nodes are using domain logins. Also.) You can type a new group name (designers) and a description. (For a description of the differences between local groups and global groups. and then select domain users to add to the group (jane. From the User Manager main menu. In addition. PDS\administrator Janice PDS\janice PDS\users pds PDS\pds PDS\users Domain user names are created while logged on as administrator on the domain controller. making mary a member of the administrators group probably grants her all of the privileges of the designers group and more. see the Windows NTS Concepts and Planning Guide. Because of this. and mary). 46 Establishing Domain Users and Groups . her membership in the designers group may not be necessary. so that access to resources can be granted to many users at one time. multiple users can be assigned to a group.CHAPTER 5 PDS Project Setup and log in as the domain user. a domain user is automatically a member of that domain’s users group (janice). User groups can be created in a similar manner from within User Manager. Granting this group access to a set of files grants the privilege to all users in the group. bob. then New Global Group. click User. but in some cases one group may encompass those privileges provided by another group. Domain Groups A domain and domain user names have been created for use by all PDS users. additional preparations for project creation can proceed. Users can also be a member of more than one group (mary). Consider a continuation of the previous example: PDS User Al Domain User Domain Group name PDS\al PDS\administrator Jane PDS\jane PDS\designer Bob PDS\bob PDS\designer Mary PDS\mary PDS\designer. . . Sharing the proj File Locations Through NFS . PDS 2D and 3D applications can share the same proj file. . . Windows NT includes administrative shares for the top-level drives (C$. The directory should be shared with the default permissions of Everyone/Full Control. . The next dialog box shows a Share Name of <drive>$. . . . . . select the directory to be shared (for example. . . . . . D. . . where <drive> is a drive letter (C. . . Although it is possible to grant permissions on the share. . . . . 47 48 49 50 Sharing the proj File Location Through LAN Manager The directory where the proj file is located must also be shared. we suggest that the primary means of securing files be the file and directory permissions as applied through Explorer. . . . . another dialog box displays listing Lan Manager or NFS as your options. and so on).Preparing for Project Creation CHAPTER 5 Location of the proj File The location of all PDS projects are stored in a file named proj_file (also referred to as the proj file). A directory should be created on the server for storing the proj file. Sharing the proj File Location Through LAN Manager Default C Drive Permissions . . . D$. 3. . If you have DiskShare loaded. . 2. . . . and then right-click and select Sharing from the right-click menu. Apply permissions to the parent directory. . . . In this example. . Location of the proj File 47 . . . . . Create a directory for the proj_file on the server. . Universal Naming Convention . . These shares are not usable by non-administrator users. The procedure to do this includes 3 steps: 1. . . This file should be located on a server so that all client nodes can refer to a single copy. . . . . . . Security should be set to PDS\administrators---full control and PDS\domain users--change on this directory. . . . . . While logged in as an administrator on the server. . . If this dialog box displays. . click LAN Manager. . Share the drive where the parent directory is located. . . . . . . . . . . c:\pdsadmin). and so on). . . a directory c:\projfile is created on the server CADSRV. and then click OK. . these would be the permissions on your C drive: 48 Location of the proj File . When a FAT volume is converted to NTFS the default permissions are Everyone/Full Control. we suggest that permissions be applied to files and directories. As a point of reference. not shares. and then click Permissions to add or remove privileges on the share. but as discussed earlier.CHAPTER 5 PDS Project Setup You can add a comment. if you were to reformat your disk as NTFS and reinstall Windows NT. Default C Drive Permissions Many Windows NT workstations are delivered by default with FAT file systems which are typically converted to NTFS using the Windows NT convert utility. PDS 6. accessed through PDS using MicroStation 5. these would be the default permissions: In this case. a file named test. Universal Naming Convention When running PDS under Windows NT. If you have converted a FAT volume to NTFS. you can see that although the file on the server is being accessed.0) supports the use of the Universal Naming Convention (UNC). MicroStation 5. the server is also a domain controller.0 results in visible mounts being made for the proj file and models.5 is being used--when PD_Shell is started. the proj file is accessed differently if MicroStation 5. no visible mount has been made to the server. Adding additional domain users into the local administrators group also grants them the same privilege. Similarly. no mounts are seen through File Manager. consider applying these permissions to the drive immediately after conversion.5.0 functions in a similar manner when MicroStation 5. The same project.wri exists on the server CADSRV in the c:\temp directory and the C drive has been shared with the appropriate permissions. This is why no domain name is included in front of the Administrators group.0 or MicroStation 5.5 is being used. If your server is running Windows NT Server. If File Manager is started. For example. One of the benefits of UNC is that remote files can be accessed without having to mount the remote resource locally. Location of the proj File 49 .5 (and PDS 6. If File Manager is opened and the F5 key pressed (to refresh the list of mounted resources). the first thing it does is read the proj file to display the list of projects. when models from a PDS project residing on a Windows NT server are accessed through PDS using MicroStation 5. it shows that no additional mount has been made.Preparing for Project Creation CHAPTER 5 Note that the local administrators group (PDS1\Administrators) has full control on all files on the C drive. This file can be accessed using Microsoft Write by keying in write \\cadsrv\c\temp\test. and is mandatory reading. and then click OK to display the New NFS Share dialog box. See the Intergraph DiskShare 50 Location of the proj File . and click the share icon. all client nodes running NFS have the ability to mount the share. Click Permissions to display the NFS Share Permissions dialog box. Click NFS. This is described in DiskShare Notes on page 203. By default. If this is the case. only those nodes having properly mapped users are able to access the files.CHAPTER 5 PDS Project Setup Sharing the proj File Locations Through NFS If you have DiskShare loaded on your Windows NT server. However. After establishing user mapping. user mappings must be established to map the CLIX users to Windows NT users. you can create a client group. If you want to grant only specific nodes permissions to access the share. you can share the proj file through NFS so that CLIX clients running NFS can access that same proj file that the Windows NT clients access. select the C drive in File Manager. Preparing for Project Creation CHAPTER 5 Administrator’s Guide (DSA0593) for additional information. c:\users\pds). assume that you are logged in on the client node that is primarily used by Mary as PDS\mary. click PDS Configure in the PD_Shell program group to display the PDS 3D Control File. NOTE: Sharing only the proj file directory through NFS will not work. set its permissions. and shared it. it is stored in the ~\win32app\ingr\pdshell directory. While logged in on a client node as a domain user. Also assume that she has a home directory c:\users\mary where her personal files are stored. Assume that a directory named c:\users\pds has been created for the purpose of storing common files and that PDS\domain users have full control on this directory. you are ready to tell the client nodes where it is. You must share the drive. Click OK to share the C drive for access by clients running NFS. You can click Browse and navigate into a directory where you would like this file located (in this example. This shows the location of the pds. In this example. Other users may log into this node to work while Mary is gone and would need to access the pds. You should copy it to some other location on the local node.cmd file. By default.cmd file. ■ Locating the proj File from Client Nodes---PDS 3D After you have established a directory for the proj file. Location of the proj File 51 . and that it is copying the default file from the PD_Shell directory into the new location. When you click Modify. The Modify PDS 3D Control File dialog box displays. The proj file is not created until you make a new project. Click Continue.cmd file had been copied into this directory earlier.cmd file does not exist in the selected directory. PDS informs you that the pds.cmd file is created in the specified directory and contains the location of the new proj file.cmd file is now reflected in the PDS 3D Control File dialog box. it would show up in the File Name list. Click Yes to accept this form. If it does not. you can replace the * with pds so the file name is set to pds. You can now click Modify to specify the proj file. The pds. and then click OK on the PDS 3D Control File dialog box.CHAPTER 5 PDS Project Setup If the pds.cmd and then click OK. and the name of the server. Type the location of the proj file on the server (in this example. 52 Location of the proj File . c:\projfile). The new location of the pds. CLIX nodes running PDS set the location of the proj file using environment variables that are set either in the . Assuming a server name of CADSRV and a proj file located in the c:\projfile directory.cmd file pointing to the same proj file on the server. or its settings should be written down in case the 2D product is removed or reloaded.Preparing for Project Creation CHAPTER 5 NOTE: In addition to storing the proj file. the ntparams. the directory you designate for the proj file also stores other important files related to PDS project administration.sh file. PDS 2D stores the location of the proj file in the ntparams.cmd file used by PDS 3D. Location of the proj File 53 . This directory should be backed up on a regular basis. some system administrators prefer to maintain multiple proj files.dat file cannot be moved. the environment variables would be set as follows: export PROJ_FILE=’c:\projfile60\\’ export PROJ_ADDR=CADSRV Note the single quotation marks and the double slash used in setting the proj file---this is important for the correct processing of batch jobs on CLIX. In certain cases.dat file located in the \pds2d\cfg directory. This file should be backed up. There is an exception to this rule however. where many projects are being managed. Locating the proj File from Client Nodes---PDS 2D Double-click Set Options in the PDS 2D Applications program group to set the proj file location for the PDS 2D applications. Unlike the pds. ■ All client nodes should be set up to have their pds. each listing a number of related projects.profile or control. gpr which must be copied from the \pds2d\cfg directory into the project directory. An example file (named testprj. you will notice that separate fields are not provided for the node name and the path. therefore PDS 2D needs an alternate means of determining where these drawings are stored. the Optional Project Data fields need to be changed. the server would have to be mounted as the F drive every time you wanted to start PDS 2D. These fields should not require any changes. its name can be changed as long as the extension remains . the server will be mounted locally.CHAPTER 5 PDS Project Setup The Networked Delivered Product Data fields are set to the location where PDS 2D is loaded on the local machine. The Database Proj File Path can be set to the same location as that used by PDS 3D. it is mounted as the F drive. The 2D disciplines (2D. A drawing created in graphics only mode can be attached to the database at a later time if required.gpr) resides in the c:\testprj\project directory. In this example. After selecting the projfile60 directory and clicking OK. a new directory named 2D is created under the c:\testproj\models directory for storing graphics-only drawings. This information is stored in a file named example. The location of this file must be entered into the Graphics Only Project Files Path on the Set Options form. If you click Network to mount a drive from the server and select the proj file location. However. IDM) support the use of drawings that are graphics only or graphics + database. A better way to specify a remote proj file directory is to use the Universal Naming Convention (UNC) format. the proj file location will be stored as F:\projfile. a warning message displays. For this to work. the location of \\CADSRV\c\projfile60 could be entered directly into the Database Proj File Path field. and the proj file location will be set to the mount point. 54 Location of the proj File . The location of graphics-only drawings is not stored in the database. The Graphics Only Project Files Path is set to a location where PDS 2D graphics-only drawings are stored. In this example.gpr. Once copied into the project directory. You can use Browse to set this location. or type it directly into the field. The information in this file must also be updated to match your installation. and the last line has been modified to specify where new graphics-only drawings will be created. c:\testprj\2d\pds2d\ c:\testprj\2d\pid\ c:\testprj\2d\pid\forms\ c:\testprj\2d\pid\menus\ c:\testprj\2d\pfd\ c:\testprj\2d\pfd\forms\ c:\testprj\2d\pfd\menus\ c:\testprj\2d\pds2d\ The first seven lines have been modified to specify the reference data copied to the project directory. PID. If you browse to an empty directory. If you click Browse. PFD. For example. if the C drive from the server CADSRV is located through Browse. For additional details see the PDS P&ID Getting Started Guide (DEA5043) Location of the proj File 55 .profile file. CLIX nodes running PDS set the location of the Database Proj File and the Graphics Only Project Files Path using environment variables that are set in the .Preparing for Project Creation CHAPTER 5 The convention for locating this file across the network is the same as used with the Database Proj File Path (use UNC path). or DNP.0 Server. Select Microsoft Peer Web Server on a Windows NT 4. Using TCPIP To use TCPIP as the protocol. it is named c:\ris. the security can be set on this directory to domain users---change and domain administrators---full control. As with the proj file.3.CHAPTER 5 PDS Project Setup Location of schemas File Just as the proj file points to the locations of all PDS projects. As with the proj file. The location of the schemas file is set using RIS Schema Manager.XX program group. In this case.0 Workstation system or Microsoft Internet Information Server 2. It is important that all users access the same schemas file (typically stored on a server) so that all can share the same data. 1. you should remove the older version (using the Configure RIS Version utility) and try to use the newer version of the RIS client software. Click Add. XNS.03 program group on all nodes where PDS is loaded. 56 Location of schemas File . Having multiple versions of the RIS client software loaded can lead to problems---make sure that you have only one RIS 05. For Windows NT 4. Enter the location of the Windows NT distribution media and press ENTER. Double-click on Network. PDS version 6 was originally tested using RIS client version 5. but for the schema file location enter a UNC path that specifies the location on the server. ■ When using Windows NT 4. 2. this may result in a newer RIS client being loaded. 3. You should have a RIS 05. you have to install and configure FTP Server on the server node (this procedure is not required for the clients).0 Server system. you need to install Microsoft Internet Information Server 2. then select the Services tab. This utility is in the RIS05. If you load a RIS data server to a node where PDS is loaded. Click OK.0 you have two options for getting to a schemas file on a server: ● Use TCPIP as the protocol and specify a valid login on the server. you need to install Microsoft Peer Web Server. the schemas file points to the locations of all databases.0 Workstation. NOTE: RIS communicates with remote nodes using a communication protocol such as TCP/IP. Installing or changing the settings of LAN manager or NFS has no effect on the ability of RIS to communicate with a remote database or to access a schemas file. a directory should be created on the server for storing this file. For Windows NT 4. Click Start > Settings > Control Panel. In this example.0 on a Windows NT 4. TCP/IP is used as an example throughout this document.XX (where XX represents the version number) program group.0. RIS has no interaction with file sharing protocols such as NFS and LAN manager. ● Specify a Local schemas file. 9. Make sure that the (:) is included as part of the alias name. The installation is complete and you can exit out of Control Panel.do you want to disable guest access to the FTP service?" Clicking Yes is a prudent choice. Type a valid login on the server. In this example it is assumed that the schemas file is located somewhere on the C drive. enter C: for the Alias. 6. You should see an "Alias" for the home directory (c:\temp in this example). Type get filename where filename is some file in the c:\temp directory. NOTE: The username you specify in the Locate Schema File form must also be able to log in at the FTP prompt as described above. For the directory. This simply tests the FTP connection. ■ Location of schemas File 57 . Double-click on the node name to activate the FTP Service Properties form. ■ Click OK on the Directory Properties form. Selecting FTP Service will automatically select Internet Service Manager as well. browse to the C drive and click OK. The next form shows the default FTP Publishing Directory. Test the FTP service by going to another client open a DOS window and type ftp servername to open a connection to the server. NOTE: The (:) after the drive letter in the alias name is critical! It must be included as part of the alias name or RIS will find the schemas file but not display the schemas. This can be changed to c:\temp. 7. At the bottom of the form also make sure that Read and Write have been selected.if taken. Click OK to install the FTP Service. Click OK to install the required files into the default directory. accept the form warning about passwords being passed over the network) then select the Directories tab. 5. Click OK on the FTP Service Properties form to apply the change.Preparing for Project Creation CHAPTER 5 4. Disable Allow Anonymous Connections (an optional choice . 8. 10. Make sure that the "Virtual Directory" button is selected. You may get the message "The guest account is enabled . Click OK on the Welcome form to display a checklist of components which can be loaded. type dir to list files in the c:\temp directory. Exit from the Internet Service Manager form. Click Start > Programs > Microsoft Peer Web Services > Internet Service Manager (on a Windows NT Workstation node) or Start > Programs > Microsoft Internet Server > Internet Service Manager (on a Windows NT Server node). It should enter C: into the Directory box. The only required option is FTP Service. This is the directory a user will be put into if they establish an FTP session and the user they log in as does not have a home directory specified. Click Add. In the FTP Service Properties form you should see the entry for your drive. You should see an entry for your node and that the service is running. the generic user pds has been used. some system administrators prefer to maintain multiple schemas files. You can now do a Locate Schema File from a client node and specify TCPIP as the protocol. All client nodes should use the same operating system username when locating the schemas file. The username/password is a login in the PDS domain that has the right to log on locally on the server.CHAPTER 5 PDS Project Setup 11. In this example. however. a file named schemas in the c:\ris directory on the server CADSRV has been specified. In this example. There is an exception to this rule. In this case. the directory where the schemas file is located should be backed up regularly. Share the directory where the schemas file is located and on the client node go into the Locate Schema File form. When user number six tries to 58 Location of schemas File . the system writes the location of the schemas file on the server into the parms file. Using UNC path You can use a UNC path to locate the schema file. The Locate Schema File operation should be performed on all client nodes so that they all refer to the same schemas file on the server. each listing a number of related projects. Windows NT Server is delivered (on Intergraph systems) with five user licenses. Click Local as the protocol and for the schema file location type: \\server\driveletter\dirname\schemas As an example \\pdssmp1\c:\ris\schemas. As with the proj_file directory. FTP Server is not required for this to work. In certain cases. The schemas file is not created until a schema is created. When you click Apply. Some systems have not worked with the colon after the drive letter. where many projects are being managed. use the following syntax: \\pdssmp1\c\ris\schemas Note however that locating the schemas file in this manner to a Windows NT Server node uses Windows NT licenses (as seen in Control Panel > Licensing under "Windows NT Server"). they will get an error. Location of schemas File 59 . but you also cannot violate the terms of your license agreement (you must purchase additional Client License Packs to legally allow you to have the extra connections). Increasing the number of licenses will fix this problem.Preparing for Project Creation CHAPTER 5 access the schemas file using the UNC path method. On Windows NT Workstation nodes you are limited to 10 connections per share. lst file. When you enter PD_Shell.this user is added into the administrators group of the local node automatically when the node joins the domain. This is because the PDS Queue Creation Utility accesses the queue. Click Create to display the PDS Queue Creation dialog box. The domain administrator meets both requirements . Note that in order to create the queues. which is located in the same directory where the proj file is located. it checks to see if all required batch queues exist and displays a warning if any do not. In fact. and this user has access to the share on the server where the proj file 60 Creating Batch Queues . you must be logged in as an administrator. you need to be logged in as a user having administrator privileges who also has access to the directory where the proj file is located.CHAPTER 5 PDS Project Setup Creating Batch Queues PDS automatically creates batch queues based on which products have been loaded locally or in client mode. but instead checks for batch queues on the local machine. but errors are seen in the log files). while jobs submitted to a pipe queue are routed to a remote server. 61 Establishing Account Mapping After the required queues have been created. the utility does not read information from the queue. . . . Some example account mappings following the example are provided. When exiting the queue creation utility. If multiple account mappings exist. . When a batch job is submitted.lst file is stored in the same directory as the proj file. NOTE: If you change the password on an account to which jobs are mapped. . Establishing Account Mapping .lst file. the process initiates a separate login session from which all required processes are spawned. . Account mapping is covered in the Intergraph Batch Services for Windows NT Quick Start Guide (DSA0708). Note that multiple account mappings can be established on a single node. In the PDS Queue Creation dialog box.lst file. . for a description of how to change from batch queues to pipe queues. . batch jobs fail to complete because of their inability to access the required queue (the job never appears in the queue) or because of their inability to access the required resources (the job runs. . By clicking Read Data from Local Machine. . If improperly done. you are asked whether or not you want to save the queue information in the queue. . The NTBATCH account mapping determines which username is used. The queue. account mapping must be established. you must also change that password inside the NTBATCH manager. .lst file becomes important when redirected batch operations are done. Jobs submitted to a batch queue are processed locally. The search order is documented in the Intergraph Batch Services for Windows NT Quick Start Guide. . . . . See System Administrator Responsibilities on page 9-147. . queues for all products have been selected for creation.Preparing for Project Creation CHAPTER 5 is located. The queue. . . . the system searches them in a specific order looking for a match. ■ Creating Batch Queues 61 . . . . The fact that Remote Node was not selected for any of the queues means that the created queues are batch rather than pipe queues. This forces users to use their domain logins. this job has access to all system resources that user pds has been granted access to. See System Administrator Responsibilities on page 9-147 for more information. the PDS\pds user must have the right to log on locally as specified in User Manager under Policies > User Rights. If a user other than mary submits a batch job on this node. If a user other than mary submits a batch job on this node. For this to work. The account mapping specified in example (3) is the preferred mapping. User mary is mapped to the generic username pds. then the PDS\pds user need not be added to the list. Any user in any domain is mapped to the generic username pds in the PDS domain. All users are mapped to a common user for the purposes of batch processes. 1. If user mary is the active (logged in) user and she submits a batch job. this job has access to all system resources that user pds has been granted access to. If a user who is not in the PDS domain submits a batch job on this node. it fails since no account mapping for any other domain has been set. it fails since no account mapping for any other username has been set. A batch job submitted by any user (who must have the right to log on locally) has access to all system resources to which that user pds has been granted access. In addition. 4. These comments assume that each example is the only account mapping in use. If you have granted PDS\domain users the right to log on locally. If user mary is the active user and she submits a batch job. then the batch job fails. If the user is not logged in to the PDS domain. 62 Creating Batch Queues . the PDS\pds user must have access to all files required to complete the batch job. Map From Account Domain/Host User Map To Account Domain/Host User Example 1 PDS mary PDS mary Example 2 PDS mary PDS pds Example 3 PDS * PDS pds Example 4 * * PDS pds Comments on these sample account mappings follow. There is an exception to this suggested account mapping if batch plots are submitted to connected plotters. Any user in the PDS domain is mapped to the generic username pds.CHAPTER 5 PDS Project Setup Intergraph PDS Support recommends that the number of account mappings be minimized through the use of domain accounts to simplify system management. it fails since no account mapping for any other username has been set. 3. User mary is mapped to herself. If the active user is a member of the PDS domain and submits a batch job. 2. this job has access to all system resources that user mary has been granted access to. then users will need to be self-mapped. but not when run in batch mode. See Log Files Produced by PDS Batch Jobs on page 225.Preparing for Project Creation CHAPTER 5 Tip: If you are having problems with PDS batch jobs . Often times you can find a message in there that will help you find the problem. the associated log file(s) should be checked. This can be done. and that access control to system resources be accomplished using Windows NT file permissions and PDS Access Control. Creating Batch Queues 63 . Some system managers might attempt to use NTBATCH account mapping as a way to control access to system resources. for a listing of the log file(s) produced by each PDS batch job. If problems are encountered while performing PDS batch jobs. Intergraph PDS Support recommends that NTBATCH account mappings be minimally restrictive.be sure to check the Event Log. but often leads to end-user problems such as the job running correctly when submitted interactively. . See Domain Groups on page 46. when a file is created by a user who is in the administrators group. You might think that the domain username used to create projects should also be a member of the administrators group. . you should be logged in as the pds user. . . Write. and so on) must be shared. . the change permission granted to the domain users grants them the ability to create new projects as well as create/delete models. and that user should be specifically excluded from the administrators group. Turn off all privileges except Read. In this example. and Execute in place). if Express Project Creation New User Mode is being used. Click the line that reads: PDS\domain users---change (RWXD) (RWXD) The entries after the word change reflect the current directory and file permissions. you can specify only a drive letter for the project location. E. the generic user pds is used. . the top level drive (C. click the project directory and display the File Manager Permissions dialog box. A domain user should be created for this purpose. turn off the Delete privilege (leaving Read. In fact. . Files Reside on a Windows NT Server . . . . . click Special Directory Access from the Type of Access list. . . and click OK. . Under Special File Access. The RWXD signifies that the domain users have read/write privilege as well as the ability to add/delete files and directories. . As directories are created and files are copied into the previously created project directory. In this case. they will inherit the permissions of that parent directory. It is possible to grant the domain users read/write access to the project files and restrict them from creating or deleting any project files if the permissions for the domain users are set using special file access and special directory access. . . It shows that Read. 65 Files Reside on a Windows NT Server If Express Project Creation---New User Mode is being used. and Delete have been granted. To restrict the domain users’ ability to create or delete any existing files/directories. . Apply the following permissions to this empty directory: PDS\domain users---change PDS\administrators---full control PDS\pds---full control When creating the project. Execute. Click Replace Permissions on 64 Creating Project Directories and Required Shares . . 64 Files Reside on a CLIX Server (or Other Server Running NFS) . . Write. . that file is owned by the administrator user. and the project is being created on the E drive. To do this. This can cause problems when nonadministrator users try to access the files. . . the following should be done---share the E drive and create a new directory having the same name as the project to be created. However. . .CHAPTER 5 PDS Project Setup Creating Project Directories and Required Shares It is highly recommended that domain users and groups be used by regular designers as well as those who create projects. So. . for more information. the required subdirectories must be created. PD_Draw. if a domain user attempts to delete a model. Therefore. PD_Draw. PD_Data. Files Reside on a CLIX Server (or Other Server Running NFS) If a CLIX server is the location for the project. the database tables are deleted. PD_EQP. If you are using manual project creation. you must create these directories. PD_EQP. this allows domain users read/write access to existing files and directories.Preparing for Project Creation CHAPTER 5 Subdirectories so that all directories and existing files in the project are updated. When complete. these lines in the script can be commented out. These scripts also copy reference data from the RDUSRDB. and at the end of this process. Express project creation in both New User and Advanced User mode creates these subdirectories for you. The server running NFS could also be manually mounted by the Windows NT client and the Windows NT version of the project creation script could be used. these lines in the script can be commented out. that create a directory structure comparable with that created by Express Project Creation. Creating Project Directories and Required Shares 65 . the required product directories and reference data can be created using the CLIX version of the script provided in Scripts to Create Project Directories on page 211. and PD_Shell product directories. Attempts to create new models fail immediately because the design file is created before the database tables. If this reference data is not needed. and PD_Shell product directories. the underlying design file is not deleted. but prevents them from creating or deleting any. If this reference data is not needed. Scripts are provided for both Windows NT and CLIX in Scripts to Create Project Directories on page 211. However. it is mandatory that PDS Access Control also be used to prevent regular users from accessing the commands to delete project data. PD_Data. Once the required top-level directories have been created and shared. This script also copies reference data from the RDUSRDB. These products should be loaded with the individual product’s serial number. or PE HVAC. PID. EE Raceway. then you should have a serial number for each product that is separate from the PDS serial number. If your PDS License key includes 3D. and/or IDM seats. if those products are started outside of the PDS Environment then a PDS license is not used. Client nodes must then be pointed to this server using the dialog boxes (Configure and Testing Options > Select License Server For Client) or the pdlice -j command. a PDS seat is used regardless of the serial number used to install the product. Assuming that a node has been designated as the PDS license server. In addition.CHAPTER 5 PDS Project Setup Configuring PD_Lice Detailed information about the theory of operation of PD_Lice is provided in the PDS Licensing User’s Guide (DEA5071). 2D. the key would be installed on this node using the dialog boxes (Install and Remove Options > Install License Key) or the pdlice -a command. then PDS can be loaded on all clients using a PDS 3D serial number (ending with 316). If the products are started from within the PDS Environment. If your PDS Licence key contains only PDS 3D seats. 66 Configuring PD_Lice . then the 2D products must be loaded on those clients using the correct serial number as shown on the outside of the box. Scavenging is set up to automatically run on the server once per hour to reclaim unused seats. If you have purchased FrameWorks Plus. The procedure differs between individual database vendors.New databases must be created within the dbspace dedicated for PDS data. In fact. 2. Oracle and SQL Server --.New database user names must be created within the single database that all user names share. Informix --. PD_Shell includes example scripts (in the pdshell\sql directory) that can be modified to create databases/usernames for use with PDS projects. administration is greatly simplified. These new user names must be unique and should be tied in some manner to the schema name.Preparing for Project Creation CHAPTER 5 Creating Required Databases/Database Users Before creating a new PDS project. However. These scripts must be examined and modified by the system administrator before use. In fact. preparations must be made for the various schemas that will be created. if the database username is identical to the schema name. if the database name is identical to the schema name. administration is greatly simplified. Creating Required Databases/Database Users 67 . Each database name must be unique and should be tied in some manner to the schema name. Additional information about the installation and creation of databases/user names is provided in the appendices. these procedures can be broken down into two general categories: 1. CHAPTER 5 PDS Project Setup 68 Creating Required Databases/Database Users . . . you can use Express Project Creation. . . . . . . . . .6 C H A P T E R Creating a PDS 2D/3D Project Manually This section describes the procedure for creating a 2D/3D project using PD_Shell. . . . . . . . or if your are creating the project from a CLIX workstation. . . . . . . . . . . . Creating the EE Raceway Project . . . . . . . . . Creating a FrameWorks/ModelDraft Project . . . See PDS Project Creation Workbook on page 235. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 73 81 84 86 91 93 101 106 69 . . . . . . . This is much easier that creating the project using the manual method described in this chapter. . . . . . . . . . . . . . . . . you must manually create your project. for a workbook that is useful not only in the initial creation of the project. . . Creating the 3D Project (Equipment and Piping) . . . . . . . . . . . . but in tracking its history as well. Adding Tables to the EE Raceway Reference Schema Changing Coordinate Systems and Working Units . If you need to add to or revise an existing project. . . . . . . . ■ Chapter Topics Creating Project Directories . . . . Creating the 2D Project . . . . . . . See Express Project Creation Quick Start Guide (DEA5083) for more information. . . . . . . . . . . . . . NOTE: If you are creating a new PDS project on Windows NT. . . . . . . . . . . . . . . . . . . . . . . . Creating PE-HVAC Projects . . . . . . . . Adding Disciplines to an Existing Project . . . . . . . . . . This directory structure and the reference data copied into these directories is described below: projdir\2d This is the default location for the 2D reference data. 70 Creating Project Directories .CHAPTER 6 PDS Project Setup Creating Project Directories Preparing for Project Creation on page 41. 2D reference data requires an additional 30MB of hard drive space. and copies of models. label files. describes the use of a script to create the project directories and to copy the reference data into the appropriate directories. This directory is specified when using the PDS 2D Seed Reference Data dialog box. projdir\design_review This is the default location for data associated with the DesignReview session data such as the control file. projdir\clash This is the default location for interference detection plots and reports. The resulting directory structure is as follows: If all reference data is copied into the project directories. this directory structure requires approximately 63MB on both Windows NT and CLIX. This script creates a directory structure identical to that created by the Express Project Creation New User mode and is used as an example. projdir\rdb This is the location for the majority of the 3D reference data.Creating a PDS 2D/3D Project Manually CHAPTER 6 projdir\dwg PDS sorts orthographic drawings by a 3-digit numeric code representing the drawing type (code list 2000).l---Label Description Library long_bom. The cell directory is the default location for cell libraries used in drawings.lib---PD_EQP graphic commodity library zi_tutlib. and other project-wide files. assembly. projdir\model_builder This is the default location for Model Builder APL files. projdir\project This is the default location for project data such as seed files. HVAC.l file name is listed below: assembly.l. projdir\models This is the default location for architectural. The eqp directory contains the approved and unapproved reference data for the PD_EQP application. The border directory contains default border files copied from the PD_Draw product directory. files copied into these directories have the same name with different extensions (for example. projdir\raceway This is the default location for an EE Raceway project. equipment.t).lib---PD_EQP tutorial library This reference data is described in the Equipment Databases and Libraries section of the PDS Equipment Modeling (PD_EQP) User’s Guide (DEA5017).hlp---PD_EQP parametric Help file zi_eqpms.l and assembly. just the .l---Piping Assembly Library labels. and piping models. foundation drawings are designated as type 535 drawings and stored in the 535 directory. These files are copied into this directory during the project creation process. The lib directory contains the approved and unapproved reference data libraries for both the PD_EQP and PD_Design applications. clash marker files.l---Piping Graphic Commodity Library Creating Project Directories 71 . In some cases. Three files are copied into these directories by the script: zi_eqpms. In such cases. projdir\iso This is the default location for isometric drawings. For example.l---Long Material Description Library pipe_gcom. The source directory is the default location for neutral files.l---Specialty Material Description Library std_note. projdir\report This is the default location for report format.l---Short Material Description Library spclty_bom.CHAPTER 6 PDS Project Setup pjs_tbl. 72 Creating Project Directories . discrimination. search criteria. and output files.l---Standard Note Library us_pcdim. The spec directory is the default location for PDS neutral files.l---Piping Job Specification Table Library short_bom.l---Physical Dimension Table Library This reference data is described in the Reference Data Overview section of the Reference Data Manager (PD_Data) Reference Guide (DEA5028) . Creating a PDS 2D/3D Project Manually CHAPTER 6 Creating the 3D Project (Equipment and Piping) After you set the proj file location and the schemas file location. Creating the 3D Project (Equipment and Piping) 73 . start PD_Shell to enter the PD_Shell main menu. 74 Creating the 3D Project (Equipment and Piping) . then PD_Shell bypasses this form and displays the Project Administrator main menu.CHAPTER 6 PDS Project Setup If the proj file is empty (no existing projects). Creating the 3D Project (Equipment and Piping) 75 .Creating a PDS 2D/3D Project Manually CHAPTER 6 Click Project Setup Manager to display the Project Administrator menu. you can set the three toggles on the right side of the form. 76 Creating the 3D Project (Equipment and Piping) . and press RETURN (or TAB). Assuming that the project does not exist. It is important that the project subdirectory be specified so that all project control data is stored in the correct location. the directory would be set to c:\testprj\project. If it does. and you can add additional project information. and those items that have not been created for that project or items for which more than one per project can be created (FrameWorks Project. After you have specified all of the project information. for example). Following the example.CHAPTER 6 PDS Project Setup If the proj file is empty. those items that have already been created for that project become unavailable (Project Control Schema. Enter the node name and location of the project directory in the Network Address field. in the following example). for example) become available. The system checks to see if this project exists. Type a Project Number. The project number should agree with the project name as specified in the script used to create the project directory structure (testprj. PD_Shell bypasses this form and displays the Project Data main menu. Set Model System of Units and NPD_System of Units to the required settings. the cursor moves to the Project Name field. Creating a PDS 2D/3D Project Manually CHAPTER 6 Create/Do Not Create DBAccess tables If set to Create. DBAccess looks for this table in the database and this column in the selected table and expects the mslink column to have unique integer values. Creating the 3D Project (Equipment and Piping) 77 . See Chapter 4. Many of the PDS databases do not have a mscatalog table. The Piping Unapproved RDB Schema button disappears---if the selected project had both approved and unapproved reference databases. the system displays a list of existing projects when you click Raceway RDB Schema. NOTE: The system displays a list of all projects. then the new project has only an approved reference schema. pdtable_113 has a column named model_index_no that has unique integer values.DBAccess in the Project Administrator (PD_Project) Reference Guide (DEA5027) for additional information. By default. You must make sure that you have chosen a project with an EE Raceway reference schema. Selecting a project name from this list determines the name of the approved (and optionally unapproved) Material Reference Databases. If this toggle is set to Use Existing Reference Schema. the software prompts you to create a new Material Reference Database when you click Piping Approved RDB Schema. If the selected project has only an approved schema. You also have the option to create an unapproved database. you are prompted to create a new EE Raceway reference schema when you click Raceway RDB Schema. then the new project has both. this option creates an mscodelist table and a set of join tables for each Standard Note type. Create/Use Existing Reference Schema If set to Create New Reference Schema. whether they have EE Raceway reference schemas defined or not. in the PD schema. You can use the environment variables DBA_NO_MSCATALOG and DBA_MSLINK to tell DBAccess to build its list of database tables from the database rather than from the mscatalog table and to use a column other than mslink as the key column. and many of the PDS tables do not have an mslink column. By setting DBA_NO_MSCATALOG=Y and DBA_MSLINK=model_index_no. ■ At this point. Create/Use Existing Raceway Reference Schema If set to Create New Raceway Reference Schema. the Create Project form might look like the following figure. you can use the DBAccess Edit Database function on this table and scroll through the available records. the system displays a list of existing projects when you click Piping Approved RDB Schema. If this toggle is set to Use Existing Raceway Reference Schema. Revise Project--. Selecting a project name from this list determines the name of the EE Raceway Reference Schema. For example. Express Setup will verify this for you. Pressing RETURN is the same as clicking Apply. The software dismisses the dialog box and stores the information in memory. 78 Creating the 3D Project (Equipment and Piping) . ■ After this information is complete. See the appendices for instructions on completing this dialog box for a number of different databases. click Apply.CHAPTER 6 PDS Project Setup Click Project Control Schema to display the Create Schema form for the PD schema. NOTE: Press TAB to move from field to field in the Create Schema dialog box. See Piping Design Schema in the Project Administrator (PD_Project) Reference Guide (DEA5027) for more information. If the information is incorrect. For this reason. If you are not adding attributes to the DD schema. This form adds user-extended attributes (columns) and makes other modifications to the Piping and Equipment tables in the DD schema. but you cannot add attributes to the equipment tables after the project has been created. During manual project creation (described in this chapter). The Create Schema dialog box for the DD schema displays. Clicking this button displays the Database Structure Revision form. Creating the 3D Project (Equipment and Piping) 79 . During Express Project Creation. schemas are created immediately. and make sure to complete them correctly the first time. You can add 10 attributes to each equipment table (the last two entries in the list) at this time. click √ without making any changes. information for all schemas is entered before any are created.Creating a PDS 2D/3D Project Manually CHAPTER 6 There is an important difference between Express Project Creation and manual project creation. create the Piping Design schema. it is important that you understand the various fields on the Create Schema dialog box. you are given the option to enter the information again before proceeding to the next schema. After entering the information for the Project Control schema. Attributes can be added to the piping tables even after the project and piping models have been created. You can add 24 attributes to each piping table (the first five entries in the list). they can be added in now or after the project has been created. If you want to maintain approved and unapproved versions of the piping reference data. EE Raceway. click Piping Approved RDB Schema to display the Create Schema dialog box for the RA schema. At this point. 80 Creating the 3D Project (Equipment and Piping) . you can click √ on the Create Project form to create a 3D-only project. click Piping Unapproved RDB Schema to display the Create Schema dialog box for the RU schema. If you are using FrameWorks (ModelDraft on CLIX). or PDS 2D with this project.CHAPTER 6 PDS Project Setup After completing this dialog box. The software creates a directory with the path FrameWorks File Directory/FrameWorks Project Number.Creating a PDS 2D/3D Project Manually CHAPTER 6 Creating a FrameWorks/ModelDraft Project Click FrameWorks Project to display the Create FrameWorks Project form. Creating a FrameWorks/ModelDraft Project 81 . In this example. The default FrameWorks Project Number is the same as the PDS project name. the form was completed as follows. and for the . The Force Units and Standard Section Table fields are code lists. a similar form displays. Click the field to display the choices. The Mount Point allows all CLIX machines to mount the directory the same way.psd file to contain 82 Creating a FrameWorks/ModelDraft Project . ■ When you accept this form. and the mod and frz entries in pdtable_113. but it has an additional field for Mount Point.CHAPTER 6 PDS Project Setup In this example. NOTE: The path limit for FrameWorks Plus projects is 36 characters. including all required punctuation. When you create a ModelDraft Project on CLIX. The project directory creation scripts do not create directories for FrameWorks projects---it is up to you to make sure that they are defined so that they reside inside of the PDS project directory. the FrameWorks project directory is c:\testprj\fwproj on the server CADSRV. the FrameWorks project directory is created immediately and consists of the following subdirectories: fwproj\drw---drawings fwproj\esl---engineering section libraries fwproj\frz---frozen view files including surface models fwproj\int---interface files to other programs fwproj\mod---models fwproj\rpt---reports All of these directories are initially empty. Furthermore.Creating a PDS 2D/3D Project Manually CHAPTER 6 the correct path for the ModelDraft files and project. The directory /usr2/testprj/mdr has a mount point of /modeldraft/testprj/mdr. testprj. and the psd directory has two files. In this example. the PDS project directory is /usr2/testprj/project. A directory for the ModelDraft project must be created before you create the project from within PDS.psdi.pds and testprj. Creating a FrameWorks/ModelDraft Project 83 . the ModelDraft project is created immediately and consists of the following subdirectories (within /usr2/testprj): mdr/dd---DesignDraft files mdr/md---ModelDraft models and data directories mdr/mpa---MicasPlus Analysis models mdr/psd---Project Structural Database files The dd and md directories have additional subdirectories. a directory /usr2/testprj/mdr has been created for this purpose. consider a CLIX server that has a top-level directory of /usr2 that has been shared. As an example. The form would then be completed as follows: ModelDraft Project Number:---testprj ModelDraft Project Name:---ModelDraft Project #1 ModelDraft Project Directory:---/usr2/testprj/mdr ModelDraft Node Address:---CLIXSERV ModelDraft Mount Point:---/modeldraft When you accept this form. the longest directory will be c:\myproj\rdb\source\eden_piping\. WARNING: The EE Raceway project directory must exist before you click Apply. Let us see why---if an EE Raceway project directory of c:\myproj\myproj. click √ on the Create Project form to display the Create Schema dialog box for the EE schema. Enter the name of the EE Raceway project directory into this field. This path may not be usable because of EE Raceway’s limitation on the maximum length of the project name. When completed. therefore: 36 . the EE Raceway project directory that was created by the script is c:\testprj\raceway.(length of PDS project number) ■ This formula is based on the length of the subdirectories created under the EE Raceway project directory and the maximum length of a model path name that can be stored in pdtable_113. In this example. To store the EE Raceway project in the PDS project directory.prj\rway\dgn\ is required. When this button is clicked. New fields are displayed.CHAPTER 6 PDS Project Setup Creating the EE Raceway Project Click Raceway Project Schema to initiate the creation of an EE Raceway project. ■ After filling in the Raceway Network Address and Directory and creating the specified directory. click Apply to return to the Create Project form. which also allows for a maximum project number of nine characters. there are 18 characters of punctuation and path that exist regardless of what the PDS project number is.18 = 2 * (length of PDS projnum) (length of PDS projnum) = (36-18)/2 = 9 Also note that if the standard directory naming structure is used. The project directory creation script creates a subdirectory named raceway in the project directory for use by EE Raceway projects. the Network Address field changes to Raceway Network Address. where the PDS project resides at the top level of a Windows NT drive. 84 Creating the EE Raceway Project . NOTE: The maximum length of the EE Raceway project directory is defined using the following formula: Max path length (including all punctuation) = 36 .(length of PDS projnum) = (length of PDS projnum) + 18 36 . the maximum length of the PDS project number is nine characters. After completing this information.sql and rway. These files are located in the eerway\db directory.Creating a PDS 2D/3D Project Manually CHAPTER 6 The location of the rway. The fields that you just completed disappear. click √. Complete this dialog box and click Apply. Click Raceway RDB Schema to display the Create Schema dialog box for the RE Raceway reference schema.cmd file must be entered into this dialog box. Creating the EE Raceway Project 85 . the instructions are provided here for clarity. They then display at the bottom of the dialog box. and then return to this section after the project has been created. This is because PDS gets the information it needs about the EE Raceway project from the Project Control (PD) schema (the names of 86 Adding Tables to the EE Raceway Reference Schema . Note that although PDS uses the ee. You may want to skip to Changing Coordinate Systems and Working Units on page 91. you can use the EE Raceway/Nucleus products.cfg file in the PDS project directory.cfg file should be used (as shown in the previous figure). After entering the new value for an environment variable. The location of the ee. The new value for the environment variable displays in the top part of the dialog box. This ee. This displays the Configure EE Environment dialog box. To add the tables to the reference schema. Although this should be done after exiting PD_Shell.cfg is created in the PDS project directory. click Set to record the change. However.CHAPTER 6 PDS Project Setup Adding Tables to the EE Raceway Reference Schema The EE Raceway project schema tables are automatically created from within PDS. double-click EE Configure.cfg file is shown---in this case a new location has been entered. Environment variables are set by selecting them from the User Environment Variables list. the reference schema tables are not. When a raceway project is created through PDS. Setting the EE Raceway Environment Variables From the EE Nuc program group. an ee. PDS does not require the environment variables in this file (such as EE_SCHEMA and EES_REFDB) to be set to valid values (they can be left as UNINITIALIZED). where new values can be entered. and set the PROJECT_LOCATION and SYS_PASSW_FILE to f:\proj2\project\ee.cfg file is e:\proj1\project\ee.pwd. Set PROJECT_LOCATION to \\server\e:\proj1\ee and SYS_PASSW_FILE to \\server\e:\proj1\project\ee. Now when entering either of these EE Raceway project through PDS. The main menu displays your project in the list. set the EE_SCHEMA and EES_REFDB as shown previously.Creating a PDS 2D/3D Project Manually CHAPTER 6 the project and reference databases are stored in pdtable_102. Start the EE Configure utility and set the EE File Name to \\server\e:\proj1\project\ee. The ee. Set EE_SCHEMA to ee_proj2 and EES_REFDB to re_proj2. these values must be set.cfg environment variables.cfg. It is suggested that the ee.pwd. and set the PROJECT_LOCATION and SYS_PASSW_FILE to f:\proj1\project\ee. If you are using PDS V5.cfg in each PDS project directory have its environment variables set for that project.cfg. you can start the EE Nucleus product.cfg file located in the project directory of the associated PDS project. the ee. Its associated EE Raceway project is in e:\proj1\ee. When entering either of these projects through EE Raceway.cfg. To initialize the ee.pwd. Set PROJECT_LOCATION to \\server\e:\proj2\ee and SYS_PASSW_FILE to \\server\e:\proj2\project\ee.cfg file in that projects project directory is used regardless of how the settings are seen through the EE Configure utility.cfg. However. Although there are many other environment variables specified here.cfg file for project proj2 you would set the EE File Name to f:\proj2\project\ee. Its associated EE Raceway project is in e:\proj2\ee. and the names of the models are stored in pdtable_113). To initialize the ee. Note that this requires that all client nodes have the E drive from the server mounted locally as the F drive. Adding Tables to the EE Raceway Reference Schema 87 . you would have to go into the EE Configure utility and set the EE File Name to the ee.cfg file is e:\proj2\project\ee. Start the EE Configure utility and set the EE File Name to \\server\e:\proj2\project\ee. Following the previous examples. the EE Raceway project location must be mounted using File Manager. the only ones that need to be set now are the first four in the list. PDS project proj2 is located on the server in e:\proj2. when accessing the same project through EE Raceway.cfg file for project proj1 you would start the EE Configure utility. the use of UNC paths is not supported. As an example: PDS project proj1 is located on the server in e:\proj1. After setting these environment variables. the E drive from the server could be mounted as the local F drive.cfg.cfg. Set EE_SCHEMA to ee_proj1 and EES_REFDB to re_proj1. The ee. set the EE_SCHEMA and EES_REFDB as shown previously. set the EE File Name to f:\proj1\project\ee. To initialize the ee.pwd. Click Update Reference Schema to display the Update Reference Schema form. 88 Adding Tables to the EE Raceway Reference Schema .CHAPTER 6 PDS Project Setup Click Database Utilities to display the Database Utilities form. an output file is displayed. leaving the Schema Password field empty. When complete. NOTE: Check this file carefully for errors! The output file is saved in the eerway\tmp directory. Click √ to use the delivered SQL and CMD files to create the database tables and to load default reference data into them.Creating a PDS 2D/3D Project Manually CHAPTER 6 Type the name of the RE schema. ■ Adding Tables to the EE Raceway Reference Schema 89 . click X to dismiss the form. 90 Adding Tables to the EE Raceway Reference Schema . Then click Restore on the other forms.CHAPTER 6 PDS Project Setup After checking the output file for errors. Creating a PDS 2D/3D Project Manually CHAPTER 6 Changing Coordinate Systems and Working Units To change the coordinate system, click Specify Coordinate System to display the Plant Coordinate System Definition form. See Specify Coordinate System in the Project Administrator (PD_Project) Reference Guide (DEA5027) for more information on this form. The use of the Plant Coordinate System (PCS) is useful when the Plant Monument is located a great distance from the design file origin. It allows the use of very large coordinates, which would be outside the MicroStation design cube if the Plant Monument (the center or origin of the design cube) remained 0,0,0. NOTE: The PCS can be specified up to the time that the first design area is created. After this, the PCS cannot be set. ■ Click Revise Working Units to display the Revise Working Units form. Changing Coordinate Systems and Working Units 91 CHAPTER 6 PDS Project Setup See Revise Working Units in the Project Administrator (PD_Project) Reference Guide (DEA5027) for more information on this form. All models that you used in this project must have the same working units to ensure correct results in reference file displays, drawings, interference detection, and so on. Because of this, you should never change the working units after the project has been created. WARNING: Revising the ddl files and/or seed files after the project has been created can have disastrous consequences. If the project settings need to be changed after the project has been created, call Intergraph Support at 1-800633-7248 for assistance. ■ When you start a project that uses non-PDS applications, be sure that the working units used by those applications are the same as those used by PDS. After specifying the working units, click √ to return to the Create Project form. Now you are ready to create the project. After you click √ on the Create Project form, the default project control data is written into the projdir\project directory; then the PD, DD, RA, RU, EE, and RE schemas are created. 92 Changing Coordinate Systems and Working Units Creating a PDS 2D/3D Project Manually CHAPTER 6 Creating PE-HVAC Projects The steps for creating a project and a design file are listed below; detailed information on the project environment dialog boxes is located in the Project Architectural Nucleus Reference Guide. Install PARNU and PEHVAC from the PDS CD. Configuring Your Project 1. The project list file, projlist.txt, is an ASCII file that specifies the name and network location of the associated project. Use the PE-HVAC Configure icon to define the location (node and path) of the project list file. Select the Modify button on the PE-HVAC Configure dialog box, and type the file location in the Path field. The projlist.txt file should be in the same location as the PDS proj_file. Each time you create a new Pehvac project you need to add an entry in this file. The format of the projlist.txt is as follows: project_name project_node pds_project_name project_path hv_project local_machine_name c: \demo\hvac\hv_project pds demo pds server x:\PDS\models\hvac NOTE: You will need to create this file with all existing projects that are currently available to the user. You will need only one list file for all of the users on the network since all of the users may point to the same project list file. This project list file must be located in the directory that is specified by the information written into the control file by the PE-HVAC Configure utility (HVAC_PROJ_PATH). ■ 2. A project control file, peh.cmd, is required for each client workstation. This file defines the environment variables necessary to locate the PEHVAC products and the relational database files; it also defines the location of the project list file. Use the PE-HVAC Configure icon to define the location of the control file. A configuration file is delivered with PE-HVAC (in the win32app\ingr\pehvac directory); you can reference this file, you can copy the delivered file to another directory, or you can reference an existing peh.cmd file. NOTE: To reference a control file that is located on a CLIX file server, use forward slashes. Use backward slashes to reference a control file that is located on a Windows NT file server. Do not include the file name; it is automatically appended. ■ Creating PE-HVAC Projects 93 CHAPTER 6 PDS Project Setup 3. If you are using a CLIX file server, use the PC NFS Login program to define the login parameters for NFS. The defined username and password determines your access to files on the file server. 4. A new project data location file, envar.txt, allows you to define projectspecific variables on a per-project basis without having to define environment variables. Copy the delivered envar.txt file from the pehvac\support directory into the project directories. You need to modify the envar.txt file to access specific reference data. Each time you select this project, the information from the envar.txt file is used. Creating A Project 1. Create a HVAC project directory c:\pds\hvac. (If you want to create the project on the server then do a hard mount to the server and drive where you want to create the project). 2. Change the working directory for PARNU to the project location (c:\pds\hvac or X:\PDS\models\hvac where X is the mounted server drive). 3. Select the P-Arnu icon, and from File > Properties, specify a working directory. While loading P-Arnu; the project files are placed in the \users\projects directory. You may have to first create a working directory through Windows NT Explorer. 4. Enter PARNU and create a project. (This will create a new directory using the project name. Suppose you named your project as HV_PROJECT then this will create a directory X:\PDS\models\hvac\HV_PROJECT) 5. Double-click the P-Arnu icon from the BDM (Building Design and Management) program group. The Project Environment command group is activated. 94 Creating PE-HVAC Projects Creating a PDS 2D/3D Project Manually CHAPTER 6 6. Click Create from the group. The Create Project dialog box is displayed. 7. Fill out the dialog box to meet your specifications, and click OK. The project is created, and you can either continue to create projects or click Cancel to dismiss the dialog box. Creating PE-HVAC Projects 95 CHAPTER 6 PDS Project Setup When you dismiss the Create Project dialog box, you are returned to the Project Environment command group. 8. Copy the envar.txt file (x:\win32app\ingr\pehvac\support\envar.txt) into your project directory (c:\pds\hvac\hv_project. This file is required for each project ). 9. (OPTIONAL) Copy directory tables from the PEHVAC deliverable to the PDS project RDB directories. X:\pds\rdb\hvdata. The directories you need to copy are: DBA directory from x:\win32app\parnu\dba EDEN directory from x:\win32app\pehvac\eden Support directory from x:\win32app\pehvac\support 10. Edit the envar.txt to point the variables to the desired locations. (Change mynode to server or client name). (If you did the previous optional step, then you will need to change the location of directories as required. If you did not do the optional step, then you can modify the envar.txt file to change the node location to one of the machines that has Parnu and Pehvac loaded. If you point to a specific machine for the variables then that machine needs to be ON and the pehvac and parnu directories should be shared.) It is recommended to store your customized data not in the product directory. Reloading the Software would delete those files. Example: . # AP_TABLE # Set to a directory that contains support files specific for PEHVAC. # It can be moved to utilize NFS # AP_TABLE server c:\win32app\ingr\pehvac\tables\ . . PHV_REFERENCE server c:\win32app\ingr\pehvac\support\tables\ # # imperial support tables directory # PHV_IMPERIAL server c:\win32app\ingr\pehvac\support\tables\imperial\ 11. Click Apps from the Project Environment command group. The Applications dialog box is activated, and the applications you have loaded on your machine and any projects you have created are displayed. 96 Creating PE-HVAC Projects Create prj_demo and hrf_demo users in your relational database. The project list form is displayed. The first time you enter a PE-HVAC project. If you have not already done so. Each project requires it’s own prj_schema. use the PE-HVAC Configure icon to specify the location of the projlist. Select PE-HVAC from the Application list. 15.txt file. and click OK. Then click OK. The hrf_demo schema is used to store the Reference data. (the Creating PE-HVAC Projects 97 .Creating a PDS 2D/3D Project Manually CHAPTER 6 12. then select the project you want to use form the Project list. the Reference Database Operations dialog box is displayed. 13. 14. The hrf_demo schema can be used by different projects. The prj_demo schema is used to maintain designed data. Select a project from the displayed list. click Create. Pick Database > Create and select the Pehvac project. Click Load/Unload to load equipment into your reference database. After the schema is created pick Pehvac under Applications to load Pehvac tables. click Select and select the database from the list. The Create Schema dialog box is displayed. PE-HVAC displays the Reference Database dialog box. Start Parnu. prj_demo instead of prj_pds you need to set the following system variable: PDS_HVAC_SCHEMA_NAME=demo 16. 17. If you are going to use an existing PE-HVAC reference database. This dialog box lets you create a schema. or unique database/user combination.CHAPTER 6 PDS Project Setup Reference database is required to be able to place elements .The Project database is used for reports and necessary if you want to create envelope files and labels.) If your Pehvac Project schema does not have the same name as your PDS project (e. If you need to create a new reference database.g. for the reference database. 98 Creating PE-HVAC Projects . 18. 19. and click OK. Click Design to enter the design file. The PE-HVAC command group is activated. The Enter Design File dialog box is activated. Fill out the Create Design File dialog box to meet your specifications. if there are no design files present in the project you selected. Click Cancel when you are finished loading devices into your reference database. Also. or choose Cancel to return to the PE-HVAC command group. Continue to create design files. 22. the Create Design File dialog box is automatically activated. PE-HVAC loads the devices into your reference database. The design file is created. When you have filled out the dialog box to meet your requirements. PE-HVAC returns you to the Reference Database Operations dialog box. 24.Creating a PDS 2D/3D Project Manually CHAPTER 6 20. 21. Click Cancel to dismiss the Reference Database Operations dialog box. Select the Load option and the devices and labels that you want to load into your reference database. 23. You can select all of the devices at one time by selecting the Select button under each list. displaying any design files you have created. Creating PE-HVAC Projects 99 . click OK. 27. After the message is displayed. it will create only the required PDS database entries in pdtable_113. Enter PDS > Project Administrator > Project Environment Manager > Create. Select Settings > Design File. Adding Design File to the PDS Project 1. 100 Creating PE-HVAC Projects . the PE-HVAC Main menu is added to the MicroStation toolbar. Select Create Model in HVAC.or g:\pds\models\hvac\demo) 3. (c:\demo\hvac\hvproject . the Initialization Complete message is displayed. You can then freely access any PE-HVAC or MicroStation commands.CHAPTER 6 PDS Project Setup 25. 26. Any model you create in PEHVAC will need to be created again through PDS. If this message does not display. It is useful to name the design area after the PEHVAC project. and click OK. You are taken into the design file graphic environment. Enter PDS > Project Administrator > Project Environment Manager > Model Setup. Creating models for PEHVAC through PDS does not create physical models. make sure you have installed and configured PE-HVAC properly and that you have sufficient free disk space. Set MU:SU:PU to the PDS project settings (1:12:2032 English or 1:1000:80 metric). After starting PE-HVAC. 5. Select a design file. Select HVAC under disciplines and specify the location for your models. 2.local . Select Create Design Area in HVAC and create a design area. 4. additional 2D-related tables are added to the PD schema. First. the 2D project creation starts automatically if PID Project was selected when you clicked √ on the Create Project dialog box. After creating the additional tables in the PD schema. the PDS 2D Application Manager form displays. the Site/Project Name must be completed in the PDS 2D Project Manager form. Other fields in this form are completed automatically based on the project information supplied when the 3D project was created.Creating a PDS 2D/3D Project Manually CHAPTER 6 Creating the 2D Project After the 3D project creation has completed. After entering the Site/Project Name. Creating the 2D Project 101 . you can select exd_english or Translated RDB.CHAPTER 6 PDS Project Setup This form is described in the PDS 2D System Setup guide (DEA5050). Selecting Translated RDB makes entries in the PD schema that point to the location of existing reference data (that may have been translated from an older version). 102 Creating the 2D Project . NOTE: Press TAB to move from field to field in these forms rather than pressing RETURN. The PDS 2D reference data occupies approximately 12MB. Selecting exd_english copies new PDS 2D reference data from the local node to the specified directory. As part of the 2D project creation. the first three buttons are used. Click √ to copy over the PDS 2D reference data to the specified directory. Click Seed Reference Data to display the Seed Reference Data form. ■ From the Seed Project Number list. The PDS 2D reference data must be seeded first. modify the Reference Database Path to point to the 2d\pfd directory.Creating a PDS 2D/3D Project Manually CHAPTER 6 When finished. click PID from the Application list in the PDS 2D Application Manager form. you are returned to the 3D Create Project form! The following chart is provided to assist in the creation of the 2D schemas. while the Master schema is an approved copy of the task schema which is frozen at some point in time. the associated schemas can be created. However. click PFD as the application. The PDS 2D application does not require an additional schema---its tables are stored in the PD schema. and is completed in a similar manner. The 2D schema name is not entered into the Create Schema dialog box automatically---be sure to enter the prefix that corresponds with the schema type being created (for example. and repeat. Select PDS 2D from the PDS 2D Application Manager form. The list is sorted according to the order of the applications in the drop down list: Schema Name Schema Prefix Project Control PD_ (will already exist if 3D project has been created) PDBK_ * Project Control Backup Creating the 2D Project 103 . Click exd_english. When finished. You are asked if you want to create a Task or Master schema. and then click Create Schema. click √ to display the Create Schema dialog box for the PID Task Schema. The Task schema is the working copy of the design data for a project. With the toggle set to Task. After seeding the reference data. The PDS 2D PID reference data occupies approximately 11MB. Also be especially cautious when entering information to create ALL 2D schemas---if the wrong information is entered. Then click Create Tables to add the additional 2D tables to the PD schema. not all 2D tables are added to the PD schema as a result of starting the 2D project creation process. Click √ to copy the PDS 2D PID reference data. pid_ for the PID Task schema). Click PID on the PDS 2D Application Manager form. It is similar to the Create Schema dialog boxes seen earlier in the project creation process. and modify the Reference Database Path to point to the 2d\pid directory. The PDS 2D PFD reference data occupies approximately 7MB. and click √ to display the Create Schema dialog box for the PID Master schema. You must create the PID Master schema before you create and PID Master tables. The Task/Master toggle form displays again. Complete this dialog box. N/A indicates that this schema need not be created. the software sees that they exist and does not re-create them. click Create Schema again. Set the toggle to Task. Click Create Tables. You receive feedback as each table is created. and set the toggle to Master. and create the PFD Task schema. Click √ to create the Task tables. click Apply to create the schema. NOTE: Use the PDS Project Creation Workbook on page 235. to track the creation of the 2D schemas and the addition of tables to these schemas. After the PID schema has been created. ■ 104 Creating the 2D Project . This time. and then create the database tables. After creating the PID Task and Master schemas. set the toggle to Master. With PID still selected as the application. Click Create Tables again.CHAPTER 6 PDS Project Setup PID Task PID_ * PID Task Backup PIDBK_ PID Master PIDM_ * PID Master Backup PIDMBK_ PFD Task PFD_ * PFD Task Backup PFDBK_ PFD Master PFDM_ * PFD Master Backup PFDMBK_ IN Task IN_ * IN Task Backup INBK_ IN Master INM_ * IN Master Backup INMBK_ INR Task INR_ * INR Task Backup INRBK_ INR Master N/A INR Master Backup N/A (*) indicates that this schema is usable only by PDS 2D 6. If you leave the toggle set to Task and click Create Schema. click Create Schema. If you add tables to a schema that has already had its tables created.1 or higher. making sure the toggle is set to Master. the software informs you that this schema has already been created. Click √ to create the Master tables. click PFD as the application. click Create Tables from the PDS 2D Application Manager form. and set the toggle to Task. Click √ to initiate the creation of the tables in the PID Task schema. In a similar manner. there are special project setup requirements that must be met before using this feature. Note. and create the inrdb Task schema. Refer to the SmartPlant P&ID to IDM Transfer section of the PDS IDM User’s Guide for details. and create the IN Task and Master schemas as well as the tables for each schema. Click INRDB as the application. other 2D schemas can be created as required.Creating a PDS 2D/3D Project Manually CHAPTER 6 Click IN as the application. Creating the 2D Project 105 . Any schema not created now can be added in the future. Project Creation Requirements for Using SmartPlant to IDM Data Transfer If you intend to transfer data between the SmartPlant P&ID and IDM applications. there is no need to create the INRDB Master schema. To assist in adding in existing FrameWorks/ModelDraft projects into a PDS project. see Using PDS with FrameWorks and ModelDraft on page 245. for more information. See Creating the 3D Project (Equipment and Piping) on page 73. Creating a 2D Project Only one 2D project can be created per PDS project. To add an existing FrameWorks/ModelDraft project into a PDS project. the PID Project button is still available because additional 2D applications can be added to the 2D project after its creation. the new directories/files are created in the specified location. If an EE Raceway project has not yet been created. pick the project. See Creating the 2D Project on page 101 . The Insert FrameWorks/ModelDraft Data forms are identical to those seen when creating a new 3D project except that a list of existing FrameWorks/ModelDraft projects displays at the bottom of the form. When you click √. If the information for a new FrameWorks/ModelDraft project is entered in this form. then the Insert FrameWorks Data/Insert ModelDraft Data button displays. PDS checks for existing directories/files and uses them rather than creating new ones. To add a discipline to an existing project. enter the location of the existing project into this form. for more information. Clicking Raceway Project Schema starts the process to create the new EE Raceway project. for more information. If an EE Raceway project has already been created. The PID Project button can be clicked to start the 2D project creation for a new 2D project or to enter the 2D project creation environment to add disciplines to an existing 2D project. Creating an EE Raceway Project Only one EE Raceway project can be created per PDS project. so the Insert FrameWorks/ModelDraft Data button is always active. Click Project Setup Manager. these buttons are available. If a 2D project has already been created.CHAPTER 6 PDS Project Setup Adding Disciplines to an Existing Project Disciplines not added to a project at project creation can be added afterwards. and then click Project Administrator. 106 Adding Disciplines to an Existing Project . Inserting FrameWorks/ModelDraft Data Multiple FrameWorks/ModelDraft projects can be created within a single PDS project. then the Raceway Project Schema and Raceway Reference Schema buttons are not available. See Creating the EE Raceway Project on page 84. and if FrameWorks/ModelDraft is loaded. enter PD_Shell. . . Chapter Topics Piping Reference Data . . . 108 Equipment Reference Data .C H A P T E R 7 Attaching Reference Data to the Project After you have successfully created a new project. . . . . the spec writing commands) use the unapproved versions by default. . . . . . . . . . . . . . . . . . . PDS 3D reference data for both the Piping and Equipment modules comes delivered in the following formats: ● Look-up data stored in a database ● Look-up data stored in indexed files (also called libraries) Data is stored in both indexed files and databases because in certain instances it is faster to read the information from an indexed file than from a database. . The PDS 3D reference data is extensive. 118 107 . . . . . . . . If a project has both approved and unapproved reference data defined. Both the Piping and Equipment modules support the use of approved and unapproved reference data. and a detailed description of it can be found in the Reference Data Manager (PD_Data) Reference Guide (DEA5028). . . . . . The RDB revision commands (for example. . . . the software will use the approved versions by default. . . 114 Loading Default Data into the Piping Reference Database . . . . . . . . you must attach and initialize the PDS 3D reference data. . . . . . . . . . . . l.l Standard Note Library std_note. The Piping Job Specification Table Library. enter PD_Shell and click Reference Data Manager. there is no reason why one project cannot share the reference data of another project. includes the files whose functions are described below: Name Function us_pjstb.l Physical Data Library us_pcdim. additional files having the same name but a different extension are also defined.l Short Material Description Library us_shbom. You may notice that for some of the reference data.l Label Description Library labels. To enter this information.r The names and locations of the reference data files described above are stored in a database---specifically pdtable_102 in the PD schema. A 108 Piping Reference Data . for example. Express Project Creation does this automatically.l actual library used by the PDS software us_pjstb. This information must be specified to the database as a separate step after the project has been created manually.CHAPTER 7 PDS Project Setup Piping Reference Data Piping reference data that comes delivered with the RDUSRDB product is listed below: Name File Name Piping Job Specification Table Library us_pjstb.l Piping Assembly Library assembly.t text library for extracting individual files and tables for revisions revision management data for use with the RDB revision management commands us_pjs. Do not use the reference data files that are located in the product directory.l The script which creates the project directory structure also copies these files from the product directories into the project directories.l Long Material Description Library us_lgbom.l Piping reference data that comes delivered with the PD_Shell product is listed below: Name File Name Graphic Commodity Library pip_gcom. since reloading or removing the product could result in the loss or alteration of the reference data.l. However.l Specialty Material Description Library us_spbom. Attaching Reference Data to the Project CHAPTER 7 warning message displays informing you that the Standard Note Library cannot be found: Dismiss this dialog box---you will specify the location of the Standard Note Library later in the process. This form is described in greater detail in Chapter Three of the Reference Data Manager (PD_Data) Reference Guide (DEA5028). The Reference Data Manager main menu displays after you dismiss the warning. Click Reference Database Management Data to display the Reference Database Management Data form. Piping Reference Data 109 . for more information). click Default All Library Locations. Locations have not been set for any of the other libraries---clicking any of the other listed items will not display anything in the lower part of the form.CHAPTER 7 PDS Project Setup Clicking any one of the entries in this list displays the current name and location of that reference data in the lower part of the form. it is easier to use the Default All Library Locations button to set all library locations. In this example. Rather than setting the location for each library individually. Libraries are copied into the c:\testprj\rdb\lib\approved and c:\testprj\rdb\lib\unapproved directories by the project directory creation script (see Creating Project Directories on page 70. The only item in this list that has been set is the Material Specification Reference Database (which contains the names of the RA and optionally the RU schemas). and complete the form as shown in the following figure: 110 Piping Reference Data . For example. the location displays as shown in the following figure.Attaching Reference Data to the Project CHAPTER 7 NOTE: Remember to press RETURN (or TAB) after each entry! ■ Click √ to write the library locations to the PD schema. The full specification of a library consists of the directory path entered into this form and file names for each of the libraries. This can be seen by clicking one of the items in the list after you have completed the Default All Library Locations operation. Piping Reference Data 111 . if you click Piping Job Specification Table Library. and so on). but the Default All Library Locations operation has set it to pjs_tbl. This renaming operation has also been done for the Short. or enter the applicable Reference Data Manager command. NOTE: The Reference Database Management Data form must be accepted each time a change is made to any of the reference data items. then pick the item that was changed to verify that the change was made. Long. If errors have been made. When you have done this for each field. and when the files associated with the Piping Job Specification Table Library are copied from the product directory to the project directory. They can be left as set by the Default All Library Locations operation. ■ You will notice that the Default All Library Locations operation has also set the international Physical Data Libraries (DIN. It is a good idea to pick another reference data item from the list. These will not be used unless specified as described in the Reference Data Manager (PD_Data) Reference Guide (DEA5028). JIS. NOTE: The system does not verify the location of the libraries at the time this information is entered into the Reference Database Management Data form.l.CHAPTER 7 PDS Project Setup In the RDUSRDB product directory. you will receive warnings at the time you enter a piping or equipment model. the names are changed to reflect this. or they can be deleted by selecting each field. and then pressing ENTER. and Specialty Material Description Libraries as well as the Graphic Commodity Library. pressing DELETE. The project directory creation script takes this into account.l. ■ 112 Piping Reference Data . the name of the Piping Job Specification Table Library is us_pjstb. click √ to write the changes into the PD schema. You would then need to edit the unapproved path (typically inserting the characters "un" in front of the word approved) before pressing ENTER and then clicking √ to accept the form. The project directory creation script copies the default drawing borders from the PD_Draw product directory into this directory. the location of the optional Commodity Synonym Library is defined. The use of this function is described in Chapter Four of the Reference Data Manager (PD_Data) Reference Guide (DEA5028). Additional information about this new functionality can be obtained by contacting the Help Desk at 1800-633-7248. ■ Piping Reference Data 113 . the Orthographic Drawing Borders directory can be set to c:\testprj\dwg\border. This is not set by the Default All Library Locations operation. you can use the Approved -> Unapproved button to copy whatever was entered into the approved fields into the unapproved fields. there are new libraries that can be specified if the new pipe supports functionality is to be used. the reference data libraries were copied into the project directory by the project directory creation script. In this example. See Chapter 15 of the Reference Data Manager (PD_Data) Reference Guide (DEA5028) for a description of using the Commodity Synonym Library.3 release of PDS. In this example. NOTE: In the 6. An alternative approach would be to use the Copy All Standard Libraries function. If you are changing reference data items. The Commodity Synonym Library need not be set in order to start using the project.Attaching Reference Data to the Project CHAPTER 7 At the end of the listing of reference data. To review or set the equipment reference data. Click Database Library File Manager to display the Equipment Database Library Management form.CHAPTER 7 PDS Project Setup Equipment Reference Data The equipment design module of PDS 3D shares some of the reference data used by the piping module. This form is described in Chapter Eight of the PDS Equipment Modeling (PD_EQP) User’s Guide (DEA5017). 114 Equipment Reference Data . click Equipment Modeling from the PD_Shell main menu to display the Equipment Modeling Options form. and Forms Library have been set to the PD_EQP product directory on the node where the project was created. Piping Physical Data Library Set the Directory field to projdir\rdb\lib\approved. Equipment Physical Data Leave the Directory and Specification fields library blank.Attaching Reference Data to the Project CHAPTER 7 This form operates in a manner similar to the Reference Database Management Data form described previously. Tutorial Definition Library Set the Directory field to projdir\rdb\eqp\approved.lib. Equipment Reference Data 115 . Tutorial Definition Library. and set the Specification field to zi_eqpms.lib. Piping Job Specification Set the Directory field to Table Library projdir\rdb\lib\approved. and set the Specification field to zi_tutlib. Set the locations for the displayed items as follows: Graphic Commodity Library Set the Directory field to projdir\rdb\eqp\approved. and set the Specification field to pjs_tbl.l. The Cell Library is not used by the Windows NT version of PD_EQP.l. and set the Specification field to us_pcdim. Cell Library. The Graphic Commodity Library. This is not typically used because the product may be removed or reloaded. so its setting can be deleted. Some of the reference data items have been set to default values. The Eden Description Help File corresponds to the default equipment delivered in the Equipment Graphic Commodity Library and does not need to be specified to the database. The Graphic Commodity Library and Tutorial Definition Library locations can be set to these locations---the default files names match those used by the project directory creation script. Regarding the specification of the Forms Directory Location. share this directory. or server mode. so only the node and path have to be checked. For this to work. and the Eden Description Help File from the PD_EQP product directory into the projdir\rdb\eqp\approved and projdir\rdb\eqp\unapproved directories. local. Forms Directory Location Leave the Directory and Specification fields blank. Both the forms and sym directories must be found in this path. the help file must be re-created using the Create Help Library function in the PD_EQP Eden Data Manager (accessed by clicking Graphic Library Manager then Eden Data Management from the Equipment Modeling Options form). One possible directory structure is shown: projdir projdir\eqp projdir\eqp\forms (copy of pdeqp\forms directory) projdir\eqp\sym (copy of pdeqp\sym directory) In this example. The Piping Physical 116 Equipment Reference Data . the Tutorial Definition Library. Rather than loading PD EQP on the server. you can leave this field blank. The project directory creation script copies the Graphic Commodity Library. and specify it as the the Forms Directory Location. See the Define Libraries section in the PDS EDEN Interface Reference Guide (DEA5024) for details on when this library can be used. The Equipment Physical Data Library does not need to be set at this time. If new pieces of equipment are defined. if you are using PDS V6. you can copy the PD EQP forms to a directory on the server. Cell Library Leave the Directory and Specification fields blank. the Forms Directory Location must be set to a valid location.l. or if you have customized the PD_EQP parametric forms and are storing them on a server. and the software will look for the equipment forms in the PD_EQP product directory on the client node.CHAPTER 7 PDS Project Setup Piping Design Standard Note Set theDirectory field to Library projdir\rdb\lib\approved. The software looks for it in the same directory as the Equipment Graphic Commodity Library. the Forms Directory Location would be set to the projdir\eqp directory. If you are using PDS V5. and set the Specification field to std_note. PD_EQP must be loaded to the client node in client. and if you have made no customizations to the PD_EQP parametric forms. l respectively). The Piping Standard Note Library and the Piping Job Specification Table Library can be set to the same locations as in the Piping module (std_note. Equipment Reference Data 117 .l and pjs_tbl.l).Attaching Reference Data to the Project CHAPTER 7 Data Library must be set---it can also be set to the same location as in the Piping module (us_pcdim. ■ A detailed description of this reference data can be found in Chapter Five of the Reference Data Manager (PD_Data) Reference Guide (DEA5028).pmc file must be edited to reflect the fact that not all available Piping Materials Classes are being loaded. ● pddata\sample\data---contains component. pcd_size.pcd files. Before loading any of these files to the database. flange.pcd and metric_npd.data Piping Commodity Size-Dependent Material Data specialty.pcd classes.data. ■ 118 Loading Default Data into the Piping Reference Database .data Instrument Component Specification Data pcd_size.data Piping Construction Tolerance Exclusion Data flange.data.data.pmc.data.CHAPTER 7 PDS Project Setup Loading Default Data into the Piping Reference Database After defining the locations for the Piping and Equipment reference libraries.pmc Neutral files are located in the following directories: ● rdusrdb\spec_data---contains all .data.pmc). and US_spbom. The project creation script copies the following neutral files from the product directories into the project directories (specifically.data Tap Properties Data 2c0032.pcd component.pmc file. PDS uses this file to determine the available Piping Materials Classes.data. constol. US_lgbomdata. classes.data Piping Specialty Specification Data taps. into the projdir\rdb\spec directory): File Name Description 1c0031. and specialty.data Flange Insulation Exclusion Data implied.data. instrment. the classes.data Piping Commodity Implied Material Data instrment. implied. the pddata\sample\data directory contains a sample metric spec (metric_npd. default reference data can be loaded to the reference databases. The classes. taps. US_shbom. NOTE: It is important to edit the classes. Edit the classes.pmc file lists many Piping Materials Classes---of these.pmc file using any text file editor and delete all piping material classes except 1c0031 and 2c0032. only two will be used (1c0031 and 2c0032).data Piping Commodity Specification Data for the 1C0031 Piping Materials Class Piping Commodity Specification Data for the 2C0032 Piping Materials Class File that lists all the delivered Piping Materials Classes and their attributes Component Insulation Exclusion Data constol.data. NOTE: In addition to the files listed.data.data. If you click Piping Materials Class. and follow the example used so far. click Piping Job Specification Manager to display the Piping Job Specification Manager main menu. the form would look like the following figure: Loading Default Data into the Piping Reference Database 119 .Attaching Reference Data to the Project CHAPTER 7 From the Reference Data Manager main menu. click Load/Replace. These buttons are used if the pipe support functionality is used. 120 Loading Default Data into the Piping Reference Database . The log file should be examined for any error messages. either the NTBATCH account mapping has not been set or you have some other problem related to the setup of NTBATCH. Contact the Help Desk at 1-800-633-7248 for additional information about pipe supports. but for a batch job of this type. You can also start the NT Batch Manager and check to see that the batch job made it into this queue and is running. a new toggle displays. ■ If the Piping Materials Class file is successfully loaded into the database.pmc file was loaded. but if the PDreference queue has been defined as a pipe queue and the job was routed to another server. a collapsed DOS window displays at the bottom of the screen.3 release of PDS. Click X to exit this form. or if the job never appears in the PDreference queue. Note that the system has recalled the node and path from which the classes. a delayed submission is not typically required. Typically this will be the node that submitted the batch job. ■ The Submit Immediately toggle will display after you enter the node. If "desktop access" was enabled for NTBATCH. This problem must be fixed before continuing. The batch job will be submitted to the PDreference queue. the output file will reside in the temp directory on that server. NOTE: If the collapsed DOS window never appears. When you click Load. a log file (pmc.CHAPTER 7 PDS Project Setup NOTE: Buttons have been added to this form for the 6. Click √ to submit the batch job. file path.log) will be created in the temp directory on the machine where the batch queue resides. This toggle may be set to Delayed Submit. and name. and click Piping Commodity Data. and so on pcd.log Tap Properties Data taps. The toggle could be set to List of Files instead of Single File.log Instrument Data instrment. the Piping Job Specification Manager will load the information into the unapproved database. and a file that lists multiple specs could be entered. however.log Project Implied Material Data implied.log Size-Dependent Material Data pcd_size. the log file should be checked immediately after the completion of each batch job.pcd file located in the rdusrdb\spec_data directory is an example of such a file.pcd) could also be loaded.log If approved and unapproved reference databases exist.log (for all) Piping Specialty Specification Data specialty. The complete list of neutral files and their associated log files follows: Option Name Input File Log File Piping Materials Class Data classes. the results are all written into the same log file (pcd. so if a number of specs have been submitted to load.data cons_tol. a warning message appears to remind you that the information in the approved reference database will be overwritten with that from the unapproved. The Unapprove -> Approve button can then be used to post information from the unapproved to the approved reference database.data flnginsu. In a similar manner.pcd.log Flange Insulation Exclusion Data flange. Loading Default Data into the Piping Reference Database 121 .log).log Component Insulation Exclusion Data component.data implied. Note that as each spec is loaded.data compinsu.log Piping Commodity Data 1c0031. multiple specs could be loaded in a single step.data instment. The list.data speclty.data taps. the file associated with the 2c0032 spec (2c0032. When running this command.log Construction Tolerance Exclusion Data constol.pmc pmc.Attaching Reference Data to the Project CHAPTER 7 In this case.data pcd_size. a single file spec (1c0031) was loaded. Information about the other options (delete.log.CHAPTER 7 PDS Project Setup The log file for this operation is named copyspec. report. and so on) can be found in the Piping Job Specification Manager section of the Reference Data Manager (PD_Data) Reference Guide (DEA5028). 122 Loading Default Data into the Piping Reference Database . . 124 3D Disciplines . . . . . . . . . . . . . Chapter Topics Project Organization . . . . . . . . . . . . . 141 123 . . . . . . . . . . . . . . . . . The 3D Disciplines on page 125 and 2D Disciplines on page 141 disciplines are discussed separately. . . 125 2D Disciplines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . you can create models and drawings. . . . . . . . . . . .C H A P T E R 8 Creating 3D Areas and Models After you have created the project and initialized the reference data. . . . and Structural. Equipment.CHAPTER 8 PDS Project Setup Project Organization Disciplines Such as Piping. HVAC. Design Areas Which represent a specified volume of the physical plant. Models Which correspond to a specific 3D volume for a discipline within the specified design area. Each model is a MicroStation design file on the disk. 124 Project Organization . This brings up the Project Administrator main menu: This menu is described in detail in Chapter Three of the Project Administrator (PD_Project) Reference Guide (DEA5027). and enter Project Administrator. To create a new discipline. 3D Disciplines 125 . click the project name. Click Project Environment Manager to display the Project Environment Manager main menu.Creating 3D Areas and Models CHAPTER 8 3D Disciplines The following disciplines are delivered with the PDS 3D applications: ● Piping ● Equipment ● Structural ● HVAC ● Raceways ● Architecture Additional disciplines can be created if necessary up to a total of ten disciplines. start PD_Shell. CHAPTER 8 PDS Project Setup This menu is described in detail in Chapter Five of the Project Administrator (PD_Project) Reference Guide (DEA5027). Click Create to display the Create Options main menu. 126 3D Disciplines . . . . . 128 135 140 140 3D Disciplines 127 . . . . . . . . . . . . . . . . . . . . 3D Areas . .Creating 3D Areas and Models CHAPTER 8 This menu is also described in Chapter Five of the Project Administrator (PD_Project) Reference Guide (DEA5027). . . . . . If the discipline will contain as-built models created with the PlantGen application. 3D Models . . . . . . . . . . . . . . and press RETURN. . . . . . . . . . . . . . . . . . . . . . . click PLANTGEN Discipline to allow PlantGen data to be recognized by the Review Attributes command and various labeling commands. . . . . . In this example. . . . . . . . . . . . . . . . Click Create Discipline Data. . . . . . . Model Creation for Other 3D Disciplines 3D Design Data and the Database . . . . . . enter the name of the new discipline in the Discipline Name field. . . . . . . . . . . . a discipline named clash is created. . . Click √ to create the new discipline. . if changes are made in equipment area E4. the area definitions are in fact three-dimensional volumes. interference detection. When working in an area created using a predefined volume.CHAPTER 8 PDS Project Setup 3D Areas PDS 3D design areas can be defined as dynamic or based on a predefined volume. However. and so on). and piping area P3 encompasses equipment areas E4--E6. interferences can be run just in this area rather than checking the clashes for the entire project. Although this is shown in two dimensions. The benefit of breaking the plant into areas is that it allows the plant to be divided into more manageable amounts of data for various functions (such as isometric extraction. when interference detection is run using the Pre-Defined Volume option the system does not report a clash that existed outside the predefined volume. a piping area grows to accommodate all of the piping placed within it. This becomes very important when you perform interference detection. the system does not stop you from placing piping or equipment outside the boundaries of the area. In this case. Consider the area definition shown below. A strategy that can be combined with this approach is to create a user-defined clash discipline used only for interference detection. For instance. Piping area P1 encompasses equipment areas E1-E3. The main piping thoroughfare is defined as P2. Another approach is not to use predefined volumes for your actual design areas. This can save substantial time because interference detection is a computeintensive operation. DesignReview sessions. There is a single structural area encompassing the entire plant defined as S1. The 128 3D Disciplines . and click √ to display the Create Design Area main menu. When this form displays. click Create from the Project Environment main menu and then click Create Design Area Data. Additional information regarding the theory of clash area management is covered in the PD_Clash class and in its accompanying documents. the system reads the working units and plant monument from the Type 63 data in the seed file and displays the following information. or raceway discipline was selected.0. The default origin of the predefined volume is set to the origin of the Plant Coordinate System (PCS 0. This toggle is off for all other disciplines. equipment. and so on) are not. To create a new 3D area. Click the discipline from the list of available disciplines.Creating 3D Areas and Models CHAPTER 8 design areas for the user-defined clash discipline are created with predefined volumes. equipment. Many project administrators find this approach to be quite useful. while the design areas for the other disciplines (piping. 3D Disciplines 129 . the predefined volume toggle is set to Interference Management Design Area if the piping. If the piping or equipment discipline is selected.0). the working units can be set only at project creation.dgn shell\seedz Equipment model seed file mdlsdz. For this reason.dgn pdshell\seedz Piping model seed file rwysdz. you have the opportunity to modify the working units and plant monument. and Drawing seed files shown in the previous table. and the plant monument must be defined before any areas or models are created.dgn EERWAY\dgn\seed EE Raceway model seed file projname.dgn applicable pdshell\seedz and model seed file Clash marker file When you create the project.CHAPTER 8 PDS Project Setup Seed Files and the Type 63 Data When you create a new project. File Name Source Location Purpose borderifc. One example of this is what is referred to as the Type 63 data. This information is written to the Piping. In addition to containing information that results in the display of graphical data. a number of seed files are copied from the product directories into the project directory. MicroStation design files can also contain information that does not result in the display of graphical data but is read by other applications for other purposes.dgn pdshell\seedz Drawing seed file eqpsdz. This information stores many project-wide parameters that are applied to new models and areas at the time they are created.dgn pdshell\border Border file for clash plots drwsdz. Equipment. 130 3D Disciplines . For example. changes to this information are permitted only at certain times. The Revise Model Data function (Revise button under the Piping Model Data category) includes settings for MTO reporting options. The model file symbology is an important system setting and dictates if graphic symbology is based on model category. whether the approved or unapproved reference data is used. Click Seed to display the Revise Seed Files menu. or construction status. The seed file report can be used for this purpose.Creating 3D Areas and Models CHAPTER 8 Seed Data Chapter Six of the Project Administrator (PD_Project) Reference Guide (DEA5027) describes all of the Project Data Manager options. fluid code. Changes made here affect the seed files or existing models. You can propagate the following Type 63 data to existing models: ● Component Placement ● Piping Data Control 3D Disciplines 131 . Some of these changes can be applied to previously created models and others cannot so it is important to inspect/coordinate seed file settings at the beginning of the project. The Revise 3D Plant Design Data function includes options to specify a plant monument and options to set the date/time format and coordinate readout format. Coordination of these settings in a project being executed at multiple sites is of paramount importance. The Propagate Piping Model Data function (Propagate button under the Piping Model Data category) allows selected seed file settings to be applied to existing models. and the setting of the model file symbology. which should not be revised after drawings have been created. and whether or not the approved or unapproved reference data is used. The Revise Equipment Data function includes settings for the equipment graphic symbology and whether or not the approved or unapproved reference data is used. Changes made here affect the equipment model seed file.CHAPTER 8 PDS Project Setup ● Physical Units Options ● Nozzle Transfer ● Material Takeoff ● Design Review Label ● Reference Database File Specifications ● Design Checks ● End Prep table ● Symbology---Diagnostic Markers ● Date/Time Format The only model data that cannot be applied to existing models is the Default Active Segment Data and the Level and Color options. any required changes that cannot be propagated to existing drawings (see the following list) should be made before creating any drawings. The Propagate Drawing Data function allows selected seed file settings to be applied to existing drawings. any required changes should be made before creating any equipment areas. You can propagate the following Type 63 data to existing drawings: ● Label Text Sizes ● Reference Database File Specifications ● Mass Annotation Data ● PDS Drawing Annotation Category Data ● User-Defined Drawing Annotation Category Data ● Hidden Line Data ● Coordinate Label Data ● Prefix/Suffix Data for Coordinate Labels ● Miscellaneous Label Data ● Date/Time Format The only drawing data that cannot be applied to existing drawings is the Drawing Category data. label text sizes. which should not be revised after piping models have been created. therefore. The Revise Drawing Data function includes settings for graphic symbology. Changes made here affect the drawing seed file. therefore. 132 3D Disciplines . See the PDS 3D Theory User’s Guide (DEA5064) for information. then the toggle can be set to No Interference Management Design Area. If predefined volumes are not used for interference detection. The Propagate Interference Check Data function allows selected seed file settings to be applied to existing area marker files.Creating 3D Areas and Models CHAPTER 8 The Revise Interference Check Data function includes settings for clash construction tolerances and assignment of clash responsibility by discipline. This will cause the software not to create the area marker file. You can propagate the following Type 63 data to existing marker files: ● Construction Tolerances ● Responsibility Matrix ● Envelope Emulation Data ● Clash Plot Graphics Option The Report of Seedfile Data function allows you to produce a report of all seed file settings. Changes made here affect the project marker file. If you will not run Interference detection by Area for this discipline. Enter a Design Area Name. 3D Disciplines 133 . Plant Monument The plant monument defines the origin of the Plant Coordinate System (PCS). Click √ to create the design area. This report can be very useful when setting up a distributed project. and press RETURN. which may or may not coincide with the origin of the MicroStation coordinate system. therefore any required changes that cannot be propagated to existing area marker files (see the following list) should be made before creating any models.0. Enter a Description. and press RETURN. then the predefined volume can remain 0.0. 134 3D Disciplines . areas for other disciplines can be created.CHAPTER 8 PDS Project Setup In a similar manner. click Project Environment Manager > Create > Create Model. and Model Description. From the Project Environment main menu. This is already specified if you created the project using Express Project Creation. and then click √. the Model Directory and Workstation/Server Name must also be entered.Creating 3D Areas and Models CHAPTER 8 3D Models After you create design areas. From Project Administrator. Model Name. and click √ to display the Create Model Data main menu. Click the discipline. and Workstation/Server Name can be established using the Model Setup function. Choose the area from the next form. Default values for Model Directory. In addition to the Model Number. click Model Setup and the discipline for which you want to establish a default directory for the creation of new models. you can create models within these areas. The form has been completed to follow the example started earlier. 3D Disciplines 135 . CHAPTER 8 PDS Project Setup The Color. the information entered in the Model Setup Data form is reflected in the Model Directory and Workstation/Server Name fields. 136 3D Disciplines . Style. Note that the information for the Structural and Raceways disciplines has already been set. The use of these settings is described in the Model Setup section of the Project Administrator (PD_Project) Reference Guide (DEA5027). and Weight toggles allow you to establish default reference model symbology for the selected discipline. Click √ to write the default model file location into the PD schema. Returning to the Create Model Data form. This reads a list of available model status conditions from code list 1605 in the Standard Note Library. you do not want the users to be able to enter their own Model Status in the form shown above---you want to restrict them to a list. This eliminates typographical errors and reduces database storage requirements. Click Revise on the Standard Note Library Manager main menu to display a list of all delivered standard note types. The following figure shows the completed Create Model form for this example: 3D Disciplines 137 . To examine. A Model Status can be selected by clicking the Model Status field. Additional information regarding the use of the Standard Note Library Manager can be found in the section having the same name in the Reference Data Manager (PD_Data) Reference Guide (DEA5028). edit. As an example. or modify the delivered standard note entries. use the Standard Note Library Manager (under the Reference Data Manager button). The Standard Note Library is listed in its entirety in Appendix B of the Reference Data Manager (PD_Data) Reference Guide (DEA5028). Standard Note Library The Standard Note Library contains code list information used in many fixedchoice situations. Scroll down to standard note type 1605 (Model Status). an integer representing its position in the code list is stored.Creating 3D Areas and Models CHAPTER 8 A Model Number (which results in a default Model Name) and Model Description can be entered. click it. Rather than storing the text associated with the word "Undefined". and then click √ to display a listing of the available Model Status choices. In addition to the plant monument. 138 3D Disciplines . See the PDS 3D Theory User’s Guide (DEA5064) for more information.CHAPTER 8 PDS Project Setup Click √ to display the Design Volume Coordinate System Definition form. PDS supports the use of a Design Volume Coordinate System (DVCS). a log file named crtmodel. The batch job is submitted to the Pdcreate_model queue. click Create Database Tables from the Create Options main menu. ■ Database Tables for 3D Models Piping and Equipment models have database tables associated with them (created in the DD schema) that must be created. Typically. After creating Piping or Equipment models. the DVCS for a model can be changed after it has been created.Creating 3D Areas and Models CHAPTER 8 NOTE: Unlike the plant monument.rep is written into the temp directory (or mailed to you if PDS batch mail is set up)---a sample follows: Piping Files Processed : Created Model p1 Created Model p2 Equipment Files Processed : No Models found in discipline to process Model Creation Completed Elapse time = 2:15 Cpu time = 2:14 3D Disciplines 139 . a delayed submission is not required for this type of batch job. Check in Batch Manager to see that the job is in the queue and is running. Other disciplines do not require this step. When finished. If the database tables do not exist. PDS will not display the models in the list of available models. If you create a new model for one of these disciplines and then run the Create Database Tables operation. ■ Model Creation for Other 3D Disciplines The creation of Equipment models follows the same procedure as that for the creation of Piping models. the data is read from the user data attached to the MicroStation graphic elements. create an area and a model. This is normal. EE. These models can then be used by PDS as reference files. Performing this operation more than once will not result in the creation of duplicate database table. Other disciplines (FW/MDR. and in some cases for interference detection. PDS does not use the Equipment data in the DD schema. When working in PD_EQP. information about equipment and nozzles is not written into the database at the time the information is placed. no models will be listed in the log file. This information is not normally required. To do this. ■ 3D Design Data and the Database When working in PD_Design. Architecture. but information from the equipment models can be loaded to the DD schema for users’ reporting purposes using the Load Design Database function in the Equipment Modeling Options main menu. Only those models that have not had their tables created will be processed. HVAC. It is important to understand that the intelligence associated with equipment models is stored in the design file. but this is not the case for piping models. 140 3D Disciplines . it is important that backups of the database be made using PDS Archival or some other method. and any user-defined disciplines is not possible through PD_Shell---the models must be created using the non-PDS application (Project Architect. Creation of model files for HVAC. The Database Verification Manager operation verifies that the graphics and the database are in agreement. otherwise. PDS will create an entry in the PD schema (specifically pdtable_113). Instead. and in the Create Model form. specify the location of an existing HVAC or Architecture model. PE HVAC. NOTE: Non-PDS models cannot be opened through PD_Shell. and so forth) and then located through PD_Shell. they are unusable. ARCH) do not have separate database tables in the DD schema associated with them. Because of this. information about piping segments and components is written into the DD schema tables associated with that model at the time theses items are placed in the model. If the contents of the DD schema are lost the piping models will lose their intelligence.CHAPTER 8 PDS Project Setup NOTE: Make sure that all models that were created have their database tables created. You can use Universal Naming Convention (UNC) file names in this field. . To open the graphics-only PID drawing. edited/renamed it.dgn---seed2. . .dgn does not. . . . .dgn has a border. .dgn or seed2.gpr file into your project directory. . . . If there are syntax errors in the . . . .PDS 2D). . . . Creating a Graphics-only Drawing . . while seed1. . . The drawing name should have a . . PFD. . . PID. . double-click the Graphics Only icon in the PDS 2D Applications program group to display the Graphics Only dialog box. . . . A drawing created in graphics only mode can be attached to the database at a later time if required. . you can choose seed1.gpr file. . . . 2D Disciplines 141 . 142 Creating a Graphics-only Drawing After you have copied the example. you can double-click the Create Drawing icon in the PDS 2D Applications program group to display the Create Graphics Only Design File dialog box. .Creating 3D Areas and Models CHAPTER 8 2D Disciplines The 2D disciplines (2D.pid extension so that it can be brought into the database if required. . Click Task. . IDM) support the use of drawings that are graphics only or graphics + database. and specified its location in the 2D Set Options form (see Locating the proj File from Client Nodes -. . . . From the P&ID Seed File list. . . . . . 141 Creating a Database Drawing . . it will not display in the Graphics Only Project Files list. and enter the full path of the drawing to be created. . . and click Browse to find the drawing to be opened---its full path displays in the Design File path. For the example project. PDS 2D units serve the same function as PDS 3D areas---to allow related drawings to be grouped together. Dismiss this warning to display the Units form. and the 2D reference data and RDBMS are initialized.CHAPTER 8 PDS Project Setup Click your Graphics only project file from the list. From the Env command on the menubar. click PDS 2D > Show Units---you should get a warning that no units were found. Creating a Database Drawing Before creating a database drawing. start the Database Environment application. you must create a unit. your project will display in the list. and click OK to enter the database environment. MicroStation starts. 142 2D Disciplines . After initialization has completed. Click OK to start MicroStation and open this drawing. the following form displays. from the Env command on the menubar. From the PDS 2D Applications program group. select PID as the Task. If the Database Proj File has been correctly set. click PDS 2D > Show Active Project. Click your project from the list. Enter information in the right-hand side of this form. you are prompted to Select the project. click Commands > Create. 2D Disciplines 143 . click Accept from the Env command on the menubar to save the entry. Click the Units form in the area where the asterisk (*) displays. The gray buttons to the left are called row select buttons and should not be used at this time. Do not use the row select button---click on the project name. The unit is created and appears in the Units form. After clicking here. pressing RETURN after each entry. the environment variable MS_PROCESSORS must be set to 1. Click the project name in the Project form. You are prompted Select entry to create. ■ From the Env command on the menubar. After completing all three fields. See the PDS2D README file for details.Creating 3D Areas and Models CHAPTER 8 NOTE: If you are running PDS2D on a computer that has more than one CPU. The Unit for Project form displays. CHAPTER 8 PDS Project Setup From the Env command on the menubar. Press RETURN after entering each value. A warning displays that no drawings were found. Click your unit code in the Units form to display the Drawings for Unit form. You are then prompted to Select Unit gadget. You are prompted Select entry to create. click P&ID > TDB > Show Drawings to create a PID drawing for this unit. Click the area underneath the column heading Drawing no (do not use the row select gadget) on the PID Drawings form.pid system converts name to upper case must end with . Dismiss this to display the PID Drawings form. 144 2D Disciplines Drawing number pid_1 Design file number pid_1. From the Env command on the menubar. the following values have also been set. click Commands > Create. The following attributes are filled in with default values: ● Drawing Title ● Task Name ● Seed design file number ● Creation date ● Current version number In this example.pid extension Network address cadsrv server where project is located Path name c:\testprj\models\2d directory created for these drawings . and the . When prompted Select entry to edit. click Env > Commands > Edit Graphics. The drawing displays in the PID Drawings form. To enter graphics. click the name of your drawing in the Drawing no column of the PID Drawings.Creating 3D Areas and Models CHAPTER 8 Creator Initials (your initials) Click Accept from the Env command on the menubar to create the PID drawing. Do not use the row select gadget. 2D Disciplines 145 .pid file is created in the specified directory. CHAPTER 8 PDS Project Setup 146 2D Disciplines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter Topics Plotting in the PDS Environment . . .9 C H A P T E R System Administrator Responsibilities This section describes a number of different tasks that are typically the responsibility of the System Administrator. . Modifying Batch Queues for Redirected Processing . . . . . . . . . . . . . . . . . . . . Access Control . . . . . . . . . . . . . Creating Backups and Maintaining a Backup Schedule Creating and Maintaining Distributed Projects . . . . . . 148 155 164 170 182 147 . . . . . . . . . . . The account mapping specified in NT Batch Manager will depend on whether or not you use connected or created printers. . user can map to a generic user (PDS\* = PDS\pdsbatch). . Printers created using My Computer are called created printers and those created using Network are called connected printers. . . . . that is to say it is the property of the node and not the user. . prepare the I/Plot metafile. . Application-specific Considerations . . Use of Network Printer Server . . If you are doing batch plots through PDS and are using connected printers. In the Windows NT environment. . A connected printer is a property of the user you are logged in as at the time the connection was made. . . Plot jobs submitted to a Windows NT batch queue open the design and reference files. . Plotting Topics My Computer versus Network Printer Server --. . . . . . . . 148 149 149 151 152 My Computer versus Network Printer Server --. and send this output to the I/Plot client software. In the CLIX environment. the printer connections made by the previous user are not known. . . . . . The I/Plot server software communicates with plotting devices through print connections. no other node is required to accomplish the connection. . . Print Manager handles spooling jobs to the printer. . . . It is extremely important to understand the difference. If you encounter plotting problems and call Intergraph support. . each user must be mapped to their own login (PDS\john = PDS\john) because the connected printer is a property of the current user. . . . . . .Windows NT Windows NT printers are created using the Add Printer wizard in the Printers folder. The I/Plot client software passes the metafile across the network to the I/Plot server software to be plotted. this is one of the first questions you’ll be asked. . . . . . . A created printer is known to all users on a node.CHAPTER 9 PDS Project Setup Plotting in the PDS Environment Submitting a plot though PDS results in a batch job being submitted to a queue that can be viewed using NT Batch Manager. . . . . If you log off and back on as a different user. . My Computer and Network. . . . . . . . . . . . . . . This batch job will send its output to a specified printer. . . . . . . There are two choices available. . . . . . . . . . . . . . . . . . . . This is acceptable 148 Plotting in the PDS Environment . If you are doing batch plots through PDS and are using created printers. . . . The queue_descript File . NQS is used to create device queues that communicate with the printer. .Windows NT Use of My Computer . A node with a connected printer only has a pointer to a printer that was created and shared on another node. . . . . . . . A node with a created printer has everything required to communicate directly with the printer loaded locally. . I/PLOT server. Plotting in the PDS Environment 149 . this description will be visible when others try to connect to this printer. Select the appropriate driver from the list (in this example. Enter a name. the DLC protocol must first be loaded from Control Panel > Network. 1. PDS supports up to 14 characters in the printer name. and therefore known to all users of that computer. Use of My Computer The My Computer option creates a printer that can be shared so that other nodes may connect to it. and the printer driver be loaded on the local node. then the generic mapping as described for created printers can be used. a MAC address would be chosen from the list. If the printer is directly connected to the node. and so on). If you are sharing the printer. LPT1. use hplaser instead of HP Laserjet. Select My Computer then click Next. Click Start > Settings > Printers. and other printerspecific options could be set before proceeding. and optionally type a description. you would click the corresponding local port (COM1. ■ 2. the HP laserjet 4MV). type a share name. If it is a network printer. The printer is visible from the Printers folder. the Form setting should be examined and changed from its default value to match the true size of the paper used in the plotter. In this configuration. At this point the printer configuration is complete. You should test the printer connection by printing to it from a text editor or by plotting to it from I/Plot. 3. an HP Laserjet 4MV. If it is shared. and select the correct driver from the list. Double-click Add Printers. If you do not do batch plots through PDS but submit plots directly using the I/Plot dialog box. The use of My Computer requires that I/PLOT client. Click the Print to port. is connected directly to the network. 4. For the HP network printer. As an example. you would click Other and then the network type (Hewlett-Packard Network Port in this example). To communicate with this particular printer. and type a description. This description will be visible from Printer > Properties. Choose whether or not to Share This Printer on Network.System Administrator Responsibilities CHAPTER 9 since the created printer is a property of the computer. the Network Printer Server option creates a printer connection that is usable only by the active user. For plotters connected directly into the network or to a Windows NT system. only I/PLOT client is require on the machine. For example. Use of Network Printer Server When connecting to a shared network printer. NOTE: Do not use spaces in printer names. At the top level. you are prompted if you want to make the new printer your default printer. you may have to browse to find the domain and node. If you have multiple domains on your LAN. If Expand by Default is turned on. For example. Select Network printer server. If you have more than one printer defined for your computer. Once the node has been located. double-click it to show the shared printers on that node. Select Network printer server. and click OK to establish a connection to that printer. Double-click Add Printers. Note that the printer name appears in Print Manager as \\nodename\printer. you will see the list of available networks. Type the printer’s queue name followed by the CLIX node it is connected to. Click the shared printer you want to use. In this example. PDS supports up to 14 characters in the printer name. ■ 2. then click Next. the printer is named inkspot and is connected to node dman. 3. then click Next. the system will go out and look for shared printers. If Expand by Default is turned on. NOTE: Do not use spaces in printer names. Click Start > Settings > Printers. the system will go out and look for shared printers. 2. Double-click Add Printers. 150 Plotting in the PDS Environment .CHAPTER 9 PDS Project Setup Connecting to a Printer Shared from a Windows NT Node 1. Click Start > Settings > Printers. Test the printer connection by printing/plotting to it. use hplaser instead of HP Laserjet. Connecting to a Printer on a CLIX Node 1. Click OK. If you have more than one printer defined. 6. A warning message displays. Plotting in the PDS Environment 151 . Pddraw_plot Used by the batch queues Pdplot and Pdplot_model to plot the drawing or piping model selected. 5. The options included in the queue_descript file are: Pdprint Used by all PDS 3D software for interactive/batch printing of reports and plotting. It is used by PDS 3D to display the list of available queues for printing/plotting as well as those available for running hidden lines and isometric extractions. It is used while working interactively as well as by batch jobs spawned by PDS 3D.System Administrator Responsibilities CHAPTER 9 3. 4. Click OK to display a list of available drivers. The queue_descript File The queue_descript file is created in the project directory when the project is created. you are prompted to select whether this printer will be the default printer. Click either Yes or No. Select the Intergraph Network Printer Driver. Click OK. or you are submitting a batch job from a CLIX node to a remote queue on a Windows NT node. the queue list is derived from the queue_descript file’s list of available printer/plotter queues for this project. if the PD_EQP software cannot find any of the queues listed in the queue_descript file. ● If you are submitting a batch job from a CLIX node to a remote queue on another CLIX node. the list of available print/plot queues is derived from the remote CLIX node. Pdifc_plot Used by the batch queue Pdclash_server to plot interference clashes. ● All batch options use the queue_descript file’s list of available batch queues. PD_Draw Considerations: ● If you are submitting a batch job from a Windows NT node to a remote queue on another Windows NT node. or used by the interactive Iso software to plot isometric extractions. a list of all available printer connections from the Print Manager displays. the list of all available batch queues from the NT Batch Manager displays. Pdiso_plot Used by the queue Pdiso_batch for automatic plotting of isometrics. Pdiso_batch Used to select the queue/node for the processing of batch isometric extractions. (Pdprint) ● On Windows NT. if the PD_EQP software is unable to find any of the queues listed in the queue_descript file. the list of available print/plot connections is derived from the remote Windows NT node. (Pdeqp_batch) ● On Windows NT. Therefore.CHAPTER 9 PDS Project Setup Pdhline Used to select the queue/node for the processing of the vector hidden line renderings. Application-specific Considerations This section describes plotting issues that are unique for a particular application. ● If you are submitting a batch job from a Windows NT node to a remote queue on a CLIX node. PD_EQP Considerations: ● All print options use the queue_descript file’s list of available printer queues . if you select a printer/plotter queue that does not 152 Plotting in the PDS Environment . This can cause drawings to come out the wrong size. and an error message is generated. For example. queue name. PDS 2D Considerations: ● For PDS 2D. size. PD_ISO Considerations: ● PD_ISO does not scale for plotting. the list of all available printer connections from the Print Manager is displayed. for example). If it will fit. I/Plot uses the default queue on the remote node instead of the selected queue. you can specify a plot size and send it to a different size queue. If it does not fit. ● In PD_Draw. If you specify a large size to a smaller queue (E size to an A size queue. and so on. If it will fit. you should see only A size queues. ● All printing and plotting options use queues listed under the Pdprint and Pdiso_plt headings in the queue_descript file. In other words. for example). the software will scale down to match the queue size but will not scale up to match the queue size. the plot fails. the plot fails. The iparm file includes scale. If it does not fit. you should get a correctly scaled plot for the queue specified. it will plot it to the scale that you specified. If you specify a small size to a larger queue (A size to an E size queue. The user predefines the iparm files and selects the settings before plotting. it will plot it to the scale that you specified. if you are trying to get an A size plot. if the PD_ISO software is unable to find any of the queues listed in the queue_descript file. Plotting in the PDS Environment 153 . the software will scale as you specify and then will check to see if that size will fit onto the paper for the queue that you specified. ● If the PD_Draw software is unable to find any of the queues listed in the queue_descript file and you are not crossing platforms. PD_Review Considerations: ● For PD_Review. On Windows NT. and an error message is generated. the list of all available printer connections from the Print Manager will be displayed on a Windows NT node. The plot queue name from the iparm file is displayed to the user who may use the displayed plot queue or select another one. you should get the small plot in the lower left corner of a large sheet of paper.System Administrator Responsibilities CHAPTER 9 exist on the remote node. the software will scale as you specify and will then check to see if that size will fit onto the paper for the queue that you specified. PD_Design Considerations: ● For PD_Design. the software only displays the queues that match the size that you specified. if the PD_ISO software can not find any of the queues listed in the queue_descript file. Additional information about the queue_descript file and some examples can be found in The PDS queue_descript File on page 289. On Windows NT. 154 Plotting in the PDS Environment . a list of all available batch queues from the NT Batch Manager is displayed.CHAPTER 9 PDS Project Setup ● All batch options use queues listed under the Pdiso_batch heading in the queue_descript file. lst file is not to be confused with the queue_descript file. While logged in as an administrator on the local node.System Administrator Responsibilities CHAPTER 9 Modifying Batch Queues for Redirected Processing When batch jobs are submitted. Exit NT Batch Manager and start the PDS Queue Creation utility. and the Queue Creation utility displays Reading information from the queue. Accept this warning. the dialog box will display as follows: The fact that the Queue Type is set to batch indicates that all queues are local to this node. the processes execute on the client node. The queue. A batch (local) queue can be changed to a pipe (remote) queue using the PDS Queue Creation utility. If all PDS queues are created local. The queue.lst file and the local machine. In some cases it may be necessary to redirect these processes to a server node that has more compute power and memory. Modifying Batch Queues for Redirected Processing 155 . The PDS Queue Creation utility dialog box displays. You may get a message that All Products Have Queues Created. and is used by the PDS Queue Creation utility.lst file is located in the same directory with the proj file. start NT Batch Manager. the Remote Node box has been checked. By turning on Enable all for configuration. all products become available. After clicking the product. In the next figure. PD_Clash). 156 Modifying Batch Queues for Redirected Processing . If ALL is selected. all products are dithered (in this example) because the PDS Queue Creation utility has determined that queues for all products have been created. and the name of the server has been entered. select the product whose queues will be reconfigured (in this example. you can click the list by the Queue Name field to display the list of all queues that product uses. you can see that the Pdclash_server queue has been chosen to be reconfigured. Next.CHAPTER 9 PDS Project Setup When this dialog box displays. all of the queues that appear in the list will be reconfigured. you must be certain that the server name is correct and that the corresponding batch queue exists on the specified server. In this manner. the information for the PDreport queue will also appear in the PD_Report and PD_Projec sections of the queue. Modifying Batch Queues for Redirected Processing 157 . the PD_Clash entry in the queue. but it will show them where they should be created to and also stop them from altering the information in this file. You must leave the setting turned on to re-create the existing queue as the new pipe queue. Some queues are shared by more than one application.System Administrator Responsibilities CHAPTER 9 NOTE: Note that when the pipe queue is created. Considering the example of the Pdclash_server queue that was created as a pipe queue to the node CADSRV. the PDreport queue is used by PD_Clash and PD_Projec as well as PD_Report. the information will be changed.lst file.lst file would now look like this: [PD_Clash Queues] node= PDclash_server=CADSRV When another client node is creating PD_Clash pipe queues using the PDS Queue Configuration utility and Read data from ASCII file has been selected.lst file. the software turns on Overwrite Existing Queue.lst file. For example. By default. and then other clients will see the preferred location to create their pipe queues to. Changing the permissions of the queue. go back into NT Batch Manager and make sure that the queue was successfully created to the correct destination. If PD_Clash pipe queues are created. Click OK to display the following message regarding the queue. change the permissions of the queue.lst file to read only. the System Administrator can create all required pipe queues from one client. the node CADSRV will appear in the Remote Node field. neither the existence of the remote node nor the existence of the corresponding batch queue are checked. After creating the pipe queue using the PDS Queue Creation utility. ■ If the queue already exists.lst file has entries that look like this: [PD_Clash Queues] node= When a client node that is using this proj file creates a pipe queue used by this discipline and saves the information to the queue.lst file to read-only will not stop clients from creating pipe queues to other nodes. clicking Yes on this dialog box will write information for the specified queue(s) into the queue. the queue.lst file: When creating a pipe queue to a remote node. click Queue > Properties from the menu bar.CHAPTER 9 PDS Project Setup With the queue selected as shown above. then click the Destinations tab to see where this pipe queue’s destination is. 158 Modifying Batch Queues for Redirected Processing . In this example. the following items should also be checked to make sure the pipe queue can be used successfully: Does a batch queue by the same name exist on the specified server? A batch queue with the same name must exist on the server.System Administrator Responsibilities CHAPTER 9 This is a quick way to check where batch jobs sent to this queue will be processed. See the on-line help for additional information. Once the pipe queue has been created. the next one will be used. It is possible to add additional destinations to this pipe queue. the PDclash_server batch queue must exist on the node CADSRV. Has compatible account mapping been set up? This is where the use of domain users and groups is critical! Consider the following example: Client node = PDS1 Logged in user = PDS\mary Windows NT Batch account mapping = PDS\* = PDS\pds Server node = CADSRV Windows NT Batch account mapping = PDS\* = PDS\pds File permissions on the project files are: EveryoneRead PDS\AdministratorsFull Control PDS\Domain UsersChange PDS\pdsFull Control Modifying Batch Queues for Redirected Processing 159 . if the first destination in the list is disabled. If all nodes are using the same schemas file. . This means that the server must be able to find the correct schemas file. . . In this case. Arrange the two windows so that both the local pipe queues and the remote batch queues can be seen. . In addition to problems finding the correct schemas file. When entering the server name preface it with \\ (for example. and what the permissions are on the files being shared. . for a complete listing of log files produced by PDS batch jobs. . . See Setting the RIS_PARAMETERS Environment Variable on page 161. . . the batch log is typically empty. . * *************************************************** If different schemas files are in use. Can the server access the correct schemas file? Once the batch job starts processing on the server. RIS_PARAMETERS. . . the batch job may have problems accessing the required project files. the batch job running on the server cannot access the project files. Setting the RIS_PARAMETERS Environment Variable . With this set up. . 161 Configuring the PDS Batch Mail Utility . . . and later the queues are change to pipe queues. . See Log Files Produced by PDS Batch Jobs on page 225. . Items to check are: whether or not the correct directories have been shared. . the output will be sent to the c:\temp directory (or wherever the TEMP environment variable is set to) on the server. Because the project directories have not been shared on the local node. . \\CADSRV). quickly switch to NT Batch Manager to see that the request made it to the server.CHAPTER 9 PDS Project Setup When PDS\mary submits a batch job on node PDS1 which is piped to the same queue on the node CADSRV. This typically happens when a local project is being used with local batch queues. . . . it will need to attach to the required databases. . Because this user has access to the project files the batch job will complete successfully. then it may simply be a matter of performing the Locate Schema File operation on the server and locating the shared schemas file. The best way to test redirected batch processing is to start NT Batch Manager and use the Server > Connect command to connect to your remote server and display its queues. what the permissions are on the share. If the batch job cannot attach to the required database an error similar to the following will be seen in the error log (probably located in the c:\temp directory on the server): ******************************************* * RIS Error: RIS_E_UNKNOWN_SCHEMA (0x8a94a142) * * * * default schema pd_xxxxxx * * * * No such schema was found in the schema file or * * a mismatch in the schema password. When the batch job is finished. to tell the server which schemas file to use. . . she will be mapped to the PDS\pds user. it may be necessary to use an environment variable. . 162 160 Modifying Batch Queues for Redirected Processing . submit a batch job. for a description of this. . . . Then. However. then when Mary starts PDS interactively RIS will look in the same place on Mary’s node. where a single schemas file is in use by all nodes. When the batch process needs to attach to a database. For example. but also interactive jobs. If a system environment Modifying Batch Queues for Redirected Processing 161 . the server must know how to get to these databases.XX directory (on the server) to find the schemas file. This parms file points to the schemas file back on Mary’s node. This file can point to only one schemas file. then you would log on to the server. on the server. When a batch job is sent from Mary’s node to the server. rather than using the parms file in the \win32app\ingr\share\ris05. If. ● Assuming the batch job has been received by the server and the PDS\pds user does not have a conflicting user environment variable setting for RIS_PARAMETERS. if the schemas file used by the majority of the PDS projects is located in the c:\ris directory on the server. and point to this file. this environment variable does not have to be set. On Mary’s node the environment variable RIS_PARAMETERS would then be set to c:\ris\mary_parms. things can still go wrong. and do a Locate Schema File operation. it will look in the location specified by RIS_PARAMETERS (in this example. If multiple schemas files are in use. For her to be able to submit batch processes to the server. one project uses a different set of databases listed in a schemas file on Mary’s node in the c:\ris directory on her node (PDS1). then this environment variable will need to be set to tell the server where to find the correct schemas file. the value of RIS_PARAMETERS will also be sent to the server. Therefore. When a RIS-enabled application needs to access the database. A copy of the parms file from Mary’s node could be copied to the c:\ris directory on the server and named mary_parms. the majority of the projects use the databases listed in the schemas file located in the c:\ris directory on the server. it looks in the parms file in the \win32app\ingr\share\ris05. However. c:\ris\mary_parms).xx directory to find out where the schemas file is. and the correct databases will not be found. All of this will work just fine provided that the value of RIS_PARAMETERS makes it to the server unaltered. If another schemas file is being used for a different set of projects. In this example. setting RIS_PARAMETERS not only affects batch jobs. PDS\mary is mapped to PDS\pds. The following factors must be considered: ● When the batch job is received by the server.System Administrator Responsibilities CHAPTER 9 Setting the RIS_PARAMETERS Environment Variable In most cases. a copy of the parms file that points to that schemas file should be copied to the server. Once RIS_PARAMETERS is set to c:\ris\mary_parms. the PDS\pds user has a user environment variable named RIS_PARAMETERS and it is set to a different value. the NT Batch account mapping on the server is consulted to see which user this job will run as. a c:\ris directory must be created on Mary’s node and the same parms file copied there and renamed to mary_parms. and the required databases will be located. then this value will be used. For example. you do not have to set these two variables. batch jobs submitted by Mary while logged in on her node as PDS\mary are mapped to PDS\pds and then redirected to CADSRV. On CADSRV. For example. as set on a client node. 2.profile. 3. When batch jobs are initiated by Mary on her node. NTBATCH must be loaded with the Interact with Desktop option (results in a collapsed DOS window at the bottom of the screen whenever a batch job is running). For example. The use of the RIS_PARAMETERS environment variable must be carefully thought out so that its value. then this value will be used. On the server node. To enable the PDS Batch Mail utility the following steps must be taken: 1. is not overwritten once it reaches the server.profile): PDS_MAIL_RECIPIENT---must be set to an address recognizable by the mail provider. then you should be able to log in as that user on the server and send mail. if you stay logged in to your mail provider all day in the same account that the batch jobs are mapped to.CHAPTER 9 PDS Project Setup variable (used for ALL users) named RIS_PARAMETERS has been set to a conflicting value. Configuring the PDS Batch Mail Utility When batch jobs are redirected to the server. PDS_MAIL_LOGIN. Setting environment variables on Windows NT is accomplished using Control Panel > System. As an example. The pds user logged in on the server and set the PDS_MAIL_RECIPIENT. and specify the same string used for the environment variable in an interactive mail session. With PDS 06. PDS_MAIL_LOGIN and PDS_MAIL_PASSWORD---must be set if the specified user does not have an active mail session for the same user account. and the correct databases will not be found.00. The pds user also verified that while logged in on the server that email can be sent to user mmartin. The following environment variables must be set (either in Control Panel or in the . while on CLIX these environment variables can be set in the user’s . and PDS_MAIL_PASSWORD environment variables as user environment variables. The server must have the capability to send mail from the username that the batch job is mapped to. 162 Modifying Batch Queues for Redirected Processing . if batch jobs are mapped to the user PDS\pds. the resulting log files are typically placed in the c:\temp directory on the server. all batch jobs are mapped to PDS\pds (*\* = PDS\pds). she will now get email that includes the batch job log file. In addition. These were all set for Mary’s email address (mmartin). a new feature was introduced that permits the log files from certain batch processes to be mailed to a specified user. The easiest way to validate this setting is to send mail to the user. PDS_MAIL_PASSWORD is required only if you mail provided requires it when you activate a mail session. the PDS_MAIL_LOGIN environment variable must be set to the profile name (as seen using Control Panel > Mail and Fax > Show Profile). the users true identity must be preserved throughout the course of the batch job.System Administrator Responsibilities CHAPTER 9 There is one problem with this setup---because all batch jobs are mapped to PDS\pds on the server. In this case. Mary will receive the email from any batch job initiated by a PDS domain user while logged in on her node. Modifying Batch Queues for Redirected Processing 163 . In the second case. Mary will receive only the email resulting from batch jobs that she initiates. For each user to receive the email from their own batch jobs. rather than: Mary’s nodePDS\* = PDS\pds Server*\* = PDS\pds You would need: Mary’s nodePDS\* = PDS\mary ServerPDS\mary = PDS\mary OR Mary’s nodePDS\mary = PDS\mary ServerPDS\mary = PDS\mary In the first case. One additional note for those using Microsoft Exchange Server as the email provider. Mary will be receiving the email when anyone submits a batch job to the server. In this manner. For example. The PDS_access file is unique for each project and is located in the project directory. If access control is not used on a set of projects. The System Administrator should make sure that users operating system logins and PDS Access Control usernames offer equivalent privileges. there will be no PDS_user_id file in the directory where the proj file is stored. and those users can be granted different access permissions for each project listed in the proj file. Information about PDS Access Control is stored in two files---the PDS_user_id file and the PDS_access file. but yet may have insufficient privileges to perform the selected function based on their operating system login. The PDS Access Control usernames do not have to coincide with the operating system logins. Users enter their PDS Access Control username at the PD_Shell main menu and then selects a project. type system in the User ID field to display the following form: 164 Access Control . In the PD Shell form. a user may be granted access to a PDS function by virtue of their PDS Access Control username. The PDS_user_id file is located in the directory where the proj file is located and contains the list of all usernames. a single set of users can be created. PDS Access Control Manager restricts access to PDS functions based on a PDS Access Control username. certain options are enabled. This section provides a brief description. Based on the username and the project selected.CHAPTER 9 PDS Project Setup Access Control The PDS Access Control Manager is fully documented in Chapter 12 of the Project Administrator (PD_Project) Reference Guide (DEA5027). you will have to delete the PDS_user_id file and start over. User Name. Access Control 165 . Press RETURN after you finish each field.System Administrator Responsibilities CHAPTER 9 The Initials. ■ If you forget the System username password. Once you do this. Click √ to set the password for the System user and create the PDS_user_id file. so they will have to be deleted and user privileges for each project will have to be set again. NOTE: Make sure to write down the System username password---there is no way to recover this password if you forget it. the user IDs in the new file may no longer match the user IDs as stored in the PDS_access file in the project directories. and Password fields are initially empty and have been completed as shown in this example. Click Enable Access Project Control. the Access Control Manager form displays. type the initials for the user to be created (in this example. and select the project name from the Projects list. At this point you must enable access control for the selected project.CHAPTER 9 PDS Project Setup After setting the password for the System user. PDS Access Control usernames must be created next. The following form displays: Click √ to enable access control for this project. PD) into the Initials field. For this example the following users will be created: User ID Initials User Name pipedes PD Piping Designer pipeadm PA Piping Administrator eqpdes ED Equipment Designer eqpadm EA Equipment Administrator In the Access Control Manager form. and press RETURN. Type 166 Access Control . A complete explanation of which options are enabled by each choice are described in the Authorization Data section of the chapter on Access Control in the Project Administrator (PD_Project) Reference Guide (DEA5027). This is because the system manager does not set the passwords for the users. select which discipline this user will need access to---in this case piping. This includes File Lock Manager (will show who a file is locked by) and reports produced by PD_Report (will show as whom the report was requested by). NOTE: The User ID will appear in a number of different places if PDS Access Control is enabled. each of the users must set their own password. and Checking/Comparison in the Piping category. a project name must be selected from the list of Projects because access controls for a user are set on a per-project basis. testprj). and press RETURN. certain functions in PD_Shell and the other PDS 3D applications are made available to that user. This is done when each the user enters his or her user ID into PD_Shell for the first time. In the Categories field. and then set the permissions for this user. After turning on these privileges. Select the project from the list (in this example. Propagation. By selecting Categories and Privilege Levels for a user. another Category can be selected from the list and additional Privileges for that category granted (the Privileges for each Access Control 167 . ■ After entering the Initials and User ID. Because this user is the Piping Designer. type the User Name. click Design. Reporting/Plotting. At this point. When you select a Category the Privilege Levels field displays.System Administrator Responsibilities CHAPTER 9 pipedes as the User ID and press RETURN---note that the Password field disappears. a file named PDS. One of the usernames created earlier must be entered. After granting all required privileges to a user. you should make certain that no one is actually running Access Control Manager when doing this! In a similar manner. A common problem is that if Access Control terminates abnormally.CHAPTER 9 PDS Project Setup Category appear the same. We suggest that after creating or revising a username you click the left bending arrow to reset the form before creating or revising the next user. The project for which Access Control was enabled will no longer appear in the list. exit out of PD_Shell. click √ to create the record in the PDS_access file which is stored in the project directory of that project. PDS will read the information for 168 Access Control . When a project is selected. preventing other users from running the Access Control Manager. all the projects using access control display (in red letters) with the list of other projects. the password must be set and verified. Note that while you are in the PDS Access Control Manager. you may want to grant the Piping Designer privileges in the Project Data and Pipe Stress Analysis categories as well. and then restart it. For example. you can create additional users and grant them privileges for the selected project. a warning displays. the PDS.lck file may be left behind. When finished. If another user attempts to run the Access Control Manager while you are running it. as shown in the Privilege Levels list). Note that privileges granted to a user can be changed by the System user at any time. Removing the PDS.lck file will remedy this situation---however. If this is the first time a user is entering PD_Shell. After doing this.lck is created in the directory where the proj file is located. . It has the same usernames and privileges as the source project. . you would remove the PDS_access file from the project directory. . and use this report as a means of copying those users and privileges to another project. To copy these users and privileges to another project. 169 Copying a Set of Users to Another Project A feature introduced in PDS 06. . and then run Load User Definition to create the users in the destination project. enter the PDS Access Control Manager as the System user.rpt file from the source project to the destination project. PDS will then make certain options available and grey other options out. To start this process. Access Control 169 . Copying a Set of Users to Another Project . Click the project having the access controls in place. .rpt stored in the project directory for that project. . . . . Click √ to create a report named access. enable access control for that project. Copy the access. and then click Create Report at the lower right corner of the Access Control Manager form. . . . The PDS_access file is created in the destination project. . and perform the Disable Access Control function while running the Access Control Manager as the system manager.00 is the ability to report on the set of users for one project. . To remove a project from access control.System Administrator Responsibilities CHAPTER 9 that user from the PDS_access list in that project. . . . . . . . . NTBACKUP or CPIO Backup of Database Files RIS Backup of Database . . . Backups of the RDBMS data associated with a PDS project can be created using three methods: 1. . PDS Project Archive to Back Up Project Data . . . The advantages and disadvantages of each method will be described. . . . . . . 2. Full versus Incremental Backups . . . . . . Using NTBACKUP (Windows NT) or CPIO (CLIX) to copy the database files to tape. . . 2. . . . . . Using PDS Archive to copy the project files and their associated database information directly to tape (CLIX-only) or to a directory (Windows NT or CLIX). NTBACKUP or CPIO Backup of Project Data . . . . . . . . . Using NTBACKUP (Windows NT) or CPIO (CLIX) to copy the project files to tape. . . 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Database Vendor Backup of Database . . . . . . . . . . . . . . . PDS Project Archive to Back Up Database . . . . . . . . . . . . . . Which Backup Methods Should I Use? . . . . . . . . . . . . . . . . . . . Using PDS Archive to copy the project files and their associated database information directly to tape (CLIX only) or to a directory (Windows NT or CLIX). . . . . . . . . .CHAPTER 9 PDS Project Setup Creating Backups and Maintaining a Backup Schedule Backups of the PDS project files can be created using two methods: 1. . . . . . A complete description of PDS Project Archive can be found in the PDS Project Administrator (PD_Project) Reference Guide (DEA5027). . 170 178 179 179 180 180 181 181 PDS Project Archive to Back Up Project Data PDS Project Archive creates a complete archive of a project that can include the following information: 2D and 3D project files (models and drawings) 2D and 3D reference data (libraries and seed data) 3D interference data 3D reports DesignReview data Isometrics Associated database data 170 Creating Backups and Maintaining a Backup Schedule . . . . . . . . . . . . Using RIS or the database-vendor provided backup utilities to copy the database information directly to tape or to disk. . . . . . . . . . . . Interactive project archival results in a project archive being created immediately. no archive is actually performed. PDS give you the option of archiving to disk first and then copying the files to tape. As an example. and you may find it faster to archive to disk and then copy the archive to tape using CPIO. an interactive project archival can be done to disk on the local node or on a remote node. Instead. Because PDS Archive uses risunload to automatically extract information from the database. so make sure that the account mapping for the user initiating the archive specifies a user who has access to the project files as well as the destination directory for the archive. When you archive to tape. Scheduled project archive in Windows NT also creates an AT scheduler job---in order to submit these jobs you must be logged in on the machine as a member of the local administrators group (if the domain user is a member of the local administrators group. the Scheduled Project Archive form has been completed as shown in the following figure: Creating Backups and Maintaining a Backup Schedule 171 . an interactive project archival can be done to disk on the local node or on a remote node. the information in the models and the corresponding information from the database is backed up at the same time. In a CLIX environment. In addition. However. Procedures: PDS Project Archival is described in the Project Administrator (PD_Project) Reference Guide (DEA5027). All information and files recorded in the database must exist. Interactive and Scheduled project archivals require a batch job.System Administrator Responsibilities CHAPTER 9 The PDS Project Archive utility provides you with the option to archive all of this data or just selected information. a set of files are produced that will cause the project to be archived at specified intervals. This option is faster than archiving directly to tape. this process can be slow (due to communication with the tape drive). In a Windows NT environment. an archive can be made directly to tape. Disadvantages: The PDS project archive can be quite large depending on the size of your project. When Scheduled Project Archive is run. this will suffice). Additional tips are provided in the PD_Project README file. Advantages: The PDS project archive is particularly useful if a single model or a single reference library needs to be retrieved. This causes the time interval gadgets to appear as shown in the following figure: 172 Creating Backups and Maintaining a Backup Schedule . select Backup on Hard Disk and specify a directory on the server CADSRV (c:\archives\testprj. In the Project Archival Options form. select Project Data. in this example).CHAPTER 9 PDS Project Setup Figure 9-1 Archival Creation/Revision In the next form. continue selecting the parts of the project you want to archive.System Administrator Responsibilities CHAPTER 9 Rather than setting the archive time and interval at this point. a form displays that allows you to select the models you want to archive: Creating Backups and Maintaining a Backup Schedule 173 . When Model Data is selected. 11pm each night). In this example. When you select Drawing Data a form similar to that for Model Data appears. After you have selected any additional parts of the 3D project to archive. the Base Node and Base Path are validated.cmd testprj testprj_2 174 Creating Backups and Maintaining a Backup Schedule .CHAPTER 9 PDS Project Setup After making your choice. You will now find three files located in the directory specified in the Archival Creation/Revision form (see figure 9-1 on page 172): archive_1. the Base Node is the server (CADSRV) and a valid path has been entered (c:\archives\temp). After setting the archival time (in this example. click √ to return to the Project Archival Options form. If you make a mistake entering the time. click √ on the Project Archival Options form to create the scheduled archival files and AT scheduler entry. After selecting all needed 2D archival options. Every 2D archival option except Project Data brings up an additional form where either all of the specified data or a subset can be selected. set the archival time and frequency as the last step. The use of these options is described in the Project Administrator (PD_Project) Reference Guide (DEA5027). When you select 2D Project the following form displays: You must type the Base Node and Base Path before you make any other selections. When you select the first 2D archival option. you can reset the form by simply checking and unchecking an archival category. click √ to return to the Project Archival Options form. cmd pdsperl -S Which indicates that the scheduled archive will run at 11pm every night. line whose purpose is to submit a batch job to the PDarchival queue.cmd file can be examined with a text editor: $ENV{’IFC_PROD’} = ’PDS’. system ’echo pdsperl -S pdsqsub. At this time. In this example. $ENV{’PROJ_ADDR’} = ’cadsrv’. You can see if the AT scheduler is running and if any AT jobs are currently scheduled by opening a DOS window and typing at. and this file can be examined with a text editor: 2D_LOG ’pds1’ ’c:\temp\’ ’testprj. Scheduled project archival in a Windows NT environment uses the AT scheduler as well as batch services. The file that specifies the archive options is named c:\archives\testprj and is stored on node PDS1. $ENV{’PROJ_FILE’} = ’c:\projfile\\’. The archive_1.arl and will be found on node PDS1. the complete line shown in the output of the at command looks like this: 1 Each M T W TH F S Su 11:00 PM c:\archives\archive_1.cmd 4 pdarch. The file testprj is a binary file and cannot be examined with a text editor. and 4).cmd There will be additional information in front of this that indicates when the job is scheduled to be run.System Administrator Responsibilities CHAPTER 9 An entry is also created in the AT scheduler. You will get a warning if the schedule service is not running.arc c:\archives\testprj PDS1 1 | qsub -eo -o PDS1:c:\temp\testprj. The log file will be named c:\temp\testprj. you should see a line in the output of the AT command that looks like this: pdsperl -S c:\archives\archive_1.arc’ 2D_BASEDIR ’cadsrv’ ’c:\archives\temp\’ 2D_IMPORT 2D_PROJ pds2d T Creating Backups and Maintaining a Backup Schedule 175 .cmd will be run using the PDSPERL shell. It provides an automated method for running a command at a specified.. The system ’echo. This file can be interpreted as follows: The project name is testprj and the proj file is on CADSRV in the directory c:\projfile (determined from lines 2.. The AT scheduler serves the same purpose as CRON on CLIX.arl -r arc_testprj -x -q PDarchival ’.exe testprj. The file testprj_2 specifies the archive options for the 2D project.. Another utility for managing jobs scheduled using AT is the winat utility that is delivered as part of the Windows NT Resource Kit. repeatable interval. the file archive_1. $ENV{’PROJ_NO’} = ’testprj’. At this point. 3. the configuration of the schedule service and the NT Batch account mapping must be checked. the batch job will not be initiated. When the AT job starts at 11pm. it runs as PDS1\system user. account mapping is set as PDS\* = PDS\pds When an AT job is initiated. The options to note at this point are the location of the log file (c:\temp\testprj. turn on This Account in the bottom half of the Schedule Service dialog box. The batch job performs the archive and produces the log files. Because this user is not in the PDS domain. An example is provided below: Schedule service runs as System account on node PDS1 On node PDS1.cmd file. it in turn runs the archive_1. This file sets environment variables and initiates a batch job. After making this change. the schedule service must be stopped and restarted. The default username associated with the schedule service is the System Account.arc on node PDS1) and the location of the 2D project archive working directory (c:\archives\temp on node CADSRV).CHAPTER 9 PDS Project Setup This file can contain many other options. One option would be to use a *\* = PDS\pds account mapping in NTBATCH so that the system account will map to a PDS domain username. This can be seen by going into Control Panel > Services and double-clicking on the Schedule service. Jobs run from the AT scheduler are associated with a username which must have a valid account mapping established in Batch Manager. Another option would be to change the schedule service to use a PDS domain username that has access to the project files and is in the administrators group on the local node. You must enter and verify the password for this user. and a username should be specified. To change the username that the schedule service uses. For this to complete successfully. Note that if the 176 Creating Backups and Maintaining a Backup Schedule . This account may not map correctly to a valid user in batch manager. The Startup Type should be set to Automatic. system ’echo pdsperl -S pdsqsub. Verify that the same username is specified for the schedule service and that equivalent NT Batch account mapping has been specified on the server. the server may not have a graphics console on it and it may not be capable of running PDS interactively. The file has been modified to reflect the fact that the testprj file is on a different node in the same directory. Modify the archive_1.exe testprj. the scheduled project archive can be created on a client node.cmd 4 pdarch. In this example. Changes from the original are bold: $ENV{’IFC_PROD’} = ’PDS’. Creating Backups and Maintaining a Backup Schedule 177 . Frequently. the scheduled project archive will work because this user meets the PDS\* = PDS\pds account mapping in NTBATCH and because this user has access to all project files on the server. In this case. Make sure the scheduled project archive runs successfully on the node where it was created. you must change the password in this form as well. Copy the files from the client to the server (in this example. such that the scheduled project archive cannot be created on the server. $ENV{’PROJ_NO’} = ’testprj’. $ENV{’PROJ_FILE’} = ’c:\projfile\\’. 3. and the AT job can be created on the server to run the copied files. 4. Checklist for Copying Scheduled Project Archive Files to Another Node: 1. it is necessary to run the batch job on the server rather than on a client machine. In this example. 2.arl -r arc_testprj -x -q PDarchival ’. and the batch process that will create the archive of this project is run on a client node (PDS1 in this example). the schedule service has been set to run using the domain administrator username (PDS\administrator). The domain administrator (PDS\administrator) is automatically added into the local administrators group when the client node joins the domain. from c:\archives on PDS1 to c:\archives on CADSRV). but on the server node rather than the client node. $ENV{’PROJ_ADDR’} = ’cadsrv’. This solves a number of problems: 1. The log file will still be found in the c:\temp directory.System Administrator Responsibilities CHAPTER 9 password for this user is changed.cmd file to reflect the new location. However.arc c:\archives\testprj PDS1 1 | qsub -eo o PDS1:c:\temp\testprj. 2. the files can be moved to a server. the project being archived is on the server. Because a PDS domain user has been specified for the schedule service. This provides an easy way to recover a single model or a single library as well as any associated database information. This provides insurance against users accidentally deleting a project file or if a project file becomes corrupted. This type of backup is also useful should you experience a disk failure. enter at again to verify that the job has been removed.cmd pdsperl -S To recreate this on the server. The retrieval process is typically easier as well.cmd The complete syntax for the AT command can be viewed using at /?. A good check is to compare the AT job created on the server with the one created on the client (by PDS) and make sure they agree.Su pdsperl -S c:\archives\archive_1.arc’ 2D_BASEDIR ’cadsrv’ ’c:\archives\temp’ 2D_IMPORT 2D_PROJ pds2d T The only change that has been made is to specify that the log file be put on the server rather than the client. When finished. Consider the example AT job shown earlier: 1 Each M T W TH F S Su 11:00 PM c:\archives\archive_1.CHAPTER 9 PDS Project Setup 5. Delete the AT job on the client (so that both do not run at the same time).W. Advantages: The operating system-level backup is quick and will copy all project data. Create a new AT job on the server to create the archive. The winat utility that comes with the Windows NT Resource Kit is particularly useful when creating new AT jobs. Modify the testprj_2 file to reflect the new locations.T. 178 Creating Backups and Maintaining a Backup Schedule .TH. It is suggested that you perform PDS Archives of active projects. the following would be entered in a DOS window: at 23:00 /interactive /every:M. 6.S. To remove an AT job enter: at 1 /d where 1 is the ID number of the AT job to be deleted. third party backup utilities are available which can also be used for this purpose. 7. On Windows NT. NTBACKUP or CPIO Backup of Project Data The utility provided with the operating system can be used to make a backup to tape of the entire project directory.F. Changes from the original are in bold: 2D_LOG ’cadsrv’ ’c:\temp\’ ’testprj. Retrieving a single file may be difficult (especially with CLIX cpio backups). On Windows NT. E. ■ We recommend that backups of the disk files be performed as insurance against disk failure.T.W.bat. F. for example).log. label the volume as "Full Backup of C. H" /L"c:\users\default\backup. The database information will not be captured. G. Procedures: The NTBACKUP utility can be driven from a command file. E. F. If this command were put into a file (c:\users\admin\backup. NOTE: Note that if the database is running when the backup runs. the database files will be skipped (as will any other files that are open). It is useful should you experience a disk failure. H". and put the log file in c:\users\default\backup.Su c:\users\admin\backup. How frequently this is done is left to the discretion of the System Administrator. Advantages: Making an operating system-level backup of the database files is highly recommended.F. this file could be run every morning at 3am using the following command: at 3:00 /interactive /every:M. An example job to back up all drives on the server is shown below: NTBackup Backup C: E: F: G: H: /D"Full Backup of C.TH. This provides insurance against database failure. PDS Project Archive to Back Up Database The database information is automatically backed up as needed by PDS Project Archive.S. G. all of the files associated with the database should be backed up together at a time when the database is shut down.log" This will perform a full backup of all drives. This command file can be run regularly by creating an AT job to run it.System Administrator Responsibilities CHAPTER 9 Disadvantages: If the project is spread across multiple nodes some data may be omitted. third party backup utilities are available which can also be used for this purpose.bat The NTBACKUP utility also supports incremental backups from a command line---see the Windows NT documentation for additional details. Creating Backups and Maintaining a Backup Schedule 179 . Furthermore. NTBACKUP or CPIO Backup of Database Files The utility provided with the operating system can be used to make a backup to tape of the files that comprise the database. Also. If the schema is broken. everyone’s work will return to the point in time when the backup was made. However. Database Vendor Backup of Database All database vendors supply some type of backup tool with the database system. Procedures: See NTBACKUP or CPIO Backup of Project Data on page 178.CHAPTER 9 PDS Project Setup Disadvantages: If you ever need to use it to recover the database. includes the risunload and risload utilities. This is also true for risload. The database must be shut down when its files are copied to tape. when the database is restarted it may not be synchronized with the data in the models. the database-level export can still be done. there is no reason to perform risunloads of the database (as a separate step outside of PDS archival) unless you are moving between database types. Disadvantages: To do a risunload or a risload. RIS must be functional and the schema must work (the Data Definition operation from within RIS Schema Manager must not return any errors). 180 Creating Backups and Maintaining a Backup Schedule . Also. Advantages: Speed and security---the database vendor backup utility is typically very fast and can archive the information for all databases in the system or just the data for a single PDS database. Many of these tools can be run interactively or from a command line as part of a regularly scheduled backup routine. You can do a risunload from one type of RISsupported database and risload into another. if the schema is broken and risunload cannot be used. It is not possible (or at least very difficult) to retrieve the data for a single model. Advantages: A risunload file is portable. Disadvantages: Recovers the entire database or all information for a single PDS database. which can be used to dump data out of the database or load it back in. RIS Backup of Database The Intergraph RIS client product. a risunload is not possible. Procedures: The risunload utility can be run interactively or from a command line. Full versus Incremental Backups Another consideration is that many of the database-vendor backup utilities as well as the CPIO and NTBACKUP utilities offer the ability to do incremental backups (backing up just those files that have changed since the last backup was made). If you can do a PDS Archive. If PDS archives and disk file backups are being performed on a regular basis. However. performing database dumps may not be necessary.System Administrator Responsibilities CHAPTER 9 Procedures: Each database vendor includes a backup utility with their product. and the projects should be inactive while all of these backups are being performed. Some examples are listed below: Oracle exp and imp Informix dbexport and dbimport MS SQL dump database and load database All of these utilities can be run from command lines or from batch files using AT. and how many of them can be done during the time when the system is not in use. the better. this will require that the database be shut down (because NTBACKUP will not backup open files). On a Windows NT database server. the general rule is the more of these you can afford to do. Which Backup Methods Should I Use? Regarding the backup methods described above. The backups should be organized so that all files associated with the database are backed up each night. Experimentation will be required to determine how long these procedures take to run at your site. performing these backups takes time. and an operating system-level backup of the project files and database files every night you will be able to recover from any type of system failure. Creating Backups and Maintaining a Backup Schedule 181 . a database-level dump of the database. One strategy is to do nightly PDS archives and a combination of full and incremental file backups such that each drive gets a full backup at least once a week. who then uses PDS Import Project Retrieval to import the new versions of these models. 2. creates all areas and models (even though these models may be empty). since only one version of the database and project exist. For this approach to be successful. The first approach is the safest. The second approach is more popular among existing PDS customers. Each site maintains a local copy of the project and a master is maintained at a single site. The parent site creates the project. the parent site can still extract specific models using PDS Import Project Retrieval. All sites work with a single copy of the project (at one site). and then archives the project and sends it to each of the other participants who then recover it (using PDS Inactive Project Retrieval). especially as the size of the project grows. Creating and maintaining distributed projects can be a complex undertaking. they use PDS Project Archival to archive just the models/areas they have worked on. if the participants are spread over a wide geographic region this approach may not be feasible.CHAPTER 9 PDS Project Setup Creating and Maintaining Distributed Projects When multiple sites are working on a single project. If the remote site performs a complete project archive. Even with T1-type highspeed lines. there are two basic approaches to coordinate the work between the various sites: 1. The new PDS user is encouraged to become active in the local PDS Users Group and other forums where PDS users exchange ideas and tips about how to use PDS efficiently. As team members complete their portions of the work. performs any necessary database customizations. the participating companies must all have access to high-speed communications lines so that the delays introduced by the network are as short as possible. This is sent to the parent. 182 Creating and Maintaining Distributed Projects . . . . . . . 2. . . . . . . . . . . . . . . . . . and Intergraph servers in general. . can be found at our home page http://www. . . . . . . . . . . . . A full understanding is required to exploit all the capabilities of the latest generation of Intergraph servers. . . . . . . Performance---RAID technology allows data to be striped across multiple disk drives. . Reliability---RAID technology offers protection from disk failure for user data. . . . you should understand RAID technology and how best to apply it to problems in your organization. .intergraph. . . . . . . . . . . Additional information regarding RAID. . . RAID 5 . . . . boosting performance on read operations. ● Configuring a RAID capable system for optimum database performance. . . . . . . The technology and concepts of RAID are complex. . . . . 185 187 189 190 191 183 . . . . . . ● Hardware versus software implementation. . . This appendix covers the following topics: ● I/O subsystem components. . . . . . . . . .com. . . . . . . . . . RAID technology benefits Intergraph customers in two ways: 1. . . ● Purchasing considerations. . . . . . Intergraph Supported RAID Levels RAID 0 . I/O Subsystem Components . . . . . . . . . . . . . .A A P P E N D I X RAID Configuration All current Intergraph Intel based servers include Redundant Array of Independent Disk (RAID) technology. . . . . . . . RAID 1 . . . . After reading this appendix. . . . . . . . . . . . . . . . . . . . ● Explanation of different RAID levels supported by Intergraph servers. . . . . . . . . . . . 194 195 196 197 198 . . . . . . . . . . . . . Configuring ISMP RAID for Performance and Availability 184 . . . . . . . . . . . . . . . . . Hardware Versus Software RAID Implementations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .APPENDIX A PDS Project Setup RAID 6 . . . . . . . . . . . . . . . . . . . . RAID 7 . . . . . . . . . . . ISMP 5* or 6* RAID Subsystem Description . . . . . . . . . . . . . . . Disk controller The standard for connecting disks to the controller is the Small Computer Synchronous Interface (SCSI). very few of the available drives are fast and wide.RAID Configuration APPENDIX A I/O Subsystem Components The disk subsystem consists of three logical components: disk drives. so the full capability of the SCSI channel is not used. The PCI bus offers 133MB/second peak transfer rate and will meet the industry needs for sometime to come. multiple SCSI channels are essential for high performance. and host bus adapter as shown in the following figure: Each component is a potential bottleneck for system performance. High performance controllers such as the one use in the ISMP5* or 6* series feature on-board cache and support for RAID in hardware. SCSI channels. each with a single channel. A fast and wide SCSI-2 channel has a peak bandwidth of 20MB/second. The ISMP22 server uses two PCI-based SCSI controllers. In a server. The ISMP5* or 6* uses a single EISA-based controller with five channels. The future for the peripheral expansion bus is the Intel developed Peripheral Component Interconnect (PCI) standard. The EISA bus is a 32-bit technology with a 33MB/second peak transfer rate. Using the most advanced technology and making intelligent configuration decisions maximizes the I/O throughput of a server. Peripheral expansion bus The most prevalent bus on large Intel-based servers is the Extended Industry Standard Architecture (EISA) bus. Most controllers use fast and wide SCSI-2. I/O Subsystem Components 185 . This leads to several conclusions about performance in an I/O subsystem: ● For peak performance. 186 I/O Subsystem Components . Average access time---a combination of the seek time and the time actually required to read data from the disk. Disk drive vendors usually refer to three measurements when specifying the performance of a disk drive: Average seek time---the time needed to get from one position on the disk to another. a SCSI-2 channel should not support more than four disk drives. ● Two 1GB drives can offer better performance than one 2GB drive as they have a potential transfer rate of up to about 8MB/second. drives can sustain about 4MB/second. The worst case for seek time is if the heads have to move the full radius of the platter and the platter has to rotate almost a complete revolution before the heads are positioned correctly. Intergraph servers use fast SCSI-2 disk drives. A single 2GB drive is limited to about 4MB/second. The SCSI-2 channel (fast & wide) offers a peak of 20MB/second. A disk drive consists of one or more platters which rotate at high speed and a collection of read/write heads which move over the surface of the platters.APPENDIX A PDS Project Setup Disks Despite continuing advances in density and performance. In practice. A fast SCSI-2 drive can transfer data at a theoretical peak rate of 10MB/second. Transfer rate---the rate at which data can be transferred from the drive to the controller. magnetic disk drives use technology which has changed little in the last thirty years. ● Disk drives spread across multiple channels offer better performance than the same number of drives on a single channel. some in hardware. it is necessary to explain some technical terms. Stripe width The number physical drives being used for a logical disk stripe. Some are implemented entirely in software. data is written to each subsequent drive until that drive is filled. the controller reports a write operation as complete as soon as the data is in the cache. The following table shows the capabilities of the current Intel-based Intergraph servers: IS1200 ISMP22 ISMP5* ISMP6* RAID 0 (Striping) Software Software Hardware Hardware RAID 1 (Mirroring) Software Software Hardware Hardware RAID 5 (Striping with parity) RAID 6 (Also known as RAID 10) Arrays spanning controllers Software Software Hardware Hardware Not Not Hardware Hardware supported supported Software Software Software Software Before describing the different RAID levels supported on Intergraph platforms. Then. This is different from a RAID 0 stripe because the space is used sequentially. Stripe size The smallest block of data that is written to a physical drive. and then calculate parity. Write-back cache Many modern disk controllers have several megabytes of cache on board. Onboard cache allows the controller greater freedom in organizing scheduling reads and writes to disks attached to the controller. In write-back mode. This improves write performance at the Intergraph Supported RAID Levels 187 . then the subsystem must read in data from a drive. Typically this is 4KB. and some require a combination of both. This leads to poor write performance in RAID 5 if most writes are smaller than the stripe size. Read/Modify/Write In RAID 5. In a volume set. if a write occurs which is less than the stripe size. data is written to the first drive in the set until that drive is filled. merge it with the data to be written. Volume set Windows NT supports the ability to concatenate space on drives to form a single large logical drive.RAID Configuration APPENDIX A Intergraph Supported RAID Levels Intergraph servers offer a variety of RAID and associated capabilities. Usually the controller allows a system administrator to control the way in which the cache is used. ■ Write through-cache Opposite of write-back. 188 Intergraph Supported RAID Levels . the controller does not report a write as complete until it is written to the disk drives. When running in a write-through mode. resulting in damage to the file system. This reduces read/write performance by forcing the controller to suspend an operation while it satisfies the write request.APPENDIX A PDS Project Setup expense of reliability. If power fails or the system crashes. NOTE: Systems using write-back cache policy should be protected by an Uninterruptible Power Supply (UPS) which reduces the chance of serious data loss. then data in the cache is lost. In RAID 0. data is spread across multiple physical disks offering faster read/write performance than a single drive.RAID Configuration APPENDIX A RAID 0 RAID 0 is the simplest type of RAID to implement. The benefit of RAID 0 is performance. RAID 0 189 . The RAID 0 diagram shows how data would be distributed in a three-disk stripe. RAID 0 is only suited for environments where system uptime is unimportant. If a single drive has a Mean Time Between Failure (MTBF) of 50.000 hours.666 hours. then the MTBF for data on the stripe is: For a three-disk stripe. A three-disk stripe has approximately 3 times the bandwidth of a single drive because read/write operations to the stripe can occur in parallel. Because of the effect on reliability. It is also known as striping. the MTBF would be 12. the prime disadvantage is reliability. This RAID 0 limitation makes it unsuitable for most applications requiring high-availability for the data. Because the chance of both drives failing simultaneously is small. the chance of losing data to a disk failure is small. The disadvantage of RAID 1 is cost.APPENDIX A PDS Project Setup RAID 1 RAID 1 is often referred to as disk mirroring. Because write performance is governed by the performance of a single disk in RAID 1. In RAID 1. Read operations are improved because data can be read from either disk. physical disk drives are grouped in pairs Any data written to the first drive in the pair is also written to the second drive---which halves the amount of space available for data. it offers no benefits for write operations. 190 RAID 1 . Every MB of disk storage requires 2MB of actual disk space. The figure below illustrates how RAID 5 organizes data on a three-disk stripe. merged with the new data. Read performance of a RAID 5 stripe is similar to RAID 0. the performance is degraded when compared to RAID 0 for two reasons: 1.RAID Configuration APPENDIX A RAID 5 RAID 5 combines the reliability of RAID 1 with many of the performance benefits of RAID 0. then block 1 can be reconstructed from the block 2 and the parity information for block 1&2. The rule is that a data block and its corresponding parity information are never written to the same physical device. If the data being written involves modifying a block on any of the disks. then that block has to be read in. the blocks can be read simultaneously. In write operations. and rewritten to the drive along with its newly calculated parity information. RAID 5 allows each disk to satisfy requests simultaneously. 2. ■ Consider the following set of requests: Application 1 requests block 1 Application 2 requests block 2 Application 3 requests block 4 Because each block is on a different physical device. More data is written. if drive 1 fails. block 3 would be reconstructed from block 4 and the parity for blocks 3&4. In RAID 5. RAID 5 191 . Similarly. In the example. The parity data in combination with data on undamaged drives allows reconstruction of data on a failed drive. NOTE: RAID 5 is widely regarded as the best RAID level for database and file sharing operations in a multi-user environment. a parity block is calculated. The parity block on drive 1 can be reconstructed from blocks 5 and 6. The controller (for systems using hardware RAID) or the operating system (for systems using software RAID) must calculate the parity block and write the data and parity block. APPENDIX A PDS Project Setup Write performance of a RAID5 stripe depends on the size of the average write. The overhead is: For a RAID 5 stripe on three 1GB drives. There are three scenarios for a write operation: 1. The space efficiency of a RAID 5 stripe increases as more physical drives are added to the stripe. a RAID 5 stripe has poor write characteristics. Some of the overhead can be reduced by putting a large cache on the controller. Under ideal conditions. allowing the controller more freedom in scheduling read and write operations. 192 RAID 5 . results in operations to: — Read parity block — Calculate new parity block — Write data block — Write parity block 3. Even with a large cache. a RAID5 stripe is never as good as RAID 0 for performance. results in operations to: — Read block to be modified — Read associated parity block — Merge new data with old data — Calculate new parity block — Write data block — Write parity block The mix of these three types of operations governs write performance. results in operations to: — Calculate parity block — Write data blocks — Write parity block 2. This also improves performance. Obviously RAID 5 requires more disk space than RAID 0 (but less than RAID 1). the usable space is: which leaves 2GB of usable space. Operation replaces a block of data in a stripe. Operation updates a block of data in a stripe. Operation replaces all the data blocks in a stripe. Although RAID 5 continues to function with a failed drive. the performance for both read and write operations is reduced.RAID Configuration APPENDIX A The mechanism used to recover data in a RAID 5 array is simple. then RAID 5 is forced to synchronize all the drives to read a missing block because all the data is required. then it can be re-created from the using XOR as follows: Data2 = ((ECC xor Data1) xor Data3) 0 1 0 1 1 0 1 1 Data 1 1 1 1 1 0 1 0 0 1 0 1 0 1 1 1 1 0 1 1 1 0 0 1 0 Error Correction Code ECC xor Data 1 Data 3 1 1 0 1 1 1 0 1 Result=Data2 If a drive fails. RAID 5 193 . consider the following example: 0 1 0 1 1 0 1 1 Data 1 1 1 0 1 1 1 0 1 Data 2 1 0 0 0 0 1 1 0 0 1 1 1 0 0 1 0 Intermediate XOR Data 3 1 1 1 1 0 1 0 0 Error Correction Code If a drive fails so that Data 2 is no longer available. RAID 6 is the best combination of reliability and performance. 194 RAID 6 . it halves the disk capacity of a server and doubles its cost. Unfortunately.APPENDIX A PDS Project Setup RAID 6 RAID 6 combines levels 0 and 1 offering the performance of RAID 0 and the reliability of RAID 1. a RAID 0 stripe is mirrored to a second stripe on a duplicate set of disks. Rather than grouping drives as pairs. RAID 6 is sometimes referred to as RAID 10. The following table covers the advantages and disadvantages of the different RAID levels on Intergraph servers RAID Level Advantages Disadvantages RAID 0 Read/Write performance Reliability RAID 1 Read performance and data reliability $/MB cost is doubled RAID 5 Read performance and data reliability $/MB cost is increased. and write performance is reduced RAID 6 Read/Write performance $/MB cost is doubled RAID 7 195 .RAID Configuration APPENDIX A RAID 7 In the past. Intergraph servers have had to treat each disk individually. This is often referred to as RAID 7. The advantages of this type of solution are: ● Can be fitted to any machine which supports SCSI devices. the stripe on the first controller can be mirrored to the second controller. In installations supporting many drives. it cannot exceed the bandwidth of that SCSI channel. A hardware-based RAID subsystem overcomes these problems: ● Performance: Any calculation of parity data or duplication of disk writes happens at the controller.APPENDIX A PDS Project Setup Hardware Versus Software RAID Implementations The Windows NT operating system implements RAID technology in software. Many vendors sell solutions in which several drives and a controller are combined. If a drive containing part of the operating system fails. SCSI-SCSI solutions do not scale well for performance. the system is down until the controller can be replaced. If a system is fitted with two controllers. The problem with SCSI-SCSI solutions is scalability. The disadvantages of a software implementation are: ● Performance: In a software implementation. the controller reconstructs the operating system at boot time allowing the machine to operate. ● Reliability: It is more difficult to protect the drive containing the operating system from drive failure because the operating system must be able to boot before the protection is available. If a hardware-based RAID controller fails completely. This frees the system CPU(s) to handle its normal tasks. ● Reliability: The hardware-based RAID subsystem offers protection of data as the system boots. The whole package appears to the system as a SCSI device. then a RAID 0 stripe can be created on each controller. Using the software capabilities. ● Looks like a single SCSI device and requires no device driver on the host. Because the device connects through a single SCSI channel. SCSI-SCSI solutions are useful for small RAID arrays where the SCSI channel bandwidth is not an issue. Mirroring across controllers removes the controller as a single point of failure. any extra work such as calculating parity in RAID 5 is the job of the main CPU. This makes RAID with all its reliability advantages available on all platforms that support Windows NT. A combination of Windows NT and a hardware-based RAID subsystem offer the best of both worlds. Using a RAID host bus adapter is not the only hardware RAID solution. 196 Hardware Versus Software RAID Implementations . ● Five fast and wide SCSI II channels supporting four devices/channel.1.6. the physical disks must be grouped into packs.RAID Configuration APPENDIX A ISMP 5* or 6* RAID Subsystem Description The only Intergraph servers with hardware-based RAID subsystems are the ISMP 5* and 6* families. ● Intel I960 RISC processor to handle all calculations and to optimize disk access. Peak transfer 33MB/second. This is also referred to as System Drive in some documentation. A logical disk is made up of parts of several physical disks.7 in hardware. several terms are used which require some explanations: Logical disk the disk drive the operating system sees. When discussing the configuration of the RAID controller. System pack Before logical drives are created. ● Driver support for Windows NT and SCO UNIX. ● 4-16MB cache. The controller included in these systems has the following features: ● Bus mastering EISA interface. ● Supports RAID 0.5. ISMP 5* or 6* RAID Subsystem Description 197 . ● Separate dedicated SCSI processor for each channel. APPENDIX A PDS Project Setup Configuring ISMP RAID for Performance and Availability Configuring a system with RAID technology involves balancing several factors: ● Performance ● Disk capacity ● Reliability The first rule for configuring a server is that the more physical disks you have, the more flexibility and potential performance is available. For example, Intergraph currently offers versions of the ISMP 5* or 6* server equipped with 1GB, 2GB, or 4GB drives. The 4GB system is the best buy because it offers a better $/MB cost when compared to the smaller drives. This cost benefit is offset by the performance benefits of more physical drives. If the system has sufficient disk space to allow all data to be stored on RAID 6 drives, then do so as this combines maximum performance and reliability. To implement RAID 6 a minimum of six disk drives are required. If six drives are available, they can be divided between RAID 5 and RAID 6 storage (RAID 5 for the operating system, PDS software, and PDS project files; and RAID 6 for the database software and the database files). This configuration is popular with many PDS customers. Before configuring the RAID subsystem, a system administrator must break up the various functions of the server and its applications into those which primarily write and those which are primarily read. Operation/Use Read/Wri Comments te Bias RAID levels Database system Read tables Once the database has RAID been created, changes 0,5,6 to the database tables are rare. Database data tables Read Mostly read-oriented RAID unless database has a 0,5,6 lot of write activity. Database indexes Read Mostly read-oriented RAID unless database has a 0,5,6 lot of write activity. 198 Configuring ISMP RAID for Performance and Availability RAID Configuration APPENDIX A Database transaction logs Write Databases keep a log RAID 0,1,6,7 of all operations on the database. This allows rapid recovery after system failure. Reference files Read Reference files RAID attached to a 0,5,6 MicroStation drawing are read-only. Shared applications Read Applications shared on client seats are read-only. RAID 0,5,6 For example, a database server has two conflicting I/O requirements: 1. High performance read access for tables and indexes. 2. High performance write access for the transaction log. The database transaction log is critical to the performance and maintenance of the system. If the system crashes, the transaction log is used to ensure the integrity of the data. This is only possible if the transaction log is protected from system failure. Protecting the transaction log has several implications: ● The transaction log should be on a device where caching is disabled. The transaction log relies on the operating system to report the completion of a write operation. If caching is enabled, then the controller reports a write as complete as soon as data is in cache. ● If possible, the transaction log should be on a device protected fully by RAID. Unfortunately, RAID 5 is a bad choice for this because RAID 5 write performance without using the controller cache is very limited. ● For optimal system integrity, the system should be protected by a UPS. The following examples show recommended setups for ISMP5* or 6* configurations from 2 to 8 drives: Drives Packs 2 System drive 1 System drive 2 Two RAID 7 packs, WB each with one drive. RAID 7 WT System drive 3 System drive 4 Configuring ISMP RAID for Performance and Availability 199 APPENDIX A PDS Project Setup RAID 1 WT 500MB 3 One pack RAID 5 WB 1.5GB 4 One pack RAID 5 RAID 1 WB 2GB WT 500MB 5 Pack of three Pack of two RAID 5 RAID 1 WB 2GB WT 500MB RAID 1 WB 500MB 6 Pack of four Pack of two RAID 5 WB 1.5GB RAID 1 WT 500MB RAID 1 WB 500MB 7 Pack of RAID 5 RAID 5 RAID 1 five Pack WB 2GB WB 2GB WT of two 500MB RAID 1 WB 500MB 8 Pack of RAID 5 six Pack WB of two 2.5GB RAID 1 WB 500MB RAID 5 WB 1.5GB RAID 5 WB 2.5GB RAID 1 WT 500MB The principles used to define these configurations can be generalized as follows: ● Two physical drives is very limiting. Assuming you need more than 1GB of real space and reliability is important, then RAID 7 is the only possibility. ● The database log should go on a logical drive with write-through cache enabled. These drives are indicated by bold type in the table. ● If possible, have at least two system packs. This prevents the writethrough cached drives from badly affecting the performance of the rest of the system. ● Many older DOS and Windows NT applications cannot install on drives larger than 2GB. In many situations, a C drive size of 2GB or smaller is advisable. The configurations recommended in the previous table show the importance of having many drives. Try to remember this when ordering servers from any vendor. If performance is important, you should order as many drives as you can afford. 200 Configuring ISMP RAID for Performance and Availability RAID Configuration APPENDIX A For a system which is used for file sharing of primarily read-only data, the recommended configurations are simpler: # System Drives packs System drive 1 System drive 2 System drive 3 System drive 4 2 Two RAID 7 packs, WB each with one drive. RAID 7 WB 3 Pack of three RAID 5 RAID 5 WB 1GB WB 1GB 4 Pack of four RAID 5 RAID 5 RAID 5 WB 1GB WB 1GB WB 1GB 5 Pack of five RAID 5 RAID 5 RAID 5 RAID 5 WB 1GB WB 1GB WB 1GB WB 1GB 6 Pack of six RAID 5 WB 1.25GB RAID 5 WB 1.25GB RAID 5 WB 1.25GB RAID 5 WB 1.25GB 7 Pack of seven RAID 5 WB 1.5GB RAID 5 WB 1.5GB RAID 5 WB 1.5GB RAID 5 WB 1.5GB 8 Pack of eight RAID 5 WB 1.75GB RAID 5 WB 1.75GB RAID 5 WB 1.75GB RAID 5 WB 1.75GB These are general guidelines. Each installation is likely to have unique requirements. If possible, design a benchmark which reflects typical usage for your server. Use the benchmark to try a variety of different configurations before putting the server into production. Configuring ISMP RAID for Performance and Availability 201 APPENDIX A PDS Project Setup 202 Configuring ISMP RAID for Performance and Availability A P P E N D I X B DiskShare Notes This appendix has been prepared to help you understand how DiskShare (NFS Server for Windows NT) works. It is organized as a set of exercises. The DiskShare version used in these exercises is 02.01.01.24, however, the principles discussed are the same if newer versions of DiskShare are used. Be sure to refer to the files that come with the DiskShare application. 203 and then click Add. userid. and create a user pdsuser. If you change the properties of a Windows NT user (such as group memberships. Click 204 Exercise 1 . Copy this file to pdusrgrp. click Mapping Cache. Double-click NFS Administrator. Enter the CLIX username. In this example the userid is 76. In this example. A passwd file must be created in the winnt\system32\drivers\etc directory. you need to refresh the DiskShare cache so that these new properties are associated with the CLIX user. and the permissions should be everyone\full control. and change the permissions to pdsuser/full control and users/read (RX). The single CLIX user displays under Network Users. It contains the following insertion string(s): \Device\NFSD. You may have more than one from which to select. through Windows NT User Manager) for which a CLIX/Windows NT mapping had been established. the owner should be administrator. In this case. and log back in as administrator.txt. and groupid into the Password File Editor dialog box. click pdsuser from the local domain. Log off. After you have created the passwd file on Windows NT. the CLIX user will be pdsclix and the CLIX group will be users. and click Mappings. In the NFS Administrator dialog box. The lower right-hand side of the dialog box displays the list of Windows NT users for the currently selected domain. and the groupid is 500. The easiest (and preferred) way to do this is to use the Password File Editor in the DiskShare Server program group. 6. ■ 2. No other permissions should be granted on this file. Log in as administrator in the local domain (the name of your node).APPENDIX B PDS Project Setup Exercise 1 1. it reads pdsclix(76).txt. NOTE: This user must not be a member of the administrators group. Leave the password fields blank. If you do not map all users in the CLIX passwd file to Windows NT users. Another option for creating the passwd file is to copy the CLIX /etc/passwd file into the winnt\system32\drivers\etc directory. and then click OK to exit. The user pdsuser should be a member of the users group in the local domain. and then log back in as pdsuser. Check the permissions on c:\temp. For these exercises. you will get errors in your event log: The description for Event ID ( 16 ) in Source (NFSD ) could not be found. If you do this. Use Permissions to verify that pdsuser has full control and is the owner of the file. Click the single CLIX user. Click OK on the User Mappings dialog box. 4. The preferred method is to use the Password File Editor. 5. 3. you must edit the file and remove the usernames for which mappings will not be established. Log off. start the DiskShare Server. This file establishes mappings between CLIX and Windows NT users. In c:\temp. use Notepad to create a file named pdsuser. 1 pdsclix users (size) (date) (time) pdsuser. Exit su. Note that by default.txt file was granted read for the group users. the Windows NT node is named pdspc: mount -f NFS. Verify that accessing the file from CLIX did not alter the owner or permissions.txt with a text editor. and mount the Windows NT machine. Note that if your C drive is FAT. You can change the update frequency if required. remember to add a CTRL V CTRL M (DOS carriage return/line feed character) at the end of each line. Click OK on the Mapping Cache dialog box. and as user pdsclix type ls -l /mnt/temp to view the permissions on the files that were created earlier. For now. or if everyone has full control on the files in your C directory. The permissions should look like this: -rwx-----. and add a new line. If you are using vi. ■ 8. Log in on your CLIX machine as pdsclix. Then. From File Manager. Answers to common questions are documented in the answers. open the file pdsuser.txt The CLIX user pdsclix has full permissions on both files located on the Windows NT server node. accept the default Global Permission of read/write. click OK on the NFS Administrator dialog box to exit.wri file also delivered with DiskShare.DiskShare Notes APPENDIX B Refresh to update the DiskShare cache. Why do the files have the same permissions when viewed on CLIX? This is explained in the next exercise.wri that is delivered with the DiskShare product. 10. Although the two files have the same owner (on Windows NT). become su.1 pdsclix users (size) (date) (time) pdusrgrp.soft pdspc:\c /mnt 9. the pdusrgrp. Exercise 1 205 . an unmapped user could mount your drive and accidentally delete important system files---there is nothing to stop them. On the CLIX client. Open the file from Windows NT to view the text added on CLIX. NOTE: The topic of establishing security for your shared directories is discussed in great detail in the file dsperms.txt -rwx-----. make sure that your C drive is shared through NFS. the cache is updated only once each day. In this example. 7. ■ 2. Activate DiskShare Server.txt -rwxr-x--. From CLIX.txt Establishing the group mapping on Windows NT has assigned the correct group permissions. They should now look like this: -rwx-----.APPENDIX B PDS Project Setup Exercise 2 1. 3. and then Groups.txt.1 pdsclix users (size) (date) (time) pdusrgrp. and create a file winnt\system32\drivers\etc\group. Then click Add. and exit. In this file put a single line of the format: users::500: Where the group name (users) and group id (500) match that of the CLIX user.1 pdsclix users (size) (date) (time) pdsuser. 206 Exercise 2 . as viewed on CLIX.txt and pdusrgrp. Mappings. Select the single CLIX group (users) and the users group from the local domain. key in ls -l on /mnt/temp to view the permissions on pdsuser. Log back in as the administrator user. Double-click NFS Administrator. Click OK on the Group and User Mapping dialog boxes. NOTE: DiskShare version 3 includes a group file editor for creating and revising this file. 4.txt. From CLIX. They should look like this: -rw-rw-r-. From CLIX. key in chmod u+rwx /mnt/temp/clix. while logged in as user pdsclix. Key in ls -l on /mnt/temp and examine the permissions on the file clix. 3. as user pdsclix. From Windows NT. From Windows NT. The Windows NT user pdsuser now has full control.1 pdsclix users (size) (date) (time) clix. look at the owner of the file created from CLIX---it should be pdsuser.txt. Exercise 3 207 . create a new file in the mounted file system: cat > /mnt/temp/clix. The Windows NT user pdsuser and the Windows NT group users both have special access (Windows NT permission RWD equates to CLIX permission rw-) and everyone has read-only special access (Windows NT permission R equates to CLIX permission r--).txt 2. view the permissions on this file again.txt These are the permissions that would be assigned to a file created in the identical manner on the local disk. Examine the permissions.DiskShare Notes APPENDIX B Exercise 3 1. By editing certain entries in the registry. and click Security > Owner from the menu. Log in to Windows NT as the user pdsuser. ■ 3. While logged in as a user who is a member of the administrators group. Start File Manager. the behavior of DiskShare could be changed in this particular situation. 2.1 pdsclix users (size) (date) (time) admin. take ownership). he can take ownership (using Security > Owner.txt This file is not accessible from CLIX.wri) and should be attempted only by knowledgeable users. Examine this file from CLIX. The details are explained in the answers.txt 4.wri file delivered with DiskShare. but since pdsuser was granted full control. 208 Exercise 4 . The file should look like: ---------. It shows that administrator is the owner. create a file in c:\temp (in this case admin.APPENDIX B PDS Project Setup Exercise 4 1. and then look at the file from CLIX---it should look like: -rwxr-x--.txt). Examine the owner. and note that even though you created the file as a specified Windows NT user.1 root root (size) (date) (time) admin. the owner is administrator. Change the file permissions so that pdsuser has full control and users has read. Discussions of these modifications are outside the scope of this appendix (although they are discussed in answers. Windows NT always assigns administrator as the owner of a file if the user who created the file is a member of the administrators group. Changing the ownership from Windows NT changed how the file is seen on CLIX. Do this. NOTE: Files that are created or owned by a user who is in the administrators group on Windows NT will not be accessible from CLIX regardless of any mappings that have been established. On Windows NT. Exercise 5 209 . Add everyone\read to the file. From CLIX the files should look like: -rwxr-x--.DiskShare Notes APPENDIX B Exercise 5 Look at an example of a Windows NT file delivered by the PDS software that a CLIX user needs to access as well. or if permissions on Windows NT have been adjusted. and take ownership of the pdiso\seed directory and all its files. 2. and the permissions on these files will probably be: Everyone/RX Administrators/full control System/full control When viewed from CLIX a file in this directory looks like: -rwxrwxr-x 1 root root (size) (date) (time) ISOC.SED They are now usable on CLIX by either the pdsclix user or a user in the users group. the owner of these files is administrator. This assumes the same user/group mappings in effect as described previously. you can add administrator/full control to the file and again view the file permissions on CLIX---they should be unchanged. 3. Log in as pdsuser on Windows NT. while logged in as administrator. Verify that the permissions on the pdiso\seed dir are pdsuser\full control and users\rx.1 pdsclix users (size) (date) (time) ISOC. In this case.SED The permissions may be different if any NFS user mappings have been done. you want the files to be accessible to Windows NT PDS user pdsuser and to CLIX PDS user pdsclix. As long as the file is owned by pdsuser you will be OK. An example is one of the PD ISO seed files located in win32app\ingr\pdiso\seed.SED 4. and on CLIX it should now look like this: -rwxr-xr-x 1 pdsclix users (size) (date) (time) ISOC. grant pdsuser full control on the pdiso\seed directory and all of its files. If you also wanted to grant everyone read access you can do this from Windows NT. 1. As a last exercise. Since the product must be loaded as an administrator user. APPENDIX B PDS Project Setup 210 Exercise 5 . . 220 211 . . . . These scripts and other utilities are at the following web address: http://www. . . . . .A P P E N D I X C Scripts to Create Project Directories These scripts create standard PDS directories and copy the delivered specs and libraries into this structure on Windows NT. .ingr. . These scripts require PERL. . . They are provided for customers to use at their own discretion. . . . . . Intergraph Corporation assumes no risks or responsibilities regarding the use of these scripts. . ■ You can download a copy of these scripts from the World Wide Web. . 212 Script to Create Project Directories on CLIX . .0) which is delivered in the pdshell/bin directory. . CAUTION: The following scripts are provided as examples and should not be used until a system manager at your site has reviewed them to ensure that they will be usable in your environment.com/iss/products/pds/support Appendix Topics Script to Create Project Directories on Windows NT . . .EXE (pdsperl. . .exe in PDS version 6. . . # # This script creates "standard" PDS directories and copies the delivered # specs and libraries into this structure. # THIS SCRIPT HAS BEEN PROVIDED AS AN EXAMPLE AND SHOULD NOT BE USED # UNTIL A SYSTEM MANAGER AT THE CUSTOMER SITE HAS REVIEWED IT TO # ENSURE THAT IT WILL BE USABLE IN A PARTICULAR ENVIRONMENT. ■ The project will require about 65MB of disk space. type (in DOS window) "perl mkpdsdir_nt.sh.sh" # # NOTE: Make sure that the directory defined for PROJDIR exists and that # the product directories are correct!! # # The project will require about 65MB # @rem = ’ @echo off perl %0. IT IS PROVIDED FOR CUSTOMER USE AT THEIR OWN # DISCRETION. # # To execute. type (in a DOS window) perl mkpdsdir_nt. Requires PERL. # # INTERGRAPH CORPORATION ASSUMES NO RISKS OR RESPONSIBILITIES REGARDING # THE USE OF THIS FILE.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl ’. but the one # delivered in pdshell/bin seems to work OK. # # Define Project Directory .SET THIS EACH TIME!! # $PROJDIR = ’h:\proj2’.APPENDIX C PDS Project Setup Script to Create Project Directories on Windows NT Type the following lines into a file named mkpdsdir_nt. To execute this script.EXE. # 212 Script to Create Project Directories on Windows NT .sh NOTE: Make sure that the directory defined for PROJDIR exists and that the product directories are correct. mkdir ($newdir. mkdir ($newdir."\\design_review". mkdir ($newdir."\\dwg\\641". mkdir ($newdir. mkdir ($newdir. $PDDRAW = ’C:\win32app\ingr\pddraw’. 770). mkdir ($newdir.. mkdir ($newdir. 770). 770). $newdir = $PROJDIR. $newdir = $PROJDIR."\\dwg\\661". $PDEQP = ’C:\win32app\ingr\pdeqp’. 770). mkdir ($newdir. $newdir = $PROJDIR. $newdir = $PROJDIR. mkdir ($newdir. $newdir = $PROJDIR. mkdir ($newdir."\\dwg\\665"."\\2d\\pds2d". mkdir ($newdir.. $newdir = $PROJDIR. Script to Create Project Directories on Windows NT 213 . $newdir = $PROJDIR. $PDDATA = ’C:\win32app\ingr\pddata’. 770)."\\2d"."\\clash". $newdir = $PROJDIR.\n". print "Creating Project Directories."\\clash\\plot"."\\dwg\\651". 770)."\\2d\\pid". $newdir = $PROJDIR. mkdir ($newdir. 770). $newdir = $PROJDIR. 770). mkdir ($newdir. $newdir = $PROJDIR. $newdir = $PROJDIR."\\dwg\\663". mkdir ($newdir. 770)."\\2d\\pfd"."\\clash\\report"."\\dwg"."\\dwg\\540". 770). $PDREPORT= ’C:\win32app\ingr\pdreport’. $newdir = $PROJDIR. $RDUSRDB = ’C:\win32app\ingr\rdusrdb’. 770). mkdir ($newdir. $newdir = $PROJDIR. 770).Scripts to Create Project Directories APPENDIX C # Define Product Base Directories # $PDSHELL = ’C:\win32app\ingr\pdshell’."\\dwg\\537". mkdir ($newdir. $newdir = $PROJDIR. $newdir = $PROJDIR. 770)."\\dwg\\535". $newdir = $PROJDIR. $newdir = $PROJDIR. 770). 770). mkdir ($newdir. 770). # # Create PDS Project Directories # print "\n". 770)."\\dwg\\643". $newdir = $PROJDIR. 770). mkdir ($newdir."\\dwg\\865"."\\model_builder". mkdir ($newdir. $newdir = $PROJDIR. 770). mkdir ($newdir."\\dwg\\667". $newdir = $PROJDIR."\\raceway". mkdir ($newdir."\\rdb\\eqp\\approved". 770)."\\rdb\\lib". 770)."\\rdb\\lib\\approved". 770)."\\models\\hvac". mkdir ($newdir."\\models\\eqp". mkdir ($newdir. mkdir ($newdir. $newdir = $PROJDIR. mkdir ($newdir. $newdir = $PROJDIR. $newdir = $PROJDIR. $newdir = $PROJDIR. mkdir ($newdir. $newdir = $PROJDIR. 770)."\\iso". 770). mkdir ($newdir. mkdir ($newdir. 770)."\\models\\arch". 770)."\\project"."\\rdb\\eqp\\unapproved". 770). $newdir = $PROJDIR. mkdir ($newdir. $newdir = $PROJDIR. $newdir = $PROJDIR. 770)."\\models\\piping". 214 Script to Create Project Directories on Windows NT . $newdir = $PROJDIR."\\rdb\\eqp". 770)."\\rdb"."\\models". $newdir = $PROJDIR. $newdir = $PROJDIR. $newdir = $PROJDIR."\\dwg\\731". mkdir ($newdir. 770)."\\dwg\\971". 770). 770)."\\dwg\\cell". $newdir = $PROJDIR. 770). mkdir ($newdir.APPENDIX C PDS Project Setup mkdir ($newdir. mkdir ($newdir."\\dwg\\border". 770). $newdir = $PROJDIR. $newdir = $PROJDIR. 770). $newdir = $PROJDIR. $newdir = $PROJDIR. $newdir = $PROJDIR. $newdir = $PROJDIR."\\rdb\\lib\\unapproved". mkdir ($newdir. mkdir ($newdir. 770). $newdir = $PROJDIR. 770). mkdir ($newdir. mkdir ($newdir. 770). mkdir ($newdir."\\dwg\\851". mkdir ($newdir. 770). 770). mkdir ($newdir. $newdir = $PROJDIR. mkdir ($newdir. 770)."\\dwg\\841". $newdir = $PROJDIR. 770).pmc". 770)."\\rdb\\spec\\2c0032.. # # Create Sample PDS Delivered Specs # print "\n". $newfile = Script to Create Project Directories on Windows NT 215 ."\\rdb\\source\\eqp\\tdf". mkdir ($newdir. $newdir = $PROJDIR.pcd". 770). $newdir = $PROJDIR. mkdir ($newdir."\\spec_data\\taps."\\report\\search". $newdir = $PROJDIR. 770). $newdir = $PROJDIR."\\rdb\\spec\\classes. $newfile).pmc"."\\report\\discrimination". $newfile = $PROJDIR. mkdir ($newdir."\\rdb\\spec\\1c0031. $oldfile = $RDUSRDB. mkdir ($newdir. mkdir ($newdir. mkdir ($newdir. 770). 770)."\\spec_data\\2c0032. mkdir ($newdir. mkdir ($newdir. 770). 770). $newdir = $PROJDIR. mkdir ($newdir. mkdir ($newdir."\\rdb\\source\\eden_piping".data"."\\rdb\\source\\std_note"."\\report"."\\rdb\\source\\table". $newdir = $PROJDIR."\\rdb\\spec". $newdir = $PROJDIR. $newdir = $PROJDIR. mkdir ($newdir. $oldfile = $RDUSRDB.pcd"."\\rdb\\source\\assembly". print "Copying Sample Spec Data.Scripts to Create Project Directories APPENDIX C mkdir ($newdir."\\report\\format".©_files ($oldfile."\\spec_data\\1c0031."\\spec_data\\classes. 770). 770).pcd". $newdir = $PROJDIR. 770). 770). $newdir = $PROJDIR.. mkdir ($newdir. $newfile = $PROJDIR. mkdir ($newdir. $newfile = $PROJDIR. $newfile). $newdir = $PROJDIR."\\report\\mto". $oldfile = $RDUSRDB.\n".pcd"."\\rdb\\source\\eden_eqp". mkdir ($newdir. $newdir = $PROJDIR. $newfile).©_files ($oldfile. $oldfile = $RDUSRDB. 770). 770). $newdir = $PROJDIR.©_files ($oldfile. 770)."\\rdb\\source"."\\rdb\\source\\eqp". $oldfile = $PDDATA."\\sample\\data\\component. $newfile = $PROJDIR."\\spec_data\\implied.©_files ($oldfile."\\sample\\data\\instrment.data".data".data". $oldfile = $PDDATA. $oldfile = $PDDATA.."\\rdb\\spec\\component.APPENDIX C PDS Project Setup $PROJDIR. $oldfile = $RDUSRDB.data". $newfile = 216 Script to Create Project Directories on Windows NT . $newfile = $PROJDIR. $newfile).l"."\\rdb\\spec\\specialty.©_files ($oldfile."\\rdb\\spec\\instrment.\n".©_files ($oldfile.\n".data"."\\rdb\\lib\\unapproved\\pjs_tbl."\\sample\\data\\flange.©_files ($oldfile.."\\rdb\\spec\\constol."\\rdb\\spec\\implied. $newfile = $PROJDIR.data". $newfile). $oldfile = $PDDATA. $newfile).©_f iles ($oldfile.data".data". $oldfile = $PDDATA."\\rdb\\spec\\pcd_size. $newfile).l."\\rdb\\lib\\unapproved\\pjs_tbl. $newfile = $PROJDIR.r".data".data". $newfile).©_files ($oldfile.l. $newfile = $PROJDIR. $oldfile = $PDDATA. $newfile = $PROJDIR. print "Copying Reference Data Base Options."\\us_pjstb."\\sample\\data\\rdb_options"."\\sample\\data\\specialty.©_files ($oldfile.©_fil es ($oldfile. $newfile).l.data". print "\n"."\\us_pjstb.. $oldfile = $RDUSRDB. $newfile). $newfile).©_files ($oldfile."\\us_pjstb."\\sample\\data\\constol.data". $newfile = $PROJDIR. $newfile = $PROJDIR. $newfile).data"."\\sample\\data\\pcd_size.t". $oldfile = $PDDATA. $oldfile = $RDUSRDB."\\rdb\\spec\\taps. $newfile = $PROJDIR.l".©_files ($oldfile.data". $newfile = $PROJDIR.data"."\\rdb\\spec\\flange.©_files ($oldfile."\\project\\RDB_options".. $newfile).t". print "Copying Piping Job Spec Library. $newfile). $oldfile = $RDUSRDB. print "\n". print "\n"."\\lib\\pip_gcom."\\rdb\\lib\\unapproved\\std_note."\\rdb\\lib\\unapproved\\std_note. print "Copying Piping Assembly Library.l.l".©_f iles ($oldfile. $newfile = $PROJDIR.©_ files ($oldfile."\\us_lgbom. print "\n"..l".. $oldfile = $PDSHELL. $newfile).t".l". $newfile = $PROJDIR. $newfile = Script to Create Project Directories on Windows NT 217 . print "\n".t".©_f iles ($oldfile.©_ files ($oldfile."\\lib\\assembly.©_ files ($oldfile. $newfile = $PROJDIR.l"."\\lib\\labels.l."\\rdb\\lib\\unapproved\\assembly. $newfile = $PROJDIR. $oldfile = $RDUSRDB.l. $newfile = $PROJDIR.l.l". print "Copying Label Description Library. $oldfile = $PDSHELL. $newfile = $PROJDIR.©_fi les ($oldfile..l". print "Copying Graphic Commodity Library. $oldfile = $PDSHELL."\\rdb\\lib\\unapproved\\long_bom."\\rdb\\lib\\unapproved\\short_bom. $newfile).l".l".l. $oldfile = $PDSHELL. $oldfile = $PDSHELL.Scripts to Create Project Directories APPENDIX C $PROJDIR.."\\rdb\\lib\\unapproved\\labels."\\lib\\pip_gcom. $newfile).l".l". $newfile = $PROJDIR.l.©_fi les ($oldfile. $oldfile = $PDSHELL."\\rdb\\lib\\unapproved\\pjs_tbl. print "Copying Standard Note Library.r". print "\n". $oldfile = $RDUSRDB.t".\n".t". $newfile)."\\us_shbom."\\lib\\std_note.©_fi les ($oldfile. $newfile)."\\lib\\std_note. $newfile). $newfile).l". $newfile). $oldfile = $PDSHELL.\n".l".\n".\n". $oldfile = $RDUSRDB.."\\rdb\\lib\\unapproved\\spclty_bom.l". $newfile).©_file s ($oldfile.l"."\\lib\\assembly."\\us_spbom.."\\rdb\\lib\\unapproved\\assembly."\\rdb\\lib\\unapproved\\pipe_gcom. $newfile). $newfile = $PROJDIR.t". $newfile = $PROJDIR..©_f iles ($oldfile.. "\\rdb\\eqp\\unapproved\\zi_tutlib. $oldfile = $RDUSRDB.$fil."\\rdb\\eqp\\unapproved\\zi_eqpms. $newfile). @filelist= sort grep (!/^[. $oldfile = $PDEQP.© _files ($oldfile. $newfile). } $dir = $PROJDIR.. $newfile).][.©_ files ($oldfile.l."\\dat\\zi_tutlib.. $dir) || die "Can’t open $dir: $!\n"."\\rdb\\lib\\unapproved\\". $newfile)."\\us_pcdim."\\rdb\\lib\\approved\\".t"."\\dat\\zi_eqpms. opendir (D.t".l.l". print "Copying Physical Data Library.]/ && (tr/AZ/a-z/ || 1). @filelist= sort grep (!/^[.l". print "Copying unapproved to approved. $oldfile = $RDUSRDB. $newfile = $PROJDIR. $newfile = $PROJDIR. readdir(D))."\\us_pcdim. $newfile = $PROJDIR.©_ files ($oldfile."\\rdb\\lib\\unapproved". 218 Script to Create Project Directories on Windows NT .]/&& !/^[.\n". $dir) || die "Can’t open $dir: $!\n". $newfile = $PROJDIR.]/&& !/^[.. $newfile). $newfile). print "\n"."\\rdb\\lib\\unapproved\\us_pcdim.r". closedir(D).\n".. $oldfile = $RDUSRDB.lib". readdir(D)). $oldfile = $PDEQP."\\rdb\\eqp\\unapproved\\zi_eqpms."\\rdb\\lib\\unapproved\\us_pcdim.l.hlp". $newfile). $newfile = $PROJDIR.r".©_fi les ($oldfile. print "\n".lib".$fil.t".lib".APPENDIX C PDS Project Setup $PROJDIR."\\rdb\\lib\\unapproved\\pipe_gcom. foreach $fil (@filelist) { $oldfile = $PROJDIR. print "Copying Eqp Tutorials.][."\\us_pcdim.©_ files ($oldfile. ©_files ($oldfile."\\rdb\\lib\\unapproved\\us_pcdim."\\dat\\zi_eqpms.©_ files ($oldfile.hlp". $newfile = $PROJDIR. $newfile).lib".. $oldfile = $PDEQP.© _files ($oldfile..]/ && (tr/AZ/a-z/ || 1). $dir = $PROJDIR.l. opendir (D. print "\n"."\\rdb\\eqp\\unapproved".\n".l. $newfile = $PROJDIR. closedir(D). $newfile). } sub copy_files { $cmd = "copy ". } print "\n".]/ && (tr/AZ/a-z/ || 1)."\\report\\format\\".$fil.$fil. $newfile = $PROJDIR. foreach $fil (@filelist) { $oldfile = $PDREPORT. opendir (D. $dir) || die "Can’t open $dir: $!\n". print "Copying Sample Report Format.$fil." ". print "Copying Drawing Borders. foreach $fil (@filelist) { $oldfile = $PDDRAW. ©_files ($oldfile. closedir(D)."\\sample".$oldfile."\\sample\\".Scripts to Create Project Directories APPENDIX C closedir(D)."\\rdb\\eqp\\unapproved\\".]/&& !/^[. $newfile = $PROJDIR."\\dwg\\border\\". system ($cmd). readdir(D)).][."\\border". } __END__ :endofperl Script to Create Project Directories on Windows NT 219 .. ©_files ($oldfile. foreach $fil (@filelist) { $oldfile = $PROJDIR. $dir = $PDREPORT.]/&& !/^[. $newfile).$fil. } print "\n". $newfile). ©_files ($oldfile. $dir) || die "Can’t open $dir: $!\n".][. @filelist= sort grep (!/^[. $dir = $PDDRAW..]/ && (tr/AZ/a-z/ || 1). readdir(D))."\\rdb\\eqp\\approved\\". @filelist= sort grep (!/^[.$fil. opendir (D."\\border\\".$newfile.\n"..$fil.\n". $newfile = $PROJDIR.. IT IS PROVIDED FOR CUSTOMER USE AT THEIR OWN # DISCRETION.sh # # NOTE: Make sure that the directory defined for PROJDIR exists and that # the product directories are correct!! # # The project will require about 65MB # PROJDIR="/usr/testprj" # # Define Product Base Directories # PDSHELL="/usr/ip32/pdshell" PDRPT="/usr/ip32/pdreport" PDDRAW="/usr/ip32/pddraw" PDDATA="/usr/ip32/pddata" PDEQP="/usr/ip32/pdeqp" RDUSRDB="/usr/ip32/rdusrdb" # 220 Script to Create Project Directories on CLIX . ■ The project will require about 65MB of disk space. # THIS SCRIPT HAS BEEN PROVIDED AS AN EXAMPLE AND SHOULD NOT BE USED # UNTIL A SYSTEM MANAGER AT THE CUSTOMER SITE HAS REVIEWED IT TO # ENSURE THAT IT WILL BE USABLE IN A PARTICULAR ENVIRONMENT. # # This script creates "standard" PDS directories and copies the delivered # specs and libraries into this structure. type at UNIX prompt (as superuser): mkpdsdir_clx. # # INTERGRAPH CORPORATION ASSUMES NO RISKS OR RESPONSIBILITIES REGARDING # THE USE OF THIS FILE.APPENDIX C PDS Project Setup Script to Create Project Directories on CLIX Type the following lines into a file named mkpdsdir_clx.sh. # # To execute. type at the UNIX prompt (as superuser): mkpdsdir_clx.sh NOTE: Make sure that the directory defined for PROJDIR exists and that the product directories are correct. To execute this script. .Scripts to Create Project Directories APPENDIX C # Create PDS Project Directories # echo echo "Creating Project Directories." mkdir ${PROJDIR}/2d mkdir ${PROJDIR}/2d/pds2d mkdir ${PROJDIR}/2d/pfd mkdir ${PROJDIR}/2d/pid mkdir ${PROJDIR}/clash mkdir ${PROJDIR}/clash/plot mkdir ${PROJDIR}/clash/report mkdir ${PROJDIR}/design_review mkdir ${PROJDIR}/dwg mkdir ${PROJDIR}/dwg/535 mkdir ${PROJDIR}/dwg/537 mkdir ${PROJDIR}/dwg/540 mkdir ${PROJDIR}/dwg/641 mkdir ${PROJDIR}/dwg/643 mkdir ${PROJDIR}/dwg/651 mkdir ${PROJDIR}/dwg/661 mkdir ${PROJDIR}/dwg/663 mkdir ${PROJDIR}/dwg/665 mkdir ${PROJDIR}/dwg/667 mkdir ${PROJDIR}/dwg/731 mkdir ${PROJDIR}/dwg/841 mkdir ${PROJDIR}/dwg/851 mkdir ${PROJDIR}/dwg/865 mkdir ${PROJDIR}/dwg/971 mkdir ${PROJDIR}/dwg/border mkdir ${PROJDIR}/dwg/cell mkdir ${PROJDIR}/iso mkdir ${PROJDIR}/model_builder mkdir ${PROJDIR}/models mkdir ${PROJDIR}/models/arch mkdir ${PROJDIR}/models/eqp mkdir ${PROJDIR}/models/hvac mkdir ${PROJDIR}/models/piping mkdir ${PROJDIR}/project mkdir ${PROJDIR}/raceway mkdir ${PROJDIR}/rdb mkdir ${PROJDIR}/rdb/eqp mkdir ${PROJDIR}/rdb/eqp/approved mkdir ${PROJDIR}/rdb/eqp/unapproved mkdir ${PROJDIR}/rdb/lib mkdir ${PROJDIR}/rdb/lib/approved mkdir ${PROJDIR}/rdb/lib/unapproved mkdir ${PROJDIR}/rdb/source mkdir ${PROJDIR}/rdb/source/assembly Script to Create Project Directories on CLIX 221 .. ." cp ${RDUSRDB}/us_pjstb.l.pcd ${PROJDIR}/rdb/spec cp ${RDUSRDB}/spec_data/taps..pmc ${PROJDIR}/rdb/spec cp ${RDUSRDB}/spec_data/1c0031." cp ${RDUSRDB}/us_shbom.l.l ${PROJDIR}/rdb/lib/unapproved/pjs_tbl.." cp ${RDUSRDB}/spec_data/classes.APPENDIX C PDS Project Setup mkdir ${PROJDIR}/rdb/source/eden_eqp mkdir ${PROJDIR}/rdb/source/eden_piping mkdir ${PROJDIR}/rdb/source/eqp mkdir ${PROJDIR}/rdb/source/eqp/tdf mkdir ${PROJDIR}/rdb/source/std_note mkdir ${PROJDIR}/rdb/source/table mkdir ${PROJDIR}/rdb/spec mkdir ${PROJDIR}/report mkdir ${PROJDIR}/report/discrimination mkdir ${PROJDIR}/report/format mkdir ${PROJDIR}/report/mto mkdir ${PROJDIR}/report/search # # Create Sample PDS Delivered Specs # echo echo "Copying Sample Spec Data.data ${PROJDIR}/rdb/spec echo echo "Copying Reference Data Base Options.l ${PROJDIR}/rdb/lib/unapproved/short_bom..data ${PROJDIR}/rdb/spec cp ${PDDATA}/sample/data/*.data ${PROJDIR}/rdb/spec cp ${RDUSRDB}/spec_data/implied.l cp ${RDUSRDB}/us_pjstb.r ${PROJDIR}/rdb/lib/unapproved/pjs_tbl.l.r echo echo "Copying Material Description Libraries...t cp ${RDUSRDB}/us_pjstb.pcd ${PROJDIR}/rdb/spec cp ${RDUSRDB}/spec_data/2c0032.l 222 Script to Create Project Directories on CLIX ..l." cp ${PDDATA}/sample/data/RDB_options ${PROJDIR}/project # # Create Sample PDS Delivered Libraries # echo echo "Copying Piping Job Spec Library.t ${PROJDIR}/rdb/lib/unapproved/pjs_tbl.. " Script to Create Project Directories on CLIX 223 ." cp ${RDUSRDB}/us_pcdim.." cp ${PDRPT}/sample/* ${PROJDIR}/report/format echo echo "Copying Drawing Borders .l ${PROJDIR}/rdb/lib/unapproved cp ${PDSHELL}/lib/assembly.l cp ${PDSHELL}/lib/pip_gcom.l.." cp ${PDSHELL}/lib/assembly.l ${PROJDIR}/rdb/lib/unapproved/pipe_gcom." cp ${PDSHELL}/lib/labels.l.l ${PROJDIR}/rdb/lib/unapproved/spclty_bom.l.l ${PROJDIR}/rdb/lib/unapproved/long_bom.l ${PROJDIR}/rdb/lib/unapproved cp ${RDUSRDB}/us_pcdim." cp ${PDSHELL}/lib/std_note." cp $PROJDIR/rdb/lib/unapproved/* $PROJDIR/rdb/lib/approved cp $PROJDIR/rdb/eqp/unapproved/* $PROJDIR/rdb/eqp/approved echo echo "Copying Sample Report Format .Scripts to Create Project Directories APPENDIX C cp ${RDUSRDB}/us_lgbom.......r ${PROJDIR}/rdb/lib/unapproved echo echo "Copying Equipment Tutorials ...l ${PROJDIR}/rdb/lib/unapproved echo echo "Copying Piping Assembly Library.t ${PROJDIR}/rdb/lib/unapproved echo echo "Copying Label Description Library.l.l echo echo "Copying Standard Note Library.l ${PROJDIR}/rdb/lib/unapproved cp ${PDSHELL}/lib/std_note.." cp ${PDSHELL}/lib/pip_gcom.t ${PROJDIR}/rdb/lib/unapproved cp ${RDUSRDB}/us_pcdim.l.t echo echo "Copying Physical Data Library....t ${PROJDIR}/rdb/lib/unapproved echo echo "Copying Graphic Commodity Library...l cp ${RDUSRDB}/us_spbom.l...t ${PROJDIR}/rdb/lib/unapproved/pipe_gcom." cp ${PDEQP}/dat/zi_* ${PROJDIR}/rdb/eqp/unapproved echo echo "Copying unapproved to approved . 224 Script to Create Project Directories on CLIX . find ${PROJDIR} -print -exec chown pdsadmin {} \. find ${PROJDIR} -print -exec chgrp 700 {} \.APPENDIX C PDS Project Setup cp ${PDDRAW}/border/* ${PROJDIR}/dwg/border # #Set File Protections # echo echo find ${PROJDIR} -print -exec chmod 777 {} \. log files will be left in the temp directory. 225 .A P P E N D I X D Log Files Produced by PDS Batch Jobs The PDS batch mail utility will allow for the mailing of these log files in an Windows NT environment. If the batch mail utility has not been set up. cmp temp directory pdpidcmp.cmp temp directory plot.log temp directory m<model_index_no>.dcl temp directory pdapprov.rep temp directory <project_name>.log temp <project_name>.rep temp directory P&ID Comparison P&ID Named Item Report Plot Model Inspection Iso Manager 226 PD_Design .log temp directory piditem.apl temp directory Approval Manager Approval by Line ID same as approval manager Database Verification dbv.ptl temp directory pdinsiso.dvl temp directory pdpidrpt.log temp directory <project_name>.log temp directory pdpidrpt.APPENDIX D PDS Project Setup PD_Design Command File Name Location Design Checker dsgnchkr. log temp directory PD_Model 227 .Log Files Produced by PDS Batch Jobs APPENDIX D PD_Model Command File Name Location Model Builder pdmodbld. <drawing_type_n temp directory o> .hlg temp directory plot.l temp directory og crdrwque.APPENDIX D PDS Project Setup PD_Draw Command File Name Create Drawing drw<drawing_type_no>.log temp directory VHL hline.ptl temp directory Plot Drawing Update Annotation Labels 228 PD_Draw Location udl_log.log temp directory <drawing_indx_no>.log temp directory <drawing_indx_no>. Log Files Produced by PDS Batch Jobs APPENDIX D PD_Report Command File Name Location MTO rpt_error.log temp directory PD_Report 229 APPENDIX D PDS Project Setup PD_Review Command File Name Location DesignReview Label Builder labelbld.log temp directory <dri_control>.err drtrans.rvw dri file directory temp directory drtrans.log temp directory plot.log temp directory m<model_index_no>.ptl temp directory DesignReview Label Sender Plot Model 230 PD_Review Log Files Produced by PDS Batch Jobs APPENDIX D PD_Clash Command File Name Location Interference Checker <project or area>.ilg temp directory <project or area>.icl temp directory <project or area>.blg temp directory <project or area>.ebl temp directory Clash Report rpt_error.log temp directory Plot Manager <project or area>.icl temp directory Approval Manager/plot <project or area>.icl temp directory Envelope Builder PD_Clash 231 APPENDIX D PDS Project Setup PD_Project Command File Name Location Create Model from ASCII List cmdlasci.log temp directory <project_name>.cma temp directory crtmodel.rep temp directory <project_name>.cml temp directory cpymodel.log temp directory <model_index_no>.cpl temp directory dltmodel.log temp directory <model_index_no>.dml temp directory propagate.log temp directory <project_name>.pgl temp directory rptnmdit.log temp directory <project_name>.rnl temp directory <project_no>.arc temp directory archive.log project directory temp directory Create Database Tables Copy Model Delete Model Project Data Mgr/propagate Report on Named Item Archival Active Retrieval <project_no>.rtv retrieve.log Inactive Retrieval <project_no>.rtv retrieve.log Import <project_no>.rtv import.log Project Control Mgr 232 PD_Project rpt_error.log project directory temp directory project directory temp directory project directory temp directory Log Files Produced by PDS Batch Jobs APPENDIX D PD_Data Command File Name Location Load PJS/pmc pmc.log temp directory Load PJS/commodity pcd.log temp directory Load PJS/specialty splty.log temp directory Load PJS/instrument instment.log temp directory Load PJS/taps taps.log temp directory Load PJS/size-dependent pcd_size.log temp directory Load PJS/implied implied.log temp directory Load PJS/exclusion compinsu.log temp directory Load PJS/flange exclusion flnginsu.log temp directory Load PJS/construction cons_tol.log temp directory PJS Report Manager rpt_error.log temp directory Table Checker rpt_error.log temp directory PJS Table Library pjstbl.log temp directory Graphic Commodity Library eden.log temp directory Physical Data Library phstbl.log temp directory Piping Assemblies pal.log temp directory Short Material Descript Lib/load shbom.log temp directory Short Material Descript Lib/revise shbom.log temp directory Short Material Descript Lib/report shbom.log temp directory Long Material Descript Lib/load lgbom.log temp directory Long Material Descript Lib/revise lgbom.log temp directory Long Material Descript Lib/report lgbom.log temp directory Specialty Mat Descript Lib/load splty.log temp directory Specialty Mat Descript Lib/revise splty.log temp directory Specialty Mat Descript Lib/report splty.log temp directory Standard Note Load DB stdnote.log temp directory RDB Conflict Report <project or area>.rlg temp directory <project or area>.rcl temp directory <project or area>.rlg temp directory <project or area>.rcl temp directory Table Change Report PD_Data 233 APPENDIX D PDS Project Setup Geo. Ind. Std. Report <project or area>.rlg temp directory <project or area>.rcl temp directory Notes: 1. On Windows NT, the temp directory is defined by the environment variable TEMP. If the TEMP environment variable is undefined, the environment variable TMP is used. If neither of these environment variables is set, C:\temp is used as the temp directory. 2. On CLIX, the temp directory is /usr/tmp. 234 Notes: A P P E N D I X E PDS Project Creation Workbook We highly recommend that you take the time when setting up the project to fill out the forms contained in this appendix. 235 . You will find that they will be a convenient reference throughout the life of the project. APPENDIX E PDS Project Setup Company: Contact: Project: Date: Notes: 236 . PDS Project Creation Workbook APPENDIX E 237 . APPENDIX E 238 PDS Project Setup . PDS Project Creation Workbook APPENDIX E 239 . APPENDIX E 240 PDS Project Setup . PDS Project Creation Workbook APPENDIX E 241 . APPENDIX E 242 PDS Project Setup . PDS Project Creation Workbook APPENDIX E 243 . APPENDIX E 244 PDS Project Setup . . . . . . . . DesignReview . . . . . . . . . . . . . .F A P P E N D I X Using PDS with FrameWorks and ModelDraft Some file management operations are conducted on both platforms. . . . . . . . . . RIS. . . . so it is necessary to load all the modules required to run ModelDraft (MDR) in the PD_Shell environment. . . . . Archival and Retrieval . ModelDraft or FrameWorks Plus project creation and model creation will occur only on their respective platforms. . . . . . . . . . even if most of the production occurs on only one of those operating systems. . . . . . . . . . . . . . . . . . . . . . . . . . Initial project creation could occur on either platform. . . . . Interference Detection . . . . . . . . and so on to both platforms. . . . . . . . . . . 246 246 247 248 245 . . For details on the proper creation of models for FrameWorks Plus on Windows NT. including PD_Shell. . . . see the following sections. Inserting a FrameWorks Plus Project into PD_Shell . . . . . . Several options exist in the Interference Manager which allow a single operation to generate envelope files for ALL disciplines. If this is selected in PD_Shell on Windows NT. The two procedures both deliver the same type of inputs to DesignReview. This is because the software cannot initiate the batch process to create the interference envelope files on Windows NT. Interference Detection Interference envelope files are provided to the Interference Manager by the separate structural modules. PD_Shell then uses the common Project Control database to find the different application models. and make it available to DesignReview. An operator running the applications individually creates the envelope files according to their respective commands to make data available to the Interference Manager. or they can be created with a UNIX shell executable provided with the ModelDraft product. or the ModelDraft application can be used to create the envelope files individually in graphics. allow the envelope files to be created from a similar batch form to generate envelope files for all models for the structural discipline. However. The ModelDraft envelope files can be created using the option to generate envelope files for all models for the structural discipline on CLIX Interference Manager. process the graphic and non-graphic data. process the graphic and non-graphic data. not ModelDraft 246 DesignReview . as well as by project or by various areas. An operator running the applications individually will Propagate or Freeze the files according to their respective commands and nomenclature to make data available to the DesignReview Integrator . you would Propagate.APPENDIX F PDS Project Setup DesignReview DesignReview data is provided to the DesignReview Integrator by the separate structural modules. PD_Shell then uses the common Project Control database to find the different application models.0 on Windows NT. you would Freeze. In ModelDraft. In FrameWorks Plus. The FrameWorks Plus envelope files must be created individually in the FrameWorks Plus graphics environment. this ALL option.0 along with PDS version 6. will still refer only to all FrameWorks Plus models. and make it available to Clash Manager. then the ModelDraft models are ignored and listed in the log file as having been skipped. Planned enhancements for FrameWorks Plus version 3. These subdirectories can be added using the function to include other user directories which are related to the project. One caveat with ModelDraft is that when archiving a project the /PAR directory is omitted. Archival and Retrieval 247 . which contains the ASCII parameter files used in the drawing extraction/update process. but which may be site-specific.Using PDS with FrameWorks and ModelDraft APPENDIX F Archival and Retrieval Archival and retrieval will equally collect and replace the files regardless of their application type. or outside a standard project/ directory naming convention. 3. Click Project Environment Manager 8. From PD_Shell. 2. you also have the option to specify a predefined volume for Interference Manager. Exit two levels to Project Administrator.APPENDIX F PDS Project Setup Inserting a FrameWorks Plus Project into PD_Shell 1. Note that the Project Number is the same as the top level FrameWorks Plus Project Directory Name which will appear in the Windows NT File Manager. and create the area. A list displays if there is more than one FrameWorks Plus subproject. Click Create. For example: FrameWorks Plus project number: fwstr ---AND--FrameWorks Plus file directory: c:\pds_proj_dir\ Will give you: c:\pds_proj_dir\fwstr\ c:\pds_proj_dir\fwstr\drw c:\pds_proj_dir\fwstr\esl c:\pds_proj_dir\fwstr\frz c:\pds_proj_dir\fwstr\int c:\pds_proj_dir\fwstr\mod c:\pds_proj_dir\fwstr\rpt Typing in an extra \fwstr on the end of the FrameWorks Plus FileDirectory name could make things confusing. If you typec:\pds_proj_dir\project\fwstr for the directory name and fwstr for the Number. Click Create Design Area---Structural Discipline. 7. Exit one level to Project Environment Manager. 9. you will get c:\pds_proj_dir\project\fwstr\fwstr for the final FrameWorks Plus Subproject directory name. Type the name and description. 5. Click Insert FrameWorks Data. When you type the FrameWorks Plus File Directory name. be sure not to duplicate the FrameWorks Plus Subproject directory name. 248 Inserting a FrameWorks Plus Project into PD_Shell . 10. 4. Click Project Administrator. Notice that the Structural Sub Project box is automatically filled in with the first fwstr project name. or letters only. Type in the FrameWorks Plus Project Name and other information. This string can contain letters and/or numerals. select the project name. 6. Click Project Setup Manager. After picking the Sub Project. this can be easily done. This method creates the entry in the Project Control database. You can compensate for this by using File Manager to copy or move the existing FrameWorks Plus files to a different directory. A form with fields for Model names and Sparse model names displays. This message displays for any model which is not part of a FrameWorks Plus subproject. but it will be ignored for such operations as the DesignReview intelligent tag creation and envelope file generation. and uses the existing file without overwriting it. the PD_Shell software will also create a new FrameWorks Plus model for you with the FrameWorks Plus seed file and will overwrite any existing files in that model subdirectory which have the same names. 12. A more elegant alternative is to use the PD_Shell Create Model by ASCII File feature. If you did not let PDS know about the FrameWorks Plus project by using the Insert FrameWorks Data option before creating the design area. and you want to integrate it with PD_Shell. Click Create Model.Using PDS with FrameWorks and ModelDraft APPENDIX F 11. When you use the Create Model command. If you have an existing model which you previously created using the FrameWorks Manager. a message stating This is not a ModelDraft Model displays. Inserting a FrameWorks Plus Project into PD_Shell 249 . Then use Create Model from PD_Shell and copy the original files back over the empty files created by PD_Shell. It will be available as a reference file. This message implies that any model created in this way is considered dumb graphics. Select the design area that specific to the FrameWorks Plus Sub Project . APPENDIX F PDS Project Setup 250 Inserting a FrameWorks Plus Project into PD_Shell . . . 262 Oracle 8i . . . . . . .A P P E N D I X G Database Setup---Oracle for Windows NT This appendix describes the setup procedure for Oracle versions 7. . . . . . . . . . . . . . . . . . . . . . . . 8. . because this database is unsuitable for most CAD applications.3. . . . . . . . . . 269 Oracle 8 . . . . . . . . . and Oracle 8i "Enterprise Edition" on Windows NT version 4. . . . . . . . . .3 "Enterprise Edition". . . . . .0. . . . it is not covered in this appendix. . .3 . The install scripts allows you to install a starter database. . . . . 252 251 . . . . . . .0. . . . . . . . . . . . . . . . . . . . . Appendix Topics Oracle 7. .3 "Enterprise Edition". . . . . . For this reason the "old UNIX strategy" of scattering the database files across multiple disks to avoid an i/o bottleneck on a single physical disk may not apply. . . . you would run the Configure RIS Version utility in the RIS05. On a typical ISMP server. For example. all system drives are spread across all available physical drives by virtue of the RAID configuration. ." In this procedure the Oracle system files are installed and a database is created using the Database Assistant. . .04 program group. . . .03. If the machine is purely a database server and does not run any applications (that use RIS) then this may not be a problem. . 252 Production Database Installation . .7 for Oracle 8i also loads a version of the RIS client s/w. . 252 Oracle 8i . If you have multiple versions of RIS client s/w on your machine your applications may not behave as you expect.0. .5.1) after loading the Oracle data server. . the database s/w will be installed on the E drive and the database files will be also be created on the E drive. . Production Database Installation These instructions take you through the Oracle 8i install where you do not let the install utility create the "starter database.02. . . . This is because the RIS V5 Oracle data server does not support connections from RIS V4 clients. if RIS client 05. Double-click on setup. . . . If you are running applications that use RIS V5 client you may have to remove the older versions (5. . . . .exe to start the installation process. .04 are all loaded. . . . . 05. and 05. . . . 252 Removal of Older RIS Client Loading the RIS Oracle data server version 5. . . As a precaution make a copy of the schemas file if it is located in any of the older RIS product directories. . . The older versions of the RIS client s/w can be removed by running the Configure RIS Version utility from the "highest number" program group. .0. . . . 5. . . Each bullet point below corresponds to each step in the wizard. In this example. If you are running applications that use the RIS V4 client you will have to remove it and upgrade your schemas to V5 after loading the RIS V5 Oracle data server. . This starts a new installation wizard.APPENDIX G PDS Project Setup Oracle 8i Oracle 8i Topics Removal of Older RIS Client . . . If the machine is a client as well as a database server then you may need to remove any older versions of the RIS client software. 0. 6. ● After the installation is complete Oracle Universal Installer will start a Net8 Configuration Assistant. 2. Accept all defaults and step through the Net8 Configuration Assistant. Default values should be Name=OraHome81 and Path=E:\Oracle\Ora81." Click Next. ■ ● Click Next ● Select No to Create Database Prompt. In the next form select Custom then Next. Click Next ● Select TCP/IP under Oracle Protocol Support.0. Click Exit. ● Select Product to install as "Oracle8i Enterprise Edition 8.Database Setup---Oracle for Windows NT ● APPENDIX G Click Next. Select configuration type as Hybrid (It is default) and click Next. 4. ● Choose Custom installation type and click Next. This completes software installation part of database installation. The procedure to finish the installation of the database is described below: 1. 3. 5. ● Select No to Install Legato Storage Manager. Click Next. From the Start Menu. — Oracle 8i Server — Net8 Products — Oracle Utilities — Oracle Configuration Assistants — Oracle Installation Products (Note: Select Oracle Universal Installar) NOTE: Oracle will install some of the Java stuff even if you deselect option at top level. Click Next. (Note that oracle directory structure is now changed. Click Create Database and then Next.5. NOTE: Same wizard can be used to deinstall oracle products by choosing Deinstall Products. ● Oracle Universal Installer will prompt you to Exit or go for Next Install. Oracle 8i 253 . Select Shared Server Mode and click Next.1. ■ ● Check and Modify the destination path if required. ● Review options and select Install. click Oracle -OraHome81 > Database Administration > Database Configuration Assistant. Type the number of connected users and click Next. ● Under the top level product options select at least following and click Next. Click Next. Click Next. 11. accept the defaults. Enter global name and sid as pds and click Next. The next form allows you to specify settings for a number of different table spaces. In the next form. 13. and instead will do checkpoints when log file changes are made). Click Next. click Next.if a setting is not explicity described then that means that the default values were accepted: System ● Change the size to 100M ● Turn AUTOEXTEND off User ● Change the name to pds ● Change the size to 300M ● Turn AUTOEXTEND off Rollback ● Change the name to rollback_segs ● Change the size to 50M ● Turn AUTOEXTEND off Index ● Accepted all defaults. Enter the password for the internal user (manager) and confirm. 8. These will be reviewed one at a time . 9. Clear all extra options such as Jserver. 10. Typically the index data is not broken out into a separate tablespace when using PDS. accept the default settings for the control files. 254 Oracle 8i . Click Next. Click Next.000 and leave the setting for Checkpoint Timeout set to zero (this disables time-based checkpoints. Temporary ● Change the name to temp_segs ● Change the size to 30M ● Turn AUTOEXTEND off After checking the settings in all of the tabs.APPENDIX G PDS Project Setup 7. set this to 50. 12. This tablespace will be dropped. Leave the Archive Log specifications "blanked out" (which is the default setting). Replication. For the log files. Intermedia demo and click Next. For the Checkpoint Interval. These settings will be changed later. dbf’ SIZE 100M REUSE MAXDATAFILES 254 MAXINSTANCES 1 CHARACTER SET WE8ISO8859P1 NATIONAL CHARACTER SET WE8ISO8859P1. Oracle recomendes the block size should be equal or more than the OS block size for performance reasons. Finally. Click Next.log’ SIZE 10M.bat. Sqlpds. Change in block size required recreation of database. A sample pdsrun. Make the following changes to these files: PDSRUN. Accept the default settings for protocol. Click Next.Database Setup---Oracle for Windows NT APPENDIX G 14. dispatchers and confirm the hostname. processes and click Next.sql. All of these except db_block_size can be changed later if desired. ’E:\Oracle\oradata\pds\redo03. Accept the default settings for dispatchers. pdsrun. 15. 17. 16. ’E:\Oracle\oradata\pds\redo02. Create a directory named oracle\sqls and save the batch files in there. spool off Oracle 8i 255 . Database operating on OLTP (OnLine Transaction Processing) type of operation benefit from lower block size on the other hand DSS (Decision Support Systems) type of operation benefits from higher block sizes. Assuming an instance name of pds. This way additional revisions to the database structure can be made at creation time. Click Next. Accept the default settings for the Trace Files. Accept the default settings for Shared Pool Size. and change the sizes to 10M. and Update the Block size to 4096. and pdsrun1. Processes. save the results into a batch script. Block Buffers. the following files will be created: sqlpds.log’ SIZE 10M MAXLOGFILES 32 MAXLOGMEMBERS 2 MAXLOGHISTORY 1 DATAFILE ’E:\Oracle\oradata\pds\system01.bat creates the instance and starts it.sql. Log Buffer Size. then the two other files finish the setup. For NTFS file system block size is 4096.sql file is shown below: spool E:\Oracle\admin\pds\create\createdb set echo on connect INTERNAL/manager startup nomount pfile=E:\Oracle\admin\pds\pfile\init. 18.log’ SIZE 10M.SQL ● Create 3 log files rather than just two.ora CREATE DATABASE pds LOGFILE ’E:\Oracle\oradata\pds\redo01. This optimal value should be equal or greater than initial value specified for the tablespace.SQL ● Delete lines 5 and 6 which create and alter the sysrol rollback segment ● On line 9. and maxextents were set at the time the rollback_segs tablespace was created (line 9). ALTER DATABASE DATAFILE ’E:\Oracle\oradata\pds\rbs01. A sample pdsrun1. ● Delete the line that alters the rollback segment sysrol offline. to manager) ● Change the line that alters the system user from "default tablespace pds" to "temporary tablespace temp_segs" (like the preceding line for the sys user).RB0. Copy this line 19 times and then change the rollback segment names so that they are numbered them sequentially (i. ● Delete the lines that create the INDEX & OEM_REPOSITORY tablespace (lines 26-36). ● You may wish to add a line to change the sys users password (in this case.APPENDIX G PDS Project Setup PDSRUN1. RB1.).e. Change the storage clause to read only "optimal 1024k". ● Create 20 rollback segments rather than just two. ● Alter all 20 rollback segments to be online.dbf’ AUTOEXTEND OFF. REM ********** ALTER SYSTEM TABLESPACE ********* ALTER TABLESPACE SYSTEM DEFAULT STORAGE ( INITIAL 100K NEXT 100K 256 Oracle 8i . Remove the quotation marks from around the rollback segment names.dbf’ SIZE 12M REUSE DEFAULT STORAGE ( INITIAL 512K NEXT 256K MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 0). minextents. next. REM ********** TABLESPACE FOR ROLLBACK ********** CREATE TABLESPACE ROLLBACK_SEGS DATAFILE ’E:\Oracle\oradata\pds\rbs01. change the storage clause for the rollback_segs tablespace from "INITIAL 1024K NEXT 1024K MINEXTENTS 2" to "INITIAL 512K NEXT 256K MINEXTENTS 1". The new line 28 should be command to create rollback segment. This is because default values for initial. . Merge rollback segment definition lines into one line (so that the "create" and "storage" parts are on a single line). etc.dbf’ AUTOEXTEND OFF.sql file is shown below: spool E:\Oracle\admin\pds\create\createdb1 set echo on connect INTERNAL/manager ALTER DATABASE DATAFILE ’E:\Oracle\oradata\pds\system01. RB8 TABLESPACE 1024K). REM ********** TABLESPACE FOR TEMPORARY ********** CREATE TABLESPACE TEMP_SEGS DATAFILE ’E:\Oracle\oradata\pds\temp01. RB12 TABLESPACE 1024K). RB3 TABLESPACE 1024K). Oracle 8i 257 . RB13 TABLESPACE 1024K).dbf’ AUTOEXTEND OFF.dbf’ AUTOEXTEND OFF. ALTER DATABASE DATAFILE ’E:\Oracle\oradata\pds\users01. RB5 TABLESPACE 1024K). RB4 TABLESPACE 1024K).dbf’ SIZE 300M REUSE DEFAULT STORAGE ( INITIAL 50K NEXT 50K MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 1).Database Setup---Oracle for Windows NT APPENDIX G MINEXTENTS 1 MAXEXTENTS 300 PCTINCREASE 1). RB7 TABLESPACE 1024K). REM ********** TABLESPACE FOR USER ********** CREATE TABLESPACE PDS DATAFILE ’E:\Oracle\oradata\pds\users01. CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL RB1 TABLESPACE 1024K). RB2 TABLESPACE 1024K). RB9 TABLESPACE 1024K). RB6 TABLESPACE 1024K).dbf’ SIZE 30M REUSE DEFAULT STORAGE ( INITIAL 100K NEXT 100K MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 0) TEMPORARY. RB11 TABLESPACE 1024K). RB10 TABLESPACE 1024K). ALTER DATABASE DATAFILE ’E:\Oracle\oradata\pds\temp01. @E:\Oracle\Ora81\Rdbms\admin\catalog. ALTER ROLLBACK SEGMENT RB5 ONLINE.sql @E:\Oracle\Ora81\Rdbms\admin\caths. RB16 TABLESPACE 1024K). ALTER ROLLBACK SEGMENT RB10 ONLINE. ALTER ROLLBACK SEGMENT RB18 ONLINE. ALTER ROLLBACK SEGMENT RB7 ONLINE. ALTER ROLLBACK SEGMENT RB2 ONLINE. ALTER ROLLBACK SEGMENT RB14 ONLINE. ALTER ROLLBACK SEGMENT RB8 ONLINE.sql connect INTERNAL/manager spool off 258 Oracle 8i . ALTER ROLLBACK SEGMENT RB19 ONLINE. RB20 TABLESPACE 1024K).sql. ALTER ROLLBACK SEGMENT RB13 ONLINE. ALTER ROLLBACK SEGMENT RB20 ONLINE. ALTER ROLLBACK SEGMENT RB15 ONLINE. RB19 TABLESPACE 1024K). RB15 TABLESPACE 1024K). ALTER ROLLBACK SEGMENT RB3 ONLINE. RB18 TABLESPACE 1024K). @E:\Oracle\Ora81\Rdbms\admin\catexp7. ALTER ROLLBACK SEGMENT RB9 ONLINE.sql @E:\Oracle\Ora81\Rdbms\admin\catproc. ALTER ROLLBACK SEGMENT RB12 ONLINE.APPENDIX G PDS Project Setup CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS CREATE PUBLIC ROLLBACK_SEGS ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL ROLLBACK SEGMENT STORAGE (OPTIMAL RB14 TABLESPACE 1024K). ALTER ROLLBACK SEGMENT RB4 ONLINE. alter user system temporary tablespace temp_segs. ALTER ROLLBACK SEGMENT RB1 ONLINE.sql connect system/manager @E:\Oracle\Ora81\dbs\pupbld. ALTER ROLLBACK SEGMENT RB11 ONLINE. ALTER ROLLBACK SEGMENT RB16 ONLINE. ALTER ROLLBACK SEGMENT RB6 ONLINE. alter user sys temporary tablespace TEMP_SEGS. ALTER ROLLBACK SEGMENT RB17 ONLINE. RB17 TABLESPACE 1024K). alter user sys identified by manager. Click OK. RB4..bat file. and then enter pds for the string (assuming that your instance name is pds). Edit the init. RB3. Oracle 8i 259 . If you have only one instance. and will depend on the settings of the other parameters in this file. and set the Properties so that the screen buffer height is 2000 and the width is 200. The actual number will be slightly bigger.. If an error appears you may need to re-examine your installation. 20. Go into the registry and verify that ORACLE_SID has been set. Note that you must not be connected to a database when issuing this statement. RB2. 21. Type shutdown to stop the database. you can select which instance you wish to work with by entering: set instance Net8AliasName Where Net8AliasName is the alias created using Start > Programs > Oracle-OraHome81 > Network Administration > Net8 Easy Config. RB20) Where all twenty rollback segments have been specified. 22.log created in the orant\database directory. you can set the value of ORACLE_SID in the registry.exe) is a command- line interface to the database that can be used to perform many administrative tasks. At this point you may wish to make additional changes to the init..ora file in the Oracle\ADMIN\pds\pfile directory and add the following line to the end: rollback_segments = (RB1. RB19. For the Value enter ORACLE_SID and for the Data Type choose REG_SZ (should be the default choice). If you take the value of db_block_buffers and multiply it by 2048 you will have a rough idea how much memory (in bytes) will be "lost" just by starting up Oracle. When this is finished there will also be a file spoolmain. This parameter is the major determinant of overall system performance. NOTE: Old syntax of set instance 2:SIDNAME does not work with Net8 products.ora file.manager in this example) and then a cr. Double click on it to show its contents. and when you start Server Manager it will read the value from there. and from the top menu choose Edit and Add Value. . If you have more than one instance on your server. and is also the major determinant in calculating the size of the memory chunk set aside for Oracle’s use. ■ Connect to the database by entering connect internal/password (where password is the DBA password entered earlier . You should see the word connected appear in response to this command. In the HKEY_LOCAL_MACHINE window find the SOFTWARE\ORACLE\HOME0 key. At a minimum you should increase the size of the parameter db_block_buffers. Open a DOS window.Database Setup---Oracle for Windows NT APPENDIX G 19. RB18. The Server Manager utility (oracle\ora81\bin\srvrmgrl. Run the sqlpds.. Change the password for the sys and system users: alter user sys identified by manager. You should see messages that display the SGA size and that the database was mounted successfully. alter user system identified by manager. An Oracle username and all of the objects that user owns can be deleted using the following: drop user username cascade. This file can be edited and run from within Server Manager by entering @c:\win32app\ingr\pdshell\sql\oracle\create. 23. If users forget to do this they will rapidly fill up the relatively small system tablespace. There is a new setting in Registry SOFTWARE\Oracle\Home0\Ora_SID_AUTOSTART which set to true starts up the database automatically. Note that a script to create all of the Oracle users for a typical PDS project is delivered in the PD Shell sqls directory.you must be able to log in on the database server as the specified o/s username). After making any changes to the init. In this example. 260 Oracle 8i . The database name will be the same as your SID (pds in this example).ora file. Should this happen there is a way to transfer this data out of the system tablespace and into the pds tablespace (using the exp and imp utilities). 24.APPENDIX G PDS Project Setup The amount of memory used by Oracle can be seen by entering sho sga while in Server Manager and connected as the sys user .it is shown as the Total SGA Size. Usernames can now be created. Write these down!! Note that the up arrow key can be used to recall the previous command. while connected as the internal user) to start the database. in this example). Note also that a new Oracle username must be created for each new schema that you wish to create. type startup (from within Server Manager. alter user pd_proj1 default tablespace pds temporary tablespace temp_segs. 25. To create a user for the PDS PD schema for a project named proj1 the following commands would be used: grant connect. The second command is crucial . In the Create Schema form the database username will be the username you created in Server Manager (pd_proj1). The o/s username and network address will be specific to your server (NOTE . the passwords have both been set to manager.it tells Oracle to store this users data in the pds tablespace and not the system tablespace. With Oracle8i auto start is the default for your new instance. A schema can now be created against this Oracle username. The database management system location will be where you installed Oracle (e:\orant. resource to pd_proj1 identified by pd_proj1. Oracle 8i 261 .Database Setup---Oracle for Windows NT APPENDIX G While in Server Manager (svrmgrl.where username is the user to be deleted.exe) and connected as the sys or system user . . . . . If the machine is a client as well as a database server. . 262 Production Database Installation . . For example. On a typical SMP servers. . . additional tablespaces and rollback segments are created. 5. . You may need to adjust the sizes and locations of the files as described below to meet your requirements and your system setup (RAID configuration. . . . 268 Removal of Older RIS Client Loading the RIS database-specific data server for this database type also loads a version of the RIS client. .02. . . . .1) after loading the data server. . If you are running applications that use the RIS V4 client. In this example. . . .04 program group. . . . You can remove the older versions of the RIS client software by doubleclicking Configure RIS Version in the RIS program group with the highest version number.0. . and a database is created manually. . you would double-click Configure RIS Version in the RIS 05. For this reason. . . . . This is because the RIS V5 database-specific data server does not support connections from RIS V4 clients. . Production Database Installation These instructions take you through the Oracle 8. This installation takes longer than the installation of the starter database. if RIS 05. but results in a database that requires less maintenance. the "old UNIX strategy" of distributing 262 Oracle 8 . . . . In this procedure. your applications may not behave as you expect. If you have multiple versions of RIS client software on your machine. . then this may not be a problem. .04 program groups all exist on a node. If the machine is purely a database server and does not run any applications that use RIS client. .03. RIS 05. . . . . the database software is installed on the E drive. . the Oracle system files are installed.APPENDIX G PDS Project Setup Oracle 8 Oracle 8 Topics Removal of Older RIS Client . . . . . . and RIS 05. . . . 262 Automatic Startup for Oracle . . As a precaution. . . then you may need to remove any older versions of the RIS client software. Afterwards. . . . . . . . If you are running applications that use RIS V5 client. you must remove it and upgrade your schemas to V5 after loading the RIS V5 Oracle data server. . . .0 installation where you do not let the install script create the starter database. . you may have to remove older versions (5. all system drives are spread across all available physical drives by virtue of the RAID configuration. . . and so on). . and the database files are also installed on the E drive. . make a copy of the schemas file if it is located in any of the older RIS product directories. . . An Oracle for Windows NT Start menu entry have been created. From the menu click Edit > Add Value. and then enter and confirm the DBA password (this is the password for the internal user---a suggested value is manager). In the HKEY_LOCAL_MACHINE window. the following choices were made: Oracle8 Enterprise Edition 8. The new entry displays on the right-hand side of the dialog box under the ORACLE_PRIORITY entry. Click Install to start installation. Start Instance Manager (oradim80. Dismiss the information dialog box. Go into the orant\database directory.0. this init. 4. Set the startup to either Automatic or Manual. Leave the Instance and Service set to Startup after creation. When the installation is complete. Double-click on the install script (setup. Follow these steps to complete the installation of the database: 1. A list of available products displays in the Software Asset Manager menu. and then click OK. ■ Oracle 8 263 . Enter the registry editor. in the orant\bin directory). choose REG_SZ (the default choice). and copy the file initorcl. Choose Custom Installation. and for the Data Type. Items with a "+" sign next to them can be expanded by double-clicking on them. and then click OK.3.3. 3. In this example.0 You can hold down the CTRL key and click to select multiple items from this form. an information dialog box displays. where to install the database software (e:\orant in this example).exe). set Create Started Database to None. NOTE: If this is the second SID. Double-click it to show its contents. enter ORACLE_SID.80 to initpds. ■ 2. you will have to shut it down before you can perform backups of the database files (using NTBACKUP for example). NOTE: If Oracle is auto-started. ■ 5. For the value.ora file should be edited so that its database name and control file names are different than the first SID.0. This example creates a database with a SID of pds. and click New to create the new instance.0.0. Enter your Company Name.exe. and then enter pds for the string. For the SID enter pds. NOTE: If this is a second SID. Click Exit to exit the installation program.Database Setup---Oracle for Windows NT APPENDIX G the database files across multiple disks to avoid an input/output bottleneck on a single physical disk may not apply. The installation starts.0 Oracle8 Utilities 8. you should make sure the setting of ORACLE_SID in the registry has been changed to that of the second SID being created. On the next dialog box. Choose your language.ora. find the ORACLE directory under the SOFTWARE category. Click OK. Click OK on the warning message. ■ 6.ora). We suggest that three logs be created in case one is lost. (for example: e:\orant\sqls). set the Server Manager working directory to this location. create a directory for storing personal SQL files. The Logfile field displays the names and locations of the two log files Oracle will create. Click Advanced to display the Advanced Options dialog box. Accept the default names. and then a message appears informing you that the SQL files catalog.sql and catproc. Accept this message to start the database creation process. you must also make the same change to the db_name parameter in the initpds. The database creation process completes and entries display in the Instance Manager for the SID. but change the sizes from 200k to 10M. locations. If you have more than one instance on your server. The size of the datafile (for the system tablespace) should be changed to 100M. Accept this dialog box so that these files are processed. and sizes by editing the string. The Service and Instance are both started (if these options were accepted when the SID was created). Oracle will shut the instance down after these files are processed. you can set the value of ORACLE_SID in the registry.ora file. You can change the names. NOTE: You must not be connected to a database when issuing this statement.ora in the Oracle home directory (in this example.APPENDIX G PDS Project Setup Set the Parameter Initialization Filename to database\initpds. but it cannot start if one of two logs are available. You can click the Refresh button in Instance Manager and wait until the instance is stopped before continuing. The Server Manager utility (orant\bin\srvrmgr30. Click OK on both dialog boxes. then start Server Manager. e:\orant\database\initpds. ■ 264 Oracle 8 . The database is created. Before starting Server Manager. If you have only one instance. The file name is derived from the SID name entered earlier. Oracle can start if two of three logs are available. Leave the database name set to ORACLE---if you change it here. you can select which instance you wish to work with by entering: set instance 2:SIDNAME Where SIDNAME is the name of the instance you wish to work with.sql will now be processed. and when you start Server Manager it will read the value from there.exe) is a command-line interface to the database that can be used to perform many administrative tasks. Leave the rest of the options set to the default values unless you are familiar with their usage. Make sure the names for the log files are unique. A warning message displays about the setting of the remote_password_file parameter in the init. You must be certain that these files have been completely processed before continuing.ora file before proceeding. NOTE: It will take some time for these SQL files to process. create tablespace temp_segs datafile ’e:\orant\database\temp. It assumes the file has a . If an error appears you may need to re-examine your installation. You can put the commands shown above into a text file named cre_ts.sql extension. NOTE: Be sure to record these passwords.dbf’ size 10M. create tablespace pds datafile ’e:\orant\database\pds. Oracle 8 265 . Store this file in the e:\orant\sqls directory. temporary segments. You should see the word connected appear in response to this command. NOTE: This method of starting the database is very useful as it will show any errors encountered (whereas in Instance Manager the database may fail to start and you will get no indication as to what the problem is). tablespace rollback optimal 500k). create tablespace rollback_segs datafile ’e:\orant\database\roll. alter user system identified by manager. and then run it by entering: @cre_ts while in Server Manager. Create twenty additional rollback segments.dbf’ size 30M. The SQL files are handy to have as a record of how the database was created. and PDS data. These tablespaces can be increased in size later if required. We suggest that a cre_roll. Type startup to start the database (this assumes that it is shut down as a result of the processing of the catalog and catproc SQL files). create rollback storage(initial create rollback storage(initial segment roll1 256K next 64K segment roll2 256K next 64K tablespace rollback optimal 500k). Set the password for the sys and system users: alter user sys identified by manager.Database Setup---Oracle for Windows NT APPENDIX G Connect to the database by entering connect internal/password (where password is the DBA password entered earlier (manager in this example) and then press ENTER. It will look in the working directory (e:\orant\sqls) for this file. Create additional tablespaces for rollback segments.dbf’ size 200M. The locations will vary with your system configuration. ■ 8. the passwords have both been set to manager. ■ 7. 9. A 200MB PDS tablespace will be adequate for one large 2D/3D project. In this example.sql file be created and run as described earlier. You should see messages that display the SGA size (amount of memory allocated by Oracle) and that the database was mounted successfully.sql. ora Double-click on the startup. You may want to make additional changes to the initpds. roll20) where all twenty rollback segments have been specified.ora file. and depends on the settings of the other parameters in this file. This parameter is the major determinant of overall system performance and is also the major determinant in calculating the size of the memory chunk set aside for Oracle’s use. Shut the database down (connect as internal and type shutdown). roll5. If you did not choose auto start when you created the instance. Assuming you have at least 128MB RAM on your server. You can see the amount of memory used by Oracle by typing sho sga while in SQLDBA and connected as the sys user. NOTE: Do not haphazardly edit these parameters---if you take the BIG settings for all of them. The actual number will be slightly larger.. Oracle may acquire so much memory that other programs cannot run.APPENDIX G PDS Project Setup : : : : : : create rollback segment roll20 tablespace rollback storage(initial 256K next 64K optimal 500k). At this point you can edit the initpds. roll3. If you take the value of db_block_buffers and multiply it by 2048 you will have a rough idea how much memory (in bytes) will be "lost" just by starting up Oracle.bat file and make sure that it starts Oracle.inst -usrpwd manager -pfile e:\orant\database\initpds. 11. roll19. a good first guess would be to use the large value for db_block_buffers and medium values for everything else. roll18. . checkpoints are done only when Oracle switches log files).cmd located in the orant\database directory. roll4. you can create a startup. Your file name will have the name of your SID incorporated into it.bat file and put a single line in it: e:\orant\bin\oradim80 -startup -sid pds -startype srvc. roll2. At a minimum.. ■ Also change log_checkpoint_interval to 50. 10. This command displays the Total SGA Size.ora file and add the following line to the file: rollback_segments = (roll1. you can start the database by double-clicking on the file strtpds. If you chose auto start when you created the instance.ora parameters may require additional revisions based on the mix of work done at your site. 12.. you should increase the size of the parameter db_block_buffers..000 (by making this value larger than the size of the log files. roll6. 266 Oracle 8 . The init. you can transfer the users data out of the system tablespace and into the pds tablespace using the exp and imp utilities. resource to pd_proj1 identified by pd_proj1. NOTE: A script to create all of the Oracle users for a typical PDS project is delivered in the PD Shell sqls directory. The Database Name is the same as your SID (pds in this example). NOTE: You must be able to log in on the database server as the specified operating system username. Assuming a PDS project name of proj1. ■ You can now create a schema against this Oracle username.ora file in the orant\net80\admin directory and commenting out (or deleting) the following line: sqlnet. An Oracle username and all of the objects that user owns can be deleted using the following: drop user username cascade. the relatively small system tablespace fills rapidly. In the Create Schema dialog box. Should this happen. Oracle 8 267 . The Operating System Username and Network Address is specific to your server.Database Setup---Oracle for Windows NT APPENDIX G 13. The second command is crucial---it tells Oracle to store this users data in the pds tablespace and not the system tablespace. ■ NOTE: You must create a new Oracle username for each new schema that you create. While in Server Manager and connected as the sys or system user .where username is the user to be deleted. in this example). alter user pd_proj1 default tablespace pds temporary tablespace temp. This file can be edited and run from within Server Manager by entering: @c:\win32app\ingr\pdshell\sql\oracle\create. This requirement can be disable by editing the sqlnet. The Database Management System Location is where you installed Oracle (e:\orant. Now you can create usernames. the Database Username is the username you created in Server Manager (pd_proj1). the following commands would be used to create the username for the PD schema: grant connect.authentication_services = (NTS) A new Oracle username must be created for each new schema that you wish to create. ■ With Oracle8 there is a new "authorization" feature that requires that the operating system username used in the Create Schema form must also be an administrator. If you forget to do this. If you have additional problems. please log a call to the Help Desk. and it in turn will call strtpds. then the automated backup scripts would not copy all of the Oracle database files to tape because NTBACKUP will skip files that are open.bat file from an AT job (after the tape backups have completed). If Oracle was auto-started.cmd when the server is booted. we have nightly backup scripts that reboot the server at midnight.exe.APPENDIX G PDS Project Setup Automatic Startup for Oracle If you specified automatic startup when the instance was created no additional actions are required. For this reason Oracle is started at 4am by calling the startup. perform a full backup of all Oracle database files. it points to the executable strtdb80. and then perform full and incremental backups of the rest of the drives (on a rotating basis). On our server. The service OracleStartpds will be created. 268 Oracle 8 . . .04 program groups all exist on a node. . . . . . . . You may need to adjust the sizes and locations of the files as described below to meet your requirements and your system setup (RAID configuration. . In this procedure.1) after loading the data server. . . . . In this example.02. . Afterwards. For this reason. . and so on).03. the "old UNIX strategy" of distributing Oracle 7. if RIS 05. . . 269 Automatic Startup for Oracle . RIS 05. .3 269 . If the machine is a client as well as a database server. . you must remove it and upgrade your schemas to V5 after loading the RIS V5 Oracle data server. . and a database is created manually. all system drives are spread across all available physical drives by virtue of the RAID configuration. . . . 274 Removal of Older RIS Client Loading the RIS database-specific data server for this database type also loads a version of the RIS client. and RIS 05. If you are running applications that use RIS V5 client.0. Production Database Installation These instructions take you through the Oracle 7. . . additional tablespaces and rollback segments are created. . . . This is because the RIS V5 database-specific data server does not support connections from RIS V4 clients. . . . your applications may not behave as you expect.3 installation where you do not let the install script create the starter database. . and the database files are also installed on the E drive. . . . . . 269 Production Database Installation .Database Setup---Oracle for Windows NT APPENDIX G Oracle 7. the Oracle system files are installed. . . . then this may not be a problem. 5. . If you have multiple versions of RIS client software on your machine. . you would double-click Configure RIS Version in the RIS 05. . . . . . . but results in a database that requires less maintenance. For example. you may have to remove older versions (5.3 Oracle 7. . . . . If the machine is purely a database server and does not run any applications that use RIS client. then you may need to remove any older versions of the RIS client software. the database software is installed on the E drive. . . . . . As a precaution. . make a copy of the schemas file if it is located in any of the older RIS product directories. . . You can remove the older versions of the RIS client software by doubleclicking Configure RIS Version in the RIS program group with the highest version number. This installation takes longer than the installation of the starter database. . . . . . On a typical SMP servers. . If you are running applications that use the RIS V4 client. . .3 Topics Removal of Older RIS Client . .04 program group. 3. The new entry displays on the right-hand side of the dialog box under the ORACLE_PRIORITY entry. set Create Started Database to None. Click Install to start installation.3 .0 Oracle7 Utilities 7.0. Double-click it to show its contents. Click Exit to exit the installation program. When the installation is complete. A list of available products displays in the Software Asset Manager menu.3.APPENDIX G PDS Project Setup the database files across multiple disks to avoid an input/output bottleneck on a single physical disk may not apply. 270 Oracle 7. Log off from the computer. and then enter and confirm the DBA password (this is the password for the internal user---a suggested value is manager). ■ 5. Choose your language. This example creates a database with a SID of pds. the following choices were made: Oracle7 Server 7. Go into the orant\database directory.0. Dismiss the information dialog box. and then click OK. log back on. In this example. Click OK.3. Items with a "+" sign next to them can be expanded by double-clicking on them. Choose Custom Installation. and for the Data Type.ora. In the HKEY_LOCAL_MACHINE window. An Oracle for Windows NT Start menu entry have been created. and repeat the installation steps up to this point.0 You can hold down the CTRL key and click to select multiple items from this form. where to install the database software (e:\orant in this example). Enter your Company Name. The installation starts.ora file should be edited so that its database name and control file names are different than the first SID. 3. enter ORACLE_SID. choose REG_SZ (the default choice). an information dialog box displays. For the value.3.73 to initpds. you should make sure the setting of ORACLE_SID in the registry has been changed to that of the second SID being created. From the menu click Edit > Add Value. and copy the file initorcl. Follow these steps to complete the installation of the database: 1. Enter the registry editor. and then enter pds for the string. NOTE: If this is a second SID. For the SID enter pds. Start Instance Manager. Set the startup to either Automatic or Manual. find the ORACLE directory under the SOFTWARE category. this init. Click OK to add orant\bin to the PATH. ■ 2. Leave the Instance and Service set to Startup after creation. Click OK on the warning message.exe). and then click OK. 4. On the next dialog box. NOTE: If this is the second SID. and click New to create the new instance. Double-click on the install script (setup. If you have only one instance. ■ 6. NOTE: You must not be connected to a database when issuing this statement. (for example: e:\orant\sqls). ■ Oracle 7. Click OK on both dialog boxes. Make sure the names for the log files are unique. Accept this message to start the database creation process. NOTE: It will take some time for these SQL files to process. and sizes by editing the string. set the Server Manager working directory to this location. The size of the datafile (for the system tablespace) should be changed to 100M. The database creation process completes and entries display in the Instance Manager for the SID. You can click the Refresh button in Instance Manager and wait until the instance is stopped before continuing. The database is created. e:\orant\database\initpds.ora file. Accept this dialog box so that these files are processed. and when you start Server Manager it will read the value from there. We suggest that three logs be created in case one is lost.Database Setup---Oracle for Windows NT APPENDIX G NOTE: If Oracle is auto-started. You must be certain that these files have been completely processed before continuing. create a directory for storing personal SQL files. you can set the value of ORACLE_SID in the registry. The Logfile field displays the names and locations of the two log files Oracle will create. Oracle will shut the instance down after these files are processed.ora).exe) is a command-line interface to the database that can be used to perform many administrative tasks. Accept the default names.sql will now be processed. The file name is derived from the SID name entered earlier. you must also make the same change to the db_name parameter in the initpds. If you have more than one instance on your server.ora in the Oracle home directory (in this example. Click Advanced to display the Advanced Options dialog box. then start Server Manager. Leave the rest of the options set to the default values unless you are familiar with their usage. The Service and Instance are both started (if these options were accepted when the SID was created). Leave the database name set to ORACLE---if you change it here. Before starting Server Manager. You can change the names. ■ Set the Parameter Initialization Filename to database\initpds. The Server Manager utility (orant\bin\srvrmgr23. locations.sql and catproc.3 271 . you can select which instance you wish to work with by entering: set instance 2:SIDNAME Where SIDNAME is the name of the instance you wish to work with. but it cannot start if one of two logs are available. you will have to shut it down before you can perform backups of the database files (using NTBACKUP for example).ora file before proceeding. and then a message appears informing you that the SQL files catalog. Oracle can start if two of three logs are available. but change the sizes from 200k to 10M. A warning message displays about the setting of the remote_password_file parameter in the init. You should see messages that display the SGA size (amount of memory allocated by Oracle) and that the database was mounted successfully.sql file be created and run as described earlier. create rollback storage(initial create rollback storage(initial 272 Oracle 7. . It will look in the working directory (e:\orant\sqls) for this file. The SQL files are handy to have as a record of how the database was created. Create twenty additional rollback segments. create tablespace pds datafile ‘e:\orant\database\pds.sql extension. These tablespaces can be increased in size later if required.dbf’ size 200M. alter user system identified by manager.dbf’ size 30M.sql. and then run it by entering: @cre_ts while in Server Manager. ■ 8. the passwords have both been set to manager. The locations will vary with your system configuration. create tablespace rollback_segs datafile ‘e:\orant\database\roll. create tablespace temp_segs datafile ‘e:\orant\database\temp. 9. We suggest that a cre_roll. It assumes the file has a . and PDS data. NOTE: This method of starting the database is very useful as it will show any errors encountered (whereas in Instance Manager the database may fail to start and you will get no indication as to what the problem is). In this example.APPENDIX G PDS Project Setup Connect to the database by entering connect internal/password (where password is the DBA password entered earlier (manager in this example) and then press ENTER. Create additional tablespaces for rollback segments. temporary segments. NOTE: Be sure to record these passwords. tablespace rollback optimal 500k). ■ 7.3 segment roll1 256K next 64K segment roll2 256K next 64K tablespace rollback optimal 500k). Store this file in the e:\orant\sqls directory. Type startup to start the database (this assumes that it is shut down as a result of the processing of the catalog and catproc SQL files). If an error appears you may need to re-examine your installation. You can put the commands shown above into a text file named cre_ts.dbf’ size 10M. Set the password for the sys and system users: alter user sys identified by manager. You should see the word connected appear in response to this command. bat file and make sure that it starts Oracle. a good first guess would be to use the large value for db_block_buffers and medium values for everything else..ora file and add the following line to the file: rollback_segments = (roll1. roll20) where all twenty rollback segments have been specified.cmd located in the orant\database directory. NOTE: Do not haphazardly edit these parameters---if you take the BIG settings for all of them. The init. roll19.. You may want to make additional changes to the initpds. checkpoints are done only when Oracle switches log files). you can create a startup. Assuming you have at least 128MB RAM on your server.Database Setup---Oracle for Windows NT APPENDIX G : : : : : : create rollback segment roll20 tablespace rollback storage(initial 256K next 64K optimal 500k). 11. Shut the database down (connect as internal and type shutdown).ora file. Oracle may acquire so much memory that other programs cannot run. This parameter is the major determinant of overall system performance and is also the major determinant in calculating the size of the memory chunk set aside for Oracle’s use. . roll18.ora Double-click on the startup. 10.. Oracle 7. roll2. If you take the value of db_block_buffers and multiply it by 2048 you will have a rough idea how much memory (in bytes) will be "lost" just by starting up Oracle.3 273 .bat file and put a single line in it: e:\orant\bin\oradim73 -startup -sid pds -startype srvc. 12. The actual number will be slightly larger. roll4. and depends on the settings of the other parameters in this file. Your file name will have the name of your SID incorporated into it. This command displays the Total SGA Size. ■ Also change log_checkpoint_interval to 50. roll6. roll5.inst -usrpwd manager -pfile e:\orant\database\initpds. you should increase the size of the parameter db_block_buffers. roll3.000 (by making this value larger than the size of the log files. At this point you can edit the initpds. you can start the database by double-clicking on the file strtpds. At a minimum.. If you did not choose auto start when you created the instance. If you chose auto start when you created the instance. You can see the amount of memory used by Oracle by typing sho sga while in SQLDBA and connected as the sys user.ora parameters may require additional revisions based on the mix of work done at your site. ■ An Oracle username and all of the objects that user owns can be deleted using the following: drop user username cascade.where username is the user to be deleted. In the Create Schema dialog box. The second command is crucial---it tells Oracle to store this users data in the pds tablespace and not the system tablespace.APPENDIX G PDS Project Setup 13. Now you can create usernames. The Database Management System Location is where you installed Oracle (e:\orant. If you forget to do this. you can transfer the users data out of the system tablespace and into the pds tablespace using the exp and imp utilities.cmd when the server is booted. This file can be edited and run from within Server Manager by entering: @c:\win32app\ingr\pdshell\sql\oracle\create. in this example). we have nightly backup scripts that reboot the server at midnight. alter user pd_proj1 default tablespace pds temporary tablespace temp. The Database Name is the same as your SID (pds in this example). While in Server Manager and connected as the sys or system user . the relatively small system tablespace fills rapidly. The service OracleStartpds will be created. 274 Oracle 7. NOTE: A script to create all of the Oracle users for a typical PDS project is delivered in the PD Shell sqls directory. Should this happen.exe. Automatic Startup for Oracle If you specified automatic startup when the instance was created no additional actions are required. the following commands would be used to create the username for the PD schema: grant connect. ■ You can now create a schema against this Oracle username. NOTE: You must be able to log in on the database server as the specified operating system username. On our server. it points to the executable strtdb73. the Database Username is the username you created in Server Manager (pd_proj1). Assuming a PDS project name of proj1. perform a full backup of all Oracle database files. ■ NOTE: You must create a new Oracle username for each new schema that you create. and then perform full and incremental backups of the rest of the drives (on a rotating basis). resource to pd_proj1 identified by pd_proj1. The Operating System Username and Network Address is specific to your server. and it in turn will call strtpds.3 . please log a call to the Help Desk. For this reason Oracle is started at 4am by calling the startup.bat file from an AT job (after the tape backups have completed).Database Setup---Oracle for Windows NT APPENDIX G If Oracle was auto-started. then the automated backup scripts would not copy all of the Oracle database files to tape because NTBACKUP will skip files that are open.3 275 . If you have additional problems. Oracle 7. APPENDIX G 276 Oracle 7.3 PDS Project Setup . 0 on page 278 ● MSSQL Server 6. we recommend that the RIS MSSQL Data server (RISMSFDS) be loaded. Prior to loading MSSQL. Topics ● MSSQL Server 7.5 on page 283 277 .A P P E N D I X H Database Setup---Microsoft SQL This appendix covers the installation of Microsoft SQL Server (MSSQL) on systems running Windows NT™. lesser than 05.05. Also NT Service Pack 4 and Internet Explorer 4.APPENDIX H PDS Project Setup MSSQL Server 7.0 on systems running Windows NT™. which was de-selected.0 on systems running Windows NT. In this case the default choice of c:\mssql7 was accepted. Continue to the next form and pick the components to be loaded. Topics ● Installing MSSQL 7. Enter your Company/Name and continue. Continue to the next form .0 This section covers the installation of Microsoft SQL Server (MSSQL) v7.Case Sensitive if you are using prior versions of RISMFDS.00. Select Local Install and the Next button to advance through the next 2 forms. to CASE SENSITIVE.01 must be present.06. In the Network Libraries form. By default.0 This section covers the installation of Microsoft SQL Server (MSSQL) v7. Enter the destination for the program files and data files.e.Case Sensitive. the setup program will install the database software and create all database files on the C drive. However you do need to change the sort order to Dictionary Order . Prior to loading MSSQL.06. "Use local SYSTEM 278 MSSQL Server 7.bat. change the Service Settings to. accept the default choices and continue. Continue on to the next form.0.0 on page 278 ● Create User Database on MSSQL 7. start the setup program by double-clicking on setup.005. In this form the Sort Order was changed to Dictionary Order .0 on page 280 Installing MSSQL 7. which is CASE INSENSITIVE. Pick OK and in the Setup Type form pick Custom. Prior to loading MSSQL it is suggested that the RIS MSSQL Data server (RISMSFDS) be loaded. which is certified with SQL Server 7. ■ After changing or accepting the default sort order accept the defaults for the remaining choices in this form.0 . we recommend that the RIS MSSQL Data server (RISMSFDS) be loaded.Character Set/Sort Order/Unicode Collation. Having installed RISMSFDS and identified where the database software and database files will be installed. The defaults were accepted with the exception of Books OnLine. i. In the Services Accounts form. The database software requires approximately 100MB (not including the on-line books) and another 120MB would be required for a database sufficient for a PDS 2D/3D project. you no longer need to change the default sort order for SQL Server. NOTE: If you are using RISMFDS 05. Enter your CD key and continue. in order for it to work with PDS.00. You will then be asked to reboot. and again in the RHS you will see grey squares that represent tasks you can perform to modify or administer the selected database. After setting your licensing mode. and much more. This estimate would have to be refined by monitoring the server and determining if more or less memory can be devoted to the database. The master database contains information about the entire MSSQL setup . locations. So on a server with 128M I would specify an upper limit of 20M. As a first estimate I chose 15% of the total server memory as the upper limit. Under the Memory tab note that MSSQL can now dynamically allocate memory as required or run with a fixed amount. You can examine the settings under the remaining tabs (I made no changes) and then pick Apply then OK. Depending on the amount of memory available on your server and on the additional workload. By default MSSQL grabs about 14M. Pick your server name in the left-hand side (LHS) and in the right-hand side (RHS) you should see grey squares. Underneath the SQL Server Group you should see your server name. you may wish to either: ● Use Dynamic Allocation with an upper limit in place ● Use Fixed Allocation and specify the amount to use I chose Dynamic Allocation and put an upper limit in place. that when explored will allow you to perform a variety of tasks on your installation. This choice should be consistent with your licensing options. It has an explorer-style interface that lets you manage your databases and perform many administrative duties. and sizes of the datafiles for this MSSQL Server 7.0. The tempdb database is where information is temporarily stored when performing operations such as sorts.Database Setup---Microsoft SQL APPENDIX H account.the locations of all datafiles. After rebooting go into the mssql7\data directory and there you will find the data files (mdf) and log files (ldf) for the delivered databases which include: ● Master ● Model ● Msdb ● Northwind ● Pubs ● Tempdb The ones we are concerned with at this point are master. Under the General tab note if auto-start is set or not. Right-click on your server name and pick Properties. Right-click on the master database and pick Properties. Under your server name. and tempdb. files will be copied to your local drive and services installed and started.0 279 . The model database can be thought of as a seed file that is used as the basis for creation of new databases. model." Continue on to the Licensing Mode form. This is one of the major new features in 7. start Enterprise Manager. From the Start Menu. pick a database. the list of all users and logins. The General tab shows the names. Typically a problem arises when performing certain operations (like deleting or inserting a large number of rows) where the transaction log for a particular database will become full and the operation will fail. For the model database similarly de-select "Automatically grow file" for the data and log files. A drawback of this approach is that dropping a users objects is a bit more work .one per RIS schema." The Transaction Log tab shows the names. For tempdb de-select "Automatically grow file" for the data and log files. large database must be dropped using a script or from within Enterprise Manager.you can examine the file sizes in the mssql7\data directory and verify that indeed the files are now larger. These usernames are granted the privilege to create objects inside the large database. A drawback of this method is that it leads to the creation of many transaction logs (one per database) and many disk files. you can pick right-click and pick New Database or go to the menubar and pick Action > New Database. Using this methodology the users objects in the single. In Enterprise Manager. You can also examine the Options tab and verify that "truncate log on checkpoint" has been selected. The sizes of the data and log files can be left as is. Pick Apply and OK. HINT . Also de-select Automatically grow file.APPENDIX H PDS Project Setup database. 280 MSSQL Server 7. verify that "truncate log on checkpoint" has been selected. Change the size from 2 to 5.one large database is created and multiple MSSQL usernames are created . this is a personal choice. Also go down to the File Properties and de-select "Automatically grow file. At the bottom of the form pick Apply then OK .0 . Go to the Space Allocation field for the existing datafile and change it from 9 to 20. We now want to create a database for PDS to use. and verify that "truncate log on checkpoint" has been selected.0 At one time we advocated the creation of one database per RIS schema. be sure to check the Windows NT Event Log . with Databases selected in the LHS. In this paper an alternative approach is used . Using this approach there is only one transaction log to manage. Pick Apply and OK. but as a DBA I would prefer to be in control of the size and placement of the files associated with my database.MSSQL writes many diagnostic and error messages here. locations.if you suspect you are having problems with MSSQL and transaction logs. each of which must be managed. Regarding the de-selection of Automatically grow file. and also change the size of the data file to 10MB.using the previous methodology (one database per RIS schema) you could simply drop the database associated with a particular schema. If a file runs out of space I can then choose whether I want to extend an existing file or perhaps create an additional file on another drive. and sizes of the datafiles for the transaction log. Create User Database on MSSQL 7. The file should be loaded and can be run by picking the "green arrow that points to the right" from the menubar. Pick the Transaction Log tab and in the Transaction Log Files section verify/modify the file name/location as desired while also setting the initial size to 20M.Database Setup---Microsoft SQL APPENDIX H Enter a database name of pds and under the General tab in the Database Files section verify/modify the file name/location as desired while also setting the initial size to 100M. we now want to create logins and usernames for the schemas to use. In Query Analyzer pick the "open folder" gadget from the menubar and browse to the create.you should then be connected to the database. pd_ proj1. pds go use pds go sp_adduser pd_ proj1. When revising the short script shown above to create all logins/users for a project. To run this script. then it "attaches" to a database. then after connecting to the pds database create all users and grant privileges. Also de-select "Automatically grow file" for both the database file and log file.0 281 .sql file which was made earlier. The suggested way to do this is to create a script and then run this script from inside Query Analyzer. The only messages you should see include "new login created" and "granted database access. creates a username (with the same name). The login is created once per SQL Server and the username is created once per database. and grants that user privilege to create and delete objects in the current database (for details see the online books or the Transact-SQL Reference guide). pd_ proj1 go grant all to pd_ proj1 go What this script does is to create a login. associates that username with the previously created login. start the Query Analyzer and in the main menu pick the browse gadget at the RHS that has "three little dots" in it. Verify that the database and log files are not set to auto-grow and that the "truncate log on checkpoint" has been selected." MSSQL Server 7. A sample script to create all users for a typical PDS project is delivered with PD Shell in the sql\mssql directory. Pick (local) and for the connect info use sa with no password . Having created the pds database. A sample script is shown below to create a single a user for the PDS PD schema: sp_addlogin pd_proj1. A single login can be associated with multiple usernames in multiple databases. Right-click on the pds database and pick Properties. Pick OK to create the database and the new files should be seen in the mssql7\data directory. just remember to create all the logins before you connect to the pds database. but I could not determine how to view the schedule that I had just created. etc. you can then drop this test schema and proceed to create your PDS project. recurring backup at midnight . These maintenance plans can be quite extensive and include updating of system statistics. pick a database. We hope that this document has assisted you with the installation of Microsoft SQL Server. Rightclick on the pds database and pick All Tasks > Maintenance Plan and create a new maintenance plan. There are a number of ways to backup your database once it has been created. 282 MSSQL Server 7. If you have additional questions please log a call with the Help Desk. and also make sure that this backup file is being written to tape after it has been created. At this point I simply de-selected all of these options and chose just to schedule a recurring daily backup. From RIS schema manager. and in the RHS pick the "backup database" option from within the "Backup grey square. I then tried a different way that did allow me to review the schedule.0 ." I went through and completed the forms to create a daily. One way I tried to do this was to go back into Enterprise Manager. go into the Create Schema form and enter the following info: schema name = "pd_ proj1" net address = "name of db server" db username = "pd_ proj1/ pd_ proj1" o/s type = "Windows NT" db type = "MSSQL" db name = "pds" dsquery = "name of db server" o/s username = "valid login on the db server" Assuming this works.APPENDIX H PDS Project Setup We can now create schemas against this database. After creating the backup plan you should monitor the location of the output file and make sure it is being updated every day. By default the master device is created in the data directory and is called master.Database Setup---Microsoft SQL APPENDIX H MSSQL Server 6. The database software requires approximately 45MB (including the on-line books) of free disk space. Accept the default choice of Install SQL Server and Utilities.5 on systems running Windows NT™. and the pubs database is the sample database used in all examples given in the documentation. and so forth) but does not contain MSSQL Server 6. the tempdb database is used for temporary storage. user databases. Its default size is 25MB but we suggest that you increase this to 40MB. the master device is created. The rest of this appendix will describe such an installation. The master database is the database MSSQL uses for its own administration. we recommend that the RIS MSSQL Data server (RISMSFDS) be loaded. The model database is the seed database used when new databases are created. When MSSQL is installed. and on that device the master database is created.exe in the I386 directory to start setup. The next form shows the directory where the database software will be installed. Advancing to the next form. the drive and path of the master device is displayed. To advance through setup.dat.Options form. Type your name and any additional information required. click Continue or press ENTER.5 on page 286 Installing MSSQL Server 6. The MSSQL device is similar to the datafile concept used in Oracle and the chunk concept used in Informix. double-clicking setup. Advance into the SQL Server Setup for Windows NT .5 on page 283 ● Creation of User Database on SQL 6. and pubs databases are also created on the master device.5 This section covers the installation of Microsoft SQL Server (MSSQL) v6. Another 250MB is required for a database sufficient for a large PDS 2D/3D project.5 By default. After installing RISMSFDS and identifying where the database software and database files are going to be installed. Topics ● Installing MSSQL Server 6. Prior to loading MSSQL.5 283 . Select the licensing mode that is consistent with your licensing options. The master database contains information about the structure of the MSSQL installation (devices. The device is a unit of pre-allocated disk space in which databases can be created. tempdb. the model. the MSSQL setup program installs the database software and creates all database files on the C: drive. we suggest that additional devices be created for storing PDS data. In addition to the master database. In addition to the master device. 5 . Space has been allocated on the master device as shown below: 284 MSSQL Server 6. especially if you don’t have any hard-copy documentation. Backup Devices.case sensitive is one that meets this criteria. setup displays a message stating that a reboot is required. you may get an error about "unable to open msvcrt20. ALT-TAB to file manager and go to . On Intergraph’s PDS server. After rebooting (and starting the server using the SQL Service Manager icon. ■ Another option you can specify is whether or not SQL Server is to be started at boot time. SQL Executive. all drives are backed up to tape. click Manage > Database Devices and double-click on Master. Continue to the next screen. WARNING: If you do not select a case-sensitive sort order you will eventually run into problems that will require that the database be recreated. Advancing to the next screen.5 icon.dll. you have the option of loading the on-line books to disk or to set them up to run from CD. indented under the SQL 6. however. You can. After accepting this form the actual installation starts." If you get this message.APPENDIX H PDS Project Setup information about individual tables in user databases . We chose to install to log on as local system account. and Register. A registration form appears .enter your machine name in the Server field and select Trusted Security. Objects that are expanded have a "-" sign next to them. We suggest loading them to disk if you can afford the space (about 15M) because they will come in handy. we do not have this set . When done. Distributed Transaction Coordinator. The reasons for choosing a case-sensitive sort order are discussed in the RISMSFDS readme file. if auto-start at boot was not set) double-click the SQL Enterprise Manager icon. and Logins. It should expand and list SQL Mail. Enterprise Manger uses a Windows-95 style navigator interface.. The next screen prompts you for a login for the SQL Executive. Database Devices. each of which can be further expanded. About halfway through copying the files to disk. ALT-TAB back to the setup form and click Retry.sav. When downloading is complete. At this point you must click the "sort order" button and change your sort order to one that is case-sensitive! The choice Dictionary order .the user databases each contain a subset of the tables in the master database. From the menu bar. and then all databases are started manually. At the next screen additional installation options are available.\winnt\system32.dll to msvcrt20. exit to Windows NT if a reboot at that time is not convenient. If the database is auto-started at boot time then ntbackup skips the data files. Rename the existing msvcrt20. Objects that can be expanded have a "+" sign next to them. The Edit Database Device form displays the databases that reside on that device. You should see an icon representing your SQL Server appear at the upper left.at midnight our server is rebooted. Exit from the registration form and click the "+" sign next to the icon representing your MSSQL installation (looks like a stop light with the green light lit). Databases. In some cases it is desirable to have the database behave in this manner. Click the Options tab. The following are some suggested settings: Parameter name Value Locks 20000 Memory Open databases 8192 (default. the model database does not truncate its log file when a checkpoint has occurred. This will prevent the log file from becoming filled in the middle of a graphics operation and halting the database. and then click OK.5 285 . This can lead to the log file becoming filled and the database locking up until its contents have been flushed to tape or disk. From the menu bar click Manage > Databases and double-click on master (at the LHS) to view information about the master database.Database Setup---Microsoft SQL APPENDIX H DB Name Size master 17M model 1M pubs 3M tempdb 2M For a total of 23M. [8192 x 2048bytes/page]/1048576 = 16MB) 50 Open objects 20000 User connections 50 MSSQL Server 6. However. the master database should be 33MB (data size under the database tab). From the menu bar click Server > SQL Server -> Configure and then click the configuration tab. Click the Expand Now button to allocated the remaining space on the master device to the master database. When a new database is created. MSSQL uses the model database as a template. and on the next form the dropdown gadget for the Data Device. By default. Click master from the drop-down list and the remaining unallocated space on the master device (16M) should appear in the Size box (it seems to reserve 1MB). For this reason we recommended that the truncate log on checkpoint option be turned on for your application databases. Exit the Edit Database Device form. Click the Truncate log on checkpoint option. At this time some of the server configuration parameters will be revised. it makes more sense to back up the database at the same time the graphics files are backed up. In the Manage Database form. since our applications maintain a unique and intimate relation between the graphics files and the database info. double-click the model database to display its properties. Click the Expand button. When complete. and the first icon on the upper left of this form is the New Device icon. Whereas using the previous methodology (one database per RIS schema) you could simply drop the database associated with a particular schema. A drawback is that dropping a users objects is a bit more work. Conversely if you have more than 64MB of RAM on your database server you may wish to allocate more. These usernames are granted the privilege to create objects inside the large database. Click Manage > Databases. Click the log device drop-down list and click the log device .one per RIS schema. Using the "one db . Click it and type pds for the name. NOTE: If you suspect you are having problems with MSSQL. A default file name is derived from the device name. each of which had to be managed. we recommended the creation of one database per RIS schema.5 . Click it and enter the device name (pds) and the drive letter.APPENDIX H PDS Project Setup Note that if you do not have 16MB of memory to allocate for MSSQL you may wish to reduce this value. large database must be dropped using a script or from within Enterprise Manager. For the size enter 200M and then OK. Click the data device drop-down list and click the pds device. ■ The method we currently recommend is to create one large database and create multiple MSSQL usernames . Click OK to create the new database. But using this methodology the user’s objects in the single. By default MSSQL allocates all 200M for this database. Using this approach there is only one transaction log to manage. A drawback of this method was that it led to the creation of many transaction logs (one per database). Click OK and then restart SQL server by clicking the 2nd icon on the menubar (looks like a small stop-light). and the first icon at the upper left is New Database. From the menubar click Manage > Database Devices.5 In the past. be sure to check the Windows NT Event Log. We suggest that you create a script and then run this 286 MSSQL Server 6. We now want to create additional devices for storing transaction logs as well as user databases. Similarly create a log device of 50MB. MSSQL writes many diagnostic and error messages here. Prior to doing this you may want to create a directory on another drive for storing these additional devices.again.many users" approach this is acceptable. Clicking this icon should bring up the big stop light and you can stop then restart MSSQL. Accept all 50M for the transaction log. Creation of User Database on SQL 6. Typically a problem arose when performing certain operations (like deleting or inserting a large number of rows) where the transaction log became full and the operation failed. Having created the pds database. The locate button can be used to browse existing directories. we now want to create logins and usernames for the schemas to use. We now want to create a database for PDS to use. and grants that user privilege to create and delete objects in the current database (for details see the online books or the Transact-SQL Reference guide). Enter the machine name as the server. Use the load SQL file gadget (looks like an open folder) and load the script created earlier. Execute this script by clicking the Execute gadget (looks like a green right-pointing arrow). type sa as the username. Dismiss the warning message about open query sets. associates that username with the previously created login. and click the Connect button (by default the sa user has no password). you can then drop this test schema and proceed to create your PDS project.Database Setup---Microsoft SQL APPENDIX H script from inside ISQL. pd_ proj1 go grant all to pd_ proj1 go What this script does is creates a login.5 287 . To run this script. creates a username (with the same name). A sample script is shown below to create a single a user for the PDS PD schema: sp_addlogin pd_proj1. From RIS schema manager. go into the Create Schema form and enter the following info: schema name = "pd_ proj1" net address = "name of db server" db username = "pd_ proj1/ pd_ proj1" o/s type = "Windows NT" db type = "MSSQL" db name = "pds" dsquery = "name of db server" o/s username = "valid login on the db server" Assuming this works. When revising the short script shown above to create all logins/users for a project. MSSQL Server 6. A single login can be associated with multiple usernames in multiple databases. exit out of SQL Enterprise Manger and go into ISQL/w. Once connected. Then after connecting to the pds database create all users and grant privileges. click Use Standard Security. We can now create schemas against this database. pds go use pds go sp_adduser pd_ proj1. the Query tab should be active and you will be connected to the master database. "attaches" to a database. The results window pops to the front and you should see messages about logins and users that have been created. just remember to create all the logins before you connect to the pds database. The login is created once per SQL Server and the username is created once per database. You can now exit ISQL/w. pd_ proj1. A sample script to create all users for a typical PDS project is delivered with PD Shell in the ~\sql\mssql directory. 288 MSSQL Server 6.APPENDIX H PDS Project Setup If you have additional questions please log a call with the Help Desk.5 . PDprint_1. or from the Interactive Isometric software to plot isometric extractions.A P P E N D I X I The PDS queue_descript File The information in the queue_descript file controls which queues are used by PDS for its batch options. PDdraw_plt_2. ! Blank lines and comment lines beginning with ’!’ in 289 . PDifc_plt_1. The following is an example queue_descript file to be referenced in this appendix: ! Sample queue_descript file. and so on Selects the queue/node for the processing of the vector hidden line software. The default entries included in the queue_descript file are: PDprint... PDiso_batch. and so on Used by the batch queue Pdclash_server to plot interference clashes. PDiso_bat_2. PDhline. and so on Used by the queue Pdiso_batch for automatic plotting of isometric extractions. The content of the queue_descript file are interpreted differently depending on the system configuration. PDdraw_plot. PDiso_plt_2. and so on Used by the batch queues Pdplot and Pdplot_model to plot the drawing or piping model selected. This appendix describes those differences. and so on Selects the queue/node for the processing of the batch isometrics. PDdraw_plt_1. PDhline_1. PDifc_plot. PDiso_plt_1. PDifc_plt_2.. PDhline_2. and so on Used to print reports from interactive processing as well as batch processing. PDprint_2. PDiso_bat_1. PDiso_plot. . . . . . . . . . . . . . . . . . . . . . . PDprint network printer.PDiso_plot PDprint_3 CLIX printer 1 on CLIX node.PDisocreate PDiso_bat_1 Process on PDSSK PDiso_bat_2 Process on PDSBCNT Format of the queue_descript File .\\PDSTRF\LaserJet PDprint_1 Windows NT Connected Printer on a Windows NT node. . . . . . . . . . 291 292 294 297 298 . .either PDiso_batch Process Locally. . . . . . . . . . PDS Batch Jobs and the queue_descript File . . . . . . . . \\PLAW\laserjet PDprint_2 CLIX Created printer on a Windows NT node. . . . . . . .pdsdev PDprint_5 Plot Q to ilp814@pdsdev Windows NT or CLIX. . . PDS Print/Plot Jobs and the queue_descript File Interactive Jobs Which Print/Plot . . . . . . . . . . . . . . . . . . . . .APPENDIX I PDS Project Setup the first column ! are allowed anywhere in the file. General Processing Rules for Printers/Plotters . . . . . . . 290 . . .clixsrv1 PDprint_4 CLIX printer 2 on CLIX node. . . . the software looks for PDisocreate instead of PDiso_batch. It is valid to omit the optional queue name. ● If the optional queue name is being used. Process Locally in this example. the software looks for \\PDSTRF\LaserJet instead of PDprint. the description which is displayed to the user is entered. It is valid to omit the optional printer name. such as PDisocreate. ● The optional queue name PDisocreate is entered last. If PDiso_batch is associated with a user-defined queue name. a comma is next. The PDS software would then search for a printer named PDprint. the description which displays to the user is entered. If PDprint is associated with a userdefined printer name. ● The optional printer name \\PDSTRF\LaserJet is entered last. For example: PDiso_batch Process Locally ---OR--PDiso_batch Process Locally. ● The PDS printer name is followed by a TAB. ● If the optional printer name is being used.\\PDSTRF\LaserJet ● PDprint is the PDS-recognized printer name. PDisocreate ● PDiso_batch is the PDS-recognized queue name. network printer in this example. ● After the TAB.The PDS queue_descript File APPENDIX I Format of the queue_descript File Entries in the queue_descript are defined as: Printer/Plotter PDprint network printer. PDisocreate Format of the queue_descript File 291 . ● After the TAB. such as \\PDSTRF\LaserJet. ● The PDS queue name is followed by a TAB. For example: PDprint network printer ---OR--PDprint network printer. The PDS software would then search for a queue named PDiso_batch.\\PDSTRF\LaserJet Batch Queue Definition PDiso_ batch Process Locally. a comma is next. the PDprint list when printing. Remote Processing on the Same Platform If the batch job is piped to another node of the same type (for example. Local Processing If the batch job is processed locally. or if it is piped to another node. Configuration for this Example Windows NT Nodes: nt_one nt_two 292 General Processing Rules for Printers/Plotters No printer connections. the PDS software looks on the local node for printers which match those in the queue_descript file. the PDS software searchs the destination/processing node for valid printer names which are listed in the queue_descript file. Printer connections \\PDSTRF\LaserJet. and either. \\PLAW\laserjet. all printers (for example. PDiso_plot. the PDS software shows you which printers are available. If there are no printers on the local node which match those listed in the queue_descript. the software determines if the job is processed locally.APPENDIX I PDS Project Setup General Processing Rules for Printers/Plotters When a PDS job prints or plots. Remote Processing on Different Platforms If the PDS batch job is piped across platforms (for example Windows NT to CLIX. the PDdraw_plot list when plotting drawings or piping models. Valid printers are displayed. or CLIX to CLIX). It is up to you to make the descriptions in the queue_descript file explicit enough so that a valid printer on the processing node can be selected from the list. the PDS software displays all of the printers on the destination node. or CLIX to Windows NT). Batch job PDiso_batch piped to Windows NT server nt_s_one. the PDS software displays all of the printers defined on the local node. and displays a list of printers available to the batch job. Windows NT to Windows NT. Because printers cannot be validated. If submitting a batch job which prints/plots. Those printers which are valid on the local node are displayed. If there are no printers on the destination node which match those listed in the queue_descript. Batch job PDiso_bat_1 piped to CLIX server cx_s_one. . no printer validation is done. All batch jobs are locally executed. Batch job PDiso_bat_1 piped to Windows NT node nt_three. and so on) in the queue_descript file are displayed. All batch jobs are locally executed. PDiso_plot and either. pdsdev and either. CLIX Server: cx_s_one Printer connections clixsrv1. CLIX Nodes: cx_one cx_two Printer connections clixsrv1 and pdsdev. \\nt_s_one\printer1. printer connections ilp814 @nt_one. Batch job PDiso_batch piped to CLIX server cx_s_one. \\PLAW\laserjet. and \\nt_s_one\printer1. Batch job PDiso_bat_1 piped to Windows NT server nt_s_one. General Processing Rules for Printers/Plotters 293 . All batch jobs are locally executed. Windows NT Server: nt_s_one Printer connections \\PDSTRF\LaserJet.The PDS queue_descript File APPENDIX I nt_three Printer connections ilp814@cx_s_one. Any printer that it finds on the local node which matches the printer (or optional printer) name in the queue_descript file is displayed. therefore they are not displayed. the following printer descriptions display: ilp814@cx_s_one \\nt_s_one\printer1 This is because none of the other printers described in the que_descript file exist on node nt_three. Using the example queue_descript file and initiating the batch process on node nt_two. Submitted From a CLIX node. In general. Processing Locally If the PDS batch job is being processed locally. and you have elected to print the output at the completion of the batch job. Using the example queue_descript file and initiating the batch process on node nt_three. and you have elected to print the output at the completion of the batch job. and validate printers on the local node. PDS references the queue_descript file for printer/plotter definitions associated with the PDprint and PDprint_* entries for print jobs. The following descriptions use the previous node configuration. and so on. and displays a list of printers. with PDdraw_plot and PDdrw_plt_* entries for draw plot jobs. Processing Locally If the PDS batch job is processed locally. all of the printers on the local node are displayed. the following printer descriptions display: network printer Windows NT Connected Printer on a Windows NT node CLIX Created printer on a Windows NT node Plot Q to ilp814@pdsdev Windows NT or CLIX CLIX Printer 1 on CLIX node and CLIX Printer 2 on CLIX node do not exist on the processing Windows NT node. Using the example queue_descript file and initiating the batch process on node cx_one. the PDS software reads the project queue_descript file.APPENDIX I PDS Project Setup PDS Print/Plot Jobs and the queue_descript File Some PDS batch jobs have the ability to submit their output for printing/plotting. The specifics vary somewhat depending on the configuration. Any queue that it finds on the local node which matches the queue name (or optional queue name) in the queue_descript file is displayed. If none of the printers in the queue_descript file exist on the local node. and validate print queues on the local node. the PDS software reads the project queue_descript file. the following printer descriptions display: 294 PDS Print/Plot Jobs and the queue_descript File . Submitted From a Windows NT Node. PD_Report material take off reports and the PD_Data/physical library data manager/report option are good examples of this. the PDS software will read the project queue_descript file and validate printers on the processing Windows NT node. This means that the software will search the processing Windows NT node for printer names as defined in the queue_descript file. all of the print queues on the local node display. Submitted From a Windows NT node to Another Windows NT Node If the PDS batch job is piped from one Windows NT node to another Windows NT node. Using the example queue_descript file and using node nt_one to pipe a batch job to Windows NT node nt_three.The PDS queue_descript File APPENDIX I CLIX Printer 1 on CLIX node CLIX Printer 2 on CLIX node Plot Q to ilp814@pdsdev Windows NT or CLIX Printers network printer. and CLIX Created printer on an Windows NT node are not displayed because they do not exist on the CLIX node. Using the example que_descript file and initiating the batch process on node nt_one (with the goal of redirecting the batch job to node nt_s_one). If none of the queues in the queue_descript file exist on the local node. the following list of printer descriptions displays: ilp814@cx_s_one \\nt_s_one\printer1 This is because none of the other printers described in the que_descript file exist on node nt_three. PDS Print/Plot Jobs and the queue_descript File 295 . Windows NT Connected Printer on a Windows NT node. the following printer descriptions display: network printer Windows NT Connected Printer on a Windows NT node CLIX Created printer on a Windows NT node Plot Q to ilp814@pdsdev Windows NT or CLIX This is because CLIX Printer 1 on CLIX node and CLIX Printer 2 on CLIX node are not valid printers on the processing Windows NT node nt_s_one. the following printer descriptions display: ilp814@nt_one \\nt_s_one\printer1 This is because none of the other printers described in the que_descript file exist on node cx_two. all of the printers on the processing node are displayed. All valid printers on the processing node are displayed. Using the example queue_descript file and initiating the batch process on node cx_two. If none of the printers in the queue_descript file exist on the processing node. and you have elected to print the output at the completion of the batch job. and you have elected to print the output at the completion of the batch job. This means that the software will search the processing CLIX node for printer names as defined in the queue_descript file. there is no software mechanism which allows PDS to validate the printers it finds in the queue_descript file. It is imperative that the descriptions in the queue_descript are explicit enough so that you can select the correct printer for the node type the job is processing on. Using the example que_descript file and initiating the batch process on node cx_one (with the goal of redirecting the batch job to node cx_s_one). If you select a printer which is invalid on the processing node. 296 PDS Print/Plot Jobs and the queue_descript File . and so on entries in the queue_descript. Since no validation can be done. the following printer descriptions display: CLIX Printer 1 on CLIX node CLIX Printer 2 on CLIX node Plot Q to ilp814@pdsdev Windows NT or CLIX This is because network printer. the PDS software will read the project queue_descript file and validate printers on the processing CLIX node. Windows NT Connected Printer on a Windows NT node and CLIX Created printer on a Windows NT node are not valid queues on node cx_one. PDS displays all of the Pdprint*. the print job will fail. Submitted From a CLIX Node to a Windows NT Node (or Windows NT Piped to CLIX) If the PDS batch job is piped to a node of the other type (for example. All valid printers on the processing node are displayed. Pddraw_plot*.APPENDIX I PDS Project Setup Submitted From a CLIX Node to Another CLIX Node If the PDS batch job is piped from one CLIX node to another CLIX node. CLIX to Windows NT or Windows NT to CLIX). Project Data Manager Report of Type 63 Data). the PDS software reads the project queue_descript file and validates printers for the local node. If none of the printers in the queue_descript file exist on the local node. Any printer that it finds on the local node which matches the printer name in the queue_descript file displays.The PDS queue_descript File APPENDIX I Interactive Jobs Which Print/Plot If you are printing interactively from within PDS (for example. Interactive Jobs Which Print/Plot 297 . all of the printers available on the local node will display. APPENDIX I PDS Project Setup PDS Batch Jobs and the queue_descript File The hidden-line removal process which is started through Drawing Manager and isometric drawing extraction process which is started through Isometric Drawing Manager/Batch are PDS batch jobs which access the queue_descript file. if there are no valid batch queues found in the queue_descript file. For isometric extraction. On CLIX. all batch queues on the local node display. On Windows NT. the PDhline queue is created automatically when PD_Shell is loaded. The PDS software reads the project queue_descript file and validates the batch queues on the local node. 298 PDS Batch Jobs and the queue_descript File . the PDhline queue is created using the PDS Queue Creation utility. . 300 Location of RIS Schemas File . . . . . . . . . . . . . . .0. . Appendix Topics Registry Entries . . . . .A P P E N D I X J PDS and Windows NT 4. . . . . . . . . . . .0 This appendix describes the changes that must be made to your client and server nodes when moving to Windows NT 4. . . . . . . . . . . . . . . . 303 299 . . . . . . . . . . For the Data Type make sure REG_SZ has been selected from the drop-down list and click OK. No Intergraph Products Loaded Start the registry editor and locate the HKEY_LOCAL_MACHINE on Local Machine window. For example. Leave the Class field empty. Be sure to specify paths without blank spaces in their names when loading products. Locate and double-click the Software folder. You should now see an Intergraph folder under the Software folder. However. Type Common for the Value Name. use Explorer to open this directory and see which Intergraph products have files loaded in this directory. edit the value of Common by double-clicking the entry in the registry editor (should bring up the String Editor) and change the String to c:\win32app\ingr\share. the information on the right-hand side of the registry editor when you open the Intergraph folder should look like this: Common:REG_SZ:c:\win32app\ingr\share Intergraph Products Already Loaded Start the registry editor and locate the HKEY_LOCAL_MACHINE on Local Machine window. The actions described below are required on Windows NT Workstation and Windows NT Server nodes and should be made prior to loading PDS or any of its prerequisites. If the Intergraph folder does not exist (and it shouldn’t if no Intergraph products have been loaded) then you can create it by clicking Edit > Add Key from the registry editor menu.APPENDIX J PDS Project Setup Registry Entries Creation/Modification of "Common" key PDS software and its prerequisites cannot be loaded to directories that have blank spaces in their name (like Program Files). Edit the path so that it is installed into the win32app\ingr\iplot directory on an available drive. Locate and double-click the Software folder. Open the Intergraph key and look at the right-hand side. For the Key Name type Intergraph. This is also case-sensitive. If done correctly. by default. If Intergraph products have already been loaded. Check to see if Common is set as shown below: Common:REG_SZ:C:\Program Files\Common Files\Intergraph If so. before reloading them. We recommend that you remove the products which loaded files into this directory and reload them. loads into the Program Files directory. This is casesensitive. see Intergraph Products Already Loaded. 300 Registry Entries . I/Plot Client. In the String Editor form type c:\win32app\ingr\share. Highlight the new Intergraph key and click Edit > Add Value. if you encounter a product that has loaded into the Program Files directory and has added a double-quoted entry to the system PATH. The directory for the Intergraph shared components should be named win32app\ingr\share. otherwise you will experience problems when using PDS. NOTE: This change is automatically made when loading PD Shell version 6. You can make this change before or after loading PDS products. and then skip to the next section. loading Intergraph products can result in the Common value being set to c:\Program File\Common Files\Intergraph. PDS experiences problems if it encounters entries in the system PATH that are bracketed by double-quotes. If the PATH entry does not have blank spaces in the name then the quote marks can be safely removed. Typically it is located on the C drive. move that entry to the end of the PATH so that PDS can search for its prerequisites without encountering a double-quoted entry. an entry bracketed by doublequotes is added to the system PATH (as seen using Control Panel > System and selecting PATH from the System Environment Variables list). On a Windows NT 4.3.PDS and Windows NT 4. Be sure that PDS and all of its prerequisites are loaded into directories that do not have blank spaces in the names (which then require double-quotes when these entries are added to the system PATH). Some products (such as Microsoft Internet Explorer) load into the Program Files directory. verify that this entry is in the registry.0 APPENDIX J Importance of this Setting Some Intergraph products will load. These products can residing in the Program Files directory without affecting PDS products. If you are using PD Shell 6. If these products (or components) are allowed to load files into the Program Files directory (which has a blank space in the path). Finally. This should be done by setting the value for the Common key BEFORE any Intergraph products have been loaded. However. into the directory specified by this key (such as RIS Client and I/PLOT client). but these products do not have entries in the system PATH. remove it and reloaded the product into a directory that does not have blanks in the name.0 system. but can be on another drive if needed. or will load certain components. certain products (such as NTBATCH) double-quote their PATH entries even if they are loaded into a directory without a blank space in the name.0 nodes (both Windows NT Workstation and Windows NT Server). You should check the PATH settings on all nodes for these double-quoted PATH entries and correct them using the guidelines presented here. ■ Registry Entries 301 . Creation of DisableUNCCheck This change must be made on all Windows NT 4.3. If a PDS prerequisite was into the Program Files directory. Locate the following folder: SYSTEM > CurrentControlSet > Control > SecurePipeServers > Winreg Delete the winreg key by selecting it and pressing the DELETE key on your keyboard. and the winreg key has not been deleted: ERROR: MAXIMUM SUPPORTED NUMBER OF SHARE NAMES EXCEEDED. NO MATCHING SHARENAME FOR drive letter:\path NOTE: After the installation of any Service Pack. Be sure to leave a blank space in between the two words. For the Data Type select REG_DWORD from the drop-down list and click OK. For the Key Name type Command Processor. This is a single word and is casesensitive. Start the registry editor and again locate the HKEY_LOCAL_MACHINE on Local Machine window. NOTE: You must reboot the server after removing the winreg key. the Winreg key is recreated. the right-hand side of the registry editor when you open the Command Processor folder should look like this: DisableUNCCheck:REG_DWORD:0x1 Deletion of winreg The following change is only needed on Windows NT Server 4. This is case-sensitive. Select the new Command Processor key. In the DWORD Editor form. Double-click Software > Microsoft (open the Microsoft key). it is still necessary to perform this step. make sure that Hex is selected. You must delete the Winreg after installing a Service Pack. Click Edit > Add Key. ■ 302 Registry Entries . Leave the Class field empty. For the Value Name type DisableUNCCheck.APPENDIX J PDS Project Setup Start the Registry Editor and locate the HKEY_LOCAL_MACHINE on Local Machine window. while logged in as a non-administrative user.0 nodes and should be done before project creation. If the project has already been created. You should now see a Command Processor folder under the Microsoft folder. and type 1 (numeric one) in the Data field. Click Edit > Add Value. If you have done this correctly. ■ The following message may display if you try to run PDS and access files on the server. Click OK on the Welcome form to display a checklist of components that can be loaded.0 the name has been changed to Microsoft Internet Information Server 2. Type the location of the Windows NT distribution media. Choosing FTP Service will automatically select Internet Service Manager as well. accept the form warning about passwords being passed over the network) then select the Directories tab. 10. The only required option is FTP Service. 6. Click Start > Settings > Control Panel > Network. 1. you have to install and configure FTP Server on the server node (this is not required for the clients). 5. 2. This is the directory a user will be put into if they establish an FTP session and the user they log in as does not have a home directory specified. 4. In Windows NT Workstation 4. Select the Services tab. Double-click on the machine name to bring up the FTP Service Properties form. Click OK. Click OK to install the FTP Service. or specify a UNC path.if taken. 7. Click OK to install the required files into the default directory. Click Start > Programs > Microsoft Peer Web Services > Internet Service Manager (on a NTW node) or Microsoft Internet Server > Internet Service Manager (on a NTS node).0 the name has been changed to Microsoft Peer Web Server.0 you can access schema files on a server two ways: use TCPIP as the protocol and specify a valid login on the server.0 APPENDIX J Location of RIS Schemas File In Windows NT 4.0 system or Microsoft Internet Information Server 2. A reboot is not required.0 system. You may get a message about The guest account is enabled . This can be changed to c:\temp. In Windows NT Server 4. 8. At this point the installation is complete and you can exit out of Control Panel.0. The next form shows the default FTP Publishing Directory.do you want to disable guest access to the FTP service? Click Yes is a prudent choice. Turn off allow anonymous connections (an optional choice . The setup procedure is detailed below. Select Microsoft Peer Web Server on a Windows NT Workstation 4. and click Add. 3. Location of RIS Schemas File 303 .PDS and Windows NT 4. You should see an entry for your node and that the service is running.0 on a Windows NT Server 4. 9. Use of TCPIP To specify TCPIP as the protocol. This simply tests the FTP connection. Click OK on the FTP Service Properties form to apply the change and then exit from the Internet Service Manager form. Note however that locating the schemas file in this manner to a Windows NTS node uses NTS licenses (as seen in Control Panel > Licensing under Windows NT Server). Make sure that the (:) is included as part of the alias name. Windows NTS is delivered (on INGR systems) with five user licenses. In the FTP Service Properties form you should see the entry for your drive. Click Local as the protocol and for the schema file location enter: \\server\sharename\schemas As an example \\pdssmp1\ris\schemas. but you also cannot violate the terms of your license agreement (you must purchase additional Client License Packs to legally allow you to have the extra connections). Type a valid login on the server. You should see an Alias for the home directory (c:\temp in this example). Making sure that the Virtual Directory button is selected. from another client open a DOS window and type ftp servername to open a connection to the server. Click OK on the Directory Properties form. When user number six tries to access the schemas file using the UNC path method they will get an error. Use of UNC path You can also use a UNC path to locate the schema file. type c: for the Alias NOTE: The (:) after the drive letter in the alias name is critical! It must be included as part of the alias name or RIS will find the schemas file but not display the schemas. If you have problems with any of the procedures described here please log a problem to the Help Desk. 14. You can now do a Locate Schema File from a client node and specify TCPIP as the protocol. Share the directory where the schemas file is located and on the client node go into the Locate Schema File form. On Windows NTW nodes you are limited to ten connections per share. Type get filename where filename is some file in the c:\temp directory. Click Add. 13. Make sure that Read and Write at the bottom of the form have been selected. 304 Location of RIS Schemas File . Note that the username you specify in the Locate Schema File form must also be able to log in at the FTP prompt as described above. FTP Server is not required for this to work. Type dir to list files in the c:\temp directory. As a test of the FTP service. Increasing the number of licenses will fix this problem. In this example it is assumed that the schemas file is located somewhere on the C drive.APPENDIX J PDS Project Setup 11. and for the directory browse to the C drive and click OK. It should enter C: into the Directory box. ■ 12. Click Next to advance through the next few forms until you are prompted for your Serial Number and Key. If you are installing OWS on an Windows NT Workstation node you should do so while logged in as the local administrator. The Installation Preferences form displays the following options: ● Informix Only ● Full ● Custom Click Custom and in the next form select only OWS Database. The next four forms are where customer information is entered.exe to start the installation. that you perform the installation on the primary domain controller.in this example accept the default of c:\informix. The next mandatory form indicates the Informix home directory . Click Next. If you are installing OWS on an Windows NT Server node you should do so while logged in as the local administrator (if the node is not a domain controller) or as the domain administrator (if the node is a domain controller). This information is optional. The Informix documentation suggests that if you are installing OWS in a domain. 305 .22 under Windows NT 4.A P P E N D I X K Database Setup -. The suggested settings in this appendix may need to be changed based on the application being used. After completing this information click Next. Double-click setup. Accept this form and the default choices of OnLine Database Server and Administration Tools.0.Informix Workgroup Server This document is intended to provide a quick overview of the installation procedure for Informix Workgroup Server (OWS) 7. The dbspace name in the Storage Name form shows the name of an additional dbspace that is created. One of the first changes is to increase the size of the Physical Log and the size and number of the Logical Logs. accept the default choice of None for the backup location for logical logs. Click Start > Settings > Control Panel > Services and set the startup mode for the Informix OnLine Workgroup Server service to automatic. After the initial setup is complete some basic tuning should be done. and initializes the rootdbs. 200MB is enough for at least one 2D/3D PDS project . By default. ■ In the Installation Options form. creates shared directories. sets environment variables. In the next Storage Manager Setup form. When a particular dbspace becomes filled. The next form that requires input is the Configure Database Server form. You can remove the ol_ prefix if you want. This is where Informix stores its housekeeping information .you may want to increase or decrease the size depending on your circumstances. log off and back on as administrator. For the Server Name it defaults to ol_server where server is the nodename. accept the default password of informix for the informix username. The install script then creates the user accounts. and click Save.dmp. browse to the informix\infxtmp directory. type infx. for the Backup to Hard Drive location. When Informix is installed. a 20MB dbspace named rootdbs is created automatically. type pds for the dbspace name. We want to place our PDS data in a dbspace other than rootdbs. These backup choices can be changed at a later time if desired. The binaries are branded and the program group and icons are also created during this step. This can be done using the Space Explorer application. So in the Storage Name form. and the system is giving us the opportunity at this time to create one. When initialization is finished." Accept this error replication is not being set up at this time so this warning can be ignored. You may receive a warning about the "Replication agent not being installed. In the System Administration form. both of these are stored in the rootdbs. Changes to the configuration are made by editing the ONCONFIG file then restarting the database. and other additional information. and in the Storage Location form select the drive letter and the size for this additional dbspace. This is referred to in the form as "The node to be used for Shared Server Definition". errors result which can be remedied by adding an additional disk file (also called chunk) to the dbspace. accept the default location for the sqlhosts file. installs and starts the services. so increase the size of the rootdbs.such as where the disk files are that comprise the database. 306 . In the next System Administration form. which redo log is currently active.APPENDIX K PDS Project Setup NOTE: The selected drive must be formatted as NTFS. Unless you want this dbspace to be mirrored (duplicated) set the Mirror Location to none. In the Informix Storage Manager Setup form. select Custom as the installation type and click Next to start copying files to the local disk. Informix Workgroup Server APPENDIX K Start Space Explorer. or many small segments of memory may be allocated (it’s better to have fewer. Note the values of SHMVIRTSIZE. revisions to the ONCONFIG file can be made. Change the Physical Log Size (PHYFILE) to 15360 (15MB) 2.Database Setup -. VALUES LISTED BELOW MAY NOT BE SUITABLE FOR YOUR ENVIRONMENT. when the database has been installed and is in use. If you try and set SHMTOTAL to a value that is too small. An approximation of how much memory INFOE is using can be seen by 307 . larger segments). and SHMTOTAL: ● SHMVIRTSIZE is the size of the initial shared memory segment allocated by INFOE at startup (in Kbytes) ● SHMADD is the size of additional shared memory segments that will be allocated on an "as needed" basis after initial startup.based on the ONCONFIG parameters suggested in this appendix at least 16MB will be required.SAV file if it exists). note that LOGFILES = 10. ■ 1.CONSULT THE INFORMIX ONLINE ADMINISTRATORS GUIDE V2. CHPT.000 5. 38 FOR A FULL DISCUSSION OF ALL PARAMETERS LISTED IN THIS FILE. In the informix\etc directory. Click the rootdbs icon and from the menubar click Space > Add Storage. Edit the ONCONFIG file and make the following changes: NOTE: THESE ARE SUGGESTED CHANGES . Change LOGFILES to 10 and LOGSIZE to 2048 (2MB. and type the administrator password. SHMADD. Type 50 for the size and click Add. so 20MB total will be allocated for the Logical Logs) 3. click your server from the drop-down list. you can monitor the amount of shared memory allocated by INFOE and then experiment with reducing its total memory by gradually adjusting SHMTOTAL. After increasing the size of the rootdbs. The documentation also warns against setting SHMADD to a small value. ● SHMTOTAL places an upper limit on the total amount of shared memory that can be allocated by INFOE. You can change MULTIPROCESSOR to 1 if your database server has more than one CPU 4. Informix requires a good bit of memory . copy the ONCONFIG file to ONCONFIG. Change LOCKS to 50. This 50MB file is created with a unique name in the same directory where the other rootdbs file is located. the database will fail to start. BUT MOST CAN BE CHANGED AFTER ROOTDBS INITIALIZATION IF REQUIRED.OLD (note . The following is suggested: ● Change SHMVIRTSIZE to 4096 (4M) ● Change SHMADD to 2048 (2M) ● Leave SHMTOTAL at its default value of zero (no limit on memory) Later.do not discard/rename the existing ONCONFIG. and create a file named create. open the Command Line Utilities window and type: dbaccess < c:\informix\create.look for a message like this in the online. Before doing this clear out the Security log in Event Viewer.log (in the informix home directory) for any errors. you must be logged in as the operating system user who will own the databases. To process this file. save the ONCONFIG file (leaving all other parameters at their default values). This file can contain multiple lines to create more than one database. Creating Databases When creating databases using INFOE.log will also include informational messages like "Parameter A was changed from value B to value C" . Go into Database Explorer and you should see that the database has been created. Log off and back in as the pds user. After restarting check the online. If many additional segments have been allocated. you can increase the size of SHMADD to reduce this number. These same messages will also be seen in the Event Viewer.sql and the database should be created. You must now load the RIS Informix Data Server (RISINFDS) to the database server if this has not yet been done.APPENDIX K PDS Project Setup monitoring the Working Set of the ONINIT process using Windows NT Performance Monitor. Remember that if you set the value of SHMTOTAL too small the database will not start . The online.log: Size of resident + virtual segments 9159456 + 8388608 > 8388608 total allowed by configuration parameter SHMTOTAL After setting the values of SHMVIRTSIZE. Type the following: Informix Server: db server name Host Name: server name Protocol: onsoctcp (from drop-down list) Service: turbo 308 . double-click on the RISINFDS Registry Utility. After making these changes restart the database by going to Control Panel > Services and stopping/starting the Informix OnLine Workgroup Server service. You can also monitor shared memory segments by typing onstat -g seg in the Command Line Utilities window.you should see a message like this regarding the Physical Log size. and SHMTOTAL. SHMADD. After downloading RISINFDS. In this example a local user named pds will be used for this purpose.sql in the informix directory with a single line: create database pd_proj1 in pds with log mode ansi. The documentation states that setting LOCKS to 1.000 . you may need to increase them again.bat file having a single line: net start online ● Monitor the Security (Event) Log and look for errors prefaced by an "orange circle with an exclamation mark in it. At this point you are ready to create a schema: Schema Name: pd_proj1 Netaddr: Name of database server (TCPIP) DB Username: pds (MUST be who you were logged in as when the database was created!) O/S: Windows NT DB Type: Informix DB Name: pd_proj1@nodename (where nodename is the name of the database server) DBMS Location: c:\informix SQLEXEC.000." These may warn you of things like: ● Physical log too small (increase size) ● Lock Overflow (increase # of locks in shared memory parameters) Both of these errors can occur when the physical log and number of locks were left at the default values.Informix Workgroup Server APPENDIX K Click OK. Even with the values suggested in this appendix. The Informix Server is the same as the database server name as contained in the ONCONFIG file. ● Do not auto-start the database if you have a nightly backup that backs up the INFOE data files.but note that increasing LOCKS carries a price. The Host Name is the actual node name of the database server. and TBCONFIG can all be left blank. 309 . Drop the test schema and this database can then be used again from within PDS. The maximum value for LOCKS is 8. You can start the two services from a command line via at using a startup.000 will result in 40MB of memory being reserved JUST FOR THE LOCKS. DBTEMP. Additional Tips: ● Move the physical log out of the rootdbs and into a separate dbspace (see Informix documentation). The schema should be created and you’re ready to go.Database Setup -.000. APPENDIX K 310 PDS Project Setup . . . . . . .CMD . . . . . . . user variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . These variables are for commands that are not accessed or set within the PDS environment. . . . . System Environment Variables . . . . . . . 312 316 318 322 311 . . Commands Set in PDS. . .L A P P E N D I X PDS Environment Variables This section contains a list of environment variables set in the config file or the Control panel. . . FrameWorks Plus Environment Variables . . . . . . . . . PDS2D Environment Variables . . . . . . . . . . . . . . ISO Seed Plot File. The exported ISOOPTION value is loaded by default into the Options File field on the Add Default Set form. The exported ISOSEED value is loaded by default into the Seed File field on the Add Default Set form. $ENV{’ISO_ASCII_LOAD’}=’node:directory path\isoascii’. It is also used as a default for the options file. $ENV{’ISOSEED’}=’node: directory path\seed file’. ensuring a unique input file name. $ENV{’ISOBORDER’}=’node:directory path\border file’. If left blank here it can be set for each batch data report. ISO Options File. The exported ISOBORDER value is loaded by default into the Border File field on the Add Default Set form. when extracting an interactive isometric. The exported ISOREPORT value is loaded by default into the Output File field on the Batch Data Reports form. It is also used as a default for the seed design file. $ENV{’PDISOFONT’}=’XX’. $ENV{’ISOREPORT’}=’node:directory path\isorpt’. 312 Commands Set in PDS. when extracting an interactive isometric. The exported ISOPATH value is loaded by default into the output path directory slot on the Add Default Set form. $ENV{’ISOBATCHQUE’}=’PDisocreate’.APPENDIX L PDS Project Setup Commands Set in PDS. ISO Seed Design File. The exported ISOPLOT value is loaded by default into the Plot File field on the Add Default Set form. ISO output node:Path. $ENV{’ISOPLOT’}=’node:directory path\iparm file’. If left blank here it can be set for each batch job input. The isorpt file name is optional. The isobat file name is optional. ensuring a unique filename. $ENV{’ISOBATCH’}=’node:directory path\isobat\\’. when plotting an interactive isometric. It is also used as a default for the output location.CMD . It is also used as a default for the plot parameters file.CMD ISO Environment Variables $ENV{’ISOPATH’}=’node:directory path\\’. The exported ISOBATCH value is loaded by default into the Batch Job Input File field on the Create Batch Job Input form. $ENV{’ISOOPTION’}=’node:directory path\defaults file’. The exported ISOBATCHQUE value is loaded by default into the Process Queue field on the Schedule Batch Job form. The exported ISO_ASCII_LOAD value is loaded by default into the Filename field on the Bulk Load Lines From ASCII File form. when extracting an interactive isometric. the following rules will apply: ● If the ISOUSRREFDIM variable is set and points to the proper location of a valid gridline reference data file. The defined font must be a mono-spaced font.dat = the name of the gridline reference data file. For example.e. $ENV{’SYMDGN’}=’node:directory path\symbol. The exported values SYMDGN. .PDS Environment Variables APPENDIX L The exported font PDISOFONT value defines the font that will be used on the output isometric. When utilizing this variable. then the gridline reference dimensions will be extracted from this file. where. ● If the ISOUSRREFDIM variable is set improperly (i. then the software will. this file will be used for placing gridline references on the isometric drawing if Pd_iso option 71 is turned on.dat’. ● filespec. $ENV{’ISOUSRREFDIM’} = ’pdsserv1:e:\proj1\project\fw_bldg_a.lib’. $ENV{’ISOUSRREFDIM’} = ’node:directory path\filespec. $ENV{’SYMLIB’}=’node:directory path\symbol. SYMNDX and SYMLIB are loaded into the Symbol Design Node:File. page 5-3 to 5-6 PD_Stress Environment Variables $ENV{’STRESSPATH’}=’node:directory path\\’. Symbol Index Node:File and Symbol Library Node:File fields respectively on the Isometric Symbol Editor form. $ENV{’SYMNDX’}=’node:directory path\symbol. June 1998.dat will be referenced as a result of enabling Pd_iso option 71.dgn’. and on the MTO on the ISO. then no references will appear on the face of the iso.ndx’. the result will be as if no gridline reference data file exists in the project directory.UNCpath or filespec are mis-typed) and Pd_iso option 71 is turned on. Note that this file will be used in place of the file fw_projname.dat which is the gridline reference data file by default. search for the file fw_projname. Once this variable is set. ● node = the hostname of the project file server. ● If the ISOUSRREFDIM variable is not set in the pds. If it exists and contains valid data. page 3-3 Commands Set in PDS. Source: PDS Stress Analysis Interface. by default. the data in the file filespec. $ENV{’STRESSOPTION’}=’node:users\stress\default file’. Source: PDS ISOGEN Reference Guide.CMD 313 . That is.dat in the project directory. June 1998.dat’. both on the face of the ISO. ● directory path = the directory path containing the reference data file.cmd file but option 71 is turned on. For example: $ENV{’VHL_PPOPS’}=’arc backp cell join’. The iplot_dlog_input_monitor exported variable is used so that PDS will recognize the iplot variable when used at the command line within PDS.3. If this location is undefined in the data manager.1 due to problem keying in iplot command at the MicroStation keyin window within PD_DESIGN. it overrides the project setting. Alternative method to define the Equipment forms directory location.CMD . The exported variable allows an individual to use a different set of forms. it defaults to the local machine’s eqp directory. Source: PDS 6. The iplot_output_directory variable determines the output location for iplot files on the local machine. $ENV{’iplot_dlog_input_monitor’}=’false’. then every user sees the same forms. The archive will be created in the TEMP directory of the local node. The location of where the scratch archive is created can be changed using the environment variable PDS_ARCH_TMP (which is useful if the location specified by TEMP cannot accommodate the archive). This variable was used as a fix to PDS 5. When a Scheduled Project Archive is created. Source: PDS Equipment Modeling User’s Guide. The VHL_PPOPS export variable combines a number of arguments with the use of one environment variable. Source: Intergraph PDS Knowledge Base $ENV{’PDS_ARCH_TMP’}=’directory path\\’. FTP’d to the remote node. June 1998. June 1998.X and Iplot 9. Invokes arc restroking.0 and the variable is no longer needed. Source: Drawing Managers User’s Guide.3. backplane elimination. other than the project setting given in the data manager. This directory path setting needs to be on the local machine. you can specify when the archive is complete the archive be FTP’d to a remote site.APPENDIX L PDS Project Setup PD_Draw Environment Variables $ENV{’VHL_PPOPS’}=’command arguments’.1 PD_SHELL Readme $ENV{’PD_IFORMS ’}=’node:directory path\\’. page 205 PD_Shell Environment Variables $ENV{’iplot_output_directory’}=’drive:\directory path’. This command was tested with PDS 6. page 346 PD_Equip Environment Variables $ENV{’PD_EIFORMS ’}=’directory path\\’. This allows an individual to test things without modifying real data etc. if it is defined. This exported variable is used to enhance the Project Archival and Retrieval functions. cell re-creation and joining of partial elements. 314 Commands Set in PDS. if it is exported. and then deleted from the local node. with the arguments separated by a space. CMD 315 . $ENV{’PROJ_ADDR’}=’Your Proj File Network Address’. and a 3character extension). $ENV{’PROJ_FILE’}=’directory path’. Setting this variable to YES allows long filenames. Used to control the commit interval in all database loading activities in the Project Retrieval Commands.PDS Environment Variables APPENDIX L Used to define the PD_Shell forms location rather than the pdshell\forms\ directory on the local machine. This has the same impact as adjusting the -c option in a risload command line. Used to specify the node name of the projfile location. Used to define the text editor to be used when revising data through the PD_Shell forms. Source: PDS Project Administrator Reference Guide. Commands Set in PDS. A value of NO limits dimension table filenames to 11 characters (8 characters in the filename. pages 41-42 $ENV{’NO_TRUNCATE’}=’YES’. May 1996. Used to specify whether to use long filenames for dimension tables. The default commit value is 25. Used to define the directory path of the PDS projfile for the current project specifications. $ENV{’PD_COMMIT_INTERVAL’}=’xx’. $ENV{’PD_EDITOR’}=’node:directory path\editor executable’. page 146 before using this variable. DBA_NO_MSCATALOG=Y DBA_MSLINK=model_index_no Many of the PDS databases do not have a mscatalog table. page 146-147 PDS_REPORT_LOG=1 If PDS_REPORT_LOG environment variable is set to any value other than zero. 1998. and many of the PDS tables do not have an mslink column. in the PD schema. but is to be verified by those requesting the fix.APPENDIX L PDS Project Setup System Environment Variables The following variables are set in the environment variables for the system. is intended to permit the use of full 8-bit ASCII characters as required for many foreign language locales (using an OS meant for the locale or using the English OS set for the locale). It will be placed in an error log file within the temp subdirectory for the given report generated. Pay special attention to the information in PDS Project Setup Guide June. the REPORT_ERROR_LOG will not be appended to the end of the report.03. It should be clarified that PDS is not fully certified in this mode. pdtable_113 has a column named 316 System Environment Variables . Please see the stipulations and settings in the PDS Project Setup Guide June. For example. This environment variable will only remove the error statements from the end of the report. June 1998. using Control Panel>System>Environment Variables. Source: PDS Project Setup Guide.01. PDS_FULL_ASCII. You can use the environment variables DBA_NO_MSCATALOG and DBA_MSLINK to tell DBAccess to build its list of database tables from the database rather than from the mscatalog table and to use a column other than mslink as the key column. Source: PD_Report 06. Page 147. The problem was caused by character data verification routines in a few places in PDS which do not permit the most significant bit (MSB) to be set.12 Readme File PDS_FULL_ASCII=1 Used in conjunction with Frameworks Plus for foreign language compatibility. RIS_PARAMETERS=directory path Used in situations where there are different schema files in use. PDS_MAIL_REICPIENT PDS_MAIL_LOGIN PDS_MAIL_PASSWORD Used to mail the log files from certain batch jobs processed to a specified user when the batch jobs are running on the server. DBAccess looks for this table in the database and this column in the selected table and expects the mslink column to have unique integer values. By default. The environment variable. 1998. Source: PDS Project Setup Guide. page 73 System Environment Variables 317 . By setting DBA_NO_MSCATALOG=Y and DBA_MSLINK=model_index_no. June 1998. you can use the DBAccess Edit Database function on this table and scroll through the available records.PDS Environment Variables APPENDIX L model_index_no that has unique integer values. Source: PDS 2D 6. Batch jobs are run using NT Batch. page 22 P2D_IMPORT_UPDATE_MODE=MINIMUM 318 PDS2D Environment Variables . June 1998. Batch jobs are run using the NT Schedule Service.1 Document Addendum. Source: PDS2D RDB Administrator’s Reference Guide. If not set. June 1998. page 29 P2D_GENDOC_LOG_FILE=Directory path Used to specify the directory for the Generate Document log file.log and resides in the temp directory. January 1998.log and resides in the user’s temp directory. The log file is named p2d_plot.log and resides in the user’s temp directory. Source: PDS 2D 6. the form will display automatically when you enter IDM. January 1998. If not set this file is generated as gendoc2d.log and resides in the temp directory.3. If set to 0 or 1 the form shows up. Source: IDM User’s Guide. page 122 P2D_PRTDOC_LOG_FILE=Directory path Used to specify the directory for the Print document log file when using the PDS 2D print document command. By default the log file is named import. MS_PROCESSORS=1 Used when running PDS2D on a machine with more than one CPU. P2D_IMPORT_LOG_FILE=Directory path Used to specify the directory for the import/export log file. page 130 NQS_JOB=1 Used by PDS2D with scheduling NT Batch.APPENDIX L PDS Project Setup PDS2D Environment Variables Control Panel The following environment variables that affect the PDS2D modules are set using Control Panel>System>Environment Variables.1 Document Addendum. Source: PDS Project Setup Guide. page 497 P2D_PLOT_LOG_FILE=Directory path Used to specify the directory for the Plot log file when using the PDS Plotting commands. January 1998. If not set this file is generated as p2dprtdoc. Source: PDS2D RDB Administrator’s Reference Guide. If set. P2D_DONT_SHOW_STARTUP=any value If this variable is not set.3. page 22 P2D_IMPORT_LOG_MODE=Minimum Used to eliminate the non-error messages in the import log. June 1998. P2D_USER_WINMENU=location of winmenu file to use If the IDM Standalone user wants to use a winmenu which is not located in the project. the NT software sets the menu to the pds2d\cfg\directory. set this variable to the UNC file spec of the file to use. PDS_MENU = directory path for the saved customer MDL menu file If not set. This option is triggered by setting the environment variable to the value "MINIMUM". This option makes it easier to resolve problems if an error occurs during import.PDS Environment Variables APPENDIX L The log file created by import has been enhanced and a new import option has been added to update the database after each line in the import file. print document or generate document). PDS2D Environment Variables 319 . P2D_USER_EXTENSION=XXX Related to the IDM standalone menu. P2D_EDTGRA_INIT=Directory path to a Perl script P2D_EDTGRA_EXIT=Directory path to a Perl script Used to specify the directory path of the Perl script used when entering or exiting a drawing. For more information on the EDTGRA environment variables see page 304 of the PDS2D RDB Reference Guide Jan. If this variable is set. If not set the system will default to the same location as the PDS_MENU variable.XXX where XXX is the value of this environment variable.00. PDS_MENU_AUTOACTCUSTOM=any value Sets the user’s custom menu to be automatically activated when entering graphics. If not set the menu used if the default winmenu file or the winmenu file specified by P2D_USER_EXTENSION. the menu used is located at the project’s pds2d\rdb\data directory and is expected to be named winmenu. (P2D_EDTGRA_INIT is entering). Source: PDS2D 06. This variable lets you define the extension of the winmenu file in the project data you wish to use. the command lines sent to the system to create the plot will be output into the log file along with the rest of the log messages.02. 1998. The file must follow the syntax rules of the winmenu file. PDS_MENU_GRAPAL = directory location of graphic palettes Points to directory of graphic palettes.07 Readme File P2D_PLOT_SHOW_CMD=any value Used so that when working with commands that submit plots (either of the plot commands. This also eliminates the need to put #UPDATE statements in import files. always override default scaling. page 473 320 PDS2D Environment Variables .bat file. which is delivered in the win32app\ingr\pds2d\cfg\ directory. if defined. January 1998. The value is a percentage of the scaling. Source: PDS2D RDB Reference Guide. These environment variables. Source: PDS2D RDB Administrator’s Reference Guide. The default form size is 1280x1024 but can be different based on your hardware configuration. GRAPHICS_TOP is used in graphics forms and DATABASE_TOP is used when working in database forms.APPENDIX L PDS Project Setup cfgdat. January 1998. PDS2D_VIEW_OPT=directory path of PostScript viewer executable Used to choose a postscript viewer to view externally. page 355 P2D_USR_FRM_FONT=FONT NAME Used to set a font other than Arial for the database windows. page 324 FTASKMENU=YES OR FTASKMENU=NO Set to Yes to use the MicroMenu forms or set to No to use the MDL palettes. page 269 P2D_INIT_QUEUES=any value Initializes queue list once during setup instead of when the first command is called that requires the list. Source: PDS2D RDB Administrator’s Reference Guide. January 1998. and YFORMSCALE is the scaling for the y-direction. GRAPHICS_TOP=YES DATABASE_TOP=YES Used to tell NT to always place the forms on top of window.1. XFORMSCALE=INTEGER VALUE YFORMSCALE=INTEGER VALUE XFORMSCALE is the scaling you wish to apply to forms in the x-direction. PDS_USER_NO=integer value Used by PDS2D for access control in conjunction with the acc_control file to determine which users have what types of access on which tables.bat File The following environment variables that affect the PDS2D modules are set in the cfgdat. The syntax states there are no spaces on either side of the equal sign. Source: PDS2D RDB Administrator’s Reference Guide. January 1998. For example a 10% increase in size would be set as XFORMSCALE=1. If not defined the user has full access. No is the default. the x coordinate of the upper left of the form will be displayed. If the value is negative. the form appears at the top of the screen. If user wishes forms to be cached the value is set to be an integer. FTASKMENU_Y=pixel value where the menu palette will appear If using the hybrid menu.PDS Environment Variables APPENDIX L FTASKMENU_X=pixel value where the menu palette will appear If using the hybrid menu. PDS2D Environment Variables 321 .01. For a detailed listing of the plotting options see the 2D RDB Administrators Guide page 204 and the IPLOT User’s Guide. By default beginning with PDS 06.03. the form appears at the bottom of the screen. the y coordinate of the upper left of the form will be displayed. the form appears at the bottom of the screen. If the value is negative. the form appears at the top of the screen. P2D_PLOT_QPR_OPTS="options" Sets plotting options to be carried out at plot submission. USE_3_BY_4=any value Used to set the software to use the 3x4 window layout instead of the 2x3 window layout. P2D_DBWIN_Y=Y coordinate value Defines the y coordinate at which the database windows begin. If value is greater than the resolution. P2D_DBWIN_X=X coordinate value Defines the x coordinate at which the database windows begin.00 the forms will not be cached. If value is greater than the resolution. FORM_LIST_LEN=integer Sets the forms to be cached. NOTE: While you can set environment variables in your autoexec.sys file when running Windows 95. and so forth). and therefore will overwrite duplicate environment variables that were defined in your autoexec. FWRELFONTNUM 322 FrameWorks Plus Environment Variables ..\fwplus\data directory contains several of these environment variables set to default values.sys files. FW_ESL_DIR Sets the location of standard section libraries. we do not recommend it. There are several environment variables you can set to customize FrameWorks Plus. Use this environment variable to use a preference file other than the default fw.APPENDIX L PDS Project Setup FrameWorks Plus Environment Variables The following environment variables are used with the PDS Frameworks Plus module and set in the config. Other environment variables that you want to set can be added to the config.dat file in the . FW_PREFERENCE Sets the full directory path and file name for the default preference file. The material name is limited to 16 characters including embedded spaces. FW_PRODUCT Sets the location of the main FrameWorks Plus directory. If you do not set this variable. FW_BDR_DIR Sets the location of drawing border files.bat or config.bat or config. You can edit the default values in this file to suit your needs. The config. ■ FW_BIN Sets the location of FrameWorks Plus bin directory. FW_PROJDIR Location of the directory that contains the project. the user-definable material will be labeled Other by default.dat file.rsc or fwm. FW_DATA Sets the location of the FrameWorks Plus data directory. The same is true if you are running Windows NT and you set environment variables in the Start > Settings > Control Panel > System > Environment tab. (aisc. FW_OTHER_MATERIAL Sets the name for the user-definable material.rsc file. cisc.dat file last when starting. FrameWorks Plus reads the config.dat file. This variable must be set to start FrameWorks Plus using the mdl load fwp MicroStation key-in and to create models using the command-line key-in command cremod. Do not edit this environment variable unless you plan to create your own support labels. FW_SOLID_STROKE Specifies the stroking tolerance factors for the maximum distance between a solid’s actual curve and the approximating vectors.1 will cause faster processing but the results will be less precise than a setting of 0. the longer the volume calculation will take. However. The default font is 35. the calculation would take 5 seconds.0001. FW_RSC_DIR Directory path to FrameWorks Plus resource (or preference) files. However. The lower the tolerance.01. the less processing time that is required to display the solid or calculated the solid’s volume/surface. FW_VOLUME_TOL Specifies the tolerance for calculating the volume of solid elements (slabs. volume calculations on a slab with a circular hole can take several hours if the tolerance is set to 0. a setting of 0. wall. Source: PDS FWPlus 3. Set this tolerance with care. but it will be more accurate. It is recommended that you use a higher setting until you are ready to produce your final deliverables.1 Online Help FrameWorks Plus Environment Variables 323 .PDS Environment Variables APPENDIX L Specifies the font for the FrameWorks Plus member release labels (box shaped labels used to identify releases applied to a member). PML_CEL Sets the location of the cell file that contains PML tutorials. For example. Do not edit this environment variable unless you plan to create your own release labels. For example. FWSUPFONTNUM Specifies the font for the FrameWorks Plus member support labels (pie shaped labels used to identify supports applied to a member). FW_SEEDDIR Location of seed files used to create new models. the curve representation (and any volume calculations) will not be as precise. with the tolerance set to 0. The default font is 34. The greater the number.001. and generic solids). APPENDIX L PDS Project Setup 324 FrameWorks Plus Environment Variables . 106 schemas 39 3D areas 123. 140 database tables 139 schemas 38 A access control 164 account mapping 61 archive CPIO databases 179 projects 178 database vendor 180 full versus incremental 181 NTBACKUP databases 179 projects 178 PDS Project Archive 170 RIS 180 schedule 170 archive.I N D E X Index Numerics 2D disciplines 141 projects 101. 128 design data 140 disciplines 125 models 135. FrameWorks Plus 247 areas 123 3D 128 B backup CPIO databases 179 projects 178 database vendor 180 full versus incremental 181 NTBACKUP databases 179 projects 178 PDS Project Archive 170 RIS 180 schedule 170 batch mail 162 processing 24 queue_descript file 298 queues 60. universal naming 49 coordinate systems 91 creating projects 41 D database setup informix 305 databases creating 67 325 . 155 C clients operating systems 20 configuration batch processing 24 client nodes 20 database software 27 files sharing 22 systems 20 graphics software 25 hardware 13 ISMP 198 operating systems 20 PD_Lice 66 PDS products clients 28 servers 31 plotting 26 RAID 183 server nodes 20 software 19 conventions. universal 49 nodes client 20 server 20 O operating systems. 274 production 262. 245 setup 245 models 123 3D 135 database tables 139 disciplines 140 monument 133 N F files log 225 proj 47 LAN Manager 47 NFS 50 queue_descript 151.INDEX PDS Project Setup drawings 142 Microsoft SQL Server 277 Oracle 251 automatic startup 268. FrameWorks Plus 246 introduction 11 ISMP 197 configure 198 L libraries standard note 137 log files 225 M mail 162 mapping. 289 schemas 56 sharing 22 326 systems 20 FrameWorks 81 FrameWorks Plus 245 archive 247 inserting into PD_Shell 248 interference detection 246 retrieve from archive 247 setup 245 names domain 42 naming conventions. configuration 20 . 269 software 27 tables for 3D models 139 vendor backups 180 default data 118 design data 3D disciplines 140 DesignReview 246 directories project 64 CLIX 220 Windows NT 212 projects 70 disciplines 2D 141 3D 125 DiskShare 203 distributed projects 182 domains groups 46 names 42 usernames 42 users 42 drawings database 142 graphics-only 141 E EE Raceway adding tables to reference schema 86 environment variables 86 projects 84. accounts 61 MDAC 27 Microsoft SQL Server 277 ModelDraft 81. 106 environment variables EE Raceway 86 equipment projects 73 reference data 114 G graphics software 25 graphics-only drawings 141 groups 42 domains 46 H hardware configuration 13 I informix database setup 305 interference detection. 269 organization of projects 124 distributed 182 EE Raceway 84. 289 format 291 queues 60. 269 RIS_PARAMETERS 161 S schemas 2D 39 3D 38 files 56 script to create project directories CLIX 220 Windows NT 212 seed data 131 files 130 327 . equipment and piping 73 adding disciplines 106 CLIX Server 65 copying users to another project 169 creating 41 directories 70 directories 64 Q queue_descript 151. software 196 ISMP 197 levels 187 subsystem components 185 RAID 0 189 RAID 1 190 RAID 5 191 RAID 6 194 reference data 107 equipment 114 piping 108 default data 118 relational interface system 33 communications 35 database structure 36 overview 34 RIS client removing 262. 155 R RAID 183 hardware vs. 106 FrameWorks 81 inserting FrameWorks data 106 inserting FrameWorks Plus into PD_Shell 248 inserting ModelDraft data 106 ModelDraft 81 organization 124 script to create directories CLIX 220 Windows NT 212 Windows NT Server 64 workbook 235 P PD_Lice 66 PD_Shell incorporating FrameWorks Plus projects 248 PDS products clients software 28 server software 31 PE-HVAC configuring project 93 create project 93 permissions default for C drive 48 piping projects 73 reference data 108 default data 118 plant monument 133 plotting 26. 148 general processing rules 292 interactive jobs 297 plot jobs 294 printers connect to printer 149 connected versus created 148 create printer 149 shared from CLIX 150 Windows NT 150 printing general processing rules 292 interactive jobs 297 print jobs 294 proj file 47 sharing LAN Manager 47 NFS 50 projects 69 2D 101.Index INDEX Oracle 251 automatic startup 268. 106 3D. 274 production 262. 0 23.INDEX PDS Project Setup servers functions 14 operating systems 20 requirements 16 shares proj file 47. RAID 185 system administrator responsibilities 147 systems configuration hardware 13 software 19 setup 12 T tables EE Raceway 86 type 63 data 130 U universal naming convention 49 usernames domain 42 users database 67 domain 42 W Windows NT 4. 50 project directories 64 SmartPlant PID 27. 299 workbook 235 working units 91 328 . 105 software compatibility 23 software configuration 19 standard note library 137 subsystem components.
Copyright © 2024 DOKUMEN.SITE Inc.