ADD_RECOVERY_APPLIANCE
The ADD_FAR_SYNC
function can be used to add a Zero
Data Loss Recovery Appliance to the Data Guard broker configuration.
ADD_RECOVERY_APPLIANCE
Function
Format
DBMS_DG.ADD_RECOVERY_APPLIANCE (
ra_name IN VARCHAR2,
ra_ci IN VARCHAR2,
severity OUT BINARY_INTEGER)
RETURN BINARY_INTEGER;
Parameters
Parameter | Description |
---|---|
ra_name |
The name that will be used by the broker to refer to
this Zero Data Loss Recovery Appliance. It must match
(case-insensitive) the value of the corresponding database
|
ra_ci |
A fully specified connect descriptor or a name to be
resolved by an Oracle Net Services naming method (for example,
TNS). The value you specify is also used as the initial value of
the |
severity |
The severity associated with the status returned by
this function. Severity will be one of the following Oracle error
numbers:
|
Usage Notes
-
This function returns a binary integer.
-
This function can only be called while connected to a primary database or an enabled standby database or far sync instance.
Return Values
Error | Description |
---|---|
ORA-00000: normal, successful
completion |
The Zero Data Loss Recovery Appliance was successfully added to the Data Guard broker configuration. |
Other |
The Data Guard broker was unable to add the Zero Data Loss Recovery Appliance to the configuration and the return value will indicate the reason for this failure. |