[Server-devel] questions: lease/activation, deploying .xo/.xol, register XOs

2008-08-04 Thread Christian Schmitt
Hi,
i just started to do some testing with the XS for our project in 
Ethiopa. I have some questions concerning the features (which weren't 
solved for me studying the wiki):

1. How can I activate XOs with the XS? Where do I have to put the lease 
files?

2. We like to do software updates (deploying .xo and .xol files) for the 
XOs with the server. Is this possible? We are looking for an option that 
works automatically (like the USB-stick option)

3. What does it mean to register an XO on a server? What is the benefit 
to do so?

Kind regards,
Christian
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Time for another Server-Devel Meeting IRC or Skype?

2008-08-04 Thread Bryan Berry
Martin,

We are putting a lot of work into the XS here in Nepal after a long
absence.

David Van Assche is now w/ OLE nepal full-time in Kathmandu working on
the XS. We want to make sure we are moving in the same direction and not
waste anyone's time.

How about an IRC or Skype meeting open to all those interested in the XS
later this week? If it's an IRC meeting I will be happy to post it to
the wiki.

Regards,

Bryan Berry
OLE Nepal

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] [Fwd: Re: Using XO HW with an XS image]

2008-08-04 Thread Tyler Williams
forwarding for anyone interested...

 Original Message 
Subject:Re: [Server-devel] Using XO HW with an XS image
Date:   Mon, 4 Aug 2008 23:33:40 +1200
From:   Martin Langhoff [EMAIL PROTECTED]
To: Tyler Williams [EMAIL PROTECTED]
References: 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]



On Mon, Aug 4, 2008 at 11:06 PM, Tyler Williams [EMAIL PROTECTED] wrote:
 I was just curious about a few things: what specifically defines a school
 server? If my 'server' runs an idmgr, apache, ntpd, dhcpd, and ejabberd , is
 that everything I need?

You need xs-config. Prepare to be scared, very. The trickiest point is
/etc/sysconfig/olpc-scripts/network_config - the rest is relatively
portable.

xs-pkgs is overbroad. I will tighten that up when we move to F9,
perhaps earlier.

Is there any reason to keep this offlist? If not, plz forward this
email to [EMAIL PROTECTED] so others can learn and help :-)
otherwise, my time gets soaked up in a zillion private conversations
that have 0-cross-pollination...

 Just trying to figure out how things are structured / defined. If you could
 give me a shout I'd appreciate it, I'll be on gtalk for a while (as
 williams.tyler) or on IRC, or on email, but a quick chat might be more
 efficient than email here.

Ask on server-devel@ and I guarantee reply. Ask in private and there's
a good chance of... /dev/null :-)

Also

 - I've filed a few task/enhancement bugs on the tracker
(component:schoolserver) that describe the technical challenges of
porting to F9 -- you are enterprising enough to be using F9 :-) , so
do read those. Also look at stuff about reworking xs-config.

 - there's been good traffic lately on server-devel@ explaining my
plans and some related architectural stuff. Check out the archives...

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] F9 timeframe?

2008-08-04 Thread Berkowitz Andrew (Project Connect)
Martin,

 

When do you expect that we'll move the XS to Fedora 9? 

 

Thank you.

 

Andrew Berkowitz

DOE

2 MetroTech Center, Suite 3900

Brooklyn, NY 11201

[EMAIL PROTECTED]

718-935-5471

 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] DNS Connectivity Issues

2008-08-04 Thread Tarun Pondicherry
Hi Glen,

Is there an IP I can use to ssh to the server while the dns issues are 
resolved?

Thanks,
Tarun

Glen Roberts wrote:
 Today just after noon (edt) our Qwest internet connection (not the one the 
 EDU server is on) went down. I was in the middle of upgrading the DNS servers 
 so it frustrated that task enormously.

 Qwest seemed to have the service more or less restored by 4:30 PM or so. At 
 that time I noticed an email from ATT saying that they had monitored outages 
 on our ATT circuit (the one the EDU server is on). Apparently this was of an 
 intermittent nature.

 Apparently Verizon had a fiber cut somewhere

 The result is that DNS was probably down for 5+ hours and the connection 
 otherwise intermittent. There may still be DNS issues but I am too tired to 
 dig too deeply until tomorrow. 65.118.27.2 was probably configured as a 
 secondary dns in /etc/resolv.conf on edublog. It might be better to change 
 that to 208.67.222.222 (opendns.org) as 65.118.27.2 is no long active.

 Glen




 _
 Total Blog Directory
 http://www.totalblogdirectory.com

   

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] F9 timeframe?

2008-08-04 Thread Martin Langhoff
2008/8/5 Berkowitz Andrew (Project Connect) [EMAIL PROTECTED]:
 When do you expect that we'll move the XS to Fedora 9?

Good question. The main holdup is the network configuration scripting we have.

The XS configures its NICs and USB-connected antennae and general
networking setup in fairly specific ways, and the infrastructure
changed between F7 and F9 significantly.

In practice, I want to do it *after* a release with good features. So
help me make xs-0.4/xs-0.5 a good deployable-for-pilots-and-test-sites
feature release, and the following release will be a port to F9.

[Or, if you rather help preparing the port ahead of me - if someone is
keen on tackling port the network scriop and others bits of xs-config,
I can spare a bit of time to help flesh out a plan.]

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Time for another Server-Devel Meeting IRC or Skype?

2008-08-04 Thread Martin Langhoff
On Mon, Aug 4, 2008 at 9:17 PM, Bryan Berry [EMAIL PROTECTED] wrote:
 We are putting a lot of work into the XS here in Nepal after a long
 absence.

Cool -

 David Van Assche is now w/ OLE nepal full-time in Kathmandu working on
 the XS. We want to make sure we are moving in the same direction and not
 waste anyone's time.

Excellent! Sounds like you guys are doing a lot

 How about an IRC or Skype meeting open to all those interested in the XS
 later this week? If it's an IRC meeting I will be happy to post it to
 the wiki.

Good idea. We can do it via IRC I think -- if it's just us, we can
switch to Skype as long as we get some minutes somehow :-)

Looking at suitable times, I am thinking of this Friday (NZ time,
Thursday for everyone else ;-) ) - look at:
http://worldtimeserver.com/meeting-planner-times.aspx?L0=NZL1=NPL2=GBL3=US-MAL4=Day=8Mon=8Y=2008

It is hard to coordinate a good time for Nepal and NZ and the American
continent. It would be fantastic if Greg Smith can make it - I am
thinking

 - 2PM - early morn for Nepal, 10pm for 1CC
 - 11PM - late night for me, easy for everyone else! :-/

let's have a quick RSVP - so we can prioritise timezones.

cheers,




m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] F9 timeframe?

2008-08-04 Thread Martin Langhoff
On Tue, Aug 5, 2008 at 10:19 AM, Martin Langhoff
[EMAIL PROTECTED] wrote:
 2008/8/5 Berkowitz Andrew (Project Connect) [EMAIL PROTECTED]:
 When do you expect that we'll move the XS to Fedora 9?

 Good question. The main holdup is the network configuration scripting we have.

BTW, this is the query to keep trac of:
http://dev.laptop.org/query?status=assignedstatus=newstatus=reopenedgroup=milestonecomponent=school+serversummary=~9col=idcol=summarycol=statuscol=typecol=priorityorder=priorityrow=description

cheers,


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Understanding the network scripts on F7-based XS

2008-08-04 Thread Martin Langhoff
Our current network migration scripts are reportedly build on
interfaces that are F7 specific. To reimplement them on F9, we need to
understand what they do.

Jerry is knowledgeable in F9's networking and has offered help with
the port. The first step is to understand what the current scripts do
- separated from the how. So I will try to outline the design and
behaviour of the current scripts.

The first point of entry is reading the whole Networking section in
this page. All of it :-)
http://wiki.laptop.org/go/XS_Configuration_Management#Networking

It introduces

 - network_config
 - principal_config
 - auxiliary_config

These scripts deal with

 - Configuring network interfaces
   - 1 NIC scenarios have eth0 as WAN / 2 NIC scenarios add eth1 as LAN
   - Can set preferential MAC address prefix for some interfaces. This
can be used by the NOC team to get the right NIC setup as eth0.
   - Sets up the pair of ethX/mshY interfaces that are attached to
every Active Antenna.
   - Sets up all the bridges between the interfaces considered LAN
   - Picking non-conflicting IP addresses for auxiliary servers.
   - Sets the router address for auxiliary servers
 - Very rough service chkconfig configuration for the auxiliary vs
primary servers
 - Rough firewall config for primary/auxiliary servers

The top of each script - after the GPL - has an extensive comment
explaining what it does. And after that, you can scroll down to the
'main' block -- I find both very readable. The scripts are here if you
don't have a checkout
http://dev.laptop.org/git?p=projects/xs-config;a=tree;f=fsroot.olpc.img/etc/sysconfig/olpc-scripts;h=dada76a2869dc95c5f538adfa45a2e538dc1d998;hb=HEAD

The 3 scripts make sense to me - - I would attack it with a
get-to-work-stable-on-f9 focus, roughly:

 - Can we make the networking configuration work in a stable manner on
F9? Do we need to hook into the events infrastructure so when an
ethernet cable gets plugged into an if we do the right thing? Could we
make it so that we autodetect and configure an AA on usb connection?

 - Can we allow additional MAC prefix preferences to be read from an
optional config file so that a NOC team can override things easily?

 - Can we consolidate the code / remove duplication? (trivial ;-) )

 - Can we remove the service mgmt from it? :-)

Jerry, does that help? It is meant as a complement while reading the
src... BTW, I am tracking this on https://dev.laptop.org/ticket/7672

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel