Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Listener load balance
-----Original Message-----
From: Yechiel Adar [mailto:adar76@inter.net.il]
Sent: Wednesday, September 18, 2002 5:09 AM
To: Multiple recipients of list ORACLE-L
Subject: Re: Listener load balanceHello RamonI think that you have an error in your parameters.As far as I know (not much) the second network card have a different TCP/IP address.You have to put this address in the added line in listener.ora and add (load_balance=on).(ADDRESS_LIST =(load_balance=on)
(ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 1521)) ---> Original
(ADDRESS = (PROTOCOL = TCP)(HOST = new network card address)(PORT = 1526)) ---> Added
)
In the tnsnames you have to use load_balance=on and put both addresses and ports in the address list:(description=(address list=(load_balance=on)(address=(protocol=TCP,host=225.125.110.5,port=1521))(address=(protocol=TCP,host=new network card address,port=1526))This way the clients will use both address.Yechiel Adar
Mehish----- Original Message -----From: Ramon E. EstevezSent: Tuesday, September 17, 2002 10:19 PMSubject: Re: Listener load balanceTks Kevin,I didn't setup the DNS to do that. I ping myserver and is using the new address. Don't know how to do it either.What I am planning to do is to set the manually the ip address to the both port. I am using local names.(ADDRESS = (PROTOCOL = TCP)(HOST = 225.125.100.5)(PORT = 1521)) ---> Original
(ADDRESS = (PROTOCOL = TCP)(HOST = 225.125.100.6)(PORT = 1526)) ---> AddedRamon----- Original Message -----From: Kevin LangeSent: Tuesday, September 17, 2002 12:03 PMSubject: RE: Listener load balanceYour HOSTNAME of 'myserver' would tell you which.Since you have the same hostname on the listener, both ports would currently be using the same IP address.Did you setup DNS so that the cards share a Hostname ?-----Original Message-----
From: Ramon E. Estevez [mailto:com.banilejas@codetel.net.do]
Sent: Tuesday, September 17, 2002 9:43 AM
To: Multiple recipients of list ORACLE-L
Subject: Listener load balanceHi list,Scenario Win2000 server, 8.1.7.I added a network card to my DB Server. I want the listener to accept connections for the 2 IP address to make load balance. I just added a line to the listener file with a different port.How can I assure that the port 1521 is listening for the net address 01 and the port 1526 in the address 02 ?Is that correct ?-----------------------LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 1521)) ---> Original
(ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 1526)) ---> Added
)
)
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
)
(ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 2481))
)
)SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\Oracle\Ora8I)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = C:\Oracle\Ora8I)
(SID_NAME = ORCL)
)
)----------------------------TIA,
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Markham, Richard INET: RMarkham_at_hafeleamericas.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Sep 18 2002 - 10:33:25 CDT