Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Command Line script to create Listener and TNS Entries

Nandakumar Thukkaram-OracleMay 3 2015 — edited May 4 2015

As part of shell scripting to automate the network configuration between databases from local and remote server, i would like to know the best way to create/add the listener.ora and add static listener entry, similarly for tns entries on tnsnames.ora

I see netca can be used to create tns entries, however, i dont see any such options to either create new listener or add static listener entry.

Appreciate if anybody could direct me command line options

Also, Please share any such shell script available to create listener/tns entry. Need shell script to create them on local and remote listener.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 1 2015
Added on May 3 2015
9 comments
2,487 views