Changes between Version 3 and Version 4 of EncapReadme
- Timestamp:
- 02/25/07 19:26:43 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EncapReadme
v3 v4 15 15 * bcfg2 itself 16 16 * ostiary to kick off bcfg2 client runs remotely 17 * daemontoolsto run bcfg2 client as a periodic service with logging17 * runit to run bcfg2 client as a periodic service with logging 18 18 * all with site-specific configuration parameters, set at build time in a 19 19 single unified build-time configuration file, site-settings.conf … … 89 89 }}} 90 90 91 == About daemontoolsintegration ==91 == About runit integration == 92 92 In order to avoid a lot of platform/distribution-specific code, the encap 93 bcfg2 distribution includes and uses [http:// cr.yp.to/daemontools.html94 daemontools] (with some common patches)instead of init scripts and cron.93 bcfg2 distribution includes and uses [http://smarden.org/runit/useinit.html 94 runit] instead of init scripts and cron. 95 95 96 The bcfg2 client (.run) distribution uses daemontools to run ostiary, and to97 runthe bcfg2 client periodically.96 The bcfg2 client (.run) distribution uses runit to run ostiary, and to run 97 the bcfg2 client periodically. 98 98 99 99 On the server, edit `/usr/local/etc/default/bcfg2-server/env/OPTIONS` to 100 100 include the options you want to start up the bcfg2 server with, and then do 101 101 {{{ 102 ln -s /usr/local/ var/svc.d/bcfg2-server/service/102 ln -s /usr/local/etc/sv/bcfg2-server /usr/local/var/service/ 103 103 }}} 104 104 to enable the service. 105 105 106 You can use ` /command/svstat /service/bcfg2-server` to see the status, and107 `/command/svrm/service/bcfg2-server` to remove it.106 You can use `sv status /usr/local/var/service/bcfg2-server` to see the 107 status, and `rm /usr/local/var/service/bcfg2-server` to remove it. 108 108 109 Logs for all daemontools services are under `/usr/local/var/multilog`. 110 They use a highly precise time format; to translate into a readable format, 111 pipe the logs through `/command/tai64nlocal`. 109 Logs for all runit services are under `/usr/local/var/svlogd`. 112 110 113 111 == About ostiary integration == … … 126 124 * `<password>-bcfg2-vq` : Run `bcfg2-client -v -q` 127 125 * `<password>-bcfg2-v` : Run `bcfg2-client -v` 128 * `<password>-bcfg2-restart` : Restart the bcfg2-client daemontoolsservice126 * `<password>-bcfg2-restart` : Restart the bcfg2-client runit service 129 127 130 128 There are plans for the future for a bcfg2 plugin that will set per-machine … … 143 141 144 142 Logs of bcfg2-client runs kicked off via ostiary are in 145 `/usr/local/var/ multilog/bcfg2-client-ostiary`143 `/usr/local/var/svlogd/bcfg2-client-ostiary` 146 144 147 145 == Supported Platforms == … … 149 147 this code. 150 148 151 || OS || Vendor || Version || Arch || GCC || By || Bcfg2 || 152 || AIX || IBM || 5.2 || POWER || 3.3.2 || dc || 0.8.5 || 153 || AIX || IBM || 5.3 || POWER || 4.1.1 || dc || 0.8.5 || 154 || GNU/Linux || Debian || Sarge || i386 || 3.3.5 || dc || 0.8.5 || 155 || GNU/Linux || Debian || Sid || i386 || 4.1.2 || dc || 0.8.5 || 156 || GNU/Linux || Redhat || 7.2 || i386 || 2.96 || dc || 0.8.5 || 157 || GNU/Linux || SuSE || SLES8 || i386 || 3.2.2 || dc || 0.8.5 || 158 || GNU/Linux || SuSE || SLES10 || i386 || 4.1.0 || dc || 0.8.5 || 159 || GNU/Linux || Ubuntu || Dapper || i386 || 4.0.3 || dc || 0.8.5 || 160 || Solaris || Sun || 10 || i386 || 3.4.3 || dc || 0.8.5 || 161 || Solaris || Sun || 10 || Sparc || 3.4.3 || dc || 0.8.5 || 149 || OS || Vendor || Version || Arch || GCC || By || Bcfg2 || 150 || AIX || IBM || 5.2 || POWER || 3.3.2 || dc || 0.8.5 || 151 || AIX || IBM || 5.3 || POWER || 4.1.1 || dc || 0.8.5 || 152 || GNU/Linux || Debian || Sarge || i386 || 3.3.5 || dc || 0.8.5 || 153 || GNU/Linux || Debian || Etch || x86_64 || 4.1.2 || dc || 0.9.2 || 154 || GNU/Linux || Debian || Sid || i386 || 4.1.2 || dc || 0.8.5 || 155 || GNU/Linux || SuSE || SLES8 || i386 || 3.2.2 || dc || 0.8.5 || 156 || GNU/Linux || SuSE || SLES10 || i386 || 4.1.0 || dc || 0.8.5 || 157 || GNU/Linux || Ubuntu || Dapper || i386 || 4.0.3 || dc || 0.8.5 || 162 158 163 159 dc: "Daniel Clark" <mailto:[email protected]> … … 189 185 190 186 == Documentation Version == 191 * This is a copy of: $Id: README 2 393 2006-10-06 04:13:07Z dclark $187 * This is a copy of: $Id: README 2856 2007-02-20 03:08:47Z dclark $ 192 188 * Most recent version: http://www.bcfg2.org/browser/trunk/bcfg2/encap/README