Sie sind auf Seite 1von 12

1.

Logon to server as Oracle


"2. FYI Step Only: Run traceroute to the desired DDBoost device to determine if
it has connectivity to the desired data domain device. Routing should be done th
rough the node's backup ip address. If the traceroute does not show successful
routing to the device (will attempt 30 hops) or does not route through the backu
p network, a static route on the backup network for the node(s) will need to be
created by the Unix / Linux team. This static route needs to be set up so that i
t survives a server reboot. Confirmation of the routing configuration should com
e from the TSM / Unix / Linux teams.
Example from nzapdb65 shows two hops to reach destination:
nzapdb65 > traceroute ndc-dd0201-rp1.nndc.kp.org
trying to get source for ndc-dd0201-rp1.nndc.kp.org
source should be 172.19.105.51
traceroute to ndc-dd0201-rp1.nndc.kp.org (172.19.71.92) from 172.19.105.51 (172.
19.105.51), 30 hops max
outgoing MTU = 1500
1 172.19.105.3 (172.19.105.3) 5 ms 0 ms 1 ms
2 ndc-dd0201-rp1.nndc.kp.org (172.19.71.92) 0 ms 0 ms 0 ms
"
3. Use $ORACLE_BASE (ie. /u01/app/oraprd) as the base directory for the ddboost
software installation. This will need less than 100Mb of space. Verify that ther
e is sufficient space in the file system. If not, request additional space
"4. As oracle, install the ddboost software. The tar'd software installation fil
e can be found in the IBM DBA software repository (/u01/software) on the admin s
erver (nzspdb13).
? cd $ORACLE_BASE
? mkdir ddboost; chmod 755 ddboost
? cd ddboost
? mkdir lib config
? ftp the ddboost software from the repository (nzspdb13:/u01/software/ddboost)
to $ORACLE_BASE/ddboost (choose correct OS and desired version)
? extract the ddboost software in $ORACLE_BASE/ddboost (tar -xvpf RMAN_1.3.0.0-4
52710_RMAN_aix_64.tar)
? export ORACLE_HOME=$ORACLE_BASE/ddboost
? ./install.sh (If you have trouble running this, open the script file and verif
y the very first line which points to the name and location of the shell used. A
djust as needed
"
"5. For each distinct ORACLE_HOME location:
? cd $ORACLE_HOME/lib
? ln -s $ORACLE_BASE/ddboost/lib/libddobk.so .
? ln -s $ORACLE_BASE/ddboost/lib/libDDBoost.so .
"
"6. Run a ONE-TIME configuration command for the server's ddboost connection. If
the ddboost configuration parameters (username, password, or servername) change
for the target data domain server, the configuration command will have to be ru
n again with the new values. This command can be run for multiple data domain ta
rgets. The result of this command appends (or creates) a ddboost configuration f
ile in /ddboost/config/ddboost.config.
cd $ORACLE_BASE/dba/rman/config_scripts
rman /
@set_ddboost.rman
Example contents of set_ddboost.rman (use correct password ddboost directory loc
ation):

run
{ ALLOCATE CHANNEL c1 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=ora-ndc0201-bdc8695, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOM
E=/u01/app/oraprd/ddboost)';
send 'set username ddboost password xxx servername ndc-dd0201-rp1.bcdc.kp.org';
RELEASE CHANNEL c1;
}
Example output:
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=93 instance=rmandbp1 device type=SBT_TAPE
channel c1: Data Domain Boost API
sent command to channel: c1
released channel: c1
"
begin DBA Work
1. Identify the target data domain server (ndc-dd0201.nndc.kp.org)
2. Identify the target data domain storage unit (OPPR-NDC0201-LOCAL)
3 Identify the home directory for the . ddboost software installation. This will
typically be $ORACLE_BASE/ddboost or /apps/ddboost.
4. Verify connectivity from the database server to the data domain server by ru
nning a traceroute ddserver at the command prompt on the database server. Results
should show successful connectivity over the backup network. Contact the TSM or
Server team to verify the output looks good. If the results are not as expected,
stop this implementation until the issues are fixed. See Appendix A for sample
output.
5. Implement standard RMAN backups if not already done (see implementation docu
ment).
6. Use rman_backup.sh dated Feb 13, 2015 13:44 (EST) or later. This will record
a backup type of ddboost for the daily backup reporting.
7. Configure RMAN parameters (retention 30 days, compression disabled for sbt_t
ape, )
8. Set up new driver scripts in $ORACLE_BASE/dba/tws
9. Set up new rman scripts in $ORACLE_BASE/dba/rman/config_scri pts. DDBoost is
considered a tape backup and the channel allocations will be inside the rman scri
pt (not required, but has been our standard at KP).
10. Set up new parameter files in $ORACLE_BASE/dba/rman/backup_scripts
11. Include ddboost maintenance channel in other RMAN scripts that run delete o
bsolete processing in $ORACLE_BASE/dba/rman/config_scripts.
12. Verify successful run of RMAN backup to ddboost (show channel allocations i
n log)

1. Identify the target data domain server (ndc-dd0201.nndc.kp.org)


2. Identify the target data domain storage unit (OPPR-NDC0201-LOCAL)
3 Identify the home directory for the . ddboost software installation. This will
typically be $ORACLE_BASE/ddboost or /apps/ddboost.

4. Verify connectivity from the database server to the data domain server by ru
nning a traceroute ddserver at the command prompt on the database server. Results
should show successful connectivity over the backup network. Contact the TSM or
Server team to verify the output looks good. If the results are not as expected,
stop this implementation until the issues are fixed. See Appendix A for sample
output.
5. Implement standard RMAN backups if not already done (see implementation docu
ment).
6. Use rman_backup.sh dated Feb 13, 2015 13:44 (EST) or later. This will record
a backup type of ddboost for the daily backup reporting.
7. Configure RMAN parameters (retention 30 days, compression disabled for sbt_t
ape, )
8. Set up new driver scripts in $ORACLE_BASE/dba/tws
9. Set up new rman scripts in $ORACLE_BASE/dba/rman/config_scri pts. DDBoost is
considered a tape backup and the channel allocations will be inside the rman scri
pt (not required, but has been our standard at KP).
10. Set up new parameter files in $ORACLE_BASE/dba/rman/backup_scripts
11. Include ddboost maintenance channel in other RMAN scripts that run delete o
bsolete processing in $ORACLE_BASE/dba/rman/config_scripts.
12. Verify successful run of RMAN backup to ddboost (show channel allocations i
n log)

cd $ORACLE_BASE/dba/rman/config_scripts
rman /
@set_ddboost.rman
run
{
ALLOCATE CHANNEL c1 TYPE SBT_TAPE PARMS ' BLKSIZE=1048576, SBT_LIBRARY=/u01/app/
oraprd/ddboost/lib/libddobk.so, ENV=(STORAGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOS
T=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=/u01/app/oraprd/ddboost)';
send 'set username ddboost password ddboost123 servername ndc-dd0201-rp1.nndc.kp
.org';
RELEASE CHANNEL c1;
}

Level 0:
===============
nzapdb595:/u01/app/oraprd/dba/rman/config_scripts>more backup_0_disk_posbp241_dd
boost.rman
connect target;
sql 'alter database backup controlfile to trace';
run {
ALLOCATE CHANNEL t1 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t2 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA

GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=


/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t3 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t4 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t5 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t6 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t7 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t8 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
backup
filesperset = 4
incremental level 0
format '%d_%U_%T_%s_ddb0.bk'
database plus archivelog not backed up 1 times delete input;
}
allocate channel for maintenance type disk;
allocate channel for maintenance type 'SBT_TAPE' PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)';
delete force noprompt obsolete;
delete force noprompt archivelog until time 'sysdate -3' backed up 1 times to de
vice type 'SBT_TAPE';
delete force noprompt archivelog from time 'sysdate -30' until time 'sysdate -3'
backed up 1 times to device type 'SBT_TAPE';

Level 1 Differential:
========================

connect target;
sql 'alter database backup controlfile to trace';
run {
ALLOCATE CHANNEL t1 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t2 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t3 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t4 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t5 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t6 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t7 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t8 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
backup
filesperset = 4
incremental level 1
format '%d_%U_%T_%s_ddb1.bk'
database plus archivelog not backed up 1 times delete input;
}
allocate channel for maintenance type disk;
allocate channel for maintenance type 'SBT_TAPE' PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=

/u01/app/oraprd/ddboost)';
delete force noprompt obsolete;
delete force noprompt archivelog until time 'sysdate -3' backed up 1 times to de
vice type 'SBT_TAPE';
delete force noprompt archivelog from time 'sysdate -30' until time 'sysdate -3'
backed up 1 times to device type 'SBT_TAPE';

Level 1 Cumulative:
======================
connect target;
sql 'alter database backup controlfile to trace';
run {
ALLOCATE CHANNEL t1 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t2 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t3 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t4 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t5 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t6 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t7 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t8 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)' maxopenfiles 4;

backup
filesperset = 4
incremental level 1 cumulative
format '%d_%U_%T_%s_ddb1.bk'
database plus archivelog not backed up 1 times delete input;
}
allocate channel for maintenance type disk;
allocate channel for maintenance type 'SBT_TAPE' PARMS
'BLKSIZE=1048576S,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STOR
AGE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME
=/u01/app/oraprd/ddboost)';
delete force noprompt obsolete;
delete force noprompt archivelog until time 'sysdate -3' backed up 1 times to de
vice type 'SBT_TAPE';
delete force noprompt archivelog from time 'sysdate -30' until time 'sysdate -3'
backed up 1 times to device type 'SBT_TAPE';

Archive backup:
=================
connect target;
sql 'alter database backup controlfile to trace';
run {
ALLOCATE CHANNEL t1 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t2 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t3 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t4 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t5 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t6 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=

/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t7 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;
ALLOCATE CHANNEL t8 TYPE SBT_TAPE PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)' maxopenfiles 4;

backup
filesperset=4
format '%d_%U_%T_%s_archive.bk'
archivelog all not backed up 1 times delete input;
}
allocate channel for maintenance type disk;
allocate channel for maintenance type 'SBT_TAPE' PARMS
'BLKSIZE=1048576,SBT_LIBRARY=/u01/app/oraprd/ddboost/lib/libddobk.so, ENV=(STORA
GE_UNIT=OPPR-NDC0201-LOCAL, BACKUP_HOST=ndc-dd0201-rp1.nndc.kp.org, ORACLE_HOME=
/u01/app/oraprd/ddboost)';
delete force noprompt obsolete;
delete force noprompt archivelog until time 'sysdate -3' backed up 1 times to de
vice type 'SBT_TAPE';
delete force noprompt archivelog from time 'sysdate -30' until time 'sysdate -3'
backed up 1 times to device type 'SBT_TAPE';

run {
resync catalog;
}

cat config_epsp271_ddboost.rman
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 30 DAYS;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%d_%F.bk'
;

cd $ORACLE_BASE/dba/tws:
==========================
./rman_backup.sh 0 disk hot rman_backup_posbp241.lst
./rman_backup.sh 0 tape hot rman_backup_posbp241_ddboost.lst

Change rman_backup_posbp241.lst to rman_backup_posbp241_ddboost.lst


./rman_backup.sh 1 tape hot rman_backup_posbp241_ddboost.lst
./rman_backup.sh arch tape hot rman_backup_posbp241_ddboost.lst
./rman_backup.sh 1 disk hot rman_backup_posbp263.lst
./rman_backup.sh 1 tape hot rman_backup_posbp263_ddboost.lst
./rman_backup.sh 0 disk hot rman_backup_posbp263.lst
./rman_backup.sh 0 tape hot rman_backup_posbp263_ddboost.lst
./rman_backup.sh arch disk hot rman_backup_posbp263.lst
./rman_backup.sh arch tape hot rman_backup_posbp263_ddboost.lst

./rman_backup.sh 0 disk hot rman_backup_epsp271.lst


./rman_backup.sh 0 tape hot rman_backup_epsp271_ddboost.lst
if [ "${HA_primary}" = "${this_node}" ]
then
./rman_backup.sh 0 disk hot rman_backup_epsp271.lst
#./rman_backup.sh 0 tape hot rman_backup_epsp271_ddboost.lst
rc=$?
else
echo "The backup will NOT be run on this node since it is currently not the p
rimary node"
echo
fi
exit $rc

if [ "${HA_primary}" = "${this_node}" ]
then
./rman_backup.sh arch disk hot rman_backup_epsp271.lst
#./rman_backup.sh arch tape hot rman_backup_epsp271_ddboost.lst
rc=$?
else
echo "The backup will NOT be run on this node since it is currently not the p
rimary node"
echo
fi
exit $rc
if [ "${HA_primary}" = "${this_node}" ]
then
./rman_backup.sh 1 disk hot rman_backup_epsp271.lst
#./rman_backup.sh 1 tape hot rman_backup_epsp271_ddboost.lst
rc=$?
else

echo "The backup will NOT be run on this node since it is currently not the p
rimary node"
echo
fi
exit $rc

then
./rman_backup.sh 0 disk hot rman_backup_epsp287.lst
#./rman_backup.sh 0 tape hot rman_backup_epsp287_ddboost.lst
rc=$?
else
then
./rman_backup.sh 1 disk hot rman_backup_epsp287.lst
#./rman_backup.sh 1 tape hot rman_backup_epsp287_ddboost.lst
rc=$?
else
then
./rman_backup.sh arch disk hot rman_backup_epsp287.lst
#./rman_backup.sh arch tape hot rman_backup_epsp287_ddboost.lst
rc=$?
else
backup_scripts:
===============
SCRIPT_LIST_posbp241:
BACKUP_LOG_SUFIX

posbp241-->posbp241_ddboost
posbp241

config_scripts:
==================
Script modification
naming convention:
-rw-r--r-1
man
-rw-r--r-1
dboost.rman
-rw-r--r-1
e_ddboost.rman
-rw-r--r-1
e.rman

oracle

oinstall

667 Jun 30 2015 backup_0_disk_dbname.r

oracle

oinstall

1163 Jun 30 2015 backup_0_tape_dbname_d

oracle

oinstall

737 Jun 30 2015 backup_arch_tape_dbnam

oracle

oinstall

548 Sep 30 2015 backup_arch_disk_dbnam

backup_1_disk_posbp241.rman
backup_1_tape_posbp241_ddboost.rman
backup_0_disk_posbp241.rman
backup_0_tape_posbp241_ddboost.rman
backup_arch_disk_posbp241.rman

backup_arch_tape_posbp241_ddboost.rman
backup_1_tape_posbp263_ddboost.rman
backup_0_tape_posbp263_ddboost.rman
backup_arch_tape_posbp263_ddboost.rman

backup_0_tape_epsp271_ddboost.rman
backup_arch_tape_epsp271_ddboost.rman
backup_1_tape_epsp271_ddboost.rman
backup_0_tape_epsp287_ddboost.rman
backup_arch_tape_epsp287_ddboost.rman
backup_1_tape_epsp287_ddboost.rman
echo "Usage: ${THE_SCRIPT} <backup_level> <backup_medium> <backup_method> [<
optional_rman_backup.lst>]"
echo "
${THE_SCRIPT} <resync|maint> [<optional_rman_backup.lst>]"
echo "
${THE_SCRIPT} <0|1|arch> <tape|disk> <hot|cold> [<optional_rman
_backup.lst>]"
*****Change the parameters retention to 30days, off the compression if any****
Last login: Fri May 6 11:09:23 PDT 2016 from nzapdb608-e.nndc.kp.org on pts/1
ssh ddboost@ndc-dd0201-rp1.nndc.kp.org
ddboost123
Welcome to Data Domain OS 5.5.2.2-491486
---------------------------------------ddboost@ndc-dd0201> replication status
CTX Destination
Connection Sync'ed-as-of-time
--- ------------------------------------------------------------------------ -----------------1
mtree://bdc-dd8695.bcdc.kp.org/data/col1/ora-ndc0201-bdc8695
idle
Wed May 11 09:04
2
mtree://sdc-dd9053.ssdc.kp.org/data/col1/ora-ndc0201-ssdc0196
idle
Wed May 11 09:04
3
mtree://bdc-dd8100.bcdc.kp.org/data/col1/nzapvm1_nfs
idle
Wed May 11 09:04
4
mtree://bdc-dd8100.bcdc.kp.org/data/col1/nzspdb2_nfs
idle
Wed May 11 09:04
5
mtree://bdc-dd8695.bcdc.kp.org/data/col1/dr_sql_poc_ndc
idle
Wed May 11 09:03
6
mtree://ssdc-dd0196.ssdc.kp.org/data/col1/exadata_ndc
idle
Wed May 11 09:04
7
mtree://bdc-dd8695.bcdc.kp.org/data/col1/tsmnfs_8695_tsmndc1
idle
Wed May 11 09:07
8
mtree://bdc-dd8695.bcdc.kp.org/data/col1/cbord_nw_sql
idle
Wed May 11 09:04
9
mtree://ssdc-dd0196.ssdc.kp.org/data/col1/oranfs_0201_0196
idle
Wed May 11 09:04
10
mtree://ssdc-dd0196.ssdc.kp.org/data/col1/midas_copy
idle
Wed May 11 09:04

Enabled
------yes
yes
yes
yes
yes
yes
yes
yes
yes
yes

11

mtree://ndc-dd0201.nndc.kp.org/data/col1/ora-ssdc0196-ndc0201
Wed May 11 08:57
12
mtree://bdc-dd8100.bcdc.kp.org/data/col1/muse_sql
idle
Wed May 11 09:04
13
mtree://pdc-dd3037.pldc.kp.org/data/col1/ora-ndc0201-pdc3037
idle
Wed May 11 09:04
14
mtree://bdc-dd8695.bcdc.kp.org/data/col1/medilinks_lcm2
idle
Wed May 11 09:04
15
mtree://cdc-dd9001.crdc.kp.org/data/col1/oppr-ndc0201-cdc9001
idle
Wed May 11 09:04
16
mtree://idc-dd0162.ivdc.kp.org/data/col1/ora-ndc0201-idc0162
idle
Wed May 11 09:03
17
mtree://ndc-dd0201.nndc.kp.org/data/col1/tsmnfs_cdc9001_ndc0201
idle
Wed May 11 09:03
18
mtree://cdc-dd9001.crdc.kp.org/data/col1/exa-ndc0201-cdc9001
idle
Wed May 11 09:04
19
mtree://ssdc-dd0196.ssdc.kp.org/data/col1/exa-ndc0201-ssdc0196
idle
Wed May 11 09:04
20
mtree://sdc-dd9053.ssdc.kp.org/data/col1/ora-ndc0201-ssdc9053
idle
Wed May 11 09:04
25
mtree://bdc-dd8695.bcdc.kp.org/data/col1/cbord_cn_sql
idle
Wed May 11 09:04
26
mtree://ndc-dd0201.nndc.kp.org/data/col1/medilinks_lcm
idle
Wed May 11 08:55
--- ------------------------------------------------------------------------ -----------------ddboost@ndc-dd0201> exit

yes

idle

yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
-------

Das könnte Ihnen auch gefallen