11gr2 database creation

39
11gR2 Database Creation 1.1 DBCA tool (Only for Reference, we will not use due to Block/RAW device not supported by Oracle in GUI) The following section shows how to use DBCA tool to capture database creation script. This is GUI tool, you have to use “VNC” or X- windows software to run. Login to database server as use “oracle” Set DISPLAY environment variable to your VNC or X-window client IP. Run the following command $ cd $ORACLE_HOME/bin $ ./dbca

Upload: raaji

Post on 09-Jul-2016

244 views

Category:

Documents


1 download

DESCRIPTION

11g database creation

TRANSCRIPT

11gR2 Database Creation

1.1 DBCA tool

(Only for Reference, we will not use due to Block/RAW device not supported by Oracle in GUI)

The following section shows how to use DBCA tool to capture database creation script. This is GUI tool, you have to use “VNC” or X-windows software to run.

Login to database server as use “oracle”Set DISPLAY environment variable to your VNC or X-window client IP.Run the following command$ cd $ORACLE_HOME/bin$ ./dbca

Click Next

“Create a Database” is default, Click Next

Select Custom Database.

Default is “General Purpose or Transaction Processing”, click next

Enter the Global Database name and Click Next

“Configure Enterprise Manager” is default, click on Automatic Maintenance Task bar.

Click “OK”

If “Enterprise Manager” not required de-select the icon and click on Automatic Maintenance Tasks tab.

“Enable automatic maintenance tasks” is default, if not required de-select and click next

Enter “SYS” & “SYSTEM” passwords and click next

Note: DBCA will not support block/raw device for database creation.

Select “Use Common Location for All Database Files” and mention the location as required. And click next.

Specify the required “Flash Recovery Area” & Area size as required. Default location is under ORACLE_BASE. The Archiving is not enabled by default, if required click enable and enter the required details.

Click ok on edit archive mode box and click next

If we have any custom script select the custom scripts tab and select the script by manual.

Click on “Standard database components” to see the details and click next

Click Sizing tab

Click Character Sets tab

Click Connection Mode

Click next

If required click on “Generate Database Creation Scripts” to create database manually.

The required scripts will be generated in this path. Make a copy of all the files, modify with appropriate values and use them to create single instance database manually.

Click Finish

Click OK

Click OK

Click Exit

Database Creation Completed Successfully.