sysadmin-cookbook
12 years agofix lxc-ps usage with -C arg for lxc 0.7.5
Dobrica Pavlinusic [Tue, 13 Dec 2011 12:54:24 +0000 (12:54 +0000)]
fix lxc-ps usage with -C arg for lxc 0.7.5

Reported by Gordon Henderson <gordon(at)drogon.net>

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@284 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agoDebian packages required for smart-dump.sh
Dobrica Pavlinusic [Sat, 1 Oct 2011 10:58:42 +0000 (10:58 +0000)]
Debian packages required for smart-dump.sh

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@283 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agorun long smart test on all drives
Dobrica Pavlinusic [Sat, 1 Oct 2011 10:57:27 +0000 (10:57 +0000)]
run long smart test on all drives

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@282 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agocount drives by type, ignoring serial number
Dobrica Pavlinusic [Sat, 1 Oct 2011 10:56:25 +0000 (10:56 +0000)]
count drives by type, ignoring serial number

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@281 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agogrep smart logs for failure and running smart tests
Dobrica Pavlinusic [Sat, 1 Oct 2011 10:55:27 +0000 (10:55 +0000)]
grep smart logs for failure and running smart tests

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@280 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agofix adding of smart files
Dobrica Pavlinusic [Thu, 29 Sep 2011 20:56:45 +0000 (20:56 +0000)]
fix adding of smart files

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@279 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agolinks to controller binaries
Dobrica Pavlinusic [Thu, 29 Sep 2011 20:47:43 +0000 (20:47 +0000)]
links to controller binaries

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@278 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agoextended dumper which also dumps controller information
Dobrica Pavlinusic [Thu, 29 Sep 2011 20:47:11 +0000 (20:47 +0000)]
extended dumper which also dumps controller information

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@277 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agoinstall cron if missing
Dobrica Pavlinusic [Sat, 17 Sep 2011 11:05:51 +0000 (11:05 +0000)]
install cron if missing

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@276 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agostart following HOWTO
Dobrica Pavlinusic [Thu, 15 Sep 2011 17:16:12 +0000 (17:16 +0000)]
start following HOWTO

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@275 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agodump start data into git
Dobrica Pavlinusic [Wed, 14 Sep 2011 23:36:10 +0000 (23:36 +0000)]
dump start data into git

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@274 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agohttp://techgage.com/article/enabling_and_testing_ssd_trim_support_under_linux/2
Dobrica Pavlinusic [Wed, 14 Sep 2011 23:12:34 +0000 (23:12 +0000)]
techgage.com/article/enabling_and_testing_ssd_trim_support_under_linux/2

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@273 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agofallback for lxc-info 0.7.2
Dobrica Pavlinusic [Fri, 9 Sep 2011 18:27:11 +0000 (18:27 +0000)]
fallback for lxc-info 0.7.2

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@272 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agouse new lxc-info 0.7.5 output for status
Dobrica Pavlinusic [Fri, 9 Sep 2011 18:21:14 +0000 (18:21 +0000)]
use new lxc-info 0.7.5 output for status

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@271 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agofix readonly flag for first snapshot
Dobrica Pavlinusic [Tue, 6 Sep 2011 09:09:37 +0000 (09:09 +0000)]
fix readonly flag for first snapshot

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@270 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agoadded network compression using lzo and cleanup timeouts for reliable operation
Dobrica Pavlinusic [Mon, 5 Sep 2011 22:52:27 +0000 (22:52 +0000)]
added network compression using lzo and cleanup timeouts for reliable operation

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@269 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agoadded sleep 0.1 s for netcat to start, verify snapshot creation
Dobrica Pavlinusic [Mon, 5 Sep 2011 22:18:01 +0000 (22:18 +0000)]
added sleep 0.1 s for netcat to start, verify snapshot creation

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@268 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agoreplicate all filesystems and snapshots to another machine
Dobrica Pavlinusic [Mon, 5 Sep 2011 22:02:00 +0000 (22:02 +0000)]
replicate all filesystems and snapshots to another machine

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@267 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agocreate test raidz1 array, nuke one drive, replace it with spare
Dobrica Pavlinusic [Tue, 16 Aug 2011 22:53:20 +0000 (22:53 +0000)]
create test raidz1 array, nuke one drive, replace it with spare

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@266 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agonvidia power saving tips
Dobrica Pavlinusic [Thu, 21 Jul 2011 11:32:46 +0000 (11:32 +0000)]
nvidia power saving tips

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@265 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agorecent Debian has /var/run as symlink
Dobrica Pavlinusic [Sun, 26 Jun 2011 15:00:40 +0000 (15:00 +0000)]
recent Debian has /var/run as symlink

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@264 191e9f34-6774-4a6d-acfc-7664dacd4a2a

12 years agozfs list -t snapshot fix for newer zfs versions which don't return snapshots by default
Dobrica Pavlinusic [Thu, 26 May 2011 18:22:29 +0000 (18:22 +0000)]
zfs list -t snapshot fix for newer zfs versions which don't return snapshots by default

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@263 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocreate containers for blkio disk speed test
Dobrica Pavlinusic [Sun, 15 May 2011 00:08:10 +0000 (00:08 +0000)]
create containers for blkio disk speed test

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@262 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinclude all options for blkio cgroup
Dobrica Pavlinusic [Sun, 15 May 2011 00:04:01 +0000 (00:04 +0000)]
include all options for blkio cgroup

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@261 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoadded missing file
Dobrica Pavlinusic [Sat, 14 May 2011 20:07:00 +0000 (20:07 +0000)]
added missing file

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@260 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agostart kvm with two ethernets
Dobrica Pavlinusic [Sat, 14 May 2011 20:03:06 +0000 (20:03 +0000)]
start kvm with two ethernets

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@259 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoadd tap interface to host lapop
Dobrica Pavlinusic [Sat, 14 May 2011 19:53:44 +0000 (19:53 +0000)]
add tap interface to host lapop

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@258 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agouse apt-cacher-ng if installed
Dobrica Pavlinusic [Sat, 14 May 2011 19:48:20 +0000 (19:48 +0000)]
use apt-cacher-ng if installed

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@257 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall all required packages inside container automatically
Dobrica Pavlinusic [Sat, 14 May 2011 15:46:26 +0000 (15:46 +0000)]
install all required packages inside container automatically

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@256 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agopatch kernel with lxc patches
Dobrica Pavlinusic [Sat, 14 May 2011 15:28:41 +0000 (15:28 +0000)]
patch kernel with lxc patches

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@255 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall libc6-amd64 so that busybox container start works
Dobrica Pavlinusic [Sat, 14 May 2011 15:25:11 +0000 (15:25 +0000)]
install libc6-amd64 so that busybox container start works

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@254 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoboot kvm
Dobrica Pavlinusic [Fri, 13 May 2011 20:06:14 +0000 (20:06 +0000)]
boot kvm

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@253 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agobuild kvm kernel
Dobrica Pavlinusic [Fri, 13 May 2011 19:58:32 +0000 (19:58 +0000)]
build kvm kernel

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@252 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agorename file to be in sync with step 1 in docs
Dobrica Pavlinusic [Fri, 13 May 2011 19:55:42 +0000 (19:55 +0000)]
rename file to be in sync with step 1 in docs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@251 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agochown image file and require sudo to run
Dobrica Pavlinusic [Fri, 13 May 2011 19:48:28 +0000 (19:48 +0000)]
chown image file and require sudo to run

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@250 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall required packages
Dobrica Pavlinusic [Fri, 13 May 2011 19:41:08 +0000 (19:41 +0000)]
install required packages

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@249 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocreate kvm rootfs
Dobrica Pavlinusic [Fri, 13 May 2011 19:33:24 +0000 (19:33 +0000)]
create kvm rootfs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@248 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoBegin following http://www.landley.net/lxc/
Dobrica Pavlinusic [Fri, 13 May 2011 19:32:53 +0000 (19:32 +0000)]
Begin following http://www.landley.net/lxc/

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@247 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall debootstrap
Dobrica Pavlinusic [Sat, 7 May 2011 12:35:18 +0000 (12:35 +0000)]
install debootstrap

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@246 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocorrect sulogin counting
Dobrica Pavlinusic [Tue, 29 Mar 2011 18:02:44 +0000 (18:02 +0000)]
correct sulogin counting

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@245 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremote device rw on start
Dobrica Pavlinusic [Tue, 29 Mar 2011 18:00:40 +0000 (18:00 +0000)]
remote device rw on start

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@244 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremount rootfs before start to fix debian upgrades
Dobrica Pavlinusic [Thu, 24 Mar 2011 16:40:46 +0000 (16:40 +0000)]
remount rootfs before start to fix debian upgrades

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@243 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremove function bash-isam
Dobrica Pavlinusic [Sun, 13 Feb 2011 19:39:00 +0000 (19:39 +0000)]
remove function bash-isam

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@242 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoupstream is now git
Dobrica Pavlinusic [Fri, 11 Feb 2011 17:25:08 +0000 (17:25 +0000)]
upstream is now git

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@241 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoand load modules
Dobrica Pavlinusic [Thu, 3 Feb 2011 14:49:41 +0000 (14:49 +0000)]
and load modules

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@240 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocompile it
Dobrica Pavlinusic [Thu, 3 Feb 2011 14:49:19 +0000 (14:49 +0000)]
compile it

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@239 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agodownload latest compcache
Dobrica Pavlinusic [Thu, 3 Feb 2011 14:48:22 +0000 (14:48 +0000)]
download latest compcache

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@238 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremote checkfs.sh from squeeze
Dobrica Pavlinusic [Wed, 26 Jan 2011 18:56:17 +0000 (18:56 +0000)]
remote checkfs.sh from squeeze

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@237 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agofix console condition, restart now works
Dobrica Pavlinusic [Wed, 26 Jan 2011 12:16:23 +0000 (12:16 +0000)]
fix console condition, restart now works

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@236 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agouse only first ip address
Dobrica Pavlinusic [Tue, 25 Jan 2011 14:40:42 +0000 (14:40 +0000)]
use only first ip address

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@235 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremote checkroot.sh used by squeeze
Dobrica Pavlinusic [Sat, 22 Jan 2011 16:07:46 +0000 (16:07 +0000)]
remote checkroot.sh used by squeeze

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@234 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocleanup ip address and insert it into /etc/hosts inside container
Dobrica Pavlinusic [Sun, 24 Oct 2010 12:23:20 +0000 (12:23 +0000)]
cleanup ip address and insert it into /etc/hosts inside container

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@233 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoextract lxc_hostname and lxc_ip into functions
Dobrica Pavlinusic [Sun, 24 Oct 2010 11:55:02 +0000 (11:55 +0000)]
extract lxc_hostname and lxc_ip into functions

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@232 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoreboot linux kernel on panic after x seconds
Dobrica Pavlinusic [Tue, 19 Oct 2010 21:41:12 +0000 (21:41 +0000)]
reboot linux kernel on panic after x seconds

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@231 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoload usbmon and mount debugfs
Dobrica Pavlinusic [Fri, 15 Oct 2010 20:37:08 +0000 (20:37 +0000)]
load usbmon and mount debugfs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@230 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agofix ip address display
Dobrica Pavlinusic [Sat, 11 Sep 2010 12:19:12 +0000 (12:19 +0000)]
fix ip address display

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@229 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoextract ip from config file
Dobrica Pavlinusic [Sat, 11 Sep 2010 11:51:37 +0000 (11:51 +0000)]
extract ip from config file

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@228 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agodon't try to start containers without rootfs mounted
Dobrica Pavlinusic [Tue, 7 Sep 2010 16:02:12 +0000 (16:02 +0000)]
don't try to start containers without rootfs mounted

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@227 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agooverwrite /etc/hostname from name of lxc
Dobrica Pavlinusic [Tue, 10 Aug 2010 17:03:15 +0000 (17:03 +0000)]
overwrite /etc/hostname from name of lxc

This allows us to make clones with different name right after boot

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@226 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoload ipmi modules
Dobrica Pavlinusic [Thu, 22 Jul 2010 12:00:08 +0000 (12:00 +0000)]
load ipmi modules

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@225 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall ipmitool
Dobrica Pavlinusic [Thu, 22 Jul 2010 11:57:53 +0000 (11:57 +0000)]
install ipmitool

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@224 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall gpsd-clients
Dobrica Pavlinusic [Wed, 14 Jul 2010 21:03:27 +0000 (21:03 +0000)]
install gpsd-clients

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@223 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoconfigure DEVICES
Dobrica Pavlinusic [Wed, 14 Jul 2010 21:03:05 +0000 (21:03 +0000)]
configure DEVICES

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@222 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoconfigure bluetooth rfcomm0
Dobrica Pavlinusic [Wed, 14 Jul 2010 20:51:36 +0000 (20:51 +0000)]
configure bluetooth rfcomm0

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@221 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall gpsd
Dobrica Pavlinusic [Wed, 14 Jul 2010 20:51:07 +0000 (20:51 +0000)]
install gpsd

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@220 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocheck expire from longest to shortes
Dobrica Pavlinusic [Sun, 27 Jun 2010 21:55:33 +0000 (21:55 +0000)]
check expire from longest to shortes

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@219 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremove udev startup from container
Dobrica Pavlinusic [Mon, 14 Jun 2010 12:13:14 +0000 (12:13 +0000)]
remove udev startup from container

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@218 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoalways do lvremove at start and keep snapshot
Dobrica Pavlinusic [Fri, 11 Jun 2010 12:39:11 +0000 (12:39 +0000)]
always do lvremove at start and keep snapshot

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@217 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoshow ip and hostname in status
Dobrica Pavlinusic [Wed, 26 May 2010 10:19:05 +0000 (10:19 +0000)]
show ip and hostname in status

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@216 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agostart openvpn from /etc/network/interfaces
Dobrica Pavlinusic [Thu, 13 May 2010 13:55:43 +0000 (13:55 +0000)]
start openvpn from /etc/network/interfaces

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@215 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agojoin tap device into bridge on server
Dobrica Pavlinusic [Thu, 13 May 2010 13:54:33 +0000 (13:54 +0000)]
join tap device into bridge on server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@214 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agosetup IP for client and masquarade local network
Dobrica Pavlinusic [Thu, 13 May 2010 13:53:50 +0000 (13:53 +0000)]
setup IP for client and masquarade local network

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@213 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocreate client configuration
Dobrica Pavlinusic [Thu, 13 May 2010 13:52:36 +0000 (13:52 +0000)]
create client configuration

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@212 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocreate openvpn configuration
Dobrica Pavlinusic [Thu, 13 May 2010 13:50:31 +0000 (13:50 +0000)]
create openvpn configuration

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@211 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agogenerate static key on server
Dobrica Pavlinusic [Thu, 13 May 2010 13:49:13 +0000 (13:49 +0000)]
generate static key on server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@210 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocreate openvpn conf file for tun10
Dobrica Pavlinusic [Tue, 11 May 2010 18:48:49 +0000 (18:48 +0000)]
create openvpn conf file for tun10

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@209 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agogenerate static key on server
Dobrica Pavlinusic [Tue, 11 May 2010 18:42:12 +0000 (18:42 +0000)]
generate static key on server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@208 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall openvpn
Dobrica Pavlinusic [Tue, 11 May 2010 18:34:35 +0000 (18:34 +0000)]
install openvpn

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@207 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoremove function which is bashisam (and thus we work under dash as /bin/sh)
Dobrica Pavlinusic [Mon, 10 May 2010 12:50:50 +0000 (12:50 +0000)]
remove function which is bashisam (and thus we work under dash as /bin/sh)

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@206 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomake lvm snapshot for each machine, transfer files using rsync protocol
Dobrica Pavlinusic [Sun, 2 May 2010 17:46:44 +0000 (17:46 +0000)]
make lvm snapshot for each machine, transfer files using rsync protocol

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@205 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall German::Client from package
Dobrica Pavlinusic [Sun, 2 May 2010 16:24:42 +0000 (16:24 +0000)]
install German::Client from package

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@204 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agosimple perl command-line client depenent only on libgearman-client-perl which is...
Dobrica Pavlinusic [Sat, 1 May 2010 12:49:20 +0000 (12:49 +0000)]
simple perl command-line client depenent only on libgearman-client-perl which is in etch

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@203 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agosimple grep_hostname worker
Dobrica Pavlinusic [Sat, 1 May 2010 12:37:46 +0000 (12:37 +0000)]
simple grep_hostname worker

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@202 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomake executable
Dobrica Pavlinusic [Tue, 27 Apr 2010 08:21:22 +0000 (08:21 +0000)]
make executable

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@201 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall our lxc-debian
Dobrica Pavlinusic [Tue, 27 Apr 2010 08:20:25 +0000 (08:20 +0000)]
install our lxc-debian

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@200 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoexpire snapshots older than 3 days
Dobrica Pavlinusic [Sun, 11 Apr 2010 20:36:10 +0000 (20:36 +0000)]
expire snapshots older than 3 days

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@199 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agopull btrfs snapshot from rsync server
Dobrica Pavlinusic [Wed, 31 Mar 2010 06:15:41 +0000 (06:15 +0000)]
pull btrfs snapshot from rsync server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@198 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomake hourly snapshots
Dobrica Pavlinusic [Sun, 28 Mar 2010 20:54:15 +0000 (20:54 +0000)]
make hourly snapshots

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@197 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agouse column to display nice tabular output from status
Dobrica Pavlinusic [Wed, 24 Mar 2010 19:06:42 +0000 (19:06 +0000)]
use column to display nice tabular output from status

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@196 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agolxc-ls displays random files in /var/lib/lxc/ and duplicates so don't use it
Dobrica Pavlinusic [Wed, 24 Mar 2010 19:03:16 +0000 (19:03 +0000)]
lxc-ls displays random files in /var/lib/lxc/ and duplicates so don't use it

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@195 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoextract correct lxc.rootfs
Dobrica Pavlinusic [Mon, 22 Mar 2010 21:48:27 +0000 (21:48 +0000)]
extract correct lxc.rootfs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@194 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoensure that we have getty on tty1
Dobrica Pavlinusic [Fri, 19 Mar 2010 14:11:49 +0000 (14:11 +0000)]
ensure that we have getty on tty1

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@193 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoexamples for lxc.network.hwaddr, lxc.network.veth.pair and lxc.mount.entry
Dobrica Pavlinusic [Fri, 19 Mar 2010 14:02:14 +0000 (14:02 +0000)]
examples for lxc.network.hwaddr, lxc.network.veth.pair and lxc.mount.entry

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@192 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall dependencies
Dobrica Pavlinusic [Thu, 18 Mar 2010 20:50:33 +0000 (20:50 +0000)]
install dependencies

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@191 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agobetter usage, install as init script docs
Dobrica Pavlinusic [Tue, 16 Mar 2010 23:14:38 +0000 (23:14 +0000)]
better usage, install as init script docs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@190 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agobetter output
Dobrica Pavlinusic [Tue, 16 Mar 2010 23:05:31 +0000 (23:05 +0000)]
better output

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@189 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoadded boot and disable
Dobrica Pavlinusic [Tue, 16 Mar 2010 22:00:20 +0000 (22:00 +0000)]
added boot and disable

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@188 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agotimestap watchdog output
Dobrica Pavlinusic [Tue, 16 Mar 2010 21:36:45 +0000 (21:36 +0000)]
timestap watchdog output

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@187 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agogive container 5 seconds to start more than one process
Dobrica Pavlinusic [Tue, 16 Mar 2010 20:53:59 +0000 (20:53 +0000)]
give container 5 seconds to start more than one process

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@186 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocreate on_boot only if it doesn't exist
Dobrica Pavlinusic [Tue, 16 Mar 2010 20:51:46 +0000 (20:51 +0000)]
create on_boot only if it doesn't exist

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@185 191e9f34-6774-4a6d-acfc-7664dacd4a2a