24

(Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

  • Upload
    vonhu

  • View
    238

  • Download
    3

Embed Size (px)

Citation preview

Page 1: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,
Page 2: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

(Running) Google on GoogleHow Google's IT Keeps Pace with Google's Growth

Jeff Bates, Open Source IT Program ManagerIustin Pop, Systems Engineer

Page 3: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Corporate Engineering?

Page 4: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

● We are Google's IT● Support Every Continent But Antarctica● Real Estate To Payroll To Help Desk To Massage Scheduling To Bus Fleets

Running and Scaling IT At Google

Corporate Engineering at Google

Page 5: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

● Integration and Evaluation● Talking To The World

● HangOuts on Air● Hosting User Groups● Conference Speaking● Office Hours, IRC, Mailing Lists

● Open Source Code

Build, Buy and Share

Page 6: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Scaling A (Google) CompanyGoing From Start-Up To Enterprise

Page 7: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Our Challenge: More People, More Places

Google Headcount Growth

Page 8: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

We've Got A Ticket To Ride

Page 9: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,
Page 10: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Keeping Googlers Productive

One of Google's TechStops

Page 11: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Choice and Transparency

Page 12: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Scaling With Google Apps

2006

We should be “the best leadership model in the industry for enterprise use of cloud computing”

– Eric Schmidt

Page 13: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Foresight + Data = Efficiency

Page 14: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

The Scales of Scaling

Page 15: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

The Ganeti Project @ Googlehttp://code.google.com/p/ganeti

Page 16: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Ganeti @ Google

http://code.google.com/p/ganeti

Page 17: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Open-source versus Internal Components

?

Page 18: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Interacting with Ganeti

node1# gnt-cluster init -s 192.0.2.1 example-clusternode1# gnt-node listNode DTotal DFree MTotal MNode MFree Pinst Sinstnode1 1.3T 1.3T 32.0G 1.0G 30.5G 0 0node1# gnt-instance add -o debootstrap -s 256m instance1node1# gnt-instance listInstance Hypervisor OS Primary_node Status Memoryinstance3 xen-pvm debootstrap node1 running 128Mnode1#

$ curl https://CLUSTERNAME:5080/2/info

import urllib2f = urllib2.urlopen('https://CLUSTERNAME:5080/2/info')print f.read()

Page 19: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

git tag -m "Release Ganeti version 2.6.0" v2.6.0

Ganeti Deployment Model

Page 20: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Ganeti Development Model

buildbot try

buildbot try -b qa git format-patchgit send-email

git pushbuildbot → green

check bug queue

make check

git commit --amend

emacs, vi, ...git commit --signoff

Page 21: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

Scaling To Support Google

Page 22: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

<Thank You!>

[email protected], [email protected]

+Jeff Bates on Google+ +Iustin Pop on Google+

Page 23: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,

● CorpEng Open Source Projects● Simian: http://code.google.com/p/simian/● Cauliflower Vest: http://code.google.com/p/cauliflowervest/● Munki: http://code.google.com/p/munki/● Compliance Management: http://code.google.com/p/compliance-management/● Ganeti: http://code.google.com/p/ganeti/

● Videos For More Information:● Coding For Cloud: http://goo.gl/nt6Ox● Corp Apps on AppEngine: http://goo.gl/m1XzN● Life@Google IT Teams: http://goo.gl/7cYSf

Appendix Data Points

Page 24: (Running) Google on Google - Huihoodocs.huihoo.com/google/io/2012/running-google-on-google.pdf · (Running) Google on Google How Google's IT Keeps Pace with Google's Growth Jeff Bates,