Primary DataBase : KEYSTONE
Standby DataBase : KEYSTONESTDY
Primary Database – ARHIVELOG Mode
Version : Oracle 10.2.0
USER is "SYS"
---
NO
---
YES
------------------------------------ ----------- ------------------------------
db_name string KEYSTONE
------------------------------------ ----------- ------------------------------
db_unique_name string KEYSTONE
------------------------------------ ----------- ------------------------------
service_names string KEYSTONE
If not the above parameter in your primary init.ora file. Just alter the above three parameter in your database using alter command.
------------------------------------ ----------- ------------------------------
remote_login_passwordfile string EXCLUSIVE
System altered.
System altered.
System altered.
System altered.
System altered.
System altered.
SQL> ALTER SYSTEM SET DB_FILE_NAME_CONVERT=
2 'c:\oracle\product\10.1.0\oradata\KEYSTONE',
3 'c:\oracle\product\10.1.0\oradata\KEYSTONEDY' scope=spfile;
System altered.
SQL> ALTER SYSTEM SET LOG_FILE_NAME_CONVERT=
2 'c:\oracle\product\10.1.0\oradata\KEYSTONE',
3 'c:\oracle\product\10.1.0\oradata\KEYSTONEDY' scope=spfile;
System altered.
SQL> ALTER SYSETM SET STANDBY_FILE_MANAGEMENT=AUTO;
System altered.
> F:\oracle\product\10.2.0\oradata\KEYSTONE\*.DBF -
> F:\oracle\product\10.2.0\oradata\KEYSTONESTDY
F:\oracle\product\10.2.0\oradata\KEYSTONE\EXAMPLE01.DBF
F:\oracle\product\10.2.0\oradata\KEYSTONE\SYSAUX01.DBF
F:\oracle\product\10.2.0\oradata\KEYSTONE\SYSTEM01.DBF
F:\oracle\product\10.2.0\oradata\KEYSTONE\TEMP01.DBF
F:\oracle\product\10.2.0\oradata\KEYSTONE\UNDOTBS01.DBF
F:\oracle\product\10.2.0\oradata\KEYSTONE\USERS01.DBF
6 file(s) copied.
ORACLE instance started.
Fixed Size 1248576 bytes
Variable Size 100664000 bytes
Database Buffers 180355072 bytes
Redo Buffers 7139328 bytes
Database mounted.
KEYSTONESTDY.__db_cache_size=180355072
KEYSTONESTDY.__java_pool_size=4194304
KEYSTONESTDY.__large_pool_size=4194304
KEYSTONESTDY.__shared_pool_size=92274688
KEYSTONESTDY.__streams_pool_size=0
*.audit_file_dest='F:\oracle\product\10.2.0/admin/KEYSTONESTDY/adump'
*.background_dump_dest='F:\oracle\product\10.2.0/admin/KEYSTONESTDY/bdump'
*.compatible='10.2.0.1.0'
*.control_files='F:\oracle\product\10.2.0/oradata/KEYSTONESTDY/\control01.ctl'
*.core_dump_dest='F:\oracle\product\10.2.0/admin/KEYSTONESTDY/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='F:\oracle\product\10.2.0\oradata\KEYSTONE','F:\oracle\product\10.2.0\oradata\KEYSTONESTDY'
*.db_name='KEYSTONE'
db_unique_name='KEYSTONESTDY'
*.db_recovery_file_dest='F:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=KEYSTONEXDB)'
*.fal_client='KEYSTONESTDY'
*.fal_server='KEYSTONE'
*.job_queue_processes=10
*.log_archive_dest_1='LOCATION=D:\keystoneSTDY_Arh VALID_FOR=(ALL_ROLES,ALL_LOGFILES) DB_UNIQUE_NAME=KEYSTONESTDY'
*.log_archive_format='ARC%S_%R.%T'
*.log_file_name_convert='F:\oracle\product\10.2.0\oradata\KEYSTONE','F:\oracle\product\10.2.0\oradata\KEYSTONESTDY'
*.open_cursors=300
*.pga_aggregate_target=95420416
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
service_names='KEYSTONESTDY'
*.sga_target=287309824
*.standby_file_management='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='F:\oracle\product\10.2.0/admin/KEYSTONESTDY/udump'
INSTANCE_NAME=KEYSTONESTDY
Instance created.
Add the following line in SQLNET.ORA file
sqlnet.expire_time=2
And configure tnsnames.ora file. like
KEYSTONESTDY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = adaptime75)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = KEYSTONESTDY)
)
)
C:\>SET ORACLE_SID=KEYSTONESTDY
Connected to an idle instance.
Create server parameter file
ORACLE instance started.
Fixed Size 1248576 bytes
Variable Size 100664000 bytes
Database Buffers 180355072 bytes
Redo Buffers 7139328 bytes
Database mounted.
Database opened.
------------------------------
TEMP
---------- ---------------- --------- ---------- ---------- ------- ----------
BYTES BLOCKS CREATE_BYTES BLOCK_SIZE
---------- ---------- ------------ ----------
NAME
--------------------------------------------------------------------------------
1 535157 16-MAY-07 3 1 ONLINE READ WRITE
20971520 2560 20971520 8192
F:\ORACLE\PRODUCT\10.2.0\ORADATA\KEYSTONESTDY\TEMP01.DBF
USER is "SYS"
SQL>
Note:
Thanks for visit my blog. Please try physical database creation in testing env.If any problem please post your comments..
No comments:
Post a Comment