<?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>Admon Home &#187; redhat</title>
	<atom:link href="http://www.admon.org/tag/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.admon.org</link>
	<description>Linux System Administration</description>
	<lastBuildDate>Wed, 08 Feb 2012 10:24:20 +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>RHEL 5.5 Released yesterday</title>
		<link>http://www.admon.org/rhel-5-5-released-yesterday/</link>
		<comments>http://www.admon.org/rhel-5-5-released-yesterday/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 11:56:16 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[rhel-5.5]]></category>

		<guid isPermaLink="false">http://planet.admon.org/?p=572</guid>
		<description><![CDATA[Redhat.com release another update of RHEL5 yesterday at 2010/03/30. This minor update releases typically provide feature enhancements, bugfixes and new hardware support. From the release notes: Highlights of the Red Hat Enterprise Linux 5.5 release include hardware enablement for the Intel Boxboro-EX platform, AMD Magny-Cours processor and IBM Power 7 processor. Virtualization is improved, with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.redhat.com/"><a href="http://planet.admon.org/wp-content/uploads/2010/03/redhat.jpg"><img class="alignleft size-full wp-image-747" title="redhat" src="http://planet.admon.org/wp-content/uploads/2010/03/redhat.jpg" alt="Redhat Linux Logo" width="150" height="150" /></a>Redhat.com</a> release another update of RHEL5 yesterday at 2010/03/30.</p>
<p>This minor update releases typically provide feature enhancements, bugfixes and new hardware support. From the <a href="http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Release_Notes/">release notes</a>:<br />
<span id="more-572"></span><br />
Highlights of the <strong>Red Hat Enterprise Linux 5.5</strong> release include hardware enablement for the <a href="http://www.theregister.co.uk/2009/05/26/intel_nehalem_ex_preview/print.html">Intel Boxboro-EX</a> platform, AMD <a href="http://blogs.amd.com/work/tag/magny-cours/">Magny-Cours processor</a> and <a href="http://www-03.ibm.com/systems/power/">IBM Power</a> 7 processor.<br />
Virtualization is improved, with support for multiple 10 GigE <a href="http://blog.scottlowe.org/2009/12/02/what-is-sr-iov/">SR-IOV cards</a>, and automatic usage of hugepages for virtual guest memory when enabled on the system. Interoperability improvements include boot support for virtual machines using Microsoft based PXE services.</p>
<p>A summary of technical details would highlight:</p>
<ul>
<li>Kickstart improvements to logging post-install</li>
<li>New hardware driver support (<a href="http://www.pmc-sierra.com/sas-expanders-loopswitch-chips/">pmcraid</a>, ibmvfs, bfa, be2iscsi)</li>
<li>Updated hardware support (too many to list)</li>
<li>Run-time memory allocation for KVM guests (memory ballooning)</li>
<li>PCI passthrough improvements (hotswapping PCI devices, 1:1 performance improvements)</li>
<li>Detecting kernel tasks stuck in the uninterruptible sleep state (D-state)</li>
<li>Improved <a href="http://planet.admon.org/howto/how-to-change-default-io-scheduler/">CFQ I/O scheduler</a> performance</li>
<li>Kernel CIFS updates and new GFS mount option (for troubleshooting)</li>
</ul>
<p>Apart from this Red Hat also shared Technology Previews within each release. Functionality that is not yet supported, but available for testing purposes:</p>
<ul>
<li>FCoE (Fibre Channel over Ethernet)</li>
<li>ext4 filesystem support</li>
<li>gcc 4.4 and new glibc malloc</li>
<li>Trusted Platform Module (TPM) hardware support</li>
<li>eCryptfs cryptographic filesystem</li>
<li>Stateless Linux</li>
<li>SGPIO Support for dmraid</li>
<li>Device Failure Monitoring of RAID sets</li>
<li>iSER support (block storage transfer across a network)</li>
</ul>
<p>The above Technology Preview features of <a href="http://planet.admon.org/howto/rhel-5-5-released-yesterday/">RHEL5.5</a> may become part of a future RHEL5 release! Even though there is no predicted timeline for CentOS releases, CentOS 5.5 is not expected before May 4th 2010.</p>
<p>For more details on the changelog, please check the <a href="http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Release_Notes/">release notes</a> here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/rhel-5-5-released-yesterday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update CentOS 4 to CentOS 5 remotely</title>
		<link>http://www.admon.org/update-centos-4-to-centos-5-remotely/</link>
		<comments>http://www.admon.org/update-centos-4-to-centos-5-remotely/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 14:36:24 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[System Tuning]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://planet.admon.org/?p=510</guid>
		<description><![CDATA[I just successfully updated my Dell PowerEdge 1850 from CentOS 4.8 to CentOS 5.4, luckily the issues I faced were not so rare. The steps I used are listed below, may it helpful for you as well! Although this post is mainly intended for CentOS it should work on RHEL systems as well. Before you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://planet.admon.org/wp-content/uploads/2009/12/centos5-150x150.png"><img class="alignleft size-full wp-image-749" title="centos5-150x150" src="http://planet.admon.org/wp-content/uploads/2009/12/centos5-150x150.png" alt="CentOS-5 Logo" width="150" height="150" /></a>I just successfully updated my Dell <a href="http://reviews.zdnet.co.uk/hardware/servers/0,1000001736,39193837,00.htm">PowerEdge 1850</a> from CentOS 4.8 to CentOS 5.4, luckily the issues I faced were not so rare. The steps I used are listed below, may it helpful for you as well! Although this post is mainly intended for CentOS it should work on RHEL systems as well.</p>
<p>Before you start, A word of advice i believe most experienced RHEL/CentOS users will show you regarding what you&#8217;re thinking:</p>
<p>Upgrade between minor versions (i.e. CentOS 5.2 -&gt; 5.3 -&gt; 5.4, or even 5.0 -&gt; 5.4) YES<br />
Upgrade between major system versions (i.e. CentOS 4.8 to CentOS 5.4) NO<span id="more-510"></span></p>
<p>As far as I recall, not even Red Hat recommends this &#8211; although they do guarantee the miner updates will go smoothly. Even if you manage to hammer that 4.8 to 5.4 upgrade into place, you might end up with a mess that will be very difficult to maintain. Before processing the system update, it&#8217;s suggested to create a backup!</p>
<p>If you are currently running a version of RHEL/CentOS earlier than 4.8 (<em>cat /etc/redhat-release</em>), then please do a proper &#8216;<em>yum update</em>&#8216; and get your current system updated to 4.8 before we start.</p>
<p>Then the first thing we need to do is to make sure none of our core binaries, libraries or other content is immutable as it causes package installation failures. If you use immutable bits on system paths then you should run these commands:</p>
<pre>chattr -Ria /bin
chattr -Ria /etc
chattr -Ria /etc
chattr -Ria /include
chattr -Ria /lib
chattr -Ria /sbin
chattr -Ria /usr/bin
chattr -Ria /usr/include
chattr -Ria /usr/lib
chattr -Ria /usr/libexec
chattr -Ria /usr/local/bin
chattr -Ria /usr/local/include
chattr -Ria /usr/local/lib
chattr -Ria /usr/local/sbin
chattr -Ria /usr/sbin
chattr -Ria /usr/share
chattr -Ria /var/lib
chattr -Ria /var/lock
chattr -Ria /var/log
chattr -Ria /var/run
chattr -Ria /var/spool/repackage</pre>
<p>Once finished, go ahead and have a quick run through of cleaning up yum cache, double check that any pending updates are installed and <a href="http://planet.admon.org/howto/rpm-common-usage-examples/">rebuild the rpmdb</a>:</p>
<pre>yum clean all &amp;&amp; yum update</pre>
<p>If you run into any dependency issues for packages that are not essential, such as syslinux and lftp then you can either exclude them or better just remove them. If the denpency issue is openssh-server related, you can enable telnet login during update by modifing <em>/etc/xinetd.d/telnet</em>.</p>
<pre>rpm -e lftp syslinux mkboot</pre>
<p>OR (but not recommended)</p>
<pre>yum update --exclude=syslinux --exclude=lftp --exclude=mkboot</pre>
<p>At this point you should be able to run a &#8216;<em>yum update</em>&#8216; command with optional exclude and receive no errors. Now we are ready to get going, please google around, find and download these packages, they mostly available at <a href="http://mirror.centos.org/centos/5.4/os/i386/CentOS/">CentOS official mirror site</a>:</p>
<pre># ls
centos-release-5-4.el5.centos.1.i386.rpm    python-elementtree-1.2.6-5.el4.centos.i386.rpm
centos-release-notes-5.4-4.i386.rpm       python-elementtree-1.2.6-5.el5.i386.rpm
kernel-2.6.18-164.el5.i686.rpm            python-elementtree-1.2.6-5.i386.rpm
kernel-devel-2.6.18-164.el5.i686.rpm      python-sqlite-1.1.7-1.2.1.i386.rpm</pre>
<p>We need to go ahead and setup the centos-release package as follows:</p>
<pre>rpm -Uhv centos-release-*.rpm</pre>
<p>If you see that CentOS-Base.repo was created as <em>/etc/yum.repos.d/CentOS-Base.repo.rpmnew</em> then move it to the right place:</p>
<pre># mv /etc/yum.repos.d/CentOS-Base.repo.rpmnew /etc/yum.repos.d/CentOS-Base.repo</pre>
<p>Now we are ready to go with kernel changes, this is an important part so pay attention. The key to successful upgrade is that you remove ALL OLD KERNELS as many packages will fail to install during the upgrade if they detect a release 4.x kernel due to minimum kernel version dependency checks. We will first start with installing the new CentOS 5.4 kernel so it preserves grub templating:</p>
<pre>rpm -ivh kernel-2.6.18-164.el5.i686.rpm kernel-devel-2.6.18-164.el5.i686.rpm --nodeps</pre>
<p>NOTE: release 5.x has smp support integrated into the standard kernel, so no *-smp version is required for multi-processor systems.</p>
<p>If you are running an older system the chances are you got allot of older kernel packages installed, so make sure you get them all out of the way:</p>
<pre>rpm -e $(rpm -qa | grep kernel | grep -v 2.6.18 | tr 'n' ' ') --nodeps</pre>
<p>That said and done you should now only have 2 kernel packages installed which are the 2.6.18 release 5.x kernels. DO NOT under any circumstance continue if you still got 2.6.9 release 4.x kernels packages installed, remove them ALL!</p>
<pre># rpm -qa | grep -i kernel
kernel-2.6.18-164.el5
kernel-devel-2.6.18-164.el5</pre>
<p>A cleanup of <em>/etc/grub.conf</em> may be required, though the rpm command should have done this for you already, but review it anyways for good measure. You should find that 2.6.18-164.el5 is the only kernel in the file. When kernel updated, a reboot here is OK, but it&#8217;s not suggested.</p>
<p>Then we can continute the system updates. There is a known bug with python-elementtree package versions which cause yum/rpm to think the release 4.x version is newer than the 5.x version, to get around this without blowing up the entire python installation we need to remove the package from just the rpmdb as follows:</p>
<pre>rpm -e --justdb python-elementtree --nodeps</pre>
<p>We can now go ahead and use yum to start the upgrade process, this is a dry run and will take some minutes to compile list of available packages and associated dependency checks. You should carry the exclude options, if any, that you used during the &#8216;yum update&#8217; process as so to avoid unresolvable dependencies:</p>
<pre>yum clean all
yum upgrade</pre>
<p>You will end up with a small list of dependency errors, these should be resolved by again evaluating a packages need as a critical system component and either removing it with &#8216;<em>rpm -e</em>&#8216; or excluding it with &#8216;<em>–exclude</em>&#8216; (remember to <a href="http://planet.admon.org/howto/rpm-common-usage-examples/">query description</a> if you are unsure what something does). In my case the packages that threw up red flags were stuff I had manually installed over time such as nfs in addition to default installed samba, these can all safely be removed or excluded as you prefer.</p>
<pre>    Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba
    Error: Missing Dependency: libevent-1.1a.so.1 is needed bypackage nfs-utils</pre>
<p>At this point you should be ready to do a final dry run and see where we stand on dependencies, rerun the earlier &#8216;<em>yum upgrade</em>&#8216; while making sure to carry over any exclude options you are using.</p>
<p>You should now end up with a summary of actions that yum needs to perform, go ahead and kick it off&#8230; this will take a bit time to complete.</p>
<pre>    Transaction Summary
    ===========================================================
    Install 183 Package(s)
    Update 527 Package(s)
    Remove 0 Package(s)
    Total download size: 679 M
    Is this ok [y/N]:<strong>Y</strong>
</pre>
<p>Once yum has completed we need to fix a few things, the first is the rpmdb needs a rebuild due to version changes that will cause any rpm commands to fail:</p>
<pre>rm -f /var/lib/rpm/__db.00*
rpm --rebuilddb
yum clean all</pre>
<p>The next issue on the list is python-elementtree and python-sqlite, one or both of these may have <a href="http://forum.admon.org/rhel-centos/7355-yum-no-module-named-sqlite-resovled.html">ended up in a broken state</a> that will cause all yum commands to break, so we will go ahead and reinstall both of them:</p>
<pre>rpm -e --justdb python-elementtree --nodeps
rpm -ivh python-elementtree-1.2.6-5.el5.i386.rpm
rpm -ivh python-sqlite-1.1.7-1.2.1.i386.rpm --nodeps --force</pre>
<p>The yum command should now work, go ahead and run it with no options, if you do not get any errors, you are all sorted!</p>
<p>Hopefully the install went well for you, the only thing left to do is go ahead and reboot the system:</p>
<pre>shutdown -rf now</pre>
<p>For the sake of avoiding a system raised fsck, we will reboot with the -f option to skip fsck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/update-centos-4-to-centos-5-remotely/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Set timezone date and time in Linux</title>
		<link>http://www.admon.org/set-timezone-date-and-time-in-linux/</link>
		<comments>http://www.admon.org/set-timezone-date-and-time-in-linux/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 03:07:53 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[System Tuning]]></category>
		<category><![CDATA[hwclock]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[timezone]]></category>

		<guid isPermaLink="false">http://planet.admon.org/?p=491</guid>
		<description><![CDATA[Your computer has two timepieces; a battery-backed one that is always running (a.k.a. the hardware, BIOS, or CMOS clock), and another that is maintained by the operating system currently running, it&#8217;s called system clock. This document explains how to set your system clock, your timezone, and other stuff related to how linux does its time-keeping. [...]]]></description>
			<content:encoded><![CDATA[<p>Your computer has two timepieces; a battery-backed one that is always running (a.k.a. the hardware, BIOS, or CMOS clock), and another that is maintained by the operating system currently running, it&#8217;s called system clock. This document explains how to set your system clock, your timezone, and other stuff related to how linux does its time-keeping.<span id="more-491"></span></p>
<p>The hardware clock is generally only used to set the system clock when your operating system boots, and then from that point until you reboot or turn off your system, the system clock is the one used to keep track of time.</p>
<p>On Linux systems, you have a choice of keeping the hardware clock in <a href="http://geography.about.com/od/timeandtimezones/a/gmtutc.htm">UTC/GMT</a> time or local time. The preferred option is to keep it in UTC. The disadvantage with keeping the hardware clock in UTC is that if you dual boot with an operating system (like DOS) that expects the hardware clock to be set to local time, the time might be wrong in that OS.</p>
<p><strong>Set your timezone</strong></p>
<p>The timezone under Linux is set by a symbolic link from <em>/etc/localtime</em> to a file in the <em>/usr/share/zoneinfo</em> directory that corresponds with what timezone you are in. For example, since I&#8217;m of same timezone as Hong Kong, /etc/localtime is a symlink to <em>/usr/share/zoneinfo/Asia/Hong_Kong</em>. To set this up, run:</p>
<pre>[admon@planet ~]# ls -F /usr/share/zoneinfo/
Africa/      CST6CDT  Etc/     Greenwich  Kwajalein  Navajo     SystemV/   iso3166.tab
America/     Canada/  Europe/  HST        Libya      PRC        Turkey     posix/
Antarctica/  Chile/   Factory  Hongkong   MET        PST8PDT    UCT        posixrules
Arctic/      Cuba     GB       Iceland    MST        Pacific/   US/        right/
Asia/        EET      GB-Eire  Indian/    MST7MDT    Poland     UTC        zone.tab
Atlantic/    EST      GMT      Iran       Mexico/    Portugal   Universal
Australia/   EST5EDT  GMT+0    Israel     Mideast/   ROC        W-SU
Brazil/      Egypt    GMT-0    Jamaica    NZ         ROK        WET
CET          Eire     GMT0     Japan      NZ-CHAT    Singapore  Zulu

[admon@planet ~]# ln -sf /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime</pre>
<p>Replace your timezone with something like <em>US/Pacific</em> or <em>Europe/Paris</em>. Have a look in the directories under <em>/usr/share/zoneinfo</em> to see what timezones meet your needs.</p>
<p>This assumes that you are running Red Hat (or Redhat  based Linux) . On older systems, you&#8217;ll find that <em>/usr/lib/zoneinfo</em> is used instead of <em>/usr/share/zoneinfo</em>.</p>
<p><strong>Set the system clock</strong></p>
<p>To set the system clock under Linux, use the date command. As an example, to set the current time and date to <em>Sun Dec 13 10:02:00 AM CST 2009</em>, type <em>date 12131002</em> (note that the time is in 24 hour notation).</p>
<pre>[admon@planet ~]# date
Sun Dec 13 10:09:29 CST 2009
[admon@planet ~]# date 12131002
Sun Dec 13 10:02:00 CST 2009</pre>
<p>You can reset system time without date information like this:</p>
<pre>[admon@planet ~]# date -s 10:04
Sun Dec 13 10:04:00 CST 2009</pre>
<p>If you wanted to change the year as well, just type <em>date 121310022009</em>. To set the seconds as well, type <em>date 12131002.30</em> or <em>date 121310022009.30</em>. The following line is an example. When the command runs succesfully, it returns current system time:</p>
<pre>[admon@planet ~]# date 121310212009.30
Sun Dec 13 10:21:30 CST 2009</pre>
<p>An alternative way is to load system date and time from BIOS like this:</p>
<pre>[admon@planet ~]# date
Sun Dec 13 10:02:04 CST 2009
[admon@planet ~]# hwclock --hctosys
[admon@planet ~]# date
Sun Dec 13 10:09:29 CST 2009</pre>
<p><strong>Set the hardware clock</strong></p>
<p>When Linux boots, A initialization script will run the <em>/sbin/hwclock</em> program to copy the current hardware clock time to the system. To set the hardware clock, a common way is to set the system clock first, and then sync the new system time to hardware clock by typing <em>/sbin/hwclock &#8211;systohc</em> (or <em>/sbin/hwclock &#8211;systohc &#8211;utc</em> if you are keeping the hardware clock in UTC).</p>
<pre>[admon@planet ~]# date
Sun Dec 13 10:29:57 CST 2009
[admon@planet ~]# hwclock --systohc
[admon@planet ~]# hwclock
Sun Dec 13 10:30:13 2009  -0.716300 seconds
[admon@planet ~]# date
Sun Dec 13 10:30:13 CST 2009</pre>
<p><strong>Sync local time with a time server</strong><br />
This can be done by an entry in root&#8217;s crontab like this:</p>
<pre>[admon@planet ~]# crontab -l
MAILTO=""
30 4,16 * * * (/usr/sbin/ntpdate -s clock.redhat.com time.nist.gov ntp.admon.org)</pre>
<p>It means your system time will be synced with these time servers every 12 hours. If you have a cluster of machines which must share the same time, it&#8217;s suggested to build your own time server, and get other servers synchronized with it.</p>
<p>Instead of keeping your system time up-to-date with the world, a local time server can be configed to supply delayed time, that means you can keep your system time delayed with the public. It&#8217;s helpful for some specific environment, like if you need some delayed <a href="http://planet.admon.org/howto/tips-for-rebuilding-mysql-replication/">mysql replication servers</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/set-timezone-date-and-time-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Dell OMSA on Redhat Enterprise Linux</title>
		<link>http://www.admon.org/install-dell-omsa-on-redhat-enterprise-linux-45/</link>
		<comments>http://www.admon.org/install-dell-omsa-on-redhat-enterprise-linux-45/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 05:33:34 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Hardwares]]></category>
		<category><![CDATA[System Tuning]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[OMSA]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://planet.admon.org/?p=453</guid>
		<description><![CDATA[Here we listed 3 ways on the installation of Dell OpenManage Server Administrator on a Redhat Enterprise Linux, you can follows these steps on CentOS or SLES 10, they would work well. 1, Install from RPM packages Generally we need these RPM packages, you can search and download them from Google.com. [root@storage cax]# ls srvadmin-cm-6.1.0-648.i386.rpm       [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://planet.admon.org/wp-content/uploads/2009/11/dell.jpg"><img class="alignleft size-thumbnail wp-image-767" title="dell" src="http://planet.admon.org/wp-content/uploads/2009/11/dell-150x150.jpg" alt="Dell Logo" width="150" height="150" /></a>Here we listed 3 ways on the installation of <strong>Dell OpenManage Server Administrator</strong> on a Redhat Enterprise Linux, you can follows these steps on CentOS or SLES 10, they would work well.</p>
<p><strong>1, Install from RPM packages</strong><br />
Generally we need these RPM packages, you can search and download them from <a href="http://www.google.com/search?hl=en&amp;source=hp&amp;q=srvadmin+rpm+download&amp;aq=f&amp;oq=&amp;aqi=">Google.com</a>.<br />
<span id="more-453"></span></p>
<pre>[root@storage cax]# ls
srvadmin-cm-6.1.0-648.i386.rpm       srvadmin-omcommon-6.1.0-648.i386.rpm
srvadmin-deng-6.1.0-648.i386.rpm     srvadmin-omhip-6.1.0-648.i386.rpm
srvadmin-hapi-6.1.0-648.i386.rpm     srvadmin-omilcore-6.1.0-648.i386.rpm
srvadmin-isvc-6.1.0-648.i386.rpm     srvadmin-syscheck-6.1.0-648.i386.rpm
srvadmin-omacore-6.1.0-648.i386.rpm
srvadmin-cm-6.1.0-648.i386.rpm</pre>
<p>These packages can be used on both RHEL-4 and RHEL-5. After the downloading, let&#8217;s start the installation:</p>
<pre>[root@storage cax]# uname -a
Linux storage.admon 2.6.9-78.ELsmp #1 SMP Wed Jul 9 15:46:26 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@storage cax]# rpm -ivh srv*.rpm
Preparing...                ########################################### [100%]
1:srvadmin-omilcore      ########################################### [ 11%]
To start all installed services without a reboot,
enter the following command:  srvadmin-services.sh  start
2:srvadmin-syscheck      ########################################### [ 22%]
3:srvadmin-deng          ########################################### [ 33%]
4:srvadmin-hapi          ########################################### [ 44%]
5:srvadmin-omcommon      ########################################### [ 56%]
6:srvadmin-omacore       ########################################### [ 67%]
7:srvadmin-isvc          ########################################### [ 78%]
8:srvadmin-cm            ########################################### [ 89%]
9:srvadmin-omhip         ########################################### [100%]
[root@storage cax]#</pre>
<p>Now, it&#8217;s ready for use! enjoy!</p>
<p>The following two steps are from <a href="http://linux.dell.com/repo/hardware/OMSA_6.1/">Dell&#8217;s official website</a>, and it&#8217;s officially supported by Dell!</p>
<p><strong>2, Setup for usage with yum</strong></p>
<p>The minimum required yum is 2.4.x, and it&#8217;s tested on RHEL5, CentOS, <a href="https://www.scientificlinux.org/">Scientific Linux</a>, RHEL4+yum, SLES+yum. The version of yum distributed on CentOS 3 by default is very old (yum 2.0.8), so you need to upgrade to a 2.4.x version in order to use these repositories. The older version of yum does not support plugins or mirrorlists, which are required for these repos to work.</p>
<p>Set up this repository, type:</p>
<pre>[root@storage cax]# wget -q -O - http://linux.dell.com/repo/hardware/OMSA_6.1/bootstrap.cgi | bash</pre>
<p>Optional Install OpenManage Server Administrator:</p>
<pre>[root@storage cax]# yum install srvadmin-all</pre>
<p>NOTE: OMSA will not install on unsupported systems. If you receive a message at install that the system is not supported, it is likely that your system is not supported, and the install will fail. This is most common on Dell SC-class systems, as OMSA is completely unsupported on these systems.</p>
<p><strong>3, Set up for usage with up2date</strong></p>
<p>Follow these instructions for use with up2date on RHEL4:</p>
<p>Set up this repository:</p>
<pre>[root@storage cax]# wget -q -O - http://linux.dell.com/repo/hardware/OMSA_6.1/bootstrap.cgi | bash</pre>
<p>Optional Install OpenManage Server Administrator:</p>
<pre>[root@storage cax]# up2date -i srvadmin-all</pre>
<p>NOTE: OMSA will not install on unsupported systems. If you receive a message at install that the system is not supported, it is likely that your system is not supported, and the install will fail. This is most common on SC-class systems, as OMSA is completely unsupported on these systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/install-dell-omsa-on-redhat-enterprise-linux-45/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hpasmcli Usage Example on ProLiant DL380</title>
		<link>http://www.admon.org/hpasmcli-usage-example-on-proliant-dl380/</link>
		<comments>http://www.admon.org/hpasmcli-usage-example-on-proliant-dl380/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 08:26:00 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Hardwares]]></category>
		<category><![CDATA[hpasm]]></category>
		<category><![CDATA[Proliant server]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://planet.admon.org/?p=440</guid>
		<description><![CDATA[Hpasmcli is short for HP System Health Application and Insight Management Agents, it&#8217;s a scriptable command line interface for interacting with the hpasm management daemons, which can be used to view / set / modify BIOS settings such as hyper-threading, boot sequence control, and UID LEDs. It can also be used to display hardware status. In [...]]]></description>
			<content:encoded><![CDATA[<p>Hpasmcli is short for <strong>HP System Health Application and Insight Management Agents</strong>, it&#8217;s a scriptable command line interface for interacting with the hpasm management daemons, which can be used to view / set / modify BIOS settings such as hyper-threading, boot sequence control, and UID LEDs. It can also be used to display hardware status.</p>
<p>In addition to the command line interface, hpasmcli is also usable for incorporating into shell scripts. The return value of hpasmcli can be used to verify a command executed successfully. <span id="more-440"></span>If multiple commands are executed, only the status of the last command is returned to the shell.</p>
<p>Hpasmcli supports TAB completion of command names and has a history buffer that can be accessed using the up/down arrows. The following examples are created on a <a href="http://h18000.www1.hp.com/products/quickspecs/12028_div/12028_div.html">HP ProLiant DL380 G4</a> server.</p>
<p>As an example, the following first executes the ´<em>SHOW SERVER</em>´ command to retrieve basic system information, and next reads the environment temperature:</p>
<pre>[root@example email]# hpasmcli -s 'show server; show temp'

System        : ProLiant DL380 G4
Serial No.    : CN-HIDED-YD
ROM version   : P51 12/02/2004
iLo present   : Yes
Embedded NICs : 2
NIC1 MAC: 00:13:21:cc:33:49
NIC2 MAC: 00:13:21:cc:33:48

Processor: 0
Name         : Intel Xeon
Stepping     : 1
Speed        : 3000 MHz
Bus          : 800 MHz
Socket       : 1
Level2 Cache : 1024 KBytes
Status       : Ok

Processor: 1
Name         : Intel Xeon
Stepping     : 1
Speed        : 3000 MHz
Bus          : 800 MHz
Socket       : 2
Level2 Cache : 1024 KBytes
Status       : Ok

Processor total  : 2

Memory installed : 8192 MBytes
ECC supported    : Yes

Sensor   Location              Temp       Threshold
------   --------              ----       ---------
#0        SYSTEM_BD             -          -
#1        PROCESSOR_ZONE       40C/104F   62C/143F
#2        CPU#1                46C/114F   80C/176F
#3        I/O_ZONE             43C/109F   60C/140F
#4        CPU#2                50C/122F   80C/176F
#5        POWER_SUPPLY_BAY     32C/89F    50C/122F

[root@example email]# echo $?
0</pre>
<p>You can use &#8220;show dimm&#8221; to check details about the memory arrary. It&#8217;s more specific compared to <a href="http://planet.admon.org/howto/dmidecode-report-hardware-information-from-command-line/">dmidecode that we mentioned before</a>:</p>
<pre>hpasmcli&gt; <em>show dimm</em>
DIMM Configuration
------------------
Cartridge #:   0
Module #:      1
Present:       Yes
Form Factor:   9h
Memory Type:   12h
Size:          1024 MB
Speed:         333 MHz
Status:        Ok

Cartridge #:   0
Module #:      2
Present:       Yes
Form Factor:   9h
...</pre>
<p>The other supported commands are listed here: CLEAR | DISABLE | ENABLE | EXIT | HELP | QUIT | SHOW. For example we can set the boot sequence at command-line mode like this:</p>
<pre>hpasmcli&gt; SET BOOT [enter]
Invalid Arguments
SET BOOT FIRST [ CDROM | FLOPPY | HDD | PXE | USBKEY ]
SET BOOT ONCE [ CDROM | FLOPPY | HDD | PXE | RBSU ]
hpasmcli&gt; SET BOOT FIRST HDD</pre>
<p>It can also be used to enable/disable Automatic Server Recovery, Processor Hyper-Threading, PXE BOOT on specified NIC and Wake-On-Lan feature, etc.</p>
<p>HPASMCLI manual page is avaiable on hp.com, and the binary itself is <a href="ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/">avaiable on ftp.compaq.com</a>, and the installation itself is as easy as installing normal rpm. For any issues, dont forget to <a href="http://forum.admon.org/hardware-forum/">raise a thread at our support forum</a>. <img src='http://www.admon.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/hpasmcli-usage-example-on-proliant-dl380/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Prepare the RPM Building Environment</title>
		<link>http://www.admon.org/prepare-rpm-building-environment/</link>
		<comments>http://www.admon.org/prepare-rpm-building-environment/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 08:19:39 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[buiding environment]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://planet.admon.org/?p=421</guid>
		<description><![CDATA[Some days ago, I posted some examples on the common usage of RPM. Now, this post describes a manual preparation of a RPM building environment. With the help of this environment, you can generate upated RPM packages and patch your RPM-based system from source code. Before this configuration, please make sure you have these packages [...]]]></description>
			<content:encoded><![CDATA[<p>Some days ago, I posted some <a href="http://planet.admon.org/howto/rpm-common-usage-examples/">examples on the common usage of RPM</a>. Now, this post describes a manual preparation of a RPM building environment. With the help of this environment, you can generate upated RPM packages and patch your <a href="http://en.wikipedia.org/wiki/List_of_Linux_distributions#RPM-based">RPM-based system</a> from source code.<br />
<span id="more-421"></span><br />
Before this configuration, please make sure you have these packages installed already:</p>
<pre>make, GCC, rpm-build, redhat-rpm-config</pre>
<p>If they havn&#8217;t installed yet, you can start the installation by yum like this &#8220;<em>yum install make</em>&#8220;. After finished, run the &#8220;<em>rpmbuild &#8211;showrc</em>&#8221; or the more terse &#8220;<em>rpmbuild &#8211;version command</em>&#8221; to check that it&#8217;s OK. Then let&#8217;s start the configuration.</p>
<p>As an unprivileged user create the following directories:</p>
<pre>mkdir ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}</pre>
<p>These directories are the exact working place, which are actually alternative ones that are different from system default path <em>/usr/src/redhat</em>.</p>
<p>Then, create a new file ~/.rpmmacros and put the following basic macros in it:</p>
<pre>%_topdir      %(echo $HOME)/rpmbuild
%_smp_mflags  -j3
%__arch_install_post   /usr/lib/rpm/check-rpaths   /usr/lib/rpm/check-buildroot</pre>
<p>All macros that are set in ~/.rpmmacros override the system-wide macros that have been set in other locations. The meaning of these directives are listed below:<br />
<strong>%_topdir</strong> macro is the path of the root directory of your RPM building environment, ~/rpmbuild in this case.</p>
<p><strong>%_smp_mflags</strong> macro usually contains only the -j  (–jobs) option for the make command, which defines the number of jobs (make commands) that may run simultaneously. Usually, this is set to the number of CPU cores plus one. So, on a dual core CPU, this flags are set to -j3.</p>
<p><strong>%__arch_install_post</strong> macro contains various checks that should be run on the files in the BUILDROOT location. I trust Fedora guys and use the defaults check-rpaths and check-buildroot on Fedora and CentOS. This macro is optional.</p>
<p>To check which paths are checked for macro files, enter the following command:</p>
<pre>rpm --showrc | grep macrofiles</pre>
<p>For the whole current configuration for RPM building, run &#8220;<em>rpm &#8211;showrc</em>&#8220;. All the available macros can be found in <em>/usr/lib/rpm/macros</em>. From that point you&#8217;re ready to go. Simply install the src.rpm as normal and the files will be unpacked in your new build tree.</p>
<p>It&#8217;s very helpful for you to keep your RHEL installations up-to-date without paying to Redhat, as <a href="https://rhn.redhat.com/errata">RHSA</a> releases all updated source code in SRPM package.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/prepare-rpm-building-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Life Cycle of Redhat Enterprise Linux</title>
		<link>http://www.admon.org/life-cycle-of-redhat-enterprise-linux/</link>
		<comments>http://www.admon.org/life-cycle-of-redhat-enterprise-linux/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 16:24:40 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[System Tuning]]></category>
		<category><![CDATA[enterprise linux]]></category>
		<category><![CDATA[life cycle]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://planet.admon.org/?p=309</guid>
		<description><![CDATA[The Red Hat Enterprise Linux Life Cycle is designed to reduce the level of change within each major release over time increasing predictability and decreasing maintenance costs. Every major version of Red Hat Enterprise Linux is maintained and supported independently during the life cycle. The Life Cycle identifies the various levels of maintenance for each [...]]]></description>
			<content:encoded><![CDATA[<p>The <strong>Red Hat Enterprise Linux</strong> Life Cycle is designed to reduce the level of change within each major release over time increasing predictability and decreasing maintenance costs. Every major version of Red Hat Enterprise Linux is maintained and supported independently during the life cycle.<span id="more-309"></span></p>
<p>The Life Cycle identifies the various levels of maintenance for each major release of <strong>Red Hat Enterprise Linux over a total period of seven years from the initial release date</strong>, which is often referred to as the general availability date. The seven year life cycle for a major release of Red Hat Enterprise Linux is divided into<strong> three phases</strong>.</p>
<p><img class="aligncenter" title="Redhat Enterprise Linux Life Cycle" src="https://www.redhat.com/g/security/7year_approx.png" alt="" width="476" height="99" /></p>
<p><strong>Production 1 Life Cycle Phase</strong></p>
<p>During Production 1, at a minimum, qualified security errata of important and critical impact, as well as, urgent priority bug-fix errata may be released independent of minor releases.</p>
<p>If available, refreshed hardware enablement and select enhanced software functionality may be provided at the discretion of Red Hat, generally via minor releases. Minor releases will also include all available and qualified errata.</p>
<p><strong>Production 2 Life Cycle Phase</strong></p>
<p>During the Production 2 life cycle phase, at a minimum, qualified security errata of important or critical impact, as well as, urgent priority bug-fix errata may be released independent of minor releases.</p>
<p>If available, refreshed hardware enablement that does not require substantial software changes may be provided at the discretion of Red Hat via minor releases. New software functionality is not available during this phase. All available and qualified errata will be provided via the minor releases. The focus for minor releases during this life cycle phase lies on resolving defects with a minimum priority of high.</p>
<p><strong>Production 3 Life Cycle Phase</strong></p>
<p>During Production 3, at a minimum, qualified security errata of important or critical impact and selected mission critical bug fixes may be released independent of minor releases.</p>
<p>No new functionality, new hardware enablement or or updated installation images are planned for release in Production 3 life cycle phase. There are no minor releases planned during this phase.</p>
<p>For detailed information, please refer to <a title="redhat linux life cycle" href="https://www.redhat.com/security/updates/errata/"><strong>this link</strong> at official website</a> <strong>Redhat.com</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/life-cycle-of-redhat-enterprise-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to change default I/O scheduler?</title>
		<link>http://www.admon.org/how-to-change-default-io-scheduler/</link>
		<comments>http://www.admon.org/how-to-change-default-io-scheduler/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 18:00:41 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[System Tuning]]></category>
		<category><![CDATA[IO]]></category>
		<category><![CDATA[kernel-2.6]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[scheduler]]></category>

		<guid isPermaLink="false">http://blog.admon.org/?p=187</guid>
		<description><![CDATA[Red Hat Enterprise Linux 3 with a 2.4 kernel base uses a single, robust, general purpose I/O elevator. The I/O schedulers provided in Red Hat Enterprise Linux 4, embedded in the 2.6 kernel, have advanced the I/O capabilities of Linux significantly. With Red Hat Enterprise Linux 4, applications can now optimize the kernel I/O at [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><a href="http://www.redhat.com/">Red Hat Enterprise Linux</a> 3 with a 2.4 kernel base uses a single,  robust, general purpose I/O elevator. The I/O schedulers provided in  Red Hat Enterprise Linux 4, embedded in the 2.6 kernel, have advanced  the I/O capabilities of Linux significantly. With Red Hat Enterprise  Linux 4, applications can now optimize the kernel I/O at boot time, by  selecting one of four different I/O schedulers to accommodate different  I/O <span id="more-187"></span>usage patterns:</p>
<p>* Completely Fair Queuing—elevator=<strong>cfq</strong> (default)<br />
* Deadline—elevator=<strong>deadline</strong><br />
* NOOP—elevator=<strong>noop</strong><br />
* Anticipatory—elevator=<strong>as</strong></p>
<p>The I/O scheduler can be selected at boot time using the &#8220;<strong>elevator</strong>&#8221;  kernel parameter. In the following example, the system has been  configured to use the deadline scheduler in the grub.conf file.</p>
<p>title Red Hat Enterprise Linux Server (2.6.18-8.el5)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/vg0/lv0 elevator=deadline<br />
initrd /initrd-2.6.18-8.el5.img</p>
<p>In Red Hat Enterprise Linux 5, it is also possible to change the I/O scheduler for a particular disk on the fly.</p>
<p># cat /sys/block/sdb/queue/scheduler<br />
noop anticipatory deadline [cfq]<br />
# echo &#8216;deadline&#8217; &gt; /sys/block/sdb/queue/scheduler<br />
# cat /sys/block/sdb/queue/scheduler<br />
noop anticipatory [deadline] cfq</p>
<p>The following are the tunable files for the  deadline scheduler. They can be tuned to any suitable value according  to hardware performance and software requirements:<br />
<strong><br />
/sys/block/DEVNAME/queue/iosched/read_expire<br />
/sys/block/DEVNAME/queue/iosched/write_expire<br />
/sys/block/DEVNAME/queue/iosched/fifo_batch<br />
/sys/block/DEVNAME/queue/iosched/write_starved<br />
/sys/block/DEVNAME/queue/iosched/front_merges<br />
</strong></p>
<p>DEVNAME is the name of block device (such as sda, sdb, hda, etc)</p>
<p>A  detailed description of the deadline I/O scheduler can be found at:<br />
/usr/share/doc/kernel-[version]/Documentation/block/deadline-iosched.txt.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/how-to-change-default-io-scheduler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redhat and AMD migrate VMs across CPUs</title>
		<link>http://www.admon.org/redhat-and-amd-migrate-vms-across-cpus/</link>
		<comments>http://www.admon.org/redhat-and-amd-migrate-vms-across-cpus/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 08:38:25 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Hardwares]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[amd]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://blog.admon.org/?p=82</guid>
		<description><![CDATA[AMD and REDHAT have just done the so called impossible, and demonstrated VM live migration across CPU architectures. Not only that, they have demonstrated it across CPU vendors, potentially commoditising server  processors. Eeek! The concept is simple, click a button, and your VM moves from one machine to the next. The execution for similar architectures [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amd.com">AMD</a> and <a href="http://www.redhat.com/">REDHAT</a> have just done the so called impossible, and demonstrated VM live migration across CPU architectures. Not only that, they have demonstrated it across CPU vendors, potentially commoditising server  processors. Eeek!<span id="more-82"></span></p>
<p>The concept is simple, click a button, and your VM moves from one machine to the next. The execution for similar architectures has been done for ages, AMD can do it from E-Step Opterons to a promise of Magny Cours. Intel is a little more restrictive, but they can do it between iCore iNumber iNumberals as iwell.</p>
<p>The trick up till now has been to do the same thing between servers from different CPU vendors, it is the holy grail of virtualisation. Please note, there are about 37 holy grails of virtualisation at the moment, so this does not signal the end of days, just that the holy grail clock in Times Square dropped to 36.</p>
<p>If you look at <strong><a href="http://www.amd.com/amdlivemigration01">the video here</a></strong>,you will see that they did it. Live migration while streaming HD video isn&#8217;t all that bad a trick mind you, but doing it between a Barcelona, Shanghai and Intel box is. 36 more of these, and we will be in great shape. original version is <a href="http://www.theinquirer.net/gb/inquirer/news/2008/11/06/redhat-amd-migrate-vms-across">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/redhat-and-amd-migrate-vms-across-cpus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable the IPv6 protocol?</title>
		<link>http://www.admon.org/how-to-disable-the-ipv6-protocol/</link>
		<comments>http://www.admon.org/how-to-disable-the-ipv6-protocol/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 17:48:11 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[System Tuning]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://blog.admon.org/?p=181</guid>
		<description><![CDATA[Mostly you just need to disable IPv6 protocol. But in some case, you do not need it at all or it may increase browsing speed. Linux has Internet Protocol Version 6 (IPv6) enabled. By default, almost all distros enable it. Red Hat and similar ones (like Fedora and CentOS) Open your modprob.conf file and add [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Mostly you just need to disable IPv6 protocol. But in some case, you do  not need it at all or it may increase browsing speed. Linux has  Internet Protocol Version 6 (IPv6) enabled. By default, almost all  distros enable it.</p>
<p><strong>Red Hat and similar ones</strong> (like <a href="http://fedoraproject.org">Fedora</a> and <a href="http://www.centos.org/">CentOS</a>)</p>
<p>Open your <em>modprob.conf</em> file and add following lines:<span id="more-181"></span></p>
<p><em># vi /etc/modprobe.conf</em></p>
<p>Add following line in the bottom:</p>
<p><em>alias ipv6 off</em></p>
<p><em>alias net-pf-10 off</em></p>
<p>The run<tt> <em>chkconfig ip6tables off</em></tt> to disable IPv6 firewalls.  After that reboot your system.</p>
<p>An alternative way (which might be easier and works on any release with /etc/modprobe.d):</p>
<div><em>echo &#8220;install ipv6 /bin/true&#8221; &gt; /etc/modprobe.d/disable-ipv6</em></p>
<p>With CentOS 5.4 update symbol/ipv6 module dependency capabilities have been introduced; therefore, if IPv6 has been previously disabled as above an upgrade to the bonding driver in 5.4 will result in the bonding kernel module failing to load. For the module to load properly use instead:</p></div>
<div><em>echo &#8220;options ipv6 disable=1&#8243; &gt; /etc/modprobe.d/disable-ipv6</em></div>
<div><em><br />
</em></div>
<p><strong>Debian and similar ones </strong>( like <a href="http://www.ubuntu.com">Ubuntu</a>)</p>
<p>If you are running Debian based Linux (like Ubuntu), open file<em> /etc/modprobe.d/aliases<br />
</em> <em># vi /etc/modprobe.d/aliases</em><br />
Find the line:<br />
<em>alias net-pf-10 ipv6</em><br />
Replace to:<br />
<em>alias net-pf-10 off<br />
alias ipv6 off<br />
</em><br />
There is also an alternative method in Debian kernel 2.6:<br />
open &#8220;<em>/etc/modprobe.d/blacklist</em>&#8220;, add a line</p>
<p><em>blacklist ipv6</em></p>
<p>followed by a reboot will be OK.</p>
<p><strong>OpenSuSE</strong> /<strong>SuSE Enterprise Linux</strong> (SuSE 9.1/9.2/9.3/10.0, etc)</p>
<p>the official method to disable IPv6:</p>
<p>open &#8220;<em>/etc/modprobe.conf</em>&#8220;, change the line:</p>
<p><em>alias net-pf-10 ipv6</em></p>
<p>to:</p>
<p><em>alias net-pf-10 ipv6<br />
install ipv6 /bin/true<br />
</em><br />
then, reboot &#8230;</p>
<p>An alternative method is also available in <strong>SuSE</strong> 9.1/9.2/9.3/10.0, Mandriva/Slackware:<br />
Open &#8220;/etc/modprobe.conf&#8221;, make sure you change</p>
<p><em>alias net-pf-10 ipv6</em></p>
<p>to</p>
<p><em>alias net-pf-10 off<br />
alias ipv6 off</em></p>
<p>then, save and reboot the system. IPv6 support will now be disabled and it did improve the DNS performance.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.admon.org/how-to-disable-the-ipv6-protocol/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

