- 最后登录
- 2013-2-24
- 在线时间
- 16 小时
- 威望
- 12
- 金钱
- 38
- 注册时间
- 2012-1-9
- 阅读权限
- 10
- 帖子
- 22
- 精华
- 0
- 积分
- 12
- UID
- 152
|
1#
发表于 2012-2-1 15:25:32
|
查看: 8413 |
回复: 10
Step: Create Standby Database
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:09:57 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected.
SQL> SQL> SQL> ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:10:14 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected to an idle instance.
SQL> SQL> ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 603979776 bytes
Fixed Size 1220820 bytes
Variable Size 163581740 bytes
Database Buffers 436207616 bytes
Redo Buffers 2969600 bytes
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:10:16 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> Connected.
SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
PL/SQL procedure successfully completed.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:10:20 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected.
SQL> SQL> SQL> ORA-01507: database not mounted
ORACLE instance shut down.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:10:26 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected to an idle instance.
SQL> SQL> ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 603979776 bytes
Fixed Size 1220820 bytes
Variable Size 163581740 bytes
Database Buffers 436207616 bytes
Redo Buffers 2969600 bytes
Database mounted.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:10:33 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected.
SQL> SQL> SQL> ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:10:50 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected to an idle instance.
SQL> SQL> ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 603979776 bytes
Fixed Size 1220820 bytes
Variable Size 163581740 bytes
Database Buffers 436207616 bytes
Redo Buffers 2969600 bytes
Database mounted.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/system01.dbf' to '/datamount/system01.dbf'
dgcreate.DGrenameFiles: SELECT STATUS FROM V$DATAFILE WHERE NAME = '/usr/local/oracle/oradata/orcl/system01.dbf'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/undotbs01.dbf' to '/datamount/undotbs01.dbf'
dgcreate.DGrenameFiles: SELECT STATUS FROM V$DATAFILE WHERE NAME = '/usr/local/oracle/oradata/orcl/undotbs01.dbf'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/sysaux01.dbf' to '/datamount/sysaux01.dbf'
dgcreate.DGrenameFiles: SELECT STATUS FROM V$DATAFILE WHERE NAME = '/usr/local/oracle/oradata/orcl/sysaux01.dbf'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/users01.dbf' to '/datamount/users01.dbf'
dgcreate.DGrenameFiles: SELECT STATUS FROM V$DATAFILE WHERE NAME = '/usr/local/oracle/oradata/orcl/users01.dbf'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/example01.dbf' to '/datamount/example01.dbf'
dgcreate.DGrenameFiles: SELECT STATUS FROM V$DATAFILE WHERE NAME = '/usr/local/oracle/oradata/orcl/example01.dbf'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/memberstore.dbf' to '/datamount/memberstore.dbf'
dgcreate.DGrenameFiles: SELECT STATUS FROM V$DATAFILE WHERE NAME = '/usr/local/oracle/oradata/orcl/memberstore.dbf'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/membertest.dbf' to '/datamount/membertest.dbf'
dgcreate.DGrenameFiles: SELECT STATUS FROM V$DATAFILE WHERE NAME = '/usr/local/oracle/oradata/orcl/membertest.dbf'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/redo01.log' to '/datamount/redo01.log'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/redo02.log' to '/datamount/redo02.log'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/redo03.log' to '/datamount/redo03.log'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/redo04.log' to '/datamount/redo04.log'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/redo05.log' to '/datamount/redo05.log'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/redo06.log' to '/datamount/redo06.log'
dgcreate.DGrenameFiles: ALTER DATABASE RENAME FILE '/usr/local/oracle/oradata/orcl/redo07.log' to '/datamount/redo07.log'
dgcreate.DGrenameFiles: ALTER DATABASE CLEAR LOGFILE GROUP 1
dgcreate.DGrenameFiles: ALTER DATABASE CLEAR LOGFILE GROUP 2
dgcreate.DGrenameFiles: ALTER DATABASE CLEAR LOGFILE GROUP 3
dgcreate.DGrenameFiles: ALTER DATABASE CLEAR LOGFILE GROUP 4
dgcreate.DGrenameFiles: ALTER DATABASE CLEAR LOGFILE GROUP 5
dgcreate.DGrenameFiles: ALTER DATABASE CLEAR LOGFILE GROUP 6
dgcreate.DGrenameFiles: ALTER DATABASE CLEAR LOGFILE GROUP 7
dgcreate.DGgetRecoverySCN: SELECT MAX(NEXT_CHANGE#) FROM V$ARCHIVED_LOG
dgcreate.DGcreateSpfile: CREATE SPFILE FROM PFILE='/opt/oracle/product/10.2.0/db_1/dbs/initrac1.ora'
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:11:44 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected.
SQL> SQL> SQL> ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 1 11:12:01 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected to an idle instance.
SQL> SQL> ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 603979776 bytes
Fixed Size 1220820 bytes
Variable Size 163581740 bytes
Database Buffers 436207616 bytes
Redo Buffers 2969600 bytes
Database mounted.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Use of uninitialized value in substitution (s///) at - line 6280.
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Feb 1 11:12:09 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
connected to target database: ORCL (DBID=1294124620, not open)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
new RMAN configuration parameters:
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
new RMAN configuration parameters are successfully stored
exit;
Recovery Manager complete.
ORA-16796: one or more properties could not be imported from the database
[ 本帖最后由 fengyunsen 于 2012-2-1 15:27 编辑 ] |
|