Nepal:School Server Specification - Phase 1 Design

From OLPC
Revision as of 15:31, 26 February 2008 by 128.107.248.220 (talk)
Jump to: navigation, search

Nepal Deployment School Server Phase 1 Design Proposal

This deployment must be online for teacher training the first week of April.
See the full schedule at: http://wiki.laptop.org/go/Nepal:Pilot_Project_Plan

The previous design discussion is maintained for tracking phase 2 at: http://wiki.laptop.org/go/Nepal:School_Server_Specification

General Linux installation instructions are available here:
http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage?entry=understanding_lamp_platform_for_web

Links to XS configurations are available here: http://wiki.laptop.org/go/XS_Configuration_Management

Main school server page is here: http://wiki.laptop.org/go/School_server

Instructions for downloading and building School Server software is here: http://wiki.laptop.org/go/XS_Server_Software

List of Hardware

1 Three servers

  1. XS1
  2. XS2 - Standby backup only
  3. XF (Squid)
All server boxes will have the following:
- Intel or AMD at least 2 ghz
- RAM?
- At least 300gb hard drive
- USB ports (how many? at least 3, one per active antenna, plus one for making USB keys)
- Bootable DVD or CD-ROM drive
- 3 x Active Antennas
- 10/100 NIC?
- Other wireless NIC?

2 Wireless Access Point and Router
- Model name and number?

3 Cables
- Enough Cat 5/6 with RJ45 connectors to connect servers to Wireless AP/Router - 5 Meter USB cable for each active antenna

4 Power strip/circuit breakers
- How many?

5 Hub?

List of Software on XS

Core Software

  • XS Server XS-150
  • Fedora v7 (or 8?)
  • Moodle v1.8.4
  • PHP v5
  • MySQL v5
  • Apache v2
  • DHCP
  • DNS

Content

English Wikipedia
English Wikitionary
Gutenberg Dictionary
Eshiksha activities
Additional XO bundles
OLPC library content

XS Install Scripts

Tony Nepal reference design install scripts: http://wiki.laptop.org/go/User:Az990tony/scripts


Example from Ceibal deployment here: http://dev.laptop.org/git?p=projects/ceibal-scripts;a=tree

XS Tests

From:
http://spreadsheets.google.com/pub?key=pJrekGFLbqe6sdOitu3tYbQ

0 - Basic connectivity check
Definition: ISP --- HUB --- XF --- XS --- XO
PC or XO ---> (SSH) --> XF (opens terminal on headless XF machine)
PC or XO --> (SSH) --> XF --> (SSH) --> XS (opens SSH terminal window on headless XS machine)
XF --> (eLinks HTTP) --> XS (this is my main page for XS school server)
XS ---> (eLinks HTTP) <-- XF (this is just the dummy Fedora/Apache test page running on XF) XO channel 1 mess ---> (Browse) --> XS (click "Schoolserver" on Google start page to see XS home)

Status:
Notes:

1 - Apply image to XO from USB
Status (include date tested): pass
Notes: Can be done through firmware with copy-nand command
Question: Was this test done with developer key?

2 - Connects to Mesh
Status (include date tested): pass
Notes:

3 - Can browse Internet
Status (include date tested): pass
Notes:

4 - Can browse cached pages
Status (include date tested): pass
Notes:

5 - Can browse cached pages when Internet offline
Status (include date tested):
Notes:

6 - Chat w/ other XO
Status (include date tested): pass
Notes:
Question: "Chat with Other XO" -- Ok, to test chat before, I used my Thinkpad T60 running QEMU using the website "xochat.org" to connect with my XO laptop. If we have ejabberd running on the XS, would I connect my laptop and XO to "ejabberd" and have the XO over the mesh, and the Thinkpad over the Wi-Fi? If not, I will need to borrow my friend's XO for a pure mesh-to-mesh test.


7 - Can access Moodle page and click on all links
Status (include date tested):
Notes:

8 - Load new activities from server
Status (include date tested):
Notes:

9 - Can launch Squeak activity from Moodle
Status (include date tested):
Notes:
Question: is this the same as eToys, or did you mean the developers version of Squeak on the OLPC website?

10 - Browse Wiktionary
Status (include date tested):
Notes:

11 - Play audio from Wiktionary
Status (include date tested):
Notes:

12 - Play flash videos
Status (include date tested):
Notes:

13 - Fill up XO’s hard drive
Status (include date tested): Fail Notes: When the drive fills up, the app crashes and you are not able to open another app until you free some space

14 - Remove activities manually
Status (include date tested):
Notes:
what does this mean. I have been able to add activities to my XO by downloading the XO files to my Journal and installing them, but the only way I have been able to remove them was dropping down into "Terminal" activity and hacking away at the file trees with "rm" commands. Is there a better way to test this?

15 - Automatic Backup and manual restore
Status (include date tested):
Notes:

16 - Attempt restore student files over the network
Status (include date tested):
Notes:

17 - XO can access School server via another XO through mesh, record distance and signal/packet loss
Status (include date tested):
Notes:

18 - Try to access www.hotsex.com
Status (include date tested):
Notes:

19 - Access ds.lahai.com/ole/fez
Status (include date tested):
Notes:

20 - Type in Nepali, save text in Nepali
Status (include date tested): Fail 2/12 reported 2/14 by TP
Notes: Is there an image I need to install on my XO to be able to read both English and Nepali script?

21 - Sugar appears in Nepali
Status (include date tested): partial
Notes: The translation is done at http://dev.laptop.org/translate

22 - Hard reboot test
Description: Pull the power cord on XS while XO is browsing. Plug it back in and see run connectivity test 0 above to show everything comes back without intervention.
Status:
Notes:

23 - New Test Idea We should also develop some tools that generate activity, this would help identify memory leaks and what logs needs to be tailed over time.

List of Software on XF (Squid)

Squid Dansguardian Fedora 7 (v8?)


XF (Squid) Install Scripts

Network setup scripts for XF (Squid)
http://wiki.laptop.org/go/User:Az990tony/iptables

XF (Squid) Tests

Same as XS tests above:
http://wiki.laptop.org/go/Nepal:School_Server_Specification_-_Phase_1_Design#XS_Tests

List of Software on Library Server

- - -

Library Server Install Scripts

- - -

Library Server Tests

- - -


List of Software on XO

Standard build of XO (build number?)
ePaati: - Animal Identification
- Alphabet Puzzle
- Addition, numeric
- Addition, word problem
- Addition upto 10, game
- Counting Sheep
- Largest Number
- Make Bar-graph
- Matching
- Numeric Puzzle


XO Install Scripts

- - -

XO Tests

- - -

System Level Design

Nepal test setup diagram is here:
http://wiki.laptop.org/go/User:Az990tony/nepal
(topology diagrams and details of nepal project)

Another view is at:
http://blog.olenepal.org/index.php/archives/138


Failure Cases

- - -

System Level Tests

- - -

Wireless AP/Router Config

- - -

Network Diagram

Nepal test setup diagram is here:
http://wiki.laptop.org/go/User:Az990tony/nepal
(topology diagrams and details of nepal project)

Another view is at:
http://blog.olenepal.org/index.php/archives/138