close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 52 and Version 53 of AdminClientAufsetzen


Ignore:
Timestamp:
May 16, 2016, 3:13:53 PM (10 years ago)
Author:
Rüdiger Kupper
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminClientAufsetzen

    v52 v53  
    624624
    625625Im oberen Bereich von `/etc/crontab` **und** `/etc/anacrontab`:
    626 
    627  Im Schülernetz::
    628626 {{{
    629627 # package flashplugin-installer needs to know the proxy:
    630628 # note: put this into /etc/anacrontab, too, if anacron is installed
    631  http_proxy=http://10.32.1.253:3128
     629 http_proxy=http://proxysw:8080
    632630 }}}
    633  
    634  Im Lehrernetz::
    635  {{{
    636  # package flashplugin-installer needs to know the proxy:
    637  # note: put this into /etc/anacrontab, too, if anacron is installed
    638  http_proxy=http://129.143.4.2:8080
    639  }}}
    640 
    641 **Der folgende Schritt wird viell. nicht mehr benötigt, derzeit läuft der neue Server gut ohne dieses Skript:**
    642 TODO(?):
    643 Derzeit ist in der crontab außerdem das Skript eingetragen, das hängende Bind-Mounts entfernt (kann in Zukunft hoffentlich entfallen):
    644 
    645 Unten in `/etc/crontab` anfügen:
    646 {{{
    647 */10 7-19 * * * root kepler--umount_cifs -f -m
    648 }}}
     631Der name `proxysw` wird im Lehrer- und Schülernetz passend aufgelöst.
     632
     633Nun die Einträge für unseren automatischen Logout (können hoffentlich irgendwann entfallen):
     634  {{{
     635  # cat >> /etc/crontab <<EOL
     636
     637
     638# Cron jobs zum Ausloggen der Nutzer im Schülernetz (in der Mitte der Pausen):
     63915 09   * * *   root    schuelernetz && friendly-logout-users
     64005 11   * * *   root    schuelernetz && friendly-logout-users
     64155 12   * * *   root    schuelernetz && friendly-logout-users
     64240 15   * * *   root    schuelernetz && friendly-logout-users
     643
     644# Cron jobs zum Ausloggen der Nutzer im Lehrernetz (alle 20 Minuten):
     645*/20 *  * * *   root    lehrernetz && friendly-logout-users
     646
     647# Cron jobs to shut down the machine:
     64820 17   * * *   root    friendly-shutdown
     64900 20   * * *   root    friendly-shutdown
     65000 23   * * *   root    friendly-shutdown
     65100 04   * * *   root    shutdown -P +10
     652EOL
     653  }}}
     654
    649655
    650656=== (Kepler-spezifische Cronskripte)
    … …  
    660666
    661667== SMART
    662 
    663  Hinweis:: Bei virtualisierten Servern ist es wohl sinnvoller, SMART auf dem Virtualisierungshost zu konfigurieren, nicht in der VM.
    664 
    665  Auf der neuen Maschine //bzw. auf dem Virtualisierungshost//::
    666  - Vorgehen wie unter AdminSmart beschrieben
     668Vorgehen wie unter AdminSmart beschrieben.
    667669 
    668670