SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
a Gentoo environment at Gaikai 
Guido Serra <guido@gaikai.com> 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 1 Company. 19/09/14
Gaikai is internet at scale, Ganeti …&Gentoo 
• I got the chance to work on large numbers of machines 
• With several networks spreading across the globe 
• Have hands-on on a real production Ganeti cloud infrastructure 
• Contribute to the project and the community around Ganeti 
• Operate a production environment completely Gentoo based 
• Work with people acquired from other global internet companies 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 2 Company. 19/09/14
Gaikai, the gaming cloud company 
Gaikai has been acquired by Sony Computer Entertainment in 2012 
Initially basing its business as advertising agency for new videogames 
that users would be able to stream from the Amazon cloud, it had to 
redesign its solution to provide what today is Playstation NOW 
As of now PsNOW is (beta) publicly available in USA and Canada as a 
way to play PS3 videogames without a PS3 console. 
Ganeti is used for the coordination and management of the streaming 
infrastructure. 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 3 Company. 19/09/14
The Berlin office 
Opened at the beginning of the year to cover the on-call shift of USA 
WEST coast night hours. We are not only guaranteeing our 
colleagues a safe sleep but we do also contribute in the tool 
automation and evolving architecture design of the infrastructure. 
Everybody else is in Orange County, Southern California 
+some people in the Bay Area 
+some other out to Tokyo 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 4 Company. 19/09/14
Abstract of the talk 
• Why did we choose ganeti 
• How it is currently implemented 
• How we are changing the current setup 
• Evaluation on how will we like to change it in the future 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 5 Company. 19/09/14
Ganeti is well documented (& active) 
It can get even better, but there is absolutely nothing I can complain. 
It has a wide & active community. Plus companies actively investing 
into it: with dedicated resources (people) contributing code. 
Here YOU are. I just stepped in, with the intention of doing more. 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 6 Company. 19/09/14
Lower footprint than openstack 
• A lot less dependencies and components 
• Far way easier to install 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 7 Company. 19/09/14
Ganeti scales DOWN 
One rack per environment. Multiple environments per continuous 
integration automation. 
Smallest setup is 1 box for ancillary services like NFS, tftp, 
configuration management and DHCP; and 4 hypervisor machines 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 8 Company. 19/09/14
Very quick to install -> try ganeti vagrant 
My laptop was my first playground thanks to that project. 
TNX to the people here in this room that contributed to that. 
Yes, Ganeti is very fast&easy to install. 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 9 Company. 19/09/14
How it is currently implemented: requirements 
Distributed machines having same role in a load-balanced service pool. 
• That is why we have a 1:1 association with each hypervisor 
(I do have heard about “labels”, that is part of the future for us) 
No persistency. We are not using DRBD. Apart of special cases. 
• Reboostrap from scratch on upgrade => roll&deploy 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 10 Company. 19/09/14
We run (prod)2.7.1, (test environment)2.9.1 
We will run 2.11.5 => we aim to the latest stable release. 
In particular, for the following features: 
• Pool users, for VMs privileges 
• Non root users to ganeti’s daemons 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 11 Company. 19/09/14
Isolated failure domains: One cluster per rack 
Good for current upgrade from 2.7.1 to 2.11.5 
• Hypervisor rebootstrap is involved, and services multiple restarts 
• All the nodes in the cluster are being involved in the process. 
(probably not so good for dynamic VMs distribution) since I have to talk 
to multiple RAPI endpoints 
• I would like to investigate on “labels” and “iAllocator”, and how 
one affects the other on distributing the VMs. 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 12 Company. 19/09/14
Image based system 
Also for the bare metal. We use prebuilded OS images everywhere. 
Installing from sources would take too long on entire stacks upgrade. 
…and it is highly risky, since you depend on sources that are 
distributed across the internet. And in case anyone of them goes 
down, the deployment is affected. A proxy would only mitigate that. 
But this also means that /root/.ssh/id_dsa is not preserved, neither /var/ 
lib/gentoo … yes, we are working on that. Thankfully they are still 
there after the OS upgrade, just in an inactive partition. 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 13 Company. 19/09/14
Current challenges: slow instance creation 
Especially when triggering sequentially via RAPI the creation of multiple 
VMs that reside in the same hypervisor, and maybe also on the 
same LVM partition and/or drive. [will the opportunistic locking 
available > 2.7 solve that?] 
UPDATE (SOLVED): discussing the issue during the conference 
…mkfs.ext4 exits without waiting the termination of the journaling 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 14 Company. 19/09/14
Orchestration via RAPI calls 
On rollouts everything is handled externally from Ganeti, 
via a custom configuration management & deployment tool. 
How would that integrate with the “labels”? If we are going to use them. 
• Is it going to be an issue the fact that we have one cluster per rack? 
• We do state the rack number in the VMs’ fqdn 
• And we update the DNS system before triggering the RAPI calls. 
• How are other people doing? 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 15 Company. 19/09/14
Security: privileges separation for daemons 
and instances 
Each daemon can have its own user, uid!=0 (apart of “noded”). 
Since the naming of such users/groups is stated at compile/config time, 
a Makefile generated script is produced and distributed with the 
binary version. (TNX Michele Tartara, from Google, for providing it). 
Noded is still running as root, it can be changed but that requires 
providing a user enough (potentially harmful) root privileges. 
That went beyond what I had in scope for the upgrade to 2.11.5 
I ported to Gentoo such script, as it was Debian/Ubuntu specific. 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 16 Company. 19/09/14
Thanks to Patrick McLean, Gentoo/GAIKAI 
We have several official Gentoo contributors onboard at Gaikai: he is 
one of them. He published last Friday (August 26th) my patches to 
Ganeti’s Gentoo ebuild/package. 
Check it out, and let us know. 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 17 Company. 19/09/14
published ebuild 2.11.5 to Gentoo upstream 
© Copyright 2013 Gaikai, a Sony Computer Entertainment 18 Company. 19/09/14
security part2: VMs’ users pool 
Each kvm/qemu process running with its own user, and not root. 
We could have published a helper there too, but we decided that 
it is up to whoever install the system to decide the way to provision 
such users pool. 
Using it is just matter of a configuration change at Ganeti’s 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 19 Company. 19/09/14
Instance migration between clusters 
No specific USE case yet. 
(question) Is it going to bring any benefit to our current setup? 
Or… having a single cluster? What benefits will it bring? 
© Copyright 2014 Gaikai, a Sony Computer Entertainment 20 Company. 19/09/14

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux FrameworkIntroduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux Framework
Benjamin Zores
 
ABS 2014 - The Growth of Android in Embedded Systems
ABS 2014 - The Growth of Android in Embedded SystemsABS 2014 - The Growth of Android in Embedded Systems
ABS 2014 - The Growth of Android in Embedded Systems
Benjamin Zores
 
Open stack meetup_boston_ubuntu_cloud
Open stack meetup_boston_ubuntu_cloudOpen stack meetup_boston_ubuntu_cloud
Open stack meetup_boston_ubuntu_cloud
Kamesh Pemmaraju
 
Droidcon 2013 France - Android Platform Anatomy
Droidcon 2013 France - Android Platform AnatomyDroidcon 2013 France - Android Platform Anatomy
Droidcon 2013 France - Android Platform Anatomy
Benjamin Zores
 

Was ist angesagt? (14)

Introduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux FrameworkIntroduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux Framework
 
Android beyond the smartphone
Android beyond the smartphoneAndroid beyond the smartphone
Android beyond the smartphone
 
Quick and Easy Device Drivers for Embedded Linux Using UIO
Quick and Easy Device Drivers for Embedded Linux Using UIOQuick and Easy Device Drivers for Embedded Linux Using UIO
Quick and Easy Device Drivers for Embedded Linux Using UIO
 
ABS 2014 - The Growth of Android in Embedded Systems
ABS 2014 - The Growth of Android in Embedded SystemsABS 2014 - The Growth of Android in Embedded Systems
ABS 2014 - The Growth of Android in Embedded Systems
 
Embedded Android: Android beyond the smartphone
Embedded Android: Android beyond the smartphoneEmbedded Android: Android beyond the smartphone
Embedded Android: Android beyond the smartphone
 
XPDDS19: Using Xen to Enable an Open Source Safety Certifiable Automotive Gra...
XPDDS19: Using Xen to Enable an Open Source Safety Certifiable Automotive Gra...XPDDS19: Using Xen to Enable an Open Source Safety Certifiable Automotive Gra...
XPDDS19: Using Xen to Enable an Open Source Safety Certifiable Automotive Gra...
 
Software update for IoT: the current state of play
Software update for IoT: the current state of playSoftware update for IoT: the current state of play
Software update for IoT: the current state of play
 
Scale17x: Thinking outside of the conceived tech comfort zone
Scale17x: Thinking outside of the conceived tech comfort zoneScale17x: Thinking outside of the conceived tech comfort zone
Scale17x: Thinking outside of the conceived tech comfort zone
 
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets Ansible
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets AnsibleCloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets Ansible
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets Ansible
 
Google TV: Thoughts From Left Field
Google TV: Thoughts From Left FieldGoogle TV: Thoughts From Left Field
Google TV: Thoughts From Left Field
 
Open stack meetup_boston_ubuntu_cloud
Open stack meetup_boston_ubuntu_cloudOpen stack meetup_boston_ubuntu_cloud
Open stack meetup_boston_ubuntu_cloud
 
Droidcon 2013 France - Android Platform Anatomy
Droidcon 2013 France - Android Platform AnatomyDroidcon 2013 France - Android Platform Anatomy
Droidcon 2013 France - Android Platform Anatomy
 
Essex deployday
Essex deploydayEssex deployday
Essex deployday
 
The end of embedded Linux (as we know it)
The end of embedded Linux (as we know it)The end of embedded Linux (as we know it)
The end of embedded Linux (as we know it)
 

Andere mochten auch

Load & Performance TESTING
Load & Performance TESTINGLoad & Performance TESTING
Load & Performance TESTING
Guido Serra
 
Be More Dog- Sony computer Entertainment
Be More Dog- Sony computer EntertainmentBe More Dog- Sony computer Entertainment
Be More Dog- Sony computer Entertainment
Kuhu Pathak
 
Tsung Intro presentation 2013
Tsung Intro presentation 2013Tsung Intro presentation 2013
Tsung Intro presentation 2013
Steffen Larsen
 

Andere mochten auch (20)

Load & Performance TESTING
Load & Performance TESTINGLoad & Performance TESTING
Load & Performance TESTING
 
Cpcslideshow
CpcslideshowCpcslideshow
Cpcslideshow
 
Sony Computer Entertainment Australia Celebrate Success Event 2011
Sony Computer Entertainment Australia Celebrate Success Event 2011Sony Computer Entertainment Australia Celebrate Success Event 2011
Sony Computer Entertainment Australia Celebrate Success Event 2011
 
Be More Dog- Sony computer Entertainment
Be More Dog- Sony computer EntertainmentBe More Dog- Sony computer Entertainment
Be More Dog- Sony computer Entertainment
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
 
Load testing with Telerik Test Studio
Load testing with Telerik Test StudioLoad testing with Telerik Test Studio
Load testing with Telerik Test Studio
 
Meetup TestingAR 2016 - Performance testing durante y después
Meetup TestingAR 2016 - Performance testing durante y despuésMeetup TestingAR 2016 - Performance testing durante y después
Meetup TestingAR 2016 - Performance testing durante y después
 
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
 
CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...
CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...
CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...
 
Tsung Intro presentation 2013
Tsung Intro presentation 2013Tsung Intro presentation 2013
Tsung Intro presentation 2013
 
Web designing and publishing computer studies theory lesson
Web designing and publishing computer studies theory lessonWeb designing and publishing computer studies theory lesson
Web designing and publishing computer studies theory lesson
 
PC Software - Computer Application - Office Automation Tools
PC Software  -  Computer Application - Office Automation ToolsPC Software  -  Computer Application - Office Automation Tools
PC Software - Computer Application - Office Automation Tools
 
Meetup Testing Workshop 2016 - Gatling para pruebas de performance - Federico...
Meetup Testing Workshop 2016 - Gatling para pruebas de performance - Federico...Meetup Testing Workshop 2016 - Gatling para pruebas de performance - Federico...
Meetup Testing Workshop 2016 - Gatling para pruebas de performance - Federico...
 
[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)
[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)
[TechTalks] Learning Configuration Management with SaltStack (Advanced Concepts)
 
Answer guide to uneb sample question paper 2013 print by WAFUBA SJ BUKOYO EC ...
Answer guide to uneb sample question paper 2013 print by WAFUBA SJ BUKOYO EC ...Answer guide to uneb sample question paper 2013 print by WAFUBA SJ BUKOYO EC ...
Answer guide to uneb sample question paper 2013 print by WAFUBA SJ BUKOYO EC ...
 
Load Balancing with Apache
Load Balancing with ApacheLoad Balancing with Apache
Load Balancing with Apache
 
Uses of Computer
Uses of ComputerUses of Computer
Uses of Computer
 
Gatling - Stress test tool
Gatling - Stress test toolGatling - Stress test tool
Gatling - Stress test tool
 
Health hazards of mobile phone and computer use
Health hazards of mobile phone and computer useHealth hazards of mobile phone and computer use
Health hazards of mobile phone and computer use
 
Uses of computer
Uses of computer Uses of computer
Uses of computer
 

Ähnlich wie A Gentoo Environment at Gaikai

WAM: An embedded web runtime history for LG webOS and Automotive Grade Linux
WAM: An embedded web runtime history for LG webOS and Automotive Grade LinuxWAM: An embedded web runtime history for LG webOS and Automotive Grade Linux
WAM: An embedded web runtime history for LG webOS and Automotive Grade Linux
Igalia
 
Tamaray ACT22A
Tamaray ACT22ATamaray ACT22A
Tamaray ACT22A
Erm78
 
How automated cloud infrastructure setups can help with Continuous Delivery
How automated cloud infrastructure setups can help with Continuous DeliveryHow automated cloud infrastructure setups can help with Continuous Delivery
How automated cloud infrastructure setups can help with Continuous Delivery
Edmund Siegfried Haselwanter
 

Ähnlich wie A Gentoo Environment at Gaikai (20)

Terraform: Tales from the Trenches
Terraform: Tales from the TrenchesTerraform: Tales from the Trenches
Terraform: Tales from the Trenches
 
From Mediasoup WebRTC to Livekit Self-Hosted .pdf
From Mediasoup WebRTC to  Livekit Self-Hosted .pdfFrom Mediasoup WebRTC to  Livekit Self-Hosted .pdf
From Mediasoup WebRTC to Livekit Self-Hosted .pdf
 
Bringing Tizen to a Raspberry Pi 2 Near You
Bringing Tizen to a Raspberry Pi 2 Near YouBringing Tizen to a Raspberry Pi 2 Near You
Bringing Tizen to a Raspberry Pi 2 Near You
 
Vroom!
Vroom!Vroom!
Vroom!
 
WAM: An embedded web runtime history for LG webOS and Automotive Grade Linux
WAM: An embedded web runtime history for LG webOS and Automotive Grade LinuxWAM: An embedded web runtime history for LG webOS and Automotive Grade Linux
WAM: An embedded web runtime history for LG webOS and Automotive Grade Linux
 
CloudFoundry-summit-2015-a-look-back
CloudFoundry-summit-2015-a-look-backCloudFoundry-summit-2015-a-look-back
CloudFoundry-summit-2015-a-look-back
 
Webrtc plugins for Desktop Browsers
Webrtc plugins for Desktop BrowsersWebrtc plugins for Desktop Browsers
Webrtc plugins for Desktop Browsers
 
Jalimo Slides Linuxtag2008
Jalimo Slides Linuxtag2008Jalimo Slides Linuxtag2008
Jalimo Slides Linuxtag2008
 
Tamaray ACT22A
Tamaray ACT22ATamaray ACT22A
Tamaray ACT22A
 
Choosing Git hosting service
Choosing Git hosting serviceChoosing Git hosting service
Choosing Git hosting service
 
MeeGo 1.2 Harmattan - Development & Community Processes
MeeGo 1.2 Harmattan - Development & Community ProcessesMeeGo 1.2 Harmattan - Development & Community Processes
MeeGo 1.2 Harmattan - Development & Community Processes
 
Docker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containers
 
What Linux is what you should also have on your computer.
What Linux is what you should also have on your computer.What Linux is what you should also have on your computer.
What Linux is what you should also have on your computer.
 
Project-Builder.org presentation
Project-Builder.org presentationProject-Builder.org presentation
Project-Builder.org presentation
 
Comparing IaaS :VMware vs OpenStack vs Google’s Ganeti
Comparing IaaS :VMware vs OpenStack vs Google’s GanetiComparing IaaS :VMware vs OpenStack vs Google’s Ganeti
Comparing IaaS :VMware vs OpenStack vs Google’s Ganeti
 
BP502 IBM Connect 2014
BP502 IBM Connect 2014BP502 IBM Connect 2014
BP502 IBM Connect 2014
 
Next in Virtualization Era: Containerization & Docker
Next in Virtualization Era: Containerization & DockerNext in Virtualization Era: Containerization & Docker
Next in Virtualization Era: Containerization & Docker
 
Setting Up a Cloud Server - Part 1 - Transcript.pdf
Setting Up a Cloud Server - Part 1 - Transcript.pdfSetting Up a Cloud Server - Part 1 - Transcript.pdf
Setting Up a Cloud Server - Part 1 - Transcript.pdf
 
How automated cloud infrastructure setups can help with Continuous Delivery
How automated cloud infrastructure setups can help with Continuous DeliveryHow automated cloud infrastructure setups can help with Continuous Delivery
How automated cloud infrastructure setups can help with Continuous Delivery
 
How to integrate OpenStack Swift to your "legacy" system
How to integrate OpenStack Swift to your "legacy" systemHow to integrate OpenStack Swift to your "legacy" system
How to integrate OpenStack Swift to your "legacy" system
 

Kürzlich hochgeladen

6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
nirzagarg
 
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
nilamkumrai
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
nilamkumrai
 

Kürzlich hochgeladen (20)

(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
 

A Gentoo Environment at Gaikai

  • 1. a Gentoo environment at Gaikai Guido Serra <guido@gaikai.com> © Copyright 2014 Gaikai, a Sony Computer Entertainment 1 Company. 19/09/14
  • 2. Gaikai is internet at scale, Ganeti …&Gentoo • I got the chance to work on large numbers of machines • With several networks spreading across the globe • Have hands-on on a real production Ganeti cloud infrastructure • Contribute to the project and the community around Ganeti • Operate a production environment completely Gentoo based • Work with people acquired from other global internet companies © Copyright 2014 Gaikai, a Sony Computer Entertainment 2 Company. 19/09/14
  • 3. Gaikai, the gaming cloud company Gaikai has been acquired by Sony Computer Entertainment in 2012 Initially basing its business as advertising agency for new videogames that users would be able to stream from the Amazon cloud, it had to redesign its solution to provide what today is Playstation NOW As of now PsNOW is (beta) publicly available in USA and Canada as a way to play PS3 videogames without a PS3 console. Ganeti is used for the coordination and management of the streaming infrastructure. © Copyright 2014 Gaikai, a Sony Computer Entertainment 3 Company. 19/09/14
  • 4. The Berlin office Opened at the beginning of the year to cover the on-call shift of USA WEST coast night hours. We are not only guaranteeing our colleagues a safe sleep but we do also contribute in the tool automation and evolving architecture design of the infrastructure. Everybody else is in Orange County, Southern California +some people in the Bay Area +some other out to Tokyo © Copyright 2014 Gaikai, a Sony Computer Entertainment 4 Company. 19/09/14
  • 5. Abstract of the talk • Why did we choose ganeti • How it is currently implemented • How we are changing the current setup • Evaluation on how will we like to change it in the future © Copyright 2014 Gaikai, a Sony Computer Entertainment 5 Company. 19/09/14
  • 6. Ganeti is well documented (& active) It can get even better, but there is absolutely nothing I can complain. It has a wide & active community. Plus companies actively investing into it: with dedicated resources (people) contributing code. Here YOU are. I just stepped in, with the intention of doing more. © Copyright 2014 Gaikai, a Sony Computer Entertainment 6 Company. 19/09/14
  • 7. Lower footprint than openstack • A lot less dependencies and components • Far way easier to install © Copyright 2014 Gaikai, a Sony Computer Entertainment 7 Company. 19/09/14
  • 8. Ganeti scales DOWN One rack per environment. Multiple environments per continuous integration automation. Smallest setup is 1 box for ancillary services like NFS, tftp, configuration management and DHCP; and 4 hypervisor machines © Copyright 2014 Gaikai, a Sony Computer Entertainment 8 Company. 19/09/14
  • 9. Very quick to install -> try ganeti vagrant My laptop was my first playground thanks to that project. TNX to the people here in this room that contributed to that. Yes, Ganeti is very fast&easy to install. © Copyright 2014 Gaikai, a Sony Computer Entertainment 9 Company. 19/09/14
  • 10. How it is currently implemented: requirements Distributed machines having same role in a load-balanced service pool. • That is why we have a 1:1 association with each hypervisor (I do have heard about “labels”, that is part of the future for us) No persistency. We are not using DRBD. Apart of special cases. • Reboostrap from scratch on upgrade => roll&deploy © Copyright 2014 Gaikai, a Sony Computer Entertainment 10 Company. 19/09/14
  • 11. We run (prod)2.7.1, (test environment)2.9.1 We will run 2.11.5 => we aim to the latest stable release. In particular, for the following features: • Pool users, for VMs privileges • Non root users to ganeti’s daemons © Copyright 2014 Gaikai, a Sony Computer Entertainment 11 Company. 19/09/14
  • 12. Isolated failure domains: One cluster per rack Good for current upgrade from 2.7.1 to 2.11.5 • Hypervisor rebootstrap is involved, and services multiple restarts • All the nodes in the cluster are being involved in the process. (probably not so good for dynamic VMs distribution) since I have to talk to multiple RAPI endpoints • I would like to investigate on “labels” and “iAllocator”, and how one affects the other on distributing the VMs. © Copyright 2014 Gaikai, a Sony Computer Entertainment 12 Company. 19/09/14
  • 13. Image based system Also for the bare metal. We use prebuilded OS images everywhere. Installing from sources would take too long on entire stacks upgrade. …and it is highly risky, since you depend on sources that are distributed across the internet. And in case anyone of them goes down, the deployment is affected. A proxy would only mitigate that. But this also means that /root/.ssh/id_dsa is not preserved, neither /var/ lib/gentoo … yes, we are working on that. Thankfully they are still there after the OS upgrade, just in an inactive partition. © Copyright 2014 Gaikai, a Sony Computer Entertainment 13 Company. 19/09/14
  • 14. Current challenges: slow instance creation Especially when triggering sequentially via RAPI the creation of multiple VMs that reside in the same hypervisor, and maybe also on the same LVM partition and/or drive. [will the opportunistic locking available > 2.7 solve that?] UPDATE (SOLVED): discussing the issue during the conference …mkfs.ext4 exits without waiting the termination of the journaling © Copyright 2014 Gaikai, a Sony Computer Entertainment 14 Company. 19/09/14
  • 15. Orchestration via RAPI calls On rollouts everything is handled externally from Ganeti, via a custom configuration management & deployment tool. How would that integrate with the “labels”? If we are going to use them. • Is it going to be an issue the fact that we have one cluster per rack? • We do state the rack number in the VMs’ fqdn • And we update the DNS system before triggering the RAPI calls. • How are other people doing? © Copyright 2014 Gaikai, a Sony Computer Entertainment 15 Company. 19/09/14
  • 16. Security: privileges separation for daemons and instances Each daemon can have its own user, uid!=0 (apart of “noded”). Since the naming of such users/groups is stated at compile/config time, a Makefile generated script is produced and distributed with the binary version. (TNX Michele Tartara, from Google, for providing it). Noded is still running as root, it can be changed but that requires providing a user enough (potentially harmful) root privileges. That went beyond what I had in scope for the upgrade to 2.11.5 I ported to Gentoo such script, as it was Debian/Ubuntu specific. © Copyright 2014 Gaikai, a Sony Computer Entertainment 16 Company. 19/09/14
  • 17. Thanks to Patrick McLean, Gentoo/GAIKAI We have several official Gentoo contributors onboard at Gaikai: he is one of them. He published last Friday (August 26th) my patches to Ganeti’s Gentoo ebuild/package. Check it out, and let us know. © Copyright 2014 Gaikai, a Sony Computer Entertainment 17 Company. 19/09/14
  • 18. published ebuild 2.11.5 to Gentoo upstream © Copyright 2013 Gaikai, a Sony Computer Entertainment 18 Company. 19/09/14
  • 19. security part2: VMs’ users pool Each kvm/qemu process running with its own user, and not root. We could have published a helper there too, but we decided that it is up to whoever install the system to decide the way to provision such users pool. Using it is just matter of a configuration change at Ganeti’s © Copyright 2014 Gaikai, a Sony Computer Entertainment 19 Company. 19/09/14
  • 20. Instance migration between clusters No specific USE case yet. (question) Is it going to bring any benefit to our current setup? Or… having a single cluster? What benefits will it bring? © Copyright 2014 Gaikai, a Sony Computer Entertainment 20 Company. 19/09/14