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
zji怎么样?zji最近新上韩国BGP+CN2线路服务器,国内三网访问速度优秀,适用8折优惠码zji,优惠后韩国服务器最低每月440元起。zji主机支持安装Linux或者Windows操作系统,会员中心集成电源管理功能,8折优惠码为终身折扣,续费同价,全场适用。ZJI是原Wordpress圈知名主机商:维翔主机,成立于2011年,2018年9月启用新域名ZJI,提供中国香港、台湾、日本、美国独立服...
极光KVM创立于2018年,主要经营美国洛杉矶CN2机房、CeRaNetworks机房、中国香港CeraNetworks机房、香港CMI机房等产品。其中,洛杉矶提供CN2 GIA、CN2 GT以及常规BGP直连线路接入。从名字也可以看到,VPS产品全部是基于KVM架构的。极光KVM也有明确的更换IP政策,下单时选择“IP保险计划”多支付10块钱,可以在服务周期内免费更换一次IP,当然也可以不选择,...
昔日数据怎么样?昔日数据新上了湖北十堰云服务器,湖北十堰市IDC数据中心 母鸡采用e5 2651v2 SSD MLC企业硬盘 rdid5阵列为数据护航 100G高防 超出防御峰值空路由2小时 不限制流量。目前,国内湖北十堰云服务器,首月6折火热销售限量30台价格低至22元/月。(注意:之前有个xrhost.cn也叫昔日数据,已经打不开了,一看网站LOGO和名称为同一家,有一定风险,所以尽量不要选择...
clusterware为你推荐
工信部约谈电信我在工信部投诉了电信,什么时候才能回复?金评媒朱江汪涵在沈阳7进5朱江和巩贺PK完说了句什么啊?公司网络被攻击网络遭受攻击分为哪几类对对塔对对塔和魔方格那个是正宗的?18comic.fun贴吧经常有人说A站B站,是什么意思啊?7788k.com以前有个网站是7788MP3.com后来改成KK130现在又改网站域名了。有知道现在是什么域名么?rawtoolsTF卡被写保护了怎么办?www.544qq.COM跪求:天时达T092怎么下载QQwww.ijinshan.com好电脑要用什么样的软件5566.com请问如何创建网页(就是www.5566.com.cn这种格式的)
美国虚拟主机推荐 中文域名申请 唯品秀 外国服务器 BWH godaddy支付宝 512au 京东商城双十一活动 网通服务器托管 空间首页登陆 主机管理系统 新加坡空间 qq金券 wordpress中文主题 xuni 中国联通宽带测试 新疆服务器 SmartAXMT800 优惠服务器 机柜尺寸 更多