Creating and populating the database for PostgreSQL or PostgreSQL cloud-based databases for the Dynamic Workload Console
Instructions for creating and populating the Dynamic Workload Console database for PostgreSQL
- Create the PostgreSQL database and ensure it is configured to allow remote
connections. To create the database, use the
following
command:
This command creates the database with the collation feature enabled.create database <database_name> with lc_collate='C' template=template0; - Create a user dedicated specifically to the new database schema and do not use the administrator user (postgres) for this purpose.
- Amazon RDS for Postgres
- Google Cloud SQL for Postgres
You can perform a typical database procedure, as described in the following scenarios, or you can customize the database parameters, as described in FAQ - Database customizations.
You can optionally configure PostgreSQL in SSL mode on UNIX operating systems by specifying the sslkeysfolder and sslpassword parameters when you run the configureDb command. For more information, see How can I use certificates when Db2 or PostgreSQL is in SSL mode?
You can run the configureDb command specifying a typical set of parameters. In this case, default values are used for all remaining parameters.
For more information about all parameters and supported values of the configureDb command, see Database configuration - configureDb script.
Default values are stored in the configureDbPostgresql.properties file, located in image_location. If you need to modify any of the default values, edit the configureDbPostgresql.properties file, but do not modify the configureDbPostgresql.template file located in the same path. For an example of a properties file, see What is the content of a database properties file?.
To create and populate the Dynamic Workload Console database and schema for PostgreSQL, perform the following steps:
You have now successfully created and populated the Dynamic Workload Console database.
For more information about all parameters and supported values of the configureDb command, see Database configuration - configureDb script.
You can now proceed to Creating the IBM Workload Scheduler administrative user.
On Windows operating systems
On UNIX operating systems