Revision 39 as of 2012-08-20 15:57:26

Clear message

Konfigurationsmanagement mit VAMOS, Subversion, SUE und Cfengine

Beschreibung von SUE/SVN

SUE Subversion Server

Konfiguration der Host Systeme

/usr/sue/sbin/sue.bootstrap -h
usage:
        -d|-v     set debug mode
        -w        use web client, overriding "clever" autodetection
                  only allowed without option 'H' and 'P'
        -h        show usage
        -H <host> run sue.bootstrap for an other host (installation,no all checks),
                  not in combination with option 'w'
        -P <path> generating sue env for an other host in this working directory,
                  mandatory for option 'H'
        -f <dir>  to test a feature on a host (maybe before putting the code into svn),
                  i.e. -f /tmp/sudo; /tmp/sudo is the complete dir tree for this feature,
                                     /tmp/sudo/cf.sudo has to exist,
                                     the subdir name has to correspond with the feature name
        -F <feature>:<dir>  to test a feature on a host (maybe before putting the code into svn),
                  examples: -F sudo:/tmp/test; /tmp/test/feature/sudo and /tmp/test/archive/sudo have to exist
                            -F group:/afs/.ifh.de/common/installation/test 
                  -F overwrites -f 

/usr/sue/sbin/sue.run -h 
  check network connection and the availability of the svn server,
  runs 'svn checkout; sue.bootstrap' and then sue.run with the given mode
  informs 'scout-linux' in case of problems
Usage:
        -d      set debug mode, no delay
        -v      set verbose mode (more cfengine output), no delay
        -n      set noaction mode, implied debug mode 
        -s      skip sue.bootstrap
        -m <mode>       set mode: full,boot,update or now(default)
                nightly run in 'full' mode with delay
                run in 'boot' mode without delay
                daily run in 'update' mode for requested features ( by vamos workflow )
                run in 'now' mode without delay for given features
                  in future: 
                  daily run can switch to full mode with
                  touchfeatures -F ALL ...
        -h      show usage

Umstellung auf SUE/SVN Umgebung auf einem Linux Host

FAQ zu SUE/Cfengine

Updates per Cron-Jobs

tagsüber nur per workflow angestoßene Features (6-23 Uhr alle 10 Minuten)

   /usr/sue/sbin/activate -F list_of_features [-H list_of_hosts] [-N list_of_netgroups]

   activate -F scout,sudo -N linux-server
   activate -F ANY -H mydesk              # alle Features, die standardmäßig laufen, der Test erfolgt erst auf dem Client
   activate -F nagios -H ANY

Vollständiger Lauf (ab 3 Uhr mit Verzögerung)

Nutzung von SVN

Erste Benutzung von SUE/SVN

Einchecken neuer Features

Liste der Features und Status

feature

SL

Status

Kommentare

aaru

5,6

todo

afs_client

5,6

done

arcx

5,6

todo

atlas

5

todo

automount

5,6

done

cfengine

5,6

done

conmgr

5

todo

cups

5,6

done

ganglia

5

todo

gdm

5

todo

group

5,6

done

hosts

5,6

done

httpd

5,6

done

kerberos

5,6

todo

kernel

5,6

todo

klogin

5,6

done

ldap

5

todo

linux

5,6

todo

motd

5,6

todo

nagios

5,6

done

name_srv

5,6

done

netgroup

5,6

todo

nsswitch

5,6

todo

pam

5,6

todo

passwd

5,6

done

passwd_prog

5,6

todo

products

5

todo

reg_notebooks

5,6

done

radius server, ...

scout

5,6

done

security

5,6

todo

ssh

5,6

todo

sudo

5,6

done

syslog

5,6

done

tcp_wrapper

5,6

todo

tidy_up

5,6

todo

trusted

5,6

todo

vamos

5,6

todo

xntp

5,6

todo

zzz

5,6

todo

Änderungen an Features, die schon im SVN verwaltet werden

FAQ