Documente Academic
Documente Profesional
Documente Cultură
Module 26
Advanced Administration
Training Manual
PLEASE NOTE:
AVEVA has a policy of continuing product development: therefore, the information contained
in this document may be subject to change without notice.
AVEVA MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS DOCUMENT,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
While every effort has been made to verify the accuracy of this document, AVEVA shall not
be liable for errors contained herein or direct, indirect, special, incidental or consequential
damages in connection with the furnishing, performance or use of this material.
This manual provides documentation relating to products to which you may not have access
or which may not be licensed to you. For further information on which products are licensed
to you please refer to your licence conditions.
All rights reserved. No part of this document may be reproduced, stored in a retrieval system
or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording
or otherwise, without prior written permission of AVEVA.
The software programs described in this document are confidential information and
proprietary products of AVEVA Ltd or its licensors.
Visit our website at http://www.AVEVA.com
Database Reports, Isometrics, Drawing etc can be generated from databases that
have a known state for example drawings for checking will only be produced from
the check database.
Objectives
At the end of this module, you will able to:
Explain the basic concepts of Extract Databases
Create Standard and Working Extract Databases
Be able to Create, and Issue PDMS elements
No other user can claim an element that has already been claimed.
Claim mode
Claim mode is set when a Multiwrite db is created but can be changed as required.
Explicit claim - you must claim any element you wish to change before the
modification starts.
Elements can be unclaimed at any time, providing they have not been modified since
the last SAVEWORK.
Extracts
The unchanged data will still be read via pointers back to the Master db.
When required, changes made to the Extract are written back to the Master
db.
The Extract itself can be updated to reflect changes made to the Master.
Extract A and Extract B are extract from the same master database.
When an Extract is created, it will be empty, with pointers back to the owning or
master database.
You can create Extract dbs from any db that can be Multiwrite, i.e. DESI, PADD,
CATA and ISOD.
Extracts can only be created from Multiwrite dbs and are themselves Multiwrite.
You can create many Extracts from one Master db, and also create Extracts of
Extracts, thus creating an Extract Family (10 levels maximum).
An extract can be worked on by one User at the same time as another user is
working on the master or another extract. When a user works on the extract,
elements are claimed to the extract in a similar way to simple Multiwrite databases,
so no other User can work on them.
When an extract User does a SAVEWORK, the changed data will be saved to the
Extract. The unchanged data will still be read via pointers back to the master DB.
When appropriate, the changes made to the extract are written back to the master.
Also, the extract can be updated when required with changes made to the master.
Standard Extracts
Similar to normal databases, i.e. can be owned by any team, given any name, added
to MDBs in the usual way.
Changes flushed back to owning database - claimed elements can then be released,
or kept claimed out for further modification.
Working Extracts
Variant Extracts
Different users can modify the same element in different (variant) Extracts.
If two users modify the same attribute, the changes may conflict. Therefore, control
of this situation may be required, using ACRs.
The user who has issuing rights must resolve any conflicts before issuing changes
back to the Master db.
Extracts in the same family can be owned by the same team or by different teams.
Note: At this release, you can only create an extract at the bottom of an extract tree:
you cannot insert a new extract between existing generations, or create a new
master for the extract family.
Extract Families
A Master DB may have up to 8000 extract DBs. You can create an extract from
another extract, forming a hierarchy of extracts. All the extracts derived from the
same master are describes as an Extract Family.
The original database is known as the Master database. The Master database is the
owner or parent of the first level of extracts. If a more complex hierarchy of extracts
is created, the lower level extracts will have parent extracts which are not the master.
PIPES Master
In this example: -
DB attributes
LVAR Variant
LCTROL Controlled
Persistent claims.
Splitting data into smaller units to avoid mass data processing through large
collections, clashing and spatial map updates.
Extract Claim
/PIPE1
PIPES
PIPES_X1 PIPES_X2
/BRAN1-1
If your extract database has been set-up in implicit claim mode then all you need to
do is modify the item and it will be claimed automatically.
Updates an Extract with changes made in the owning db. Get all changes can be to
a first-level Extract from a Master db, or to a low-level Extract from a higher-level
Extract (one level at a time). This is similar to doing a Getwork on a normal
database.
change
PIPES
change
PIPES_X1 PIPES_X2
NOTE the C in the Elements window showing that the Item is Claimed.
Flush
Local changes are copied to the owning db, but the elements are not released.
Users who have access to the owning db can now see the changes, but they can not
make changes of their own to the elements.
change
PIPES
PIPES_X1 PIPES_X2
change
Flush
After a Flush the Item is still claimed. This is an example of a persistent claim.
Issue
Local changes are copied to the owning db, and the elements are released. Users
who have access to the owning db can now see the changes and can make changes
of their own to the elements.
change
PIPES
PIPES_X1 PIPES_X2
change
Issue
Drop
Local changes will be abandoned. There will be no change to the owning db, and it
will return to its state before the changes were made (even if the user has done a
SAVEWORK). The elements which were being worked on will NOT be released.
Create 3 new Users APPRUSER/A, EXUSERB/B and EXUSERC/C and make them
members of the corresponding teams.
This first database is the master databases so make sure you tick the Master DB
button
Standard Extracts
We are now going to create 2 extracts of the DB and place them in separate teams
i.e EXTEAMB/DESI_X1 and EXTEAMC/DESI_X2.In admin on the main admin
element form select Databases and Extracts.
Currently on this project there is only one multi-write database, the one we have just
created. Create the database EXTEAMB/DESI_X1 based on MASTERA/DESI and
repeat the operation to create EXTEAMC/DESI_X2.
You will notice that because extract databases are Multi-write they themselves are in
the top box Databases for Extract , extracts can be made from extracts.
Create 3 MDBs, MASA, EXTB and EXTC i.e. one for each DB. Copy the mdb
/SAMPLE and put the dbs in the corresponding mdbs. at the top.
Make sure in each case that the first database is the correct one for that MDB in the
above example it is MASTERA/DESI.
Enter PDMS as APPRUSER (master db) in mdb /MASA. Make the main display
window small in height and put it at the top of the screen.
Enter PDMS as EXUSERB (extract db) in mdb /EXTB. Make the main display
window small in height and put it at the bottom of the screen.
In APPRUSER (top of screen) create a SITE and name it /APPROVED then create a
Zone and some pieces of Equipment. Savework.
Select Design>Extract Control and press the 'Get All Changes' button
The form will refresh and the equipment is shown after you click in the elements part
of the form.
Navigate to the equipment zone you have just created and Create Equipment /EQ-3
To show the items that are claimed by the Extract, on the members form select
Control>Show Extract Claim and a * appears at the side of the claimed element.
In APPRUSER (top of screen). Getwork. You will notice that the new equipment
/EQ-3 did NOT appear, this is because the equipment has not been Flushed or
Issued to the master.
You will notice that /EQ-3 has C and M against it indicating that it has been
Claimed and also Modified whilst the owning zone just has an M indicating that it
has been Modified.
When you do a Flush items are available in the owning database but remain
Claimed. At this point the Extract Control Form will just be showing a C against /EQ-
3
I you try for example to change the name of /EQ-3 in the Master database as
APPRUSER you will get a message similar to this: -
In order for another designer to modify the equipment /EQ-3 you will need to issue
the equipment. This will release the claim.
At this point you may wish to try some of your own example of creating, deleting and
renaming items in both of these databases.
Working extracts are allocated to users, we are going to create working extracts for 3
users USERA,B and C to database MASTERA/DESI.
In Admin Select Working Extracts from the Admin Elements form and Create
Working Extracts
Select database MASTERA/DESI. And select USERA, USERB and USERC in the
User List. This will create 3 new db's again all with the same db number but 3 new
db file numbers.
You do not need to create a new mdb for Working Extracts. You can enter PDMS in
the same mdb for all 3 users as access is controlled by the username. Obviously, the
3 users must be added to the team MASTERA.
Use the Extract Control Form to Flush or Issue the database changes back to the
Master database.
Variant extracts
Both standard and working extracts can be variant extracts. Variants are a special
type of extracts in which elements are not claimed from the owner. They are
designed to allow users to try out different designs, which then may or may not be
written back to the master.
When variants are used, all changes are merged together on issue. Changes are
handled at attribute level, so that different users can change different attributes on
the same element and then merge there changes.
No locking is applied to a variant extract, and any locks applied to other extracts are
ignored. This allows many users to modify the same element in a given session, but
has the disadvantage that any conflicts will not be found until the changes are
issued. If two users modify the same attribute, the last change to be merged takes
precedence.
PDMS will ensure that all merges comply with the basic database rules, that is, the
data will comply with all DICE checking requirement, but it cannot check that the
data makes sense in PDMS design terms.
It is recommended; therefore, that data consistency and clash checks are carried out
on the resulting merged data.
Objectives
Users are members of Teams. Only Team members have Write access to
DBs owned by the Team.
Normal PDMS data access control will apply to the Project unless the Data
Access Control option in ADMIN is switched on.
Once DAC is switched on, General Users will not have write access to any
elements unless ACRs have been set up to give them access rights.
A Role, which defines what operations the designer can carry out on which
elements. Example Roles - Create, Modify and Delete all types of PDMS elements.
A Scope, which defines the part of the Design to which the Role applies. Example
Scopes - a particular Site in DESIGN or Registry in DRAFT, or a specified volume
within the model.
Roles and Scopes are referenced by ACRs and must therefore be created before the
ACR has its RoleRef and ScopeRef set.
Roles are likely to be used on all Projects, but Scopes are Project-Specific.
A Role is a set of Permissible Operations (Perops), which define the operations that
can be performed on a given element type.
Enabling DAC
Select YES
Remember General Users do NOT have any access to PDMS elements until and
ACR is created for them.
Creating a Scope
Scopes define the area of the plant where the PDMS Designer can work. We will
create a scope that covers any area in the PDMS Model.
Select Scopes from the Admin Elements form and press Create.
You could be more selective here by entering the name of a SITE or a ZONE etc.
Note:- The syntax for scopes is pml style syntax typically for a site named
/SITE-AREA100 the Scope Selection syntax would be:
Creating a Roles
Select Roles from the Admin Elements form and press Create.
We are going to create a role of piping designer that can create pipes and pipe
branches providing that the pipe has not been issued. The Pipe Designer can also
connect and orientate nozzles.
Select Roles from the Admin Elements form and press Create.
Attributes - ALL
Create another PEROP to allow the Pipe Designer the ability to connect to nozzles.
Select Create
Now create role for the Equipment Designer, allow the equipment designer to create
the equipment hierarchy but only where the purpose of the zone is EQUIP.
Discuss with your trainer what access a pipe support designer might require if they
were going to use MDS or a similar pipe support system that may need access to
Pipes, and steelwork. Think about the PDMS items they might need to create or
modify.
We are going to create ACRs for All Items (or Supervisor), for Pipes and Equipment
Designers.
Select ACRs & ACR Groups on the Admin Elements form and press Create.
Leave the toggle gadget set to Access Control Rights and press OK.
Enter ALL-DESIGN for name. Select ALL-DESIGNER for Roles and ALLSCOPE for
Scopes. Apply the form.
Select Users on the Admin Elements form Select USERA and press Modify.
Repeat the process for USERB and USERC selecting the correct ACR in each case.
To recap: -
USERA can create anything anywhere
USERB can only create pipes in a zone with a purp of PIPE where the pipe
has not been issued.
USERC can only create equipment in a zone where the purp is EQUI.
A good way to test this is to user the Modify > Attributes form at pipe level: -
Select the Apply button you will get the following dialogue box: -
Select YES You will now not be able to modify the pipe or is Hierarchy.
You should also notice that all the attributes on the attributes form is set to (-)
indicating that they can not be updated.
USERC Test that you can only create Equipment in a zone where the
purp is EQUI
You can query your access in design using Query > Project > User Rights .
We will now consider negative DAC where the designer is first given all access and
then access is taken away.
The advantage of doing DAC this way is that you can get PDMS to give out more
meaningful massages, the disadvantage is that there will be more PEROPs for each
Designer.
Earlier in the training we created a Role ALL-DESIGNER we will modify this role to
stop the designer creating equipment.
Name /NOT-EQUIPMENT
Enter PDMS at USERA and check that you can create all items except Equipment
and below.
Earlier in the course you will have discussed with your trainer the access that you
might need if you were a pipe support designer.
The following DAC could be used with the AVEVA Multi Discipline Support system
(MDS).
The support designer would need access to branch members to create ATTAs, swap
elbows, tees etc. He would also need to create branches for Trunnions, SNODS and
joints on steel and create structures but only if the purp of the zone is SUPP.
Access to
Condition
Element
BRAN HEIR VTEXT !!MDSACCESS EQ 'TRUE'
REST HEIR VTEXT !!MDSACCESS EQ 'TRUE'
SNOD HEIR ATTRIB PURP OF ZONE EQ 'STL' AND VTEXT !!MDSACCESS EQ 'TRUE'
STRU HEIR ATTRIB PURP OF ZONE EQ 'SUPP'