Revision 56 as of 2013-01-19 13:22:53

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,7

done

afs_backup

5,6

todo

afs_client

5,6

done

afs_server

5,6

done

ai

5,6

todo

arcx

5,6

done

atlas

5,6

done

automount

5,6

done

cfengine

5,6,7

done

conmgr

5

todo

csinfo

5

todo

cta

5,6

todo

cups

5,6

done

cvmfs

5,6

done

dcache

5,6

todo

dhcp

5,6

todo

doocsadm

5,6

todo

exclude_macs

5,6

todo

exports

5,6

todo

ganglia

5,6

done

gdm

5

todo

grid

5,6

todo

group

5,6,7

done

hostmgt

5,6

todo

hosts

5,6,7

done

httpd

5,6

done

infiniband

5,6

todo

iptables

5,6

todo

iss

5,6

todo

kerberos

5,6

done

kernel

5,6

todo

klogin

5,6

done

kvm

5,6

todo

ldap

5

todo

linux

5,6

todo

localdisks

5,6

todo

lustre

5,6

todo

mailsrv

5,6

todo

motd

5,6

done

mtf

5,6

todo

?

mysql

5,6

todo

nagios

5,6

done

now server and client

name_srv

5,6

done

netflow

5,6

todo

netgroup

5,6

todo

nfs

5

todo

nsswitch

5,6,7

done

osm

5,6

todo

pac

5,6

todo

pam

5,6

done

passwd

5,6,7

done

passwd_prog

5,6

done

postgres

5,6

done

products

5

todo

reg_notebooks

5,6

done

radius server, ...

rlogsurf

6

done

samba

5,6

todo

scout

5,6

done

security

5,6

todo

sge

5,6

todo

spamd

5,6

todo

ssh

5,6

todo

sudo

5,6

done

svn

5,6

todo

syslog

5,6

done

tcp_wrapper

5,6

todo

temp

5,6

todo

tidy_up

5,6

todo

trusted

5

todo

tsm

5,6

todo

vamos

5,6

todo

vamosw

6

todo

vsftpd

5,6

todo

xntp

5,6

todo

znmon

5,6

todo

zzz

5,6

todo

Änderungen an Features, die schon im SVN verwaltet werden

FAQ