Running the steps that require DBA privileges
You can run a script to do the database object creation steps that require DBA privileges. Do this procedure if you do not want to enter DBA credentials when you install OpenPages® or if your organization's security policies require the separation of DBA and non-DBA tasks.
Before you begin
- The Db2® database server is running
- A database instance for the OpenPages database is created
- The sql-wrapper.sql is configured for your environment
About this task
Run the following script: op-database-dba-install.sh|.bat. The script uses the parameters in the sql-wrapper.sql file.
The op-database-dba-install.sh|.bat calls the following scripts:
- op-database-dba-install.sql: Runs the DBA steps. This script calls the other scripts in this list.
- create-opx-tablespaces.sql: Creates the OpenPages table spaces.
- dba-grant.sql: Grants privileges to the DBA user.
- create-opx-schema-owner.sql: Creates the OpenPages schema owner and grants the user access to the OpenPages table spaces.
- no-op.sql: This script is empty. Edit this script if you want to run any custom scripts at the end of the DBA setup process. See Custom table space names.
You can do the following configurations:
- You can specify custom names for table spaces
- You can specify a custom SQL script to run
Procedure
What to do next
You can use the OpenPages installation program to complete the database setup. Or you can complete the database setup manually by using scripts.