User:Holt/XS Community Edition/0.2/Project Specifications: Difference between revisions

From OLPC
Jump to navigation Jump to search
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
School Server - Community Edition 0.2 Project Specifications
School Server - Community Edition 0.2 Project Specifications


==Summary==
==Executive summary==


The school server is very similar in concept to a standard home wireless router. In everyday usage it provides various services which extend capabilities of the connected laptops while being totally transparent to the user.
The school server is very similar in concept to a standard home wireless router. In everyday usage it provides various services which extend capabilities of the connected laptops while being totally transparent to the user.
Line 8: Line 8:
<li>Network connection – various services similar to what you would find in a home router.
<li>Network connection – various services similar to what you would find in a home router.
<li>Presence server – Augments sugar's native collaboration functionality.
<li>Presence server – Augments sugar's native collaboration functionality.
<li>Squid -- Caches pages to speed requests for multiple requests for the same page.
<li>Web filtering – Enables schools to comply with local legal restrictions on internet access for children.
<li>Activity Update Server -- enable local repository of Activities.
<li>Security – XO related security services. - FUTURE
<li>FUTURE - Web filtering – Enables schools to comply with local legal restrictions on internet access for children.
<li>Content management - FUTURE
<li>FUTURE - Security – XO related security services.
<li>FUTURE - Content management
</ul>
</ul>


Line 17: Line 19:
The XS-CE has two different types of reference user:
The XS-CE has two different types of reference user:
<ul>
<ul>
<li> Highly skilled sysadmins running micro-deployments
<li> Skilled sysadmins running micro-deployments
<li> OLPC-AU schools.
<li> OLPC-AU schools.
</ul>
</ul>


As a result this design might not apply in all situations in all deployments. These limitations ease design and development while creating a fuctional reference implementation.
As a result this design might not apply in all situations in all deployments. These limitations ease design and development while creating a functional reference implementation.


==Hardware==
==Hardware==


School servers can be run on XO-1.75.
The target hardware for the school server will be recent XO laptop. Due to hardware limitations on XO 1.0s, design and implementation of a fully functional server becomes difficult. In common usage, the XO may be augmented by two off the shelf USB devices:

===XO-1.75===

In common usage, the XO may be augmented by SD cards and two off the shelf USB devices:
<ul>
<ul>
<li>External hard drive – Allows the server to provide additional storage capabilities.
<li>FUTURE --External hard drive – Allows the server to provide additional storage capabilities.
<li>Network connector – Allow the server to offer internet access to connected XO's.
<li>Network connector – Allow the server to offer internet access to connected XO's.
</ul>
</ul>


Using this strategy it is simple for a deployment to inventory and maintain school servers.
This strategy it is simple for a deployment to inventory and maintain school servers.

NOTE: Limiting the hardware to XO simplifies the implement and testing process because their fewer possible configurations to deal with.


== Deliverable==
== Deliverable==


A RPM combined with tested installation instructions necessary to convert a standard XO 1.75 into a School Server.
A RPM combined with tested installation instructions necessary to convert a standard XO-1.75 into a School Server.


An image combined with tested installation instruction which can be flashed onto a laptop by deployment support staff. At initial 'power on' the support staff or teacher will be greeted by a simple GUI to do initial configuration.
FUTURE - An image combined with tested installation instruction which can be flashed onto a laptop by deployment support staff. At initial 'power on' the support staff or teacher will be greeted by a simple GUI to do initial configuration.


==OS==
==OS==


To keep things simple and consistent the school server will be based on OLPC-OS 12.
The school server will be based on OLPC-OS 12.1 on FC17


NOTE: Limiting the deliverable to single OS variant meets the requirement to work on a XO while limiting complexity.
NOTE: Limiting the deliverable to single a OS variant meets the base requirements while limiting complexity.


==User Interface==
==User Interface==
Line 51: Line 55:
Command Line – Command line configuration should be discouraged at all levels. Target users are often not familiar with the linux system administration. Initial setup or fixing a problem with their server is not a good time to introduce system administration skill.
Command Line – Command line configuration should be discouraged at all levels. Target users are often not familiar with the linux system administration. Initial setup or fixing a problem with their server is not a good time to introduce system administration skill.


Browser based GUI. – The primary configuration tool will be a browser based GUI. This technology is well understood by developers. Many end uses have familiarity with Browser based setup.
FUTURE - Browser based GUI. – The primary configuration tool will be a browser based GUI. This technology is well understood by developers. Many end uses have familiarity with Browser based setup.


FUTURE - Remote administration – There are several systema such as CFEngine and puppet which enables remote management. While not immediately required by AU it is highly desirable by large deployment.
A browser based allow admin from three physical distances:
<ul>
<li>On screen. Initial setup and admin of security sensitive services can be limited to on screen.
<li>On site. Subsequent management of non security sensitive services can be done by a teacher or local admin logging in to the machine.
<li>Remote. Deployment level support staff can log in and remotely maintain and monitor services.
</ul>

Remote automation – There are several system such as CFEngine and puppet which enables remote management. While not immediately required by AU it is highly desirable by large deployment. - FUTURE


==Modular design==
==Modular design==


One of the key design criteria of all successful community based projects is modularity. The original XS suffered because developers took used monolithic design overcome hardware limitations on the XO-1. The improvements in the XO-1.75 allow for the potential inefficiencies of modularity.
One of the key design criteria of all successful community based projects is modularity. The original XS suffered because developers used monolithic design to overcome hardware limitations on the XO-1. The improvements in the XO-1.75 allow for the potential inefficiencies of modularity.


==Core Server==
==Core Server==


The core server will contain 5 components which can be extended via extended services.
The core server will contain 5 services which can be extended via extended services.


Service: Network setup<br>
Service: Network setup<br>
Line 85: Line 82:
Prupose: <br>
Prupose: <br>
Provider: named <br>
Provider: named <br>

Service: Backup of student work and restore<br>
Purpose: <br>
Provider: idmgr


Service:Jabber server <br>
Service:Jabber server <br>
Line 92: Line 93:
==Extended Services==
==Extended Services==


Service: proxy server and web cache (XavierC) <br>
Service: Web server<br>
Purpose: Building block for many other extended services<br>
Provider: apache<br>

Service: proxy server and web cache<br>
Purpose: bandwidth, web-filtering, web-monitoring <br>
Purpose: bandwidth, web-filtering, web-monitoring <br>
Provider: squid
Provider: squid<br>


Service: Content filtering (TimM??) <br>
Service: OLPC-update<br>
Purpose: age-appropriate surfing, legal compliance, religious risks <br>
Purpose: OLPC-update is necessary to update the kernel of XO<br>
Provider: dansguardian
Provider: rsync<br>


Service: Activity update<br>
Service: Backup of student work and restore (JerryV, SameerV, GeorgeH)<br>
Purpose: Enables teachers to easily distribute new or updated activities to their students<br>
Purpose: also for stats/metrics, with incumbent surveillance risks<br>
Provider: idmgr
Provider: activity updater<br>


Service: (JerryV, GeorgeH)<br>
Service: Virtual Private Network (VPN)<br>
Purpose: Creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities<br>
Purpose: Journal submissions to teacher, academic record (homework etc)<br>
Provider: WebDAV
Provider: open vpn<br>

Service: (DSD, GeorgeH)<br>
Purpose: remote upgrading/admin of XS servers (semi-automated)<br>
Provider: Puppet

Service: (GeorgeH, Gerald)<br>
Purpose: local distribution/replication of Sugar Activities etc<br>
Provider: pdsh

Service: Book server (SameerV, AlexK, GeorgeH struggling!)<br>
Purpose: compete with Khan Academy?<br>
Provider: pathagar

==Extended Services==

Latest revision as of 00:45, 11 February 2013

School Server - Community Edition 0.2 Project Specifications

Summary

The school server is very similar in concept to a standard home wireless router. In everyday usage it provides various services which extend capabilities of the connected laptops while being totally transparent to the user. These services can include:

  • Network connection – various services similar to what you would find in a home router.
  • Presence server – Augments sugar's native collaboration functionality.
  • Squid -- Caches pages to speed requests for multiple requests for the same page.
  • Activity Update Server -- enable local repository of Activities.
  • FUTURE - Web filtering – Enables schools to comply with local legal restrictions on internet access for children.
  • FUTURE - Security – XO related security services.
  • FUTURE - Content management

Reference User

The XS-CE has two different types of reference user:

  • Skilled sysadmins running micro-deployments
  • OLPC-AU schools.

As a result this design might not apply in all situations in all deployments. These limitations ease design and development while creating a functional reference implementation.

Hardware

School servers can be run on XO-1.75.

XO-1.75

In common usage, the XO may be augmented by SD cards and two off the shelf USB devices:

  • FUTURE --External hard drive – Allows the server to provide additional storage capabilities.
  • Network connector – Allow the server to offer internet access to connected XO's.

This strategy it is simple for a deployment to inventory and maintain school servers.

Deliverable

A RPM combined with tested installation instructions necessary to convert a standard XO-1.75 into a School Server.

FUTURE - An image combined with tested installation instruction which can be flashed onto a laptop by deployment support staff. At initial 'power on' the support staff or teacher will be greeted by a simple GUI to do initial configuration.

OS

The school server will be based on OLPC-OS 12.1 on FC17

NOTE: Limiting the deliverable to single a OS variant meets the base requirements while limiting complexity.

User Interface

Command Line – Command line configuration should be discouraged at all levels. Target users are often not familiar with the linux system administration. Initial setup or fixing a problem with their server is not a good time to introduce system administration skill.

FUTURE - Browser based GUI. – The primary configuration tool will be a browser based GUI. This technology is well understood by developers. Many end uses have familiarity with Browser based setup.

FUTURE - Remote administration – There are several systema such as CFEngine and puppet which enables remote management. While not immediately required by AU it is highly desirable by large deployment.

Modular design

One of the key design criteria of all successful community based projects is modularity. The original XS suffered because developers used monolithic design to overcome hardware limitations on the XO-1. The improvements in the XO-1.75 allow for the potential inefficiencies of modularity.

Core Server

The core server will contain 5 services which can be extended via extended services.

Service: Network setup
Purpose:
Provider: xs-setup-network

Service: Dynamic Host Configuration Protocol
Purpose: Schoolserver and clients need to be on same subnet.
Provider: dhcpd

Service: Iptables -- Network Address Translation (NAT)
Purpose: Permits all XO’s to access the internet.
Provider: gateway

Service: Internet domain name server
Prupose:
Provider: named

Service: Backup of student work and restore
Purpose:
Provider: idmgr

Service:Jabber server
Purpose: collaboration > 15 clients needs to work.
Provider: ejabberd

Extended Services

Service: Web server
Purpose: Building block for many other extended services
Provider: apache

Service: proxy server and web cache
Purpose: bandwidth, web-filtering, web-monitoring
Provider: squid

Service: OLPC-update
Purpose: OLPC-update is necessary to update the kernel of XO
Provider: rsync

Service: Activity update
Purpose: Enables teachers to easily distribute new or updated activities to their students
Provider: activity updater

Service: Virtual Private Network (VPN)
Purpose: Creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities
Provider: open vpn