How to execute emctl of $AGENT_HOME/bin from Target Home to blackout target
Hi all,
Goal
----
I want to execute "emctl start blackout " from target database server and not from Grid Control server.
I want to execute this command from the target database cold backup script before starting the Cold backup so that Grid Control does not send out database/listener down alerts when the database is offline for cold backup.
Problem
--------
If I execute "emctl start blackout " from target instance Home/bin on target database server using the target server emctl command, I get error "EM Configuration issue. $ORACLE_HOME/_ not found."
If I execute "$AGENT_HOME/bin/emctl start blackout " from the target database server, I get error "ksh: $AGENT_HOME/bin/emctl: cannot execute"
How can I execute the emctl and may be some other commands of $AGENT_HOME/bin from the target server?
Thanks in Advance.