Step By Step Install and configure Legato Networker Module for SAP/3 for Oracle
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/<ORACLE_SID>/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<ORACLE_SID>.utl
and Modify the file:
example:
=======
#cp /etc/init.utl $ORACLE_HOME/dbs/init<ORACLE_SID>.utl
or
#cp /nsr/tmp/init.utl $ORACLE_HOME/dbs/init<ORACLE_SID>.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<ORA_SID>.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:<ORACLE_SID>
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 .
alex_linux 回复于:2008-01-17 19:41:12
你是MDCL?不会吧
:em17: :em17:
yddll 回复于:2008-01-17 19:42:14
Modern Device?
xiaomao2006 回复于:2008-01-17 21:05:09
请问mdcl有什么特别之处
Blade.Lv 回复于:2008-01-18 16:29:27
应该是2年前楼主的文章吧,楼主现在应该不做具体实施了。大家不要奇怪哈。
aha120 回复于:2008-04-27 19:17:03
sign
|