[root@bogon ~]# vi /etc/hostname
#active dataguard standby
#active dataguard standby
#active dataguard standby
*.log_archive_config='dg_config=(adg,standby,standby2)'
*.log_archive_dest_1='location=/oracle/arch valid_for=(all_logfiles,all_roles) db_unique_name=adg'
*.log_archive_dest_2='SERVICE=standby LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=standby'
*.log_archive_dest_3='SERVICE=standby2 LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=standby2'
*.log_archive_dest_state_1=enable
*.log_archive_dest_state_2=enable
*.log_archive_dest_state_3=enable
*.log_archive_max_processes=5
*.fal_server='standby','standby2'
*.standby_file_management='auto'
*.db_unique_name='standby'
*.log_archive_config='dg_config=(adg,standby)'
*.log_archive_dest_1='location=/oracle/arch valid_for=(all_logfiles,all_roles) db_unique_name=standby'
*.log_archive_dest_2='SERVICE=adg LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=adg'
*.log_archive_dest_3='SERVICE=standby2 LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=standby2'
*.log_archive_dest_state_1=enable
*.log_archive_dest_state_2=enable
*.log_archive_dest_state_3=enable
*.log_archive_max_processes=5
*.fal_server='adg',’standby2’
*.standby_file_management='auto'
*.log_file_name_convert='/oracle/oradata/adg/','/oracle/oradata/adg/'
评论