how to use direct mode at oraccle RAC
how to use direct mode at oraccle RAC
for example :
My oracle use RAC;
in a client PC, my tnsnames.ora is:
TEST=
(DESCRIPTION =
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.101)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.102)(PORT=1521))
)
(CONNECT_DATE = (SERVER_NAME=TEST)
)
)
SO ,in direct mode , k only can use one of server's ip ;
begin
UniConnection1.SpecificOptions.Add('Oracle.Direct=True');
UniConnection1.Username := 'xxx';
UniConnection1.Password := 'xxx';
UniConnection1.Server := '192.168.1.101:1521:sn=TEST';
end;
I don't know how to use RAC in direct mode;
can i set:
UniConnection1.Server := '(192.168.1.101:1521)(192.168.1.102:1521):sn=TEST';
My oracle use RAC;
in a client PC, my tnsnames.ora is:
TEST=
(DESCRIPTION =
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.101)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.102)(PORT=1521))
)
(CONNECT_DATE = (SERVER_NAME=TEST)
)
)
SO ,in direct mode , k only can use one of server's ip ;
begin
UniConnection1.SpecificOptions.Add('Oracle.Direct=True');
UniConnection1.Username := 'xxx';
UniConnection1.Password := 'xxx';
UniConnection1.Server := '192.168.1.101:1521:sn=TEST';
end;
I don't know how to use RAC in direct mode;
can i set:
UniConnection1.Server := '(192.168.1.101:1521)(192.168.1.102:1521):sn=TEST';
Re: how to use direct mode at oraccle RAC
hello,
Presently, the RAC technology is not supported in the Direct mode (automatic server switch). You can connect to one of the servers only. Full support of RAC is planned for one of the next versions.
Presently, the RAC technology is not supported in the Direct mode (automatic server switch). You can connect to one of the servers only. Full support of RAC is planned for one of the next versions.
Re: how to use direct mode at oraccle RAC
Hi,
I wonder to any progress in RAC support for Direct Mode or still this option is not supported.
Than you Daril
I wonder to any progress in RAC support for Direct Mode or still this option is not supported.
Than you Daril
Re: how to use direct mode at oraccle RAC
No, this feature is not yet implemented.
-
- Posts: 5
- Joined: Fri 24 Aug 2012 07:20
Re: how to use direct mode at oraccle RAC
Hi,
Do you have any timeline on when RAC support under Direct Mode will be available? Is it still in the plan?
Thanks,
Cain
Do you have any timeline on when RAC support under Direct Mode will be available? Is it still in the plan?
Thanks,
Cain
Re: how to use direct mode at oraccle RAC
The next UniDAC version will include a possibility to specify a server both as a record from the tnsnames.ora file and as a list of nodes (ip,port). UniDAC will attempt to connect to the first node in turn.
Re: how to use direct mode at oraccle RAC
Does the current version of Oracle supports RAC in directo mode?
If yes, is there any example?
Thank you
If yes, is there any example?
Thank you
Re: how to use direct mode at oraccle RAC
To connect to RAC, you should set the following Server property:
Code: Select all
scott/[email protected],n2.domain:PORT1,PORT2:SID
Re: how to use direct mode at oraccle RAC
Thank you, then when the connection is lost, UniConnection reconnects automatically to the second, third server?
Re: how to use direct mode at oraccle RAC
Yes, if you set the RetryMode variable to rmReconnect or rmReconnectExecute in the onConnectionLost event handler, then on connection loss with one node there will occur an attempt to connect to the next node.