Current status for "orcl1":Error: ORA-12545: Connect failed because target host or object does not exist

DGMGRL>

Well the problem in my case was that the hostname was not getting resolved. I added the hostname to the host file and it started working.

After this error I got error:Current status for "orcl1":Error: ORA-16664: unable to receive the result from a remote database

Well same problem, communication between the 2 database. Make sure that the /etc/hosts files have entries of all other servers, with name and IP address.Always review the log_archive_dest_2 parameter, to have the right entries and service is accessible.

add Add a standby database to the broker configurationconnect Connect to an Oracle instancecreate Create a broker configurationdisable Disable a configuration, a database, or Fast-Start Failoveredit Edit a configuration, database, or instanceenable Enable a configuration, a database, or Fast-Start Failoverexit Exit the programfailover Change a standby database to be the primary databasehelp Display description and syntax for a commandquit Exit the programreinstate Change a disabled database into a viable standby databaserem Comment to be ignored by DGMGRLremove Remove a configuration, database, or instanceshow Display information about a configuration, database, or instanceshutdown Shutdown a currently running Oracle instancestart Start Fast-Start Failover observerstartup Start an Oracle database instancestop Stop Fast-Start Failover observerswitchover Switch roles between the primary database and a standby database

6
Comments:

I was impressed by your notes on Dataguard broker. I have a question. I have set up my basic dataguard on AIX and logs are getting applied fine.I have done all the prereq steps on setting up the broker parms and listener changes.When I type DGMGRL and then try issuing commands such as CONNECT or CREATE, the CLI gives me an error :Unrecognized command "create", try "help"Similar message for “create”I cannot gracefully exit out of DGMGRL, without terminating my entire session.

Hello Vikas,Well I am working on Linux. I did not come across such an error. You can try:dgmgrl sys/password@primary DBat the unix prompt. Please also check the LD_LIBRARY_PATH, LIBPATH in AIX. Hopefully this works.RegardsApun