网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

DATAGUARD搭建脚本.

1.duplicate target database

创新互联公司是一家专业提供囊谦企业网站建设,专注与网站建设、网站设计、H5场景定制、小程序制作等业务。10年已为囊谦众多企业、政府机构等服务。创新互联专业网站设计公司优惠进行中。

for standby

from active database nofilenamecheck

DORECOVER

spfile

set service_names='CWFOLB'

set db_unique_name='CWFOLB'

set log_archive_dest_1='location=/folarch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=CWFOLB'

set log_archive_dest_2='SERVICE=CWFOL LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=CWFOL'

set standby_file_management='AUTO'

set fal_server='CWFOL'

set audit_file_dest='/fol/app/oracle/admin/CWFOLB/adump'

set fal_client='CWFOLB'

set control_files='/foldata/control01.ctl','/folarch/control02.ctl'

set DB_FILE_NAME_CONVERT='/oradata/CWFOL/datafile/acf','/foldata','/oradata/CWFOL/datafile/wms','/foldata','/oradata/CWFOL/datafile/fol','/foldata','/oradata/CWFOL/datafile/eol','/foldata','/orada

ta/CWFOL/datafile/smt','/foldata','/oradata/CWFOL/datafile/pms','/foldata','/oradata/CWFOL/datafile','/foldata'

set LOG_FILE_NAME_CONVERT='/oradata/arch','/foldata','/oradata/CWFOL/onlinelog','/foldata','/oracle/flash_recovery_area/CWFOL/onlinelog','/foldata','/oradata/arch/CWFOL/onlinelog','/foldata'

set db_create_file_dest='/foldata'

set db_recovery_file_dest='/folarch'

set db_recovery_file_dest_size='200G';

2.

duplicate target database

for standby

from active database nofilenamecheck

DORECOVER

spfile

set service_names='CWRPTB'

set db_unique_name='CWRPTB'

set log_archive_dest_1='location=+FRA VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=CWRPTB'

set log_archive_dest_2='SERVICE=CWRPT  LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=CWRPT'

set standby_file_management='AUTO'

set diagnostic_dest='/oracle/orabase/admin/CWRPTB'

set audit_file_dest='/oracle/orabase/admin/CWRPTB/adump'

set fal_server='CWRPT'

set fal_client='CWRPTB'

set control_files='+DATA/cwrptb/controlfile/control01.ctl','+DATA/cwrptb/controlfile/control02.ctl'

set cluster_database='false'

set DB_FILE_NAME_CONVERT='/oradata/rpt','+DATA/cwrptb/datafile','/oradata/smt','+DATA/cwrptb/datafile','/oradata/fol','+DATA/cwrptb/datafile','/oradata/acf','+DATA/cwrptb/datafile','/oradata/eol','+DATA/cwrptb/datafile','/oracle/product/ora11gr2/oradata/CWRPT','+DATA/cwrptb/datafile'

set LOG_FILE_NAME_CONVERT='/arch/CWRPT/onlinelog','+DATA/cwrptb/onlinelog'

set db_create_file_dest='+DATA'

set db_recovery_file_dest='+FRA'

set db_recovery_file_dest_size='400G';


网站标题:DATAGUARD搭建脚本.
网站地址:http://bjjierui.cn/article/jsdosg.html

其他资讯