/[sysadmin-cookbook]/recepies
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /recepies

View Directory Listing Directory Listing


Sticky Revision:

Revision 64 - Directory Listing
Modified Wed May 13 16:41:53 2009 UTC (11 years ago) by dpavlin
append ttys to /etc/inittab


Revision 63 - Directory Listing
Modified Wed May 13 11:41:07 2009 UTC (11 years ago) by dpavlin
begin fun with amt using amtterm


Revision 62 - Directory Listing
Modified Tue May 12 23:13:59 2009 UTC (11 years ago) by dpavlin
fale-safe ttys needed by lxc, but not available on openvz containers


Revision 61 - Directory Listing
Modified Tue May 12 23:13:01 2009 UTC (11 years ago) by dpavlin
add eth0 to bridge


Revision 60 - Directory Listing
Modified Tue May 12 18:03:00 2009 UTC (11 years ago) by dpavlin
example how to create btrfs snapshot (currently you can't remove them!)


Revision 59 - Directory Listing
Modified Tue May 12 17:33:52 2009 UTC (11 years ago) by dpavlin
install btrfs-tools


Revision 58 - Directory Listing
Modified Tue May 12 16:06:44 2009 UTC (11 years ago) by dpavlin
Linux Containers are now part of standard 2.6.29 Debian kernel


Revision 57 - Directory Listing
Modified Tue May 12 16:01:04 2009 UTC (11 years ago) by dpavlin
started recepie to cook pxe boot using dnsmasq


Revision 56 - Directory Listing
Modified Tue May 12 15:52:05 2009 UTC (11 years ago) by dpavlin
kill existing image, mount all partitions


Revision 55 - Directory Listing
Modified Tue May 12 15:51:35 2009 UTC (11 years ago) by dpavlin
kill mounterd kvm/qemu image


Revision 54 - Directory Listing
Modified Tue May 12 15:51:08 2009 UTC (11 years ago) by dpavlin
use only words which have only a-z in them


Revision 53 - Directory Listing
Modified Mon May 11 22:20:02 2009 UTC (11 years ago) by dpavlin
make clone of directory


Revision 52 - Directory Listing
Modified Mon May 11 21:48:57 2009 UTC (11 years ago) by dpavlin
turn qemu/kvm image into nbd device


Revision 51 - Directory Listing
Modified Mon May 11 17:13:00 2009 UTC (11 years ago) by dpavlin
added --numeric-ids to preserve ownership


Revision 50 - Directory Listing
Modified Mon May 11 13:20:48 2009 UTC (11 years ago) by dpavlin
create cqow2 image and mount it unsing nbd


Revision 49 - Directory Listing
Modified Sun May 10 13:43:38 2009 UTC (11 years ago) by dpavlin
deduce pool name from name of snapshot


Revision 48 - Directory Listing
Modified Sun May 10 13:43:03 2009 UTC (11 years ago) by dpavlin
delete files which are removed at source location


Revision 47 - Directory Listing
Modified Sun May 10 13:01:49 2009 UTC (11 years ago) by dpavlin
select zfs snapshot to turn into OpenVZ container


Revision 46 - Directory Listing
Modified Sun May 10 13:01:16 2009 UTC (11 years ago) by dpavlin
pull files over rsync from lvm snapshot


Revision 45 - Directory Listing
Modified Tue May 5 22:22:15 2009 UTC (11 years, 1 month ago) by dpavlin
send zfs snapshot over netcat


Revision 44 - Directory Listing
Modified Tue May 5 22:21:37 2009 UTC (11 years, 1 month ago) by dpavlin
receive zfs snapshot over netcat


Revision 43 - Directory Listing
Modified Sun May 3 14:13:01 2009 UTC (11 years, 1 month ago) by root
checkout source and build zfs-fuse debian package


Revision 42 - Directory Listing
Modified Sat May 2 21:22:03 2009 UTC (11 years, 1 month ago) by dpavlin
added --diskspace


Revision 41 - Directory Listing
Modified Sat May 2 21:16:01 2009 UTC (11 years, 1 month ago) by dpavlin
apply template config for whole machine (1) to create
fully functional configuration


Revision 40 - Directory Listing
Modified Sat May 2 14:46:34 2009 UTC (11 years, 1 month ago) by dpavlin
lastcomm-duration.pl 4

will return all commands longer than 4s


Revision 39 - Directory Listing
Modified Sat May 2 14:44:31 2009 UTC (11 years, 1 month ago) by dpavlin
display statistics just for long running commands


Revision 38 - Directory Listing
Modified Sat May 2 14:40:15 2009 UTC (11 years, 1 month ago) by dpavlin
use process accounting to display summary of process, user and tty usage


Revision 37 - Directory Listing
Modified Sat May 2 14:07:30 2009 UTC (11 years, 1 month ago) by dpavlin
stress test web server by sending it /usr/share/dict/words


Revision 36 - Directory Listing
Modified Sat May 2 12:27:43 2009 UTC (11 years, 1 month ago) by dpavlin
count syscalls using strace


Revision 35 - Directory Listing
Modified Sat May 2 11:39:05 2009 UTC (11 years, 1 month ago) by dpavlin
setup container parameters on cloned filesystem


Revision 34 - Directory Listing
Modified Fri May 1 20:00:44 2009 UTC (11 years, 1 month ago) by dpavlin
create template configuration of full hardware machine

Revision 33 - Directory Listing
Modified Fri May 1 19:59:52 2009 UTC (11 years, 1 month ago) by dpavlin
create writable clone from snapshot

Revision 32 - Directory Listing
Modified Fri May 1 17:41:14 2009 UTC (11 years, 1 month ago) by dpavlin
finish rsync backup over ssh from lvm snapshot to zfs snapshot


Revision 31 - Directory Listing
Modified Fri May 1 17:26:20 2009 UTC (11 years, 1 month ago) by dpavlin
accept arguments and make runnable


Revision 30 - Directory Listing
Modified Fri May 1 17:19:19 2009 UTC (11 years, 1 month ago) by dpavlin
last step is to attach new block device


Revision 29 - Directory Listing
Modified Fri May 1 16:23:24 2009 UTC (11 years, 1 month ago) by dpavlin
detach small block device from pool so it get enlarged


Revision 28 - Directory Listing
Modified Fri May 1 15:53:10 2009 UTC (11 years, 1 month ago) by dpavlin
easiest way to keep machine time in sync with ntp


Revision 27 - Directory Listing
Modified Fri May 1 15:52:15 2009 UTC (11 years, 1 month ago) by dpavlin
this step is optional but will move read load from local block device to network mirror device


Revision 26 - Directory Listing
Modified Fri May 1 15:50:04 2009 UTC (11 years, 1 month ago) by dpavlin
steps to enlarge pool


Revision 25 - Directory Listing
Modified Fri May 1 15:34:08 2009 UTC (11 years, 1 month ago) by dpavlin
create 200Gb logical volume


Revision 24 - Directory Listing
Modified Fri May 1 14:09:58 2009 UTC (11 years, 1 month ago) by dpavlin
added syntax hightlight to vim


Revision 23 - Directory Listing
Modified Fri May 1 14:08:20 2009 UTC (11 years, 1 month ago) by dpavlin
pull backup from remote host using rsync over ssh


Revision 22 - Directory Listing
Modified Fri May 1 13:55:11 2009 UTC (11 years, 1 month ago) by dpavlin
added symlink dependency


Revision 21 - Directory Listing
Modified Fri May 1 13:54:31 2009 UTC (11 years, 1 month ago) by dpavlin
moved copy root identity


Revision 20 - Directory Listing
Modified Fri May 1 13:20:11 2009 UTC (11 years, 1 month ago) by dpavlin
install symlink dependency


Revision 19 - Directory Listing
Modified Fri May 1 13:19:41 2009 UTC (11 years, 1 month ago) by dpavlin
move ssh root key generation into ssh recepie


Revision 18 - Directory Listing
Modified Fri May 1 13:07:17 2009 UTC (11 years, 1 month ago) by root
fix .ssh/config permission


Revision 17 - Directory Listing
Modified Fri May 1 12:43:35 2009 UTC (11 years, 1 month ago) by dpavlin
create zfs snapshot


Revision 16 - Directory Listing
Modified Fri May 1 12:35:09 2009 UTC (11 years, 1 month ago) by dpavlin
added link to documentation


Revision 15 - Directory Listing
Modified Fri May 1 12:27:35 2009 UTC (11 years, 1 month ago) by dpavlin
add our helper scripts to $PATH


Revision 14 - Directory Listing
Modified Fri May 1 12:13:18 2009 UTC (11 years, 1 month ago) by dpavlin
create compressed zfs file system


Revision 11 - Directory Listing
Modified Thu Apr 30 23:16:32 2009 UTC (11 years, 1 month ago) by dpavlin
export whole disk and not just single partition


Revision 10 - Directory Listing
Modified Thu Apr 30 23:15:42 2009 UTC (11 years, 1 month ago) by dpavlin
attach new device to zfs pool and turn it into mirror


Revision 9 - Directory Listing
Modified Thu Apr 30 22:55:04 2009 UTC (11 years, 1 month ago) by dpavlin
info recepies start without a number because they are not
dependend on order of execution


Revision 8 - Directory Listing
Modified Thu Apr 30 22:43:20 2009 UTC (11 years, 1 month ago) by dpavlin
start client and verify new device

Revision 7 - Directory Listing
Modified Thu Apr 30 22:36:29 2009 UTC (11 years, 1 month ago) by dpavlin
install client

Revision 6 - Directory Listing
Modified Thu Apr 30 22:31:25 2009 UTC (11 years, 1 month ago) by dpavlin
rename according to new markup, install server configuration and start it


Revision 5 - Directory Listing
Modified Thu Apr 30 22:16:09 2009 UTC (11 years, 1 month ago) by dpavlin
how to deploy this cookbook


Revision 4 - Directory Listing
Modified Thu Apr 30 21:54:34 2009 UTC (11 years, 1 month ago) by dpavlin
started nbd recepie with installation of server

Revision 3 - Directory Listing
Modified Thu Apr 30 20:45:38 2009 UTC (11 years, 1 month ago) by dpavlin
create zfs file system

Revision 2 - Directory Listing
Modified Thu Apr 30 18:37:12 2009 UTC (11 years, 1 month ago) by dpavlin
Copy directory while preserving all permissions using rsync

Revision 1 - Directory Listing
Added Thu Apr 30 18:23:45 2009 UTC (11 years, 1 month ago) by dpavlin
ZFS on Linux using zfs-fuse

  ViewVC Help
Powered by ViewVC 1.1.26