This commit is contained in:
2019-02-06 00:49:12 +03:00
commit 8dbb1bb605
4796 changed files with 506072 additions and 0 deletions

View File

@@ -0,0 +1,95 @@
li { margin-top: 10px; }
body {
font-family: sans-serif;
background: #eeeeee;
margin: 0; padding: 0;
}
/* IE hack, works around no child-selector bug */
* html body {
margin: 15px;
m\argin: 15px;
}
body > * { margin: 15px; padding: auto; }
body > div.navheader { margin: 0; padding: 0;}
a { color: #b77f4e; }
a:visited { color: #a84510; }
h1, h2, h3 { color: #000000; }
a.linkhere, a.linkhere:visited {
color: black; text-decoration: none;
margin-right: 5px;
}
h2 a { color: black; }
h3 a { color: black; }
dt a { color: black; }
dt { font-weight: bold; font-style: italic; margin-top: 7px; }
dl { margin-left: 40px; }
h2 {
border-top: 2px solid #8fc3f7;
border-left: 2px solid #8fc3f7;
padding: 3px;
background: #69c;
}
h3 {
border-bottom: 2px dotted #a84510;
margin-bottom: 3px;
}
h3+p { margin-top: 4px; }
p.toplink { font-size: 0.8em; }
hr { display: none; }
div.navheader
{
width: 100%;
background-color: #036;
color: #fff;
border-top-style: solid;
border-top-width: 1px;
}
/* FIXME: make bottom bar prettier */
div.navfooter
{
border-top: 1px solid #036;
}
div.navheader a, div.navheader a:visited {
color: #fff;
}
.question { font-weight: bold; }
.toc dt { font-weight: normal; }
.toc dt a { font-weight: bold; }
.ulink { color: #00f; }
.ulink img { border: 0; }
.informaltable table tr td {
padding-right: 5px;
}
.programlisting {
background-color: #9cc;
padding-left: 15px;
border-left: 2px solid #000;
}
.screen { font-weight: bold; }
.guibutton {
border: 1px solid #000;
padding-left: 2px;
padding-right: 2px;
background-color: #aaf;
color: #000;
font-weight: bold;
font-family: monospace;
}
.guilabel { font-family: monospace; }

View File

@@ -0,0 +1,219 @@
Installing Debian on a new LJ web slave
=======================================
Rebuilding an existing machine?
* Take machine down on BIG-IP (optional. if not, one or two
dropped connections before BIG-IP does it for us)
Setting up a new machine?
* allocate an IP address, set it up on internal DNS server
* let that IP address SNAT out of the BIG-IP
* Reboot machine with Debian CD. If machine has no CD-ROM, open case
and attach CD-ROM to an IDE channel.
* at "boot:" prompt, press <ENTER>
Debian installation menu:
* Configure keyboard: qwerty
* Partition hard disk:
hda1 4000 / * bootable
hda2 15000 /home
hda3 1500 (swap)
(make swap double ram, / 4G, and the rest to /home)
* Init swap partition
* Init Linux Partitions:
/, then /home
(hit enter a lot, but but 'no' to linux 2.0 compatibility)
* Install operating system kernel & modules
from cdrom
where does it reside? hit enter (universal solution)
'default': The default stable archive
* Configure Device Driver modules
- skip the floppy module step, yes, <enter>
- net: eepro100, enter, enter, enter
- exit, exit.
* Configure the network
hostname: lj-foo
DHCP config? no.
IP: 10.0.0.n
Netmask: 255.255.255.0
Gateway: 10.0.0.14
Domain name: lj
DNS: 10.2.0.1
* Install the base system
from cdrom, enter, enter, where reside? enter.
default stable archive
* Configure the base system
US/Pacific
Hardware clock to GMT? Yes.
* Make Linux Bootable directly from hard disk
on /dev/hda
* Take out CDROM
* Reboot the System
Debian System Configuration:
* MD5 passwords? yes.
* Shadow passwords? yes.
* Root password: *************
* Normal user account? yes:
username: lj
fullname: LiveJournal
password: ***********
* Remove PCMCIA? yes.
* PPP? no.
* Select method apt will access Debian archive: http
non-US? yes.
non-free? yes.
contrib? yes.
country: US, http.us.washington.edu
proxy: http://10.0.0.17:3128/
* Add other apt source? no.
* Addition software method? simple.
* Tab, enter... Finish. (get nothing now)
* new packages need to be installed? continue? <enter>
* exim configuration: 5 (we're gonna scrap it later)
* erase debs? <enter>, yes.
* "Have fun!", debian says. (Aren't we already?)
Out of the installer:
* login as root
lj-foo:~# ae /etc/apt/sources.list
Make the file be these two lines:
deb http://http.us.debian.org/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
lj-foo:~# export http_proxy="http://10.0.0.17:3128/"
lj-foo:~# apt-get update
lj-foo:~# apt-get dist-upgrade
More debconf!
System readable homes? sure. (no public user accounts anyway)
Restart services? yeah.
use installer's conf file for PAM? I (yeah) (and whenever else)
exim config: 5 again
groff-base: I
lj-foo:~# apt-get install ssh
enter, enter, enter.
lj-foo:~# apt-get install lynx
lj-foo:~# lynx -source http://www.livejournal.com/misc/pkg-webslave.txt | xargs apt-get -y install
If Squid cache is being a bitch, disable it for any missing packages:
lj-foo:~# lynx -source http://www.livejournal.com/misc/pkg-webslave.txt | http_proxy='' xargs apt-get -y install
Ntpdate debconf:
Timeserver? 'timeserver' (internal DNS name)
######### Warning: non-hax0rs can stop here ################
lj-foo:~# mount
# Then for each ext2 mount do:
lj-foo:~# tune2fs -i 0 -c 0 -j /dev/hda1
lj-foo:~# tune2fs -i 0 -c 0 -j /dev/hda2
* change /etc/fstab to be 'auto' instead of 'ext2'
* vga=1 in /etc/lilo.conf
* put new kernel on machine with ext3 (static), smp, etc.
* copy /etc/init.d/mii-tool from another machine
* update-rc.d mii-tool start 41 S .
* reboot
* add ulimit -u 1024 to the bottom of /etc/profile
* apt-get install postfix
copy /etc/postfix/* over from another debian machine.
Modify the bottom of /etc/postfix/main.cf to match the host.
Run "postalias /etc/aliases"
Restart postfix.
* copy /etc/apache/* over from another debian machine.
Replace in the machine's IP and hostnamee.
* copy /etc/snmp/snmpd.conf over from another debian machine.
Restart snmpd.
* /etc/init.d/inetd.stop
chmod -x /etc/init.d/inetd (update-rc.d -f inetd remove ?)
* rsync as user lj
mkdir logs
mkdir temp
mkdir var
rm .procmailrc
* copy /etc/init.d/ljrpcd over from another debian machine.
run update-rc.d ljrpcd defaults 50
/etc/init.d/ljrpcd start
* restart apache
* run ssh-keygen, put slave:~/.ssh/identity.pub in
masterweb:~/.ssh/authorized_keys
* put masterweb:~/.ssh/id_rsa.pub in
slave:~/.ssh/authorized_keys2
* copy lj cron and root cron from another debian web slave over.
(work in progress ... much more coming soon)

View File

@@ -0,0 +1,53 @@
Switch Ports:
3 - Wendy
4 - Terrance
5 - Kyle
6 - Mackey
7 - Bebe
8 - Ike
9- Pip
10- phillip
11- Stan
12- Hat
13 - Marklar
14- Gerald
15- blank
16- Sheila
17 blank
18- Mayor
19- Jesus
20- blank
21- blank
22- blank
23- blank
24- Timmy
25- blank
26- Gobbles
27- blank
28- BIG/ip
29 blank
30- Cartman
Order of stuff in cabinet:
OLD CISCO
Wendy
Terrance
Kyle
Mackey
Bebe
Ike
Pip
Philip
Stan
Hat
BIG/IP
Timmy
Gobbles
Mayor
CISCO
Marklar
Jesus
Kenny
Gerald
Sheila
RAID ENCLOSURE

View File

@@ -0,0 +1,96 @@
#!/usr/bin/perl
#
use strict;
use Getopt::Long;
my $dir = "$ENV{'LJHOME'}/doc/raw/local/";
my $outdir = "$ENV{'LJHOME'}/htdocs/misc/goals";
my $opt_rand = 0;
exit 1 unless
GetOptions('random' => \$opt_rand);
my @ltime = localtime();
my $basefile = sprintf("goals-%04d%02d%02d", $ltime[5]+1900, $ltime[4]+1, $ltime[3]);
print "basefile: $basefile\n";
exit 1
unless ($opt_rand ||
(stat("$dir/goals.dat"))[9] > (stat("$outdir/$basefile.html"))[9]);
open (I, "$dir/goals.dat");
open (O, ">$dir/goals.dot");
print O "digraph goals {\n";
print O "bgcolor=\"white\";\n";
print O "size=\"20,15\";\n";
print O "node [fontsize=17,fontname=\"Verdana\"]\n";
my %notes;
my %nodeid;
my $num = 0;
my @lines = <I>;
close I;
my @no_notes;
foreach (@lines)
{
chomp;
s/\#.+//;
if (/:/) {
my ($k, $n) = split(/\s*:\s*/);
$notes{$k} = $n;
next;
}
push @no_notes, $_;
}
@lines = @no_notes;
if ($opt_rand) {
srand;
for (my $i=0; $i<@lines; $i++) {
unshift @lines, splice(@lines, $i + int(rand(@lines-$i)), 1);
}
}
foreach (@lines)
{
my ($a, $b) = split(/\s*\-\>\s*/);
next unless $a and $b;
foreach my $t ($a, $b) {
next if $nodeid{$t};
my $id = "n" . (++$num);
$nodeid{$t} = $id;
my $label = "$t";
my $color = "lightgray";
if ($notes{$t} =~ s/\(X\)//) {
$color = "green";
} elsif ($notes{$t} =~ s/\(\+\)//) {
$color = "yellow";
} elsif ($notes{$t} =~ s/\(\-\)//) {
$color = "white";
}
if ($notes{$t}) {
$label .= "\\n($notes{$t})";
}
$color = $color ? ", color=\"black\", style=\"filled\", fillcolor=\"$color\"" : "";
print O "$id [label=\"$label\" $color]\n";
}
print O "$nodeid{$a} -> $nodeid{$b}\n";
}
print O "}\n";
close O;
$ENV{'DOTFONTPATH'} = "/usr/share/fonts/truetype";
system("dot", "-Tgif", "-o", "$outdir/$basefile.gif", "$dir/goals.dot");
open (O, ">$outdir/$basefile.html");
printf O "<a href=\"/misc/goals.html\">Goals</a> as of: <i>%04d-%02d-%02d</i><p><img src='$basefile.gif'>",
$ltime[5]+1900, $ltime[4]+1, $ltime[3];
close O;
print "Rebuilt.\n";

View File

@@ -0,0 +1,47 @@
S2: mart, bradfitz
screening/moderation: avva (+)
stats daemon: dormando (+)
tech docs: jproulx (+)
bandwidth -> keep site running
employees -> keep site running
screening/moderation -> no invite codes
S2 -> customization
S2 -> S2 paid features
S2 paid features -> paid features
backup client -> happy customers
backup client -> reliable service
config 2nd bigip -> redundancy
correctness -> happy customers
customization -> ease of use
customization -> happy customers
tech docs -> releases
tech docs -> more installations
ease of use -> growth
ease of use -> happy customers
growth -> money
happy customers -> money
english removal -> releases
releases -> more installations
english removal -> translation
translation -> growth
limits -> no invite codes
limits -> reliable service
money -> bandwidth
money -> employees
cool stuff -> happy customers
no invite codes -> growth
paid features -> money
rate limiting -> limits
redundancy -> reliable service
more installations -> more developers
reliable service -> growth
reliable service -> happy customers
size limits -> limits
stats daemon -> user stats
stats daemon -> rate limiting
user stats -> paid features
syndication -> growth
syndication -> cool stuff

View File

@@ -0,0 +1,26 @@
<!ELEMENT hardwarelist (machine*)>
<!ELEMENT machine (physical, config, notes?)>
<!ATTLIST machine name ID #REQUIRED>
<!ELEMENT physical (type, vendor?, size?, proc?, mem?, disk?, other*)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT vendor (#PCDATA)>
<!ELEMENT size (#PCDATA)>
<!ELEMENT proc (#PCDATA)>
<!ELEMENT mem (#PCDATA)>
<!ELEMENT disk (#PCDATA)>
<!ELEMENT other (#PCDATA)>
<!ATTLIST other count NMTOKEN '1'>
<!ELEMENT config (role*, os?, raid*, ip*, mysqlid?)>
<!ELEMENT role (#PCDATA)>
<!ELEMENT os (#PCDATA)>
<!ELEMENT raid (#PCDATA)>
<!ATTLIST raid config NMTOKEN #REQUIRED>
<!ELEMENT ip (#PCDATA)>
<!ELEMENT mysqlid (#PCDATA)>
<!ELEMENT notes (#PCDATA)>

View File

@@ -0,0 +1,633 @@
<?xml version="1.0"?>
<!DOCTYPE hardwarelist SYSTEM "hardware.dtd">
<hardwarelist>
<machine name="kenny">
<physical>
<type>server</type>
<vendor>Dell</vendor>
<size>6</size>
<proc>Dual P3 (Coppermine) 933 Mhz</proc>
<mem>2 GB</mem>
<disk>SCSI: 2x9 GB, 2x18 GB</disk>
<other>AMI MegaRAID card</other>
<other count='2'>eepro100</other>
</physical>
<config>
<role>db</role>
<os>Debian</os>
<raid config='1'>9 GB</raid>
<raid config='0'>36 GB</raid>
<ip>10.0.0.1</ip>
<mysqlid>2</mysqlid>
</config>
<notes>
Kenny was one of our first two servers. We bought it at the
same time as Cartman. Kenny was our web server and
named so we could say "You killed Kenny, you bastard!" since
we anticipated growth faster than we could buy new servers.
</notes>
</machine>
<machine name="cartman">
<physical>
<type>server</type>
<vendor>Dell</vendor>
<size>6</size>
<proc>Dual P3 (Coppermine) 866 Mhz</proc>
<mem>2 GB</mem>
<disk>SCSI: 2x9 GB, 2x18 GB, 2x18 GB 10k</disk>
<other>AMI MegaRAID card</other>
<other count='2'>eepro100</other>
</physical>
<config>
<role>cluster master</role>
<os>Debian</os>
<raid config='1'>9 GB</raid>
<raid config='5'>36 GB (1 hotspare)</raid>
<ip>10.0.0.2</ip>
<mysqlid>1</mysqlid>
</config>
<notes>
Cartman was one of our first two servers along with Kenny.
Cartman's a big fat ass, and so was this thing, both in
physical size and disk space. It was our master database
server until we got Jesus and Kyle's mom. Now it's a
cluster master.
</notes>
</machine>
<machine name="stan">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 800 Mhz</proc>
<mem>512 MB</mem>
<disk>IDE: 18 GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>Debian</os>
<ip>10.0.0.3</ip>
</config>
<notes>
Stan and Kyle were bought at the same time. No front panel.
hda serial: IBM-DTLA-307020 - Model: IBM 75GXP 20.57GB
</notes>
</machine>
<machine name="kyle">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 800 Mhz</proc>
<mem>512 MB</mem>
<disk>IDE: 18 GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<role>mail backup</role>
<os>FreeBSD</os>
<ip>10.0.0.4</ip>
</config>
<notes>
Stan and Kyle were bought at the same time. No front panel.
hda serial: IBM-DTLA-307020 - Model: IBM 75GXP 20.57GB
</notes>
</machine>
<machine name="wendy">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 800 Mhz</proc>
<mem>512 MB</mem>
<disk>IDE: 18 GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>Debian</os>
<ip>10.0.0.5</ip>
</config>
<notes>
Bought with Bebe. Named as such because we have a 60% female user base and had no female servers.
</notes>
</machine>
<machine name="bebe">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 800 Mhz</proc>
<mem>512 MB</mem>
<disk>IDE: 18 GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>mail</role>
<role>userpic</role>
<os>Debian</os>
<ip>10.0.0.6</ip>
</config>
<notes>
Bought with Wendy. They're best friends.
hda serial: IBM-DTLA-307020 - Model: IBM 75GXP 20.57GB
</notes>
</machine>
<machine name="terrance">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 866 Mhz</proc>
<mem>512 MB</mem>
<disk>IDE: 18 GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>FreeBSD</os>
<ip>10.0.0.7</ip>
</config>
<notes>
Bought with Phillip.
hda serial: IC35L020AVER07-0 - Model: IBM 60GXP 20.57GB
</notes>
</machine>
<machine name="phillip">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 866 Mhz</proc>
<mem>512 MB</mem>
<disk>IDE: 18 GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>Debian</os>
<ip>10.0.0.8</ip>
</config>
<notes>
Bought with Terrance.
hda serial: IC35L020AVER07-0 - Model: IBM 60GXP 20.57GB
</notes>
</machine>
<machine name="mackey">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 1 Ghz</proc>
<mem>3.5 GB</mem>
<disk>SCSI: 3x18 GB (IBM: DDYS-T18350M)</disk>
<other>64 MB Mylex AcceleRAID 170 PCI RAID Controller</other>
<other count='2'>eepro100</other>
</physical>
<config>
<role>db</role>
<role>dns</role>
<os>Debian</os>
<raid config='5'>36 GB</raid>
<ip>10.0.0.9</ip>
<mysqlid>4</mysqlid>
</config>
<notes>
Mackey and Hat (Mr. Mackey and Mr. Hat) were our first 1U db slaves.
</notes>
</machine>
<machine name="hat">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 1 Ghz</proc>
<mem>3 GB</mem>
<disk>SCSI: 3x18 GB (IBM: DDYS-T18350M)</disk>
<other>64 MB Mylex AcceleRAID 170 PCI RAID Controller</other>
<other count='2'>eepro100</other>
</physical>
<config>
<role>db</role>
<os>Debian</os>
<raid config='5'>36 GB</raid>
<ip>10.0.0.10</ip>
<mysqlid>5</mysqlid>
</config>
<notes>
Mackey and Hat (Mr. Mackey and Mr. Hat) were our first 1U db slaves.
</notes>
</machine>
<machine name="ike">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 1Ghz</proc>
<mem>512 MB</mem>
<disk>IDE: 18GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>Debian</os>
<ip>10.0.0.11</ip>
</config>
<notes>
Bought with Pip.
hda serial: IC35L020AVER07-0 - Model: IBM 60GXP 20.57GB
</notes>
</machine>
<machine name="pip">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 1Ghz</proc>
<mem>512 MB</mem>
<disk>IDE: 18GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>userpic</role>
<os>Debian</os>
<ip>10.0.0.12</ip>
</config>
<notes>
Bought with Ike.
hda serial: IC35L020AVER07-0 - Model: IBM 60GXP 20.57GB
</notes>
</machine>
<machine name="timmy">
<physical>
<type>server</type>
<vendor>ESS</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 1 Ghz</proc>
<mem>2 GB</mem>
<disk>SCSI: 2x18 GB (IBM)</disk>
<other>64 MB Mylex AcceleRAID 170 PCI RAID Controller</other>
<other count='2'>eepro100</other>
</physical>
<config>
<role>db</role>
<os>Debian</os>
<raid config='0'>36G</raid>
<ip>10.0.0.13</ip>
<mysqlid>6</mysqlid>
</config>
<notes>
Timmy and Gobbles. They took more than a month to ship, and arrived
in a non-working state, with some broken hardware.
One drive died. Now only has 2, in a raid 0 config.
</notes>
</machine>
<machine name="marklar">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>2</size>
<proc>Dual P3 (Coppermine) 933 Mhz</proc>
<mem>3.5 GB</mem>
<disk>SCSI: 6x18 GB (IBM DDYS-T18350M)</disk>
<other>Mylex AcceleRAID 352, 64 MB (dac960)</other>
<other count='2'>eepro100</other>
</physical>
<config>
<role>misc</role>
<os>Debian</os>
<raid config='5'>85G</raid>
<ip>10.0.0.15</ip>
<mysqlid>3</mysqlid>
</config>
<notes>
Brad bought this to replace his old machine at Virtualis, and serves many
misc roles: slave database when needed (if another dies), file backup machine,
log processing, etc.
</notes>
</machine>
<machine name="gobbles">
<physical>
<type>server</type>
<vendor>ESS</vendor>
<size>1</size>
<proc>Dual P3 (Coppermine) 1 Ghz</proc>
<mem>3 GB</mem>
<disk>SCSI: 3x18 GB (IBM)</disk>
<other>64 MB Mylex AcceleRAID 170 PCI RAID Controller</other>
<other count='2'>eepro100</other>
</physical>
<config>
<role>db</role>
<os>Debian</os>
<raid config='0'>54G</raid>
<ip>10.0.0.16</ip>
<mysqlid>7</mysqlid>
</config>
<notes>
Timmy and Gobbles. They took more than a month to ship, and arrived
in a non-working state, with some broken hardware.
</notes>
</machine>
<machine name="mayor">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>P3 (Coppermine) 866 Mhz</proc>
<mem>256 MB</mem>
<disk>IDE: 18G</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>staging</role>
<role>dns</role>
<role>netsaint</role>
<role>statserv</role>
<os>Debian</os>
<ip>10.0.0.17</ip>
</config>
<notes>
We bought this machine as an 'el cheapo box to run all of the
monitorying/syncronizing software.
hda serial: IC35L020AVER07-0 - Model: IBM 60GXP 20.57GB
</notes>
</machine>
<machine name="gerald">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Tualatin) 1.26 Ghz</proc>
<mem>512 MB</mem>
<disk>IDE: 18G</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>Debian</os>
<ip>10.0.0.18</ip>
</config>
<notes>
Bought with sheila. First ones to go above 1 Ghz, and will
function as the new paid web slaves.
hda serial: IC35L020AVER07-0 - Model: IBM 60GXP 20.57GB
</notes>
</machine>
<machine name="sheila">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Tualatin) 1.26 Ghz</proc>
<mem>512 MB</mem>
<disk>IDE: 18G</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>Debian</os>
<ip>10.0.0.19</ip>
</config>
<notes>
Bought with gerald. First ones to go above 1 Ghz, and will
function as the new paid web slaves.
hda serial: IC35L020AVER07-0 - Model: IBM 60GXP 20.57GB
</notes>
</machine>
<machine name="jesus">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>4</size>
<proc>Dual P3 (Xeon) 700 Mhz (2 MB L2 cache)</proc>
<mem>12 GB</mem>
<disk>SCSI: 1x18 GB</disk>
<other>64 MB IBM ServeRAID-4Mx PCI RAID Controller</other>
<other>eepro100</other>
</physical>
<config>
<role>db</role>
<os>Debian</os>
<ip>10.0.0.20</ip>
<mysqlid>8</mysqlid>
</config>
<notes>
This monster is the new master DB. We bought it with room to grow,
still. An identical machine named "santa" will be purchased to run
as a hot spare and slave DB.
</notes>
</machine>
<machine name="kylesmom">
<physical>
<type>disk array</type>
<vendor>IBM</vendor>
<size>3</size>
<disk>SCSI: 8x36 GB 10k</disk>
</physical>
<config>
<raid config='10'>139G</raid>
</config>
<notes>
This is the IBM drive enclosure for Jesus.
</notes>
</machine>
<machine name="bigip">
<physical>
<type>load balancer</type>
<size>2</size>
</physical>
<config>
<ip>10.0.0.14</ip>
</config>
<notes>
Best frickin' load balancer ever made.
</notes>
</machine>
<machine name="cisco">
<physical>
<type>switch</type>
<vendor>lanblvd</vendor>
<size>1</size>
<other count='24'>10/100 mbps port</other>
</physical>
<config>
<ip>10.0.0.200</ip>
</config>
<notes>
External switch. (2924)
</notes>
</machine>
<machine name="cisco2">
<physical>
<type>switch</type>
<vendor>lanblvd</vendor>
<size>1</size>
<other count='48'>10/100 mbps port</other>
<other count='2'>GBIC port</other>
</physical>
<config>
<ip>10.0.0.201</ip>
</config>
<notes>
Internal switch. (2948G)
Linked with Multimode (SC-SC) fiber to cisco3.
</notes>
</machine>
<machine name="cisco3">
<physical>
<type>switch</type>
<vendor>lanblvd</vendor>
<size>1</size>
<other count='24'>10/100 mbps port</other>
<other count='2'>GBIC port</other>
</physical>
<config>
<ip>10.0.0.201</ip>
</config>
<notes>
Internal switch #2 (3500XL)
Linked with Multimode (SC-SC) fiber to cisco2.
</notes>
</machine>
<machine name="garrison">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Tualatin) 1.24 Ghz</proc>
<mem>4 GB</mem>
<disk>SCSI: 1x36 GB</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>db</role>
<os>Debian</os>
<ip>10.0.0.21</ip>
<mysqlid>10</mysqlid>
</config>
</machine>
<machine name="marvin">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Tualatin) 1.26 Ghz</proc>
<mem>768 MB</mem>
<disk>IDE: 36G</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>Debian</os>
<ip>10.0.0.22</ip>
</config>
<notes>
Bought with hankey.
hda serial: IC35L040AVER07 - Model: IBM 60GXP 41.17GB
</notes>
</machine>
<machine name="hankey">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>1</size>
<proc>Dual P3 (Tualatin) 1.26 Ghz</proc>
<mem>768 MB</mem>
<disk>IDE: 36G</disk>
<other count='2'>eepro100</other>
</physical>
<config>
<role>web</role>
<os>Debian</os>
<ip>10.0.0.23</ip>
</config>
<notes>
Bought with marvin.
hda serial: IC35L040AVER07 - Model: IBM 60GXP 41.17GB
</notes>
</machine>
<machine name="santa">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>2</size>
<proc>Dual P3 (Tualatin) 1.26 Ghz</proc>
<mem>4 GB</mem>
<disk>SCSI: 4x18 GB (IBM: DDYS-T18350M) 2x9 GB</disk>
<other>32 MB Mylex AcceleRAID 352 PCI RAID Controller</other>
<other count='2'>eepro100</other>
<other count='2'>redundant power supply</other>
</physical>
<config>
<role>cluster master</role>
<os>Debian</os>
<raid config='1'>9 GB</raid>
<raid config='5'>36 GB (1 hotspare)</raid>
<ip>10.0.0.24</ip>
<mysqlid>11</mysqlid>
</config>
<notes>
First wave of new cluster masters. Bought with Chef. The system
disks were bought separately.
</notes>
</machine>
<machine name="chef">
<physical>
<type>server</type>
<vendor>ASL</vendor>
<size>2</size>
<proc>Dual P3 (Tualatin) 1.26 Ghz</proc>
<mem>4 GB</mem>
<disk>SCSI: 4x18 GB (IBM: DDYS-T18350M) 2x9 GB</disk>
<other>32 MB Mylex AcceleRAID 352 PCI RAID Controller</other>
<other count='2'>eepro100</other>
<other count='2'>redundant power supply</other>
</physical>
<config>
<role>cluster master</role>
<os>Debian</os>
<raid config='1'>9 GB</raid>
<raid config='5'>36 GB (1 hotspare)</raid>
<ip>10.0.0.25</ip>
<mysqlid>12</mysqlid>
</config>
<notes>
First wave of new cluster masters. Bought with Santa. The system
disks were bought separately.
</notes>
</machine>
</hardwarelist>

View File

@@ -0,0 +1,4 @@
<uid> ppe:<uid>:<bid> == The phonepostentry row. See phonepost.pl.
<uid> ppelt:<uid>:<bid> == Where bid = blobid of phone post, returns hashref. See phonepost.pl.
<uid> ppetu:<uid>:<bid> == Number of unique transcribers to a post.
<uid> cctry:<payid> == Array of last 20 times when the user has attempted to pay