Friday, December 13, 2013

Networker Client Configuration New (8.0.0.1 and NMSAP) on HP UX

Hi Friends,

Client Configuration of Networker and NMSAP module on HP UX or Linux or Solaris server.


1.       For our SAP server (10.2.5.X) series, we don’t need to open any port.
2.       Networker (8.0.0.1) and NMSAP (4.5) latest package.
3.       Install these two (first Networker and then NMSAP). Avoid Storage and Server binary package while installing. User rpm/swinstall -s/ pkgadd.
4.       Once installed, start the networker services /sbin/init.d/networker start
5.       Copy the /opt/networker/nsrsapsv.cfg from any working server to new one where we are configuring.
6.       Change the SID as per the new server’s SID in nsrsapsv.cfg file, Copy the same file to nsrsapsv_barch.cfg file and write brarchive.
7.       vi /nsr/res/servers (write FQDN and hostname of the backup server).
8.       cd /oracle/SID/112_64/dbs/
edit initSID.utl and initSID.sap file.
9.       Need to verify the colored part carefully. Permission too.
# grep -v "^#" initSID.utl
parallelism = 16
pool = DD UNIX
server = ABC
client = XYZ
debug_level = 3
nsr_debug_msg = yes
verbose = yes
retry_count = 3
arch_backint_log = /nsr/applogs/ar_backint.log.raw
backint_log =/nsr/applogs/backint.log.raw
NSR_DEBUG_DIR = /nsr/applogs
ps_exclude_backup_bi_run_nums = 2
ps_exclude_archive_bi_run_nums = 1;2
#
# grep -v "^#" /oracle/SID/112_64/dbs/initSID.sap
backup_mode = all
restore_mode = all
backup_type = online
backup_dev_type = util_file
backup_root_dir = /oracle/SID/sapbackup
stage_root_dir = /oracle/SID/sapbackup
compress = no
compress_cmd = "compress -c $ > $"
uncompress_cmd = "uncompress -c $ > $"
compress_dir = /oracle/SID/sapreorg
archive_function = copy_delete_save
archive_copy_dir = /oracle/SID/sapbackup
archive_stage_dir = /oracle/SID/sapbackup
tape_copy_cmd = cpio
disk_copy_cmd = copy
stage_copy_cmd = rcp
pipe_copy_cmd = rsh
cpio_flags = -ovB
cpio_in_flags = -iuvB
cpio_disk_flags = -pdcu
dd_flags = "obs=64k bs=64k"
dd_in_flags = "ibs=64k bs=64k"
saveset_members = 1
copy_out_cmd = "dd ibs=8k obs=64k of=$"
copy_in_cmd = "dd ibs=64k obs=8k if=$"
rewind = "mt -f $ rew"
rewind_offline = "mt -f $ offl"
tape_pos_cmd = "mt -f $ fsf $"
tape_size = 100G
exec_parallel = 0
tape_address = /dev/rmt/0mn
tape_address_rew = /dev/rmt/0m
volume_archive = (SIDA01, SIDA02, SIDA03, SIDA04, SIDA05,
                  SIDA06, SIDA07, SIDA08, SIDA09, SIDA10,
                  SIDA11, SIDA12, SIDA13, SIDA14, SIDA15,
                  SIDA16, SIDA17, SIDA18, SIDA19, SIDA20,
                  SIDA21, SIDA22, SIDA23, SIDA24, SIDA25,
                  SIDA26, SIDA27, SIDA28, SIDA29, SIDA30)
volume_backup = (SIDB01, SIDB02, SIDB03, SIDB04, SIDB05,
                 SIDB06, SIDB07, SIDB08, SIDB09, SIDB10,
                 SIDB11, SIDB12, SIDB13, SIDB14, SIDB15,
                 SIDB16, SIDB17, SIDB18, SIDB19, SIDB20,
                 SIDB21, SIDB22, SIDB23, SIDB24, SIDB25,
                 SIDB26, SIDB27, SIDB28, SIDB29, SIDB30)
expir_period = 30
tape_use_count = 100
util_par_file = /oracle/SID/112_64/dbs/initGRD.utl
#
# ls -ltr
total 32
-rw-rw-rw-   1 root       sys             47 Dec 12 19:52 servers
drwx------  12 root       sys           8192 Dec 12 19:52 nsrladb
#
# cat servers
XYZ
XYZ.XYZ.XYZ.IN
# pwd
/nsr/res
#
# grep -v "^#" nsrsapsv.cfg
BR_EXEC=brbackup
ORACLE_HOME=/oracle/SID/112_64
NLS_LANG = AMERICAN_AMERICA.US7ASCII
SAP_BIN=/usr/sap/SID/SYS/exe/run
SAPBACKUP=/oracle/SID/sapbackup
ORACLE_SID=SID
ORACLE_BIN=/oracle/SID/112_64/bin
SAPARCH=/oracle/ID/saparch
SAPREORG=/oracle/SID/sapreorg
SAPTRACE=/oracle/SID/saptrace
SAPCHECK=/oracle/SID/sapcheck
PATH=/oracle/SID/112_64/bin:.:/oracle/SID:/usr/sap/SID/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/graphics/common/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/caliper/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/resmon/bin:/opt/firefox:/opt/gnome/bin:/opt/perf/bin:/usr/contrib/kwdb/bin:/opt/mozilla:/opt/perl_32/bin:/opt/perl_64/bin:/opt/prm/bin:/opt/sfm/bin:/opt/swm/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/sentinel/bin:/opt/swa/bin:/opt/hpsmh/bin:/opt/thunderbird:/opt/langtools/bin:/opt/wlm/bin:/opt/gwlm/bin:/opt/networker/bin
LD_LIBRARY_PATH=/usr/sap/SID/SYS/exe/run:/oracle/SID/112_64/lib
NSR_JOBD_CONNECTION_TIMEOUT=160
#
-rw-r--r--   1 root       sys           6988 Dec 12 20:01 nsrsapsv.cfg
-rw-r--r--   1 root       sys           6989 Dec 12 20:02 nsrsapsv_brarch.cfg
# pwd
/opt/networker
#
-rwxr-xr-x   1 orasid     dba          28048 Dec 12 20:08 initSID.sap
-rw-r--r--   1 root       sys          13658 Dec 12 20:10 initSID.utl
-rw-r-xr-x   1 orasid     dba           1883 Dec 12 20:14 initSID.ora
# pwd
/oracle/SID112_64/dbs
#
# ndd -get /dev/tcp tcp_keepalive_interval
600000

#
Now we can start the backup of the server through Networker. 

Love Sharing 
Amit Chopra
 


No comments: