SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Kako napraviti Google od
  zgrade s računalima?

            Dobrica Pavlinušić
        http://www.rot13.org/~dpavlin/
 HULK, Knjižnica Filozofskog fakulteta u Zagrebu
    DORS/CLUC, Zagreb, 7. svibnja 2010.
Zašto?


Imate neka računala koja nisu
     sasvim iskorištena,
        a troše struju

  Uvijek ste htjeli imati svoj cluster!
Sadržaj
●   Računala
     – Web kiosci za pretraživanje kataloga
●   Network boot i monitoring
     – PXElator
●   Distribute data
     – Sack
●   Distribute computing
     – Gearman, Narada
●   Dokumentacija
     – Sysadmin Cookbook, bak-git
Nađite računala
●   Web kiosci za
    pretraživanje kataloga
    knjižnice
●   Dell Optiplex755
    –   2Gb RAM
    –   Core2 Duo E7200 @
        2.53GHz
    –   80Gb Hitachi disk
●   5 katova+prizemlje
    –   24 Gb RAM
    –   30.36 Ghz CPU
    –   960 Gb disk
Pretraživanje kataloga
●   Koha – knjižnični software s web sučeljem
●   Webconverger
     – Debian Live distribucija
     – Firefox, skrivanje URL-a
     – Boot s mreže bez korištenja diska
●   Svaki ormar ima 100Mb/s switch (sigh!) zbog
    manjska mrežnih utičnica

●   http://webconverger.com/
PXElator
●   Replace system administration with perl
    script
●   Protocol soup:
     – DHCP, TFTP, HTTP, DNS, syslog, WOL,
       AMT, DRAC5
●   Store audit data in MongoDB
●   Configuration in files/perl code
●   Provision netboot, KVM, nfsroot
●   Additional toos: nmap, wireshark
●   http://blog.rot13.org/pxelator/
PXElator demo
●   Manage (single/virtual) network
●   Passivly monitor rest of traffic
●   Multi-color screen+xterm debug
Sack
●   Distribuirani memorija sa ad-hoc upitima u
    obliku perl funkcija
●   Svi ostali pristupi su prespori ili
    prekomplicirani za korištenje
     – CouchDB
     – MongoDB
     – HyperTable
●   Shard-nothing pristup
     – Cluster, multi-core
●   http://blog.rot13.org/sack/
Kako napuniti vreću?
●   pure-perl client
●   configure (hosts+ssh config/keys)
●   deployment over ssh/cpio on startup
     – ssh compression for network speedup
●   source data for shards from CouchDB,
    MongoDB, WebPAC, text files...
●   Edit perl ad-hoc query in vi
●   Web interface
     – query execution and overview
     – with gnuplot graphs for time data
Cijeli sustav
●   PXElator
     – boot nodes
     – audit data
●   Sack
     – shard data
     – distribute
     – ad-hoc query

●   Fun and profit!
Gearman


“The way I like to think of Gearman is as
   a massively distributed, massively
     fault tolerant fork mechanism.”

           - Joe Stump, Digg
Gearman dijelovi




●   fault-tolerant
●   perl, php, C, Drizzle, MySQL, PostgreSQL, ...
●   Command-line tool
●   Pluggable protocols: HTTP

●   http://sysadmin-cookbook.rot13.org/#gearman
Narada
Dokumentacija

Virtualizacija i clusteri su krasne
stvari, sve dok ne počnete pisati
         dokumentaciju!

 Standard Operating Procedure
   Configuration Management
Sysadmin Cookbook
●   Dokumentation for me, two years later
●   Fast and easy deployment
●   Convention over documentation
     – number.name
     – magic names
        ● sh, append, replace

     – symlinks to keep original locations
     – commit messages for documentation

●   http://sysadmin-cookbook.rot13.org/
bak-git centralni SCM
●   System configuration management
●   Centralni git repozitorij
     – Poznate git komande (s/git/bak/)
●   Jednostavan deployment
     – ssh, rsync, netcat, shell (bak)
●   Audit log svih promjena (security!)
●   Svako računalo ima svoj direktorij
     – Uspoređivanje konfiguracija
●   Web sučelje: gitweb
●   http://blog.rot13.org/bak-git/
O čemu smo pričali?
●   Nađite neiskorištenja računala
●   Pojednostavite upravljanje
     – PXElator, netboot
●   Podjelite podatke po njima
     – Sack, ad-hoc query
●   Paralelizirajte obrade podataka
     – Gearman
●   Dokumentirajte učinjeno
     – Ne postoji bez dokumentacije
Pitanja?
   42

Mais conteúdo relacionado

Mais procurados

Bambleweeny Redis With HTTP & OAuth: Uli Hitzel
Bambleweeny Redis With HTTP & OAuth: Uli HitzelBambleweeny Redis With HTTP & OAuth: Uli Hitzel
Bambleweeny Redis With HTTP & OAuth: Uli Hitzel
Redis Labs
 
New microsoft power point presentation
New microsoft power point presentationNew microsoft power point presentation
New microsoft power point presentation
rajsandhu1989
 
Out of the Box Replication in Postgres 9.4(pgconfsf)
Out of the Box Replication in Postgres 9.4(pgconfsf)Out of the Box Replication in Postgres 9.4(pgconfsf)
Out of the Box Replication in Postgres 9.4(pgconfsf)
Denish Patel
 
Oreilly Webcast Jun17
Oreilly Webcast Jun17Oreilly Webcast Jun17
Oreilly Webcast Jun17
Sean Hull
 
Asus WL500gP USB Serial
Asus WL500gP USB SerialAsus WL500gP USB Serial
Asus WL500gP USB Serial
guestac21b8
 

Mais procurados (20)

Qt native built for raspberry zero
Qt native built for  raspberry zeroQt native built for  raspberry zero
Qt native built for raspberry zero
 
Microsoft SQL Server with Linux and Docker
Microsoft SQL Server with Linux and DockerMicrosoft SQL Server with Linux and Docker
Microsoft SQL Server with Linux and Docker
 
Gulp
GulpGulp
Gulp
 
Bambleweeny Redis With HTTP & OAuth: Uli Hitzel
Bambleweeny Redis With HTTP & OAuth: Uli HitzelBambleweeny Redis With HTTP & OAuth: Uli Hitzel
Bambleweeny Redis With HTTP & OAuth: Uli Hitzel
 
Postgis setup
Postgis setupPostgis setup
Postgis setup
 
New microsoft power point presentation
New microsoft power point presentationNew microsoft power point presentation
New microsoft power point presentation
 
Out of the Box Replication in Postgres 9.4(pgconfsf)
Out of the Box Replication in Postgres 9.4(pgconfsf)Out of the Box Replication in Postgres 9.4(pgconfsf)
Out of the Box Replication in Postgres 9.4(pgconfsf)
 
Create a RESTful API with NodeJS, Express and MongoDB
Create a RESTful API with NodeJS, Express and MongoDBCreate a RESTful API with NodeJS, Express and MongoDB
Create a RESTful API with NodeJS, Express and MongoDB
 
MongoUK - Approaching 1 billion documents with MongoDB1 Billion Documents
MongoUK - Approaching 1 billion documents with MongoDB1 Billion DocumentsMongoUK - Approaching 1 billion documents with MongoDB1 Billion Documents
MongoUK - Approaching 1 billion documents with MongoDB1 Billion Documents
 
MongoDB Devops Madrid February 2012
MongoDB Devops Madrid February 2012MongoDB Devops Madrid February 2012
MongoDB Devops Madrid February 2012
 
Advanced Administration, Monitoring and Backup
Advanced Administration, Monitoring and BackupAdvanced Administration, Monitoring and Backup
Advanced Administration, Monitoring and Backup
 
Oreilly Webcast Jun17
Oreilly Webcast Jun17Oreilly Webcast Jun17
Oreilly Webcast Jun17
 
Asus WL500gP USB Serial
Asus WL500gP USB SerialAsus WL500gP USB Serial
Asus WL500gP USB Serial
 
Ops Jumpstart: Admin 101
Ops Jumpstart: Admin 101Ops Jumpstart: Admin 101
Ops Jumpstart: Admin 101
 
Out of the box replication in postgres 9.4
Out of the box replication in postgres 9.4Out of the box replication in postgres 9.4
Out of the box replication in postgres 9.4
 
RVaLUG Presentation - 20130921
RVaLUG Presentation - 20130921RVaLUG Presentation - 20130921
RVaLUG Presentation - 20130921
 
PHP Handlers
PHP HandlersPHP Handlers
PHP Handlers
 
Amepad lt(tmpfs)
Amepad lt(tmpfs)Amepad lt(tmpfs)
Amepad lt(tmpfs)
 
Webinar - Approaching 1 billion documents with MongoDB
Webinar - Approaching 1 billion documents with MongoDBWebinar - Approaching 1 billion documents with MongoDB
Webinar - Approaching 1 billion documents with MongoDB
 
A faster web
A faster webA faster web
A faster web
 

Destaque

The Great Highland Bagpipe
The  Great  Highland  BagpipeThe  Great  Highland  Bagpipe
The Great Highland Bagpipe
1LifelongLearner
 
Slobodni softver za digitalne arhive: EPrints u Knjižnici Filozofskog fakulte...
Slobodni softver za digitalne arhive: EPrints u Knjižnici Filozofskog fakulte...Slobodni softver za digitalne arhive: EPrints u Knjižnici Filozofskog fakulte...
Slobodni softver za digitalne arhive: EPrints u Knjižnici Filozofskog fakulte...
Dobrica Pavlinušić
 
Re-Negotiating Narrative: Emergent Storytelling
Re-Negotiating Narrative: Emergent StorytellingRe-Negotiating Narrative: Emergent Storytelling
Re-Negotiating Narrative: Emergent Storytelling
PaleFire
 

Destaque (20)

CTE Teaching and Learning Inst. 2008
CTE Teaching and Learning Inst. 2008CTE Teaching and Learning Inst. 2008
CTE Teaching and Learning Inst. 2008
 
Free Libre Open Source Software at FFZG library
Free Libre Open Source Software at FFZG libraryFree Libre Open Source Software at FFZG library
Free Libre Open Source Software at FFZG library
 
Post-relational databases: What's wrong with web development? v3
Post-relational databases: What's wrong with web development? v3Post-relational databases: What's wrong with web development? v3
Post-relational databases: What's wrong with web development? v3
 
Euronem Zambia 2008
Euronem Zambia 2008Euronem Zambia 2008
Euronem Zambia 2008
 
The Attack of the Learning Clones
The Attack of the Learning ClonesThe Attack of the Learning Clones
The Attack of the Learning Clones
 
REST ili kao sam se prestao brinuti o HTTP-u i zavolio ga (HTTP Server sa RFI...
REST ili kao sam se prestao brinuti o HTTP-u i zavolio ga (HTTP Server sa RFI...REST ili kao sam se prestao brinuti o HTTP-u i zavolio ga (HTTP Server sa RFI...
REST ili kao sam se prestao brinuti o HTTP-u i zavolio ga (HTTP Server sa RFI...
 
Cow2
Cow2Cow2
Cow2
 
The Great Highland Bagpipe
The  Great  Highland  BagpipeThe  Great  Highland  Bagpipe
The Great Highland Bagpipe
 
Wiki: Open Collaborative Learning Environment
Wiki: Open Collaborative Learning EnvironmentWiki: Open Collaborative Learning Environment
Wiki: Open Collaborative Learning Environment
 
Slobodni softver za digitalne arhive: EPrints u Knjižnici Filozofskog fakulte...
Slobodni softver za digitalne arhive: EPrints u Knjižnici Filozofskog fakulte...Slobodni softver za digitalne arhive: EPrints u Knjižnici Filozofskog fakulte...
Slobodni softver za digitalne arhive: EPrints u Knjižnici Filozofskog fakulte...
 
Re-Negotiating Narrative: Emergent Storytelling
Re-Negotiating Narrative: Emergent StorytellingRe-Negotiating Narrative: Emergent Storytelling
Re-Negotiating Narrative: Emergent Storytelling
 
Virtual Reality Applications in Career Consulting - Potential & Restictions
Virtual Reality Applications in Career Consulting  - Potential & RestictionsVirtual Reality Applications in Career Consulting  - Potential & Restictions
Virtual Reality Applications in Career Consulting - Potential & Restictions
 
Oslobodimo Hardware
Oslobodimo HardwareOslobodimo Hardware
Oslobodimo Hardware
 
Ppt Demo Slideshare
Ppt Demo SlidesharePpt Demo Slideshare
Ppt Demo Slideshare
 
Test
TestTest
Test
 
Χριστούγεννα χωρίς Χριστό
Χριστούγεννα χωρίς ΧριστόΧριστούγεννα χωρίς Χριστό
Χριστούγεννα χωρίς Χριστό
 
Denk- en discussiedag sept 2010: digitale collectie
Denk- en discussiedag sept 2010: digitale collectieDenk- en discussiedag sept 2010: digitale collectie
Denk- en discussiedag sept 2010: digitale collectie
 
What Is Powerpoint
What Is PowerpointWhat Is Powerpoint
What Is Powerpoint
 
Morocco
MoroccoMorocco
Morocco
 
The Constellation Query Language
The Constellation Query LanguageThe Constellation Query Language
The Constellation Query Language
 

Semelhante a Kako napraviti Google od zgrade sa računalima?

Grabbing the PostgreSQL Elephant by the Trunk
Grabbing the PostgreSQL Elephant by the TrunkGrabbing the PostgreSQL Elephant by the Trunk
Grabbing the PostgreSQL Elephant by the Trunk
Harold Giménez
 
Optimizing Your Frontend Performance
Optimizing Your Frontend PerformanceOptimizing Your Frontend Performance
Optimizing Your Frontend Performance
Thomas Weinert
 
Fosdem managing my sql with percona toolkit
Fosdem managing my sql with percona toolkitFosdem managing my sql with percona toolkit
Fosdem managing my sql with percona toolkit
Frederic Descamps
 
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Docker, Inc.
 

Semelhante a Kako napraviti Google od zgrade sa računalima? (20)

The Accidental DBA
The Accidental DBAThe Accidental DBA
The Accidental DBA
 
Foreman in Your Data Center :OSDC 2015
Foreman in Your Data Center :OSDC 2015Foreman in Your Data Center :OSDC 2015
Foreman in Your Data Center :OSDC 2015
 
Tackling Network Bottlenecks with Hardware Accelerations: Cloud vs. On-Premise
Tackling Network Bottlenecks with Hardware Accelerations: Cloud vs. On-PremiseTackling Network Bottlenecks with Hardware Accelerations: Cloud vs. On-Premise
Tackling Network Bottlenecks with Hardware Accelerations: Cloud vs. On-Premise
 
OSDC 2015: Stephen Benjamin | Foreman in Your Data Center
OSDC 2015: Stephen Benjamin | Foreman in Your Data CenterOSDC 2015: Stephen Benjamin | Foreman in Your Data Center
OSDC 2015: Stephen Benjamin | Foreman in Your Data Center
 
Shootout at the PAAS Corral
Shootout at the PAAS CorralShootout at the PAAS Corral
Shootout at the PAAS Corral
 
Grabbing the PostgreSQL Elephant by the Trunk
Grabbing the PostgreSQL Elephant by the TrunkGrabbing the PostgreSQL Elephant by the Trunk
Grabbing the PostgreSQL Elephant by the Trunk
 
OSCamp 2019 | #3 Ansible: Foreman Discovery by Adam Ruzicka
OSCamp 2019 | #3 Ansible: Foreman Discovery by Adam RuzickaOSCamp 2019 | #3 Ansible: Foreman Discovery by Adam Ruzicka
OSCamp 2019 | #3 Ansible: Foreman Discovery by Adam Ruzicka
 
Red Hat Summit 2018 5 New High Performance Features in OpenShift
Red Hat Summit 2018 5 New High Performance Features in OpenShiftRed Hat Summit 2018 5 New High Performance Features in OpenShift
Red Hat Summit 2018 5 New High Performance Features in OpenShift
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVM
 
Optimizing Your Frontend Performance
Optimizing Your Frontend PerformanceOptimizing Your Frontend Performance
Optimizing Your Frontend Performance
 
Fosdem managing my sql with percona toolkit
Fosdem managing my sql with percona toolkitFosdem managing my sql with percona toolkit
Fosdem managing my sql with percona toolkit
 
Kvm optimizations
Kvm optimizationsKvm optimizations
Kvm optimizations
 
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVM
 
Foreman in your datacenter
Foreman in your datacenterForeman in your datacenter
Foreman in your datacenter
 
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker | YaC 2013Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
 
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
 
Community Update at OpenStack Summit Boston
Community Update at OpenStack Summit BostonCommunity Update at OpenStack Summit Boston
Community Update at OpenStack Summit Boston
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
 

Mais de Dobrica Pavlinušić

This is an interesting metadata source. Can I import it into Koha?
This is an interesting metadata source. Can I import it into Koha?This is an interesting metadata source. Can I import it into Koha?
This is an interesting metadata source. Can I import it into Koha?
Dobrica Pavlinušić
 
Virtualization which isn't: LXC (Linux Containers)
Virtualization which isn't: LXC (Linux Containers)Virtualization which isn't: LXC (Linux Containers)
Virtualization which isn't: LXC (Linux Containers)
Dobrica Pavlinušić
 
Post-relational databases: What's wrong with web development?
Post-relational databases: What's wrong with web development?Post-relational databases: What's wrong with web development?
Post-relational databases: What's wrong with web development?
Dobrica Pavlinušić
 

Mais de Dobrica Pavlinušić (20)

Mainline kernel on ARM Tegra20 devices that are left behind on 2.6 kernels
Mainline kernel on ARM Tegra20 devices that are left behind on 2.6 kernelsMainline kernel on ARM Tegra20 devices that are left behind on 2.6 kernels
Mainline kernel on ARM Tegra20 devices that are left behind on 2.6 kernels
 
Linux+sensor+device-tree+shell=IoT !
Linux+sensor+device-tree+shell=IoT !Linux+sensor+device-tree+shell=IoT !
Linux+sensor+device-tree+shell=IoT !
 
bro - what is in my network?
bro - what is in my network?bro - what is in my network?
bro - what is in my network?
 
Let's hack cheap hardware 2016 edition
Let's hack cheap hardware 2016 editionLet's hack cheap hardware 2016 edition
Let's hack cheap hardware 2016 edition
 
Raspberry Pi - best friend for all your GPIO needs
Raspberry Pi - best friend for all your GPIO needsRaspberry Pi - best friend for all your GPIO needs
Raspberry Pi - best friend for all your GPIO needs
 
Cheap, good, hackable tools from China: AVR component tester
Cheap, good, hackable tools from China: AVR component testerCheap, good, hackable tools from China: AVR component tester
Cheap, good, hackable tools from China: AVR component tester
 
Ganeti - build your own cloud
Ganeti - build your own cloudGaneti - build your own cloud
Ganeti - build your own cloud
 
FSEC 2014 - I can haz your board with JTAG
FSEC 2014 - I can haz your board with JTAGFSEC 2014 - I can haz your board with JTAG
FSEC 2014 - I can haz your board with JTAG
 
Hardware hacking for software people
Hardware hacking for software peopleHardware hacking for software people
Hardware hacking for software people
 
Gnu linux on arm for $50 - $100
Gnu linux on arm for $50 - $100Gnu linux on arm for $50 - $100
Gnu linux on arm for $50 - $100
 
Security of Linux containers in the cloud
Security of Linux containers in the cloudSecurity of Linux containers in the cloud
Security of Linux containers in the cloud
 
This is an interesting metadata source. Can I import it into Koha?
This is an interesting metadata source. Can I import it into Koha?This is an interesting metadata source. Can I import it into Koha?
This is an interesting metadata source. Can I import it into Koha?
 
Web scale monitoring
Web scale monitoringWeb scale monitoring
Web scale monitoring
 
SysAdmin cookbook
SysAdmin cookbookSysAdmin cookbook
SysAdmin cookbook
 
Printing on Linux, simple right?
Printing on Linux, simple right?Printing on Linux, simple right?
Printing on Linux, simple right?
 
KohaCon11: Integrating Koha with RFID system
KohaCon11: Integrating Koha with RFID systemKohaCon11: Integrating Koha with RFID system
KohaCon11: Integrating Koha with RFID system
 
Deploy your own P2P network
Deploy your own P2P networkDeploy your own P2P network
Deploy your own P2P network
 
Virtualization which isn't: LXC (Linux Containers)
Virtualization which isn't: LXC (Linux Containers)Virtualization which isn't: LXC (Linux Containers)
Virtualization which isn't: LXC (Linux Containers)
 
Post-relational databases: What's wrong with web development?
Post-relational databases: What's wrong with web development?Post-relational databases: What's wrong with web development?
Post-relational databases: What's wrong with web development?
 
Mojo Facets – so, you have data and browser?
Mojo Facets – so, you have data and browser?Mojo Facets – so, you have data and browser?
Mojo Facets – so, you have data and browser?
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Kako napraviti Google od zgrade sa računalima?

  • 1. Kako napraviti Google od zgrade s računalima? Dobrica Pavlinušić http://www.rot13.org/~dpavlin/ HULK, Knjižnica Filozofskog fakulteta u Zagrebu DORS/CLUC, Zagreb, 7. svibnja 2010.
  • 2. Zašto? Imate neka računala koja nisu sasvim iskorištena, a troše struju Uvijek ste htjeli imati svoj cluster!
  • 3. Sadržaj ● Računala – Web kiosci za pretraživanje kataloga ● Network boot i monitoring – PXElator ● Distribute data – Sack ● Distribute computing – Gearman, Narada ● Dokumentacija – Sysadmin Cookbook, bak-git
  • 4. Nađite računala ● Web kiosci za pretraživanje kataloga knjižnice ● Dell Optiplex755 – 2Gb RAM – Core2 Duo E7200 @ 2.53GHz – 80Gb Hitachi disk ● 5 katova+prizemlje – 24 Gb RAM – 30.36 Ghz CPU – 960 Gb disk
  • 5. Pretraživanje kataloga ● Koha – knjižnični software s web sučeljem ● Webconverger – Debian Live distribucija – Firefox, skrivanje URL-a – Boot s mreže bez korištenja diska ● Svaki ormar ima 100Mb/s switch (sigh!) zbog manjska mrežnih utičnica ● http://webconverger.com/
  • 6. PXElator ● Replace system administration with perl script ● Protocol soup: – DHCP, TFTP, HTTP, DNS, syslog, WOL, AMT, DRAC5 ● Store audit data in MongoDB ● Configuration in files/perl code ● Provision netboot, KVM, nfsroot ● Additional toos: nmap, wireshark ● http://blog.rot13.org/pxelator/
  • 7. PXElator demo ● Manage (single/virtual) network ● Passivly monitor rest of traffic ● Multi-color screen+xterm debug
  • 8. Sack ● Distribuirani memorija sa ad-hoc upitima u obliku perl funkcija ● Svi ostali pristupi su prespori ili prekomplicirani za korištenje – CouchDB – MongoDB – HyperTable ● Shard-nothing pristup – Cluster, multi-core ● http://blog.rot13.org/sack/
  • 9. Kako napuniti vreću? ● pure-perl client ● configure (hosts+ssh config/keys) ● deployment over ssh/cpio on startup – ssh compression for network speedup ● source data for shards from CouchDB, MongoDB, WebPAC, text files... ● Edit perl ad-hoc query in vi ● Web interface – query execution and overview – with gnuplot graphs for time data
  • 10. Cijeli sustav ● PXElator – boot nodes – audit data ● Sack – shard data – distribute – ad-hoc query ● Fun and profit!
  • 11. Gearman “The way I like to think of Gearman is as a massively distributed, massively fault tolerant fork mechanism.” - Joe Stump, Digg
  • 12. Gearman dijelovi ● fault-tolerant ● perl, php, C, Drizzle, MySQL, PostgreSQL, ... ● Command-line tool ● Pluggable protocols: HTTP ● http://sysadmin-cookbook.rot13.org/#gearman
  • 13.
  • 14.
  • 15.
  • 17. Dokumentacija Virtualizacija i clusteri su krasne stvari, sve dok ne počnete pisati dokumentaciju! Standard Operating Procedure Configuration Management
  • 18. Sysadmin Cookbook ● Dokumentation for me, two years later ● Fast and easy deployment ● Convention over documentation – number.name – magic names ● sh, append, replace – symlinks to keep original locations – commit messages for documentation ● http://sysadmin-cookbook.rot13.org/
  • 19. bak-git centralni SCM ● System configuration management ● Centralni git repozitorij – Poznate git komande (s/git/bak/) ● Jednostavan deployment – ssh, rsync, netcat, shell (bak) ● Audit log svih promjena (security!) ● Svako računalo ima svoj direktorij – Uspoređivanje konfiguracija ● Web sučelje: gitweb ● http://blog.rot13.org/bak-git/
  • 20. O čemu smo pričali? ● Nađite neiskorištenja računala ● Pojednostavite upravljanje – PXElator, netboot ● Podjelite podatke po njima – Sack, ad-hoc query ● Paralelizirajte obrade podataka – Gearman ● Dokumentirajte učinjeno – Ne postoji bez dokumentacije
  • 21. Pitanja? 42