Virtual TapeServer 8.2 Supplemental Installation Guide
32 | Enabling and Configuring AutoCopy and Instant DR
To use a file utility program (FUP) call
You can issue a simple FUP call to copy the contents of a text file to the $0 process. Complete
the following steps:
1. Create a text file named IDRTEXT1 on the NonStop server that contains the following
line:
VTSPolicy IDR idrjobname1
where idrjobname1 is the name of the Instant DR job defined in VTS. Note that this text
is case sensitive.
2. From Batchcom or within an existing backup script, run the following command:
FUP COPY IDRTEXT1, $0
This send the contents of the IDRTEXT1 file to the EMS collector.
To use a TACL macro in obey script
On the NonStop server, you can create an obey script that includes a TACL macro that
communicates with the VTS server through EMS. In the script file, add the commands
specified below. To initiate the script, run the script using the obey command, add the lines to
the end of an existing script, or schedule the script to run from Batchcom.
#SET collector $0
#SET evt_num number
#SET action -1
#SET emphasis -1
#SET evt_text VTSPolicy IDR idrjobname
Here is an explanation of the lines:
#SET collector $0
Refers to the EMS collector to which to send the message. Change collector to the
name of the collector in the EMS configuration settings on VTS.
#SET evt_num number
Assigns a number to the event.
#SET action -1
Refers to the way the message is displayed in an EMS viewer, such as ViewPoint. In
this case, it is inverse text until acknowledged.
#SET emphasis -1
Refers to the way the message is displayed in an EMS viewer, such as ViewPoint. In
this case, it is normal text.
#SET evt_text VTSPolicy IDR idrjobname
Specifies the message to be sent to the EMS collector. Replace idrjobname with the
name of the Instant DR job in VTS.
Add these lines to the end of an existing obey script or schedule it from Batchcom.
When the script runs, the following is sent in the EMS message:
#PUSH evt_x evt_error req_error req_read req_prompt
#PUSH action_id collector
#LOAD /LOADED evt_x/ $system.zspidef.zemstacl
#LOAD /LOADED evt_x/ $system.zspidef.zspitacl
#LOAD /LOADED evt_x/ $system.zspidef.ztactacl