XS: OLPC School Server

39
Sameer Verma, Ph.D. Associate Professor Information Systems Department San Francisco State University San Francisco, CA 94132 USA XS: OLPC School Server The Internet in a Box Presentation: OLPC San Francisco Bay Area http://tinyurl.com/olpcsf (unsung hero too!) Unless noted otherwise

description

XS: OLPC School Server. Internet in a box.

Transcript of XS: OLPC School Server

Page 1: XS: OLPC School Server

Sameer Verma, Ph.D.Associate ProfessorInformation Systems DepartmentSan Francisco State UniversitySan Francisco, CA 94132 USA

XS: OLPC School ServerThe Internet in a Box

Presentation: OLPC San Francisco Bay Areahttp://tinyurl.com/olpcsf

(unsung hero too!)

Unless noted otherwise

Page 2: XS: OLPC School Server

Multiple hats...

Disclaimer: I do not work for OLPC. I am only a volunteer!

Page 3: XS: OLPC School Server

OLPC San Francisco Bay Area

http://wiki.laptop.org/go/OLPC_SanFranciscoBayArea

http://lists.laptop.org/listinfo/olpc-sf

http://tinyu

rl.com/olpcs

f

Page 4: XS: OLPC School Server

OLPC-SF Deployments

● A hub for exchange of ideas, plans, content, etc.

● Deployments

– Afghanistan (Carol Ruth Silver, MTSA)

– India (Humaira Mahi & Sameer Verma, SFSU)

– Jamaica (Sameer Verma & Univ. of the West Indies)

– Madagascar (June Kleider, XO-ology)

– Senegal (Drew & Lick-Wilmerding Schools)

– South Africa (EduWeavers)

– San Francisco (Starr King Elementary)

– Uganda (UC Berkeley)

Page 5: XS: OLPC School Server
Page 6: XS: OLPC School Server

School environment

Manage contentManage access

Manage assessment

good to hav

e

Page 7: XS: OLPC School Server

What does the XS look like?

Fantasy View

Page 8: XS: OLPC School Server

What does the XS look like?

Reality View

http://www.flickr.com/photos/popcorncx/149706221/

Page 9: XS: OLPC School Server

What does the XS look like?

● Any x86 box with requisite memory, crunch and storage can be the XS.

– It could also be a ARM machine in the near future...

● Ideally, we want a machine that

– Consumes very little power

– Has the necessary crunch

– Portable

● Pocketable, even?

– Very forgiving for power brownouts, heat, dust, etc.

● Kinda like the XO.

Page 10: XS: OLPC School Server

Services that the XS runs

● Networking

– DNS

– DHCP

– NAT/Masquerading

– Bridging

● Identity management

– Seamless XO login

– Single One Time Password (SOTP) on server

● Activation

– Theft deterrence

Page 11: XS: OLPC School Server

Services that the XS runs

● Collaboration

– XMPP via ejabberd

● Storage

– Files and attachments for courses

– Backup files

– Other media

● Backup

– Journal/Datastore backup

● XO Software updates

– Push updates including firmware and OS images

● Activity server

– Pushing activity bundles

Page 12: XS: OLPC School Server

Networking

● Provides networking infrastructure for the school.

● Acts as an Internet gateway (if backhaul exists)

– Includes HTTP proxy (optional)

– Content filter (optional)

● Supports Wi-Fi:

– Ad-Hoc

– Mesh (IEEE 802.11s draft)

– Infrastructure (Access Point)

Page 13: XS: OLPC School Server

Identity management

● Single One Time Passwords (SOTP) for maintenance.

– Remote ISP maintenance, etc.

● OLPC XO Browse

– authenticates seamlessly with Moodle

– Moodle talks to ejabberd for permissions, etc.

● First XO to access Moodle

– This XO becomes admin.

– This XO can assign other teachers, course creators, and other such roles

Page 14: XS: OLPC School Server

Collaboration

● XMPP-based collaboration via ejabberd.

– Ejabberd is a XMPP (jabber) server written in erlang.

● Uses gabble mode under telepathy in Sugar.

– Gabble allows for server-based collaboration

● XOs switch to salut mode in case no XS is found.

– Salut allows for peer-to-peer collaboration

● Activities such as Chat, Write, Memorize use XMPP to collaborate.

http://xmpp.org/

http://collabora.co.uk

http://en.wikipedia.org/wiki/Telepathy_software

Page 15: XS: OLPC School Server

Storage

● Much of the storage lives in /library partition.

– Mount /library on external USB disk or other media and expand storage.

– Run rest of the system off a CF or SD card (solid state)

● Files can be served as

– links via Moodle

– links via Apache (add Apache config)

Page 16: XS: OLPC School Server

Backup

● Three processes:

– Traffic control

● provides basic "traffic control" to manage load.

– Backup-complete script

● Creates links for latest snapshot.

– Daily cleanup

● enforces a per-user "soft" quota.

Page 17: XS: OLPC School Server

Updates

● Pushing updates to OS image and firmware via rsync.

Page 18: XS: OLPC School Server

Layout (Access Points)

Page 19: XS: OLPC School Server

Hardware recommendations

● Schools with less than 40 laptops:

– use XS-on-XO: http://wiki.laptop.org/go/XS-on-XO

– Requires a SD card (4GB, preferably class 6)

– External USB hard drive (may need own power)

– USB-Ethernet for backhaul.

Page 20: XS: OLPC School Server

Fit PC and Fit PC2

● Fit PC works well and is comparable to the XO-1 in performance.

– More configurable than the XO-1.

– Replace a SSD in the FitPC to make it cooler and more power efficient.

● http://www.fit-pc.com/fit-pc1/● Fit PC2 has heat problems.

– Intel Atom runs too hot

● Surprise, surprise. ● Maybe glue on a large heat sink?

http://www.flickr.com/photos/ndevil/3535934684/

Page 21: XS: OLPC School Server

Hardware recommendations

● Schools with up to 100 laptops:

– 1GHz CPU, 1GB RAM,

– at least 2GB disk storage per laptop.

– Something in the mini ITX form-factor works well.

– Fanless units are better

Page 22: XS: OLPC School Server

Hardware recommendations

● For up to 500 laptops:

– dual-core 2GHz CPU

– 2 to 4GB RAM

– at least 2GB disk storage per laptop.

– This type of a machine usually works in environments with good power resources.

http://www.flickr.com/photos/popcorncx/149706221/

Page 23: XS: OLPC School Server

Hardware recommendations

● More than 500 laptops

– Server-class dual CPU

– 4 to 16GB RAM

– at least 2GB disk storage per laptop.

– Data center hosting is also an option.

http://www.flickr.com/photos/jamisonjudd/2433102356/

Page 24: XS: OLPC School Server

School Server

Page 25: XS: OLPC School Server

Screenshots

XS Moodle Screen Shots

Page 26: XS: OLPC School Server

Main page

Page 27: XS: OLPC School Server

Front page settings

Page 28: XS: OLPC School Server

Front page roles

Page 29: XS: OLPC School Server

List of users

Page 30: XS: OLPC School Server

Roles and permissions

Page 31: XS: OLPC School Server

Presence service

Page 32: XS: OLPC School Server

Antitheft controls

Page 33: XS: OLPC School Server

Add a course

Page 34: XS: OLPC School Server

Site files

Page 35: XS: OLPC School Server

Question bank

Page 36: XS: OLPC School Server

A zip file, which includes content and structure for the entire course!

Moving courses

...deploy in Madagascar!

Create in San Francisco...

Page 37: XS: OLPC School Server

XS: Internet in a box

No Internet? No power? No problem :-)

http://en.wikipedia.org/wiki/OLPC_XShttp://wiki.laptop.org/go/School_server

Page 38: XS: OLPC School Server

OLPC San Francisco Bay Area

http://wiki.laptop.org/go/OLPC_SanFranciscoBayArea

http://lists.laptop.org/listinfo/olpc-sf

http://tinyu

rl.com/olpcs

f

Page 39: XS: OLPC School Server

Made with the free stuff

Its your intellectual property. Keep it open. Vote with your fingers.

Use open formats!http://www.openoffice.org/