--Set parameters in primary.
alter system set log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST MANDATORY VALID_FOR=(ALL_LOGFILES,ALL_ROLES)' scope=both;
alter system set log_archive_dest_state_1=enable scope=both;
alter system set log_archive_dest_2='SERVICE=<STB_TNS> VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) LGWR SYNC AFFIRM DB_UNIQUE_NAME=<Standby Database Unique Name>' scope=both;
alter system set log_archive_dest_state_2=enable scope=both;
alter system set fal_server=<PRI_TNS> scope=both;
alter system set fal_client=<STB_TNS> scope=both;
alter system set standby_file_management=auto scope=both;
alter system set local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=<LIS_HOST>)(PORT=<LIS_PORT>))' scope=both;
