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