sysadmin-cookbook
14 years agoabort if getSystemID doesn't return valid id
Dobrica Pavlinusic [Thu, 20 Aug 2009 13:34:28 +0000 (13:34 +0000)]
abort if getSystemID doesn't return valid id

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

14 years agoadded iselect
Dobrica Pavlinusic [Thu, 20 Aug 2009 13:34:02 +0000 (13:34 +0000)]
added iselect

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

14 years agoselect bios using iselect
Dobrica Pavlinusic [Thu, 20 Aug 2009 12:57:03 +0000 (12:57 +0000)]
select bios using iselect

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

14 years agoflash Dell bios from Linux
Dobrica Pavlinusic [Thu, 20 Aug 2009 12:43:53 +0000 (12:43 +0000)]
flash Dell bios from Linux

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

14 years agoadded first vblade example
Dobrica Pavlinusic [Mon, 17 Aug 2009 21:00:19 +0000 (21:00 +0000)]
added first vblade example

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

14 years agobuild ether puppet for different arhitectures using Firmware Linux
Dobrica Pavlinusic [Sat, 15 Aug 2009 01:19:39 +0000 (01:19 +0000)]
build ether puppet for different arhitectures using Firmware Linux

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

14 years agonew upstream
Dobrica Pavlinusic [Fri, 14 Aug 2009 19:23:20 +0000 (19:23 +0000)]
new upstream

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

14 years agopoint to new upstream http://git.rudd-o.com/zfs/
Dobrica Pavlinusic [Mon, 10 Aug 2009 23:42:34 +0000 (23:42 +0000)]
point to new upstream http://git.rudd-o.com/zfs/

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

14 years agobuild Debian package for Virtual NetworkManager from http://wiki.virtualsquare.org...
Dobrica Pavlinusic [Mon, 10 Aug 2009 23:41:43 +0000 (23:41 +0000)]
build Debian package for Virtual NetworkManager from wiki.virtualsquare.org/index.php/VirtualNetManager

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

14 years agoclone new upstream branch
Dobrica Pavlinusic [Mon, 10 Aug 2009 23:36:36 +0000 (23:36 +0000)]
clone new upstream branch

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

14 years agobuild iso from latest windows network guest drivers (virtio)
Dobrica Pavlinusic [Mon, 10 Aug 2009 22:10:26 +0000 (22:10 +0000)]
build iso from latest windows network guest drivers (virtio)

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

14 years agofew vde2 kvm hints from
Dobrica Pavlinusic [Sun, 26 Jul 2009 02:21:10 +0000 (02:21 +0000)]
few vde2 kvm hints from

http://faiwiki.informatik.uni-koeln.de/index.php/Local_testing_with_KVM%2C_VDE_and_dnsmasq

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

14 years agoreceive snapshot from other host using nc for low overhead
Dobrica Pavlinusic [Thu, 23 Jul 2009 23:26:34 +0000 (23:26 +0000)]
receive snapshot from other host using nc for low overhead

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

14 years agohints from https://wiki.ubuntu.com/ScreenCasts/GStreamer
Dobrica Pavlinusic [Fri, 17 Jul 2009 17:08:35 +0000 (17:08 +0000)]
hints from https://wiki.ubuntu.com/ScreenCasts/GStreamer

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

14 years agofixed multiple expiration rules by sorting them
Dobrica Pavlinusic [Thu, 9 Jul 2009 10:14:40 +0000 (10:14 +0000)]
fixed multiple expiration rules by sorting them

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

14 years agoadded multiple rules for each snapshot in backup
Dobrica Pavlinusic [Thu, 25 Jun 2009 11:07:26 +0000 (11:07 +0000)]
added multiple rules for each snapshot in backup

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

14 years agoiptables nat from 192.168.2.0/24 to wlan0 with masquarade
Dobrica Pavlinusic [Sun, 21 Jun 2009 18:34:00 +0000 (18:34 +0000)]
iptables nat from 192.168.2.0/24 to wlan0 with masquarade

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

14 years agoselect boot file
Dobrica Pavlinusic [Sun, 21 Jun 2009 18:32:25 +0000 (18:32 +0000)]
select boot file

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

14 years agodd_rescue don't like sync on stdin/stdout
Dobrica Pavlinusic [Thu, 18 Jun 2009 13:07:29 +0000 (13:07 +0000)]
dd_rescue don't like sync on stdin/stdout

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

14 years agosend snapshot using netcat with nice info using dd_rescue
Dobrica Pavlinusic [Thu, 18 Jun 2009 12:56:56 +0000 (12:56 +0000)]
send snapshot using netcat with nice info using dd_rescue

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

14 years agoadded IP and ve2lxc hostname to /etc/hosts
Dobrica Pavlinusic [Mon, 15 Jun 2009 20:22:52 +0000 (20:22 +0000)]
added IP and ve2lxc hostname to /etc/hosts

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

14 years agoadded gateway to lxc's /etc/network/interfaces
Dobrica Pavlinusic [Mon, 15 Jun 2009 20:22:04 +0000 (20:22 +0000)]
added gateway to lxc's /etc/network/interfaces

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

14 years agocopy /etc/resolv.conf from host system
Dobrica Pavlinusic [Mon, 15 Jun 2009 19:19:03 +0000 (19:19 +0000)]
copy /etc/resolv.conf from host system

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

14 years agouse configured veid all over
Dobrica Pavlinusic [Sat, 6 Jun 2009 16:57:37 +0000 (16:57 +0000)]
use configured veid all over

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

14 years agoexpire snapshots
Dobrica Pavlinusic [Sat, 6 Jun 2009 16:56:30 +0000 (16:56 +0000)]
expire snapshots

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

14 years agocalculate age of snapshot in days
Dobrica Pavlinusic [Sat, 6 Jun 2009 13:21:07 +0000 (13:21 +0000)]
calculate age of snapshot in days

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

15 years agouse testing netboot
Dobrica Pavlinusic [Sat, 30 May 2009 13:07:35 +0000 (13:07 +0000)]
use testing netboot

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

15 years agofix conf-dir directive activation
Dobrica Pavlinusic [Sat, 30 May 2009 13:07:12 +0000 (13:07 +0000)]
fix conf-dir directive activation

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

15 years agocreate /pool/backup/veid filesystem if it doesn't exist
Dobrica Pavlinusic [Sat, 30 May 2009 12:27:11 +0000 (12:27 +0000)]
create /pool/backup/veid filesystem if it doesn't exist

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

15 years agoadded xlax target to open terminals to each host in hosts using mkxlax
Dobrica Pavlinusic [Tue, 26 May 2009 16:52:10 +0000 (16:52 +0000)]
added xlax target to open terminals to each host in hosts using mkxlax

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

15 years agocreate gnuplot graphs based on http://oss.lzu.edu.cn/blog/article.php?tid_1204.html
Dobrica Pavlinusic [Mon, 25 May 2009 22:27:09 +0000 (22:27 +0000)]
create gnuplot graphs based on oss.lzu.edu.cn/blog/article.php?tid_1204.html

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

15 years agorule graph produce png graph
Dobrica Pavlinusic [Mon, 25 May 2009 22:11:35 +0000 (22:11 +0000)]
rule graph produce png graph

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

15 years agocreate graphviz dot file
Dobrica Pavlinusic [Mon, 25 May 2009 22:11:20 +0000 (22:11 +0000)]
create graphviz dot file

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

15 years agoparse last line of every */*.np file
Dobrica Pavlinusic [Mon, 25 May 2009 21:15:25 +0000 (21:15 +0000)]
parse last line of every */*.np file

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

15 years agocollect all /tmp/*.np files from hosts
Dobrica Pavlinusic [Mon, 25 May 2009 21:14:59 +0000 (21:14 +0000)]
collect all /tmp/*.np files from hosts

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

15 years agotest speed of network
Dobrica Pavlinusic [Mon, 25 May 2009 20:19:02 +0000 (20:19 +0000)]
test speed of network

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

15 years agocreate tftp boot enviroment from upstream debian netboot
Dobrica Pavlinusic [Sun, 24 May 2009 20:31:46 +0000 (20:31 +0000)]
create tftp boot enviroment from upstream debian netboot

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

15 years agoenable config-dir directive which looks for pxe configuration file
Dobrica Pavlinusic [Sun, 24 May 2009 19:58:29 +0000 (19:58 +0000)]
enable config-dir directive which looks for pxe configuration file

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

15 years agoconfigure dnsmasq for pxe boot
Dobrica Pavlinusic [Sun, 24 May 2009 19:58:06 +0000 (19:58 +0000)]
configure dnsmasq for pxe boot

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

15 years agoput template lxc configuration inside script itself
Dobrica Pavlinusic [Thu, 21 May 2009 15:55:27 +0000 (15:55 +0000)]
put template lxc configuration inside script itself
change /etc/hostname

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

15 years agoconfigure /etc/network/interfaces in new lxc container
Dobrica Pavlinusic [Thu, 21 May 2009 15:46:59 +0000 (15:46 +0000)]
configure /etc/network/interfaces in new lxc container

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

15 years agozpool also needs full path
Dobrica Pavlinusic [Tue, 19 May 2009 18:52:50 +0000 (18:52 +0000)]
zpool also needs full path

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

15 years agostart zfs-fuse on boot and mount filesystems
Dobrica Pavlinusic [Tue, 19 May 2009 18:28:14 +0000 (18:28 +0000)]
start zfs-fuse on boot and mount filesystems

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

15 years agooutput kernel messages to serial console with fallback to tty0
Dobrica Pavlinusic [Tue, 19 May 2009 17:56:59 +0000 (17:56 +0000)]
output kernel messages to serial console with fallback to tty0
insert grub directives at correct place in config, so we see
grub now over serial console (still no bios, ugh!)

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

15 years agofallback on normal tty0 console (?!) if no serial is found
Dobrica Pavlinusic [Mon, 18 May 2009 15:21:22 +0000 (15:21 +0000)]
fallback on normal tty0 console (?!) if no serial is found

Kernel doesn't have multiplexing, and while Internet claims that this
configuration will show boot messages on both VGA and serial, it doesn't
really work for me. Kernel will use *last* console parameter for /dev/console

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

15 years agotest if serial port is found in dmesg output
Dobrica Pavlinusic [Mon, 18 May 2009 08:26:23 +0000 (08:26 +0000)]
test if serial port is found in dmesg output

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

15 years agoconvert OpenVZ container to LXC
Dobrica Pavlinusic [Sun, 17 May 2009 20:54:48 +0000 (20:54 +0000)]
convert OpenVZ container to LXC

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

15 years agowe also need bridge-utils for networking
Dobrica Pavlinusic [Sun, 17 May 2009 18:39:48 +0000 (18:39 +0000)]
we also need bridge-utils for networking

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

15 years agoexample of cron job to do daily backup
Dobrica Pavlinusic [Sun, 17 May 2009 18:26:30 +0000 (18:26 +0000)]
example of cron job to do daily backup

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

15 years agocook over ssh connection (add host as last argument)
Dobrica Pavlinusic [Sun, 17 May 2009 15:33:23 +0000 (15:33 +0000)]
cook over ssh connection (add host as last argument)

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

15 years agouse current pool on system, compress rsync
Dobrica Pavlinusic [Sun, 17 May 2009 15:26:05 +0000 (15:26 +0000)]
use current pool on system, compress rsync

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

15 years agoadded clean
Dobrica Pavlinusic [Sun, 17 May 2009 12:51:33 +0000 (12:51 +0000)]
added clean

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

15 years agoturn CPAN into debian packages
Dobrica Pavlinusic [Sun, 17 May 2009 12:49:47 +0000 (12:49 +0000)]
turn CPAN into debian packages

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

15 years agoextract rsync into function
Dobrica Pavlinusic [Sun, 17 May 2009 12:45:11 +0000 (12:45 +0000)]
extract rsync into function

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

15 years agoadd custom repository to /etc/apt/sources.list
Dobrica Pavlinusic [Sun, 17 May 2009 12:19:17 +0000 (12:19 +0000)]
add custom repository to /etc/apt/sources.list

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

15 years agoadd serial console to grup and run update-grub
Dobrica Pavlinusic [Sun, 17 May 2009 11:58:25 +0000 (11:58 +0000)]
add serial console to grup and run update-grub

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

15 years agoadd console option to kernel
Dobrica Pavlinusic [Sun, 17 May 2009 11:50:30 +0000 (11:50 +0000)]
add console option to kernel

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

15 years agoadd serial console as described in amt-howto
Dobrica Pavlinusic [Sun, 17 May 2009 11:35:41 +0000 (11:35 +0000)]
add serial console as described in amt-howto

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

15 years agoadded warning about alpha state of btrfs in kernel
Dobrica Pavlinusic [Sat, 16 May 2009 12:38:59 +0000 (12:38 +0000)]
added warning about alpha state of btrfs in kernel

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

15 years agoexample script to pull backup over rsync and create btrfs snapshot
Dobrica Pavlinusic [Sat, 16 May 2009 12:38:41 +0000 (12:38 +0000)]
example script to pull backup over rsync and create btrfs snapshot

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

15 years agocheckout in single line, so it works over ssh
Dobrica Pavlinusic [Sat, 16 May 2009 12:37:03 +0000 (12:37 +0000)]
checkout in single line, so it works over ssh

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

15 years agodon't ask for ssh key filename
Dobrica Pavlinusic [Sat, 16 May 2009 12:36:49 +0000 (12:36 +0000)]
don't ask for ssh key filename

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

15 years agolist clone filesystem so that destroy can find it,
Dobrica Pavlinusic [Sat, 16 May 2009 12:35:09 +0000 (12:35 +0000)]
list clone filesystem so that destroy can find it,
display available OpenVZ VEs on the end

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

15 years agoCryo is a ptrace-based userspace checkpoint/restart proof of concept
Dobrica Pavlinusic [Fri, 15 May 2009 12:49:49 +0000 (12:49 +0000)]
Cryo is a ptrace-based userspace checkpoint/restart proof of concept

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

15 years agoconfigure bridge in /etc/network/interfaces (the Debian way)
Dobrica Pavlinusic [Thu, 14 May 2009 09:48:02 +0000 (09:48 +0000)]
configure bridge in /etc/network/interfaces (the Debian way)

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

15 years agomoved bridge creation recepie to shell script
Dobrica Pavlinusic [Thu, 14 May 2009 09:47:23 +0000 (09:47 +0000)]
moved bridge creation recepie to shell script

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

15 years agoshow configured bridge
Dobrica Pavlinusic [Wed, 13 May 2009 18:45:14 +0000 (18:45 +0000)]
show configured bridge

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

15 years agosmall helper to cook the recepie (start prompt parts in shell)
Dobrica Pavlinusic [Wed, 13 May 2009 18:31:33 +0000 (18:31 +0000)]
small helper to cook the recepie (start prompt parts in shell)

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

15 years agoappend ttys to /etc/inittab
Dobrica Pavlinusic [Wed, 13 May 2009 16:41:53 +0000 (16:41 +0000)]
append ttys to /etc/inittab

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

15 years agobegin fun with amt using amtterm
Dobrica Pavlinusic [Wed, 13 May 2009 11:41:07 +0000 (11:41 +0000)]
begin fun with amt using amtterm

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

15 years agofale-safe ttys needed by lxc, but not available on openvz containers
Dobrica Pavlinusic [Tue, 12 May 2009 23:13:59 +0000 (23:13 +0000)]
fale-safe ttys needed by lxc, but not available on openvz containers

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

15 years agoadd eth0 to bridge
Dobrica Pavlinusic [Tue, 12 May 2009 23:13:01 +0000 (23:13 +0000)]
add eth0 to bridge

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

15 years agoexample how to create btrfs snapshot (currently you can't remove them!)
Dobrica Pavlinusic [Tue, 12 May 2009 18:03:00 +0000 (18:03 +0000)]
example how to create btrfs snapshot (currently you can't remove them!)

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

15 years agoinstall btrfs-tools
Dobrica Pavlinusic [Tue, 12 May 2009 17:33:52 +0000 (17:33 +0000)]
install btrfs-tools

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

15 years agoLinux Containers are now part of standard 2.6.29 Debian kernel
Dobrica Pavlinusic [Tue, 12 May 2009 16:06:44 +0000 (16:06 +0000)]
Linux Containers are now part of standard 2.6.29 Debian kernel

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

15 years agostarted recepie to cook pxe boot using dnsmasq
Dobrica Pavlinusic [Tue, 12 May 2009 16:01:04 +0000 (16:01 +0000)]
started recepie to cook pxe boot using dnsmasq

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

15 years agokill existing image, mount all partitions
Dobrica Pavlinusic [Tue, 12 May 2009 15:52:05 +0000 (15:52 +0000)]
kill existing image, mount all partitions

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

15 years agokill mounterd kvm/qemu image
Dobrica Pavlinusic [Tue, 12 May 2009 15:51:35 +0000 (15:51 +0000)]
kill mounterd kvm/qemu image

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

15 years agouse only words which have only a-z in them
Dobrica Pavlinusic [Tue, 12 May 2009 15:51:08 +0000 (15:51 +0000)]
use only words which have only a-z in them

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

15 years agomake clone of directory
Dobrica Pavlinusic [Mon, 11 May 2009 22:20:02 +0000 (22:20 +0000)]
make clone of directory

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

15 years agoturn qemu/kvm image into nbd device
Dobrica Pavlinusic [Mon, 11 May 2009 21:48:57 +0000 (21:48 +0000)]
turn qemu/kvm image into nbd device

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

15 years agoadded --numeric-ids to preserve ownership
Dobrica Pavlinusic [Mon, 11 May 2009 17:13:00 +0000 (17:13 +0000)]
added --numeric-ids to preserve ownership

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

15 years agocreate cqow2 image and mount it unsing nbd
Dobrica Pavlinusic [Mon, 11 May 2009 13:20:48 +0000 (13:20 +0000)]
create cqow2 image and mount it unsing nbd

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

15 years agodeduce pool name from name of snapshot
Dobrica Pavlinusic [Sun, 10 May 2009 13:43:38 +0000 (13:43 +0000)]
deduce pool name from name of snapshot

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

15 years agodelete files which are removed at source location
Dobrica Pavlinusic [Sun, 10 May 2009 13:43:03 +0000 (13:43 +0000)]
delete files which are removed at source location

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

15 years agoselect zfs snapshot to turn into OpenVZ container
Dobrica Pavlinusic [Sun, 10 May 2009 13:01:49 +0000 (13:01 +0000)]
select zfs snapshot to turn into OpenVZ container

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

15 years agopull files over rsync from lvm snapshot
Dobrica Pavlinusic [Sun, 10 May 2009 13:01:16 +0000 (13:01 +0000)]
pull files over rsync from lvm snapshot

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

15 years agosend zfs snapshot over netcat
Dobrica Pavlinusic [Tue, 5 May 2009 22:22:15 +0000 (22:22 +0000)]
send zfs snapshot over netcat

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

15 years agoreceive zfs snapshot over netcat
Dobrica Pavlinusic [Tue, 5 May 2009 22:21:37 +0000 (22:21 +0000)]
receive zfs snapshot over netcat

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

15 years agocheckout source and build zfs-fuse debian package
Dobrica Pavlinusic [Sun, 3 May 2009 14:13:01 +0000 (14:13 +0000)]
checkout source and build zfs-fuse debian package

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

15 years agoadded --diskspace
Dobrica Pavlinusic [Sat, 2 May 2009 21:22:03 +0000 (21:22 +0000)]
added --diskspace

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

15 years agoapply template config for whole machine (1) to create
Dobrica Pavlinusic [Sat, 2 May 2009 21:16:01 +0000 (21:16 +0000)]
apply template config for whole machine (1) to create
fully functional configuration

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

15 years agolastcomm-duration.pl 4
Dobrica Pavlinusic [Sat, 2 May 2009 14:46:34 +0000 (14:46 +0000)]
lastcomm-duration.pl 4

will return all commands longer than 4s

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

15 years agodisplay statistics just for long running commands
Dobrica Pavlinusic [Sat, 2 May 2009 14:44:31 +0000 (14:44 +0000)]
display statistics just for long running commands

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

15 years agouse process accounting to display summary of process, user and tty usage
Dobrica Pavlinusic [Sat, 2 May 2009 14:40:15 +0000 (14:40 +0000)]
use process accounting to display summary of process, user and tty usage

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

15 years agostress test web server by sending it /usr/share/dict/words
Dobrica Pavlinusic [Sat, 2 May 2009 14:07:30 +0000 (14:07 +0000)]
stress test web server by sending it /usr/share/dict/words

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

15 years agocount syscalls using strace
Dobrica Pavlinusic [Sat, 2 May 2009 12:27:43 +0000 (12:27 +0000)]
count syscalls using strace

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

15 years agosetup container parameters on cloned filesystem
Dobrica Pavlinusic [Sat, 2 May 2009 11:39:05 +0000 (11:39 +0000)]
setup container parameters on cloned filesystem

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

15 years agocreate template configuration of full hardware machine
Dobrica Pavlinusic [Fri, 1 May 2009 20:00:44 +0000 (20:00 +0000)]
create template configuration of full hardware machine

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

15 years agocreate writable clone from snapshot
Dobrica Pavlinusic [Fri, 1 May 2009 19:59:52 +0000 (19:59 +0000)]
create writable clone from snapshot

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