19.06.2013 Views

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.1 DDF enhancements<br />

A requester database alias, a server location alias and member routing in a TCP/IP network<br />

are provided in DDF.<br />

7.1.1 Requester database alias<br />

During this discussion, in which we want to differentiate between <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> and <strong>DB2</strong> <strong>for</strong><br />

Linux, UNIX, and Windows, we call the latter <strong>DB2</strong> <strong>for</strong> Multiplat<strong>for</strong>ms.<br />

A <strong>DB2</strong> <strong>for</strong> Multiplat<strong>for</strong>ms database is known in the network by its database name. This<br />

database name is used by applications to connect to an instance of a <strong>for</strong> Multiplat<strong>for</strong>ms<br />

database. A <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> requester uses a location name to connect to an instance of a <strong>DB2</strong><br />

<strong>for</strong> Multiplat<strong>for</strong>ms database. A location name maps to a <strong>DB2</strong> <strong>for</strong> Multiplat<strong>for</strong>ms database<br />

name. When a <strong>DB2</strong> <strong>for</strong> Multiplat<strong>for</strong>ms database is deployed to a large number of servers, in<br />

some cases in the thousands, the database is commonly deployed with the same name in<br />

different locations.<br />

The current Communications Database catalog tables require a one to one mapping with a<br />

location and a network address. A location can only be defined to one network address. To<br />

allow a z/<strong>OS</strong> requester to access multiple <strong>DB2</strong> <strong>for</strong> Multiplat<strong>for</strong>ms databases with the same<br />

database name, a new column is added to SYS<strong>IBM</strong>.LOCATIONS table called DBALIAS. This<br />

column allows a database administrator to specify multiple locations <strong>for</strong> a <strong>DB2</strong> <strong>for</strong><br />

Multiplat<strong>for</strong>ms database deployed on multiple locations. A z/<strong>OS</strong> application would then<br />

specify a location name to access an instance of a <strong>DB2</strong> <strong>for</strong> Multiplat<strong>for</strong>ms database and the<br />

SYS<strong>IBM</strong>.LOCATIONS would map the location name to the <strong>DB2</strong> <strong>for</strong> Multiplat<strong>for</strong>ms database<br />

name which is then used to connect to the <strong>DB2</strong> <strong>for</strong> Multiplat<strong>for</strong>ms database.<br />

7.1.2 Server location alias<br />

A <strong>DB2</strong> server is known in the network by its location name. This name is used by applications<br />

to identify an instance of a <strong>DB2</strong> subsystem or a group of data sharing <strong>DB2</strong> subsystems.<br />

When two or more <strong>DB2</strong> subsystems are migrated to a single data sharing group, multiple<br />

locations must be consolidated into a single location. When the locations are consolidated, all<br />

applications using the old location name need to be changed to access the new data sharing<br />

group location name.<br />

When there is a large number of remote applications deployed across the network, in some<br />

cases in the thousands, it is impossible to effectively change each application simultaneously<br />

to use the new location name. In order to support the migration from multiple locations to a<br />

single location, eight location alias names can be defined <strong>for</strong> a <strong>DB2</strong> subsystem or group of<br />

data sharing <strong>DB2</strong> subsystems.<br />

A location alias is another name that a requester can use to access a <strong>DB2</strong> subsystem. <strong>DB2</strong><br />

accepts requests from applications that identify the <strong>DB2</strong> server with its location name or any<br />

of its location alias names. The Change Log Inventory utility allows a user to define up to eight<br />

alias names in addition to the location name. The Print Log Map utility prints any location alias<br />

names defined <strong>for</strong> the <strong>DB2</strong> subsystem.<br />

7.1.3 Member routing in a TCP/IP Network<br />

In a sysplex environment, setting up rows in the new SYS<strong>IBM</strong>.IPLIST table at a requester in<br />

conjunction with defining location aliases at the server provides the ability <strong>for</strong> a DBA to<br />

override the default TCP/IP workload balancing. Currently, connections are automatically<br />

Chapter 7. Networking and e-business 283

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!