10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 14 STORAGE LAYOUT1. Shut down all databases and ASM instances in the ASM cluster.2. Create the security key using the CellCLI create key command:CellCLI> create key7548a7d1abffadfef95a53185aba0e98CellCLI> create key8e7105bdbd6ad9fa53d41736a533b9b1The create key command must be run once for each database in the ASMcluster. It can be run from any storage cell. One security key will be assigned toeach database within the ASM cluster in the key field of the databasecellkey.ora file.3. For each database, create a cellkey.ora file using the keys created in step 2.Install these cellkey.ora files in theORACLE_HOME/admin/{db_unique_name}/pfile directories for each databaseserver on which database-scoped security will be configured. Just as you didfor ASM-scoped security, set the ownership of the file to the user and groupspecified during the ASM software installation. Permissions should allow it tobe read by the user and group owner of the file. For example:# -- Cellkey.ora file for the HR database --#key=7548a7d1abffadfef95a53185aba0e98asm=+ASMrealm=customer_A_realm# --> chown oracle:dba $ORACLE_HOME/admin/HR/cellkey.ora> chmod 640 $ORACLE_HOME/admin/HR/cellkey.ora# -- Cellkey.ora file for the PAY database --#key=8e7105bdbd6ad9fa53d41736a533b9b1asm=+ASMrealm=customer_A_realm# --> chown oracle:dba $ORACLE_HOME/admin/PAY/cellkey.ora> chmod 640 $ORACLE_HOME/admin/PAY/cellkey.oraNote that if a realm is defined in this file, it must match the realm nameassigned to the storage cells using the alter cell realm= command.4. Retrieve the DB_UNIQUE_NAME for each database being configured using the showparameter command from each of the databases:SYS:+HR>show parameter db_unique_nameNAME TYPE VALUE---------------- ----------- ------------------db_unique_name string HR491

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!