Configure the Application Server
Set up a Preload Script
1. Set up a preload script in order to load the SDP library for all programs.
# echo '/lib/libsdp.so' >> /etc/ld.so.preload
Add Configuration Lines to the SDP Initialization Script
2. Add the appropriate configuration lines to the SDP initialization script.
# echo 'match listen *:1521'
/usr/local/topspin/etc/libsdp.conf
# echo 'match destination *:1521'
/usr/local/topspin/etc/libsdp.conf
3. Restart any client or server processes, such as the listener process on the database server, and any
Examine Configuration Files
4. View SDP connection information by examining the following two files:
/proc/topspin/sdp/conn_data
/proc/topspin/sdp/conn_main
Configure the Database Server
Set up a Preload Script
1. Set up a preload script in order to load the SDP library for all programs.
# echo '/lib/libsdp.so' >> /etc/ld.so.preload
Add Configuration Lines to the SDP Initialization Script
2. Add the appropriate configuration lines to the SDP initialization script.
# echo 'match listen *:1521'
/usr/local/topspin/etc/libsdp.conf
# echo 'match destination *:1521'
/usr/local/topspin/etc/libsdp.conf
3. Restart any client or server processes, such as the listener process on the database server, and any
This sets the host to listen on port 1521 for SDP connections, and to use SDP for any outbound
connections targeted to port 1521 on a remote host. This also assumes that the Oracle server and
client are configured to connect on port 1521. Set this as appropriate to your environment.
Perform these changes on all clients and servers.
>>
applications that leverage OracleNet for database connectivity on the application server.
These files should show you the connections coming over SDP. If there are no SDP connections,
these special files will only show header information. If SDP is enabled properly on the server, you
should see at least one connection in wait state on the server.
This sets the host to listen on port 1521 for SDP connections, and to use SDP for any outbound
connections targeted to port 1521 on a remote host. This also assumes that the Oracle server and
client are configured to connect on port 1521. Set this as appropriate to your environment.
Perform these changes on all clients and servers.
>>
applications that leverage OracleNet for database connectivity on the application server.
>>
>>
39