How to create a database using dbca silent method

The content of dbca silent file will look like this..                            

cat dbca_silient

dbca -silent                             \
       -createDatabase                   \
       -templateName General_Purpose.dbc \
       -gdbName RACDBLAB                   \
       -sid RACDBLAB \
       -SysPassword Yourpasswd \
       -SystemPassword Yourpasswd \
       -emConfiguration NONE             \
       -redoLogFileSize 100 \
       -recoveryAreaDestination FRA_DG\
       -storageType ASM                  \
         -asmSysPassword Yourpasswd \
         -diskGroupName DATA_DG\
       -characterSet AL32UTF8         \
       -nationalCharacterSet AL16UTF16 \
       -totalMemory 2400 \
       -databaseType MULTIPURPOSE \
       -nodelistsi01.an.com

Then run it ksh dbca_silent

Copying database files
1% complete
3% complete
35% complete
Creating and starting Oracle instance
37% complete
42% complete
47% complete
52% complete
53% complete
56% complete
58% complete
Registering database with Oracle Restart
64% complete
Completing Database Creation
68% complete
71% complete
75% complete
85% complete
96% complete
100% complete

No comments:

Post a Comment