DBA Data[Home] [Help]

PACKAGE: SYS.DBMS_DG

Source


1 PACKAGE dbms_dg AUTHID CURRENT_USER AS
2 
3   --
4   -- This function is used by an application to initiate a Fast-Start Failover.
5   -- The broker will determine if the configuration is ready to failover
6   -- and then signal the Observer to failover.
7   --
8   -- The caller can pass in a character string to indicate the reason
9   -- a Fast-Start Failover has been requested. If a NULL string is passed in
10   -- a default string of 'Application Failover Requested' will be sent to the
11   -- observer.
12   --
13   -- RETURNS:
14   --   ORA-00000: normal, successful completion
15   --   ORA-16646: Fast-Start Failover is disabled
16   --   ORA-16666: unable to initiate Fast-Start Failover on a bystander
17   --     standby database
18   --   ORA-16817: unsynchronized Fast-Start Failover configuration
19   --   ORA-16819: Fast-Start Failover observer not started
20   --   ORA-16820: Fast-Start Failover observer is no longer observing this
21   --     database
22   --   ORA-16829: lagging Fast-Start Failover configuration
23   --
24   FUNCTION initiate_fs_failover(condstr IN VARCHAR2) RETURN BINARY_INTEGER;
25 
26 pragma TIMESTAMP('2012-01-26:08:55:00');
27 
28 END dbms_dg;