In today’s article, I will explain the topic of Oracle Database Create Silent Mode.
The other day, when I made a connection to create a simple database on AIX, I couldn’t run the GUI interface, and because there was no time, I completed the operations from the command system in order not to strain too much.
I share it for your benefit;
First of all, we create a file named createbd.rsp under ” $ORACLE_HOME/assistants/dbca ”.
Its content will be as follows, You need to edit the required fields. If you search for the word ” SHINING ”, you will automatically reach the fields you need to edit.
After this file is created, just give the following command on the command line.
1 | # dbca -silent -createDatabase -responseFile createdb.rsp |
After that, instance and db will be created automatically.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 | ############################################################################## DATABASE CREATE START ## ## ## DBCA response file ## ## —————— ## ## Copyright 1998, 2011, Oracle Corporation. All Rights Reserved. ## ## ## ## Specify values for the variables listed below to customize Oracle ## ## Database Configuration installation. ## ## ## ## Each variable is associated with a comment. The comment identifies the ## ## variable type. ## ## ## ## Please specify the values in the following format : ## ## Type : Example ## ## String : “<value>” ## ## Boolean : True or False ## ## Number : <numeric value> ## ## StringList : {“<value1>”,”<value2>”} ## ## ## ## Examples : ## ## 1. dbca -progress_only -responseFile <response file> ## ## Display a progress bar depicting progress of database creation ## ## process. ## ## ## ## 2. dbca -silent -responseFile <response file> ## ## Creates database silently. No user interface is displayed. ## ## ## ## 3. dbca -silent -createDatabase -cloneTemplate ## ## -responseFile <response file> ## ## Creates database silently with clone template. The template in ## ## responsefile is a clone template. ## ## ## ## 4. dbca -silent -deleteDatabase -responseFile <response file> ## ## Deletes database silently. ## ############################################################################## #—————————————————————————– # GENERAL section is required for all types of database creations. #—————————————————————————– [GENERAL] #—————————————————————————– # Name : RESPONSEFILE_VERSION # Datatype : String # Description : Version of the database to create # Valid values : “11.1.0” # Default value : None # Mandatory : Yes #—————————————————————————- RESPONSEFILE_VERSION = “10.2.0” #—————————————————————————– # Name : OPERATION_TYPE # Datatype : String # Description : Type of operation # Valid values : “createDatabase” \ “createTemplateFromDB” \ “createCloneTemplate” \ “deleteDatabase” \ “configureDatabase” \ “addInstance” (RAC-only) \ “deleteInstance” (RAC-only) # Default value : None # Mandatory : Yes #—————————————————————————– OPERATION_TYPE = “createDatabase” #———————–*** End of GENERAL section ***———————— #—————————————————————————– # CREATEDATABASE section is used when OPERATION_TYPE is defined as “createDatabase”. #—————————————————————————– [CREATEDATABASE] #—————————————————————————– # Name : GDBNAME # Datatype : String # Description : Global database name of the database # Valid values : <db_name>.<db_domain> – when database domain isn’t NULL # <db_name> – when database domain is NULL # Default value : None # Mandatory : Yes #—————————————————————————– GDBNAME = “BPARLAYAN” #—————————————————————————– # Name : RACONENODE # Datatype : Boolean # Description : Set to true for RAC One Node database # Valid values : TRUE\FALSE # Default value : FALSE # Mandatory : No #—————————————————————————– #RACONENODE = “false” #—————————————————————————– # Name : RACONENODESERVICENAME # Datatype : String # Description : Service is required by application to connect to RAC One # Node Database # Valid values : Service Name # Default value : None # Mandatory : No [required in case RACONENODE flag is set to true] #—————————————————————————– #RACONENODESERVICENAME = #—————————————————————————– # Name : POLICYMANAGED # Datatype : Boolean # Description : Set to true if Database is policy managed and # set to false if Database is admin managed # Valid values : TRUE\FALSE # Default value : FALSE # Mandatory : No #—————————————————————————– #POLICYMANAGED = “false” #—————————————————————————– # Name : CREATESERVERPOOL # Datatype : Boolean # Description : Set to true if new server pool need to be created for database # if this option is specified then the newly created database # will use this newly created serverpool. # Multiple serverpoolname can not be specified for database # Valid values : TRUE\FALSE # Default value : FALSE # Mandatory : No #—————————————————————————– #CREATESERVERPOOL = “false” #—————————————————————————– # Name : FORCE # Datatype : Boolean # Description : Set to true if new server pool need to be created by force # if this option is specified then the newly created serverpool # will be assigned server even if no free servers are available. # This may affect already running database. # This flag can be specified for Admin managed as well as policy managed db. # Valid values : TRUE\FALSE # Default value : FALSE # Mandatory : No #—————————————————————————– #FORCE = “false” #—————————————————————————– # Name : SERVERPOOLNAME # Datatype : String # Description : Only one serverpool name need to be specified # if Create Server Pool option is specified. # Comma-separated list of Serverpool names if db need to use # multiple Server pool # Valid values : ServerPool name # Default value : None # Mandatory : No [required in case of RAC service centric database] #—————————————————————————– #SERVERPOOLNAME = #—————————————————————————– # Name : CARDINALITY # Datatype : Number # Description : Specify Cardinality for create server pool operation # Valid values : any positive Integer value # Default value : Number of qualified nodes on cluster # Mandatory : No [Required when a new serverpool need to be created] #—————————————————————————– #CARDINALITY = #—————————————————————————– # Name : SID # Datatype : String # Description : System identifier (SID) of the database # Valid values : Check Oracle11g Administrator’s Guide # Default value : <db_name> specified in GDBNAME # Mandatory : No #—————————————————————————– SID = “BPARLAYAN” #—————————————————————————– # Name : NODELIST # Datatype : String # Description : Comma-separated list of cluster nodes # Valid values : Cluster node names # Default value : None # Mandatory : No (Yes for RAC database-centric database ) #—————————————————————————– #NODELIST= #—————————————————————————– # Name : TEMPLATENAME # Datatype : String # Description : Name of the template # Valid values : Template file name # Default value : None # Mandatory : Yes #—————————————————————————– TEMPLATENAME = “General_Purpose.dbc” #—————————————————————————– # Name : OBFUSCATEDPASSWORDS # Datatype : Boolean # Description : Set to true if passwords are encrypted # Valid values : TRUE\FALSE # Default value : FALSE # Mandatory : No #—————————————————————————– #OBFUSCATEDPASSWORDS = FALSE #—————————————————————————– # Name : SYSPASSWORD # Datatype : String # Description : Password for SYS user # Valid values : Check Oracle11g Administrator’s Guide # Default value : None # Mandatory : Yes #—————————————————————————– SYSPASSWORD = “BPARLAYAN” #—————————————————————————– # Name : SYSTEMPASSWORD # Datatype : String # Description : Password for SYSTEM user # Valid values : Check Oracle11g Administrator’s Guide # Default value : None # Mandatory : Yes #—————————————————————————– SYSTEMPASSWORD = “BPARLAYAN” #—————————————————————————– # Name : EMCONFIGURATION # Datatype : String # Description : Enterprise Manager Configuration Type # Valid values : CENTRAL|LOCAL|ALL|NONE # Default value : NONE # Mandatory : No #—————————————————————————– EMCONFIGURATION = “LOCAL” #—————————————————————————– # Name : DISABLESECURITYCONFIGURATION # Datatype : String # Description : Database Security Settings # Valid values : ALL|NONE|AUDIT|PASSWORD_PROFILE # Default value : NONE # Mandatory : No #—————————————————————————– DISABLESECURITYCONFIGURATION = “PASSWORD_PROFILE” #—————————————————————————– # Name : SYSMANPASSWORD # Datatype : String # Description : Password for SYSMAN user # Valid values : Check Oracle11g Administrator’s Guide # Default value : None # Mandatory : Yes, if LOCAL specified for EMCONFIGURATION #—————————————————————————– SYSMANPASSWORD = “BPARLAYAN” #—————————————————————————– # Name : DBSNMPPASSWORD # Datatype : String # Description : Password for DBSNMP user # Valid values : Check Oracle11g Administrator’s Guide # Default value : None # Mandatory : Yes, if EMCONFIGURATION is specified #—————————————————————————– DBSNMPPASSWORD = “BPARLAYAN” #—————————————————————————– # Name : CENTRALAGENT # Datatype : String # Description : Grid Control Central Agent Oracle Home # Default value : None # Mandatory : Yes, if CENTRAL is specified for EMCONFIGURATION #—————————————————————————– #CENTRALAGENT = #—————————————————————————– # Name : HOSTUSERNAME # Datatype : String # Description : Host user name for EM backup job # Default value : None # Mandatory : Yes, if ALL is specified for EMCONFIGURATION #—————————————————————————– #HOSTUSERNAME = #—————————————————————————– # Name : HOSTUSERPASSWORD # Datatype : String # Description : Host user password for EM backup job # Default value : None # Mandatory : Yes, if ALL is specified for EMCONFIGURATION #—————————————————————————– #HOSTUSERPASSWORD= #—————————————————————————– # Name : BACKUPSCHEDULE # Datatype : String # Description : Daily backup schedule in the form of hh:mm # Default value : 2:00 # Mandatory : Yes, if ALL is specified for EMCONFIGURATION #—————————————————————————– #BACKUPSCHEDULE= #—————————————————————————– # Name : DVOWNERNAME # Datatype : String # Description : DataVault Owner # Valid values : Check Oracle11g Administrator’s Guide # Default value : None # Mandatory : Yes, if DataVault option is chosen #—————————————————————————– #DVOWNERNAME = “” #—————————————————————————– # Name : DVOWNERPASSWORD # Datatype : String # Description : Password for DataVault Owner # Valid values : Check Oracle11g Administrator’s Guide # Default value : None # Mandatory : Yes, if DataVault option is chosen #—————————————————————————– #DVOWNERPASSWORD = “” #—————————————————————————– # Name : DVACCOUNTMANAGERNAME # Datatype : String # Description : DataVault Account Manager # Valid values : Check Oracle11g Administrator’s Guide # Default value : None # Mandatory : No #—————————————————————————– #DVACCOUNTMANAGERNAME = “” #—————————————————————————– # Name : DVACCOUNTMANAGERPASSWORD # Datatype : String # Description : Password for DataVault Account Manager # Valid values : Check Oracle11g Administrator’s Guide # Default value : None # Mandatory : No #—————————————————————————– #DVACCOUNTMANAGERPASSWORD = “” #—————————————————————————– # Name : DATAFILEJARLOCATION # Datatype : String # Description : Location of the data file jar # Valid values : Directory containing compressed datafile jar # Default value : None # Mandatory : No #—————————————————————————– #DATAFILEJARLOCATION = #—————————————————————————– # Name : DATAFILEDESTINATION # Datatype : String # Description : Location of the data file’s # Valid values : Directory for all the database files # Default value : $ORACLE_BASE/oradata # Mandatory : No #—————————————————————————– #DATAFILEDESTINATION = /oracle10g/oradata/ #—————————————————————————– # Name : RECOVERYAREADESTINATION # Datatype : String # Description : Location of the data file’s # Valid values : Recovery Area location # Default value : $ORACLE_BASE/flash_recovery_area # Mandatory : No #—————————————————————————– #RECOVERYAREADESTINATION= #—————————————————————————– # Name : STORAGETYPE # Datatype : String # Description : Specifies the storage on which the database is to be created # Valid values : FS (CFS for RAC), ASM # Default value : FS # Mandatory : No #—————————————————————————– #STORAGETYPE=FS #—————————————————————————– # Name : DISKGROUPNAME # Datatype : String # Description : Specifies the disk group name for the storage # Default value : DATA # Mandatory : No #—————————————————————————– #DISKGROUPNAME=DATA #—————————————————————————– # Name : ASMSNMP_PASSWORD # Datatype : String # Description : Password for ASM Monitoring # Default value : None # Mandatory : No #—————————————————————————– #ASMSNMP_PASSWORD=”” #—————————————————————————– # Name : RECOVERYGROUPNAME # Datatype : String # Description : Specifies the disk group name for the recovery area # Default value : RECOVERY # Mandatory : No #—————————————————————————– #RECOVERYGROUPNAME=RECOVERY #—————————————————————————– # Name : CHARACTERSET # Datatype : String # Description : Character set of the database # Valid values : Check Oracle11g National Language Support Guide # Default value : “US7ASCII” # Mandatory : NO #—————————————————————————– #CHARACTERSET = “WE8ISO8859P9” #—————————————————————————– # Name : NATIONALCHARACTERSET # Datatype : String # Description : National Character set of the database # Valid values : “UTF8” or “AL16UTF16”. For details, check Oracle11g National Language Support Guide # Default value : “UTF8” # Mandatory : No #—————————————————————————– NATIONALCHARACTERSET= “UTF8” #—————————————————————————– # Name : REGISTERWITHDIRSERVICE # Datatype : Boolean # Description : Specifies whether to register with Directory Service. # Valid values : TRUE \ FALSE # Default value : FALSE # Mandatory : No #—————————————————————————– #REGISTERWITHDIRSERVICE= TRUE #—————————————————————————– # Name : DIRSERVICEUSERNAME # Datatype : String # Description : Specifies the name of the directory service user # Mandatory : YES, if the value of registerWithDirService is TRUE #—————————————————————————– #DIRSERVICEUSERNAME= “name” #—————————————————————————– # Name : DIRSERVICEPASSWORD # Datatype : String # Description : The password of the directory service user. # You can also specify the password at the command prompt instead of here. # Mandatory : YES, if the value of registerWithDirService is TRUE #—————————————————————————– #DIRSERVICEPASSWORD= “password” #—————————————————————————– # Name : WALLETPASSWORD # Datatype : String # Description : The password for wallet to created or modified. # You can also specify the password at the command prompt instead of here. # Mandatory : YES, if the value of registerWithDirService is TRUE #—————————————————————————– #WALLETPASSWORD= “password” #—————————————————————————– # Name : LISTENERS # Datatype : String # Description : Specifies list of listeners to register the database with. # By default the database is configured for all the listeners specified in the # $ORACLE_HOME/network/admin/listener.ora # Valid values : The list should be space separated names like “listener1 listener2”. # Mandatory : NO #—————————————————————————– LISTENERS = “BPARLAYAN” #—————————————————————————– # Name : VARIABLESFILE # Datatype : String # Description : Location of the file containing variable value pair # Valid values : A valid file-system file. The variable value pair format in this file # is <variable>=<value>. Each pair should be in a new line. # Default value : None # Mandatory : NO #—————————————————————————– #VARIABLESFILE = #—————————————————————————– # Name : VARIABLES # Datatype : String # Description : comma separated list of name=value pairs. Overrides variables defined in variablefile and templates # Default value : None # Mandatory : NO #—————————————————————————– #VARIABLES = #—————————————————————————– # Name : INITPARAMS # Datatype : String # Description : comma separated list of name=value pairs. Overrides initialization parameters defined in templates # Default value : None # Mandatory : NO #—————————————————————————– #INITPARAMS = #—————————————————————————– # Name : SAMPLESCHEMA # Datatype : Boolean # Description : Specifies whether or not to add the Sample Schemas to your database # Valid values : TRUE \ FALSE # Default value : FASLE # Mandatory : No #—————————————————————————– #SAMPLESCHEMA=TRUE #—————————————————————————– # Name : MEMORYPERCENTAGE # Datatype : String # Description : percentage of physical memory for Oracle # Default value : None # Mandatory : NO #—————————————————————————– MEMORYPERCENTAGE = “40” #—————————————————————————– # Name : DATABASETYPE # Datatype : String # Description : used for memory distribution when MEMORYPERCENTAGE specified # Valid values : MULTIPURPOSE|DATA_WAREHOUSING|OLTP # Default value : MULTIPURPOSE # Mandatory : NO #—————————————————————————– #DATABASETYPE = “MULTIPURPOSE” #—————————————————————————– # Name : AUTOMATICMEMORYMANAGEMENT # Datatype : Boolean # Description : flag to indicate Automatic Memory Management is used # Valid values : TRUE/FALSE # Default value : TRUE # Mandatory : NO #—————————————————————————– AUTOMATICMEMORYMANAGEMENT = “TRUE” #—————————————————————————– # Name : TOTALMEMORY # Datatype : String # Description : total memory in MB to allocate to Oracle # Valid values : # Default value : # Mandatory : NO #—————————————————————————– #TOTALMEMORY = “800” #———————–*** End of CREATEDATABASE section ***———————— |