Forum Discussion

Foo_Bar_BLN's avatar
7 years ago

2 Netlsnr for a single Oracle instance

Hello, if it possible to have 2 listener running for 1 Oracle SID. I be able to do that fromm commandline, but dont know how to configure it in VCS. I could not find a appropriate attribute for star...
  • frankgfan's avatar
    frankgfan
    7 years ago

    do not edit agent ArgList.

    there is an attribute called Listener for Netlsnr agent

    this attribute is for "Name of Listener. The name for Listener is considered case-insensitive by
    the Netlsnr agent and the Oracle database server.
    Default is LISTENER."

    Example of two listener configuration (VCS 6.2 for Linux)

    Listener 1

    Netlsnr LSNR_oramktg_lsnr (
    Owner = oramktg
    Home = "/orahome/Oracle"
    TnsAdmin = "/orahome/Oracle/network/admin"
    Listener = LISTENER_MKTG
    MonScript = "./bin/Netlsnr/LsnrTest.pl"
    LsnrPwd = xxxxxxxx
    )

    Listener 2

    Netlsnr LSNR_oraprod_lsnr (
    Owner = oraprod
    Home = "/orahome/Oracle"
    TnsAdmin = "/orahome/Oracle/network/admin"
    Listener = LISTENER_PROD
    MonScript = "./bin/Netlsnr/LsnrTest.pl"
    LsnrPwd = xxxxxxxx
    )

    please consult with the VCS admin guide and VCS Oracle agent guide (for your version of VCS as each version of the guide contains some version specific info which is not appicapble to other versions) for more details.