The following measures automate the behavior of ROBAR-SV.
Configuration parameters
The repetition_count
configuration parameter in the interface-specific ROBAR-SV configuration file (see "Interface-specific ROBAR-SV configuration files") determines how often ROBAR-SV attempts to set up the connection to the archive system during the start of a ROBAR-SV instance (default value: 1
).
ROBAR-SV waits 15 seconds between each connection attempt. Setting this configuration parameter to a value > 1 makes particular sense when the archive system is controlled by multiple ROBAR-SV instances on an alternating basis.
Automatic restart of ROBAR-SV instances
When automatic restart is enabled for a ROBAR-SV instance, ROBAR causes a ROBAR-SV instance to be restarted automatically following an orderly program termination initiated by the user or by program events.
The configuration parameter INIT_RESTART_OPTION
in the interface-specific configuration file of ROBAR-SV (see "Interface-specific ROBAR-SV configuration files") determines whether the automatic restart is enabled (YES
) or not (NO
) for a ROBAR-SV instance when it is started for the first time (default value: NO
). The script SET_RESTART_OPTION or the ROBAR-SV Manager is then only required in the case of changes in the restart behavior of the ROBAR-SV instance.
For a ROBAR-SV instance in the DEFINED
status, the automatic restart can be enabled or disabled before startup or during ongoing operation with the SET_RESTART_OPTION_SCSI
or SET_RESTART_OPTION_ABBA
command (only standalone variant).
Syntax:
SET_RESTART_OPTION_SCSI <instance> YES/NO
for the SCSI interfaceSET_RESTART_OPTION_ABBA <instance> YES/NO
for the ABBA interface
If necessary, ascertain the current setting using one of the following commands (only for ROBAR-SV instances, which are not in the DEFINED status):
cat /var/lib/robar_scsi/<instance>
/
.ROBAR_RESTART
(SCSI interface)cat /var/lib/robar_abba/<instance>/.ROBAR_RESTART
(ABBA interface)
The automatic restart can also be enabled and disabled using the ROBAR-SV Manager (see "Enabling and disabling automatic restart").
Changes in the setting for the automatic restart of a ROBAR-SV instance are effective only until the instance is reset or until ROBAR-SV is re-installed. The setting from the interface-specific configuration file of ROBAR-SV then applies.