<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Mysql on BAFM</title><link>https://christian.blog.pakiheim.de/tags/mysql/</link><description>Recent content in Mysql on BAFM</description><generator>Hugo -- 0.160.1</generator><language>en</language><lastBuildDate>Mon, 23 Feb 2009 21:35:38 +0000</lastBuildDate><atom:link href="https://christian.blog.pakiheim.de/tags/mysql/index.xml" rel="self" type="application/rss+xml"/><item><title>MySQL: Beware of sync_binlog on EXT3</title><link>https://christian.blog.pakiheim.de/posts/2009-02-23_mysql-beware-of-sync-binlog-on-ext3/</link><pubDate>Mon, 23 Feb 2009 21:35:38 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=1870</guid><description>&lt;p&gt;Well, I just glazed again over my my.cnf for our web-cluster because I just moved a database from one cluster to another and getting quite different performance from it. So, as I expected, there is a slight difference between both configuration files:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-2"&gt;&lt;a class="lnlinks" href="#hl-0-2"&gt;2&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-3"&gt;&lt;a class="lnlinks" href="#hl-0-3"&gt;3&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-4"&gt;&lt;a class="lnlinks" href="#hl-0-4"&gt;4&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-5"&gt;&lt;a class="lnlinks" href="#hl-0-5"&gt;5&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-gdscript3" data-lang="gdscript3"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="err"&gt;@@&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;55&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;58&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="err"&gt;@@&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;innodb_log_group_home_dir&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;db&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;innodb_log_file_size&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;512&lt;/span&gt;&lt;span class="n"&gt;M&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;innodb_thread_concurrency&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;sync_binlog&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;And apparently, &lt;a href="http://www.mysqlperformanceblog.com/2009/01/21/beware-ext3-and-sync-binlog-do-not-play-well-together/"&gt;according to the MySQL Performance Blog&lt;/a&gt; that&amp;rsquo;s really, really bad (as well, we&amp;rsquo;re currently running without write caching, as the battery module of the storage is dead).&lt;/p&gt;</description></item><item><title>MySQL: Replication and hostname wild cards</title><link>https://christian.blog.pakiheim.de/posts/2009-02-15_mysql-replication-and-hostname-wild-cards/</link><pubDate>Sun, 15 Feb 2009 19:06:13 +0000</pubDate><guid isPermaLink="false">https://christian.blog.pakiheim.de/posts/2009-02-15_mysql-replication-and-hostname-wild-cards/</guid><description>&lt;p&gt;Yeah, yeah .. I know, it&amp;rsquo;s weekend. But I usually can think much better when no one is rattling my cage. So I had another look at my replication problems.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Don&amp;rsquo;t you &lt;strong&gt;never &lt;em&gt;ever&lt;/em&gt;&lt;/strong&gt; change InnoDB settings when migrating between hardware,
because InnoDB is rather sensitive regarding those parameters.&lt;/li&gt;
&lt;li&gt;When you&amp;rsquo;re setting up the replication (don&amp;rsquo;t ask me why) and copying over the database to the second replication partner, be aware if you&amp;rsquo;re using wild cards you&amp;rsquo;re gonna get seriously bitten in the back.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now, let&amp;rsquo;s look at the constellation.&lt;/p&gt;</description></item><item><title>MySQL: Setting up an InnoDB raw device</title><link>https://christian.blog.pakiheim.de/posts/2009-02-11_mysql-setting-up-an-innodb-raw-device/</link><pubDate>Wed, 11 Feb 2009 13:34:45 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=1751</guid><description>&lt;p&gt;Well, since I had to brood about this (again I might add), I&amp;rsquo;m gonna write it down this time &amp;hellip;&lt;/p&gt;
&lt;p&gt;Setting up the InnoDB raw device isn&amp;rsquo;t that hard, just make sure the device has proper permissions (either add &lt;em&gt;mysql&lt;/em&gt; to the &lt;em&gt;disk&lt;/em&gt; group or create a udev rule).&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;KERNEL=&amp;#34;sdb2&amp;#34;, OWNER=&amp;#34;mysql&amp;#34;, GROUP=&amp;#34;mysql&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Now after that (and a reboot/udevcontrol reload_rules later), you should be able to initialize the InnoDB device. Yes, the &lt;a href="http://dev.mysql.com/doc/refman/5.0/en/innodb-raw-devices.html"&gt;InnoDB device needs initializing&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Defragmenting all fragmented MyISAM tables</title><link>https://christian.blog.pakiheim.de/posts/2008-10-16_defragmenting-all-fragmented-myisam-tables/</link><pubDate>Thu, 16 Oct 2008 20:18:22 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=973</guid><description>&lt;p&gt;I just had another look at what I wrote the week before last (you know, being home-sick/on vacation has it&amp;rsquo;s advantages) and additionally read up on &amp;quot; &lt;em&gt;&lt;a href="http://dev.mysql.com/doc/refman/5.0/en/optimize-table.html"&gt;OPTIMIZE TABLE&lt;/a&gt;&lt;/em&gt;&amp;quot; again. The comments in the manual mention &amp;quot; &lt;em&gt;&lt;a href="http://dev.mysql.com/doc/refman/5.0/en/show-table-status.html"&gt;SHOW TABLE STATUS&lt;/a&gt;&lt;/em&gt;&amp;quot;, which gives you a complete list, but it doesn&amp;rsquo;t allow you to filter certain kinds of things out (like I only wanted to see MyISAM tables in the list, I only wanted database and table).&lt;/p&gt;</description></item><item><title>Been a while</title><link>https://christian.blog.pakiheim.de/posts/2008-02-17_been-a-while/</link><pubDate>Sun, 17 Feb 2008 08:53:16 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=185</guid><description>&lt;p&gt;Well, it&amp;rsquo;s been quite a while since most of the people last heard a word from me. The last few months I&amp;rsquo;ve been extremely busy with work-related tasks (and as a side-effect of that, didn&amp;rsquo;t want to spend much time in front of the computer after 9 hours of work). I also started spending more and more time in the gym, like nearly two hours every Tuesday and Thursday.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I finally &lt;strong&gt;fixed&lt;/strong&gt; our replication issues, we do now have a &lt;strong&gt;working&lt;/strong&gt;! MySQL Multi-Master ( &lt;a href="https://christian.blog.pakiheim.de/uploads/2008/02/mycnf-node11.txt"&gt;1. Node&lt;/a&gt;, &lt;a href="https://christian.blog.pakiheim.de/uploads/2008/02/mycnf-node21.txt"&gt;2. Node&lt;/a&gt; -- bear in mind, this boxes are &lt;em&gt;&lt;strong&gt;only&lt;/strong&gt;&lt;/em&gt; serving MySQL and nothing else, so don&amp;rsquo;t use these configurations on mixed setups) Replication Setup as database back end for our TYPO3-vHosts.&lt;/li&gt;
&lt;li&gt;all the web nodes are now serving the content from a clustered, shared SAN volume (is that a good thing ? &amp;#x1f61b; - don&amp;rsquo;t know yet &amp;hellip;)&lt;/li&gt;
&lt;li&gt;our VI environment is getting more and more acceptance (even if you hear some complaints now and then, like &lt;em&gt;&amp;ldquo;awww, damn that crap my 4GiB RAM, 2x3.0GHz Windows 2008 is running soooo choppy&amp;rdquo;&lt;/em&gt; - simple answer, don&amp;rsquo;t use Windows Server 2008 and/or Windows Vista!)&lt;/li&gt;
&lt;li&gt;I finished prepping our VM templates (at least the Windows ones)&lt;/li&gt;
&lt;li&gt;we&amp;rsquo;re still putting together the plans on whether or not invest into a VDI solution.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The next few weeks are gonna be as frantic as the weeks before, I still have to migrate a lot of TYPO3 installations to our new cluster (which sadly needs time, as we need to wait for DNS changes to propagate). Honestly, I might be ending up extending the SAN volume for the MySQL data storage, as even with only three somewhat busy sites, the binary log of the last 5 days is about 2GiB in size. And we still have ~ &lt;strong&gt;20&lt;/strong&gt; other busy sites on a separate box.&lt;/p&gt;</description></item><item><title>TYPO3 and MySQL replication</title><link>https://christian.blog.pakiheim.de/posts/2007-09-08_typo3-and-mysql-replication/</link><pubDate>Sat, 08 Sep 2007 20:33:13 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/2007/09/08/typo3-and-mysql-replication/</guid><description>&lt;p&gt;Apparently the TYPO3 version we are using, doesn&amp;rsquo;t play too nice with the MySQL MasterMaster replication.&lt;/p&gt;
&lt;p&gt;Sometimes, something like this is going to happen:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-2"&gt;&lt;a class="lnlinks" href="#hl-0-2"&gt;2&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;070826 0:44:32 [ERROR] Slave: Error &amp;#39;Duplicate entry &amp;#39;75-222419149&amp;#39; for key 1&amp;#39; on query. Default database: &amp;#39;t3nb&amp;#39;. Query: &amp;#39;INSERT INTO cache_pagesection
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;070826 0:44:32 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with &amp;#34;SLAVE START&amp;#34;. We stopped at log &amp;#39;dbc-mysql1.000192&amp;#39; position 611861372
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Well, as you can see from the last line in the log, the Slave-SQL thread found a duplicate entry and thought it is smart to just turn off the thread instead of disregarding the just made entry. So from now on, both databases drift since there ain&amp;rsquo;t no replication anymore until someone kick starts the replication again (someone being me).&lt;/p&gt;</description></item><item><title>Continuing on SLES10</title><link>https://christian.blog.pakiheim.de/posts/2007-06-16_continuing-on-sles10/</link><pubDate>Sat, 16 Jun 2007 16:14:15 +0000</pubDate><guid isPermaLink="false">http://blogs.barfoo.org/phreak/2007/06/16/continuing-on-sles10/</guid><description>&lt;p&gt;OK, it turns out that I was rather stupid when configuring the &lt;em&gt;my.cnf&lt;/em&gt;. As it turned out, the effect I was seeing was due to the presence of two log-bin lines, which looked like the following:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt; 1&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-2"&gt;&lt;a class="lnlinks" href="#hl-0-2"&gt; 2&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-3"&gt;&lt;a class="lnlinks" href="#hl-0-3"&gt; 3&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-4"&gt;&lt;a class="lnlinks" href="#hl-0-4"&gt; 4&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-5"&gt;&lt;a class="lnlinks" href="#hl-0-5"&gt; 5&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-6"&gt;&lt;a class="lnlinks" href="#hl-0-6"&gt; 6&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-7"&gt;&lt;a class="lnlinks" href="#hl-0-7"&gt; 7&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-8"&gt;&lt;a class="lnlinks" href="#hl-0-8"&gt; 8&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-9"&gt;&lt;a class="lnlinks" href="#hl-0-9"&gt; 9&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-10"&gt;&lt;a class="lnlinks" href="#hl-0-10"&gt;10&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-11"&gt;&lt;a class="lnlinks" href="#hl-0-11"&gt;11&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-12"&gt;&lt;a class="lnlinks" href="#hl-0-12"&gt;12&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-gdscript3" data-lang="gdscript3"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;mysqld&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;port&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3306&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;datadir&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dbase&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;log&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;logs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dbc&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mysql1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;log&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;logs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dbc&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mysql1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;err&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;socket&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sock&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;bind&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;172.16&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;234.31&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# custom paths for binary logs&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;log&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;binlogs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dbc&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mysql1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;log&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;binlogs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dbc&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mysql1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;idx&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;relay&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nb"&gt;log&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;binlogs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dbc&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mysql1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;relay&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;And some lines down there was this:&lt;/p&gt;</description></item><item><title>Back at SLES10</title><link>https://christian.blog.pakiheim.de/posts/2007-06-12_back-at-sles10/</link><pubDate>Tue, 12 Jun 2007 19:42:22 +0000</pubDate><guid isPermaLink="false">http://blogs.barfoo.org/phreak/2007/06/12/back-at-sles10/</guid><description>&lt;p&gt;Here I am, sitting at my desk on a Thuesday evening thinking about what happened the last few days.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I finally got to play around with our &lt;a href="http://www.packetpro.de/content/view/63/112/" title="PacketPro 450 Cluster"&gt;PacketPro 450 Cluster&lt;/a&gt;(nifty LoadBalancing appliance)&lt;/li&gt;
&lt;li&gt;We reworked the network the way &lt;em&gt;&lt;strong&gt;we&lt;/strong&gt;&lt;/em&gt; want it (and not that tool of a wannabe sysadmin)&lt;/li&gt;
&lt;li&gt;We mostly figured out how to do the LoadBalancing right, we just need to find some bugs in the LoadBalancer software (like the thing is failing over to its slave from time to time, but keeping the IP address for himself) or let the guys at &lt;a href="http://www.teamix.net/"&gt;teamix&lt;/a&gt; do their work and hopefully get a working release within the next week or so&lt;/li&gt;
&lt;li&gt;I figured out how to setup interface bonding with SLES10 (it was quite straight forward, thanks to the excellent in-kernel documentation), and we&amp;rsquo;re using an active-backup mode for now&lt;/li&gt;
&lt;li&gt;I still need to figure out how to do the MySQL Master&amp;lt;-&amp;gt;Master replication right .. I&amp;rsquo;m currently building fresh RPM&amp;rsquo;s on one of those Dell blades (yes, they ROCK!) which will hopefully be finished till I&amp;rsquo;m at the office tomorrow.&lt;/li&gt;
&lt;li&gt;Pt. 5 also includes figuring out how to pass MySQL a custom location for the binary-log, at least that&amp;rsquo;s what the &lt;a href="http://dev.mysql.com/doc/refman/5.0/en/binary-log.html" title="MySQL handbook, Chapter 5.11.3. The Binary Log"&gt;handbook&lt;/a&gt; says in Chapter &amp;ldquo;5.11.3. The Binary Log&amp;rdquo; &amp;hellip;&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote&gt;
&lt;p&gt;When started with the &amp;ndash;log-bin[=base_name] option, mysqld writes a log file containing all SQL commands that update data. If no base_name value is given, the default name is the name of the host machine followed by -bin. If the basename is given, but not as an absolute pathname, the server writes the file in the data directory. It is recommended that you specify a basename; see Section B.1.8.1, “Open Issues in MySQL”, for the reason.&lt;/p&gt;</description></item><item><title>Waiting</title><link>https://christian.blog.pakiheim.de/posts/2007-02-28_waiting/</link><pubDate>Wed, 28 Feb 2007 14:58:05 +0000</pubDate><guid isPermaLink="false">http://blogs.barfoo.org/phreak/2007/03/06/waiting/</guid><description>&lt;p&gt;We are still waiting for the money promised by the state and the country for our HBFG (again, it&amp;rsquo;s &amp;ldquo;Hochschulbauförderungsgesetz&amp;rdquo;), that hopefully is reducing or eliminating our storage/SAN problem we have currently. Right now we have to Cisco MDS9216 (that&amp;rsquo;s a 16-port 2GBps SAN-switch, two for redundancy), which means we only have 16 SAN-ports. That isn&amp;rsquo;t much, but still is to less, as we have like 30 machines or so, that &lt;em&gt;&lt;strong&gt;really&lt;/strong&gt;&lt;/em&gt; need access to the SAN, so we either end up unplugging some of them from the SAN or merge them onto some big machines (like our x366).&lt;/p&gt;</description></item></channel></rss>