Naming in Db2 data sharing
By maintaining a consistent naming convention, you can simplify the process of naming the many items in a Db2 data sharing environment. You also simplify the management of name changes, as you add new members or move existing members to different systems in the future.
About this task
You assign to names to entities during the process of installing Db2 and enabling data sharing. Some parts of a data sharing system require you to specify a valid name. Other names are generated during the installation process.
After installation, you cannot change some names, such as the group name and member names. To change names of data sharing members you must quiesce existing members and add replacement members with the new name. For more information about that process, see Renaming data sharing members.
Assign names to both IRLM and data sharing groups, and to members within a group. One recommendation is to make names and prefixes unique within the Parallel Sysplex®. Although this uniqueness is not required for all names, it helps you avoid problems with identifying and moving entities among z/OS systems in the Parallel Sysplex.
If you are enabling the originating member of the group from an existing Db2 subsystem, you can build a naming scheme around existing names to reduce the disruption to existing applications. However, before enabling data sharing, you might want to change some names to lay the foundation for a solid naming convention. For information about the process for changing the name of the originating member, see Renaming the originating Db2 subsystem for a new data sharing group.
Another name to choose carefully is the catalog alias for the group. It is very difficult to change that name. To change the catalog alias for the group, you must bring the entire group down and perform the single-system procedure for every member of the group.
Procedure
Consider the following suggestions when naming various Db2 entities:
Example of names for a Db2 data sharing environment
Entity | Name |
---|---|
Db2 group name | DSNDB0A |
ICF catalog alias | DSNDB0A |
Group attachment name | DB0A |
Subgroup attachment name | SBG1 |
Catalog and directory database names | DSNDB0A.DSNDB01 and DSNDB0A.DSNDB06 |
Application defaults module | DSNHDECP |
Target libraries |
DSNDB0A.SDSNCLST
DSNDB0A.SDSNLINK DSNDB0A.SDSNLOAD DSNDB0A.SDSNEXIT |
Network Address | DOMAIN DSNDB0A.svl.ibm.com AND PORT 446 |
Group DRDA Port | 446 |
Group Secure DRDA Port | 448 |
Location name | STLEC1 |
Generic LU name | USIBMSY.SYEC1GLU |
Parallel Sysplex domain name | DSNDB0A.svl.ibm.com |
Group IPv4 Address | 1.1.1.1 |
Group IPv6 Address | 1.1.1.1.1.1.1.1.1 |
Member name | DB#A |
Db2 subsystem name | DB#A |
Location alias name | ALIAS1 |
Member LU name | LUDB2LA |
Member domain name | DSNDB0A.svl.ibm.com |
Network address | DOMAIN DSNDB0A.svl.ibm.com AND PORT 5001 |
Resync Port | 5001 |
Member IPv4 Address | 2.2.2.2 |
Member IPv6 Address | 2.2.2.2.2.2.2.2.2 |
Command prefix | -DB#A |
Work file database | WRKDB#A |
Load module for subsystem parameters | DSNZP0#A |
Member BSDS names |
DSNDB0A.DB#A.BSDS01
DSNDB0A.DB#A.BSDS02 |
Active log data set prefixes |
DSNDB0A.DB#A.LOGCOPY1
DSNDB0A.DB#A.LOGCOPY2 |
Archive log data set prefixes |
DSNDB0A.DB#A.ARC1
DSNDB0A.DB#A.ARC2 |
SCA and group buffer pool connection names | DB2_DB#A |
Procedure names |
DB#AMSTR
DB#ADBM1 DB#ADIST DB#ASPAS |
XCF member name | DB0A |
IRLM group name | DXRDB0A |
IRLM subsystem name | DJ#A |
IRLM procedure name | DB#AIRLM |
IRLM member ID | Number 1-12 corresponding to # |
IRLM XCF member name | DXRDB0A$$DJ#A12 |
Lock structure connection name | DXRDB0A$$DJ#A12 |
Cache structure (group buffer pools) | DSNDB0A_GBP0 |
Lock structure | DSNDB0A_LOCK1 |
List structure (shared communications area) | DSNDB0A_SCA |
What to do next
Consider a convention for names for distributed processing. Those naming conventions are probably be part of a much broader convention. See your network administrator for more information about choosing names for distributed access.