You are on page 1of 3

WORK INSTRUCTION – STARTUP ORACLE GATEWAY ON LINUX SERVER

Title Work Instruction – Startup Oracle Gateway on Linux server


Author Otakar Moučka
References N/A
Document Version 1.0
Last Revision Date March 16, 2016

PURPOSE

This document describes the required steps for starting up or stoping an Oracle Gateway on the
LINUX platform . The Oracle Gateway is started by Listener from right OH and with right SID .
All allowed Listeners should start / stop automatically by OS start / stop .

ASSUMPTIONS
 Oracle owner password has already been set to Merck standard (ormerck)
 /etc/oratab exists with entries for all SID , OH which are on server
 /opt/oracle/ormerck/admin/network/usesqlnet.ctl , allowed listeners to startup
 Listener.ora is in place all of OH
 OH/network/admin contains file listener.ora

MANUALLY STARTUP ORACLE GATEWAY LISTENER ON TARGET SERVER


(LINUX)
1. Login to the TARGET server as the Oracle Gateway owner (ormerck)
2. Check file for allowed Oracle Gateway Listeners on server
- Cat /opt/oracle/ormerck/admin/network/usesqlnet.ctl (OH and SID which are here are
allowed to start )
- Format: <owner><sp> <ORACLE_HOME><sp>< GATEWAY_LISTENER_SID >

3. Set the current environment to the “target OH “ by “SID”


a. $ . oraenv
4. Start listener(s)
a. LINUX
$ lsnrctl start <GATEWAY_LISTENER_SID>

1
WORK INSTRUCTION – STARTUP ORACLE GATEWAY ON LINUX SERVER

Check Status of registered listeners:


$ lsnrctl status <GATEWAY_LISTENER_SID>
NOTE: Oracle Gateway Listeners should startup automatically with the server if
they have been correctly configured in file
/opt/oracle/ormerck/admin/network/usesqlnet.ctl . Startup is done by start script
> /etc/init.d/sqlnet ,
for manual use usage: /etc/init.d/sqlnet {start|stop|start_msg|stop_msg} , which is
calling during stop/start OS as well .
If they do not start automatically by OS startup , start using the commands above.

UPDATE SERVER STARTUP FILE WITH NEW LISTENER (LINUX)


1. Login to the TARGET server as the Database "ormerck" (Merck password)

2. Edit the server sqlnet config file


a. $ cd /opt/oracle/ormerck/admin/network
b. $ vi usesqlnet.ctl

3. Add a record for the new listener


a: Format:<owner><sp><ORACLE_HOME><sp>< GATEWAY_LISTENER_SID >

2
WORK INSTRUCTION – STARTUP ORACLE GATEWAY ON LINUX SERVER

VERSION CONTROL

Version Date Author Description of Change Section


1.0 23/Feb/2010 Paul Scotto Initial Document ALL
1.1 14/Aug/2014 Paul Scotto Added check/ restart via Startup
“srvctl” for Linux listeners Listeners
1.1 14/Aug/2014 Paul Scotto Limited startup file to UNIX Update File

1.0 16/Mar/2016 Otakar Moučka Updated for Oracle Gateway All


On Linux OS

You might also like