<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Grimsy&#039;s Blog &#187; sysadmin</title>
	<atom:link href="http://blog.grimsy.net/category/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.grimsy.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 20 May 2010 04:51:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Utilising old desktops around the office</title>
		<link>http://blog.grimsy.net/2009/05/26/utilising-old-desktops-around-the-office/</link>
		<comments>http://blog.grimsy.net/2009/05/26/utilising-old-desktops-around-the-office/#comments</comments>
		<pubDate>Tue, 26 May 2009 05:27:00 +0000</pubDate>
		<dc:creator>Geoff Jacobs</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://grimsy.net/?p=26</guid>
		<description><![CDATA[So over the years, we have some old desktops in the office which aren&#8217;t really good enough to use for development any more. I&#8217;ve started breathing new life into them by using them to backup our Subversion repositories by using svnsync.By setting up cron jobs to sync every x minutes or even hours you can [...]]]></description>
			<content:encoded><![CDATA[<p>So over the years, we have some old desktops in the office which aren&#8217;t really good enough to use for development any more. I&#8217;ve started breathing new life into them by using them to backup our Subversion repositories by using <a href="http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt">svnsync</a>.<br />By setting up cron jobs to sync every x minutes or even hours you can have a huge amount of redundancy for next to no cost.<br />The read only mirrors are also handy for other applications that create load on your repositories (build servers etc) so I use a near real-time mirror to run trac and our Bamboo server from.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.grimsy.net/2009/05/26/utilising-old-desktops-around-the-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql schema&#8230;. finally</title>
		<link>http://blog.grimsy.net/2009/04/17/mysql-schema-finally/</link>
		<comments>http://blog.grimsy.net/2009/04/17/mysql-schema-finally/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 05:20:00 +0000</pubDate>
		<dc:creator>Geoff Jacobs</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[SPA942]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://grimsy.net/?p=24</guid>
		<description><![CDATA[I know this has taken waaay to long to post. But here it is if anyone still wants it. # CREATE DATABASE voip; # USE voip; # # TABLE structure FOR TABLE 'allocation' # # DROP TABLE IF EXISTS allocation; CREATE TABLE `allocation` &#40; `allocation_id` int&#40;11&#41; NOT NULL AUTO_INCREMENT, `asset_id` int&#40;11&#41; NOT NULL DEFAULT '0', [...]]]></description>
			<content:encoded><![CDATA[<p>I know this has taken waaay to long to post. But here it is if anyone still wants it.</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># <span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">DATABASE</span> voip;<br />
# <span style="color: #993333; font-weight: bold;">USE</span> voip;<br />
<br />
#<br />
# <span style="color: #993333; font-weight: bold;">TABLE</span> structure <span style="color: #993333; font-weight: bold;">FOR</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">'allocation'</span><br />
#<br />
<br />
# <span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">IF</span> <span style="color: #993333; font-weight: bold;">EXISTS</span> allocation;<br />
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`allocation`</span> <span style="color: #66cc66;">&#40;</span><br />
<span style="color: #ff0000;">`allocation_id`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`asset_id`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">'0'</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`site_id`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">'0'</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`extension`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">'0'</span><span style="color: #66cc66;">,</span><br />
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`allocation_id`</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#41;</span> ENGINE<span style="color: #66cc66;">=</span>MyISAM <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">58</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET<span style="color: #66cc66;">=</span>latin1 COLLATE<span style="color: #66cc66;">=</span>latin1_general_ci;<br />
<br />
#<br />
# <span style="color: #993333; font-weight: bold;">TABLE</span> structure <span style="color: #993333; font-weight: bold;">FOR</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">'asset'</span><br />
#<br />
<br />
# <span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">IF</span> <span style="color: #993333; font-weight: bold;">EXISTS</span> asset;<br />
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`asset`</span> <span style="color: #66cc66;">&#40;</span><br />
<span style="color: #ff0000;">`asset_id`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`manufacturer`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`model`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`serial`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`mac`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">12</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">'000000000000'</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`phone_ip`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`purchase_price`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`purchase_date`</span> date <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">'0000-00-00'</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`purchase_from`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`invoice_number`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`asset_id`</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#41;</span> ENGINE<span style="color: #66cc66;">=</span>MyISAM <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">46</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET<span style="color: #66cc66;">=</span>latin1 COLLATE<span style="color: #66cc66;">=</span>latin1_general_ci;<br />
<br />
#<br />
# <span style="color: #993333; font-weight: bold;">TABLE</span> structure <span style="color: #993333; font-weight: bold;">FOR</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">'phoneline'</span><br />
#<br />
<br />
# <span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">IF</span> <span style="color: #993333; font-weight: bold;">EXISTS</span> phoneline;<br />
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`phoneline`</span> <span style="color: #66cc66;">&#40;</span><br />
<span style="color: #ff0000;">`line_id`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`phone_number`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`line_id`</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#41;</span> ENGINE<span style="color: #66cc66;">=</span>MyISAM <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">3</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET<span style="color: #66cc66;">=</span>latin1 COLLATE<span style="color: #66cc66;">=</span>latin1_general_ci;<br />
<br />
#<br />
# <span style="color: #993333; font-weight: bold;">TABLE</span> structure <span style="color: #993333; font-weight: bold;">FOR</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">'server'</span><br />
#<br />
<br />
# <span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">IF</span> <span style="color: #993333; font-weight: bold;">EXISTS</span> server;<br />
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`server`</span> <span style="color: #66cc66;">&#40;</span><br />
<span style="color: #ff0000;">`server_id`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`site_id`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`server_ip`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`server_hostname`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`server_id`</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#41;</span> ENGINE<span style="color: #66cc66;">=</span>MyISAM <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">4</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET<span style="color: #66cc66;">=</span>latin1 COLLATE<span style="color: #66cc66;">=</span>latin1_general_ci;<br />
<br />
#<br />
# <span style="color: #993333; font-weight: bold;">TABLE</span> structure <span style="color: #993333; font-weight: bold;">FOR</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">'site'</span><br />
#<br />
<br />
# <span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">IF</span> <span style="color: #993333; font-weight: bold;">EXISTS</span> site;<br />
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`site`</span> <span style="color: #66cc66;">&#40;</span><br />
<span style="color: #ff0000;">`site_id`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`site_name`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`street_number`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">'0'</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`street_name`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`city`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`state`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`country`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`site_id`</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#41;</span> ENGINE<span style="color: #66cc66;">=</span>MyISAM <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">4</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET<span style="color: #66cc66;">=</span>latin1 COLLATE<span style="color: #66cc66;">=</span>latin1_general_ci;<br />
<br />
#<br />
# <span style="color: #993333; font-weight: bold;">TABLE</span> structure <span style="color: #993333; font-weight: bold;">FOR</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">'user'</span><br />
#<br />
<br />
# <span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">IF</span> <span style="color: #993333; font-weight: bold;">EXISTS</span> user;<br />
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`user`</span> <span style="color: #66cc66;">&#40;</span><br />
<span style="color: #ff0000;">`user_id`</span> int<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span><br />
<span style="color: #ff0000;">`samaccountname`</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> collate latin1_general_ci <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span><br />
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`user_id`</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#41;</span> ENGINE<span style="color: #66cc66;">=</span>MyISAM <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">2</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET<span style="color: #66cc66;">=</span>latin1 COLLATE<span style="color: #66cc66;">=</span>latin1_general_ci;</div></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.grimsy.net/2009/04/17/mysql-schema-finally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Glintech integrates Asterisk, Jabber for open source UC platform</title>
		<link>http://blog.grimsy.net/2008/10/03/glintech-integrates-asterisk-jabber-for-open-source-uc-platform/</link>
		<comments>http://blog.grimsy.net/2008/10/03/glintech-integrates-asterisk-jabber-for-open-source-uc-platform/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 02:35:00 +0000</pubDate>
		<dc:creator>Geoff Jacobs</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[GLiNTECH]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://grimsy.net/?p=23</guid>
		<description><![CDATA[A week or so ago, my boss came to me asking if I could write something on what&#8217;d I&#8217;d done internally with XMPP and Asterisk for someone he knew at Computerworld. I was only too happy to have someone listen to my ramblings, so I wrote up some replies to some of the questions his [...]]]></description>
			<content:encoded><![CDATA[<p>A week or so ago, my boss came to me asking if I could write something on what&#8217;d I&#8217;d done internally with XMPP and Asterisk for someone he knew at <a href="http://www.computerworld.com/">Computerworld</a>. I was only too happy to have someone listen to my ramblings, so I wrote up some replies to some of the questions his friend had asked.<br />Last night my boss sent me a link to the article. Unfortunately, the article makes it look like he was the one who replied to the questions instead of me, but it&#8217;s nice to get some of my work out there anyway.<br />Here&#8217;s the full article: <a href="http://www.techworld.com.au/article/262458/glintech_integrates_asterisk_jabber_open_source_uc_platform?pp=1">Glintech integrates Asterisk, Jabber for open source UC platform</a>.<br />For those who actually understand what the article is about, you&#8217;ll probably realise that what I did here wasn&#8217;t anything particularly difficult or out of the ordinary. But hopefully for those who don&#8217;t, it might open a few eyes to some of the things that can be done with open source software.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.grimsy.net/2008/10/03/glintech-integrates-asterisk-jabber-for-open-source-uc-platform/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Erratic Sendmail problems&#8230;</title>
		<link>http://blog.grimsy.net/2008/05/07/erratic-sendmail-problems/</link>
		<comments>http://blog.grimsy.net/2008/05/07/erratic-sendmail-problems/#comments</comments>
		<pubDate>Wed, 07 May 2008 01:33:00 +0000</pubDate>
		<dc:creator>Geoff Jacobs</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://grimsy.net/?p=21</guid>
		<description><![CDATA[I&#8217;ve recently installed Drupal 6, and was having problems sending out emails (specifically for new users and password resets). The problem was that sometimes the mail was coming through, and other times it wasn&#8217;t (it didn&#8217;t even appear in our mail server logs). After lots of scouting around, I noticed that in /var/log/maillog (on FC6), [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently installed Drupal 6, and was having problems sending out emails (specifically for new users and password resets).<br />
The problem was that sometimes the mail was coming through, and other times it wasn&#8217;t (it didn&#8217;t even appear in our mail server logs).<br />
After lots of scouting around, I noticed that in /var/log/maillog (on FC6), the relay kept on changing.<br />
On our network, we have 3 domain controllers, one of which is a mail server. Send mail was using it&#8217;s &#8220;Smart&#8221; relay to figure out where to relay the mail through, but unfortunately it kept finding whichever domain controller replied first, rather than just the mail server. This meant that sometimes, when it got the mail server, the email would come through, and other times it wouldn&#8217;t.<br />
To fix the problem, I had to edit the &#8220;Smart&#8221; relay host in:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mail<span style="color: #000000; font-weight: bold;">/</span>sendmail.cf</div></div>
<p>I searched for &#8220;DS&#8221; and came across a section such as:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># &quot;Smart&quot; relay host (may be null)</span><br />
DS</div></div>
<p>I changed this to read</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># &quot;Smart&quot; relay host (may be null)</span><br />
DSmail.domain.com</div></div>
<p>where mail.domain.com is the name of the mail server.<br />
Then I restarted the sendmail service using:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">service <span style="color: #c20cb9; font-weight: bold;">sendmail</span> restart</div></div>
<p>and everything started working!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.grimsy.net/2008/05/07/erratic-sendmail-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk Bootcamp</title>
		<link>http://blog.grimsy.net/2007/10/30/asterisk-bootcamp/</link>
		<comments>http://blog.grimsy.net/2007/10/30/asterisk-bootcamp/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 05:55:00 +0000</pubDate>
		<dc:creator>Geoff Jacobs</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[GLiNTECH]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://grimsy.net/?p=18</guid>
		<description><![CDATA[Just a quick post to mention that I&#8217;m heading to Melbourne next month for the Asterisk Bootcamp (care of work). Should be a good opportunity to learn a lot of info about Asterisk and VoIP in general.]]></description>
			<content:encoded><![CDATA[<p>Just a quick post to mention that I&#8217;m heading to Melbourne next month for the <a href="http://www.digium.com/en/training/courses/">Asterisk Bootcamp</a> (care of work). Should be a good opportunity to learn a lot of info about Asterisk and VoIP in general.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.grimsy.net/2007/10/30/asterisk-bootcamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
