DC Archive

Embed Size (px)

DESCRIPTION

wetwe

Citation preview

  • 5/21/2018 DC Archive

    1/6

    Recovery Manager complete.$ pwd/rman/work$ pwd/rman/work$ du -sg rrb2_rman_111120110.17 rrb2_rman_11112011$$$$

    $ rrb2$ s

    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 11 05:59:18 2011

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

    Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> alter database create standby controlfile as '/rman/work/rrb2_rman_11112011

    /standby.ctl' ;

    Database altered.

    SQL> exitDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options$ ls -ltrtotal 0drwxr-xr-x 2 oracle oinstall 256 Nov 11 06:00 rrb2_rman_11112011$ cd rrb2_rman_11112011$ ls -ltr

    total 397088-rw-r----- 1 oracle oinstall 79618048 Nov 11 03:46 standby_tlmrbsr2_1_1-rw-r----- 1 oracle oinstall 48103424 Nov 11 04:02 standby_tmmrbtp8_1_1-rw-r----- 1 oracle oinstall 50798592 Nov 11 04:15 standby_tnmrbuls_1_1-rw-r----- 1 oracle oinstall 24788992 Nov 11 06:00 standby.ctl$ s

    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 11 06:09:30 2011

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

    Connected to:

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> select name from V$controlfile;

    NAME--------------------------------------------------------------------------------/rrb2_data1/controlfiles/control_01_CNBKRRB2.ctl/rrb2_data2/controlfiles/control_02_CNBKRRB2.ctl/rrb2_index1/controlfiles/control_03_CNBKRRB2.ctl

  • 5/21/2018 DC Archive

    2/6

    SQL> exitDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options$ ls -ltrtotal 397088-rw-r----- 1 oracle oinstall 79618048 Nov 11 03:46 standby_tlmrbsr2_1_1-rw-r----- 1 oracle oinstall 48103424 Nov 11 04:02 standby_tmmrbtp8_1_1-rw-r----- 1 oracle oinstall 50798592 Nov 11 04:15 standby_tnmrbuls_1_1-rw-r----- 1 oracle oinstall 24788992 Nov 11 06:00 standby.ctl

    $ pwd/rman/work/rrb2_rman_11112011$ rrb1$ rrb2$ work$ s

    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 11 06:38:31 2011

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

    Connected to:

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> @latest

    Last Generated Time-------------- -------- 14614 06:11:35

    SQL> alter system switch logfile ;

    System altered.

    SQL> @latest

    Last Generated Time-------------- -------- 14615 06:11:46

    SQL> exitDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options$ workfksh: workf: not found.$ work

    $ lsnrctl start ODGLISTENER2

    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 11-NOV-2011 06:46:59

    Copyright (c) 1991, 2007, Oracle. All rights reserved.

    Starting /oracle/home/app/bin/tnslsnr: please wait...

    TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production

  • 5/21/2018 DC Archive

    3/6

    System parameter file is /oracle/home/app/network/admin/listener.oraListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.2.205)(PORT=1622)))

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.2.205)(PORT=1622)(queuesize=32)))STATUS of the LISTENER------------------------Alias ODGLISTENER2Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - ProductionStart Date 11-NOV-2011 06:46:59

    Uptime 0 days 0 hr. 0 min. 2 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFListener Parameter File /oracle/home/app/network/admin/listener.oraListening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.2.205)(PORT=1622)))Services Summary...Service "CNBKRRB2" has 1 instance(s). Instance "CNBKRRB2", status UNKNOWN, has 1 handler(s) for this service...The command completed successfully$ lsnrctl start ODGLISTENER1

    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 11-NOV-2011 06:47:13

    Copyright (c) 1991, 2007, Oracle. All rights reserved.

    Starting /oracle/home/app/bin/tnslsnr: please wait...

    TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - ProductionSystem parameter file is /oracle/home/app/network/admin/listener.oraListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.2.205)(PORT=1621)))

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.2.205)(PORT=1621)(queuesize=32)))

    STATUS of the LISTENER------------------------Alias ODGLISTENER1Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - ProductionStart Date 11-NOV-2011 06:47:13Uptime 0 days 0 hr. 0 min. 1 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFListener Parameter File /oracle/home/app/network/admin/listener.oraListening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.2.205)(PORT=1621)))

    Services Summary...Service "CNBKRRB1" has 1 instance(s). Instance "CNBKRRB1", status UNKNOWN, has 1 handler(s) for this service...The command completed successfully$ lsnrctl start ODGLISTENER3

    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 11-NOV-2011 06:47:27

    Copyright (c) 1991, 2007, Oracle. All rights reserved.

  • 5/21/2018 DC Archive

    4/6

    Starting /oracle/home/app/bin/tnslsnr: please wait...

    TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - ProductionSystem parameter file is /oracle/home/app/network/admin/listener.oraListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.2.205)(PORT=1623)))

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.2.205)(PORT=1623)(queuesize=32)))STATUS of the LISTENER------------------------

    Alias ODGLISTENER3Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - ProductionStart Date 11-NOV-2011 06:47:27Uptime 0 days 0 hr. 0 min. 2 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFListener Parameter File /oracle/home/app/network/admin/listener.oraListening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.2.205)(PORT=1623)))Services Summary...Service "CNBKRRB3" has 1 instance(s).

    Instance "CNBKRRB3", status UNKNOWN, has 1 handler(s) for this service...The command completed successfully$ ps -ef |grep t nsgrep: 0652-033 Cannot open ns.$ ps -ef |grep tns oracle 18087990 1 0 Nov 08 - 0:02 /oracle/home/app/bin/tnslsnr CNBKRRB22 -inherit oracle 18153538 1 0 Nov 08 - 6:50 /oracle/home/app/bin/tnslsnr CNBKRRB21 -inherit oracle 18219092 1 0 Nov 08 - 0:02 /oracle/home/app/bin/tnslsnr CNBKRRB23 -inherit oracle 18350132 1 0 Nov 08 - 0:01 /oracle/home/app/bin/tnslsnr CNBKRRB12 -inherit

    oracle 18546758 1 0 Nov 08 - 0:02 /oracle/home/app/bin/tnslsnr CNBKRRB13 -inherit oracle 58130516 60555680 0 06:47:47 pts/0 0:00 grep tns oracle 61735022 1 0 Nov 08 - 0:01 /oracle/home/app/bin/tnslsnr CNBKRRB32 -inherit oracle 61866104 1 0 Nov 08 - 3:07 /oracle/home/app/bin/tnslsnr CNBKRRB31 -inherit oracle 62062714 1 0 Nov 08 - 0:02 /oracle/home/app/bin/tnslsnr CNBKRRB33 -inherit oracle 62259440 1 0 Nov 08 - 7:49 /oracle/home/app/bin/tnslsnr CNBKRRB11 -inherit oracle 62456044 1 0 06:47:27 pts/0 0:01 /oracle/home/app/bin/tnslsnr ODGLISTENER3 -inherit

    oracle 56558322 1 0 06:46:59 pts/0 0:01 /oracle/home/app/bin/tnslsnr ODGLISTENER2 -inherit oracle 62194208 1 0 06:47:13 pts/0 0:01 /oracle/home/app/bin/tnslsnr ODGLISTENER1 -inherit$ rrb2$ s

    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 11 06:47:54 2011

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

  • 5/21/2018 DC Archive

    5/6

    Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> @odg_enable

    System altered.

    SQL> @odg_mon

    DEST_ID DEST_NAME STATUS TRANSMIT_MOD ARCHIVER REOPEN_SECS ERROR---------- -------------------- --------- ------------ ---------- ----------- ---------------------------------------

    -------------------------- 2 LOG_ARCHIVE_DEST_2 VALID SYNCHRONOUS ARCH 120

    SQL> @latest

    Last Generated Time-------------- -------- 14615 06:11:51

    SQL> exitDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options$ rrb1$ s

    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 11 06:50:01 2011

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

    Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> @odg_enable

    System altered.

    SQL> @odg_mon

    DEST_ID DEST_NAME STATUS TRANSMIT_MOD ARCHIVER REOPEN_SECS ERROR---------- -------------------- --------- ------------ ---------- ----------- --

    ---------------------------------------------------------------

    2 LOG_ARCHIVE_DEST_2 VALID SYNCHRONOUS ARCH 120

    SQL> exitDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options$ rrb3$ s

  • 5/21/2018 DC Archive

    6/6

    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 11 06:50:29 2011

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

    Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> @odg_enable

    System altered.

    SQL>SQL> @odg_mon

    DEST_ID DEST_NAME STATUS TRANSMIT_MOD ARCHIVER REOPEN_SECS ERROR---------- -------------------- --------- ------------ ---------- ----------- ---------------------------------------

    -------------------------- 2 LOG_ARCHIVE_DEST_2 VALID SYNCHRONOUS ARCH 120

    SQL> @latest

    Last Generated Time-------------- -------- 7368 06:11:31

    SQL>