on 07-25-2013 10:54 PM
Hi All,
I am here to share SAP Backup process using Netbackup, with some of detailed SAP level changes required.
My environment for SAP is listed below;
O/S: SUSE Linux 11 SP1 for SAP
DB: Oracle 11g
SAP: ECC 6 ERP 4 ABAP
Backup Utility: RMAN
NBU: Netbackup 7.1 for Windows (installed on Windows 2008 Server)
Windows: c:\windows\system32\drivers\etc\hosts
Linux: /etc/Hosts
#/NBU/NetBackup_7.1_CLIENTS/NetBackup_7.1_CLIENTS # ./install
Symantec Installation Script
Copyright 1993 - 2011 Symantec Corporation, All Rights Reserved.
Installing NetBackup Client Software
Do you wish to continue? [y,n] (y) y
Do you want to install the NetBackup client software for this client? [y,n] (y)
This package will install Linux/SuSE2.6.16 client.
This package will install NetBackup client 7.1.
Enter the name of the NetBackup server : NBU-SRV
Would you like to use "SAP Server" as the configured
name of the NetBackup client? [y,n] (y)
Installing PBX...
Please wait while installation is in progress...
File /usr/openv/tmp/install_trace.20427 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
(Oracle databases with RMAN only)
# ln –s /usr/openv/netbackup/bin/libsapora.so64 \
/oracle/SID/11203/lib/libobk.so
“/oracle/SID/11203/dbs/initSID.utl”
Policy name i.e “pol_sap_sid”; Server name i.e “NBU”; Schedule i.e “default application backup”
Example:
switch_list /oracle/SID/sapbackup/.switch.lis
switch_sem /oracle/SID/sapbackup/.switch.sem
switch_log /oracle/SID/sapbackup/.switch.log
server nbu-srv
policy pol_sap_sid
schedule Default-Application-Backup
“/oracle/SID/11203/dbs/initSID.sap”
backup_dev_type = util_filebackup_mode = all
backup_type = online
backup_root_dir = /oracle/SID/sapbackup
util_par_file = /oracle/SID/11203/dbs/initDEV.utl
######ONLY FOR RMAN PARM######
rman_parms = "ENV=(NB_ORA_SAP=/oracle/SID/11203/dbs/initSID.utl)"
chmod 775 /usr/openv/netbackup/ext/db_ext/sap/sap_oracle/sap_rman_script
At the end of script provide user ID of “OraSID”
su - qasadm -c "$CMD_LINE"
Create folder with name “bphdb” under “/usr/openv/netbackup/logs/”
DURING BACKUP YOU MAY FOUNDS SOME ISSUES RELATED TO SAP & OS THAT SHOULD RESOLVE BY SYSTEM ADMINISTRATOR OF SAP & LINUX HOWEVER I AM ADDING SOME USEFULL TIPS RELATED TO PERMISSIONS THAT CAUSE BIG TROUBLE DURING BACKUPS
Note 113747 - Owners and authorizations for BR*Tools
Note 400241 - Problems with ops$ or sapr3 connect to Oracle
Note 776505 BR*Tools fail with ORA-01017 / ORA-01031 on Linux