Unsolved
This post is more than 5 years old
71 Posts
0
8916
February 13th, 2012 22:00
step by step instruction for NetWorker Module for SAP with Oracle 4.1 (for Linux Red Hat)
Good afternoon, I found the following instructions step by step, I'm new to setting up NetWorker Module for SAP with Oracle 4.1 (for Linux Red Hat),
but this statement is for Solaris. Can someone remake it under Linix Red Hat
The following statement:
Place: MDCL
Author : Eric Zhang
1. Install Legato Networker Module for SAP on every SAP machine .
#pkgadd -d ./LGTOnmsap
2. Set PATH variable for both Oracle User and Root user
GOAL: Add the 'save' command PATH
examples:
=======
root@sapprd3a # which save
/usr/bin/nsr/save
root@sapprd3a # su - orapd3
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
//bsh:
sapprd3a:orapd3 1% vi .profile
PATH=$PATH:/usr/bin/nsr:.
export PATH
//csh:
vi .cshrc
set path = ( /usr/bin/nsr $path )
3. Copy file 'backint' to SAP BRTools Directory:
examples:
=======
Legato Networker Module for SAP package include the 'backint' executable.
#cp /nsr/tmp/backint /usr/sap/ /SYS/exe/run
4. ensure 'backint' executable in the same directory as BRTools .
and ensure the owner of 'backint' is root
for instance:
=======
sapprd3a:orapd3 13% which backint
/usr/sap/PD3/SYS/exe/run/backint
sapprd3a:orapd3 14%
sapprd3a:orapd3 16% ls -l backint
-rwxr-xr-x 1 root other 1419468 Sep 11 2004 backint
sapprd3a:orapd3 17%
5. Change permission of the 'backint' executable.
GOAL: chmod 4755 of root user.
//used for restore raw device
examples:
=======
# chmod 4755 /usr/sap/PD3/SYS/exe/run/backint
root@sapprd3a # chmod 4755 /usr/sap/PD3/SYS/exe/run/backint
root@sapprd3a # ls -l /usr/sap/PD3/SYS/exe/run/backint
-rwsr-xr-x 1 root other 1419468 Sep 11 2004 /usr/sap/PD3/SYS/exe/run/backint
root@sapprd3a #
6. copy init.utl file into $ORACLE_HOME/dbs , and name the file as : init .utl
and Modify the file:
example:
=======
#cp /etc/init.utl $ORACLE_HOME/dbs/init .utl
or
#cp /nsr/tmp/init.utl $ORACLE_HOME/dbs/init .utl
The Places that need to modify:
==================
The following variables must set.
group = sapprd3
pool = sapprd3
server = sun280
and , please note if you want to modify the other parameters
7. Modify SAP init file
$ORACLE_HOME/dbs/init .sap
CAUTION: This file is maintained by SAP basis
NOTICE The following parameters:
===============
Important ITEMS:
========
backup_type = online
backup_dev_type = util_file_online
util_par_file = /oracle/PD3/920_64/dbs/initPD3.utl
Non-Important ITEMS:
========
backup_mode = all
restore_mode = all
backup_root_dir = /oracle/PD3/sapbackup
stage_root_dir = /oracle/PD3/sapbackup
compress = no
archive_copy_dir = /oracle/PD3/sapbackup
archive_stage_dir = /oracle/PD3/sapbackup
8. Client resource Settings:
Save set: backint:
backup command: nsrsapsv -f /nsr/res/nsrsapsv.cfg
/nsr/res/nsrsapsv.cfg (example)
BR_EXEC=brarchive
ORACLE_HOME=/oracle/PD3/920_64
NLS_LANG = AMERICAN_AMERICA.WE8DEC
SAP_BIN=/usr/sap/PD3/SYS/exe/run
SAPBACKUP=/oracle/PD3/sapbackup
ORACLE_SID=PD3
ORACLE_BIN=$ORACLE_HOME/bin
(
SAPARCH=/oracle/PD3/saparch
SAPREORG=/oracle/PD3/sapreorg
SAPTRACE=/oracle/PD3/saptrace
SAPCHECK=/oracle/PD3/sapcheck
SAPDATA_HOME=/oracle/PD3
NOTE: the above parameters are required on windows environment,
but you also can set on unix environment.
)
LD_LIBRARY_PATH=/usr/sap/PD3/SYS/exe/run:/oracle/PD3/920_64/lib:/usr/openwin/lib
CAUTION:
To backup Database: BR_EXEC=brbackup
To backup Archivelog: BR_EXEC=brarchive
9. Encrypt the SAP and oracle username and password in the 'nsrsapsv.cfg' file
#nsrsapadm -c /nsr/res/nsrsapsv.cfg.fullorabackup
and follow the prompt .



coganb
736 Posts
0
February 16th, 2012 05:00
Hi,
The instructions for how to install the module are in the NetWorker Module for SAP with Oracle 4.1 Installation Guide and there is an Administration Guide for instructions on how to use it from there. This should give you everything you need.
-Bobby