Failover tests OracleRAC is a cluster database that enables seamless load balancing and Failover. The foundation of these technologies is failover (failover ). The failover of Oracle10gRAC can be subdivided into three types,
Failover tests OracleRAC is a cluster database that enables seamless load balancing and Failover. The foundation of these technologies is failover (failover ). The failover of Oracle10gRAC can be subdivided into three types,
Failover Test
Client-Side Connect time Failover;
TAF;
Service-Side TAF.
First, create two users on the VM and grant relevant permissions.
Signature =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.6.1.116) (PORT = 1521 ))
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.6.1.117) (PORT = 1521 ))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rac)
)
)
YS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.6.1.116) (PORT = 1521 ))
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.6.1.117) (PORT = 1521 ))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rac)
(FAILOVER_MODE =
(TYPE = session)
(METHOD = basic)
(RETRIES = 180)
(DELAY = 5)
)
)
)
Sqlplus ac/ac. green @ brief
Sqlplus green/ac. green @ ys
In the first window, view the instances connected to the Hong Kong server:
The first window is displayed.
The second window is displayed.
This article is from the "Yu Qilin" blog, website space, please be sure to keep this source