對Oracle數(shù)據(jù)庫進(jìn)行容災(zāi)(Veritas Volume Replicator(VVR))_第1頁
對Oracle數(shù)據(jù)庫進(jìn)行容災(zāi)(Veritas Volume Replicator(VVR))_第2頁
對Oracle數(shù)據(jù)庫進(jìn)行容災(zāi)(Veritas Volume Replicator(VVR))_第3頁
對Oracle數(shù)據(jù)庫進(jìn)行容災(zāi)(Veritas Volume Replicator(VVR))_第4頁
對Oracle數(shù)據(jù)庫進(jìn)行容災(zāi)(Veritas Volume Replicator(VVR))_第5頁
已閱讀5頁,還剩16頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、對Oracle數(shù)據(jù)庫進(jìn)行容災(zāi)(Veritas Volume Replicator(VVR)) 2008-08-13 07:12:08標(biāo)簽: HYPERLINK /tagindex.php?keyword=%CA%FD%BE%DD%BF%E2 數(shù)據(jù)庫庫 HYPERLINK /tagindex.php?keyword=%C8%DD%D4%D6 容災(zāi) HYPERLINK http:/64239./# l # 推送到技術(shù)術(shù)圈 隨著全球信息化化時代的到來來,信息數(shù)據(jù)據(jù)越來越成為為企業(yè)關(guān)注的的焦點(diǎn),即在在各種自然災(zāi)災(zāi)害或者人為為破壞的情況況下,如何保保證生產(chǎn)數(shù)據(jù)據(jù)的安全和關(guān)關(guān)鍵業(yè)務(wù)的不不 HYPERLIN

2、K /searchwhatis/404/7420404.shtml 中斷運(yùn)行。傳傳統(tǒng)的保護(hù)方方法離線備份份、備份介質(zhì)質(zhì)異地保存在在一定程度上上可以解決上上述問題,但但為了能夠?qū)I(yè)務(wù)系統(tǒng)提提供更高的實(shí)實(shí)時性和可靠靠性,保證關(guān)關(guān)鍵業(yè)務(wù)7xx24不中斷斷,應(yīng)對激烈烈的市場競爭爭和提高客戶戶滿意度,企企業(yè)必須在 HYPERLINK /searchwhatis/250/6025750.shtml IIT系統(tǒng)圍繞繞“連續(xù)”(BC)主題題進(jìn)行構(gòu)建,實(shí)實(shí)施業(yè)務(wù)連續(xù)續(xù)/容災(zāi)備份份計(jì)劃,包括括業(yè)務(wù)連續(xù)性性、高可用性性管理、容災(zāi)災(zāi)、數(shù)據(jù)復(fù)制制和恢復(fù)方案案、安全等,下下面就對數(shù)據(jù)據(jù)復(fù)制技術(shù)做做一個簡單的的介紹。 根

3、據(jù)數(shù)據(jù)復(fù)復(fù)制運(yùn)行的位位置,可以將將數(shù)據(jù)復(fù)制方方式分為以下下四種:基于存儲(Storaag HYPERLINK /searchwhatis/246/5947746.shtml e-Baseed):代表表廠商有EMMC SRDDF、 HYPERLINK /searchwhatis/199/5948199.shtml IBMM PPRCC/GDPSS 、HP BusinnessCoopy、HDDS TruueCopyy等,特點(diǎn)對對主機(jī)透明,對對應(yīng)用系統(tǒng)的的影響較小,技技術(shù)成熟,有有較多的成功功案例,但是是投資較大,對對網(wǎng)絡(luò)連接的的要求也較高高。基于服務(wù)器器(Hostt-baseed):代表表廠商主要

4、是是Symanntec公司司的Veriitas VVolumee Repllicatoor (VVVR),是存存儲卷的復(fù)制制技術(shù)。需要要占用主機(jī)一一定的系統(tǒng)資資源?;诖鎯唤粨Q機(jī)( HYPERLINK /searchwhatis/378/5948878.shtml SAAN-Basedd):運(yùn)行于于掛接在存儲儲網(wǎng)絡(luò)上的專專用設(shè)備中,代代表廠商有CCISCO的的SANTaap,F(xiàn)allconSttor IPPStor,TTopio SANsaafe,DaataCorre SANNsymphhony, Asyncchronoous HYPERLINK /searchwhatis/127/6025

5、627.shtml Innterneet Mirrrorinng (AIIM)等?;跀?shù)據(jù)庫庫/軟件應(yīng)用用 :代表廠廠商有 HYPERLINK /searchwhatis/14/6093014.shtml Oraacle DDataGuuard,QQuest ShareePlex,IIBM- HYPERLINK /searchwhatis/144/5947644.shtml DBB2的遠(yuǎn)程QQ復(fù)制,SYYBASE的的復(fù)制服務(wù)器器(Repllicatiion Seerver) 等,這些些技術(shù)都是對對數(shù)據(jù)邏輯操操作的復(fù)制,屬屬于邏輯數(shù)據(jù)據(jù)復(fù)制,而其其它3種復(fù)制制的是數(shù)據(jù)卷卷中的數(shù)據(jù)變變化,屬于物物

6、理數(shù)據(jù)復(fù)制制。典型的邏邏輯數(shù)據(jù)復(fù)制制是通過數(shù)據(jù)據(jù)庫日志實(shí)現(xiàn)現(xiàn)的,優(yōu)點(diǎn)是是硬件投資小小,對生產(chǎn)系系統(tǒng)的影響比比較小,對主主、備用系統(tǒng)統(tǒng)的硬件平臺臺沒有選擇性性;可以在廣廣 HYPERLINK /searchwhatis/194/7352194.shtml 域網(wǎng)范圍內(nèi)使使用。但它對對數(shù)據(jù)庫系統(tǒng)統(tǒng)有嚴(yán)格的要要求,并且主主、備用系統(tǒng)統(tǒng)必須使用相相同的數(shù)據(jù)庫庫版本。上面介紹的的主要的各廠廠商方案和產(chǎn)產(chǎn)品可以參見見下圖:本文主要介介紹基于主機(jī)機(jī)和邏輯卷的的數(shù)據(jù)復(fù)制VVVR。VERITTAS的VVVR(Verritas Volumme Repplicattor)是用用于有效的災(zāi)災(zāi)難恢復(fù)的數(shù)數(shù)據(jù)復(fù)制軟件件,可

7、以連續(xù)續(xù)對應(yīng)用數(shù)據(jù)據(jù)進(jìn)行一個或或者多個的拷拷貝保護(hù)。具具有的優(yōu)點(diǎn)主主要有:高性性能,距離不不限,支持異異構(gòu)的存儲和和 HYPERLINK /searchwhatis/250/7333750.shtml 操作系統(tǒng),對對數(shù)據(jù)的連續(xù)續(xù)保護(hù),支持持同步和異步步復(fù)制。VVR系統(tǒng)統(tǒng)架構(gòu)如下圖圖:VVR具有的的系統(tǒng)特性如如下:(1) 最最高支持322個遠(yuǎn)程節(jié)點(diǎn)點(diǎn),可以通過過基于 HYPERLINK /searchwhatis/191/6025691.shtml IP的LANN或者 HYPERLINK /searchwhatis/43/6026543.shtml WANN網(wǎng)絡(luò);(2) 通通過對邏輯卷卷的同步和

8、異異步復(fù)制模式式,保證數(shù)據(jù)據(jù)的完整性和和一致性;(3) 確確保備用節(jié)點(diǎn)點(diǎn)和主節(jié)點(diǎn)的的數(shù)據(jù)具有相相同的寫入順順序;(4) 支支持對網(wǎng)絡(luò)帶帶寬的管理和和定義,支持持多鏈路的連連接;(5) 支支持對備用節(jié)節(jié)點(diǎn)的脫機(jī)操操作,以便在在備用節(jié)點(diǎn)進(jìn)進(jìn)行查詢(例例如DSS決決策支持系統(tǒng)統(tǒng))或者數(shù)據(jù)據(jù)備份;(6) 易易管理:同時時支持命令行行和圖形界面面(VEA);(7) 主主備節(jié)點(diǎn)之間間支持多種異異構(gòu)存儲;(8) 支支持不同 HYPERLINK /searchwhatis/250/7333750.shtml 操作作系統(tǒng)平臺之之間的復(fù)制;(注:在本本文中,因?yàn)闉樵O(shè)計(jì)到 HYPERLINK /searchwhat

9、is/14/6093014.shtml Orracle數(shù)數(shù)據(jù)庫的復(fù)制制,所以主備備操作系統(tǒng)必必須同一類型型,比如必須須都是Sollaris平平臺,版本完完全相同的OOraclee版本)(9) 支支持主流關(guān)系系數(shù)據(jù)庫系統(tǒng)統(tǒng),包括Orracle, HYPERLINK /searchwhatis/144/5947644.shtml DB2,Syybase和和Inforrmix,數(shù)數(shù)據(jù)文件的存存放格式包括括邏輯卷(裸裸設(shè)備)或者者 HYPERLINK /searchwhatis/192/7352192.shtml 文件系統(tǒng);(10) 支持共享的的集群環(huán)境中中的邏輯卷復(fù)復(fù)制,比如OOraclee HYP

10、ERLINK /searchwhatis/466/6028466.shtml RAC ( HYPERLINK /searchwhatis/32/6093532.shtml Reall Appllicatiion Cllusterrs) (注注:本文中采采用的是單節(jié)節(jié)點(diǎn)Oraccle復(fù)制);(11) 支持Verritas volumme HYPERLINK /searchwhatis/23/5949023.shtml sett;(12) 支持 HYPERLINK /searchwhatis/477/6025977.shtml PDCC (Porrtablee Dataa Conttainerr)

11、環(huán)境的數(shù)數(shù)據(jù)復(fù)制;VVR數(shù)據(jù)據(jù)復(fù)制系統(tǒng)主主要由下面五五個組件組成成: Repplicatted Voolume Groupp (RVGG) 復(fù)制卷卷組RVG是位位于VxVMM 磁盤組(DG)內(nèi)的的一組邏輯卷卷,RVG隸隸屬于磁盤組組的一部分,通通過定義這些些邏輯卷,應(yīng)用對邏輯輯卷的寫操作作都可以保持持以主節(jié)點(diǎn)上上同樣的順序序,來寫到備備用節(jié)點(diǎn)上。對于多數(shù)數(shù)數(shù)據(jù)庫系統(tǒng)來來說,都是由由一些特定的的 HYPERLINK /searchwhatis/292/7333792.shtml 進(jìn)程完成對磁磁盤的寫操作作,比如Orracle系系統(tǒng)中的LOOWR和DBWRR進(jìn)程,而這這些寫操作總總是依照著一一定順

12、序,從從而來保證實(shí)實(shí)例恢復(fù)中數(shù)數(shù)據(jù)的一致和和完整。比如如數(shù)據(jù)庫變化化通常在寫入入日志文件后后才會寫入數(shù)數(shù)據(jù)文件,所所以當(dāng)日志文文件和數(shù)據(jù)文文件屬于要復(fù)復(fù)制的不同邏輯卷的時時候,它們必必須被定義到到同一組RVVG中。每組RVGG最多可以包包括20488個數(shù)據(jù)卷。下面介紹SSRL和RLLINK,它它們也包括在在RVG中。 Stoorage Repliicatorr Log (SRL)SRL用于于記錄RVGG中數(shù)據(jù)寫操操作的日志,并并循環(huán)被使用用。每個RVVG包括一個個SRL。數(shù)數(shù)據(jù)在寫入RRVG中的卷卷之前,首先先要寫到主節(jié)節(jié)點(diǎn)的SRLL中。從VxVMM的角度來看看,SRL是是一個單獨(dú)的的卷,因?yàn)?/p>

13、所所有的寫操作作首先要寫到到SRL中,這這個卷需要有有較好的寫性性能,所以多多數(shù)情況下需需要對這個卷卷進(jìn)行條帶化化,并且在不不同的盤上 HYPERLINK /searchwhatis/276/5948776.shtml mmirrorr以保護(hù)數(shù)據(jù)據(jù),同時數(shù)據(jù)據(jù)卷和SRLL卷最好分布布在不同的物物理磁盤上以以得到更好的的性能。不允許人工工直接對SRRL進(jìn)行訪問問。 Repplicattion LLinkRRLINK用于連接主主RVG和備備用RVG之之間的一個“鏈鏈接”,一個個主的RVGG最多可以有有32個RLLINK。可可以定義RLLINK的多個屬性性來調(diào)整數(shù)據(jù)據(jù)復(fù)制的參數(shù)數(shù),比如指定定復(fù)制的網(wǎng)

14、絡(luò)絡(luò)。 Datta Chaange MMap (DDCM) Repplicatted Daata Seet ( HYPERLINK /searchwhatis/26/6093526.shtml RDDS)一個RDSS包括了所有有的主節(jié)點(diǎn)和和備用節(jié)點(diǎn)的的復(fù)制卷組(RVG)。RRDS不是一一個具體存在在的對象,而而是一個VVVR復(fù)制技術(shù)術(shù)中的一個概概念。在異步模式下VVVR的數(shù)據(jù)據(jù)復(fù)制和數(shù)據(jù)據(jù)流向在同步模式式下VVR的的數(shù)據(jù)復(fù)制和和數(shù)據(jù)流向另外,VVVR是Verritas Volumme Mannager (VxVMM)的一個單單獨(dú)的opttion,需需要單獨(dú)的llicensse。Verittas

15、 Voolume Repliicatorr 的安裝主備節(jié)點(diǎn)硬硬件和軟件配配置和版本如如下:主節(jié)點(diǎn) 機(jī)機(jī)器名:lxxsfracc01 HYPERLINK /searchwhatis/347/7786847.shtml Sun MMicrossystemms Sunn Firee X41000 Serrver HYPERLINK /searchwhatis/250/7333750.shtml 操作系統(tǒng) solarris10uu4 x866_64VVR版本本: Verritas Volumme Repplicattor 5.0 GA HYPERLINK /searchwhatis/14/609301

16、4.shtml Oraclle 版本: Oraccle 100gR2 EEnterpprise Editiion磁盤陣列: HYPERLINK /searchwhatis/378/5948878.shtml SAN/ HHDS AMMS 10000Publiic網(wǎng)卡:ee1000gg0 私有(復(fù)制)網(wǎng)卡卡:e10000g1備用節(jié)點(diǎn)機(jī)機(jī)器名:lxxsfracc02軟硬件環(huán)境境與主節(jié)點(diǎn)相相同兩個節(jié)點(diǎn)分分別安裝VVVR和vxffs,安裝方方法相同,以以lxsfrrac02為為例:放入安裝介介質(zhì),一般SSolariis都由voold HYPERLINK /searchwhatis/292/733379

17、2.shtml 進(jìn)程自動moount HYPERLINK /searchwhatis/66/5947066.shtml CCD,如果需要手工 mount:mountFhsfsoro/dev/dsk/c0t6d0s2/cdrom rootlxsfrac02#cd./volume_replicator/ rootlxsfrac02#ls HYPERLINK /searchwhatis/434/5947434.shtml copyrightdocsinstallvvrpkgsrelease_notesscriptstoolsuninstallvvr rootlxsfrac02#ls-l total2

18、4 -rw-r-r-1rootroot476Dec152006copyright drwxrwxr-x2rootroot512Jun2110:13docs -rwxr-xr-x1rootroot2283Apr142007installvvr drwxrwxr-x3rootroot1024Jun2110:13pkgs drwxrwxr-x2rootroot512Jun2110:13release_notes drwxrwxr-x3rootroot512Jun2110:13scripts drwxrwxr-x3rootroot512Jun2110:13tools -rwxr-xr-x1rootro

19、ot2283Apr142007uninstallvvr rootlxsfrac02#./installvvrlxsfrac02 VeritasVolumeReplicator5.0InstallationProgram Copyright(c)2007SymantecCorporation.All HYPERLINK /searchwhatis/171/6093671.shtml rightsreserved.Symantec,theSymantecLogoaretrademarksorregisteredtrademarksofSymantecCorporationoritsaffiliat

20、esintheU.S.andothercountries.Othernamesmaybetrademarksoftheirrespectiveowners. TheLicensedSoftwareandDocumentationaredeemedtobecommercial HYPERLINK /searchwhatis/364/5947364.shtml computersoftwareandcommercialcomputersoftwaredocumentationasdefinedinFARSections12.212andDFARSSection227.7202. Logsforin

21、stallvvrarebeingcreatedin/var/tmp/installvvr-mrk46Y. Initial HYPERLINK /searchwhatis/494/6026494.shtml systemcheck: CheckingVVRinstallationonlxsfrac02notinstalled Checking HYPERLINK /searchwhatis/327/6025327.shtml architectureonlxsfrac02i386 VeritasVolumeReplicator5.0InstallationProgram Checkingsyst

22、emlicensing Installinglicensingpackages VVRisnotlicensedonlxsfrac02 EnteraVVRlicense HYPERLINK /searchwhatis/25/5948525.shtml keyforlxsfrac02:* *successfullyregisteredonlxsfrac02 PermanentVVRlicenseregisteredonlxsfrac02 Doyouwanttoenteranotherlicensekeyforlxsfrac02?y,n,q(n) VeritasVolumeReplicator5.

23、0InstallationProgram Checkinginstalledpackagesonlxsfrac02 VeritasVolumeReplicator5.0InstallationProgram VVRcanbeinstalledwithoutoptionalpackagestoconservediskspace. Additionalpackagesaretypicallyinstalledtosimplifyfutureupgrades. 1)RequiredVeritasVolumeReplicatorpackages-855MBrequired 2)AllVeritasVo

24、lumeReplicatorpackages-861MBrequired 3)StorageFoundationEnterprisepackages-911MBrequired Selectthepackagestobeinstalledonallsystems?1-3,q,?(3)2 VeritasVolumeReplicator5.0InstallationProgram ThefollowingVVRpackageswillbeinstalled: VRTSperlVeritas HYPERLINK /searchwhatis/6/6026006.shtml Perl5.8.8Redis

25、tribution VRTSvlicVeritasLicensing VRTSicscoSymantecCommonInfrastructure VRTSpbxSymantecPrivateBranchExchange VRTSsmfSymantecServiceManagementFramework VRTSatSymantecProductAuthenticationService VRTSobc33VeritasEnterpriseAdministratorCoreService VRTSobVeritasEnterpriseAdministratorService VRTSobguiV

26、eritasEnterpriseAdministrator VRTSccgVeritasEnterpriseAdministratorCentralControlGrid VRTSmhVeritasStorageFoundationManagedHostbySymantec VRTSaaVeritasEnterpriseAdministratorActionAgent VRTSsptVeritasSoftwareSupportTools SYMClmaSymantecLicenseInventoryAgent VRTSvxvmVeritasVolumeManagerBinaries VRTSd

27、saVeritasDatacenterStorageAgent VRTSfsproVeritasFileSystemManagementServicesProvider VRTSvmmanVeritasVolumeManagerManualPages VRTSvmdocVeritasVolumeManagerDocumentation PressReturntocontinue: .continued: VRTSdcliVeritasDistributedCommandLineInterface VRTSallocVeritasVolumeManagerIntelligentStoragePr

28、ovisioning VRTSvmproVeritasVolumeManagerManagementServicesProvider VRTSddlprVeritasDeviceDiscoveryLayerServicesProvider VRTSvrproVeritasVolumeReplicatorClientExtensionandProviderfor VeritasEnterpriseAdministrator VRTSvcsvrVeritasClusterServerAgentsforVVR VRTSjreVeritas HYPERLINK /searchwhatis/403/59

29、48403.shtml JavaRuntimeEnvironmentRedistribution VRTSjre15VeritasJavaRuntimeEnvironmentRedistribution VRTSwebVeritasJavaWebServer VRTSvrwVeritasVolumeReplicatorWebConsole VRTSvrdocVeritasVolumeReplicatorDocumentation PressReturntocontinue: CheckingforanyAPdriverissuesonlxsfrac02None Acopyofaprevious

30、VxVM HYPERLINK /searchwhatis/388/5947388.shtml configurationispresentonthesystemlxsfrac02. Doyouwantto HYPERLINK /searchwhatis/144/6093644.shtml restoreandreusethepreviousVxVMconfigurationofsystemlxsfrac02y,n,q,?(y)n VeritasVolumeReplicator5.0InstallationProgram InstallingVVR:100% Installationcomple

31、tedsuccessfullyonallsystems Itisoptionalto HYPERLINK /searchwhatis/390/5947390.shtml configureVVRnow.IfyouchoosetoconfigureVVRlater,youcaneitherdosomanually,orruntheinstallvvr-configure HYPERLINK /searchwhatis/311/5947311.shtml command.The HYPERLINK /searchwhatis/315/6026315.shtml productinstallatio

32、nscriptscanbefoundin/opt/VRTS/installdirectory AreyoureadytoconfigureVVR?y,n,q(y) Theenclosur HYPERLINK /searchwhatis/246/5947746.shtml e-basednamingschemeisafeatureofVeritasVolumeManager.Itallowsonetoreferencedisksusingasymbolicnamethatismoremeaningfulthantheoperatingsystemsnormaldevice HYPERLINK /

33、searchwhatis/215/6025215.shtml accessname.Thissymbolicnameistypicallyderivedfromthearrayname. Doyouwantto HYPERLINK /searchwhatis/23/5949023.shtml setuptheenclosure-basednamingscheme?y,n,q,?(n)y VeritasVolumeReplicator5.0InstallationProgram VeritasVolumeManagerdefaultdiskgroupnameconfiguration: Many

34、VeritasVolumeManagercommandsaffectthecontentsorconfigurationofadiskgroup.Suchcommandsrequirethattheuserspecifyadiskgroup.Thisisaccomplishedbyusingthe-goptionofacommandorsettingtheVXVM_DEFAULTDGenvironmentvariable.Analternativetothesetwomethodsforsomecommandsistoconfigurethenameofthedefaultdiskgroupo

35、fasystem. Note:ThedefaultdiskgroupfeatureisnotavailablewiththeDCLIvxadm(1M)andvxquery(1M)commands.Whenusingthesecommands,arequireddiskgroupmustbeexplicitlyidentifiedusingthe-goption. Doyouwanttosetupadefaultdiskgroupforeachsystem?y,n,q,?(y)n VeritasVolumeReplicator5.0InstallationProgram Followingare

36、thedefaultportsthatwillbeusedbyVVRonlxsfrac02: PortforVVRheartbeatcommunication:4145 Portforvradmind HYPERLINK /searchwhatis/89/5947589.shtml daemon:8199 Portforvxrsyncddaemon:8989 Portsfor HYPERLINK /searchwhatis/99/5947599.shtml datareplication:Anonymous-Ports TheportsindicatedforVVRheartbeatsandv

37、radmindare HYPERLINK /searchwhatis/195/5948195.shtml IANAassigned. The HYPERLINK /searchwhatis/199/6026199.shtml portsettingsshouldbeidenticalforsystemsthatwillbepartofthesameReplicatedDataSet.Theyshouldalsobeidenticalforallthesystemsina HYPERLINK /searchwhatis/247/5947247.shtml cluster. Doyouwantto

38、changeanyoftheVVRportsonlxsfrac02?y,n,q(n) VeritasVolumeReplicator5.0InstallationProgram VVRStatisticsCollectionTool TheVVRadministrativedaemonvradmindcancollectandmaintainvarious statisticswhicharehelpfulinsolvingVVR HYPERLINK /searchwhatis/0/6026000.shtml performanceissues.This collectioncanbetune

39、dusingafewtunableslikethe HYPERLINK /searchwhatis/493/5947993.shtml frequencyfor gatheringthestatisticsandthenumberofdaysforwhichthecollected statisticsshouldbepreserved,afterwhichtheearlierstatisticsare automaticallydeleted. ThefrequencyofVVRstatisticscollectiononlxsfrac02issettoper10seconds. Doyou

40、wanttochangethefrequencyofVVRstatisticscollectiononlxsfrac02?y,n,q(n) ThemaximumnumberofdaysforwhichVVRstatisticscanberetainedissetto3onlxsfrac02 DoyouwanttochangethemaximumnumberofdaysforretainingVVRstatisticsonlxsfrac02?y,n,q(n) VeritasVolumeReplicator5.0InstallationProgram ConfigurationofVVRtunab

41、les(Fortheadvanceduser) DoyouwanttoviewormodifyVVRtunablesonlxsfrac02?y,n,q,?(n) VeritasVolumeReplicator5.0InstallationProgram VerifytheinstallsystemsFullyQualifiedHostnames. Queryingfullyqualifieddomainnameof HYPERLINK /searchwhatis/128/5948128.shtml hostlxsfrac02fail PressReturntocontinue: Unablet

42、ofindFQHNforlxsfrac02! Enterthefullyqualifiedhostnameoflxsfrac02orQUITtoquitinstall. Enterthefullyqualifiedhostname:lxsfrac02 VeritasVolumeReplicator5.0InstallationProgram Choosehowthisinstallwillbemanaged. Thisproductcanconfiguredoneofthetwofollowingways: *StorageFoundationManagementServermanagedho

43、st(Recommended) *Standalonehost Pre-requisitesforStorageFoundationManagementServermanagedhost: *AStorageFoundationManagementServer(SFMS)isconfigured *SFMSshouldbecurrentlyrunningandfullyoperational. *AuthenticationBrokerthatisusedbySFMSshouldberunning. Thefollowing HYPERLINK /searchwhatis/11/6025511

44、.shtml informationwouldberequestedduringconfiguration: *ThehostnameoftheSFMS *PreviouslysetSFMS HYPERLINK /searchwhatis/128/6025128.shtml agentaccount HYPERLINK /searchwhatis/435/6025935.shtml password Therearenopre-requisitesfordeployingasastandalonehost. EnablingStorageFoundationManagementServerma

45、nagementsimplifiesandimprovesmanagementofthecomplexdatacenter resources,reducingplannedandunplanneddown HYPERLINK /searchwhatis/216/6092716.shtml time. EnableStorageFoundationManagementServerManagement?y,n,q(y)n VeritasVolumeReplicator5.0InstallationProgram VerifytheinstallsystemsFullyQualifiedHostn

46、ames. ConfiguringVEAinSTANDALONEmodeonlxsfrac02ok Configuringgridnodeonlxsfrac02ok Registeringgridnodeonlxsfrac02ok Configuringactionagentonlxsfrac02ok Registeringactionagentonlxsfrac02ok RegisteringStorageAgentonlxsfrac02ok DoyouwanttostartVeritasVolumeReplicatorprocessesnow?y,n,q(y) VeritasVolumeR

47、eplicator5.0InstallationProgram StartingVVR:100% Startupcompletedsuccessfullyonallsystems Youdeclinedtosetupthenameofthedefaultdiskgroupforlxsfrac02. Installationlogfiles,summary HYPERLINK /searchwhatis/398/5947898.shtml file,andresponsefilearesavedat: /opt/VRTS/install/logs/installvvr-mrk46Y Toenab

48、leDynamicMulti-Pathing(DMP),MPxIOmustbedisabled.RefertotheStorageFoundationRelease HYPERLINK /searchwhatis/474/6093474.shtml NotesforfurtherdetailsondisablingMPxIO. 檢查vradmindeamon: rootlxsfrac02#ps-ef| HYPERLINK /searchwhatis/243/6093243.shtml grepvrad|grep-vgrep root98081016:24:47?0:00/usr/sbin/vr

49、admind 安裝VeritasFileSystem:安裝過程略 rootlxsfrac02#cdfile_system/ rootlxsfrac02#ls-l total22 -rw-r-r-1rootroot476Dec152006copyright drwxrwxr-x2rootroot512Jun2110:12docs -rwxr-xr-x1rootroot2283Apr142007installfs drwxrwxr-x3rootroot1024Jun2110:12pkgs drwxrwxr-x2rootroot512Jun2110:12release_notes drwxrwxr-

50、x3rootroot512Jun2110:12scripts -rwxr-xr-x1rootroot2283Apr142007uninstallfs rootlxsfrac02#./installfslxsfrac02Veritass Voluume Reeplicaator VVVR的配置置 1. 兩個個節(jié)點(diǎn)上都需需要做:修改兩個節(jié)節(jié)點(diǎn)的/ettc/hossts10.1998.90.122 llxsfraac0110.1998.90.139 llxsfraac02192.1168.0.122 llxsfraac01-ppriv192.1168.0.139 llxsfraac02-ppriv分

51、別創(chuàng)建私私有網(wǎng)絡(luò)(專專有),建議議數(shù)據(jù)復(fù)制使使用專用網(wǎng)絡(luò)絡(luò)。rootlxsfrrac01 # ifcconfigg e10000g1 pplumb 192.1168.0.122 HYPERLINK /searchwhatis/359/6093359.shtml nnetmassk 250 uprootlxsfrrac02 # ifcconfigg e10000g1 pplumb 192.1168.0.139 nnetmassk 250 uprootlxsfrrac01 # HYPERLINK /searchwhatis/102/6026102.s

52、html pinng 19399192.1168.0.139 iis aliive創(chuàng)建相同名名稱的磁盤組組(含有最少少兩個磁盤),相同名稱稱數(shù)據(jù)卷orravol,創(chuàng)創(chuàng)建復(fù)制日志志卷(SRLL),分別在本地地安裝 HYPERLINK /searchwhatis/14/6093014.shtml Oraacle 110gR2.(安裝Orracle過過程略。)rootlxsfrrac01 # vxddg iniit oraadg AMMS_WMSS0_2 AAMS_WMMS0_3rootlxsfrrac01 # vxaassistt -g ooradg make oravool

53、10ggrootlxsfrrac01 # vxeedit -g oraadg HYPERLINK /searchwhatis/23/5949023.shtml seet useer=oraacle ggroup=dba mmode=6644 orravolrootlxsfrrac01 # vxaassistt -g ooradg make srl 8800m2.在備用用節(jié)點(diǎn)上修改改配置文件/etc/vvx/vraas/.rddg,讓其包包含主節(jié)點(diǎn)上上的diskk grouup ID(這里是111939885774.38.lxxsfracc01)。當(dāng)當(dāng)創(chuàng)建備用RRVG時,這這個文件用來來對主節(jié)點(diǎn)

54、的的授權(quán)??梢酝ㄟ^vvxprinnt l來來得到dissk grooup IDDrootlxsfrrac02 # vi /etc/vx/vrras/.rrdg119399857744.38.llxsfraac01/etcc/vx/vvras/.rdg 43 liines, 1544 charaacterss3.在主節(jié)節(jié)點(diǎn)上:創(chuàng)建vxffs HYPERLINK /searchwhatis/192/7352192.shtml 文件系統(tǒng)統(tǒng)mountt -F vvxfs -o larrgefilles /ddev/vxx/dsk/oradgg/oravvol /ooracleechownn oracc

55、le:dbba /orracle切換到orracle用用戶使用dbbca建庫,并并且所有數(shù)據(jù)據(jù)文件選擇/oraclle目錄創(chuàng)建Priimary RVG:rootlxsfrrac01 # vraadmin -g orradg ccreateepri oora_rvvg oraavol ssrl其中的orravol是是要復(fù)制的數(shù)數(shù)據(jù)卷列表,當(dāng)當(dāng)多于一個時時,用逗號隔隔開。創(chuàng)建Seccondarry RVGG:rootlxsfrrac01 # vraadmin -g orradg aaddsecc ora_rvg llxsfraac01-ppriv llxsfraac02-ppriv設(shè)置復(fù)制方方式為

56、異步:rootlxsfrrac01 # vraadmin -g orradg sset orra_rvgg lxsffrac022-privv HYPERLINK /searchwhatis/480/6026480.shtml syncchronoous=offf開始復(fù)制: rootlxsfrac01#vradmin-goradg-astartrepora_rvg MessagefromPrimary: VxVMVVRvxrlinkWARNINGV-5-1-3359Attachingrlinktonon-emptyrvg.Autosyncwillbeperformed. VxVMVVRvxrl

57、inkINFOV-5-1-3614Secondary HYPERLINK /searchwhatis/99/5947599.shtml datavolumesdetectedwithrvgora_rvgasparent: VxVMVVRvxrlinkINFOV-5-1-6183oravol:len=20971520primary_datavol=oravol VxVMVVRvxrlinkINFOV-5-1-3365Autosyncoperationhasstarted rootlxsfrac01# rootlxsfrac01#vradmin-goradg-fstartrepora_rvg Vx

58、VMVVRvradminINFOV-5-52-1203ReplicationtoSecondary HYPERLINK /searchwhatis/128/5948128.shtml hostlxsfrac02-privalreadystarted.檢查相關(guān)信信息和狀態(tài),顯顯示數(shù)據(jù)復(fù)制制過程,可以以通過使用-i參數(shù)指定定interrvalrootlxsfrac01#vxrvg-goradggetrlinksora_rvg rlk_lxsfrac02-priv_ora_rvg rootlxsfrac01#vxrlink-goradgstatusrlk_lxsfrac02-priv_ora_rvg

59、 FriNov0217:01:222007 VxVMVVRvxrlinkINFOV-5-1-4464Rlinkrlk_lxsfrac02-priv_ora_rvgisinAUTOSYNC.9888256Kbytesremaining. rootlxsfrac01#vxrlink-goradgstatusrlk_lxsfrac02-priv_ora_rvg FriNov0217:02:082007 VxVMVVRvxrlinkINFOV-5-1-4464Rlinkrlk_lxsfrac02-priv_ora_rvgisinAUTOSYNC.9375488Kbytesremaining. root

60、lxsfrac01#vxrlink-goradgstatusrlk_lxsfrac02-priv_ora_rvg FriNov0217:13:262007 VxVMVVRvxrlinkINFOV-5-1-4464Rlinkrlk_lxsfrac02-priv_ora_rvgisinAUTOSYNC.1901824Kbytesremaining. rootlxsfrac01#vxrlink-goradgstatusrlk_lxsfrac02-priv_ora_rvg FriNov0217:19:162007 VxVMVVRvxrlinkINFOV-5-1-4467Rlinkrlk_lxsfrac

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論