2.5.2 Verifying the Remote Listener Configuration

After the database application service starts on True Cache, use the lsnrctl command to validate the remote listener services for the True Cache service registration.

Note:

For Oracle RAC primary databases, before using the lsnrctl command, set your $ORACLE_HOME environment variable to the path for the Oracle Grid Infrastructure home (Grid home).

The following example shows two True Caches registered with the SCAN listener for an Oracle RAC primary database:

lsnrctl services LISTENER_SCAN1

Service "sales_tc" has 2 instance(s).
    Instance "tcdb1", status READY, has 1 handler(s) for this service...
        Handler(s):
            "DEDICATED" established:0 refused:0 state:ready
                REMOTE SERVER       
                (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=tc1.example.com)(PORT=1521)))
    Instance "tcdb2", status READY, has 1 handler(s) for this service...
        Handler(s):
            "DEDICATED" established:0 refused:0 state:ready
                REMOTE SERVER       
                (ADDRESS=(PROTOCOL=TCP)(HOST=tc2.example.com)(PORT=1521))

Note:

If the True Cache service is not registered with the remote listener, validate the remote listener invited nodes and the True Cache initialization parameters for REMOTE_LISTENER or LISTENER_NETWORKS.