您好,欢迎访问三七文档
HomogeneousSystemCopy(Backup/Restore)1系统环境描述..................................................................................................................................21.1源系统环境.........................................................................................................................21.2目标系统环境.....................................................................................................................22SystemCopy前的准备工作...........................................................................................................32.1按照homogeneoussystemcopyguide做好前期准备工作...............................................32.2备份D00数据库控制文件................................................................................................33备份源系统(D00)........................................................................................................................43.1备份前的准备工作.............................................................................................................43.1.1创建NFS...................................................................................................................43.1.2修改D00系统initD00.sap参数.............................................................................43.2开始备份.............................................................................................................................44转移文件至目标系统........................................................................................................................55重置目标系统(T03)数据库.........................................................................................................55.1准备工作.............................................................................................................................55.1.1检查目标系统T03的Kernel版本.........................................................................55.1.2修改2.2步生成的D00数据库控制文件...............................................................55.1.3修改备份日志文件....................................................................................................65.1.4停止T03的SAP及数据库.....................................................................................75.1.5删除T03不用的数据文件.......................................................................................75.1.6修改T03系统initT03.sap的参数.........................................................................75.2数据库恢复.........................................................................................................................85.2.1Restore......................................................................................................................85.2.2Recovery...................................................................................................................95.2.3启动数据库..............................................................................................................106启动R/3........................................................................................................................................107Systemcopy后续工作..................................................................................................................108使用TSM恢复的注意事项............................................................................................................11HomogeneousSystemCopyGuideAllrightsarereservedbyEvanDu.flywant@hotmail.com1系统环境描述此文档描述了一个特殊环境下使用backup/restore的方式来完成Homogeneoussystemcopy的例子。在此例子中目标系统T03已经搭建完毕,使用现有的T03环境来完成D00的systemcopy。此方法是SAP标准方式的扩展。文档中的步骤基本上涵盖了所有操作的基本步骤,若存在遗漏敬请谅解,我会在后期的实践和工作中不断完善。1.1源系统环境OS:AIX3.2DB:ORACLE9.2.0SAPSID:D00DBSID:D00Hostname:HQDEV1R/3Version:4.6CSR2Kernel:46D_EXTCPU:Memory:16GB1.2目标系统环境OS:AIX3.2DB:ORACLE9.2.0SAPSID:T03DBSID:T03———————————————————————————————————————————————————————Preparedby:EvanDu-2-HomogeneousSystemCopyGuideAllrightsarereservedbyEvanDu.flywant@hotmail.comHostname:t03qasR/3Version:4.6CSR2Kernel:46D_EXTCPU:Memory:12GB注:目标系统已经存在一个R/3系统,SAPSID为T03。2SystemCopy前的准备工作2.1按照homogeneoussystemcopyguide做好前期准备工作2.2备份D00数据库控制文件使用以下命令备份D00数据库控制文件sqlplus/nologconnect/assysdbaalterdatabasebackupcontrolfiletotraceresetlogs生成的文件名及路径为:/oracle/D00/saptrace/usertrace/D00_ora_*******.trc———————————————————————————————————————————————————————Preparedby:EvanDu-3-HomogeneousSystemCopyGuideAllrightsarereservedbyEvanDu.flywant@hotmail.com3备份源系统(D00)3.1备份前的准备工作可以选择备份到不同的介质和不同的备份方式。在这个例子中,由于D00系统不能间断,并且不能备份到磁带上。因此我们只能选择Online备份到硬盘的方式。3.1.1创建NFS将T03系统的/oracle/T03/sapbackup使用NFS到D00系统的/backup。3.1.2修改D00系统initD00.sap参数修改D00系统的/oracle/D00/920_64/dbs/initD00.sap修改如下参数值:backup_dev_type=diskbackup_root_dir=/backupcompress=yes3.2开始备份登陆D00系统,使用TCODE:DB13定义一个online备份作业。———————————————————————————————————————————————————————Preparedby:EvanDu-4-HomogeneousSystemCopyGuideAllrightsarereservedbyEvanDu.flywant@hotmail.com4转移文件至目标系统Oracledatafile文件:由于备份直接指向目标系统,所以这步不再需要。Oraclearchive文件:将online备份过程中产生的Archive文件从源系统D00传输到目标系统/oracle/T03/saparch。2.2步生成的D00数据库控制文件:从源系统D00传输到目标系统/oracle/T035重置目标系统(T03)数据库5.1准备工作5.1.1检查目标系统T03的Kernel版本是否与D0
本文标题:sap系统Copy
链接地址:https://www.777doc.com/doc-15730 .html