Protection Group Properties - Overview
The table in this section lists the protection group properties, along with a brief
description, type of property, and default value for each property.
The scripts named by the developer in these properties can reference independent executables,
a single common executable, or a combination of the two. No restrictions are placed on the language
used to implement these scripts with the exception that the scripts must be able to run by root,
from the command line, without a graphical display, and they must return either a zero (success) or
nonzero (failure) exit code. The script-based plug-in Mbean returns any error code resulting from a
failure. For more information, see Appendix F, Error Return Codes for
Script-Based Plug-Ins.
Protection groups that use script-based plug-in replication have the global properties
provided in the following table. Note that all of these properties are tunable when you are
offline.
Table 13-1 Protection Group Global Policies
Property Name
|
Description
|
Type
|
Default Value
|
add_app_rg_args
|
The arguments that are provided to the script, add_app_rg_script.
|
Optional
|
Not applicable
|
add_app_rg_script
|
The script used to validate and perform tasks relevant for adding an application resource
group to a protection group.
|
Required
|
/bin/true
|
configuration_file
|
The per protection group script-based plug-in configuration file containing details of the
nodes pertinent to script-based plug-in replicated components held in the protection group.
|
Required
|
/etc/opt/SUNWscgrepsbp/configuration
|
create_config_script
|
The script used to create, modify, and validate a script-based plug-in replicated component
instance.
|
Required
|
/bin/false
|
remove_app_rg_args
|
The arguments that are provided to the script, remove_app_rg_script.
|
Optional
|
Not applicable
|
remove_app_rg_script
|
The script used to validate and perform tasks relevant for removing an application resource
group from a protection group.
|
Required
|
/bin/true
|
remove_config_script
|
The script used to remove a script-based plug-in replicated component instance.
|
Required
|
/bin/true
|
start_replication_script
|
The script used to start the data replication for a script-based plug-in replicated component
instance.
|
Required
|
/bin/true
|
stop_replication_script
|
The script used to stop the data replication for a script-based plug-in replicated component
instance.
|
Required
|
/bin/true
|
switchover_script
|
The script used to switch over the data replication direction for a script-based plug-in
replicated component instance.
|
Required
|
/bin/true
|
takeover_script
|
The script used to take over the data replication for a script-based plug-in replicated
component instance.
|
Required
|
/bin/true
|
|
The Protection Group Property Descriptions section describes
in detail the actions that each script and its associated arguments should perform when called by
the script-based plug-in Mbean. Standardized Script Command-Line
Arguments explains how scripts can discriminate between the steps being performed.