User:Holger: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 1: Line 1:
== todo ==
== todo ==
* document [http://wiki.laptop.org/go/User:Holger/xs-repo xs-repo]
* document [http://wiki.laptop.org/go/User:Holger/xs-repo xs-repo]
** 1st rename to xs-repo :)
** set it up with fai
* document mirror
* document mirror
** cleanup mirror
** provide mirror via nfs
** set it up with fai
* document [http://wiki.laptop.org/go/User:Holger/FAI fai] basics
* document [http://wiki.laptop.org/go/User:Holger/FAI fai] basics
* document XS-repo
* implement backup script, ~/olpc/olpc-user-data-backup/ has the backup script from the list...
* document livecd
* document livecd

* implement backup script, ~/olpc/olpc-user-data-backup/ has the backup script from the list...

* livecd
** setup cronjob, to build livecd daily
*** compare against previous package list
*** put live-xs.ks in git and compare if it has changed
*** run cronjob every hour to trigger build
** waiting for fixed anaconda (breaks with kickstart file)
** shortcut system-configuration
** shortcut system-configuration
** run fai
** run fai
Line 18: Line 20:
*** keyboard-settings via COUNTRY.var: Argentina Brazil Libya Nigeria Uruguay Rwanda
*** keyboard-settings via COUNTRY.var: Argentina Brazil Libya Nigeria Uruguay Rwanda
*** install kernel,postfix,ntpd,squid,[http://wiki.laptop.org/go/Establishing_a_Mesh_Portal mpp] with fai and livecd
*** install kernel,postfix,ntpd,squid,[http://wiki.laptop.org/go/Establishing_a_Mesh_Portal mpp] with fai and livecd

* setup cronjob, to build livecd daily
* mirror
** compare against previous package list
** set it up with fai
** put live-xs.ks in git and compare if it has changed
** cleanup mirror
** run cronjob every hour to trigger build
** provide mirror via nfs
** daily mirror snapshots with hardlinks

* xs-repo
** 1st rename to xs-repo :)
** set it up with fai

* xs-dev2fai
* xs-dev2fai
** mkdir /var/www/html/holger && chown
** mkdir /var/www/html/holger && chown
** setenforce permissive
** setenforce permissive
** /e/h/conf.d/*
** /e/h/conf.d/*

* more fai work:
* more fai work:
** configure remote logging
** configure remote logging
** randomized cron for updates
** randomized cron for updates

* daily mirror snapshots with hardlinks


open questions/remarks
open questions/remarks

Revision as of 18:45, 25 May 2007

todo

  • document xs-repo
  • document mirror
  • document fai basics
  • document livecd
  • implement backup script, ~/olpc/olpc-user-data-backup/ has the backup script from the list...
  • livecd
    • setup cronjob, to build livecd daily
      • compare against previous package list
      • put live-xs.ks in git and compare if it has changed
      • run cronjob every hour to trigger build
    • waiting for fixed anaconda (breaks with kickstart file)
    • shortcut system-configuration
    • run fai
      • with config from cd, then switch to network config
      • add xs-repo: rm /etc/yum.repos.d/ on livecd, then fcopy -r /etc/yum.repos.d
      • "copy" packages from fai to livecd.ks
      • keyboard-settings via COUNTRY.var: Argentina Brazil Libya Nigeria Uruguay Rwanda
      • install kernel,postfix,ntpd,squid,mpp with fai and livecd
  • mirror
    • set it up with fai
    • cleanup mirror
    • provide mirror via nfs
    • daily mirror snapshots with hardlinks
  • xs-repo
    • 1st rename to xs-repo :)
    • set it up with fai
  • xs-dev2fai
    • mkdir /var/www/html/holger && chown
    • setenforce permissive
    • /e/h/conf.d/*
  • more fai work:
    • configure remote logging
    • randomized cron for updates


open questions/remarks

  • http://wiki.laptop.org/go/Trial1_Server_Image - looks outdated
  • how to define classes for a host? map mac-addresses to machines to classes? -> file in /etc
  • livecd-creator has the following in its config file: rm -rf /usr/share/doc/* - thats not soo good ;)
  • The liveinst bits are included in anaconda since anaconda-11.2.0.39-1. So liveinst packagae is not needed anymore.

services on the servers

  • dyndns at least for now
  • ntp
  • squid
  • MPP
  • apache
  • backup
partitioning proposal
20gb for /
5gb for /tmp, maybe 10
5gb for /var/log, maybe 10
10gb for /var
260 for /home (or 250) or diving this into /home and /$path/backup

some links

 * Centre-SIS,   http://www.miller-group.net/
 * Focus-SIS fork,   http://www.focus-sis.org/
  • ldap-admin tools considered for debian-edu etch
 * lwat, http://bzz.no/lwat/
 * cipux, http://doc.cipux.org/
 * wlus & webmin was used in sarge

mirror

It's accessable at http://xs-dev/mirror/ and updated with rsync with the two scripts in ~holger/mirror-fedora-linux-core and ~holger/mirror-fedora-linux-extras, config in ~holger/mirror-fedora-linux.conf