<?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>Development Cycle &#187; Sysadmin</title>
	<atom:link href="http://www.development-cycle.com/category/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.development-cycle.com</link>
	<description>Binary Bits &#38; Pieces</description>
	<lastBuildDate>Sat, 08 May 2010 08:07:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Disabling CPU Scaling With Ubuntu 10.04</title>
		<link>http://www.development-cycle.com/2010/05/disabling-cpu-scaling-with-ubuntu-10-04/</link>
		<comments>http://www.development-cycle.com/2010/05/disabling-cpu-scaling-with-ubuntu-10-04/#comments</comments>
		<pubDate>Thu, 06 May 2010 06:19:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.development-cycle.com/?p=268</guid>
		<description><![CDATA[If your like me it annoys you that your desktop keeps messing with your CPU speeds when all you wan&#8217;t is performance. Fortunately its easy enough to fix.
Open a terminal windows and execute:
sudo apt-get update
sudo apt-get install rcconf
(Chances are you may already have the rcconf installed.)
sudo rcconf
Scroll down the list of services till you find [...]]]></description>
			<content:encoded><![CDATA[<p>If your like me it annoys you that your desktop keeps messing with your CPU speeds when all you wan&#8217;t is performance. Fortunately its easy enough to fix.</p>
<p>Open a terminal windows and execute:</p>
<p><em>sudo apt-get update</p>
<p>sudo apt-get install rcconf</em></p>
<p>(Chances are you may already have the rcconf installed.)</p>
<p><em>sudo rcconf</em></p>
<p>Scroll down the list of services till you find the service labelled &#8220;Ondemand&#8221;, this is the service that controls the CPU scaling. Unselect the option and hit Ok to exit, now when you reboot your system should run at full speed all the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.development-cycle.com/2010/05/disabling-cpu-scaling-with-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Lucid Lynx A Quick Look</title>
		<link>http://www.development-cycle.com/2010/04/ubuntu-lucid-lynx-a-quick-look/</link>
		<comments>http://www.development-cycle.com/2010/04/ubuntu-lucid-lynx-a-quick-look/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 08:43:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.development-cycle.com/?p=238</guid>
		<description><![CDATA[The newest Long Term Support (LTS) version of the Ubuntu distro labelled Lucid Lynx was released earlier today. This release is packed with new packages and enhancements, making me keen to try it out. Not being brave enough to gamble with my current desktop machine running Karmic Koala I decided to download the .iso and [...]]]></description>
			<content:encoded><![CDATA[<p>The newest <a rel="nofollow" href="https://wiki.ubuntu.com/LTS" target="_blank">Long Term Support (LTS)</a> version of the Ubuntu distro labelled Lucid Lynx was released earlier today. This release is packed with new packages and enhancements, making me keen to try it out. Not being brave enough to gamble with my current desktop machine running Karmic Koala I decided to download the .iso and play with it in a virtual machine first to give me a feel of what to expect.</p>
<p><span id="more-238"></span></p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/1-e1272606802434.png"><img class="aligncenter size-full wp-image-239" title="Virtual Box Setup" src="http://www.development-cycle.com/wp-content/uploads/2010/04/1-e1272606802434.png" alt="" width="500" height="371" /></a><strong>VM Setup In Virtual Box</strong></p>
<p>To have a bit of a play first up I set up a virtual machine using <a title="Sun Virtual Box" href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> with 2099MB Ram and a 25GB hard drive.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/2.png"><img class="aligncenter size-full wp-image-240" title="Lucid Lynx Language Selection" src="http://www.development-cycle.com/wp-content/uploads/2010/04/2.png" alt="" width="500" height="375" /></a>Lucid Lynx has apparently made alot of positive changes to the installation process, unfortunately though by force of habit I had down loaded the &#8220;alternate&#8221; install image.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/10.png"><img class="aligncenter size-full wp-image-243" title="Installing the base system" src="http://www.development-cycle.com/wp-content/uploads/2010/04/10.png" alt="" width="500" height="145" /></a>Installing the system&#8230;.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/16.png"><img class="aligncenter size-full wp-image-244" title="Installation Complete" src="http://www.development-cycle.com/wp-content/uploads/2010/04/16.png" alt="" width="500" height="218" /></a></p>
<p>Having used the alternate install disc the install process was pretty uneventful and took a little over 40 minutes to complete. Although this would of probably been a bit quicker had I been installing the operating system on a physical machine rather than a virtual one.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/17.png"><img class="aligncenter size-full wp-image-245" title="Ubuntu first boot" src="http://www.development-cycle.com/wp-content/uploads/2010/04/17.png" alt="" width="500" height="372" /></a>The new release has a new look boot screen, pretty plain and I am not a fan of the purple background but that is not where the major improvements lay. A lot of changes have been made to Lucid Lynx in order to speed things up. Timing the boot process from bios to login screen on my VM gave 19.48 seconds, I also had a a virtual machine running Karmic Koala to time which gave 40.03 second, which is an improvement of over 51%!</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/18.png"><img class="aligncenter size-full wp-image-246" title="Lucid Login" src="http://www.development-cycle.com/wp-content/uploads/2010/04/18.png" alt="" width="500" height="343" /></a>After booting we are brought to the login screen, its only marginally different to the Karmic Koala login. Personally I think it doesn&#8217;t look as sharp in this release due to the theme having less contrast.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/19.png"><img class="aligncenter size-full wp-image-247" title="Lucid Desktop" src="http://www.development-cycle.com/wp-content/uploads/2010/04/19.png" alt="" width="500" height="376" /></a>After logging in we are greeted by the new look theme named &#8220;Ambience&#8221;, the old brown colour scheme is gone and replaced by purple. Ubuntu 10.04 also comes with another new theme named &#8220;Radiance&#8221; which is basically just a light coloured version of the Ambience theme.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/20.png"><img class="aligncenter size-full wp-image-248" title="System Menu" src="http://www.development-cycle.com/wp-content/uploads/2010/04/20.png" alt="" width="500" height="378" /></a>The administration menu is almost identical to 9.10 the only thing striking me as being slightly different is rename &#8220;USB Startup Creator&#8221; to just plain old &#8220;Startup Disk Creator&#8221;.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/21.png"><img class="aligncenter size-full wp-image-249" title="Preferences Menu" src="http://www.development-cycle.com/wp-content/uploads/2010/04/21.png" alt="" width="500" height="375" /></a>The preference menu like the administration menu is almost unchanged, except for new entries labelled &#8220;Messaging &amp; VoIP Apllications&#8221;, &#8220;Ubuntu One&#8221; and &#8220;Broadcast Preferences&#8221;.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/22.png"><img class="aligncenter size-full wp-image-250" title="Gnome Places" src="http://www.development-cycle.com/wp-content/uploads/2010/04/22.png" alt="" width="500" height="373" /></a>The places menu is unchanged.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/23.png"><img class="aligncenter size-full wp-image-251" title="Purple Terminal" src="http://www.development-cycle.com/wp-content/uploads/2010/04/23.png" alt="" width="500" height="375" /></a>Installing the additions for Virtual Box, as you can see in the image the minimize / maximize / close button up the top of application windows have moved from the right side to the left.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/24.png"><img class="aligncenter size-full wp-image-252" title="Software Manager" src="http://www.development-cycle.com/wp-content/uploads/2010/04/24-e1272614021397.png" alt="" width="500" height="376" /></a>The software manager has under gone a very welcome make over, with software categories being further categorised  into sub categories. This makes life a lot easier when your looking for a particular application in one of the more populated categories. A new root category has also been added called fonts that covers all your typeface needs.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/25.png"><img class="aligncenter size-full wp-image-253" title="Rythm Box no MP3 support" src="http://www.development-cycle.com/wp-content/uploads/2010/04/25.png" alt="" width="500" height="372" /></a>Like all the Ubuntu releases before it proprietary codecs etc are not installed with the base install due to licensing, copyright and patent issues that go against the <a rel="nofollow" href="http://www.ubuntu.com/community/ubuntustory/philosophy" target="_blank">Ubuntu Free Software Philosophy</a>.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/26.png"><img class="aligncenter size-full wp-image-254" title="Ubuntu One" src="http://www.development-cycle.com/wp-content/uploads/2010/04/26.png" alt="" width="500" height="374" /></a>Rythm Box now contains a tab for the Ubuntu One Music Store, this is a new addition. The range at the moment is somewhat limited at present when compared to something like iTunes, and the appearance rather bland but nevertheless  a great feature which will only get better as it matures.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/27.png"><img class="aligncenter size-full wp-image-256" title="Ubuntu Lucid iPod" src="http://www.development-cycle.com/wp-content/uploads/2010/04/27.png" alt="" width="500" height="375" /></a>A lot of work has also been done on improving Ubuntu&#8217;s handling of the iPhone and iPod touch, music can even be played in Rhythm Box from the device. Unfortunately though you cannot write music to the device so we are still stuck using that abomination iTunes to sync content for the time being.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/28.png"><img class="aligncenter size-full wp-image-257" title="Social Network Broadcast" src="http://www.development-cycle.com/wp-content/uploads/2010/04/28.png" alt="" width="500" height="373" /></a>The new version of Gnome integrates social network into the desktop itself, just configure your account details and you can be tweeting or updating your facebook status directly from the desktop.</p>
<p><a href="http://www.development-cycle.com/wp-content/uploads/2010/04/30.png"><img class="aligncenter size-full wp-image-258" title="Ubuntu One Cloud Storage" src="http://www.development-cycle.com/wp-content/uploads/2010/04/30.png" alt="" width="300" height="378" /></a>Lucid Lynx also brings inbuilt integration with the Ubuntu One cloud storage. Like the very popular <a rel="nofollow" href="https://www.dropbox.com/referrals/NTU5OTQ5NzM5" target="_blank">Dropbox service</a> this allows users 2Gb of storage space for free in the cloud  to store and share files etc.</p>
<p>Overall I was very impressed with the latest Ubuntu release very polished and some great new features, over the next few days after backing up my data I will definitely be upgrading my Desktop.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.development-cycle.com/2010/04/ubuntu-lucid-lynx-a-quick-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up PowerDNS With A MySQL Backend On Ubuntu 9.10</title>
		<link>http://www.development-cycle.com/2009/12/setting-up-powerdns-with-a-mysql-backend-on-ubuntu-9-10/</link>
		<comments>http://www.development-cycle.com/2009/12/setting-up-powerdns-with-a-mysql-backend-on-ubuntu-9-10/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 02:21:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PowerDNS]]></category>
		<category><![CDATA[Replication]]></category>

		<guid isPermaLink="false">http://www.development-cycle.com/?p=201</guid>
		<description><![CDATA[Bind9 has treated us well over the years, but its lack of support for database back ends in a default install is very annoying, especially when an application needs to control DNS  services dynamically. PowerDNS is a powerful alternative it supports a wide variety of back ends and can also be configured to serve [...]]]></description>
			<content:encoded><![CDATA[<p>Bind9 has treated us well over the years, but its lack of support for database back ends in a default install is very annoying, especially when an application needs to control DNS  services dynamically. PowerDNS is a powerful alternative it supports a wide variety of back ends and can also be configured to serve different records dependant on the clients Geographical location making it a valuable asset in these coming days of private clouds gaining traction.</p>
<p>This article will walk you through the process of setting up a PowerDNS server with a replicated MySQL back end on two Ubuntu 9.10 systems.</p>
<h2>Step 1 &#8211; Configuring the Master Nameserver</h2>
<p>This nameserver is going to be your primary server, any changes that need to be made to the DNS records are made on this server and they will be replicated on the the slave. To get started log into your primary name server via SSH and execute:</p>
<p><i><br />
apt-get update<br />
apt-get install apt-get install pdns-server pdns-backend-mysql mysql-server<br />
</i></p>
<p>When prompted by the installer create a password for the MySQL root user and then configure the MySQL service itself:</p>
<p><i>pico /etc/mysql/my.cnf</i></p>
<p>Go down to line 53, it should look like the line below comment it out.</p>
<p><i>bind-address  = 127.0.0.1 </i> <strong><- becomes -></strong> <i># bind-address  = 127.0.0.1 </i></p>
<p>This is needed so the slave server can talk to the master and be aware of any changes made to its records. Save the file, then restart the MySQL service to make your changes active.</p>
<p><i>/etc/init.d/mysql restart</i></p>
<p>Okay now its time to sort out the database side of things by creating a MySQL user for PowerDNS to use and the database for the storage of its DNS records:</p>
<p><i>mysql -u root -p</i></p>
<p>Whilst in the MySQL client execute the following commands:</p>
<p><i>CREATE DATABASE dns_server;</i></p>
<p><i>GRANT ALL ON dns_server.* TO &#8216;pdns&#8217;@'localhost&#8217; IDENTIFIED BY &#8216;pdns_pass&#8217;;</i></p>
<p><strong>NOTE:</strong> Be sure to change the password for the pdns user to something a tad stronger.</p>
<p><i>GRANT ALL ON dns_server.* TO &#8216;pdns&#8217;@'localhost.localdomain&#8217; IDENTIFIED BY &#8216;pdns_pass&#8217;;</i></p>
<p><i>FLUSH PRIVILEGES;</i></p>
<p><i>USE dns_server;</i></p>
<p><i>CREATE TABLE domains (<br />
id INT auto_increment,<br />
name VARCHAR(255) NOT NULL,<br />
master VARCHAR(128) DEFAULT NULL,<br />
last_check INT DEFAULT NULL,<br />
type VARCHAR(6) NOT NULL,<br />
notified_serial INT DEFAULT NULL,<br />
account VARCHAR(40) DEFAULT NULL,<br />
primary key (id)<br />
);</i></p>
<p><i>CREATE UNIQUE INDEX name_index ON domains(name);</i></p>
<p><i>CREATE TABLE records (<br />
id INT auto_increment,<br />
domain_id INT DEFAULT NULL,<br />
name VARCHAR(255) DEFAULT NULL,<br />
type VARCHAR(6) DEFAULT NULL,<br />
content VARCHAR(255) DEFAULT NULL,<br />
ttl INT DEFAULT NULL,<br />
prio INT DEFAULT NULL,<br />
change_date INT DEFAULT NULL,<br />
primary key(id)<br />
);</i></p>
<p><i>CREATE INDEX rec_name_index ON records(name);</i><br />
<i>CREATE INDEX nametype_index ON records(name,type);</i><br />
<i>CREATE INDEX domain_id ON records(domain_id);</i><br />
<i><br />
CREATE TABLE supermasters (<br />
ip VARCHAR(25) NOT NULL,<br />
nameserver VARCHAR(255) NOT NULL,<br />
account VARCHAR(40) DEFAULT NULL<br />
);</i></p>
<p>Then exit the MySQL client with the command:</p>
<p><i>exit;</i></p>
<p>Alternatively if you don&#8217;t feel that comfortable using the command line MySQL client you could install phpmyadmin and use that to create the database and user within web based environment.</p>
<p>Now that the database has been setup we need to configure PowerDNS to use our newly created MySQL database and user for any lookups it needs to make.</p>
<p><i>pico /etc/powerdns/pdns.conf</i></p>
<p>Go down to line 82 or thereabouts and find the line:</p>
<p><i># launch=</i></p>
<p>Uncomment this line and modify so that it reads:</p>
<p><i>launch=gmysql </i></p>
<p>Edit the file /etc/powerdns/pdns.d/pdns.local</p>
<p>:</p>
<p><i>pico ﻿ /etc/powerdns/pdns.d/pdns.local</i></p>
<p>Add the following lines so that PowerDNS can connect with the MySQL service. </p>
<p><i>gmysql-host=127.0.0.1</i><br />
<i>gmysql-user=pdns</i><br />
<i>gmysql-password=pdns_pass</i><br />
<i>gmysql-dbname=dns_server</i></p>
<p>Save the file and its show time, just restart the PowerDNS service for your changes to take effect and the DNS side of your server should be good to go!</p>
<p><i>/etc/init.d/pdns restart</i></p>
<h2>Step 2 &#8211; Setting up PowerAdmin</h2>
<p>Okay its working but not very useful at the present, as it has no DNS records to serve. So lets install PowerAdmin so we can manage our DNS records using a web based interface. I am assuming the server you are working on already has Apache2, PHP and its modules installed already. If this is not the case you will need to install these before continuing as they are required for the operation PowerAdmin.</p>
<p>PowerAdmin also requires the mdb2 module to work properly, which i doubt many people will have installed already. So:</p>
<p><i>apt-get install php-mdb2-driver-mysql </i></p>
<p>Or on some older versions of Ubuntu it wont be in the repository so make sure you have PEAR installed and</p>
<p><i>apt-get install php-pear</i><br />
<i>pear install MDB2-2.5.0b2</i><br />
<i>pear install MDB2_Driver_mysql-1.5.0b2</i></p>
<p>Then continue the poweradmin install with:</p>
<p><i>cd /tmp</i><br />
<i>wget https://www.poweradmin.org/download/poweradmin-2.1.3.tgz</i><br />
<i>tar zxvf poweradmin-2.1.3.tgz</i><br />
<i>mv poweradmin-2.1.3 /var/www/poweradmin</i><br />
<i>cd /var/www/poweradmin</i></p>
<p>Now the code base is in place open your browser and point it at the Poweradmin location to continue the install process e.g <i>http://ns1.mydomain.com/poweradmin/install</i></p>
<p>Follow the install instructions and when you reach step 6 of the install process copy the PHP code displayed on screen, go back to your terminal window create the file:</p>
<p><i>pico /var/www/poweradmin/inc/config.inc.php</i></p>
<p>Then paste the code from the browser window into the new file and save.</p>
<p><strong>NOTE:</strong> The browser gives you the code with white space between some of the lines make sure these have been removed before saving the file. Otherwise after logging in you will be greeted by a &#8220;<strong>Warning: Cannot modify header information</strong>&#8221; PHP error.</p>
<p>Step 7 is the last step of the install process and simply asks you to delete the install directory. If you fail to complete this step,  the program will not let you login!</p>
<p><i>rm -rf /var/www/poweradmin/install</i></p>
<p>The operation of PowerAdmin is pretty straight forward although if you have only used Bind in the past you may find some of the terms a little confusing. A quick look at the <a href="http://www.powerdns.com/en/documentation.aspx" target="_blank" rel="nofollow">PowerDNS documentation</a> should point you in the right direction though.</p>
<h2>Step 3 &#8211; Replicating Changes on the Slave Server</h2>
<p>Log in to the server you will be using as your MySQL slave. Update the repositories and then install the MySQL server application:</p>
<p><em>apt-get update</em><br />
<em>apt-get install mysql-server</em></p>
<p>On your master server edit the <em>/etc/mysql/my.cnf</em> file go down to around line 92. Uncomment and modify the lines that regard replication so they resemble:</p>
<p><em>server-id               = 1</em><br />
<em>log_bin                 = /var/log/mysql/mysql-bin.log</em><br />
<em>expire_logs_days        = 10</em><br />
<em>max_binlog_size         = 100M</em><br />
<em>binlog_do_db            = dns_server</em></p>
<p>Save your changes to the file and then open up the MySQL client to create a new user for the replication process:</p>
<p><em>﻿CREATE USER &#8216;replication_user&#8217;@'192.168.0.2&#8242; IDENTIFIED BY &#8216;mypassword&#8217;;</em></p>
<p><em> GRANT REPLICATION SLAVE ON * . * TO &#8216;replication_user&#8217;@'192.168.0.2&#8242; IDENTIFIED BY &#8216;mypassword&#8217;;</em></p>
<p><strong>NOTE:</strong> replace the IP address &#8216;<em>192&#8242;.168.0.2</em>&#8216; with the IP of your slave server, and change the password to something a bit stronger than &#8216;<em>mypassword</em>&#8216;</p>
<p>Now edit the <em>/etc/mysql/my.cnf</em> file of your slave server and append the following lines after the [mysqld] declaration so that the slave can connect to its master:</p>
<p><em>﻿server-id=2</em><br />
<em>master-host = 192.168.0.1</em><br />
<em>master-user = replication_user</em><br />
<em>master-password = mypassword</em><br />
<em>master-port = 3306</em></p>
<p>Be sure to change the ip address of the master server and the users password to match your setup. Save the file and restart the MySQL service on both the Master and Slave nodes so that your changes will take effect.</p>
<p>On the slave now use the <em>mysql</em> command line tool and execute the following commands:
<p><em>start slave;</em><br />
<em>show slave status\G;</em></p>
<p>You you should see something like:</p>
<p><em><br />
*************************** 1. row ***************************<br />
             Slave_IO_State: Waiting for master to send event<br />
                Master_Host: 192.168.0.1<br />
                Master_User: replication_user<br />
                Master_Port: 3306<br />
              Connect_Retry: 60<br />
            Master_Log_File: mysqld-bin.000001<br />
        Read_Master_Log_Pos: 98<br />
             Relay_Log_File: mysqld-relay-bin.000002<br />
              Relay_Log_Pos: 236<br />
      Relay_Master_Log_File: mysqld-bin.000001<br />
           Slave_IO_Running: Yes<br />
          Slave_SQL_Running: Yes<br />
            Replicate_Do_DB:<br />
        Replicate_Ignore_DB:<br />
         Replicate_Do_Table:<br />
     Replicate_Ignore_Table:<br />
    Replicate_Wild_Do_Table:<br />
Replicate_Wild_Ignore_Table:<br />
                 Last_Errno: 0<br />
                 Last_Error:<br />
               Skip_Counter: 0<br />
        Exec_Master_Log_Pos: 98<br />
            Relay_Log_Space: 236<br />
            Until_Condition: None<br />
             Until_Log_File:<br />
              Until_Log_Pos: 0<br />
         Master_SSL_Allowed: No<br />
         Master_SSL_CA_File:<br />
         Master_SSL_CA_Path:<br />
            Master_SSL_Cert:<br />
          Master_SSL_Cipher:<br />
             Master_SSL_Key:<br />
      Seconds_Behind_Master: 0<br />
1 row in set (0.00 sec)</em></p>
<p>Now test it by creating a record on the master and with any luck you will also be able to see it on the slave. That said i stuffed around a bit when setting mine up and the slave service wouldn&#8217;t start as it was looking for the wrong bin file on the master. I was able to <a rel="nofollow" target="_blank" href="http://forums.mysql.com/read.php?26,94292,134637#msg-134637">follow these instructions</a> though to point the slave in the right direction to get it working again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.development-cycle.com/2009/12/setting-up-powerdns-with-a-mysql-backend-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
