MERCADOS FINANCIEROS

lunes, 24 de noviembre de 2014

PRUEBA RESTORE ORACLE 11G

Fecha del backup: 05-NOV-2014 21:33:45
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.11.21 10:58:28 =~=~=~=~=~=~=~=~=~=~=~=
date
Fri Nov 21 10:58:41 COT 2014
[oracle@bddesarrollo ~]$
[oracle@bddesarrollo ~]$
[oracle@bddesarrollo ~]$
[oracle@bddesarrollo ~]$ cd /u02/backup/rman/prueba_restauracion
[oracle@bddesarrollo prueba_restauracion]$ ls -lrt
total 11264448
-rwxrwxrwx 1 oracle oinstall   14590464 Nov 21 10:51 archivelog_FONPETP_2spmskhp_1_1_20141105.bak
-rwxrwxrwx 1 oracle oinstall   21856256 Nov 21 10:51 controlfile_c-2150325182-20141105-00.bak
-rwxrwxrwx 1 oracle oinstall 5798445056 Nov 21 10:53 full_FONPETP_2opmsj5l_1_1_20141105.bak
-rwxrwxrwx 1 oracle oinstall 5576212480 Nov 21 10:55 full_FONPETP_2ppmsj5l_1_1_20141105.bak
-rwxrwxrwx 1 oracle oinstall  123649465 Nov 21 10:55 full_asdbp_110514.dmp.gz
-rwxrwxrwx 1 oracle oinstall      28048 Nov 21 10:55 full_asdbp_110514.log.gz
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [fonpetd] ?
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 11:01:28 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
SYS@fonpetd> SYS@fonpetd> shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@fonpetd> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [fonpetd] ?
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [fonpetd] ? +ASM
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ asmcmd
ASMCMD> cd +DG_DATA
ASMCMD> ls -lrt
WARNING:option 'r' is deprecated for 'ls'
please use 'reverse'
Type  Redund  Striped  Time             Sys  Name
                                        Y    ASDBD/
                                        Y    ASM/
                                        Y    DB_UNKNOWN/
                                        Y    FONPETP/
                                        N    fonpetd/
ASMCMD> cd fonpetd/
ASMCMD> ls -lrt
WARNING:option 'r' is deprecated for 'ls'
please use 'reverse'
Type           Redund  Striped  Time             Sys  Name
                                                 Y    CONTROLFILE/
                                                 N    DATAFILE/
                                                 Y    ONLINELOG/
                                                 N    TEMPFILE/
                                                 N    spfilefonpetd.ora => +DG_DATA/DB_UNKNOWN/PARAMETERFILE/SPFILE.271.854439285
ASMCMD>
ASMCMD>
ASMCMD>
ASMCMD>
ASMCMD> rm CONTROLFILE/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 10.
ORA-15032: not all alterations performed
ORA-15173: entry 'CONTROLFILE' does not exist in directory 'fonpetd' (DBD ERROR: OCIStmtExecute)
ASMCMD> rm DATAFILE/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
ASMCMD> rn ONLINELOG/
        commands:
        --------

        md_backup, md_restore
        lsattr, setattr
        cd, cp, du, find, help, ls, lsct, lsdg, lsof, mkalias
        mkdir, pwd, rm, rmalias
        chdg, chkdg, dropdg, iostat, lsdsk, lsod, mkdg, mount
        offline, online, rebal, remap, umount
        dsget, dsset, lsop, shutdown, spbackup, spcopy, spget
        spmove, spset, startup
        chtmpl, lstmpl, mktmpl, rmtmpl
        chgrp, chmod, chown, groups, grpmod, lsgrp, lspwusr, lsusr
        mkgrp, mkusr, orapwusr, passwd, rmgrp, rmusr
        volcreate, voldelete, voldisable, volenable, volinfo
        volresize, volset, volstat
ASMCMD> ^[[A    rm ONLINELOG/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo01a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo02a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo03a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo08b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo08a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo09a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo09b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo10a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo10b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo11a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo11b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo12b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 15.
ORA-15032: not all alterations performed
ORA-15173: entry 'ONLINELOG' does not exist in directory 'fonpetd' (DBD ERROR: OCIStmtExecute)
ASMCMD> ls -l
Type           Redund  Striped  Time             Sys  Name
                                                 N    DATAFILE/
                                                 N    TEMPFILE/
                                                 N    spfilefonpetd.ora => +DG_DATA/DB_UNKNOWN/PARAMETERFILE/SPFILE.271.854439285
ASMCMD>
ASMCMD>
ASMCMD>
ASMCMD>
ASMCMD> rm    pwd
+DG_DATA/fonpetd
ASMCMD> rm DATAFILE/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
ASMCMD-8002: entry '*' does not exist in directory '+DG_DATA/fonpetd/DATAFILE/'
ASMCMD> rm TEMPFILE/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 25.
ORA-15032: not all alterations performed
ORA-15173: entry 'temp01.dbf' does not exist in directory 'TEMPFILE' (DBD ERROR: OCIStmtExecute)
ASMCMD>
ASMCMD>
ASMCMD>
ASMCMD> ls TEMPFILE/
ASMCMD> ls DATAFILE/
ASMCMD> ls -l
Type           Redund  Striped  Time             Sys  Name
                                                 N    DATAFILE/
                                                 N    TEMPFILE/
                                                 N    spfilefonpetd.ora => +DG_DATA/DB_UNKNOWN/PARAMETERFILE/SPFILE.271.854439285
ASMCMD>
ASMCMD>
ASMCMD>
ASMCMD> exit
[oracle@bddesarrollo prueba_restauracion]$
[oracle@bddesarrollo prueba_restauracion]$
[oracle@bddesarrollo prueba_restauracion]$
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [+ASM] ? fonpetd
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 11:05:29 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to an idle instance.
SYS@fonpetd> alter system set db_name='FONPETP' scope=spfile;                                                start  up nomount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
SYS@fonpetd> alter system set db_name='FONPETP' scope=spfile;
System altered.
SYS@fonpetd> alter system set db_file_name_convert='+DG_DATA/fonpetp','+DG_DATA/fonpetd' scope=spfile;
System altered.
SYS@fonpetd> alter system set log_file_name_convert='+DG_DATA/fonpetp','+DG_DATA/fonpetd' scope=spfile;
System altered.
SYS@fonpetd> shu immeiate    diate;
ORA-01507: database not mounted

ORACLE instance shut down.
SYS@fonpetd> startup nomount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
SYS@fonpetd> SYS@fonpetd> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
[oracle@bddesarrollo prueba_restauracion]$ rman auxiliary /. oraenvnv
ORACLE_SID = [fonpetd] ?
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ rman auxiliary /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:08:28 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to auxiliary database: FONPETP (not mounted)
RMAN> run
{
DUPLICATE DATABASE 'FONPETP' DBID 2150325182 TO fonpett backup location ' /u02/backup/rman/prueba_restauracion/';
}
2> 3> 4>
Starting Duplicate Db at 21/11/2014 11:08:35
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/21/2014 11:08:35
RMAN-05501: aborting duplication of target database
RMAN-05576: CONTROLFILE backup not found for database FONPETP with DBID 2150325182 in  /u02/backup/rman/prueba_restauracion/
RMAN> run
{
DUPLICATE DATABASE 'FONPETP' DBID 2150325182 TO fonpetd backup location ' /u02/backup/rman/prueba_restauracion/';
}
2> 3> 4>
Starting Duplicate Db at 21/11/2014 11:08:43
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/21/2014 11:08:43
RMAN-05501: aborting duplication of target database
RMAN-05576: CONTROLFILE backup not found for database FONPETP with DBID 2150325182 in  /u02/backup/rman/prueba_restauracion/
RMAN>
RMAN>
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ rman auxiliary /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:08:46 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to auxiliary database: FONPETP (not mounted)
RMAN> run
{
DUPLICATE DATABASE 'FONPETP' DBID 2150325182 TO fonpetd backup location ' /u02/backup/rman/prueba_restauracion/';
}
2> 3> 4>
Starting Duplicate Db at 21/11/2014 11:08:48
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/21/2014 11:08:48
RMAN-05501: aborting duplication of target database
RMAN-05576: CONTROLFILE backup not found for database FONPETP with DBID 2150325182 in  /u02/backup/rman/prueba_restauracion/
RMAN> restore controlfile from 'controlfile_c-2150325182-20141105-00.bak                                        /u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak';
Starting restore at 21/11/2014 11:10:17
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/21/2014 11:10:17
RMAN-06171: not connected to target database
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ rman auxiliary / oraenv
ORACLE_SID = [fonpetd] ?
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$  oraenvrman auxiliary /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:10:33 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to auxiliary database: FONPETP (not mounted)
RMAN>
Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$
[oracle@bddesarrollo prueba_restauracion]$
[oracle@bddesarrollo prueba_restauracion]$ rman auxiliary / oraenv
ORACLE_SID = [fonpetd] ? ^C
[oracle@bddesarrollo prueba_restauracion]$
[oracle@bddesarrollo prueba_restauracion]$ ps -efa | grep smon
oracle    3435     1  0 Sep23 ?        00:00:59 asm_smon_+ASM
oracle    3629     1  0 Sep23 ?        00:03:20 ora_smon_asdbd
oracle   27198     1  0 11:08 ?        00:00:00 ora_smon_fonpetd
oracle   27310 25482  0 11:11 pts/0    00:00:00 grep smon
[oracle@bddesarrollo prueba_restauracion]$ ps -efa | grep smon oraenvps -efa | grep smon oraenvrman auxiliary / oraenvrman auxiliary / oraenvrman auxiliary / oraenvrman auxiliary / oraenvps -efa | grep smonps -efa | grep smon oraenvrman auxiliary / oraenvrman auxiliary /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:12:03 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to auxiliary database: FONPETP (not mounted)
RMAN> run
{
DUPLICATE DATABASE 'FONPETP' DBID 2150325182 TO fonpetd backup location ' /u02/backup/rman/prueba_restauracion/';
}
2> 3> 4>
Starting Duplicate Db at 21/11/2014 11:12:31
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/21/2014 11:12:31
RMAN-05501: aborting duplication of target database
RMAN-05576: CONTROLFILE backup not found for database FONPETP with DBID 2150325182 in  /u02/backup/rman/prueba_restauracion/
RMAN> s catalog start with '/u02/backup/rman/prueba_restauracion/';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of catalog command at 11/21/2014 11:13:26
RMAN-06136: ORACLE error from auxiliary database: ORA-01507: database not mounted
RMAN> restore controlfile from /u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01006: error signaled during parse
RMAN-02001: unrecognized punctuation symbol "/"
RMAN> restore controlfile from 0 '/u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak';
Starting restore at 21/11/2014 11:13:51
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/21/2014 11:13:51
RMAN-06171: not connected to target database
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ connrman auxiliary /target /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:13:59 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: FONPETP (not mounted)
RMAN> restore controlfile from '/u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak';
Starting restore at 21/11/2014 11:14:05
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=199 device type=DISK
channel ORA_DISK_1: restoring control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/21/2014 11:14:06
ORA-19870: error while restoring backup piece /u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak
ORA-19504: failed to create file "+DG_DATA/fonpetd/controlfile/control01.ctl"
ORA-17502: ksfdcre:4 Failed to create file +DG_DATA/fonpetd/controlfile/control01.ctl
ORA-15173: entry 'controlfile' does not exist in directory 'fonpetd'
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [fonpetd] ? +ASM
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ asmcmd
ASMCMD> cd +DG_DATA/fonpetd/controlfile
ASMCMD-8002: entry 'controlfile' does not exist in directory '+DG_DATA/fonpetd/'
ASMCMD> mkdir +DG_DATA/fonpetd/controlfile
ASMCMD> cd +DG_DATA/fonpetd/
ASMCMD> l -l   s -l
Type           Redund  Striped  Time             Sys  Name
                                                 N    DATAFILE/
                                                 N    TEMPFILE/
                                                 N    controlfile/
                                                 N    spfilefonpetd.ora => +DG_DATA/DB_UNKNOWN/PARAMETERFILE/SPFILE.271.854439285
ASMCMD>
ASMCMD>
ASMCMD>
ASMCMD> mkdir ONLINELOG
ASMCMD> exit
[oracle@bddesarrollo prueba_restauracion]$ asmcmd. oraenvrman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:16:24 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-12001: could not open channel default
RMAN-10008: could not create channel context
RMAN-10002: ORACLE error: ORA-15021: parameter "remote_dependencies_mode" is not valid in asm instance
RMAN-10006: error running SQL statement: alter session set remote_dependencies_mode = signature
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [+ASM] ? fonpetd
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ . oraenvrman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:16:31 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: FONPETP (not mounted)
RMAN>
RMAN> xit   exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ rman target /. oraenvrman target /asmcmd. oraenvrman target /auxiliary
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:16:55 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to auxiliary database: FONPETP (not mounted)
RMAN> run
{
DUPLICATE DATABASE 'FONPETP' DBID 2150325182 TO fonpetd backup location ' /u02/backup/rman/prueba_restauracion/';
}
2> 3> 4>
Starting Duplicate Db at 21/11/2014 11:16:56
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/21/2014 11:16:56
RMAN-05501: aborting duplication of target database
RMAN-05576: CONTROLFILE backup not found for database FONPETP with DBID 2150325182 in  /u02/backup/rman/prueba_restauracion/
RMAN> catalog start with -/u02/backup/rman/prueba_restauracion/                                      - '/u02/backup/rman/prueba_restauracion/';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of catalog command at 11/21/2014 11:17:50
RMAN-06136: ORACLE error from auxiliary database: ORA-01507: database not mounted
RMAN> run
{
DUPLICATE DATABASE 'FONPETP' DBID 2150325182 TO fonpetd backup location ' /u02/backup/rman/prueba_restauracion/';
}
2> 3> 4>
Starting Duplicate Db at 21/11/2014 11:18:55
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/21/2014 11:18:55
RMAN-05501: aborting duplication of target database
RMAN-05576: CONTROLFILE backup not found for database FONPETP with DBID 2150325182 in  /u02/backup/rman/prueba_restauracion/
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ rman auxiliary /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 11:18:57 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to auxiliary database: FONPETP (not mounted)
RMAN> run
{
DUPLICATE DATABASE 'FONPETP' DBID 2150325182 TO fonpetd backup location ' /u02/backup/rman/prueba_restauracion/';
}
2> 3> 4>
Starting Duplicate Db at 21/11/2014 11:18:58
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/21/2014 11:18:58
RMAN-05501: aborting duplication of target database
RMAN-05576: CONTROLFILE backup not found for database FONPETP with DBID 2150325182 in  /u02/backup/rman/prueba_restauracion/
RMAN> run
2> {
3> DUPLICATE DATABASE 'FONPETP' DBID 2150325182 TO fonpetd backup location /u02/backup/rman/prueba_restauracion/';                                       '/u02/backup/rman/prueba_restauracion/';
4> }
Starting Duplicate Db at 21/11/2014 11:19:51
contents of Memory Script:
{
   sql clone "alter system set  db_name =
 ''FONPETP'' comment=
 ''Modified by RMAN duplicate'' scope=spfile";
   shutdown clone immediate;
   startup clone force nomount
   restore clone primary controlfile from  '/u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak';
   alter clone database mount;
}
executing Memory Script
sql statement: alter system set  db_name =  ''FONPETP'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area    1402982400 bytes
Fixed Size                     2228304 bytes
Variable Size               1073745840 bytes
Database Buffers             318767104 bytes
Redo Buffers                   8241152 bytes
Starting restore at 21/11/2014 11:20:00
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=393 device type=DISK
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
output file name=+DG_DATA/fonpetd/controlfile/control01.ctl
output file name=+DG_FRA/fonpetd/controlfile/control02.ctl
Finished restore at 21/11/2014 11:20:07
database mounted
released channel: ORA_AUX_DISK_1
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=393 device type=DISK
contents of Memory Script:
{
   set until scn  110586010;
   set newname for datafile  1 to
 "+DG_DATA/fonpetd/datafile/system01.dbf";
   set newname for datafile  2 to
 "+DG_DATA/fonpetd/datafile/sysaux01.dbf";
   set newname for datafile  3 to
 "+DG_DATA/fonpetd/datafile/undotbs101.dbf";
   set newname for datafile  4 to
 "+DG_DATA/fonpetd/datafile/users01.dbf";
   set newname for datafile  5 to
 "+DG_DATA/fonpetd/datafile/indic_fonpet_movim_01.dbf";
   set newname for datafile  6 to
 "+DG_DATA/fonpetd/datafile/indic_fonpet_param.dbf";
   set newname for datafile  7 to
 "+DG_DATA/fonpetd/datafile/indic_fonpet_movim.dbf";
   set newname for datafile  8 to
 "+DG_DATA/fonpetd/datafile/indic_fonpet_movim_reorg0.dbf";
   set newname for datafile  9 to
 "+DG_DATA/fonpetd/datafile/ts_fonpet_param.dbf";
   set newname for datafile  10 to
 "+DG_DATA/fonpetd/datafile/ts_fonpet_movim_01.dbf";
   set newname for datafile  11 to
 "+DG_DATA/fonpetd/datafile/indic_fonpet_movim_02.dbf";
   set newname for datafile  12 to
 "+DG_DATA/fonpetd/datafile/ts_fonpet_movim_02.dbf";
   set newname for datafile  13 to
 "+DG_DATA/fonpetd/datafile/ts_fonpet_rep.dbf";
   set newname for datafile  14 to
 "+DG_DATA/fonpetd/datafile/ts_fonpet_movim.dbf";
   set newname for datafile  15 to
 "+DG_DATA/fonpetd/datafile/ts_fonpet_movim_2.dbf";
   restore
   clone database
   ;
}
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 21/11/2014 11:20:13
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to +DG_DATA/fonpetd/datafile/system01.dbf
channel ORA_AUX_DISK_1: restoring datafile 00005 to +DG_DATA/fonpetd/datafile/indic_fonpet_movim_01.dbf
channel ORA_AUX_DISK_1: restoring datafile 00007 to +DG_DATA/fonpetd/datafile/indic_fonpet_movim.dbf
channel ORA_AUX_DISK_1: restoring datafile 00008 to +DG_DATA/fonpetd/datafile/indic_fonpet_movim_reorg0.dbf
channel ORA_AUX_DISK_1: restoring datafile 00010 to +DG_DATA/fonpetd/datafile/ts_fonpet_movim_01.dbf
channel ORA_AUX_DISK_1: restoring datafile 00011 to +DG_DATA/fonpetd/datafile/indic_fonpet_movim_02.dbf
channel ORA_AUX_DISK_1: restoring datafile 00012 to +DG_DATA/fonpetd/datafile/ts_fonpet_movim_02.dbf
channel ORA_AUX_DISK_1: restoring datafile 00015 to +DG_DATA/fonpetd/datafile/ts_fonpet_movim_2.dbf
channel ORA_AUX_DISK_1: reading from backup piece /u02/backup/rman/prueba_restauracion/full_FONPETP_2ppmsj5l_1_1_20141105.bak
channel ORA_AUX_DISK_1: piece handle=/u02/backup/rman/prueba_restauracion/full_FONPETP_2ppmsj5l_1_1_20141105.bak tag=TAG20141105T211012
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:13:55
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00002 to +DG_DATA/fonpetd/datafile/sysaux01.dbf
channel ORA_AUX_DISK_1: restoring datafile 00003 to +DG_DATA/fonpetd/datafile/undotbs101.dbf
channel ORA_AUX_DISK_1: restoring datafile 00004 to +DG_DATA/fonpetd/datafile/users01.dbf
channel ORA_AUX_DISK_1: restoring datafile 00006 to +DG_DATA/fonpetd/datafile/indic_fonpet_param.dbf
channel ORA_AUX_DISK_1: restoring datafile 00009 to +DG_DATA/fonpetd/datafile/ts_fonpet_param.dbf
channel ORA_AUX_DISK_1: restoring datafile 00013 to +DG_DATA/fonpetd/datafile/ts_fonpet_rep.dbf
channel ORA_AUX_DISK_1: restoring datafile 00014 to +DG_DATA/fonpetd/datafile/ts_fonpet_movim.dbf
channel ORA_AUX_DISK_1: reading from backup piece /u02/backup/rman/prueba_restauracion/full_FONPETP_2opmsj5l_1_1_20141105.bak
channel ORA_AUX_DISK_1: piece handle=/u02/backup/rman/prueba_restauracion/full_FONPETP_2opmsj5l_1_1_20141105.bak tag=TAG20141105T211012
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:14:45
Finished restore at 21/11/2014 11:48:55
contents of Memory Script:
{
   switch clone datafile all;
}
executing Memory Script
datafile 1 switched to datafile copy
input datafile copy RECID=16 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/system01.dbf
datafile 2 switched to datafile copy
input datafile copy RECID=17 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/sysaux01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=18 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/undotbs101.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=19 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/users01.dbf
datafile 5 switched to datafile copy
input datafile copy RECID=20 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=21 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_param.dbf
datafile 7 switched to datafile copy
input datafile copy RECID=22 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim.dbf
datafile 8 switched to datafile copy
input datafile copy RECID=23 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_reorg0.dbf
datafile 9 switched to datafile copy
input datafile copy RECID=24 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_param.dbf
datafile 10 switched to datafile copy
input datafile copy RECID=25 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_01.dbf
datafile 11 switched to datafile copy
input datafile copy RECID=26 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_02.dbf
datafile 12 switched to datafile copy
input datafile copy RECID=27 STAMP=864215335 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_02.dbf
datafile 13 switched to datafile copy
input datafile copy RECID=28 STAMP=864215336 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_rep.dbf
datafile 14 switched to datafile copy
input datafile copy RECID=29 STAMP=864215336 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim.dbf
datafile 15 switched to datafile copy
input datafile copy RECID=30 STAMP=864215336 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_2.dbf
contents of Memory Script:
{
   set until scn  110586010;
   recover
   clone database
    delete archivelog
   ;
}
executing Memory Script
executing command: SET until clause
Starting recover at 21/11/2014 11:48:57
using channel ORA_AUX_DISK_1
starting media recovery
channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=8884
channel ORA_AUX_DISK_1: reading from backup piece /u02/backup/rman/prueba_restauracion/archivelog_FONPETP_2spmskhp_1_1_20141105.bak
channel ORA_AUX_DISK_1: piece handle=/u02/backup/rman/prueba_restauracion/archivelog_FONPETP_2spmskhp_1_1_20141105.bak tag=TAG20141105T213317
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=+DG_FRA/fonpetp/archivelog/2014_11_21/thread_1_seq_8884.859.864215339 thread=1 sequence=8884
channel clone_default: deleting archived log(s)
archived log file name=+DG_FRA/fonpetp/archivelog/2014_11_21/thread_1_seq_8884.859.864215339 RECID=1 STAMP=864215338
media recovery complete, elapsed time: 00:00:03
Finished recover at 21/11/2014 11:49:02
Oracle instance started
Total System Global Area    1402982400 bytes
Fixed Size                     2228304 bytes
Variable Size               1073745840 bytes
Database Buffers             318767104 bytes
Redo Buffers                   8241152 bytes
contents of Memory Script:
{
   sql clone "alter system set  db_name =
 ''FONPETD'' comment=
 ''Reset to original value by RMAN'' scope=spfile";
   shutdown clone immediate;
   startup clone nomount;
}
executing Memory Script
sql statement: alter system set  db_name =  ''FONPETD'' comment= ''Reset to original value by RMAN'' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area    1402982400 bytes
Fixed Size                     2228304 bytes
Variable Size               1073745840 bytes
Database Buffers             318767104 bytes
Redo Buffers                   8241152 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "FONPETD" RESETLOGS ARCHIVELOG
  MAXLOGFILES     16
  MAXLOGMEMBERS      3
  MAXDATAFILES      100
  MAXINSTANCES     8
  MAXLOGHISTORY     2920
 LOGFILE
  GROUP   1 ( '+DG_DATA/fonpetd/onlinelog/redo01a.rdo', '+DG_FRA/fonpetp/onlinelog/redo01b.rdo' ) SIZE 50 M  REUSE,
  GROUP   2 ( '+DG_DATA/fonpetd/onlinelog/redo02a.rdo', '+DG_FRA/fonpetp/onlinelog/redo02b.rdo' ) SIZE 50 M  REUSE,
  GROUP   3 ( '+DG_DATA/fonpetd/onlinelog/redo03a.rdo', '+DG_FRA/fonpetp/onlinelog/redo03b.rdo' ) SIZE 50 M  REUSE,
  GROUP   8 ( '+DG_DATA/fonpetd/onlinelog/redo08b.rdo', '+DG_DATA/fonpetd/onlinelog/redo08a.rdo' ) SIZE 50 M  REUSE,
  GROUP   9 ( '+DG_DATA/fonpetd/onlinelog/redo09a.rdo', '+DG_DATA/fonpetd/onlinelog/redo09b.rdo' ) SIZE 50 M  REUSE,
  GROUP  10 ( '+DG_DATA/fonpetd/onlinelog/redo10a.rdo', '+DG_DATA/fonpetd/onlinelog/redo10b.rdo' ) SIZE 50 M  REUSE,
  GROUP  11 ( '+DG_DATA/fonpetd/onlinelog/redo11a.rdo', '+DG_DATA/fonpetd/onlinelog/redo11b.rdo' ) SIZE 50 M  REUSE,
  GROUP  12 ( '+DG_DATA/fonpetd/onlinelog/redo12b.rdo', '+DG_DATA/fonpetd/onlinelog/redo12a.rdo' ) SIZE 50 M  REUSE
 DATAFILE
  '+DG_DATA/fonpetd/datafile/system01.dbf'
 CHARACTER SET WE8ISO8859P1

contents of Memory Script:
{
   set newname for tempfile  1 to
 "+DG_DATA/fonpetd/tempfile/temp01.dbf";
   switch clone tempfile all;
   catalog clone datafilecopy  "+DG_DATA/fonpetd/datafile/sysaux01.dbf",
 "+DG_DATA/fonpetd/datafile/undotbs101.dbf",
 "+DG_DATA/fonpetd/datafile/users01.dbf",
 "+DG_DATA/fonpetd/datafile/indic_fonpet_movim_01.dbf",
 "+DG_DATA/fonpetd/datafile/indic_fonpet_param.dbf",
 "+DG_DATA/fonpetd/datafile/indic_fonpet_movim.dbf",
 "+DG_DATA/fonpetd/datafile/indic_fonpet_movim_reorg0.dbf",
 "+DG_DATA/fonpetd/datafile/ts_fonpet_param.dbf",
 "+DG_DATA/fonpetd/datafile/ts_fonpet_movim_01.dbf",
 "+DG_DATA/fonpetd/datafile/indic_fonpet_movim_02.dbf",
 "+DG_DATA/fonpetd/datafile/ts_fonpet_movim_02.dbf",
 "+DG_DATA/fonpetd/datafile/ts_fonpet_rep.dbf",
 "+DG_DATA/fonpetd/datafile/ts_fonpet_movim.dbf",
 "+DG_DATA/fonpetd/datafile/ts_fonpet_movim_2.dbf";
   switch clone datafile all;
}
executing Memory Script
executing command: SET NEWNAME
renamed tempfile 1 to +DG_DATA/fonpetd/tempfile/temp01.dbf in control file
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/sysaux01.dbf RECID=1 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/undotbs101.dbf RECID=2 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/users01.dbf RECID=3 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_01.dbf RECID=4 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/indic_fonpet_param.dbf RECID=5 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim.dbf RECID=6 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_reorg0.dbf RECID=7 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/ts_fonpet_param.dbf RECID=8 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_01.dbf RECID=9 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_02.dbf RECID=10 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_02.dbf RECID=11 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/ts_fonpet_rep.dbf RECID=12 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim.dbf RECID=13 STAMP=864215362
cataloged datafile copy
datafile copy file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_2.dbf RECID=14 STAMP=864215362
datafile 2 switched to datafile copy
input datafile copy RECID=1 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/sysaux01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=2 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/undotbs101.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=3 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/users01.dbf
datafile 5 switched to datafile copy
input datafile copy RECID=4 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=5 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_param.dbf
datafile 7 switched to datafile copy
input datafile copy RECID=6 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim.dbf
datafile 8 switched to datafile copy
input datafile copy RECID=7 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_reorg0.dbf
datafile 9 switched to datafile copy
input datafile copy RECID=8 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_param.dbf
datafile 10 switched to datafile copy
input datafile copy RECID=9 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_01.dbf
datafile 11 switched to datafile copy
input datafile copy RECID=10 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/indic_fonpet_movim_02.dbf
datafile 12 switched to datafile copy
input datafile copy RECID=11 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_02.dbf
datafile 13 switched to datafile copy
input datafile copy RECID=12 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_rep.dbf
datafile 14 switched to datafile copy
input datafile copy RECID=13 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim.dbf
datafile 15 switched to datafile copy
input datafile copy RECID=14 STAMP=864215362 file name=+DG_DATA/fonpetd/datafile/ts_fonpet_movim_2.dbf
Reenabling controlfile options for auxiliary database
Executing: alter database force logging
contents of Memory Script:
{
   Alter clone database open resetlogs;
}
executing Memory Script
database opened
Finished Duplicate Db at 21/11/2014 11:50:00
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ sqlplus dabba_fopnpet as sgsysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 11:50:16 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
SYS@fonpetd> select count(1) from dba_segments;
  COUNT(1)
----------
      6314
SYS@fonpetd> select name,     , open_mode, dbid from v$database;
NAME  OPEN_MODE     DBID
--------- -------------------- ----------
FONPETD   READ WRITE       1247845184
SYS@fonpetd> col name format a50
SYS@fonpetd> set lines 1000 pages 10000
SYS@fonpetd> seect   lect name, bytes s, status from v$datafile;
NAMEBYTES STATUS
-------------------------------------------------- ---------- -------
+DG_DATA/fonpetd/datafile/system01.dbf   1461714944 SYSTEM
+DG_DATA/fonpetd/datafile/sysaux01.dbf   2006974464 ONLINE
+DG_DATA/fonpetd/datafile/undotbs101.dbf   1073741824 ONLINE
+DG_DATA/fonpetd/datafile/users01.dbf    196608000 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_movim_01.db 5309988864 ONLINE
f
+DG_DATA/fonpetd/datafile/indic_fonpet_param.dbf    594214912 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_movim.dbf   3463774208 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_movim_reorg 2621440000 ONLINE
0.dbf
+DG_DATA/fonpetd/datafile/ts_fonpet_param.dbf    104857600 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_movim_01.dbf   9154789376 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_movim_02.db 5146411008 ONLINE
f
+DG_DATA/fonpetd/datafile/ts_fonpet_movim_02.dbf   3145728000 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_rep.dbf   1073741824 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_movim.dbf   3.4318E+10 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_movim_2.dbf    7130316800 ONLINE
15 rows selected.
SYS@fonpetd> col name format a50 6
SYS@fonpetd> /
NAME      BYTES STATUS
-------------------------------------------------------- ---------- -------
+DG_DATA/fonpetd/datafile/system01.dbf 1461714944 SYSTEM
+DG_DATA/fonpetd/datafile/sysaux01.dbf 2006974464 ONLINE
+DG_DATA/fonpetd/datafile/undotbs101.dbf 1073741824 ONLINE
+DG_DATA/fonpetd/datafile/users01.dbf  196608000 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_movim_01.dbf 5309988864 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_param.dbf  594214912 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_movim.dbf 3463774208 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_movim_reorg0.dbf  2621440000 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_param.dbf  104857600 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_movim_01.dbf 9154789376 ONLINE
+DG_DATA/fonpetd/datafile/indic_fonpet_movim_02.dbf 5146411008 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_movim_02.dbf 3145728000 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_rep.dbf 1073741824 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_movim.dbf 3.4318E+10 ONLINE
+DG_DATA/fonpetd/datafile/ts_fonpet_movim_2.dbf  7130316800 ONLINE
15 rows selected.
SYS@fonpetd>   selec     select member, status from v$logfile;
MEMBER  STATUS
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------
+DG_DATA/fonpetd/onlinelog/redo12b.rdo
+DG_DATA/fonpetd/onlinelog/redo12a.rdo
+DG_DATA/fonpetd/onlinelog/redo11a.rdo
+DG_DATA/fonpetd/onlinelog/redo11b.rdo
+DG_DATA/fonpetd/onlinelog/redo10a.rdo
+DG_DATA/fonpetd/onlinelog/redo10b.rdo
+DG_DATA/fonpetd/onlinelog/redo09a.rdo
+DG_DATA/fonpetd/onlinelog/redo09b.rdo
+DG_DATA/fonpetd/onlinelog/redo08b.rdo
+DG_DATA/fonpetd/onlinelog/redo08a.rdo
+DG_DATA/fonpetd/onlinelog/redo03a.rdo
+DG_FRA/fonpetp/onlinelog/redo03b.rdo
+DG_DATA/fonpetd/onlinelog/redo02a.rdo
+DG_FRA/fonpetp/onlinelog/redo02b.rdo
+DG_DATA/fonpetd/onlinelog/redo01a.rdo
+DG_FRA/fonpetp/onlinelog/redo01b.rdo
16 rows selected.
SYS@fonpetd> ^[[6~      
SYS@fonpetd>
SYS@fonpetd> shw p   pw p    pw pa     ow parameter recovery
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest     string +DG_FRA
db_recovery_file_dest_size     big integer 70G
recovery_parallelism     integer 0
SYS@fonpetd> show    show para  meter unique
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_unique_name     string FONPETD
SYS@fonpetd> show parameter db_name
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name      string FONPETD
SYS@fonpetd> spw   show parameter instance_name
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
instance_name     string fonpetd
SYS@fonpetd> exit    show     
SYS@fonpetd>
SYS@fonpetd>
SYS@fonpetd> shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@fonpetd> xi  exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [fonpetd] ? +ASM
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ asmcmd
ASMCMD> rm    cd +DG_DATA/fonpet   petd
ASMCMD> ls l -l
Type           Redund  Striped  Time             Sys  Name
                                                 N    DATAFILE/
                                                 N    ONLINELOG/
                                                 N    TEMPFILE/
                                                 N    controlfile/
                                                 N    spfilefonpetd.ora => +DG_DATA/DB_UNKNOWN/PARAMETERFILE/SPFILE.271.854439285
ASMCMD> rm DATAFILE/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
ASMCMD> rm ONLINELOG/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo01a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo02a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo03a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo08b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo08a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo09a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo09b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo10a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo10b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo11a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo11b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo12b.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 6.
ORA-15032: not all alterations performed
ORA-15173: entry 'redo12a.rdo' does not exist in directory 'ONLINELOG' (DBD ERROR: OCIStmtExecute)
ASMCMD> rm TEMPFILE/
ORA-15032: not all alterations performed
ORA-15178: directory 'TEMPFILE' is not empty; cannot drop this directory (DBD ERROR: OCIStmtExecute)
ASMCMD>  rm controlfile/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
ASMCMD> rm TEMPFILE/*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
Use of uninitialized value $is_dir in string eq at /u01/app/oracle/product/11.2.0/grid/lib/asmcmdbase.pm line 4336, line 11.
ORA-15032: not all alterations performed
ORA-15173: entry 'temp01.dbf' does not exist in directory 'TEMPFILE' (DBD ERROR: OCIStmtExecute)
ASMCMD> ls -l
Type           Redund  Striped  Time             Sys  Name
                                                 N    DATAFILE/
                                                 N    ONLINELOG/
                                                 N    TEMPFILE/
                                                 N    controlfile/
                                                 N    spfilefonpetd.ora => +DG_DATA/DB_UNKNOWN/PARAMETERFILE/SPFILE.271.854439285
ASMCMD> ls -l DATAFILE/
ASMCMD> ls -l ONLINELOG/
ASMCMD> ls -l TEMPFILE/
ASMCMD> ls -l controlfile/
ASMCMD> rm  dir        controlfile/
ASMCMD> M mkdir CONTROLFILE                 rm DATAFILE/
ASMCMD> rm ONLINELOG/
ASMCMD> rm TEMPFILE/
ASMCMD> ls -l
Type           Redund  Striped  Time             Sys  Name
                                                 N    spfilefonpetd.ora => +DG_DATA/DB_UNKNOWN/PARAMETERFILE/SPFILE.271.854439285
ASMCMD> mkdir DATAFILE/
ASMCMD> mkdir ONLINELOG/
ASMCMD> mkdir TEMPFILE/
ASMCMD> mkdir CONTOLFIL       N   CONTROLFILE
ASMCMD> LS -L     ls-lrt     -lrt
WARNING:option 'r' is deprecated for 'ls'
please use 'reverse'

Type           Redund  Striped  Time             Sys  Name
                                                 N    CONTROLFILE/
                                                 N    DATAFILE/
                                                 N    ONLINELOG/
                                                 N    TEMPFILE/
                                                 N    spfilefonpetd.ora => +DG_DATA/DB_UNKNOWN/PARAMETERFILE/SPFILE.271.854439285
ASMCMD>
ASMCMD>
ASMCMD> exit
[oracle@bddesarrollo prueba_restauracion]$ sqlplus da_ / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 12:00:14 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
SYS@+ASM>
SYS@+ASM> startup nomount;
ORA-01031: insufficient privileges
SYS@+ASM> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [+ASM] ? fonpetd
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ . oraenvsqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 12:00:45 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to an idle instance.
SYS@fonpetd>
SYS@fonpetd> startup nomout  unt
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
SYS@fonpetd> show parameer  ter dba_  _name
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name      string FONPETD
SYS@fonpetd> show parm ameter uniqie    ique
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_unique_name     string FONPETD
SYS@fonpetd> show parameter instance
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
active_instance_count     integer
cluster_database_instances     integer 1
instance_groups      string
instance_name     string fonpetd
instance_number      integer 0
instance_type     string RDBMS
open_links_per_instance      integer 4
parallel_instance_group      string
parallel_server_instances     integer 1
SYS@fonpetd> alter system st   et db_name=FONPETP scope=spfile;
System altered.
SYS@fonpetd> show parameter convert
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert     string +DG_DATA/fonpetp, +DG_DATA/fon
 petd
log_file_name_convert     string +DG_DATA/fonpetp, +DG_DATA/fon
 petd
SYS@fonpetd> shu i     alter system st   et db_file_name_convert='+DG_DATA/fonpetp, +DG_DATA/fonpetd' sc cope=spfile;
alter system set db_file_name_convert='+DG_DATA/fonpetp, +DG_DATA/fonpetd' scope=spfile
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-01678: parameter db_file_name_convert must be pairs of pattern and
replacement strings

SYS@fonpetd> alter system set db_file_name_convert='+DG_DATA/fonpetp','+DG_DATA/fonpetd' scope=spfile;
System altered.
SYS@fonpetd> alter system set log_file_name_convert='+DG_DATA/fonpetp0,  ','+DG_DATA/fonpetd' scope=spfile;
System altered.
SYS@fonpetd> s shu mmediate        immediate, ;
ORA-01507: database not mounted

ORACLE instance shut down.
SYS@fonpetd> startup nomount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
SYS@fonpetd> exi   ext
SP2-0042: unknown command "ext" - rest of line ignored.
SYS@fonpetd> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
[oracle@bddesarrollo prueba_restauracion]$ rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 12:05:11 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: FONPETP (not mounted)
RMAN> restore controlfile from /u02/backup/rman/prueba_restauracion                                    '/u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak';
Starting restore at 21/11/2014 12:05:38
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=393 device type=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
output file name=+DG_DATA/fonpetd/controlfile/control01.ctl
output file name=+DG_FRA/fonpetd/controlfile/control02.ctl
Finished restore at 21/11/2014 12:05:39
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> crosscheck backup;
Starting implicit crosscheck backup at 21/11/2014 12:06:08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=6 device type=DISK
Crosschecked 10 objects
Finished implicit crosscheck backup at 21/11/2014 12:06:10
Starting implicit crosscheck copy at 21/11/2014 12:06:10
using channel ORA_DISK_1
Crosschecked 2 objects
Finished implicit crosscheck copy at 21/11/2014 12:06:10
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/full_FONPETP_2jpmpuph_1_1_20141104.bak RECID=2034 STAMP=862780213
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/full_FONPETP_2ipmpuph_1_1_20141104.bak RECID=2035 STAMP=862780209
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/archivelog_FONPETP_2lpmq03u_1_1_20141104.bak RECID=2037 STAMP=862781567
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/controlfile_c-2150325182-20141104-00.bak RECID=2039 STAMP=862781604
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/full_FONPETP_2ppmsj5l_1_1_20141105.bak RECID=2040 STAMP=862866617
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/full_FONPETP_2opmsj5l_1_1_20141105.bak RECID=2041 STAMP=862866614
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/archivelog_FONPETP_2qpmskgv_1_1_20141105.bak RECID=2042 STAMP=862867999
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/archivelog_FONPETP_2rpmskh0_1_1_20141105.bak RECID=2043 STAMP=862868000
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/archivelog_FONPETP_2spmskhp_1_1_20141105.bak RECID=2044 STAMP=862868025
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u03/backups/rman/fonpetp/controlfile_FONPETP_2tpmski1_1_1_20141105.bak RECID=2045 STAMP=862868034
Crosschecked 10 objects
RMAN-08591: WARNING: invalid archived log deletion policy
RMAN> cro   crosscheck archivel  l ogg  ll  all;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=6 device type=DISK
specification does not match any archived log in the repository
RMAN> cro   delete expired backup;
using channel ORA_DISK_1
List of Backup Pieces
BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
------- ------- --- --- ----------- ----------- ----------
2034    2031    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/full_FONPETP_2jpmpuph_1_1_20141104.bak
2035    2032    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/full_FONPETP_2ipmpuph_1_1_20141104.bak
2037    2034    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/archivelog_FONPETP_2lpmq03u_1_1_20141104.bak
2039    2036    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/controlfile_c-2150325182-20141104-00.bak
2040    2037    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/full_FONPETP_2ppmsj5l_1_1_20141105.bak
2041    2038    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/full_FONPETP_2opmsj5l_1_1_20141105.bak
2042    2039    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/archivelog_FONPETP_2qpmskgv_1_1_20141105.bak
2043    2040    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/archivelog_FONPETP_2rpmskh0_1_1_20141105.bak
2044    2041    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/archivelog_FONPETP_2spmskhp_1_1_20141105.bak
2045    2042    1   1   EXPIRED     DISK        /u03/backups/rman/fonpetp/controlfile_FONPETP_2tpmski1_1_1_20141105.bak
Do you really want to delete the above objects (enter YES or NO)? YES
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/full_FONPETP_2jpmpuph_1_1_20141104.bak RECID=2034 STAMP=862780213
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/full_FONPETP_2ipmpuph_1_1_20141104.bak RECID=2035 STAMP=862780209
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/archivelog_FONPETP_2lpmq03u_1_1_20141104.bak RECID=2037 STAMP=862781567
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/controlfile_c-2150325182-20141104-00.bak RECID=2039 STAMP=862781604
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/full_FONPETP_2ppmsj5l_1_1_20141105.bak RECID=2040 STAMP=862866617
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/full_FONPETP_2opmsj5l_1_1_20141105.bak RECID=2041 STAMP=862866614
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/archivelog_FONPETP_2qpmskgv_1_1_20141105.bak RECID=2042 STAMP=862867999
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/archivelog_FONPETP_2rpmskh0_1_1_20141105.bak RECID=2043 STAMP=862868000
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/archivelog_FONPETP_2spmskhp_1_1_20141105.bak RECID=2044 STAMP=862868025
deleted backup piece
backup piece handle=/u03/backups/rman/fonpetp/controlfile_FONPETP_2tpmski1_1_1_20141105.bak RECID=2045 STAMP=862868034
Deleted 10 EXPIRED objects
RMAN-08591: WARNING: invalid archived log deletion policy
RMAN> delete expired ARCHIVELOG ALL;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=6 device type=DISK
specification does not match any archived log in the repository
RMAN> restore        
RMAN> catalog da  start i with '/u02/backup/rman/prueba_restauracion';
searching for all files that match the pattern /u02/backup/rman/prueba_restauracion
List of Files Unknown to the Database
=====================================
File Name: /u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak
File Name: /u02/backup/rman/prueba_restauracion/archivelog_FONPETP_2spmskhp_1_1_20141105.bak
File Name: /u02/backup/rman/prueba_restauracion/full_FONPETP_2opmsj5l_1_1_20141105.bak
File Name: /u02/backup/rman/prueba_restauracion/full_asdbp_110514.dmp.gz
File Name: /u02/backup/rman/prueba_restauracion/full_FONPETP_2ppmsj5l_1_1_20141105.bak
File Name: /u02/backup/rman/prueba_restauracion/full_asdbp_110514.log.gz
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /u02/backup/rman/prueba_restauracion/controlfile_c-2150325182-20141105-00.bak
File Name: /u02/backup/rman/prueba_restauracion/archivelog_FONPETP_2spmskhp_1_1_20141105.bak
File Name: /u02/backup/rman/prueba_restauracion/full_FONPETP_2opmsj5l_1_1_20141105.bak
File Name: /u02/backup/rman/prueba_restauracion/full_FONPETP_2ppmsj5l_1_1_20141105.bak
List of Files Which Where Not Cataloged
=======================================
File Name: /u02/backup/rman/prueba_restauracion/full_asdbp_110514.dmp.gz
  RMAN-07517: Reason: The file header is corrupted
File Name: /u02/backup/rman/prueba_restauracion/full_asdbp_110514.log.gz
  RMAN-07517: Reason: The file header is corrupted
RMAN> restore database;
Starting restore at 21/11/2014 12:08:27
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to +DG_DATA/fonpetp/datafile/system01.dbf
channel ORA_DISK_1: restoring datafile 00005 to +DG_DATA/fonpetp/datafile/indic_fonpet_movim_01.dbf
channel ORA_DISK_1: restoring datafile 00007 to +DG_DATA/fonpetp/datafile/indic_fonpet_movim.dbf
channel ORA_DISK_1: restoring datafile 00008 to +DG_DATA/fonpetp/datafile/indic_fonpet_movim_reorg0.dbf
channel ORA_DISK_1: restoring datafile 00010 to +DG_DATA/fonpetp/datafile/ts_fonpet_movim_01.dbf
channel ORA_DISK_1: restoring datafile 00011 to +DG_DATA/fonpetp/datafile/indic_fonpet_movim_02.dbf
channel ORA_DISK_1: restoring datafile 00012 to +DG_DATA/fonpetp/datafile/ts_fonpet_movim_02.dbf
channel ORA_DISK_1: restoring datafile 00015 to +DG_DATA/fonpetp/datafile/ts_fonpet_movim_2.dbf
channel ORA_DISK_1: reading from backup piece /u02/backup/rman/prueba_restauracion/full_FONPETP_2ppmsj5l_1_1_20141105.bak
channel ORA_DISK_1: piece handle=/u02/backup/rman/prueba_restauracion/full_FONPETP_2ppmsj5l_1_1_20141105.bak tag=TAG20141105T211012
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:14:06
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00002 to +DG_DATA/fonpetp/datafile/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00003 to +DG_DATA/fonpetp/datafile/undotbs101.dbf
channel ORA_DISK_1: restoring datafile 00004 to +DG_DATA/fonpetp/datafile/users01.dbf
channel ORA_DISK_1: restoring datafile 00006 to +DG_DATA/fonpetp/datafile/indic_fonpet_param.dbf
channel ORA_DISK_1: restoring datafile 00009 to +DG_DATA/fonpetp/datafile/ts_fonpet_param.dbf
channel ORA_DISK_1: restoring datafile 00013 to +DG_DATA/fonpetp/datafile/ts_fonpet_rep.dbf
channel ORA_DISK_1: restoring datafile 00014 to +DG_DATA/fonpetp/datafile/ts_fonpet_movim.dbf
channel ORA_DISK_1: reading from backup piece /u02/backup/rman/prueba_restauracion/full_FONPETP_2opmsj5l_1_1_20141105.bak
channel ORA_DISK_1: piece handle=/u02/backup/rman/prueba_restauracion/full_FONPETP_2opmsj5l_1_1_20141105.bak tag=TAG20141105T211012
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:14:55
Finished restore at 21/11/2014 12:37:28
RMAN>
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ aexport rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 12:53:47 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: FONPETP (DBID=2150325182, not open)
RMAN> LIST BACKU   UP OF ARCHIVELOG ALL<
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01006: error signaled during parse
RMAN-02001: unrecognized punctuation symbol "<"
RMAN> LIST BACKUP OF ARCHIVELOG ALL< < ;
using target database control file instead of recovery catalog
List of Backup Sets
===================

BS Key  Size       Device Type Elapsed Time Completion Time   
------- ---------- ----------- ------------ -------------------
2043    13.91M     DISK        00:00:00     05/11/2014 21:33:45
        BP Key: 2046   Status: AVAILABLE  Compressed: NO  Tag: TAG20141105T213317
        Piece Name: /u02/backup/rman/prueba_restauracion/archivelog_FONPETP_2spmskhp_1_1_20141105.bak
  List of Archived Logs in backup set 2043
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  1    8884    110575832  05/11/2014 20:00:09 110586010  05/11/2014 21:33:15
RMAN> restoe  o     recover         list backup of controlfile<
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01006: error signaled during parse
RMAN-02001: unrecognized punctuation symbol "<"
RMAN>  list backup of controlfileñ ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, controlfile, database, datafile, foreign, spfile, tablespace"
RMAN-01008: the bad identifier was: controlfile
RMAN-01007: at line 1 column 17 file: standard input
RMAN> lit   l list backup of controlfile;
specification does not match any backup in the repository
RMAN> recover database until logseq 8884;  5. ;
Starting recover at 21/11/2014 12:55:15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=580 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/21/2014 12:55:16
ORA-19698: +DG_FRA/fonpetp/onlinelog/redo01b.rdo is from different database: id=1247845184, db_name=FONPETD
RMAN> re  exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ sqlplus / as sysbasdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 12:57:04 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
SYS@fonpetd> show parameer  ter db_bame
SYS@fonpetd> show parameter db_name
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name      string FONPETP
SYS@fonpetd> alter system se  set db_name=' 'FONPETP' scope=spfi             D' scope=spfie  ile;
alter system set db_name='FONPETD' scope=spfile
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-32016: parameter "db_name" cannot be updated in SPFILE

SYS@fonpetd> shu immediate;
ORA-01109: database not open

Database dismounted.
ORACLE instance shut down.
SYS@fonpetd> startup nomount pfile;       ;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
SYS@fonpetd> alter system set db_name='FONPETD' scope=spfile
  2  ;
System altered.
SYS@fonpetd> al  alter       shu immediate;
ORA-01507: database not mounted

ORACLE instance shut down.
SYS@fonpetd> startup mount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
ORA-01103: database name 'FONPETP' in control file is not 'FONPETD'

SYS@fonpetd> show parameter lo  convert
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert     string +DG_DATA/fonpetp, +DG_DATA/fon
 petd
log_file_name_convert     string +DG_DATA/fonpetp, +DG_DATA/fon
 petd
SYS@fonpetd> alter     alter sye  ession  =       ystem set db_name=FONPETD P scope? =sf pfile;
System altered.
SYS@fonpetd> shu immediate;
ORA-01507: database not mounted

ORACLE instance shut down.
SYS@fonpetd> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
[oracle@bddesarrollo prueba_restauracion]$  .oa oraenv}
ORACLE_SID = [fonpetd] ? *AS   +as  ASM
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ cd +DG_FRA/fonpetp/onlinelog/redo01b.rdo
-bash: cd: +DG_FRA/fonpetp/onlinelog/: No such file or directory
[oracle@bddesarrollo prueba_restauracion]$ ls -lasmcmd
ASMCMD> cd +DG_FRA/fonpetp/onlinelog/
ASMCMD> ls -lr
WARNING:option 'r' is deprecated for 'ls'
please use 'reverse'
Type       Redund  Striped  Time             Sys  Name
                                             N    redo03b.rdo => +DG_FRA/FONPETD/ONLINELOG/group_3.707.864215385
                                             N    redo02b.rdo => +DG_FRA/FONPETD/ONLINELOG/group_2.706.864215383
                                             N    redo01b.rdo => +DG_FRA/FONPETD/ONLINELOG/group_1.705.864215383
ASMCMD> rm    ls l-  -l
Type       Redund  Striped  Time             Sys  Name
                                             N    redo01b.rdo => +DG_FRA/FONPETD/ONLINELOG/group_1.705.864215383
                                             N    redo02b.rdo => +DG_FRA/FONPETD/ONLINELOG/group_2.706.864215383
                                             N    redo03b.rdo => +DG_FRA/FONPETD/ONLINELOG/group_3.707.864215385
ASMCMD> rm redo*
You may delete multiple files and/or directories.
Are you sure? (y/n) y
ASMCMD> exit
[oracle@bddesarrollo prueba_restauracion]$ . oraenv
ORACLE_SID = [+ASM] ? fonped   petd
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@bddesarrollo prueba_restauracion]$ rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 13:01:35 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database (not started)
RMAN> alter database mount;
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 11/21/2014 13:01:42
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
RMAN> startup mount;
Oracle instance started
database mounted
Total System Global Area    1402982400 bytes
Fixed Size                     2228304 bytes
Variable Size               1073745840 bytes
Database Buffers             318767104 bytes
Redo Buffers                   8241152 bytes
RMAN> list backup of archivelog all;

List of Backup Sets
===================

BS Key  Size       Device Type Elapsed Time Completion Time   
------- ---------- ----------- ------------ -------------------
2043    13.91M     DISK        00:00:00     05/11/2014 21:33:45
        BP Key: 2046   Status: AVAILABLE  Compressed: NO  Tag: TAG20141105T213317
        Piece Name: /u02/backup/rman/prueba_restauracion/archivelog_FONPETP_2spmskhp_1_1_20141105.bak
  List of Archived Logs in backup set 2043
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  1    8884    110575832  05/11/2014 20:00:09 110586010  05/11/2014 21:33:15
RMAN> recover database until logeq 8884 5;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "scn, sequence, time"
RMAN-01008: the bad identifier was: logeq
RMAN-01007: at line 1 column 24 file: standard input
RMAN> recover database until logseq 8885;
Starting recover at 21/11/2014 13:02:37
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=8 device type=DISK
starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=8884
channel ORA_DISK_1: reading from backup piece /u02/backup/rman/prueba_restauracion/archivelog_FONPETP_2spmskhp_1_1_20141105.bak
channel ORA_DISK_1: piece handle=/u02/backup/rman/prueba_restauracion/archivelog_FONPETP_2spmskhp_1_1_20141105.bak tag=TAG20141105T213317
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=+DG_FRA/fonpetp/archivelog/2014_11_21/thread_1_seq_8884.707.864219759 thread=1 sequence=8884
channel default: deleting archived log(s)
archived log file name=+DG_FRA/fonpetp/archivelog/2014_11_21/thread_1_seq_8884.707.864219759 RECID=27540 STAMP=864219759
media recovery complete, elapsed time: 00:00:03
Finished recover at 21/11/2014 13:02:43
RMAN> alter database open resetlogs;
database opened
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ rman target /. oraenvrman target /sqlplus / as ssdbaysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 13:05:37 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
SYS@fonpetd> select name, dbid, statos    s us                          
SYS@fonpetd>
SYS@fonpetd> ^[[A^[[A        exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
[oracle@bddesarrollo prueba_restauracion]$ sqlplus / as sysdbarman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 13:06:01 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: FONPETP (DBID=2150325182)
RMAN> sql 'select name, dbid  , open_mode rom v     from v$database';
using target database control file instead of recovery catalog
sql statement: select name, dbid, open_mode from v$database
RMAN> exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ rman target /sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 13:06:40 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
SYS@fonpetd> select name, dbid, open_mode from v$database;
NAMEDBID OPEN_MODE
--------- ---------- --------------------
FONPETP   2150325182 READ WRITE
SYS@fonpetd> altr syste set    m set               shu   shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@fonpetd> startup mount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
Database mounted.
SYS@fonpetd> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
[oracle@bddesarrollo prueba_restauracion]$ dbnewid
-bash: dbnewid: command not found
[oracle@bddesarrollo prueba_restauracion]$ dbnewidnid
DBNEWID: Release 11.2.0.3.0 - Production on Fri Nov 21 13:07:56 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
Keyword     Description                    (Default)
----------------------------------------------------
TARGET      Username/Password              (NONE)
DBNAME      New database name              (NONE)
LOGFILE     Output Log                     (NONE)
REVERT      Revert failed change           NO
SETNAME     Set a new database name only   NO
APPEND      Append to output log           NO
HELP        Displays these messages        NO
[oracle@bddesarrollo prueba_restauracion]$ nid TARGET=7/ as sysda DBNAME=FONPED
DBNEWID: Release 11.2.0.3.0 - Production on Fri Nov 21 13:08:15 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
Connected to database FONPETP (DBID=2150325182)
Connected to server version 11.2.0
Control Files in database:
    +DG_DATA/fonpetd/controlfile/control01.ctl
    +DG_FRA/fonpetd/controlfile/control02.ctl
Change database ID and database name FONPETP to FONPED? (Y/[N]) => y Y
Proceeding with operation
Changing database ID from 2150325182 to 2659586623
Changing database name from FONPETP to FONPED
    Control File +DG_DATA/fonpetd/controlfile/control01.ctl - modified
    Control File +DG_FRA/fonpetd/controlfile/control02.ctl - modified
    Datafile +DG_DATA/fonpetp/datafile/system01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/sysaux01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/undotbs101.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/users01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_movim_01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_param.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_movim.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_movim_reorg0.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_param.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_movim_01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_movim_02.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_movim_02.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_rep.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_movim.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_movim_2.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/tempfile/temp01.db - dbid changed, wrote new name
    Control File +DG_DATA/fonpetd/controlfile/control01.ctl - dbid changed, wrote new name
    Control File +DG_FRA/fonpetd/controlfile/control02.ctl - dbid changed, wrote new name
    Instance shut down
Database name changed to FONPED.
Modify parameter file and generate a new password file before restarting.
Database ID for database FONPED changed to 2659586623.
All previous backups and archived redo logs for this database are unusable.
Database is not aware of previous backups and archived logs in Recovery Area.
Database has been shutdown, open database with RESETLOGS option.
Succesfully changed database name and ID.
DBNEWID - Completed succesfully.
[oracle@bddesarrollo prueba_restauracion]$ nid TARGET=/ DBNAME=FONPEDnid TARGET=/ DBNAME=FONPEDtDDTD
DBNEWID: Release 11.2.0.3.0 - Production on Fri Nov 21 13:09:09 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

NID-00106: LOGIN to target database failed with Oracle error:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0

Change of database name failed during validation - database is intact.
DBNEWID - Completed with validation errors.
[oracle@bddesarrollo prueba_restauracion]$ .sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 13:09:18 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to an idle instance.
SYS@fonpetd> startup mount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
ORA-01103: database name 'FONPED' in control file is not 'FONPETP'

SYS@fonpetd> show parameter dba_name
SYS@fonpetd> show mara   p  parameter db_name
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name      string FONPETP
SYS@fonpetd> shw     show parameter              ^[[A    alter       exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
[oracle@bddesarrollo prueba_restauracion]$ rmarrman rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Fri Nov 21 13:10:46 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: FONPETP (not mounted)
RMAN> list incart nation of database;
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of list command at 11/21/2014 13:10:51
ORA-01507: database not mounted
RMAN> alter       exit

Recovery Manager complete.
[oracle@bddesarrollo prueba_restauracion]$ salter system setrman target /sqlplus / as sysdbanid TARGET=/ DBNAME=FONPETDsqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 13:11:07 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
SYS@fonpetd> altersytem set            system set dbn _name=^[[5~       'FONPED. '
  2 
SYS@fonpetd> shu abort;
ORACLE instance shut down.
SYS@fonpetd> start     startuu p nomount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
SYS@fonpetd> alter system set db_name='FONPED'
  2  scope=spfile;
System altered.
SYS@fonpetd> shu abort;
ORACLE instance shut down.
SYS@fonpetd> startup nomoun      mount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
Database mounted.
SYS@fonpetd> alter database open resetlogs;
Database altered.
SYS@fonpetd> shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@fonpetd> startup mount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
Database mounted.
SYS@fonpetd> alter       exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management option
[oracle@bddesarrollo prueba_restauracion]$ sqlplus / as sysdbarman target /sqlplus / as sysdbanid TARGET=/ DBNAME=FONPETD
DBNEWID: Release 11.2.0.3.0 - Production on Fri Nov 21 13:14:32 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
Connected to database FONPED (DBID=2659586623)
Connected to server version 11.2.0
Control Files in database:
    +DG_DATA/fonpetd/controlfile/control01.ctl
    +DG_FRA/fonpetd/controlfile/control02.ctl
Change database ID and database name FONPED to FONPETD? (Y/[N]) => y
Proceeding with operation
Changing database ID from 2659586623 to 1247841337
Changing database name from FONPED to FONPETD
    Control File +DG_DATA/fonpetd/controlfile/control01.ctl - modified
    Control File +DG_FRA/fonpetd/controlfile/control02.ctl - modified
    Datafile +DG_DATA/fonpetp/datafile/system01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/sysaux01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/undotbs101.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/users01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_movim_01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_param.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_movim.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_movim_reorg0.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_param.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_movim_01.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/indic_fonpet_movim_02.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_movim_02.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_rep.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_movim.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/datafile/ts_fonpet_movim_2.db - dbid changed, wrote new name
    Datafile +DG_DATA/fonpetp/tempfile/temp01.db - dbid changed, wrote new name
    Control File +DG_DATA/fonpetd/controlfile/control01.ctl - dbid changed, wrote new name
    Control File +DG_FRA/fonpetd/controlfile/control02.ctl - dbid changed, wrote new name
    Instance shut down
Database name changed to FONPETD.
Modify parameter file and generate a new password file before restarting.
Database ID for database FONPETD changed to 1247841337.
All previous backups and archived redo logs for this database are unusable.
Database is not aware of previous backups and archived logs in Recovery Area.
Database has been shutdown, open database with RESETLOGS option.
Succesfully changed database name and ID.
DBNEWID - Completed succesfully.
[oracle@bddesarrollo prueba_restauracion]$ orapwd file?=$ORACLE_HOME /NETnet/u01/app/oracle/product/11.2.0/dbhome_1/network/dbs/pwdf/orapwfonpetd passwoforce=Y password?0=Nuevuevo123 entries?=43
[oracle@bddesarrollo prueba_restauracion]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 21 13:15:46 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to an idle instance.
SYS@fonpetd> startup nomount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
SYS@fonpetd> alter       show parameter db_bame    name
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name      string FONPED
SYS@fonpetd> alter syte set                alter database mount;
alter database mount
*
ERROR at line 1:
ORA-01103: database name 'FONPETD' in control file is not 'FONPED'

SYS@fonpetd> a alter syste se   mt    set db_name=FON   'FONPETD' soc  cope? =spfile;
System altered.
SYS@fonpetd> shu   s shu a i¿       shu abort;
ORACLE instance shut down.
SYS@fonpetd> startup mount;
ORACLE instance started.
Total System Global Area 1402982400 bytes
Fixed Size    2228304 bytes
Variable Size 1073745840 bytes
Database Buffers  318767104 bytes
Redo Buffers    8241152 bytes
Database mounted.
SYS@fonpetd> alter database open s resetlogs;
Database altered.
SYS@fonpetd>

lunes, 10 de noviembre de 2014

How I Simplified Oracle Database 12c and 11g Installations on Oracle Linux 6

How I Simplified Oracle Database 12c and 11g Installations on Oracle Linux 6

by Ginny Henningsen; updated by Michele Casey

rpm --import http://oss.oracle.com/ol6/RPM-GPG-KEY-Oracle

yum install kmod-oracleasm

How to simplify the installation of Oracle Database 12c or 11g on Oracle Linux 6 by installing the oracle-rdbms-server-12cR1-preinstall or oracle-rdbms-server-11gR2-preinstall RPM package, which automatically performs a number of tasks, such as installing required software packages, resolving package dependencies, and modifying kernel parameters.



Published September 2012 (updated July 2013)


Introducing the oracle-rdbms-server-12cR1-preinstall and oracle-rdbms-server-11gR2-preinstall RPM for Oracle Linux

Before installing Oracle Database 12c or 11g on a system, you need to preconfigure the operating environment since the database requires certain software packages, package versions, and tweaks to kernel parameters. (Be sure to review the appropriate Oracle Database installation guide to familiarize yourself with hardware, software, and operating system requirements.)
Want to comment on this article? Post the link on Facebook's OTN Garage page.  Have a similar article to share? Bring it up on Facebook or Twitter and let's discuss.
Note: This article applies to Oracle Linux 6. A previous article, "How I Simplified Oracle Database Installation on Oracle Linux," covered performing a similar task on versions of Oracle Linux 5.
On Oracle Linux, I discovered that there is a remarkably easy way to address these installation prerequisites: First, depending on your database version, install either the RPM package called oracle-rdbms-server-12cR1-preinstall or oracle-rdbms-server-11gR2-preinstall. This RPM performs a number of preconfiguration steps, including the following:
  • Automatically downloading and installing any additional software packages and specific package versions needed for installing Oracle Grid Infrastructure and Oracle Database 12 c Release 1 (12.1) or 11g Release 2 (11.2.0.3), with package dependencies resolved via yum or up2date capabilities.
  • Creating the user oracle and the groups oinstall (for OraInventory) and dba (for OSDBA), which are used during database installation. (For security purposes, this user has no password by default and cannot log in remotely. To enable remote login, please set a password using the passwd tool.)
  • Modifying kernel parameters in /etc/sysctl.conf to change settings for shared memory, semaphores, the maximum number of file descriptors, and so on.
  • Setting hard and soft shell resource limits in /etc/security/limits.conf, such as the locked-in memory address space, the number of open files, the number of processes, and core file size.
  • Setting numa=off in the kernel for x86_64 machines.
Note that oracle-rdbms-server-12cR1-preinstall and oracle-rdbms-server-11gR2-preinstall parses the existing /etc/sysctl.conf and /etc/security/limits.conf files and updates values only as needed for database installation. Any precustomized settings not related to database installation are left as is.
The oracle-rdbms-server-12cR1-preinstall and oracle-rdbms-server-11gR2-preinstall RPM packages are accessible through the Oracle Unbreakable Linux Network (ULN, which requires a support contract), from the Oracle Linux distribution media, or from the Oracle public yum repository. Thus, whether or not your system is registered with ULN to access Oracle patches and support, you can use oracle-rdbms-server-12cR1-preinstall and oracle-rdbms-server-11gR2-preinstall to simplify database installation on Oracle Linux. In addition, the Oracle public yum repository now includes all security and bug errata, ensuring systems are secured and stable with the latest security updates and bug fixes.

Installing the oracle-rdbms-server-12cR1-preinstall or oracle-rdbms-server-11gR2-preinstall RPM

The remainder of this article steps through the procedure that I used for installing oracle-rdbms-server-11gR2-preinstall on Oracle Linux via the Oracle public yum repository. The same steps outlined in the following section can be used for either version of the preinstall RPM package. I started with a system running Oracle Linux Release 6 Update 4 for x86_64, a 64-bit version of Oracle Linux that I downloaded from the Oracle software delivery cloud (requires registration or login). First, I set up a yum configuration file that pointed to the correct repository, and then I installed the oracle-rdbms-server-11gR2-preinstall RPM from that repository.
Here are the steps for preconfiguring a system for Oracle Database installation using oracle-rdbms-server-11gR2-preinstall. Remember, the steps are the same when using the oracle-rdbms-server-12cR1-preinstall package; you simply need to change the name of the RPM package during the yum installation step.
  1. As an authorized user (for example, root), retrieve the file that configures repository locations:

    # cd /etc/yum.repos.d
    
    # wget http://public-yum.oracle.com/public-yum-ol6.repo
    
    
  2. Using a text editor, modify the file, changing the field enabled=0 to enabled=1 to reflect repositories that correspond to the machine's operating system release.

    Here is an excerpt of public-yum-old6.repo with the changed lines in boldface.
    [ol6_latest]
    
    name=Oracle Linux $releasever Latest ($basearch)
    
    baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
    
    gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
    
    gpgcheck=1
    
    enabled=1
    
    
    
    
    
    [ol6_UEK_latest]
    
    name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
    
    baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
    
    gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
    
    gpgcheck=1
    
    enabled=1
    
    

    Because the target system is running Oracle Linux Release 6 Update 4 for x86_64, which installs the Oracle Unbreakable Enterprise Kernel by default, there are two repositories to enable, [ol6_latest] and [ol6_UEK_latest].
  3. Next, install the oracle-rdbms-server-11gR2-preinstall RPM using the yum install command. If you are using Oracle Database 12c, then you would type yum install.

    The output in Listing 1 shows how the installation checks dependencies and then downloads and installs the required packages.
    # yum install oracle-rdbms-server-11gR2-preinstall
    
    Loaded plugins: refresh-packagekit, rhnplugin, security
    
    Setting up Install Process
    
    Resolving Dependencies
    
    --> Running transaction check
    
    ---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el6 will be installed
    
    --> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64
    
    --> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64
    
    --> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64
    
    --> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64
    
    --> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64
    
    --> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64
    
    --> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64
    
    --> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64
    
    --> Running transaction check
    
    ---> Package compat-libcap1.x86_64 0:1.10-1 will be installed
    
    ---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed
    
    ---> Package gcc.x86_64 0:4.4.6-4.el6 will be installed
    
    --> Processing Dependency: cpp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.x86_64
    
    --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
    
    ---> Package gcc-c++.x86_64 0:4.4.6-4.el6 will be installed
    
    --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64
    
    ---> Package glibc-devel.x86_64 0:2.12-1.80.el6_3.4 will be installed
    
    --> Processing Dependency: glibc-headers = 2.12-1.80.el6_3.4 for package: glibc-devel-2.12-1.80.el6_3.4.x86_64
    
    --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.80.el6_3.4.x86_64
    
    ---> Package ksh.x86_64 0:20100621-16.el6 will be installed
    
    ---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed
    
    ---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed
    
    --> Running transaction check
    
    ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
    
    --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
    
    --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
    
    ---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed
    
    ---> Package glibc-headers.x86_64 0:2.12-1.80.el6_3.4 will be installed
    
    --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.80.el6_3.4.x86_64
    
    --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.80.el6_3.4.x86_64
    
    ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
    
    --> Running transaction check
    
    ---> Package kernel-uek-headers.x86_64 0:2.6.32-300.32.1.el6uek will be installed
    
    ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
    
    --> Finished Dependency Resolution
    
    
    
    Dependencies Resolved
    
    
    
    ================================================================================
    
     Package                         Arch   Version                Repository  Size
    
    ================================================================================
    
    Installing:
    
     oracle-rdbms-server-11gR2-preinstall
    
                                     x86_64 1.0-6.el6              ol6_latest  15 k
    
    Installing for dependencies:
    
     cloog-ppl                       x86_64 0.15.7-1.2.el6         ol6_latest  93 k
    
     compat-libcap1                  x86_64 1.10-1                 ol6_latest  17 k
    
     compat-libstdc++-33             x86_64 3.2.3-69.el6           ol6_latest 183 k
    
     cpp                             x86_64 4.4.6-4.el6            ol6_latest 3.7 M
    
     gcc                             x86_64 4.4.6-4.el6            ol6_latest  10 M
    
     gcc-c++                         x86_64 4.4.6-4.el6            ol6_latest 4.7 M
    
     glibc-devel                     x86_64 2.12-1.80.el6_3.4      ol6_latest 970 k
    
     glibc-headers                   x86_64 2.12-1.80.el6_3.4      ol6_latest 600 k
    
     kernel-uek-headers              x86_64 2.6.32-300.32.1.el6uek ol6_latest 713 k
    
     ksh                             x86_64 20100621-16.el6        ol6_latest 684 k
    
     libaio-devel                    x86_64 0.3.107-10.el6         ol6_latest  13 k
    
     libstdc++-devel                 x86_64 4.4.6-4.el6            ol6_latest 1.5 M
    
     mpfr                            x86_64 2.4.1-6.el6            ol6_latest 156 k
    
     ppl                             x86_64 0.10.2-11.el6          ol6_latest 1.3 M
    
    
    
    Transaction Summary
    
    ================================================================================
    
    Install      15 Package(s)
    
    
    
    Total download size: 25 M
    
    Installed size: 61 M
    
    Is this ok [y/N]: Downloading Packages:
    
    --------------------------------------------------------------------------------
    
    Total                                           710 kB/s |  25 MB     00:35     
    
    Running rpm_check_debug
    
    Running Transaction Test
    
    Transaction Test Succeeded
    
    Running Transaction
    
    
    
      Installing : mpfr-2.4.1-6.el6.x86_64                                     1/15 
    
      Installing : libstdc++-devel-4.4.6-4.el6.x86_64                          2/15 
    
      Installing : cpp-4.4.6-4.el6.x86_64                                      3/15 
    
      Installing : ppl-0.10.2-11.el6.x86_64                                    4/15 
    
      Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                             5/15 
    
      Installing : kernel-uek-headers-2.6.32-300.32.1.el6uek.x86_64            6/15 
    
      Installing : glibc-headers-2.12-1.80.el6_3.4.x86_64                      7/15 
    
      Installing : glibc-devel-2.12-1.80.el6_3.4.x86_64                        8/15 
    
      Installing : gcc-4.4.6-4.el6.x86_64                                      9/15 
    
      Installing : gcc-c++-4.4.6-4.el6.x86_64                                 10/15 
    
      Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64                    11/15 
    
      Installing : libaio-devel-0.3.107-10.el6.x86_64                         12/15 
    
      Installing : ksh-20100621-16.el6.x86_64                                 13/15 
    
      Installing : compat-libcap1-1.10-1.x86_64                               14/15 
    
    
    
      Installing : oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64      15/15 
    
      Verifying  : gcc-4.4.6-4.el6.x86_64                                      1/15
    
      Verifying  : compat-libcap1-1.10-1.x86_64                                2/15 
    
      Verifying  : ksh-20100621-16.el6.x86_64                                  3/15 
    
      Verifying  : glibc-devel-2.12-1.80.el6_3.4.x86_64                        4/15 
    
      Verifying  : libaio-devel-0.3.107-10.el6.x86_64                          5/15 
    
      Verifying  : oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64       6/15 
    
      Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                  7/15 
    
      Verifying  : glibc-headers-2.12-1.80.el6_3.4.x86_64                      8/15 
    
      Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                          9/15 
    
      Verifying  : compat-libstdc++-33-3.2.3-69.el6.x86_64                    10/15 
    
      Verifying  : mpfr-2.4.1-6.el6.x86_64                                    11/15 
    
      Verifying  : kernel-uek-headers-2.6.32-300.32.1.el6uek.x86_64           12/15 
    
      Verifying  : cpp-4.4.6-4.el6.x86_64                                     13/15 
    
      Verifying  : ppl-0.10.2-11.el6.x86_64                                   14/15 
    
      Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                            15/15 
    
    
    
    Installed:
    
      oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el6                       
    
    
    
    Dependency Installed:
    
      cloog-ppl.x86_64 0:0.15.7-1.2.el6                                             
    
      compat-libcap1.x86_64 0:1.10-1                                                
    
      compat-libstdc++-33.x86_64 0:3.2.3-69.el6                                     
    
      cpp.x86_64 0:4.4.6-4.el6                                                      
    
      gcc.x86_64 0:4.4.6-4.el6                                                      
    
      gcc-c++.x86_64 0:4.4.6-4.el6                                                  
    
      glibc-devel.x86_64 0:2.12-1.80.el6_3.4                                        
    
      glibc-headers.x86_64 0:2.12-1.80.el6_3.4                                      
    
      kernel-uek-headers.x86_64 0:2.6.32-300.32.1.el6uek                            
    
      ksh.x86_64 0:20100621-16.el6                                                  
    
      libaio-devel.x86_64 0:0.3.107-10.el6                                          
    
      libstdc++-devel.x86_64 0:4.4.6-4.el6                                          
    
      mpfr.x86_64 0:2.4.1-6.el6                                                     
    
      ppl.x86_64 0:0.10.2-11.el6                                                    
    
    
    
    Complete!
    
    
    Listing 1: Installing the oracle-rdbms-server-11gR2-preinstall RPM
    The yum installation logs messages about kernel changes in the file /var/log/oracle-rdbms-server-11gR2-preinstall/results/orakernel.log, and it makes backups of current system settings in the directory /var/log/oracle-rdbms-server-11gR2-preinstall/backup.
  4. At this point, the system is ready for the installation of Oracle Database. For example, to install Oracle Database 11g Release 2, follow the directions in Chapter 4, "Installing Oracle Database," of the Database Installation Guide for Linux."

    Here are the steps I followed while installing Oracle Database 11g Release 2 in my test environment. Make sure you review all documentation and follow recommended best practices before installing into your production environment.
    1. As root, create a parent directory in a file system that has sufficient space to be the target location for the downloaded files:

      # mkdir /home/OraDB11g
      
      # cd /home/OraDB11g
      
      

      The amount of disk space needed in the file system varies according to the specific installation type, but roughly twice the size of the zip archives, or 5 GB, is enough to house the software and data files.
    2. Into this target directory, download the installation media files from the Oracle Database Software Downloads page on Oracle Technology Network.
    3. Extract the files:

      # unzip linux.x64_11gR2_database_1of2.zip
      
      # unzip linux.x64_11gR2_database_2of2.zip 
      
      
    4. Log in as the user oracle. Change directory to the database directory and enter the following command to run the Oracle Universal Installer:

      $ cd /home/OraDB11g/database
      
      $ ./runInstaller 
      
      
    The Oracle Universal Installer performs a number of checks, verifying that the necessary OS packages and versions are installed. In addition, it checks kernel parameters set by the oracle-rdbms-server-11gR2-preinstall installation. During the kernel settings check, the installer might flag a few settings as "failed," and you should investigate these failures. In some cases, you still might be able to continue with the database installation. If you check kernel settings in /etc/sysctl.conf, you'll see that oracle-rdbms-server-11gR2-preinstall has modified and added the necessary settings to ensure the minimum requirements are met, as defined in section 2.10.1, "Displaying and Changing Kernel Parameter Values," in Chapter 2, "Oracle Database Preinstallation Requirements," of the Oracle Database Installation Guide 11g Release2 (11.2) for Linux. Below is the list of requirements:
    fs.aio-max-nr = 1048576
    
    fs.file-max = 6815744
    
    kernel.shmall = 2097152
    
    kernel.shmmax = 4294967295
    
    kernel.shmmni = 4096
    
    kernel.sem = 250 32000 100 128
    
    net.ipv4.ip_local_port_range = 9000 65500
    
    net.core.rmem_default = 262144
    
    net.core.rmem_max = 4194304
    
    net.core.wmem_default = 262144
    
    net.core.wmem_max = 1048576
    
    

    If necessary, you can (as root) edit the file /etc/sysctl.conf to specify a setting manually, for example:
    # vi /etc/sysctl.conf 
    
    # /sbin/sysctl -p
    
    

    The Oracle Universal Installer performs additional checks, such as verifying the glibc version, sufficient disk space, environmental variable and path settings, and sufficient physical memory and swap space. Generally, installing oracle-rdbms-server-11gR2-preinstall takes care of the prerequisites so that you can proceed directly with installing the database.

Final Thoughts

Installing the oracle-rdbms-server-12cR1-preinstall and oracle-rdbms-server-11gR2-preinstall RPMs can save time when installing Oracle Database 12c and 11g on Oracle Linux. These RPMs address most Oracle Database installation prerequisites and greatly simplify the installation process.

See Also

Here are the resources referenced earlier in this document:
And here are some additional resources from the Oracle Database Documentation Library (http://www.oracle.com/pls/db112/homepage). Relevant subsections from the Oracle Database Installation Guide 11g Release 2 (11.2) for Linux (http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/toc.htm) with currently valid URLs are as follows:
Also see the blog entry "Oracle RDBMS Server 11gR2 Pre-Install RPM for Oracle Linux 6 has been released": https://blogs.oracle.com/linux/entry/oracle_rdbms_server_11gr2_pre

About the Authors

Ginny Henningsen has worked for the last 15 years as a freelance writer developing technical collateral and documentation for high-tech companies. Prior to that, Ginny worked for Sun Microsystems, Inc. as a Systems Engineer in King of Prussia, PA and Milwaukee, WI. Ginny has a BA from Carnegie-Mellon University and a MSCS from Villanova University.
Michele Casey is the Director of Product Management for Oracle Linux. She has worked with commercial Linux distributions and open source projects as a product manager since 2006. She has also held positions as a system administrator, project manager, and technical support engineer.
Revision 1.1, 07/09/2013; added information about using the
oracle-rdbms-server-12cR1-preinstall package to install
Oracle Database 12c

viernes, 24 de octubre de 2014

Pensamiento Estratégico y la Gerencia de Proyectos

Pensamiento Estratégico y la Gerencia de Proyectos

Autor: NELSON JAVIER MARTINEZ ACOSTA

Antes de empezar con este corto documento me pregunte como la estrategia y las decisiones que he tomado han hecho parte de mi proyecto de vida. Las metas constituyen la parte más importante, de ahí que las estrategias y decisiones que he tomado en la vida me han llevado a desarrollarme como persona y participar de varios proyectos a nivel personal y empresarial, sin ellas no sabría qué hacer y me impulsan a luchar para alcanzarlas, tener un proyecto de vida requiere de fijarse objetivos claros y alcanzables el “pensamiento estratégico”, puede ser útil para cualquier persona en su vida familiar  empresarial y de negocios, ya que le permite enfrentar los retos de la vida y ayuda a ser más eficaz, ya que se pueden utilizar las fortalezas propias y encontrar el mejor camino para lograr los objetivos.

La siguiente reflexión del CEO de Amazon Jeff Bezos, fundador y gerente general de Amazon.com muestra lo importante de contar con una estrategia y metas claras en su proyecto de vida.

“Cuando tengas 80 años, y en un momento tranquilo de reflexión, narrando sólo para ti la versión más personal de tu historia de vida, el relato que será más conciso y significativo será la serie de elecciones que hayas hecho. Al final, somos nuestras elecciones”.   

 Para definir que es pensamiento estratégico, después de varias  definiciones me decidí por la siguiente:

“El pensamiento estratégico se pueda explicar cómo dar respuestas efectivas, eficaces, eficientes y oportunas a una concreta acción con el objeto de lograr los objetivos planteados”.

Si se enfoca a una organización podría ser “El pensamiento estratégico se pueda explicar cómo dar respuestas efectivas, eficaces, eficientes y oportunas a una concreta acción con el objeto de lograr éxito, satisfacer a los clientes y lograr que una organización cumpla su misión visión.

Las claves del pensamiento estratégico se pueden enmarcar en conocerse a sí mismo, conocer la empresa, conocer la competencia, mis debilidades, fortalezas  el entorno donde se desarrolla la actividad, las amenazas que se pudieran presentar en el futuro en contra de nuestros objetivos.

Con todo lo anterior debemos realizar un plan detallado, que establezca la secuencia de las acciones o actividades, los responsables y el cronograma para su realización, y este se convierte en el origen de un proyecto y es ahí donde entra la gerencia de proyectos ya que se debe realizar un seguimiento y control a los resultados que se esperan para asegurar que vamos por el camino correcto, y en caso contrario, realizar los ajustes o cambios que sean necesarios oportunamente.

Una de las causas de la poca productividad en Colombia quizás sea que no exista una visión a largo plazo y un plan estratégico para desarrollar proyectos generadores de nuevas ideas, el hacer las cosas de manera diferente y dedicarnos a lo que sabemos hacer podría ser el factor determinante para ser competitivos a nivel mundial.

Ahora que puede ser la estrategia “La estrategia  se puede considerar en  hacer las cosas de manera diferente con perspectiva

La siguiente reflexión enseña como ver las cosas de manera diferente que me gustaría compartir y con la cual me identifico y dice: “Este es un homenaje a los locos. A los inadaptados. A los rebeldes. A los alborotadores. A las fichas redondas en los huecos cuadrados. A los que ven las cosas de forma diferente. A ellos no les gustan las reglas, y no sienten ningún respeto. Puedes citarlos, discrepar de ellos, glorificarlos o villanizarlos. Casi lo único que no puedes hacer es ignorarlos. Porque ellos cambian las cosas. Son los que hacen avanzar al género humano. Y aunque algunos los vean como a locos, nosotros vemos su genio. Porque las personas que están lo suficientemente locas como para pensar que pueden cambiar el mundo… son quienes lo cambian”.- Steve Jobs, Think Different (1997)”

La clave del éxito Jobs fue la innovación y las estrategias de mercado que lograron que Apple lograra reinventar productos que ya existían en el mercado haciendo que los consumidores piensen que jamás habían visto algo similar.

Las empresas siempre van a estar en un ambiente abierto y complejo lo que hace que permanentemente estén en un estado de incertidumbre para lo cual se deben adoptar estrategias de conocimiento del entorno para satisfacer las necesidades es ahí donde es importante conocer el objeto, misión y visión de la organización.

En pocas palabras la  misión de una empresa consiste en definir el propósito de la misma y la visión hacia donde queremos estar en un largo plazo, por otro lado es bien importante definir unos objetivos estratégicos con los cuales se puedan determinar los logros a futuro que se desean.

Pensar es una actividad que realizamos todos los días, debemos centrarnos en  pensar de forma estratégica con perspectiva en todas las dimensiones de la empresa como gerentes y en nuestra vida personal quizás debamos preguntarnos lo siguiente, en dónde y cómo estamos ahora, hacia donde vamos o queremos estar, cuales son nuestros objetivos claves y que estrategias podemos hacer para llegar donde queremos estar, conocer la misión y visión a largo plazo, puede ser un buen punto de partida, realizar un análisis de debilidades y oportunidades apoyándonos con herramientas como las matrices DOFA, EFAS, IFAS, ERIC y análisis como PESTEL, PORTER y BCG, nos pueden dar un mapa estratégico del entorno y potencial de la empresa en el cual nos encontramos y proporcionar una orientación hacia donde queremos finalmente estar.

Contar con una estrategia le permitirá a una empresa asegurarse de que las decisiones  corresponden a los intereses a largo plazo. Sin una estrategia, las decisiones tomadas hoy podrían tener un impacto negativo en los resultados futuros de ahí lo importante de definir bien los objetivos estratégicos.

Definir los objetivos estratégicos que la organización  espera lograr, son algunos de los retos que tiene la alta gerencia, para lo cual se deben formular estrategias considerando el entorno interno y externo e identificando que factor diferencial o “know how” se tiene para competir, o si por el contrario nos encontramos en un escenario océano azul en donde nuestra innovación haga que no sea de preocupación nuestra competencia.

El proceso de la formulación estratégica debe considerar los siguientes aspectos (Evaluación de desempeño actual, análisis ambiental, análisis de la industria, análisis de la compañía, análisis FODA, opciones de estrategia, evaluación.

Identificar los ejes estratégicos o planes de acción son decisiones fundamentales para asegurar una mayor eficacia hacia el futuro, la implantación de las diferentes estrategias hace que se desarrollen varias iniciativas en donde generalmente se convierten en proyectos, planes o programas los cuales requieren de un gerente de proyectos para desarrollar y motivar estas iniciativas a todos los niveles de la organización  e interesados y es ahí en donde se requiere el conocimiento del negocio y las habilidades técnicas y de academia para satisfacer la incertidumbre y de esta forma se cumplan las estrategias planteadas.

Con base en la selección de los factores claves del éxito de más alto impacto se realiza el análisis DOFA, que consiste en relacionar oportunidades, amenazas, fortalezas y  debilidades,  preguntándose cómo convertir una amenaza en oportunidad, cómo aprovechar una fortaleza, y cómo anticipar una  amenaza y prevenir el efecto de una debilidad.

Cada proyecto y estrategia genera un producto, servicio único y comprende las siguientes fases o procesos (inicio, planificación, ejecución, monitoreo,  control y cierre), un  gerente de proyectos debe contar con la herramientas que permitan tener un control del (alcance, la calidad, el cronograma, el presupuesto, los recursos y los riesgos) para lo cual debe pensar de forma  estratégica y apoyarse de sistemas de monitoreo los cuales permitan mediante la definición de indicadores determinar cambios o desviaciones en los proyectos y de esta forma determinar si las estrategias planteadas están contribuyendo a alcanzar las metas y objetivos de la organización de manera que se cumplan las expectativas de la alta gerencia, accionistas e interesados.

La responsabilidad como gerentes de proyectos será la de realizar la unión entre las diferentes estrategias adoptadas por la empresa y el equipo de proyecto, de manera que se logre cumplir con los objetivos planeados para lo cual el gerente del proyecto debe contar con las siguiente destrezas tales como liderazgo, trabajo en equipo, motivación, comunicación, influencia, toma de decisiones, conocimiento y habilidades de negociación y quizás una de las cualidades más importante “ser buena persona”.

Es necesario que el gerente realice un análisis de los potenciales escenarios o planes de acción para así poder determinar los posibles rumbos y ser partícipe de la selección de la mejor estrategia que la empresa pueda adoptar para colocarla en práctica.

Otra responsabilidad del gerente del proyecto para que se cumplan las estrategias de la empresa sería la de identificar los interesados del proyecto, evaluando sus necesidades y expectativas con una visión a largo plazo, es por eso que se dice que el éxito de una organización se mide por la satisfacción que tengan los grupos de interés, por otro lado se debe conocer los factores ambientales los cuales pueden influir en el desarrollo del proyecto como la estructura distribución geográfica, recurso humano y las condiciones del mercado.

 El gerente de proyectos debería definir varias estrategias para cumplir con éxito el desarrollo de un proyecto dentro de las cuales se podrían considerar las siguientes como las más importantes:

ü  Alcance.

ü  Gestionar el trabajo del proyecto.

ü  Controlar el trabajo del proyecto.

ü  Controlar los cambios.

ü  Gestión del tiempo del proyecto.

ü  Gestión de costos del proyecto.

ü  Gestión de calidad del proyecto.

ü  Gestión de recursos humanos.

ü  Gestión de las comunicaciones.

ü  Gestión de riesgos.

ü  Gestión de adquisiciones.

ü  Gestión de interesados.


El desempeño global de la empresa, por lo general se mide con los volúmenes de ventas, volúmenes de producción, gastos, costos, utilidades, utilización del capital, retorno sobre la inversión, El balance de ganancias y pérdidas ofrece una visión resumida de la situación de la empresa en un determinado periodo. Al comparar los balances de los periodos anteriores, se pueden verificar las variaciones y detectar las áreas que necesitan mayor atención por parte de la administración esta información es útil para el gerente para definir las estrategias.



El análisis de ROI, sirve para que la empresa evalúe sus diferentes líneas de productos e identifique en donde está siendo empleado el capital con mayor eficiencia, esto permite identificar los productos más rentables para la organización, así como mejorar los otros que están aportando negativamente información que es de vital importancia para definir los planes de acción.



Utilizar herramientas como el Balanced scorecard permiten contar con un sistema de control estratégico el cual utiliza indicadores de desempeño claves en la organización, estos se construyen balanceados en Costo, Calidad y Tiempo los cuales permiten monitorear el cumplimiento de los objetivos estratégicos.



 Existe un mensaje y una lección de vida que nos deja Steve Jobs acerca del pensamiento estratégico y de ver las cosas de manera “diferente” que me gustaría compartir.

“Discurso Steve Jobs en la ceremonia de graduación en la Universidad de Stanford, 2005”

Pensar que estaré muerto pronto es la herramienta más importante que he tenido, pues me ha ayudado a tomar las grandes decisiones de mi vida.

Casi todo las expectativas externas, todo el orgullo, todo el miedo a hacer el ridículo o a fracasar desaparece de cara a la muerte y queda lo que es realmente importante.

Recordar que vas a morir es la mejor manera que hay para evitar caer en la trampa de pensar que tienes algo que perder.

Ya estás desnudo. No hay razón para no seguir tu corazón.

Tu tiempo es limitado. No lo desperdicies viviendo la vida de otra persona.

No te dejes atrapar por el dogma de vivir con lo que resulta de los pensamientos y las ideas de otros.

No permitas que el ruido de las opiniones de los otros silencie tu voz interior.

Tu trabajo va a llenar gran parte de tu vida y la única forma de estar realmente satisfecho es hacer lo que consideras es un gran trabajo.

La única forma de hacer un gran trabajo es amar lo que haces.

Si no lo has encontrado aún, sigue buscando. No te conformes.

Como todo lo que tiene que ver con el corazón, te darás cuenta cuando lo encuentres.

Así como sucede con cualquier relación trascendente, se pone mejor y mejor con el paso de los años.

Sigue buscando hasta que lo encuentres. No te detengas.

Conclusión

Pensar con perspectiva y de forma diferente hace avanzar al género humano en busca de respuestas el “pensamiento estratégico” muestra todas las dimensiones de una empresa, para lograr todos los retos que tiene la alta gerencia se debe identificar los ejes estratégicos y posteriormente definir unos planes de acción, la responsabilidad como gerentes de proyectos será la de realizar la unión entre las diferentes estrategias adoptadas por la empresa y el equipo de proyecto, de manera que se logre cumplir con los objetivos planeados en cuanto alcance calidad, tiempo y presupuesto.




jueves, 16 de octubre de 2014

Estadisticas db_writer


 An example report that pulls the DBWR related statistics from the v$sysstat, v$waitstat, and v$buffer_pool_statistics views
 
rem dbwr_stat.sql
rem mike ault - 11/09/01 created
rem
col name format a46 heading 'dbwr statistic'
col value format 9,999,999,999 heading 'statistic value'
set pages 40
select a.name,a.value
from  (select name, value from v$sysstat
       where name not like '%redo%' and name not like '%remote%') a
where (a.name like 'dbwr%' or a.name like '%buffer%'
       or a.name like '%write%' or a.name like '%summed%')
union
select class name, count value from v$waitstat
where class='data block'
union
select name||' '||to_char(block_size/1024)||'k hit ratio',
  round(((1 - (physical_reads / (db_block_gets + consistent_gets))) * 100),3)
value
from v$buffer_pool_statistics
union
select name||' '||to_char(block_size/1024)||'k free buffer wait',free_buffer_wait
value
from v$buffer_pool_statistics
union
select name||' '||to_char(block_size/1024)||'k buffer busy wait',buffer_busy_wait
value
from v$buffer_pool_statistics
union
select name||' '||to_char(block_size/1024)||'k write complete
wait',write_complete_wait value
from v$buffer_pool_statistics
/
spool off
DBWR Statistic                                 Statistic Value
---------------------------------------------- ---------------
DBWR buffers scanned                                         0
DBWR checkpoint buffers written                          2,601
DBWR checkpoints                                            18
DBWR cross instance writes                                   0
DBWR free buffers found                                      0
DBWR fusion writes                                           0
DBWR lru scans                                               0
DBWR make free requests                                      0
DBWR revisited being-written buffer                          0
DBWR summed scan depth                                       0
DBWR transaction table writes                               95
DBWR undo block writes                                   1,156
DEFAULT 2K buffer busy wait                                  0
DEFAULT 2K free buffer wait                                  0
DEFAULT 2K hit ratio                                        98
DEFAULT 2K write complete wait                               0
DEFAULT 8K buffer busy wait                                  3
DEFAULT 8K free buffer wait                                  0
DEFAULT 8K hit ratio                                        99
DEFAULT 8K write complete wait                               0
buffer is not pinned count                             570,196
buffer is pinned count                                 392,710
change write time                                          340
commit cleanout failures: buffer being written               0
commit cleanout failures: write disabled                     0
data block                                                   3
dirty buffers inspected                                      0
free buffer inspected                                        0
free buffer requested                                    5,054
hot buffers moved to head of LRU                             0
no buffer to keep pinned count                         208,657
physical writes                                          4,792
physical writes direct                                   2,056
physical writes direct (lob)                                 0
physical writes non checkpoint                           3,476
pinned buffers inspected                                     0
summed dirty queue length                                  122
switch current to new buffer                               219
write clones created in background                           4
write clones created in foreground                           7
 
The most import of these DBWR metrics includes:
  • DBWR checkpoints. Number of checkpoint requests sent to DBWR since startup.
  • DBWR buffers scanned. Number of DB buffers scanned since startup.
  • Summed dirty queue length. Length of the dirty buffer queue. If this gets over 50, Oracle says to add DB_WRITER_PROCESSES.
  • Physical writes. Number of physical writes performed by the DBWR. If this is high, then there may be insufficient buffers allocated. (increase db_cache_size)
  • Data block. A statistic harvested from the v$waitstat table; shows if there are any data block waits occurring. Excessive data block waits when the hit ratio is high can indicate need for more DBWR processes.
  • DEFAULT 8K hit ratio   - A hit ratio will be calculated for each buffer pool and each separate block size in the default pool. Generally speaking, high hit ratios are desirable, low are not; but hit ratio is not the end-all/be-all statistics for buffer health.
  • Waits. Various waits will be reported for all pools and all areas of the default buffer with different block sizes. Pay attention to waits that deal with writes; if write-type waits are excessive, then more DBWR processes are in order. Buffer busy waits may indicate a need for more buffers.
Also, note that the DBWR undo block writes Oracle metric is the number of transaction table blocks written by DBWR. It is an indication of how many "hot" buffers were written, leading to write complete waits.
 There is no need to modify the DBWR internal batch size, and the write size depends on the number of dirty blocks to be written, and is tempered with the maximum number of writes (which is operating system-specific).
 In a nutshell, DBWR tuning involves monitoring for free buffer waits and adjusting the db_writers parameter to accommodate peak DML periods.

miércoles, 8 de octubre de 2014

15 herramientas Open Source Windows

El repaso a estas herramientas no es demasiado extenso, pero sí permite conocer qué prestaciones ofrece cada solución y en qué tipo de escenario se puede aplicar su utilización. Tal y como revelan allí, esas 15 herramientas Open Source para administradores de sistemas Windows son las siguientes:
  1. Wireshark: la aplicación perfecta para analizar el tráfico de red y saber si todo va bien en la infraestructura de comunicaciones.
  2. AMANDA: esta aplicación permite establecer un servidor maestro de copias de seguridad que da soporte tanto a servidores como a puestos de trabajo con Windows, y que permite realizar esas copias a todo tipo de medios.
  3. MailArchiva: si aún usáis Exchange 200/2003, esta aplicación permitirá realizar las útiles tareas de archivado de correos electrónicos, algo importante de cara a cumplir con la regulación existente. Y como era de esperar, también es compatible con otros servidores de correo como Postfix, Sendmail, Qmail, iMail o Lotus Notes.
  4. Exchange 2010 RBAC Manager: este gestor permite solventar la carencia de trabajar con la administración basada en roles de Exchange, y hace uso de PowerShell para ofrecer todas sus prestaciones.
  5. Core Configurator 2.0 for Server Core: Esta herramienta gratuita y de libre distribución ofrece un entorno de configuración perfecto para servidores Windows Server 2008/R2.
  6. AutoSPInstaller for SharePoint 2010: cualquiera que haya instalado SharePoint sabe que las bases de datos SQL creadas son bastante confusas, pero con AutoSPInstaller los nombres de las bases de datos se clarifican y la gestión se hace de forma más sencilla y cómoda.
  7. OCS Inventory: si necesitas una herramienta que permita localizar todos los dispositivos conectados a tu red y qué software y hardware existe en tu sistema, esta aplicación es la adecuada.
  8. UltraDefrag: Esta herramienta para Windows permite realizar defragmentación de sistemas de ficheros, registros e incluso el archivo de paginación.
  9. Nmap para Windows: proviene del mundo Unix, pero Nmap se ha convertido en un recurso imprescindible para monitorizar la seguridad en Windows en los últimos 10 años. Esta herramienta mapea la red y escanea la seguridad de la misma, pero también permite realizar un inventario de red o gestionar las actualizaciones de los servicios.
  10. Zenmap: esta solución trabaja de forma separada a Nmap, y ofrece una visualización animada de los anfitriones de red que están configurados en anillos. Con Zenmap se pueden descubrir de forma más sencilla vulnerabilidades potenciales que permite configurar nuestros routers y firewalls de forma más acertada y precisa.
  11. PowerGUI:  PowerShell es una de las herramientas más potentes de los servidores Windows, pero si preferís trabajar con interfaces visuales PowerGUI ofrece una interfaz gráfica y un editor de scripts para el potente PowerShell.
  12. Performance Analysis of Logs (PAL): esta herramienta Open Source ayuda a estudiar los monitores de rendimiento y los analiza ofreciendo datos diferenciales que permiten detectar posibles fallos y conflictos en nuestros sistemas.
  13. ClamWin Antivirus: aunque hay diversas soluciones en el campo de las soluciones antivirus Open Source, ClamWin es sin duda un referente que permite por ejemplo establecer horas programadas para los escaneos de nuestros sistemas.
  14. VirtualRouter: esta herramienta convierte a cualquier sistema Windows 7 o Windows Server 2008 R2 en un hotspot WiFi, lo que permite a los usuarios compartir de forma inalámbrica cualquier conexión a Internet.
  15. VirtualBox: otra de las aplicaciones casi obligatorias para los administradores de sistemas, que permite una potente virtualización para la creación de máquinas virtuales compatibles con casi cualquier sistema operativo del mercado.


lunes, 6 de octubre de 2014

Crashing y el Fast Tracking

 Crashing y el Fast Tracking
 El Crashing consiste en asignar más recursos a las tareas, si un recurso tarda 8 horas en realizar una tarea, ¿cuanto tardarán 2 recursos? si los proyectos fuesen como las matemáticas la respuesta sería 4, pero no siempre es así, depende del tipo de tarea que sea y de los recursos que estemos utilizando, imaginar que solo disponemos de un PC con un determinado software para realizar una tarea, aunque tengamos dos personas que sepan utilizar ese software, no podemos asignar dos personas a esa tarea ya que estamos limitados por el PC+Software.
 El Fast Tracking consiste en la paralelización de tareas, es decir tareas que inicialmente eran secuenciales, pasan a realizarse en paralelo, de esta forma se comprime la planificación. El Fast Tracking conlleva un riesgo ya que estamos adelantando tareas que no debería comenzar antes de que finalizasen otras, si es necesario acelerar fechas no tendremos más remedio que sumir el riesgo.
 A la hora de acelerar el cronograma debemos aplicar mucho sentido común y tener en cuenta la limitación de los recursos. Las planificaciones lo aguantan todo, la ejecución ya es otra cosa...
 Los recursos adicionales pueden provenir de dentro del equipo del proyecto, o pueden ser contratados temporalmente fuera del equipo. Uno de los objetivos del “crashing” es reducir al mínimo el costo incremental. En la teoría se ven los ejemplos clásicos de cómo acortar la duración de un cronograma haciendo crashing sobre las actividades menos costosas del camino crítico. Sin embargo, a cambio de completar el trabajo antes de lo previsto, el crashing conduce siempre a costos incrementales adicionales al proyecto. Si el proyecto lo puede aceptar o puede ser trasladado al cliente, el crashing es una opción muy viable.

A comparación del Fast-Tracking sólo es posible si las actividades a colocar en paralelo pueden ser solapadas (técnica o lógicamente), en el caso de Crashing es necesario tener en cuenta la ley de recursos decrecientes o Ley de Brooks donde no siempre agregar recursos a una tarea atrasada hace que está pueda ser acortada.

Cualquier persona con cierta experiencia en manejo de proyectos sabe que existen una variedad de factores que pueden mover la fecha límite del mismo. No es raro encontrarnos que algunas de las actividades son más difíciles de lo que habíamos previsto, o que es necesario poner recursos más experimentados en alguna tarea. Muchas veces descubrimos que las tareas fueron mal estimadas. Como Project Manager, si usted descubre que existe un retraso en el cronograma que puede poner en riesgo la fecha límite, su primera obligación es tratar de determinar la causa. Si se empeña en buscar “remedios” para paliar rápidamente el problema sin saber la causa, la situación probablemente se repetirá. La segunda obligación es tratar de hacer las correcciones necesarias para que el proyecto vuelva a su curso normal, utilizando las técnicas más apropiadas, pero tenga en cuenta que hacia el final del proyecto, las opciones se van reduciendo.