Using a CLI Tool to Create a Simple Oracle Database to Use as a Destination Database

You can use the Simple Oracle Database Creation CLI tool to create a simple Oracle database to use as the destination target database for an out-of-place database restore or a database duplication operation. This is useful if you don't have access to the Oracle Database Configuration Assistant (DBCA) or don't have experience with it.

Procedure

Run the tool on the destination client server, from the iDataagent folder in the core directory.

Usage

Use the tool in a Linux environment. The syntax for the tool is as follows:

../iDataAgent/ClOraAgent -tools -createDB -gdbname databasename -oraclehome filePath -sid sidName -container true/false -storage storageType -dataFileDest filePath -logPath filePath

Options

-gdbname

Global database name

-oraclehome

Oracle home directory on the destination client

-sid

SID name

-container

Container database flag

  • False - Database is not a container database

  • True - Database is a container database

-storage

Storage type. Valid values:

  • FS - File server

  • ASM - Oracle ASM

-dataFileDest

Directory path for the Oracle database files

-logPath

Directory path for writing DBCA output for troubleshooting

Page contents

×

Loading...