본문 바로가기

Database/Oracle

60 - [Oracle 19C] Oracle net configuration assistant(netca)

  • Tools to configure listeners

- Oracle Net Manager(netmgr)

- Oracle Net Configuration Assistant(netca)

- Listener Control utility

- Enterprise Manager Cloud Cntrol

- Database Configuration Assistant(allows you to create a listener when you create a CDB)

 

# add listener
[oracle@test admin]$ netca

Oracle Net Services Configuration:
Configuring Listener:LISTENER_TEST
Listener configuration complete.
Oracle Net Listener Startup:
    Running Listener Control: 
      /u01/app/oracle/product/19/db_1/bin/lsnrctl start LISTENER_TEST
    Listener Control complete.
    Listener started successfully.
Oracle Net Services configuration successful. The exit code is 0




# delete listener
[oracle@test admin]$ netca

Oracle Net Services Configuration:
Stopping Oracle Net Listener:
    Running Listener Control: 
      /u01/app/oracle/product/19/db_1/bin/lsnrctl stop LISTENER_TEST
    Listener Control complete.
    Listener stopped successfully.
    Deleted listener: LISTENER_TEST
Oracle Net Services configuration successful. The exit code is 0
[oracle@test admin]$

 

 

 

 

 

 

 

 

LISTENER_TEST =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = test.com)(PORT = 1522))
    )
  )