Professional Documents
Culture Documents
Sap
Sap
=================
1) Ensure the SAP binaries are copied to the following directory
Windows: C:\usr\sap\SID\SYS\exe\run
UNIX: /usr/sap/APP/SYS/exe/run
2) link the NetBackup for SAP binary file (UNIX or Linux Oracle databases without
RMAN only)
ln -s /usr/openv/netbackup/bin/backint /usr/sap/APP/SYS/exe/run/backint
/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle
4) If you are going to use NetBackup for SAP online and without RMAN , use the
following script located in the directory mentioned in the step "3"
sap_online_backup
5) Sure if the Client based on Active/Passive Cluster, you have to copy the same
version of the script in the same path in the cluster nodes
mkdir /home/nbu_scripts
cp /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle /home/nbu_scripts
chmod -R 777 /home/nbu_scripts
6) There are some important configuration files should be concerned while modifying
the scripts
initSID.utl SAP parameter file. This file specifies policy, schedule, client, and
other information to the backint interface.
initSID.sap SAP profile file. This file contains information that the SAP tools use
to interact with the backintand RMAN interfaces.
7) Modify initSID.utl and backup the file already exists in the $ORACLE_HOME/dbs or
%ORACLE_HOME%\database directory, copy it to a backup file.
cp /oracle/APP/102_64/dbs/initAPP.utl /oracle/APP/102_64/dbs/initAPP.utl.bkp
a) cp /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle/initAPP.utl
/oracle/APP/102_64/dbs/initAPP.utl
b) The following parameters are required: client, switch_list,
switch_log,switch_sem.
c) If you use RMAN, set policy, schedule, and server.
If you do not use RMAN, set drives, policy, schedule, and server.
d)
policy sap_policy_1
schedule Default-Application-Backup
client puffin
server puffin
drives 2
switch_list /oracle/sap/sapbackup/.switch.lis
switch_sem /oracle/sap/sapbackup/.switch.sem
switch_log /oracle/sap/sapbackup/.switch.log
8) Modifying the initSID.sap and backup the file already exists in the
$ORACLE_HOME/dbs or %ORACLE_HOME%\database directory, copy it to a backup file.
cp /oracle/APP/102_64/dbs/initAPP.sap /oracle/APP/102_64/dbs/initAPP.sap.bkp
a) cp /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle/initSAP.sap
/oracle/APP/102_64/dbs/initAPP.sap
b) Modify the initSID.sap file with a text editor to set the backup_dev_type and
util_par_file parameters to values that are appropriate to your site.
c)
backup_type = online
backup_dev_type = util_file_online
util_par_file = /oracle/APP/102_64/dbs/initAPP.utl
sap_backup
userbkps