Prepare your database
Your relational database is a critical element for performance and disaster recovery. Consult your database administrator to ensure that your database is configured for high availability and high performance. Set up regular backups of the database.
For details on supported versions, see the Support Matrix.
Before installing Deployment Automation, create an empty database in your DBMS. If you are evaluating Deployment Automation, you can install the database on the same machine with the Deployment Automation server. Optionally, use the lightweight Derby database provided with the installer for evaluation purposes. If you select the Derby database, you do not need to prepare the database before running the installer, and the database is created as part of the installation.
Create an SQL server database
For SQL Server databases, a clustered configuration is recommended. When you are ready to install the Deployment Automation server, you will need to provide the values you enter here, including the SQL Server connection information and the da user account that has table creation privileges.
To create an SQL Server database, run the following commands:
CREATE DATABASE da; USE da; CREATE LOGIN da WITH PASSWORD = 'password'; CREATE USER da FOR LOGIN da WITH DEFAULT_SCHEMA = da; CREATE SCHEMA da AUTHORIZATION da; GRANT BACKUP DATABASE, BACKUP LOG, CREATE DATABASE, CREATE DEFAULT, CREATE FUNCTION, CREATE PROCEDURE, CREATE RULE, CREATE TABLE, CREATE VIEW to da;
Create an Oracle database
For Oracle databases, we recommend an architecture based on Oracle RAC.
When installing the Deployment Automation server, provide the values you enter here, including the Oracle connection information and the da user account that has table creation privileges.
Follow these instructions for your Oracle DBMS version.
Oracle 12 and later
To create a database in Oracle 12 or later, run the following commands:
ALTER SESSION SET "_ORACLE_SCRIPT"=true; CREATE USER da IDENTIFIED by password; GRANT CONNECT TO da; GRANT RESOURCE TO da; GRANT UNLIMITED TABLESPACE TO da;
Oracle 10g or 11g
To create a database in Oracle 10g or 11g, run the following commands:
CREATE USER da IDENTIFIED by da; GRANT CONNECT TO da; GRANT RESOURCE TO da;
Create a PostgreSQL database
To create a PostgreSQL database, run the following commands:
CREATE DATABASE db_name OWNER = role_name TEMPLATE = template ENCODING = encoding LC_COLLATE = collate LC_CTYPE = ctype TABLESPACE = tablespace_name CONNECTION LIMIT = max_concurrent_connection
See also: