Start a LOCAL LISTENER from other server
Dears,
I have a Physycal Standby and I want to automatize the startup and shutdown process.
I want to run one script that makes all the process for Primary and Standby instances. This script will run from the Primary server.
I am not having success starting the Standby’listener remotely.
The script startupListStby.sh is in Stanby server with these instructions:
/opt/oracle/app/oracle/product/11.2.0.3/bin /lsnrctl start LISTENER_GMP2
The script runs fine locally but using ssh from Primary server is giving errors
ssh oracle@stbyHost '/opt/oracle/app/oracle/admin/scripts/startupListStby.sh'
TERM environment variable not set.