pxelator
14 years agonicer scan result path /tmp/nmap.what, store scan result in CouchDB
Dobrica Pavlinusic [Sat, 29 Aug 2009 12:55:34 +0000 (12:55 +0000)]
nicer scan result path /tmp/nmap.what, store scan result in CouchDB

14 years agojust warn about unreachable clients, but wrap our soap invocation in eval
Dobrica Pavlinusic [Sat, 29 Aug 2009 00:07:00 +0000 (00:07 +0000)]
just warn about unreachable clients, but wrap our soap invocation in eval

14 years agoping host and offer wake-on-lan if down
Dobrica Pavlinusic [Sat, 29 Aug 2009 00:06:32 +0000 (00:06 +0000)]
ping host and offer wake-on-lan if down

14 years agocleanup client detection (again), added ping to single host
Dobrica Pavlinusic [Fri, 28 Aug 2009 23:30:38 +0000 (23:30 +0000)]
cleanup client detection (again), added ping to single host

14 years agobetter formatting of brctl output
Dobrica Pavlinusic [Fri, 28 Aug 2009 22:55:01 +0000 (22:55 +0000)]
better formatting of brctl output

14 years agouse client;
Dobrica Pavlinusic [Fri, 28 Aug 2009 22:51:45 +0000 (22:51 +0000)]
use client;

14 years agofill-in hostnames from dns
Dobrica Pavlinusic [Fri, 28 Aug 2009 22:36:06 +0000 (22:36 +0000)]
fill-in hostnames from dns

14 years agoadded fping to all hosts
Dobrica Pavlinusic [Fri, 28 Aug 2009 22:29:08 +0000 (22:29 +0000)]
added fping to all hosts

14 years agomove refresh from arp into client
Dobrica Pavlinusic [Fri, 28 Aug 2009 21:55:41 +0000 (21:55 +0000)]
move refresh from arp into client

14 years agocorrectly decode url escape -- should I move to real http server like Mojo?
Dobrica Pavlinusic [Fri, 28 Aug 2009 19:44:38 +0000 (19:44 +0000)]
correctly decode url escape -- should I move to real http server like Mojo?

14 years agocleanup dev column from arp
Dobrica Pavlinusic [Fri, 28 Aug 2009 19:41:16 +0000 (19:41 +0000)]
cleanup dev column from arp

14 years agoadded remove button
Dobrica Pavlinusic [Fri, 28 Aug 2009 19:39:54 +0000 (19:39 +0000)]
added remove button

14 years agodon't save invalid mac addresses
Dobrica Pavlinusic [Fri, 28 Aug 2009 19:36:36 +0000 (19:36 +0000)]
don't save invalid mac addresses

14 years agosave mac address on renew
Dobrica Pavlinusic [Fri, 28 Aug 2009 19:22:24 +0000 (19:22 +0000)]
save mac address on renew

14 years agoadded remove and test change_ip
Dobrica Pavlinusic [Fri, 28 Aug 2009 18:51:43 +0000 (18:51 +0000)]
added remove and test change_ip

14 years agorefactored into client:all_ips
Dobrica Pavlinusic [Fri, 28 Aug 2009 16:41:46 +0000 (16:41 +0000)]
refactored into client:all_ips

14 years agomove pids to directory
Dobrica Pavlinusic [Fri, 28 Aug 2009 16:20:43 +0000 (16:20 +0000)]
move pids to directory

14 years agohopefully, finally fixed editing of clients
Dobrica Pavlinusic [Fri, 28 Aug 2009 15:58:25 +0000 (15:58 +0000)]
hopefully, finally fixed editing of clients

14 years agoshow edit mask just for machines which are within our range
Dobrica Pavlinusic [Fri, 28 Aug 2009 12:34:10 +0000 (12:34 +0000)]
show edit mask just for machines which are within our range

14 years agoedit every address in our interface
Dobrica Pavlinusic [Thu, 27 Aug 2009 20:01:29 +0000 (20:01 +0000)]
edit every address in our interface

14 years agofew more fake targets
Dobrica Pavlinusic [Thu, 27 Aug 2009 20:00:30 +0000 (20:00 +0000)]
few more fake targets

14 years agocorrectly pack/unpack into 32-bit number for marking etc.
Dobrica Pavlinusic [Thu, 27 Aug 2009 19:58:56 +0000 (19:58 +0000)]
correctly pack/unpack into 32-bit number for marking etc.

14 years agoadded empty option if none of them is selected
Dobrica Pavlinusic [Thu, 27 Aug 2009 19:58:18 +0000 (19:58 +0000)]
added empty option if none of them is selected

14 years agoarp visible clients are not integrated into table
Dobrica Pavlinusic [Thu, 27 Aug 2009 19:03:56 +0000 (19:03 +0000)]
arp visible clients are not integrated into table

14 years agouse upper case mac addresses separated by :
Dobrica Pavlinusic [Thu, 27 Aug 2009 18:59:12 +0000 (18:59 +0000)]
use upper case mac addresses separated by :

14 years agowe need to open ethernet tunnel as root, so check it
Dobrica Pavlinusic [Thu, 27 Aug 2009 18:57:46 +0000 (18:57 +0000)]
we need to open ethernet tunnel as root, so check it

14 years agoadded nmap scanning and discovery of network
Dobrica Pavlinusic [Thu, 27 Aug 2009 17:44:03 +0000 (17:44 +0000)]
added nmap scanning and discovery of network

14 years agofew more dummy deploy targets
Dobrica Pavlinusic [Thu, 27 Aug 2009 17:43:05 +0000 (17:43 +0000)]
few more dummy deploy targets

14 years agowork a bit more on clients table layout
Dobrica Pavlinusic [Thu, 27 Aug 2009 16:47:42 +0000 (16:47 +0000)]
work a bit more on clients table layout

14 years agossh ethernet tunnel needs Net::OpenSSH
Dobrica Pavlinusic [Thu, 27 Aug 2009 16:21:45 +0000 (16:21 +0000)]
ssh ethernet tunnel needs Net::OpenSSH

14 years agoadded zebra stripes
Dobrica Pavlinusic [Thu, 27 Aug 2009 14:31:49 +0000 (14:31 +0000)]
added zebra stripes

14 years agoshow configuration using clinet::all_conf
Dobrica Pavlinusic [Thu, 27 Aug 2009 14:31:15 +0000 (14:31 +0000)]
show configuration using clinet::all_conf

14 years agoadded all_conf which return all configuration variables for single IP address
Dobrica Pavlinusic [Thu, 27 Aug 2009 14:30:55 +0000 (14:30 +0000)]
added all_conf which return all configuration variables for single IP address

14 years agosort by ip addresses
Dobrica Pavlinusic [Thu, 27 Aug 2009 12:52:23 +0000 (12:52 +0000)]
sort by ip addresses

14 years agocolumns ip, mac, hostname
Dobrica Pavlinusic [Thu, 27 Aug 2009 12:42:53 +0000 (12:42 +0000)]
columns ip, mac, hostname

14 years agouse _id instread of time or timestamp
Dobrica Pavlinusic [Wed, 26 Aug 2009 16:34:59 +0000 (16:34 +0000)]
use _id instread of time or timestamp

14 years agocount ip for each package
Dobrica Pavlinusic [Wed, 26 Aug 2009 16:15:46 +0000 (16:15 +0000)]
count ip for each package

14 years agouse humanly readable date
Dobrica Pavlinusic [Wed, 26 Aug 2009 16:13:38 +0000 (16:13 +0000)]
use humanly readable date

14 years agoformat humanly readable dates in url of document
Dobrica Pavlinusic [Wed, 26 Aug 2009 15:59:19 +0000 (15:59 +0000)]
format humanly readable dates in url of document

14 years agoignore push/pull javascript dumps
Dobrica Pavlinusic [Wed, 26 Aug 2009 15:10:33 +0000 (15:10 +0000)]
ignore push/pull javascript dumps

14 years agosend wake-on-lan packet to network broadcast address
Dobrica Pavlinusic [Wed, 26 Aug 2009 12:43:47 +0000 (12:43 +0000)]
send wake-on-lan packet to network broadcast address
because machines which are off won't respond to arp
requests if we try to send to their's IP address directly

14 years agopower_up by IP or MAC
Dobrica Pavlinusic [Wed, 26 Aug 2009 11:42:33 +0000 (11:42 +0000)]
power_up by IP or MAC

14 years agoskeleton for wake on lan
Dobrica Pavlinusic [Wed, 26 Aug 2009 10:21:44 +0000 (10:21 +0000)]
skeleton for wake on lan

14 years agoremove nfsroot for client
Dobrica Pavlinusic [Wed, 26 Aug 2009 09:15:23 +0000 (09:15 +0000)]
remove nfsroot for client

14 years agodeploy amt serial console from sysadmin cookbook
Dobrica Pavlinusic [Wed, 26 Aug 2009 09:06:49 +0000 (09:06 +0000)]
deploy amt serial console from sysadmin cookbook

14 years agokeep permissions from original file
Dobrica Pavlinusic [Wed, 26 Aug 2009 09:06:10 +0000 (09:06 +0000)]
keep permissions from original file

14 years agotest and fix mkdir
Dobrica Pavlinusic [Wed, 26 Aug 2009 08:59:50 +0000 (08:59 +0000)]
test and fix mkdir

14 years agoadded copy_once and modified append to understand exit in shell scripts and insert...
Dobrica Pavlinusic [Wed, 26 Aug 2009 08:43:40 +0000 (08:43 +0000)]
added copy_once and modified append to understand exit in shell scripts and insert before it

14 years agoadded serial port
Dobrica Pavlinusic [Tue, 25 Aug 2009 17:39:28 +0000 (17:39 +0000)]
added serial port

14 years agoserver::setup_from_dev will take configuration from existing device
Dobrica Pavlinusic [Tue, 25 Aug 2009 17:09:52 +0000 (17:09 +0000)]
server::setup_from_dev will take configuration from existing device

14 years agofix warning
Dobrica Pavlinusic [Tue, 25 Aug 2009 17:09:12 +0000 (17:09 +0000)]
fix warning

14 years ago-e doesn't return true for symlinks, so -l is right thing
Dobrica Pavlinusic [Tue, 25 Aug 2009 15:00:20 +0000 (15:00 +0000)]
-e doesn't return true for symlinks, so -l is right thing

14 years agodon't deploy anything by default
Dobrica Pavlinusic [Tue, 25 Aug 2009 14:55:39 +0000 (14:55 +0000)]
don't deploy anything by default

14 years agoshow client setup just to... well clients within range
Dobrica Pavlinusic [Mon, 24 Aug 2009 22:04:39 +0000 (22:04 +0000)]
show client setup just to... well clients within range

14 years agohttp://blog.rot13.org/2009/08/tap_magic_kvm_bridge_ssh_ethernet_tunnel.html
Dobrica Pavlinusic [Mon, 24 Aug 2009 18:07:19 +0000 (18:07 +0000)]
blog.rot13.org/2009/08/tap_magic_kvm_bridge_ssh_ethernet_tunnel.html

turned into simple package for pxelator... nice and simple
(runs same commands on both hosts :-)

14 years agomark some things as done
Dobrica Pavlinusic [Mon, 24 Aug 2009 13:58:13 +0000 (13:58 +0000)]
mark some things as done

14 years agospell check
Dobrica Pavlinusic [Sat, 22 Aug 2009 13:51:33 +0000 (13:51 +0000)]
spell check

14 years agowrote introduction chapter
Dobrica Pavlinusic [Sat, 22 Aug 2009 11:50:57 +0000 (11:50 +0000)]
wrote introduction chapter

14 years agokill all kvm processes
Dobrica Pavlinusic [Thu, 20 Aug 2009 20:14:16 +0000 (20:14 +0000)]
kill all kvm processes

14 years agoadded masquarade to default device and few helpers for that
Dobrica Pavlinusic [Thu, 20 Aug 2009 19:44:19 +0000 (19:44 +0000)]
added masquarade to default device and few helpers for that

14 years agoput all customization above debootstrap into rw overlay
Dobrica Pavlinusic [Thu, 20 Aug 2009 19:00:13 +0000 (19:00 +0000)]
put all customization above debootstrap into rw overlay
(aufs branch), record mounted variations correctly

14 years agoextracted first_time into once package
Dobrica Pavlinusic [Thu, 20 Aug 2009 17:36:17 +0000 (17:36 +0000)]
extracted first_time into once package

14 years agouse tag as identifier in url and strip path from it
Dobrica Pavlinusic [Thu, 20 Aug 2009 17:35:44 +0000 (17:35 +0000)]
use tag as identifier in url and strip path from it

14 years agoshow just messages from kvm hostname
Dobrica Pavlinusic [Thu, 20 Aug 2009 17:19:15 +0000 (17:19 +0000)]
show just messages from kvm hostname

14 years agocache response into $mounted
Dobrica Pavlinusic [Wed, 19 Aug 2009 23:12:18 +0000 (23:12 +0000)]
cache response into $mounted

14 years agomoved first_tile check to mount image if needed
Dobrica Pavlinusic [Wed, 19 Aug 2009 23:12:02 +0000 (23:12 +0000)]
moved first_tile check to mount image if needed

14 years agofirst semi-complicated setup to show off some of sysadmin DSL in PXElator
Dobrica Pavlinusic [Wed, 19 Aug 2009 22:48:54 +0000 (22:48 +0000)]
first semi-complicated setup to show off some of sysadmin DSL in PXElator

implement nfs root boot with writable snapshot directories for each
client which are rolled out on demand using aufs on server side.

So, client can implement additional layer of aufs if needed
(for /tmp and things like that) and offload more important files
(configuration changes) back to server via NFS.

14 years agoadded debian_mirror configuration variable with sensible default
Dobrica Pavlinusic [Wed, 19 Aug 2009 18:10:37 +0000 (18:10 +0000)]
added debian_mirror configuration variable with sensible default
(so you can use Apt-Cacher NG to provide local Debian mirror)
execute /tmp/configure.sh script after debootstrap

14 years agoadded favicon.ico
Dobrica Pavlinusic [Wed, 19 Aug 2009 18:08:23 +0000 (18:08 +0000)]
added favicon.ico

14 years agosemi-working nfsroot configuration
Dobrica Pavlinusic [Wed, 19 Aug 2009 17:01:57 +0000 (17:01 +0000)]
semi-working nfsroot configuration

14 years agodon't die without mac address (like flash proxy requests)
Dobrica Pavlinusic [Wed, 19 Aug 2009 17:01:20 +0000 (17:01 +0000)]
don't die without mac address (like flash proxy requests)

14 years agosupport for mirroring single file specified as url only
Dobrica Pavlinusic [Wed, 19 Aug 2009 17:00:46 +0000 (17:00 +0000)]
support for mirroring single file specified as url only

14 years agoadded ip::devices_up and use it for wireshark to offer sniffing targets
Dobrica Pavlinusic [Wed, 19 Aug 2009 12:46:07 +0000 (12:46 +0000)]
added ip::devices_up and use it for wireshark to offer sniffing targets

14 years agorefresh $package::debug from shared state on filesystem
Dobrica Pavlinusic [Wed, 19 Aug 2009 12:45:07 +0000 (12:45 +0000)]
refresh $package::debug from shared state on filesystem

14 years agodump amt data into audit log
Dobrica Pavlinusic [Wed, 19 Aug 2009 11:51:51 +0000 (11:51 +0000)]
dump amt data into audit log

14 years agouse client IP if it's not specified in amt file
Dobrica Pavlinusic [Wed, 19 Aug 2009 11:02:15 +0000 (11:02 +0000)]
use client IP if it's not specified in amt file
(assuming that AMT is on DHCP settings)

14 years agomove refresh after each request
Dobrica Pavlinusic [Wed, 19 Aug 2009 10:58:02 +0000 (10:58 +0000)]
move refresh after each request

14 years agorecord all dhcp request options in audit log
Dobrica Pavlinusic [Wed, 19 Aug 2009 10:56:04 +0000 (10:56 +0000)]
record all dhcp request options in audit log

14 years agocreate just one audit entry for each dns request
Dobrica Pavlinusic [Tue, 18 Aug 2009 22:02:11 +0000 (22:02 +0000)]
create just one audit entry for each dns request

14 years agodump full caller trace only with DEBUG enviroment set
Dobrica Pavlinusic [Tue, 18 Aug 2009 21:53:19 +0000 (21:53 +0000)]
dump full caller trace only with DEBUG enviroment set
fix sub name by extracting it from right caller

14 years agosplice part of caller output to useful one
Dobrica Pavlinusic [Tue, 18 Aug 2009 21:37:49 +0000 (21:37 +0000)]
splice part of caller output to useful one

14 years agoextract real coller and whole call stack
Dobrica Pavlinusic [Tue, 18 Aug 2009 21:30:55 +0000 (21:30 +0000)]
extract real coller and whole call stack

14 years agodon't push/pull dotfiles
Dobrica Pavlinusic [Tue, 18 Aug 2009 20:56:48 +0000 (20:56 +0000)]
don't push/pull dotfiles

14 years agoreally don't do mkdir if it exists
Dobrica Pavlinusic [Tue, 18 Aug 2009 14:31:56 +0000 (14:31 +0000)]
really don't do mkdir if it exists

14 years agomake push or make pull
Dobrica Pavlinusic [Tue, 18 Aug 2009 14:30:51 +0000 (14:30 +0000)]
make push or make pull

14 years agodon't push .svn directories
Dobrica Pavlinusic [Tue, 18 Aug 2009 14:30:06 +0000 (14:30 +0000)]
don't push .svn directories

14 years agomove debug to server tab
Dobrica Pavlinusic [Tue, 18 Aug 2009 12:46:41 +0000 (12:46 +0000)]
move debug to server tab

14 years agoexample CouchDB views
Dobrica Pavlinusic [Tue, 18 Aug 2009 12:19:52 +0000 (12:19 +0000)]
example CouchDB views

14 years agoand depdendency for it
Dobrica Pavlinusic [Tue, 18 Aug 2009 12:18:49 +0000 (12:18 +0000)]
and depdendency for it

14 years agoCouchDB view push/pull script
Dobrica Pavlinusic [Tue, 18 Aug 2009 12:18:39 +0000 (12:18 +0000)]
CouchDB view push/pull script

14 years agoadded grouping category to syslog
Dobrica Pavlinusic [Tue, 18 Aug 2009 08:57:47 +0000 (08:57 +0000)]
added grouping category to syslog

14 years agodon't create directory if it allready exists
Dobrica Pavlinusic [Mon, 17 Aug 2009 15:31:53 +0000 (15:31 +0000)]
don't create directory if it allready exists

14 years agocheck if process is running before killing it
Dobrica Pavlinusic [Mon, 17 Aug 2009 15:14:58 +0000 (15:14 +0000)]
check if process is running before killing it

14 years agocheck if client allready have ip address and if it does
Dobrica Pavlinusic [Mon, 17 Aug 2009 13:27:18 +0000 (13:27 +0000)]
check if client allready have ip address and if it does
don't respond to it unless it's in our ip range, but
record information for later review

14 years agobetter process messages and start/stop
Dobrica Pavlinusic [Mon, 17 Aug 2009 13:25:48 +0000 (13:25 +0000)]
better process messages and start/stop

14 years agofirst start without /tmp/pxelator.once doesn't die
Dobrica Pavlinusic [Mon, 17 Aug 2009 10:28:17 +0000 (10:28 +0000)]
first start without /tmp/pxelator.once doesn't die

14 years agoremoved svn:executable
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:55:13 +0000 (00:55 +0000)]
removed svn:executable

14 years agostip package name from sub
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:52:51 +0000 (00:52 +0000)]
stip package name from sub

14 years agosplit into start and message so we can reload code between
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:51:24 +0000 (00:51 +0000)]
split into start and message so we can reload code between

14 years agoimprove parsing of syslog messages
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:45:41 +0000 (00:45 +0000)]
improve parsing of syslog messages