scha_devicegroup_get -G protection-group -D device-group -p property [-d] [-r]
The scgeo_devicegroup_get command accesses information about an Oracle Solaris Cluster disaster recovery framework device group or other data replication component.
Use this command in shell script implementations of the callback methods for partnerships.
Information is output by this command to the standard output (stdout) in formatted strings, as described in the scha_cmds(8HA) man page. Output is a string or several strings that are output on separate lines. You can store the output in shell variables. You can also parse the output by using the awk(1) command or other shell commands for further use by the script.
You must be root to use this command.
The following options are supported:
Indicates the data replication component information to be accessed.
Specifies debug mode.
Specifies the name of the protection group.
Specifies the name of a data replication component property. See the geopg(8) man page for information about properties for each data replication product.
Selects the remote value for non-global properties.
Use the following command to retrieve the value of the switchover_args property of the mysql-dg data replication component in the paris-london protection group.
# /usr/cluster/lib/geo/lib/scgeo_devicegroup_get -G paris-london -D mysql-dg \ -p switchover_args list of arguments
The following exit values are returned:
The command completed successfully.
A general usage error occurred.
An error occurred.
Failure error codes are described scha_calls(3HA).
See attributes(7) for descriptions of the following attributes: