Creating artifacts for provisioning Db2 by running the installation CLIST
You can run the installation CLIST to create artifacts for provisioning Db2 subsystems and data sharing groups.
Before you begin
Apply the PTFs for the following APARs:
- PH19751
- PH09857
Configure z/OSMF Version 2.3 with APAR PH09130 or higher.
About this task
With IBM Cloud Provisioning and Management for z/OS, you can create services for provisioning Db2 for z/OS subsystems and data sharing groups. Certain artifacts are needed for creating the services, and one way to create the artifacts is by running the Db2 installation CLIST.
For an overview of process for creating services, see IBM Cloud Provisioning and Management for z/OS .
Procedure
To create artifacts for services that provision Db2 subsystems by running the installation CLIST, complete the following steps:
Results
The CLIST generates the following output data sets. The generated z/OSMF artifacts are always written to the zFS path specified in the field PATH FOR Z/OSMF ARTIFACTS on panel DSNTIPM1. This field is mandatory for provisioning.
- prefix.NEW.SDSNMFSA
- A new data set that contains the z/OSMF variable input and workflow definitions, and the following new z/OSMF files that provide services for the provisioned Db2 subsystems. Except where otherwise noted, all files are common for provisioning both Db2 data sharing and stand-alone Db2 subsystems.
- ACTIONS (DSNACTON)
- Describes the actions that can be performed on a provisioned Db2 system.
- DSNDDDF
- Describes the workflow for displaying DDF information of a provisioned Db2 system.
- DSNDGRPD
- Describes the workflow for displaying group information of a provisioned Db2 system.
- DSNDEPRV (standalone only)
- Describes the workflow for deprovisioning a standalone Db2 subsystem.
- DSNDEPRC (data sharing only)
- Describes the workflow for deprovisioning a provisioned Db2 data sharing group.
- DSNOPENT
- Describes entities for the workflow to enable optional features, such as JDBC, ODBC, Db2 REST Services, on a provisioned Db2 system. This file contains the steps that are shared/included in the DSNOPTFT, DSNTIWIN and DSNTIWPC workflow definition files.
- DSNOPTFT
- Describes the workflow to enable optional features, such as JDBC, ODBC, Db2 REST Services, on a provisioned Db2 system.
- DSNSTART
- Describes the workflow to start provisioned Db2 systems.
- DSNTSTOP
- Describes the workflow to stop provisioned Db2 systems.
- DSNTIVIN
- Describes the variables that define a standalone Db2 subsystem or the first member of a Db2 data sharing group. This is the file that the CLIST normally generates when installing the second or subsequent members of a data sharing group.
- DSNTIVIA (data sharing only)
- An input variable file that describes the variables that defines additional Db2 data sharing members after the first. This is the file that the CLIST normally generates when installing the second or subsequent members of a data sharing group.
- DSNTIWIN (standalone only)
- Describes the workflow to provision a standalone Db2 subsystem.
- DSNTIWPC (data sharing only)
- Describes the workflow to provision a data sharing group with at least 2 members. This workflow contains steps for installing an n-way data sharing system, where n > 1. It is basically a merge of DSNTIWIN (the workflow for provisioning a stand-alone Db2 subsystem) and DSTIWIA (the workflow for installing the second or subsequent member of a data sharing group).
- prefix.NEW.SDSNSAM2
- The JCL templates for z/OSMF.
The CLIST generates the following mandatory steps for provisioning stand-alone Db2 subsystems. The new steps s00INSSS to s00DEFSS are added at the beginning, and stepJTU is added at the end before dsnOpEnt, of the DSNTIWIN workflow, which is the workflow generated when installing a stand-alone Db2 subsystem.
- s00INSSS — Instantiate and validate the Db2subsystem identifier ssid. (DSNTRSSN)
- s00SETVP — Set values for variables whose values are generated at provisioning time. (setVariable)
- s00PORT — Acquire Db2 ports from the network resource pool. (REST API)
- s00PORTRES — Acquire a TCP/IP port that is used to process requests for two-phase commit resynchronization.
- s00ALIAS — Define aliases for the instantiated Db2 system. (DSNTIJDA)
- s00PPROC — Allocate private procedure library for the instantiated Db2 system. (DSNTIJPP)
- s00SETVL — Assign values to BSDS, active and archive logs variables. (setVariable)
- s00IRLM — Assign IRLM SSID based on the instantiated Db2 system SSID. (Inline shell-JCL)
- s00DEFSS — Define the instantiated Db2 and IRLM systems to z/OS. (DSNTIJMD)
- stepJTU -- Create and grant usage of Db2 storage group for user data (DSNTIJTU)