13.5.1 Settings for enhancing the embedded database management function
The embedded database management function was enhanced in JP1/AJS3 - Manager 10-00 and later versions. Accordingly, the following changes were made.
Changes |
JP1/AJS3 - Manager version |
|
---|---|---|
Earlier than 10-00 |
10-00 and later |
|
Embedded database process management process (pdprcd process) |
When an embedded database environment is created, the process resides in the OS until the setup of the embedded database is canceled. |
Stopping the embedded database also stops the pdprcd process. |
For embedded databases created by JP1/AJS3 - Manager whose version is earlier than 10-00, the management function enhancements must be set. Even if you do not specify the enhancement settings, you need to specify the settings shown below if you use the ajsembdbinstl command to install an embedded database or create or re-create a logical host.
The procedure for enhancing the embedded database management function is shown below.
- Organization of this subsection
(1) Procedure for enhancing the embedded database management function
After performing an upgrade installation of JP1/AJS3 - Manager, perform the following procedure for all the hosts you set up.
To enhance the embedded database management function:
-
Execute the ajsembdbinstl command to perform an overwrite installation of the embedded database.
For details about the ajsembdbinstl command, see ajsembdbinstl in 2. Commands Used during Setup in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.
-
Change the setting in the system common definition file for the embedded database.
Use an editor such as vi to open the following file, and then change the settings.
- System common definition file:
-
embedded-database-practical-directory/conf/pdsys
- Before the change:
-
set pd_mode_conf = AUTO#
- After the change:
-
set pd_mode_conf = MANUAL2
- #
-
In a logical host environment, the value before the change is MANUAL1.
If AUTO or MANUAL1 is set in the system common definition file, change the value to MANUAL2.
-
Copy the model files to the JP1/AJS3 startup process definition file and JP1/AJS3 extended startup process definition file, which are used for database management.
Overwrite the following files by copying the model files.
File type
File name
Model file
JP1/AJS3 startup process definition file (database management)
- For a physical host:
-
/etc/opt/jp1ajs2/conf/jp1ajs_dbmd.conf
- For a logical host:
-
shared-directory/jp1ajs2/conf/jp1ajs_dbmd.conf
/etc/opt/jp1ajs2/conf/jp1ajs_dbmd.conf.model
JP1/AJS3 extended startup process definition file (database management)
- For a physical host:
-
/etc/opt/jp1ajs2/conf/jp1ajs_dbmd_0700.conf
- For a logical host:
-
shared-directory/jp1ajs2/conf/jp1ajs_dbmd_0700.conf
/etc/opt/jp1ajs2/conf/jp1ajs_dbmd_0700.conf.model
-
Change the setting in the JP1/AJS3 extended startup process definition file used for system management.
Use an editor such as vi to open the following file, and then change the underlined value in the line under Before the change.
- JP1/AJS3 extended startup process definition file (system management)
-
- For a physical host:
/etc/opt/jp1ajs2/conf/jp1ajs_service_0700.conf
- For a logical host:
shared-directory/jp1ajs2/conf/jp1ajs_service_0700.conf
- Before the change
-
jajs_dbmd|jajs_dbmd||0|3|3|21600|0|2||1|||||||
- After the change
-
jajs_dbmd|jajs_dbmd||1|3|3|21600|0|2||1|||||||
(2) Procedure for specifying the required settings when the embedded database management function is not enhanced
If you do not enhance the embedded database management function for reasons such as difficulty in changing the created environment, you can use the embedded database in its status before the upgrade. In such cases, you can use JP1/AJS3 - Manager after an upgrade installation without making any changes. However, if you use the ajsembdbinstl command to install an embedded database or create or re-create a logical host, you need to perform the following.
(a) Required procedure for using the ajsembdbinstl command to install an embedded database
To use the ajsembdbinstl command to perform a new or upgrade installation of an embedded database:
-
Execute the ajsembdbinstl command with the -v9standard option specified.
For details about the ajsembdbinstl command, see ajsembdbinstl in 2. Commands Used during Setup in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.
(b) Required procedure for creating or re-creating a logical host
To create or re-create a logical host, perform the following after setting up the logical host environment.
-
Copy the model files to the JP1/AJS3 startup process definition file and JP1/AJS3 extended startup process definition file, which are used for database management.
Overwrite the following files by copying the model files.
File type
File name
Model file
JP1/AJS3 startup process definition file (database management)
shared-directory/jp1ajs2/conf/jp1ajs_dbmd.conf
/etc/opt/jp1ajs2/conf/jp1ajs_dbmd.conf.v9standard.model
JP1/AJS3 extended startup process definition file (database management)
shared-directory/jp1ajs2/conf/jp1ajs_dbmd_0700.conf
/etc/opt/jp1ajs2/conf/jp1ajs_dbmd_0700.conf.v9standard.cluster.model