




已閱讀5頁,還剩53頁未讀, 繼續免費閱讀
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
Oracle數據庫異機恢復測試報告北京寶利信通有限公司2009年11月目 錄一.測試背景3二.測試概況3l時間、地點3l測試主要目的3l主要工作內容3三.測試環境33.1測試主機環境33.2測試系統結構圖4四.測試步驟及結果44.1 恢復環境準備44.2 建立CommVault 8.0備份服務器44.4安裝Oracle for AIX和HPUX數據庫244.4.1 硬件環境244.4.2 軟件環境244.4.3 軟件安裝244.5安裝Commvault Media agent ,oracle ida for AIX 和HP-UX254.6使用磁帶進行Oracle數據庫的全庫恢復384.6.1對核心數據庫(AIX)進行恢復38數據庫的物理恢復(restore)38數據庫的邏輯恢復47打開數據庫(open)474.6.2對財務數據庫(HP-UX)進行恢復48數據庫的物理恢復(restore)48數據庫的邏輯恢復(recover)55打開數據庫(open)554.7數據庫恢復后的校驗56數據庫基本參數檢查56應用數據檢查58一. 測試背景XX公司核心數據庫采用AIX系統和ORACLE10G數據庫;ERP數據庫系統采用HP-UX 系統和ORACLE10G數據庫,采用CommVault備份軟件,結合LANfree備份方式將Oracle數據備份到ADIC Scalar i500磁帶庫中.此次測試模擬CommVault備份服務器、數據庫主機發生災難后的數據恢復全過程, 為災難恢復提供經驗二. 測試概況l 時間、地點2009年11月16日11月25日,XX公司l 測試主要目的驗證CommVault備份軟件在主機發生災難后的可恢復性驗證使用CommVault 軟件備份到磁帶上的數據的有效性。l 主要工作內容1. 安裝Win2003 Server sp2,建立CommVault 8.0備份服務器2. 使用CommVault DR工具恢復備份軟件的配置信息3. 準備AIX5.3和 HPUX 11.23 操作系統4. 安裝Oracle for AIX和HP-UX 數據庫5. 使用磁帶進行Oracle數據庫的全庫恢復三. 測試環境3.1測試主機環境機器類型OS版本主機名IP地址備注IBM AIX5.3P595_3Oracle數據庫(目標機)HPUX11.11Lisserv5Oracle數據庫(目標機)惠普PC ServerWin 2003ServerCommserv25520CommVault備份服務器3.2測試系統結構圖硬件拓撲圖和軟件分布圖:四. 測試步驟及結果4.1 恢復環境準備Commserver 服務器要求windows 2003sp2AIX 主機要求和源主機操作系統一致,oracle 版本和以前一致。HP 主機要求和源主機操作系統一致,oracle 版本和以前一致。4.2 建立CommVault 8.0備份服務器以下過程是安裝CommServe的詳細步驟: 1. 將CommServe安裝光盤插入主機光驅 2. 在“我的電腦”中,右鍵選擇“自動播放”或雙擊光驅圖標 3. 出現如下安裝界面: 4. 選擇“中文”或“英文”均可,選擇“下一步”開始安裝軟件,出現如下界面: 5. 選擇“Install QiNetix on this computer”,開始安裝軟件 6. 在“Welcome”界面中,選擇“Next”,然后在接下來出現的界面中選擇“OK”確認即可 7. 在“License Agreement”中,選擇“I accept the terms in the license agreement”接受許可 8. 在“Select Platforms”中選擇在CommServe上需要安裝的模塊 9. CommVault軟件的安裝需要一些特殊權限,軟件安裝中會提示你是否同意設置這些權限,選擇“Yes”確定即可 10. 在安裝數據實例的提示界面中,選擇“Yes”開始安裝數據庫實例 11. 在“Database Engine Installation Path”界面中,確定數據庫引擎的安裝路徑,選擇“Browse”可以修改數據庫引擎安裝路徑 12. 在“MSSQL Database Installation Path”界面中,確定MSSQL數據庫安裝路徑,選擇“Browse”可以修改MSSQL數據庫的安裝路徑 13. 開始安裝數據庫引擎 14. 在“SQL User Password”界面中設置SQL用戶的口令 15. 如果你的系統中已經安裝了其它版本的JRE,安裝程序會推薦你安裝一個高版本的JRE 16. 如果接受推薦,軟件開始安裝Java環境 17. 在“Destination Folder”界面中選擇軟件的安裝路徑,選擇“Browes”可以修改軟件的安裝路徑 18. 在“CommServe Database Path”界面中確定CommServe數據庫的路徑,選擇“Browse”可以修改CommServe數據庫的安裝路徑 19. 在“CommServe Name”中指定CommServe的客戶端名稱和主機名 20. 在“CommServe Disaster Recovery Path”界面中指定災難恢復文件的路徑,選擇“Browse”指定災難恢復文件的路徑 21. 在“Firewall Configuration”界面中可以配置防火墻,通常選擇不配置防火墻 22. 在“Apply a License”中指定正式許可證文件的路徑或選擇使用Demo許可證 23. 在“Administrator Account”中配置登錄CommCell Console的“帳戶”和“口令” 24. 在“Media Password”中輸入訪問介質的口令 25. 選擇“Yes”確認配置CommCell Console Web管理 26. 在“Web Administration”中輸入一個別名 27. 在“MediaAgent Index Cache Path”中配置Index Cache的路徑,選擇“Browse”可以修改Index Cache的存放路徑 28. 在“Job Results Path”界面中配置客戶端的作業結果存放路徑,選擇“Browse”可以修改存放路進 29. 在“Snap Driver Default Volume”界面中配置存儲snap位圖的分區或卷 30. 在“Summary”界面中選擇“Next”確認你的配置并繼續安裝 31. 軟件安裝到這個過程,系統會提示需要注銷一次,選擇“LogOff”確認注銷 32. 系統注銷完成后,軟件的安裝過程會自動進行,如如下界面所示: 33. 在“Automatic Updates schedule”界面中,如果需要配置自動更新的調度計劃,可以選中“Schedule FTP Download of Automatic Updates”并配置時間表,建議不要配置 34. 軟件安裝到這里,系統會提示你是否刪除先前安裝中設置的特殊權限,選擇“Yes”確認刪除 35. 在“Install Updates schedule”界面中選擇不配置“Schedule Install of Automatic Updates” 36. 在系統提示軟件安裝后需要重啟服務器界面中,選擇“OK”確定 37. 在“Schedule Reminder”界面中選擇“Next”即可 38. 在“Completion Report”界面出現后,選擇“Reboot Now”或“Finish”完成軟件的安裝 39. 軟件安裝完成,重啟服務器。 4.4安裝Oracle for AIX和HPUX數據庫4.4.1 硬件環境主機Ap595a24 CPU93696M Memmary主機Bp595b24 CPU93696M Memmary4.4.2 軟件環境操作系統AIX 5300-09集群軟件HACMP 數據庫Oracle 升級補丁4.4.3 軟件安裝1.安裝前準備:操作系統環境;HACMP 需求環境;JDK,C+需求環境2.創建oracle用戶創建用戶組組名組IDoinstall300dba301hagsuser302創建用戶用戶名oracle用戶ID300屬組dba oinstall hagsuser用戶目錄/oracle3.Oracle 軟件安裝4.5安裝Commvault Media agent ,oracle ida for AIX 和HP-UX1.運行cvpkgadd 命令:p595_2/mnt#./cvpkgaddRestarting in pdksh-v5.2.14. Simpana 8.0.0 (BUILD68) AIX 5.3- CommVault _ _ / _(_)_ _ _ _ _ _ _ _ _ _ _ | | _ _ | _ / _ | _ / _ | _ | | | | | | | |_) | (_| | | | | (_| | _/|_|_| |_| |_| ._/ _,_|_| |_|_,_| |_| 8.0.0(BUILD68) Welcome to CommVault Systems, Inc. Simpana.For support please visit /support, or send an email , or call US/CANADA (Toll Free) (877) 780-3077; INTERNATIONAL (732) 571-2160. This script will install Simpana backup system on this machine. Log messages will be sent to /tmp/.gxsetup/cvpkgadd.log. Press to start . 2.接受license 協議:Simpana 8.0.0 (BUILD68) AIX 5.3-EULA Press to review Simpana End User License Agreement . Simpana 8.0.0 (BUILD68) AIX 5.3- CommVault Systems, Inc. End User License and Limited Warranty Agreement CommVault(r) Simpana(r) Software Release 8.0.0 (including Microsoft(r) SQL Server(tm) 2005 Enterprise Edition, SQL Server(tm) 2005 Express Edition and Windows Pre-Installation Environment) End User License Agreement IMPORTANT- READ CAREFULLY: THIS END USER LICENSE AGREEMENT (EU- LA) IS A LEGAL AGREEMENT BETWEEN YOU (EITHER AS AN INDIVIDUAL OR ENTITY) (YOU ) AND COMMVAULT SYSTEMS, INC. (COMMVAULT) FOR THE ABOVE-REFERENCED SOFTWARE PRODUCT(S), WHICH INCLUDES COMPUTER SOFTWARE AND MAY INCLUDE ASSOCIATED MEDIA, AND ONLINE OR ELEC- TRONIC DOCUMENTATION (SOFTWARE). BY INSTALLING, COPYING OR OTH- ERWISE USING THE SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS OF THIS EULA. IF YOU DO NOT AGREE TO THE TERMS OF THIS EULA, DO NOT INSTALL OR USE THE SOFTWARE. YOU SHALL INFORM ALL USERS OF THE SOFTWARE OF THE TERMS AND CONDITIONS OF THIS EULA. Copyright Acknowledgment (c)1997-2008 CommVault Systems, Inc. All rights reserved.Do you accept the terms of this license agreement? Yes3.開始安裝軟件到物理結點上:Simpana 8.0.0 (BUILD68) AIX 5.3-Cluster SupportCertain Simpana packages can be associated with a virtual IP, or in other words, installed on a virtual machine belonging to some cluster. At any given time the virtual machines services and IP address are active on only one of the clusters servers. The virtual machine can fail-over from one server to another, which includes stopping services and deactivating IP address on the first server and activating the IP address/services on the other server.You now have a choice of performing a regular Simpana install on the physical host or installing Simpana on a virtual machine for operation within a cluster.Most users should select Install on a physical machine here. 1) Install on a physical machine 2) Install on a virtual machine 3) Exit this menuYour choice: 1 Simpana 8.0.0 (BUILD68) AIX 5.3-Physical Machine Host NameNetwork interfaces with the following IPs have been found available on your system. One of these interfaces should be associated with the physical machinebeing installed. It will also be used by the CommServe to initiate connectionsto the physical machine. Note that you will be able to additionally customize Datapipe Interface Pairs used for the backup data traffic later in the SimpanaJava GUI.4.選擇相應的網卡作為備份接口Please select the correct network interface below. 1) p595_2 (3) 2) p595_com (04)Interface number: 1 Simpana 8.0.0 (BUILD68) AIX 5.3-Physical Machine Host NamePlease verify the physical machine interface name below. Make it as complete (with fully qualified domain name) as possible.Physical Machine Host Name: p595_2 Simpana 8.0.0 (BUILD68) AIX 5.3-Physical Machine Client NamePlease specify the client name for this machine.It does not have to be the network host name: you can enter any word here without spaces. The only requirement is that it must be unique on the CommServe.Physical Machine Client Name: p595_2 Simpana 8.0.0 (BUILD68) AIX 5.3-Install Simpana on physical machine p595_25.選擇需要安裝的模塊:Select the Simpana module that you would like to install. 1) Media Agent 2) FileSystem IDA 3) Proxy FileSystem IDA 4) Oracle IDA 5) Oracle SAP IDA 6) SAPMAXDB IDA 7) Informix IDA 8) Sybase IDA 9) DB2 IDA 10) Lotus Notes DB IDA 11) Data Archiver for UNIX 12) Continuous Data Replicator 13) Qsnap Driver 14) Image IDA for UNIX 15) NDMP Remote Server 16) NDMP Restore Enabler 17) Quick Recovery Agent 18) 1-Touch Boot Server Agent 19) Recovery Director for UNIX 20) SRM File System Agent 21) UNIX ImageLevel ProxyHost IDA 22) Data Classification 23) ExitModule number: 1 Simpana 8.0.0 (BUILD68) CVGxMA for AIX 5.3-Dependency CheckHere is a list and status of the dependent modules: 1) Base0 Module NOT installed 2) Base Module NOT installedProceeding with install/upgrade of the dependent modules .Simpana 8.0.0 (BUILD68) CVGxBase0 for AIX 5.3-Verifying binary compatibility .done.Simpana CVGxBase0 for AIX 5.3-Simpana Installation DirectoryPlease specify where you want us to install Simpana binaries.It must be a local directory and there should be at least 180MB of free space available. All files will be installed in a simpana subdirectory, so if you enter /opt, the files will actually be placed into /opt/simpana.6.選擇安裝路徑:Installation Directory: /opt Simpana will be installed in /opt/simpana.Simpana CVGxBase0 for AIX 5.3-Simpana Log DirectoryPlease specify where you want to keep Simpana log files.It must be a local directory and there should be at least 100MB of free space available. All log files will be created in a simpana/Log_Files subdirectory, so if you enter /var/log, the logs will actually be placed into /var/log/simpana/Log_Files.Log Directory: /var/log Simpana log files will be created in /var/log/simpana/Log_Files.Simpana CVGxBase0 for AIX 5.3-Simpana GroupMost of Simpana processes run with root privileges, but some are launched by databases and inherit database access rights. To make sure that registry and log files can be written to by both kinds of processes we can either make suchfiles world-writeable or we can grant write access only to processes belongingto a particular group, e.g. a simpana or a dba group.We highly recommend now that you create a new user group and enter its name inthe next setup screen. If you choose not to assign a dedicated group to Simpana processes, all temporary and configuration files will be created with -rw-rw-rw permissions.If youre planning to backup Oracle DB you should use dba group.Would you like to assign a specific group to Simpana? yes noSimpana 8.0.0 (BUILD68) CVGxBase0 for AIX 5.3-Binary Copy7.開始安裝軟件BASE模塊:Copying binaries .100% Unpacking Base64/libSnooper.so . 100% Verifying CRC32 for Base/cvfwd . Successfully copied 250 filesSimpana CVGxBase0 for AIX 5.3-Creating registry tree under /etc/CommVaultRegistry . done.Installing startup scripts into /etc and modifying /etc/inittab . done.Creating /opt/simpana/Base/simpana .done.Creating /usr/bin/simpana .done.Creating /usr/bin/cvpkgrm .done.Creating /usr/bin/cvpkgcheck .done.Creating /usr/sbin/simpana .done.Creating /usr/sbin/cvpkgrm .done.Creating /usr/sbin/cvpkgcheck .done.Adjusting modes and permissions of Simpana filesSuccessfully installed CVGxBase0Proceeding with CVGxBase install . Simpana 8.0.0 (BUILD68) CVGxBase for AIX 5.3-Simpana 8.0.0 (BUILD68) CVGxBase for AIX 5.3-Instance Port NumbersEvery instance of Simpana should use a unique set of network ports to avoid interfering with other instances running on the same machine.The port numbers selected must be from the reserved port number range and havenot been registered by another application on this machine.Please enter the port numbers.Port Number for CVD : 8400 Port Number for EvMgrC: 8402 Simpana 8.0.0 (BUILD68) CVGxBase for AIX 5.3-Simpana Firewall ConfigVarious Simpana components need to communicate with each other: iDataAgents and MediaAgents establish connections to CommServe and talk to each other as well. If any of the involved parties are situated on the opposite sides of a firewall, Simpana should be made aware of it so that it could bind its pipeline sockets to open ports and could establish tunnels for control traffic.You must configure Simpana firewall services if there are other Simpana machines, which are expected to communicate with this one.Do you want to configure Simpana firewall services? no Simpana 8.0.0 (BUILD68) CVGxBase for AIX 5.3-CommServe Host NamePlease enter the hostname of the Simpana CommServe. It can be either short or long; the only requirement is that it must be resolvable by the name services configured on this machine.CommServe Name: commserv255Simpana 8.0.0 (BUILD68) CVGxBase for AIX 5.3-CommServe CheckCommServe: commserv255Trying to contact CommServe commserv255 1 of 3 .done.Validating client name and hostname from CommServe .done.Checking if CS is enabled for install authentication .done.Getting CommServe version .done.Verifying CommServe version .done.Getting CommServe Service Pack Level .done.Verifying CommServe Service Pack Level . done.Simpana CVGxBase for AIX 5.3-Simpana CVGxBase for AIX 5.3-Simpana Job Results DirectoryPlease specify the name for the JobResults directory.It must be a local directory and there should
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025至2030中國快餐店行業產業運行態勢及投資規劃深度研究報告
- 2025至2030中國工業污水處理行業產業運行態勢及投資規劃深度研究報告
- 2025至2030中國學生校服行業發展分析及發展前景與投資報告
- 2025至2030中國嬰兒推車和嬰兒車行業產業運行態勢及投資規劃深度研究報告
- 親子共讀春節的傳統習俗
- 《太陽系與宇宙的奧秘:小學天文教育教案》
- 《牛頓三大定律解析:高一物理力學基礎教案》
- 童話:勇敢的小獅子王作文11篇范文
- 綠水磐安五水齊下1000字10篇
- 青春感悟的抒情散文11篇范文
- 眼部帶狀皰疹護理查房課件
- 《集體經營性建設用地使用權出讓監管協議》示范文本(試點試行)
- 工作與個人生活平衡安排
- 施工組織設計(橫道圖+平面圖)
- 變形監測方案
- 《海底世界》的說課課件
- 土工試驗生產實習報告
- 工業相機與機器視覺知識考試題庫及答案
- 急性缺血性腦卒中靜脈溶栓治療護理新進展
- 六西格瑪(6Sigma)詳解及實際案例分析
- (幼兒學前教育)43 保育工作見實習觀察記錄表
評論
0/150
提交評論