<?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>My Scripts and Tips &#187; Linux and Unix</title>
	<atom:link href="http://www.tipsandscripts.net/archives/category/linux_unix/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tipsandscripts.net</link>
	<description>Various things I&#039;ve found useful in my travels</description>
	<lastBuildDate>Mon, 22 Aug 2011 07:28:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Problem With Bonding and Packet Loss on Red Hat Enterprise Linux 3</title>
		<link>http://www.tipsandscripts.net/archives/106</link>
		<comments>http://www.tipsandscripts.net/archives/106#comments</comments>
		<pubDate>Tue, 01 Mar 2011 05:03:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux and Unix]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.tipsandscripts.net/?p=106</guid>
		<description><![CDATA[We moved a blade server running Red Hat Enterprise Linux 3 from one enclosure to another. The old enclosure had Nortel switches, the new enclosure had Cisco switches. After moving the server we noticed connectivity problems. Looking at the switches it appeared that the server&#8217;s MAC address was moving between the different switches. There were [...]]]></description>
			<content:encoded><![CDATA[<p>We moved a blade server running Red Hat Enterprise Linux 3 from one enclosure to another. The old enclosure had Nortel switches, the new enclosure had Cisco switches. After moving the server we noticed connectivity problems. Looking at the switches it appeared that the server&#8217;s MAC address was moving between the different switches. There were no errors on any of the interfaces. The server was configured for bonding with active-backup (mode 1). The relevant entries in /etc/ modules.conf read:<br />
<pre><code>
alias bond0 bonding mode=1 miimon=100 primary=eth0
</code></pre><br />
Checking /proc/net/bonding/bond0 showed that it was actually using round robin mode (and that there had note been any link failures):<br />
<pre><code>
Bonding Mode: load balancing (round-robin)
</code></pre></p>
<p>In the end it seems to have been an issue with the entry in /etc/modules.conf. We changed it to:<br />
<pre><code>
alias bond0 bonding
options bond0 mode=1 miimon=100 primary=eth0
</code></pre></p>
<p>then restarted and that seems to have fixed the problem:<br />
<pre><code>
$ grep &quot;Bonding Mode:&quot; bond0
Bonding Mode: fault-tolerance (active-backup)
</code></pre></p>
<p>I&#8217;m not sure why it used to work fine before.</p>
<p>I also came across this <a href="http://www.experts-exchange.com/Networking/Linux_Networking/Q_24599062.html">http://www.experts-exchange.com/Networking/Linux_Networking/Q_24599062.html</a> (hint to read this link, search for the URL in Google). It seems that the guy posting here had similar syntax and the same problem. If someone has access to Experts Exchange perhaps they can earn themselves some points by answering the question.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tipsandscripts.net/archives/106/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy CUPS configuration from one server to another</title>
		<link>http://www.tipsandscripts.net/archives/19</link>
		<comments>http://www.tipsandscripts.net/archives/19#comments</comments>
		<pubDate>Thu, 14 Feb 2008 09:37:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux and Unix]]></category>

		<guid isPermaLink="false">http://www.tipsandscripts.net/archives/19</guid>
		<description><![CDATA[Many versions of Linux use the Common UNIX Printing System (CUPS). Need to copy the configuration from one server to another? Here&#8217;s how. Stop CUPS on the target system Rename or backup the exiting CUPS configuration mv /etc/cups /etc/cups.orig Copy the /etc/cups directory from the source system to the destination system Copy any modified model [...]]]></description>
			<content:encoded><![CDATA[<p>Many versions of Linux use the Common UNIX Printing System (CUPS). Need to copy the configuration from one server to another? Here&#8217;s how.</p>
<p>Stop CUPS on the target system</p>
<p>Rename or backup the exiting CUPS configuration</p>
<p>mv /etc/cups /etc/cups.orig</p>
<p>Copy the /etc/cups directory from the source system to the destination system</p>
<p>Copy any modified model files from the source system to the destination system. These files should be in /usr/share/cups/model</p>
<p>On the destination server edit the file /etc/cups/cupsd.conf and check if the hostname or IP address of your source server is present. If so, change it to the destination server.</p>
<p>If any custom groups or accounts are used on the old system to manage CUPS recreate them on the new system.</p>
<p>Restart cups.</p>
<p>Test</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tipsandscripts.net/archives/19/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

