Está en la página 1de 82

PowerDesigner Repository

Stephen C. Folkerts

Table of Contents
What is PowerDesigner Repository? ............................................................................................................ 2

1
The PowerDesigner Environment ................................................................................................................. 2
Setup Version 16 Repository......................................................................................................................... 3
Reset Admin Password to Blank ................................................................................................................. 10
Setup the Repository Server (Version 15)............................................................................................... 12
Repository User Access ............................................................................................................................... 17
Repository Users Version 16 ................................................................................................................... 24
LDAP Authentication ............................................................................................................................... 26
Setup New Repository User Connections ............................................................................................... 28
Create Repository Folders........................................................................................................................... 29
Repository Folder Permissions................................................................................................................ 32
Check Model into Repository...................................................................................................................... 38
Select Model Changes to Apply to Repository During Check-In ............................................................. 55
Check Out Model from Repository ............................................................................................................. 72
Delete Model from Repository ................................................................................................................... 76
Add Existing Model to Another Repository Branch .................................................................................... 77
Add New Repository Branch ....................................................................................................................... 79
References .................................................................................................................................................. 81

External Links

PowerDesigner
Data Modeling With PowerDesigner
Install PowerDesigner
Connect to PowerDesigner

What is PowerDesigner Repository?


The PowerDesigner Repository is a fully integrated, highly scalable, design-time Enterprise
repository, hosted by a relational database. The repository offers capabilities such as role-based
security on models and sub-models, version control, configuration management, merge, deltas
between models and versions, and comprehensive, full-repository search capabilities.

The PowerDesigner Environment


The deployment of PowerDesigner typically involves the installation of a license server, one or
more repository components, and a number of client machines.

2
A PowerDesigner environment can contain the following servers, components, and client
machines:

PowerDesigner server components (enclosed in the dotted line box) - Can all be installed on
a single server or on separate servers as necessary to maximize performance:
o SySAM Server - Required if using served or floating licenses.
o Repository Server - Required if using the repository.
o Proxy Server - Required if using the repository proxy.
o Portal Data Server - Required if using the PowerDesigner Portal.
o Portal Web Server - Required if using the PowerDesigner Portal.
Local servers - PowerDesigner can connect to these servers in your local environment:
o LDAP Server - to delegate the authentication of repository users.
o SMTP Server - to automate the sending of email notifications.
Client machines - Allow users to access the repository using the following applications:
o PowerDesigner Client - Can access the repository directly or through the proxy.
o Web Browser - Can access the repository through the PowerDesigner Portal.

Setup Version 16 Repository

3
4
5/21/2012 This is after copying the version 15 repository to 16. This will upgrade the
repository in place from 15 to 16.

5
6
Need to be db_owner. Dont have create table permission.

7
8
9
Reset Admin Password to Blank
Locate the table PMUSER
Locate the ADMIN user row (do not confuse with ADMN) or a specific user ID
Change the value for PSWD column to the following:
{SHA-1:Sk1KS1BCRkY=}E+B3joNMzSmQA5fWpkYJqNzSGR8=
Save the changes you have made
From PowerDesigner, try logging into the repository with the user id , leaving the password field
blank

10
11
Setup the Repository Server (Version 15)
2/4/2010 This is a one-time. Connect as ADMIN. Password is blank (default) until changed.
Use the repository DSN connection.

12
13
14
Takes awhile (several minutes) to execute.

15
16
Repository User Access
2/4/2010 Create a repository user for each installation. This should come automatically
through LDAP (Active Directory).

17
18
Login without the password. Initially its blank. And change it later.

19
Basically it recognizes that the repository hasnt been created in the database youre pointing to
and is asking whether you want to install the repository in the default database (which is
probably master). Dont! Its a problem with the DSN. Youll need to correct the referenced
database in the DSN.

20
5/7/2010 I changed to using Windows authentication rather than SQL Server authentication.

Details are in pmuser. Repository Administration Execute SQL.

21
22
23
Im just playing around with rights. I havent setup a portal with the viewer, and theres a lot
more people in here than I want who only need view access.

Repository Users Version 16

24
25
LDAP Authentication

Version 16 now uses LDAP for authentication.

26
27
I havent set this up yet. Need to talk with Tom in server ops to get the LDAP server
information.

Setup New Repository User Connections

Im getting a process in place for the HelpDesk to use/follow regarding requests to install
PowerDesigner and setup new repository users so the HelpDesk is the single point of contact.

28
3/8/2011 Spoke with Deepa yesterday afternoon and offered to help her start working with the
Business Process Model whenever she wants. Deepa left the SAP team and moved to the EA
group and is doing business process. Its not clear yet if Vidya still wants to use PowerDesigner
tool of choice for EA. I like it because of the adherence to Zachman framework and the EA
requirements model.

Create Repository Folders

29
30
5/11/2010 I setup some are training folders for tomorrows 3-day EA workshop.

31
Repository Folder Permissions

32
5/7/2013 Want to give this person check-in privilages to only one directory Edison.

33
Currently she only has list privilages. She can check any model out of any directory, so she can
check-out Vibe models, but she cant check anything in. Valena is working on an R&D project in
Edison. Im loaning R&D one of our floating licenses.

34
35
Changed to Submit privileges.

36
37
Give her write privileges in the Edison folder.

Check Model into Repository

38
39
40
Use Freeze after check in. If its a cloned model, make sure the name and code are the same.
Otherwise its saved to the repository with a name you dont want.

41
42
43
44
45
46
47
You may want to check out the model in a separate step. Heres a business process model being
checked in. Make sure it goes to the right folder. You want to check the freeze after check in
box.

Any changes to the model will be shown. For example here I added a new subject area package.

48
Modify user privilages.

49
50
51
3/7/2013 Typically Ill generate a new physical model from the logical model and save it to the
current PBM file. When you check in the new physical model it gives this message.

52
You then get the check in document dialog box, but now the create baseline version checkbox is
no longer greyed out.

53
If you say no, you get this message.

Freeze versions. Freeze after check in (check box)


Check out after check in (multiple people are working on the model. Ensures after checking in
your changes you get the most recent changes if someone else has checked in their changes.
(Check box)
Save diagrams for Power Designer Portal (check box) (Save prepared diagrams) for Repository
web browser. Uses TomCat.

If theres a little green light on the model diagram its the same as the repository. If the little
light is red, its different. Compare your model then to the repository.

When you check in, the merge window shows little yellow corner icons (theres also show all
changes). Changes show in the window at the bottom. You can choose which changes to apply.
Theres also a merge preview icon to review changes in text format rather than graphical.

To move a model from dev to QA check in (new) to the QA folder.

When you check out, you can pick which version. Dont check out to file if youre only
reviewing the model (check out to memory). Do a file save if you want it on your hard drive.

Lock, Unlock, Freeze, UnFreeze

Configurations Bundles check-out (about releases) I need all the files for the June release.
Projects Bundle for both check-in and check-out

Search - Find objects in the repository.

54
Select Model Changes to Apply to Repository During Check-In

Upgraded PowerDesigner to 16.5 EBF1

The local model has column datatypes as numeric.

The local version of the model is 16. Because of the issue, Im checking the model in but not
out.

55
The repository model version is 20.

56
Im expecting to check in the local model as version 21 and also update the local model as
version 21.

57
Its showing all the integer datatypes being changed to numeric. Which is kind of interesting
because the repository version should show numeric also. The model was checked in after the
integers were changed to numeric.

I wasnt thinking. Im looking at this after the fact and I realized you need to select all the
changes you want to be applied to the repository. Theyre all deselected by default.

58
It should look like this with all the changes checked.

59
It says the local version 16 is identical to the repository version 20.

60
So Ill make one change to the local version Ill change one column back to integer.

And check in again.

61
Its still showing table changes that were not made that are already in the repository.

62
Now all my changes are undone All the 50+ columns are reset to integer.

63
And all my numeric columns are reset to integer.

64
Now my local model has been updated to version 21. Its in sync with the repository, but my
changes were not applied. And I need to change all the column datatypes from integer to back to
numeric.

65
To avoid this problem, Ive had to check the model into the repostitory, but not check out. I
know my local copy is correct. But each time I use the check out option, my local model
becomes wrong.

OK I reverted to my backup copy of the model. Now everything, all the table datatypes, are
back to numeric

66
Here Im going to the repository and checking out version 20 which is supposed to be in sync
with my local model version 16.

Here its showing that all the columns in the repository are integer and the local copy numeric.

67
And once again, all the changes in the local copy of my model are undone.

68
All the columns in my local model get changed back to integer. Which is wrong.

69
It says the models are in sync version 20.

70
And this confirms it Todays date on the model.

71
Check Out Model from Repository
4/6/2010 Diagrams are stored compressed in the repository. By design models cant be viewed
or displayed in the repository. In order to display a model, it needs to be checked out of the
repository. Theres an option to check it out in read-only mode.

72
Be sure to check out the latest version.

73
Check out dependencies also.

74
Check-out read only. This is the logical IDS model. Which I have some problems with. HP
insists on multiple logical models. I want one logical model regardless of the different physical
layers i.e. staging, IDS, DWH, Proxy.

75
Delete Model from Repository

76
Add Existing Model to Another Repository Branch

77
78
Add New Repository Branch

79
In the repository, select the folder you want to branch, right-click and select new branch.

80
References

81
Arthur Rackham. Pandora. Retrieved from
http://www.artpassions.net/galleries/rackham/wonderbook/wb_pandora.jpg

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc38092.1610/doc/htm
l/rad1300357542012.html

82

También podría gustarte