Creating the databases without running the provided scripts

If you used the cp4a-prerequisites.sh script to generate the database SQL statement files (scripts) and YAML template files for the database secrets, then you do not need to create these resources and apply them again.

About this task

Tip: When you use the cp4a-prerequisites.sh script, you must review the requirements in the documented steps to create a database. Make sure that the databases that you create satisfy your intended workload. For deployments that need to operate continuously with no interruptions in service, set up a high availability (HA) database.

For more information about running the cp4a-prerequisites.sh script, see Recommended: Preparing databases and secrets for your chosen capabilities by running a script.

The database can be any from Db2®, PostgreSQL, SQL Server, and Oracle. The database type is configured with the datasource_configuration parameters in the custom resource. If you want to use a Db2 HA database, you must configure the externalCustomDatabase parameters instead.