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
六一云 成立于2018年,归属于西安六一网络科技有限公司,是一家国内正规持有IDC ISP CDN IRCS电信经营许可证书的老牌商家。大陆持证公司受大陆各部门监管不好用支持退款退现,再也不怕被割韭菜了!主要业务有:国内高防云,美国高防云,美国cera大带宽,香港CTG,香港沙田CN2,海外站群服务,物理机,宿母鸡等,另外也诚招代理欢迎咨询。官网www.61cloud.net最新直销劲爆...
BGP.TO目前针对日本和新加坡服务器进行促销,其中日本东京服务器6.5折,而新加坡服务器7.5折起。这是一家专门的独立服务器租售网站,提供包括中国香港、日本、新加坡和洛杉矶的服务器租用业务,基本上都是自有硬件、IP资源等,国内优化直连线路,机器自动化部署上架,并提供产品的基本管理功能(自助开关机重启重装等)。新加坡服务器 $93.75/月CPU:E3-1230v3内存:16GB硬盘:480GB ...
RAKsmart机房将于7月1日~7月31日推出“年中大促”活动,多重惊喜供您选择;爆款I3-2120仅30美金秒杀、V4新品上市,活动期间5折抢购、爆款产品持续热卖、洛杉矶+硅谷+香港+日本站群恢复销售、G口不限流量产品超低价热卖。美国VPS、日本VPS及香港VPS享全场7折优惠;爆款VPS $ 1.99/月限量秒杀,10台/天,售完即止, VPS 7折优惠码:VPS-TP-disRAKsmar...
clusterware为你推荐
摩拜超15分钟加钱怎么领取摩拜单车免费卷bbs.99nets.com做一款即时通讯软件难吗 像hi qq这类的百度关键词价格查询百度关键字如何设定竟价价格?罗伦佐娜手上鸡皮肤怎么办,维洛娜毛周角化修复液同一ip网站如何用不同的IP同时登陆一个网站kb123.net连网方式:wap和net到底有什么不一样的hao.rising.cnIE主页被瑞星绑架http://hao.rising.cn//?b=84主页明明设置的是百度但打开后是瑞星导航,关键词分析怎么样分析关键词?ww.43994399??????????www.5566.com.cn免费手机游戏
虚拟主机系统 广州服务器租用 vps教程 西安服务器 bluehost 精品网 韩国加速器 紫田 免备案cdn bash漏洞 java虚拟主机 e蜗牛 e蜗 免费防火墙 什么是服务器托管 爱奇艺vip免费领取 外贸空间 镇江高防 主机返佣 域名转入 更多