Entering content frame

 db_create Command: Example 

To create a new database instance with the Database Manager CLI, you only need a few DBMCLI commands.

First execute the command db_create and define the first Database Manager operator (DBM operator).

dbmcli db_create <database_name> <dbm_user>,<dbm_user_password>

·         If you can choose between multiple versions of the database software, make your choice by specifying the option -R:
dbmcli -R <dependent_path> db_create <database_name> <dbm_user>,<dbm_user_password>.

·         If you want to install a new database instance on a remote computer, also specify the option -n. You must also log on to the operating system of this computer:

dbmcli -n <database_server> db_create <database_name> <dbm_user>,<dbm_user_password> <os_user>,<os_user_password>

 

For the other steps need to create the database instance, use a DBMCLI script:

dbmcli -d <database_name> -u <dbm_user>,<dbm_user_password> -i <script_file>

Example of a script:

param_startsession
param_init
param_put MAXUSERTASKS 5
param_checkall
param_commitsession
param_addvolume 1 LOG LOG_001 F 2000
param_addvolume 1 DATA DAT_001 F 10000
db_admin
db_activate <sysdba>,<password>
load_systab -ud <domain_password>

Modify the values of the database parameters according to your requirements.

 

Leaving content frame