Go to main content

Disaster Recovery Framework Reference for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: August 2018
 
 

scgeo_devicegroup_get (8HA)

Name

scha_devicegroup_get - get information about an Oracle Solaris Cluster disaster recovery framework device group or other data replication component

Synopsis

scha_devicegroup_get -G protection-group -D device-group -p property [-d] [-r]

Description

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.

Options

The following options are supported:

–D device-group

Indicates the data replication component information to be accessed.

–d

Specifies debug mode.

–G protection-group

Specifies the name of the protection group.

–p property

Specifies the name of a data replication component property. See the geopg(8) man page for information about properties for each data replication product.

–r

Selects the remote value for non-global properties.

Examples

Example 1 Using the scgeo_devicegroup_get Command to Query a Property of a Data Replication Component

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

Exit Status

The following exit values are returned:

0

The command completed successfully.

1

A general usage error occurred.

100

An error occurred.

Failure error codes are described scha_calls(3HA).

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
ha-cluster/geo/geo-framework
Interface Stability
Stable

See Also

awk(1), scha_cmds(8HA), geopg(8), scha_calls(3HA), attributes(7)