The following procedure launches two streams, each from a different media server, to a single media server in parallel.
- Create the backup.
- Use NetBackup to import images from all tapes used in the archive.
-
Modify runarcnb.bat to specify the two streams:
Runarcnb.bat Linux Example
This example specifies the correct client for the stream used in the archive.
# For analyze only- overriding client. Comment out for normal use. # We may have 2 streams that originate from two different # TARA clients. grep DSTREAM0001 $1.dflt >/dev/null 2>&1 if [ "$?" = "0"]; then export ARCENVX="IOPARM='SERVER=barlnx1 CLIENT=bsrv3'" else export ARCENVX="IOPARM='SERVER=barlnx1 CLIENT=bsrv4'" fi
-
Create and run an Analyze script with multi-stream capabilities.
For more details, see States for Archive Jobs. For example:
JOB DK_anlz_bsrv3_2str SESSIONS 1 MULTISTREAM 2 STREAM barlnx1 STREAM barlnx1 STREAMNAME DK_Archive_gcperf_syscal_multistream_47e16ef40000000c_DSTREAM0001 STREAMNAME DK_Archive_gcperf_syscal_multistream_47e16ef40000000c_DSTREAM0002 COMMANDLINE CSNAME=ASCII CHECKSUM=2 VB3 TDPID gcperf USERID dbc OTB NetBackup NBUPOLICY TD_pol1 NBUPOLICY TD_pol2 SCRIPT Analyze LOGON $LOGON; ANALYZE ALL, VALIDATE, DISPLAY LONG, FILE=ARCHIVE; LOGOFF; ENDSCRIPT
-
Run the restore or copy script.
For example:
JOB DK_copy_syscal_2str SESSIONS 4 MULTISTREAM 2 STREAM barlnx1 STREAM barlnx1 COMMANDLINE CSNAME=ASCII CHECKSUM=2 TDPID gcperf USERID dbc SOURCEUID 47e04fea00000017 SCRIPT Restore LOGON $LOGON; COPY DATA TABLES (mm_barrm.CALDATES) (FROM (SYS_CALENDAR.CALDATES)), RELEASE LOCK, FILE=ARCHIVE; LOGOFF; ENDSCRIPT
Do not modify runarcnb.bat.