Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

Seamless connection

Occasional Contributor

Seamless connection

Hi Masters,
We are having two ES-40 servers (tru-64 5.1a ) in cluster
running oracle database (single instance on HOST A).
User are accessing the database from PC connected in network.

How can users have a seamless connection to database in case of HOST A
Crash and database will get transfered on HOST B.

Thanks in adv
Take It Easy, Be Happy !
Brian Crabtree
Honored Contributor

Re: Seamless connection

You are looking for the "FAILOVER" command as part of the tns connection. Your tns entry should look something like the following:
(HOST = systemA)
(PORT = 1521)
(HOST = systemB)
(PORT = 1521)

There are a few different options for the "FAILOVER_MODE" (notably, BACKUP). There are alot of documents, but one that explains different options is below. This is for 8.0, but the options have not changed much between versions.

Hope this helps,