Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Publishing Oracle8 with ISA Server
 

I recently needed to publish a Windows NT Oracle8 server from a private network to be accessible from a demilitarized zone (DMZ). My company uses back-to-back DMZ configuration with Microsoft Internet Security and Acceleration (ISA) Server 2000. By default, the Oracle client and server use dynamic ports to negotiate a subsequent connection. Thus, the ISA Server configuration isn't sufficient for the initial connection. To have connectivity through the firewall, I needed to make configuration changes to the Oracle client and server.

I used the Microsoft Management Console (MMC) ISA Management snap-in to create a protocol definition named SQL*Net (Inbound) with the following parameters.

Port number: 1521
Protocol type: TCP
Direction: Inbound
No secondary connections

Then, I created a client address set that included the clients on the DMZ. I also created a publishing rule for the Oracle server. I applied the publishing rule to the SQL*Net (Inbound) protocol and to requests from the client set.

On the Oracle server, I added the system environment variable setting USE_SHARED_SOCKET, with the value TRUE. On Oracle8 for Windows, you can alternatively add a registry value called USE_SHARED_SOCKET to create the setting. This environment variable setting works on Windows and UNIX platforms.

I used Oracle's Net8 Easy Config utility to configure clients to point to the ISA Server's external interface. Then, I used Notepad to edit the connection string in C:\orawinnt\net80\admin\tnsnames.ora. I added the text (SERVER=DEDICATED) immediately after the text (SID=DB) in the connection string. UNIX requires the same change in the tnsnames.ora file. After my changes, the client connection from the DMZ to Oracle8 was successful.







Reader Comments

I try this idea, but it doesn't work and cause all client (included) internal client can not connect to oracle server. Where should I put registry USE_SHARED_SOCKET ? Thank You,

suryadi -December 05, 2003

i tried this idea, it doesn't work. where can we force the regestry USE_SHARED_SOCKET on linux ?

hicham -January 07, 2004

I tried this idea, it doesn't work. Oracle is on W2K server and client on DMZ is W2K Pro. I have got error ora-12537. Any idea ? thks

cyrille -January 26, 2004

I have tested the method but it does not work. I have got error ora-12537

cyrille -January 28, 2004

I tried this idea, it doesn't work. Oracle is on W2K server and client on DMZ is W2K Pro & Server. I have got error "ora-12535 TNS Operation time out" in Net8 eassy config during connection test. Any idea ? thks

Faisal Sarwar -June 08, 2004

Setting USE_SHARED_SOCKET=TRUE option in Windows registry causes oracle error ORA-12537 : it's the bug 1566794 - to solve this problem patch Oracle with 8.1.7.2

Anonymous User -October 22, 2004

Setting USE_SHARED_SOCKET=TRUE option in Windows registry causes oracle error ORA-12537 : it's the bug 1566794 - to solve this problem patch Oracle with 8.1.7.2

Anonymous User -October 22, 2004
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement