Download PDF - IBM Redbooks
Download PDF - IBM Redbooks
Download PDF - IBM Redbooks
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
* FOR DB2 CATALOG AND DIRECTORY (DB2 SUBSYSTEM PE11) */<br />
/**********************************************************************/<br />
WHEN (&DSN = &PE11CAT | &STORCLAS = 'SCPE1CAT')<br />
SET &STORCLAS = 'SCPE1CAT'<br />
/**********************************************************************/<br />
/* FOR DB2 SAP DATABASES(DB2 SUBSYSTEM: PE11) */<br />
/**********************************************************************/<br />
WHEN (&DSN = &PE11SAP | &STORCLAS = 'SCPE1SAP')<br />
SET &STORCLAS = 'SCPE1SAP'<br />
... etc.<br />
STORGRP:<br />
PE1<br />
SGPE1CAT - for DB2 catalog and directory (volume PE1V00);<br />
SGPE1LG1 - for DB2 logcopy 1 (volumes PE1V02);<br />
SGPE1ARC - for DB2 archive logs (volume PE1V13 - PE1V16);<br />
SGPE1LG2 - for DB2 logcopy 2 (volumes PE1V03);<br />
SGPE1SAP - for DB2 SAP databases (volumes PE1V04 - PE1V12);<br />
SGPE1WRK - for working datasets (volume PE1VWK);<br />
SGPE1IC - for DB2 image copies (volumes PE1V17 - PE11V20);<br />
/**********************************************************************/<br />
/* DB2 SYSTEM CATALOG AND DIRECTORY(DB2 SUBSYSTEM: PE11) */<br />
/**********************************************************************/<br />
WHEN (&STORCLAS='SCPE1CAT')<br />
SET &STORGRP = 'SGPE1CAT'<br />
/**********************************************************************/<br />
/* DB2 LOGCOPY1 (DB2 SUBSYSTEM: PE11)<br />
*/<br />
/**********************************************************************/<br />
WHEN (&STORCLAS='SCPE1LG1')<br />
SET &STORGRP = 'SGPE1LG1'<br />
/**********************************************************************/<br />
... etc.<br />
SMS consideration for DB2 active logs and BSDS<br />
DB2 requires two copies of the active logs and BSDS data sets because of their importance<br />
for DB2 processing and stability. DB2 keeps them current in parallel. If one copy is not<br />
readable, another copy is available. For availability reasons, place the DB2 active log and<br />
BSDS copies on to separate disks using one of the following methods:<br />
► Use two SMS storage groups with the following fields:<br />
– LOGCOPY1, BSDS01<br />
– LOGCOPY2, BSDS02<br />
Now LOGCOPY1 and LOGCOPY2 are not on the same volumes, and BSDS01 and<br />
BSDS02 are not on the same volumes.<br />
► Use one SMS storage group with guaranteed space, and specify guaranteed space for<br />
(COPY1,BSDS01) and (COPY2, BSDS02) to separate volumes and increase availability.<br />
Use a separate ICF catalog for the active log data sets and the BSDS to accommodate the<br />
SMS Log Copy Pool. If archive logs go to DASD, which is a good practice, you can use SMS<br />
storage groups for all DB2 members in the data sharing group.<br />
Appendix B. Planning, preparing, and implementing the SAP landscape 179