Revision 99 as of 2014-03-12 09:27:29

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
        -h        show usage
        -P <path> generating sue env in this directory
        -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

/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

done

afs_client

5,6

done

afs_server

5,6

done

ai

5

done

for SL6 (iptables,SELinux) more to do

arcx

5,6

done

atlas

5,6

done

automount

5,6

done

cfengine

5,6,7

done

conmgr

5

done

csinfo

5

todo

most of the archive should be packaged in an rpm

cta

5,6

done

cups

5,6

done

cvmfs

5,6

done

dcache

5,6

done

dhcp

5,6

done

needs workflow support

doocsadm

5,6

done

exclude_macs

5,6

done

exports

5,6

done

ganglia

5,6

done

gdm

5,6

done

grid

5,6

done

group

5,6,7

done

hostmgt

5,6

done

hosts

5,6,7

done

httpd

5,6

done

infiniband

5,6

done

iptables

5,6,7

done

iss

5,6

done

kerberos

5,6

done

kernel

5,6

done

klogin

5,6,7

done

kvm

5

done

ldap

5

todo

linux

5,6

done

localdisks

5,6

done

lustre

5,6

done

mailsrv

5,6

todo

motd

5,6

done

mtf

5,6

todo

?

mysql

5,6

done

nagios

5,6

done

now server and client

name_srv

5,6

done

netflow

5,6

done

netgroup

5,6

done

needs workflow support

nfs

5,6

done

nsswitch

5,6,7

done

osm

5,6

todo

osmdevel

6

done

|| osmgit || 6 || done ||

pac

5,6

done

pam

5,6

done

passwd

5,6,7

done

passwd_prog

5,6

done

postgres

5,6

done

products

5

done

reg_notebooks

5,6

done

radius server, ...

rlogsurf

6

done

samba

5,6

done

now with a regular archive, no longer uses /project/install

scout

5,6

done

security

5,6,7

done

sge

5,6

done

spamd

5,6

todo

ssh

5,6,7

done

sudo

5,6

done

svn

5,6

todo

syslog

5,6

done

tcp_wrapper

5,6,7

done

but urgently needs configuration cleanup (no hostnames, no netgroups, remove cruft!

temp

5,6

done

was done since May 2012

tidy_up

5,6, 7

done

trusted

5

done

updated it, too

tsm

5,6

done

vamos

5,6

todo

done

vamosw

6

todo

vsftpd

5(,6?)

done

xntp

5,6

done

znmon

5,6

done

zzz

5,6

done

Änderungen an Features, die schon im SVN verwaltet werden

FAQ