bridging the developer and the datacenter

16
Bridging the Developer and the Datacenter June 2009

Upload: lurs83

Post on 17-May-2015

577 views

Category:

Technology


0 download

DESCRIPTION

This is a ppt from Open Source Bridge that Thomas used for his session. This basically educates on why redundant power and back up power is so critical, and why you should always back up your info.

TRANSCRIPT

Page 1: Bridging the Developer and the Datacenter

BridgingtheDeveloperandtheDatacenter

June2009

Page 2: Bridging the Developer and the Datacenter

BriefHistory•  8yearsinmanagedservicesindustry

•  Foundedfirstcompanyin2001,soldin2004•  FoundedReduxin2004,soleowner•  Managing200servers,1200VMsacrosstwofaciliCesin

Portland

•  StrongOSSAdvocates–Adium,ImageMagick,Pidgin,SimpleMachines,CaminoBrowser

PropertyofNetworkRedux,LLC

Page 3: Bridging the Developer and the Datacenter

Whyshouldwebuildabridge?•  HostedapplicaConsrequirecommunicaConbetween

datacentersanddevelopers

•  Providedeveloperswiththetoolstopowerdecisionmaking

•  BecomelessreliantonhosCngprovidersfortroubleshooCng

•  UnderstandthehosCngservicestack

PropertyofNetworkRedux,LLC

Page 4: Bridging the Developer and the Datacenter

TheNetwork

•  Ethernetisthestandard•  10Mb,100Mb,1Gb,10Gbandnow

100Gb

•  1Mbpssustainedequals~320GB

•  BursCngisimportant,knowyourlimits•  >70%sustainedusageisdangerous

PropertyofNetworkRedux,LLC

Data Center / Bandwidth

Page 5: Bridging the Developer and the Datacenter

BursCngExample:Twi]erVoteReport

PropertyofNetworkRedux,LLC

Page 6: Bridging the Developer and the Datacenter

DataTransfer

•  Core,DistribuCon,Access•  BorderGatewayProtocol(BGP)•  VirtualRouterRedundancy

Protocol(VRRP)•  Bandwidthisacommodity•  Redundancyhastohappenat

alllayers•  QualityoverquanCty•  Carrierneutraliskey•  ethtool,traceroute,tcpdump

PropertyofNetworkRedux,LLC

Page 7: Bridging the Developer and the Datacenter

DataBackups

•  Donotrelyonthehostfordisasterrecovery•  SLA’sarecarefultoindemnifyyourprovider•  Ifyouarestoringclientdata,youneedtobackitup

andindemnifyyourself

•  RAIDisNOTabackupstrategy•  Understandtheretrievalprocess•  Verifytheintegrityofyourbackuparchives

PropertyofNetworkRedux,LLC

Page 8: Bridging the Developer and the Datacenter

TwoCommonApproaches

•  Agentresidesonserver•  Masterpullservers•  Expensive•  Proprietary•  VeryReliable•  Manycommercial

vendors

PropertyofNetworkRedux,LLC

Pull – Agent / Host Push – server to server

• Serverpushesdata• Rsync/rsnapshot• Inexpensive• Easytodeploy• Asreliableasyoudesignit• MorehomegrownsoluCons

Page 9: Bridging the Developer and the Datacenter

TheAgent/HostModel

•  Commonlydeployedinhostedenvironments

•  Worksatthechassislevel•  Moreodenthannotakernelmodule

•  CanprovideCDP(ConCnuousDataProtecCon)•  EncrypCon,DiskVerificaCon•  CDPfromR1Sodishiengthesweetspot

PropertyofNetworkRedux,LLC

Page 10: Bridging the Developer and the Datacenter

CommonIssues

•  Don’tassumeyourproviderisbackingup

•  Don’tassumethebackupdatahasbeenverified•  DataisulCmatelythedevelopersresponsibility

•  Becarefulwithprovidersnotwillingtobackupyourdata•  Haveyourowndisasterrecoveryplan

PropertyofNetworkRedux,LLC

Page 11: Bridging the Developer and the Datacenter

Power

•  UnbelievablycriCcal,mostcommonpointoffailureinafacility

•  Powercreatesheat,andheatcauseshardwaretofail

•  SystemAdministratorsarenotElectricians

PropertyofNetworkRedux,LLC

Page 12: Bridging the Developer and the Datacenter

KeyPointsonPower

•  Redundantpowersuppliesneedtoroutethroughdiversepowerpaths

•  AutomatedTransferSwitches(ATS)canbeasinglepointoffailure

PropertyofNetworkRedux,LLC

Page 13: Bridging the Developer and the Datacenter

Servers–ResourcesandMetrics•  CPU,MemoryandDiskIO•  DiskIOisthemostcommonly

overlookedandleastunderstoodbo]leneck

•  WerarelyseeCPU’sasthebo]lenecksforapplicaConhosCng

•  Memoryisaneasytounderstand,easytoinflate/deflatecommodity

•  ThingsodenfindtheirwaybacktoslowdiskaccessCmes

PropertyofNetworkRedux,LLC

Page 14: Bridging the Developer and the Datacenter

NarrowinginonDiskI/O•  Disksaretheslowestcomponent

•  SATAandSASarewidelyinuse•  RAID–Balancingperformanceandcost.

•  Don’tconfusememoryshoriallswithdiskaccessproblems•  Disksarethemostcommoncomponenttofail

•  sarandiostatarevaluabletools•  Profileyourenvironmenttobestgaugeyourrequirements

PropertyofNetworkRedux,LLC

Page 15: Bridging the Developer and the Datacenter

Profilingyourrequirements•  SystemmetricsarecriCcal

•  Eachservicelayerisitsowndiscussion

•  Cachingwillsavetheday

•  Logfilesareunderrated

•  sarandvmstatarefantasCc

•  ProfilingyourapplicaConrequirementswillensureefficientspendingforservices

PropertyofNetworkRedux,LLC

Sometimes performance tuning must be “out of the box.” Analysis on the microscopic level should regularly be retired to more macroscopic views. This multiresolutioned problem analysis can turn a question such as “How can I merge all these log files faster?” into “Why do I have all these log files to merge and is there a better way?” Or a question such as “How can I make this set of problematic database queries faster?” becomes “Why am I putting this information in a database?”

Theo Schlossnagle Scalable Internet Architectures

Page 16: Bridging the Developer and the Datacenter

networkredux.com