Scenario 3: Implementing multiple Repositories with multiple GKB databases
This deployment scenario implements two Repositories in a single Db2® subsystem, each with its own global knowledge base (GKB) database. This deployment scenario is not common because you must apply monthly updates to each GKB database.
About this task
Procedure
-
Customize an instance of the HZASCUST
member in the hza.SHZASAMP data set with the
following parameters:
- DBTYPE=DB2
- REPZSCHM=REPHLQ1
- GKBZSCHM=GKBHLQ1
- DB=REPDB1
- DBGKB=GKBDB1
- Submit the HZASCUST job.
-
Create the first Repository and GKB database, and grant access to them:
- Run the HZASDB01 job to create storage groups.
- Run the HZASDB02 job to create the GKB database and database objects.
- Run the HZASDB03 job to create the Repository database and database objects.
- Run the HZASGKBL job to load GKB data.
- Run the HZASGRNT job to grant DBADMIN access to Z Asset Optimizer administrator.
- Run the HZASGRTB job to grant SELECT access to database tables.
-
Collect Inquisitor and Usage Monitor data:
- Run the HZASINQZ job on all z/OS LPARs to collect Inquisitor data.
- Run the HZASINQU job on all z/OS LPARs to collect Inquisitor data for UNIX.
- Run the HZASUMON job on all z/OS LPARs to collect usage data.
- Run the HZASZCAT job to condense usage data, separately for each z/OS LPAR (if there are usage data from 3 LPARs, then there should be 3 condensed output files).
- Transfer the collected Inquisitor and condensed ZCAT usage data to the central site via file transfer protocol (FTP).
- Import Inquisitor and Usage Monitor data at the
central site:
- Run the HZASIQIM job to import Inquisitor data into the second Repository database for each LPAR.
- Run the HZASUIMP job to import Usage data into the second Repository database for each LPAR.
-
Customize another instance of the HZASCUST member in the hza.SHZASAMP data set with the following
parameters:
- DBTYPE=DB2
- REPZSCHM=REPHLQ2
- GKBZSCHM=GKBHLQ2
- DB=REPDB2
- DBGKB=GKBDB2
- Submit the HZASCUST job.
-
Create the second Repository and second GKB database, and grant access to them:
- Run the HZASDB01 job to create storage groups.
- Run the HZASDB02 job to create the GKB database and database objects.
- Run the HZASDB03 job to create the Repository database and database objects.
- Run the HZASGKBL job to load GKB data.
- Run the HZASGRNT job to grant DBADMIN access to HCL Z Asset Optimizer administrator.
- Run the HZASGRTB job to grant SELECT access to database tables.
-
Collect Inquisitor and Usage Monitor data for the second Repository database:
- Run the HZASINQZ job on all z/OS LPARs to collect Inquisitor data.
- Run the HZASINQU job on all z/OS LPARs to collect Inquisitor data for UNIX.
- Run the HZASUMON job on all z/OS LPARs to collect usage data.
- Run the HZASZCAT job to condense usage data, separately for each z/OS LPAR (if there are usage data from 3 LPARs, then there should be 3 condensed output files).
- Transfer the collected Inquisitor and condensed ZCAT usage data to the central site via file transfer protocol (FTP).
-
Import Inquisitor and Usage Monitor data at the central site:
- Run the HZASIQIM job to import Inquisitor data into the second Repository database for each LPAR.
- Run the HZASUIMP job to import Usage data into the second Repository database for each LPAR.