sysadmin-cookbook
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

15 years agofinish rsync backup over ssh from lvm snapshot to zfs snapshot
Dobrica Pavlinusic [Fri, 1 May 2009 17:41:14 +0000 (17:41 +0000)]
finish rsync backup over ssh from lvm snapshot to zfs snapshot

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

15 years agoaccept arguments and make runnable
Dobrica Pavlinusic [Fri, 1 May 2009 17:26:20 +0000 (17:26 +0000)]
accept arguments and make runnable

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

15 years agolast step is to attach new block device
Dobrica Pavlinusic [Fri, 1 May 2009 17:19:19 +0000 (17:19 +0000)]
last step is to attach new block device

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

15 years agodetach small block device from pool so it get enlarged
Dobrica Pavlinusic [Fri, 1 May 2009 16:23:24 +0000 (16:23 +0000)]
detach small block device from pool so it get enlarged

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

15 years agoeasiest way to keep machine time in sync with ntp
Dobrica Pavlinusic [Fri, 1 May 2009 15:53:10 +0000 (15:53 +0000)]
easiest way to keep machine time in sync with ntp

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

15 years agothis step is optional but will move read load from local block device to network...
Dobrica Pavlinusic [Fri, 1 May 2009 15:52:15 +0000 (15:52 +0000)]
this step is optional but will move read load from local block device to network mirror device

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

15 years agosteps to enlarge pool
Dobrica Pavlinusic [Fri, 1 May 2009 15:50:04 +0000 (15:50 +0000)]
steps to enlarge pool

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

15 years agocreate 200Gb logical volume
Dobrica Pavlinusic [Fri, 1 May 2009 15:34:08 +0000 (15:34 +0000)]
create 200Gb logical volume

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

15 years agoadded syntax hightlight to vim
Dobrica Pavlinusic [Fri, 1 May 2009 14:09:58 +0000 (14:09 +0000)]
added syntax hightlight to vim

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

15 years agopull backup from remote host using rsync over ssh
Dobrica Pavlinusic [Fri, 1 May 2009 14:08:20 +0000 (14:08 +0000)]
pull backup from remote host using rsync over ssh

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

15 years agoadded symlink dependency
Dobrica Pavlinusic [Fri, 1 May 2009 13:55:11 +0000 (13:55 +0000)]
added symlink dependency

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

15 years agomoved copy root identity
Dobrica Pavlinusic [Fri, 1 May 2009 13:54:31 +0000 (13:54 +0000)]
moved copy root identity

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

15 years agoinstall symlink dependency
Dobrica Pavlinusic [Fri, 1 May 2009 13:20:11 +0000 (13:20 +0000)]
install symlink dependency

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

15 years agomove ssh root key generation into ssh recepie
Dobrica Pavlinusic [Fri, 1 May 2009 13:19:41 +0000 (13:19 +0000)]
move ssh root key generation into ssh recepie

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

15 years agofix .ssh/config permission
Dobrica Pavlinusic [Fri, 1 May 2009 13:07:17 +0000 (13:07 +0000)]
fix .ssh/config permission

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

15 years agocreate zfs snapshot
Dobrica Pavlinusic [Fri, 1 May 2009 12:43:35 +0000 (12:43 +0000)]
create zfs snapshot

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

15 years agoadded link to documentation
Dobrica Pavlinusic [Fri, 1 May 2009 12:35:09 +0000 (12:35 +0000)]
added link to documentation

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

15 years agoadd our helper scripts to $PATH
Dobrica Pavlinusic [Fri, 1 May 2009 12:27:35 +0000 (12:27 +0000)]
add our helper scripts to $PATH

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

15 years agocreate compressed zfs file system
Dobrica Pavlinusic [Fri, 1 May 2009 12:13:18 +0000 (12:13 +0000)]
create compressed zfs file system

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

15 years agoadded with-partitions so we can quickly list devices for fdisk
Dobrica Pavlinusic [Fri, 1 May 2009 12:11:44 +0000 (12:11 +0000)]
added with-partitions so we can quickly list devices for fdisk

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

15 years agoDisplay all block devices on system
Dobrica Pavlinusic [Fri, 1 May 2009 12:00:18 +0000 (12:00 +0000)]
Display all block devices on system

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

15 years agoexport whole disk and not just single partition
Dobrica Pavlinusic [Thu, 30 Apr 2009 23:16:32 +0000 (23:16 +0000)]
export whole disk and not just single partition

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

15 years agoattach new device to zfs pool and turn it into mirror
Dobrica Pavlinusic [Thu, 30 Apr 2009 23:15:42 +0000 (23:15 +0000)]
attach new device to zfs pool and turn it into mirror

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

15 years agoinfo recepies start without a number because they are not
Dobrica Pavlinusic [Thu, 30 Apr 2009 22:55:04 +0000 (22:55 +0000)]
info recepies start without a number because they are not
dependend on order of execution

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

15 years agostart client and verify new device
Dobrica Pavlinusic [Thu, 30 Apr 2009 22:43:20 +0000 (22:43 +0000)]
start client and verify new device

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

15 years agoinstall client
Dobrica Pavlinusic [Thu, 30 Apr 2009 22:36:29 +0000 (22:36 +0000)]
install client

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

15 years agorename according to new markup, install server configuration and start it
Dobrica Pavlinusic [Thu, 30 Apr 2009 22:31:25 +0000 (22:31 +0000)]
rename according to new markup, install server configuration and start it

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

15 years agohow to deploy this cookbook
Dobrica Pavlinusic [Thu, 30 Apr 2009 22:16:09 +0000 (22:16 +0000)]
how to deploy this cookbook

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

15 years agostarted nbd recepie with installation of server
Dobrica Pavlinusic [Thu, 30 Apr 2009 21:54:34 +0000 (21:54 +0000)]
started nbd recepie with installation of server

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

15 years agocreate zfs file system
Dobrica Pavlinusic [Thu, 30 Apr 2009 20:45:38 +0000 (20:45 +0000)]
create zfs file system

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

15 years agoCopy directory while preserving all permissions using rsync
Dobrica Pavlinusic [Thu, 30 Apr 2009 18:37:12 +0000 (18:37 +0000)]
Copy directory while preserving all permissions using rsync

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

15 years agoZFS on Linux using zfs-fuse
Dobrica Pavlinusic [Thu, 30 Apr 2009 18:23:45 +0000 (18:23 +0000)]
ZFS on Linux using zfs-fuse

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