POWERSOLUTIONSNovember200392BuildingaHighlyScalableandAvailableDataEnvironmentforOracle9iRACToprovideahighlyscalableandavailabledatabaseenvironmentforOracle9iRealApplicationClusters(RAC),administratorsmustestablishahighlyavailablestorageinfrastructure.
Astorageareanetwork(SAN)canprovideredundantpathstostorage,andrunningEMCPowerPathcanleveragethisredundancybyprovidingamechanismforpathfailoverinanOracle9iRACinfrastructure.
Intoday'sbusinessenvironment,highavailabilityisrequiredformission-criticalapplications.
TheOracle9irelationaldatabasemanagementsystem(RDBMS)ishighlyavailableandscalable.
TheOracle9iRealApplicationClusters(RAC)optionenablestheOracle9iRDBMStobeconfiguredinaclusterdatabasearchitecturewheremul-tiplenodessharethesamestorage.
Oracle9iRACprovideshighavailability;ifonenodefails,theotherstakeoverandprovideuninterruptedaccesstothedatabase.
However,ifonlyoneI/Opathexistsfromeachnodetothesharedstor-ageinsuchanenvironment,thisI/Opathpotentiallybecomesasinglepointoffailure.
AtypicalOracle9iconfigurationincludesastorageareanetwork(SAN),whichcanhelpprovideahighlyavailabledatainfrastructurebyusingredundantcompo-nentstoensurethatnocomponentbecomesasinglepointoffailure.
AFibreChannel–basedSANfabricsupportsmultipathroutingbetweenSANswitches.
Inatypicaltopology,anodehasmultipleFibreChannelhostbusadapters(HBAs),eachofwhichareconnectedtothesameSAN,resultinginmultiplepathstothesamedevice(seeFigure1).
SANstoragedevicescanalsoacceptmultipleFibreChannelconnections.
RedundantpathsinaSANprovidefailovercapabilitywhenanycomponentinthedatapathfails.
Multiplepathsalsoenhanceefficiency,allowingadministratorstoloadbalanceSANtrafficbyconsideringI/Oacrossallavailablepaths.
Indoingso,theSANtakesadvantageoftheaddi-tionalbandwidthprovidedbyeachphysicalconnection.
AlthoughredundantI/Opathsarebeneficialforloadbalancingandlinkfailover,theycancreatecomplications.
BecauseeachdeviceonaSANappearsasaSCSIIDoneachHBAthatisconnectedtotheSAN,asystemwithmultipleHBAsconnectedtotheSANwillbehaveasifeachdeviceoneachpathisaseparateSCSIdevice.
Thus,theoperatingsystembehavesasthoughmultipleENTERPRISECLUSTERENVIRONMENTBYZAFARMAHMOOD,PAULRAD,ANDROBERTNADONstorageresourcesexistwheninfactthereareonlymultiplepathstothesameresource.
Pointingtothesamestoragedevicealongdifferentpathscouldpotentiallycausedatacorruptionandsystemcrashes.
Topreventsuchproblems,administratorscaninstallpathmanagementsoftware,suchasEMCPowerPath,oneachnodeintheSAN.
PowerPathenablesmultipleI/Opathstothesharedstoragebymaskingthepaths,andpresentstheoperatingsystemwiththeappearanceofasingleSCSIconnection.
ThismaskingensuresthatthenodereceivesasingleviewofthestoragedevicesacrossmultipleHBAs.
PowerPathalsoautomaticallydetectsavailablepaths,restoresfailedpaths,andloadbalancesI/Oacrossallpaths.
WhenintegratedinanOracle9iRACenvironment,PowerPathprovideshighlyavailable,scalable,andfault-tolerantsharedstorage.
UsingPowerPathforpathfailuredetectionEMCPowerPathhelpsprovidehighavailabilitybyautomaticallydetectingandrestoringfailedpathswhilestoragearrays,nodes,andapplicationsremainavailable.
ShouldanHBA,astorageproces-sor,oracablefail,PowerPathcompletesanI/Orequestthroughanotheravailablechannel,helpingpreventtheinterruptionofdatatoanapplication.
PowerPathalsoprovidesautomaticonlinepathrecoveryafterthepathisrepaired,whichcanreduceplannedout-agestorestoreservices.
PowerPathvirtualdevicesmappathstostoragePowerPathresidesonanodeasasoftwarecomponentbetweenOracle9iRAC,theOracleclusterfilesystem(OCFS),andtheHBAdevicedriverlayer(seeFigure2).
PowerPathoperatesindependentlyofapplications,theRDBMS,managementutilities,andfilesystems,allowingadministratorstoinstallandconfigurePowerPathwithoutmodifyingexistingsoftware.
ThePowerPathdriverresidesonthenode,abovetheHBAdriver.
ThenodehasmultipleHBAssothatitcanprovidepathfailoverthroughthePowerPathdriver.
ThePowerPathdriverenablesvirtualdevices,whichprovidefailure-resistantandload-balancedpathstotheDell|EMCstoragearray.
AnapplicationreferencesaPowerPathvirtualdevice;inturn,thePowerPathdrivermanagespathallocationtothestoragearray.
Inthefollowingexample,fourlogicalunitnumbers(LUNs)areconfiguredonaDell|EMCstoragearray,whichusestwostorageprocessorstoconnect—throughtwoseparateFibreChannelswitches—toanodecontainingtwoHBAs.
TheresultingpathsandtheirmappingstothePowerPathvirtualdevicesprovideatotalof16pathsfromanodetostorage.
Having16pathstostoragewouldordinarilyresultin16logicaldevicesbeingvisibletothenode.
However,thePowerPathdrivercreatesfourPowerPathvirtualdevices,andeachofthesevirtualdevicesmapsfourpathstoalogicaldeviceonthestoragearray,asindicatedinFigure3.
PowermtmanagementutilityfacilitatespathmanagementForautomaticfailuredetectionandrecovery,PowerPathprovidesanadministrationutilitycalledPowermt,whichprovidesacommandENTERPRISECLUSTERENVIRONMENTwww.
dell.
com/powersolutionsPOWERSOLUTIONS93HBAHBAHBAHBAHBAHBAHBAHBAFibreChannelswitchFibreChannelswitchLogicallayerPhysicallayerStorageprocessor1Storageprocessor2ServerServerServerServerDiskDiskDiskDiskDiskDiskDiskDiskDiskDiskLUNLUNLUNFigure1.
AhighlyavailablestorageinfrastructurePowerPathOracleclusterfilesystemOracle9iRACDatabasemanagementutilitiesHBAdriverHBAcontrollerHBAdriverHBAcontrollerFigure2.
PowerPathinOracle9iRACsoftwarelayerPowerPathvirtualdevices(4)Paths(16)/dev/emcpowera/dev/sdb/dev/sdf/dev/sdj/dev/sdn/dev/emcpowerb/dev/sdc/dev/sdg/dev/sdk/dev/sdo/dev/emcpowerc/dev/sdd/dev/sdh/dev/sdl/dev/sdp/dev/emcpowerd/dev/sde/dev/sdi/dev/sdm/dev/sdqFigure3.
PathstologicaldevicesforPowerPathvirtualdeviceslineinterfacetothePowerPathenvironment.
PowerPathperiodi-callyteststhepathsforfailuredetectionaccordingtoabuilt-inalgorithm.
UsingthePowermtutility,administratorscansetupahostnodetoperformautorecoveryonfailedpathsbyusingthefollowingcommand-lineinstructiontothePowerPathdriver:powermtsetperiodic_autorestore=on|offForconvenientmanagementofaUNIXorLinuxnodeconfiguredwithPowerPath,thePowermtutilityprovidesseveralfeatures,including:CheckingaPowerPathconfiguration:Thepowermtcheckcommandchecksthespecifiedpathsand,ifdesired,removesfromthePowerPathconfigurationanypathsmarkeddead.
Configuringpathstologicaldevices:ThepowermtconfigcommandconfiguresalldetectedlogicaldevicesasPowerPathdevicesandaddsthesedevicestothePowerPathconfigura-tion,creatingdevicesasrequired.
RemovingpathsfromPowerPathmanagement:Thepowermtremovecommanddeletesthespecifiedpath(orpaths)fromPowerPath'slistofconfiguredpaths.
Itdoesnotdeletethelogicaldevicetowhichthepathsrefer.
IntegratingPowerPathinanOracle9iRACenvironmentToperformI/O,Oracle9iRACusesPowerPathvirtualdevices(suchas/dev/emcpoweraand/dev/emcpowerb,showninFigure3)insteadofLUNs,orlogicaldevices(suchas/dev/sdband/dev/sdc).
Ifanactualdevicepathfails,thePowerPathdriverroutesI/OtoanalternativepathwithoutcausinganyinterruptiontotheRDBMSfunctionality.
IntegrationofPowerPathwithOracle9iRACisasimpleprocess.
PowerPathmaybedeployedineitheraneworexistingOracle9iRACimplementation,asexplainedinthefollowingsections.
IntegratingPowerPathwithanewOracle9iRACimplementationOracle9iRACusessharedstorageontheSANforitsdatabase,redolog,andcontrolfiles.
TheRDBMSenginefromeachnodeintheclustermusthavedirectaccesstothisstoragetocreateorupdateanyofthesefiles.
WithoutPowerPath,theRDBMSenginewoulddirectlyaccesstheLUNsonthesharedstoragetocreatetherequiredfiles.
WithPowerPathintegrated,theprocedureisthesame,withoneimportantexception.
ThepartitionsandOCFSarecreatedonthePowerPathvirtualdevicesratherthanonthepartitionedLUNs:1.
PartitionthePowerPathvirtualdevicesonthesharedstoragearrayaccordingtothedatabasesizingrequirements:fdisk/dev/emcpowerafdisk/dev/emcpowerbfdisk/dev/emcpowercfdisk/dev/emcpowerd2.
CreatetheOCFSonthenewpartitionsandmountthefilesystem:mkfs.
ocfs-F-b128-Lu01-m/u01-u200-g300-p0775/dev/emcpowera1mkfs.
ocfs-F-b128-Lu02-m/u02-u200-g300-p0775/dev/emcpowerb1mkfs.
ocfs-F-b128-Lu03-m/u03-u200-g300-p0775/dev/emcpowerc1mkfs.
ocfs-F-b128-Lu04-m/u04-u200-g300-p0775dev/emcpowerd13.
SetuptheclusterwareontheOCFS,andcreatetheOracle9iRACdatabaseonthesharedSANstorage.
TheintegrationofPowerPathistransparenttotheOracle9iRACdatabaseengine,asisthefactthateachPowerPathvirtualdevicepointstomultiplephysicalI/Opaths.
IntegratingPowerPathwithanexistingOracle9iRACimplementationInanexistingOracle9iRACdatabasethatissetupwithoutPowerPath,thedatabaseengineusestheLUNsonthesharedSANstoragetocreateandupdatethedatabasefiles.
IntegratingPowerPathisastraight-forwardprocessusingthefollowingsteps:1.
ShutdownallOracleservicesinthecluster,includingdatabaselisteners,OracleIntelligentAgents,andOracleClusterManager.
2.
Shutdownthedatabaseonallclusternodes.
3.
UsetheumountcommandtounmountallOCFSvolumes.
4.
ConfiguretheDell|EMCstoragearraytosupportPowerPath,andinstallthePowerPathsoftwareonallclusternodes.
Oneachnode,thePowerPathsoftwarewillautomaticallycreatePowerPathdevicesthatpointtotheexistingLUNs.
5.
Modifythe/etc/fstabconfigurationfileandreplacethedevicenamesofeachLUN(forexample,/dev/sdb,/dev/sdf,dev/sdj,/dev/sdn)onthestoragearraywiththePowerPathvirtualdevicename(forexample,/dev/emcpowera,/dev/emcpowerb,/dev/emcpowerc,/dev/emcpowerd).
www.
dell.
com/powersolutionsSANsprovidecentralizeddatastorage,andEMCPowerPathcomplementsSANarchitecturebyhelp-ingmanageredundantSANpathstoprovideahigh-availabilityenviron-mentforOracle9iRAC.
ENTERPRISECLUSTERENVIRONMENTPOWERSOLUTIONSNovember2003966.
RestarttheOCFSandusethemountcommandtomountthefilesystem.
7.
StartupOracleservices,clusterware,andOracle9iRACdatabaseinstancesonallclusternodes.
UsingPowerPathtomaintainavailabilityAsreliableaccesstoinformationbecomesacriticalmissionfortoday'sdatacenters,ITarchitectsandadministratorsmustusecentralized,scalablestoragetohelpcreateahighlyavailabledatainfrastructureacrosstheenterprise.
SANsprovidecentralizeddatastorage,andEMCPowerPathcomplementsSANarchitecturebyhelpingmanageredundantSANpathstoprovideahigh-availabilityenvironmentforOracle9iRAC.
FactorssuchasI/Oload,effectofdowntime,andavailabilityofadministratormaintenancetimecanhelpdeterminewhetheranorganization'snetworkedDell|EMCstoragewouldbenefitfromPowerPath.
PowerPathoffersfaulttolerancetohelpeliminatedown-time,loadbalancingtoenablemoreefficientI/Otraffic,andauto-maticdetectionandrepairofpathsthathavefailed,therebyhelpingtoreduceadministrativeoverhead.
ByintegratingPowerPathwithOracle9iRAC,administratorscanimproveSANuptimeandprovideastableinfrastructureformission-criticaldata.
ZafarMahmood(zafar_mahmood@dell.
com)isasoftwareengineerintheDellDatabaseandApplicationEngineeringDeploymentDepartmentoftheDellProductGroup.
Hehasbeeninvolvedindatabaseperformanceoptimization,databasesystems,anddatabaseclusteringformorethansixyears.
HeiscurrentlyworkingonOracle9iRACimplementationsatDell.
ZafarhasanM.
S.
inElectricalEngineeringwithaspecializationinComputerCommunica-tionsfromtheCityUniversityofNewYork.
PaulRad(paul_rad@dell.
com)isaseniorsoftwareengineerintheDellDatabaseandApplicationEngineeringDepartmentoftheDellProductGroup.
Paulhasmaster'sdegreesinbothComputerScienceandComputerEngineeringfromtheUniversityofTexasatSanAntonio.
RobertNadon(robert_nadon@dell.
com)isasoftwareengineeringconsultantintheFactoryInstallationDevelopmentGroupoftheDellProductGroup.
HefocusesonfactoryinstallationforUNIX-based(LinuxandBSDi)operatingsystemsandfortheOracle9idatabase.
AnotherareaofinterestisDellsoftwareRAIDofferings.
RoberthasaB.
S.
inComputerEngineeringfromTexasA&MUniversity.
HeisaRedHatCertifiedEngineer(RHCE)forRedHatLinux6.
2and7.
0.
FORMOREINFORMATIONDell|EMCstorage:http://www.
dell.
com/emcDellandOracle:http://www.
dell.
com/oracleOracledatabase:http://www.
oracle.
com/oracle9i
HostKvm是一家成立于2013年的国外主机服务商,主要提供基于KVM架构的VPS主机,可选数据中心包括日本、新加坡、韩国、美国、中国香港等多个地区机房,均为国内直连或优化线路,延迟较低,适合建站或者远程办公等。本月商家针对全场VPS主机提供8折优惠码,优惠后美国洛杉矶VPS月付5.2美元起。下面列出几款不同机房VPS主机产品配置信息。套餐:美国US-Plan0CPU:1cores内存:1GB硬...
HostKvm又上新了,这次上架了2个线路产品:俄罗斯和香港高防VPS,其中俄罗斯经测试电信CN2线路,而香港高防VPS提供30Gbps攻击防御。HostKvm是一家成立于2013年的国外主机服务商,主要提供基于KVM架构的VPS主机,可选数据中心包括日本、新加坡、韩国、美国、中国香港等多个地区机房,均为国内直连或优化线路,延迟较低,适合建站或者远程办公等。俄罗斯VPSCPU:1core内存:2G...
LOCVPS在农历新年之后新上架了日本大阪机房软银线路VPS主机,基于KVM架构,配备原生IP,适用全场8折优惠码,最低2GB内存套餐优惠后每月仅76元起。LOCVPS是一家成立于2012年的国人VPS服务商,提供中国香港、韩国、美国、日本、新加坡、德国、荷兰、俄罗斯等地区VPS服务器,基于KVM或XEN架构(推荐选择KVM),线路方面均选择国内直连或优化方案,访问延迟低,适合建站或远程办公使用。...
clusterware为你推荐
brandoff香港购物在哪里特朗普取消访问丹麦特朗普访华后还会去那里?今日油条油条是怎样由来www.jjwxc.net晋江文学网 的网址是什么?陈嘉垣陈浩民狼吻陈嘉恒是什么时候的事百花百游百花百游的五滴自游进程钟神发战旗TV ID:新年快乐丶未央不见是哪个主播www.qq530.com谁能给我一个听歌的网站?网站检测如何进行网站全面诊断www.55125.cnwww95599cn余额查询
服务器空间租用 海外域名注册 vps代购 net主机 国外永久服务器 主机评测 softlayer vmsnap3 一元域名 godaddy域名证书 权嘉云 有奖调查 韩国名字大全 中国电信测速网 卡巴斯基破解版 移动服务器托管 中国电信网络测速 cdn网站加速 umax SmartAXMT800 更多