<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="lyceum/1.0.2" -->
<!-- This is 512 bytes of nonsense, since the Firefox 2 developers, in one of the strangest decisions ever, decidedthey would obsolete XML styles by overriding them without permission.  Furthermore, the developers appear to be disinterested in fixing this.  Therefore, we use the unofficial workaround, which includes fillingup the first 512 bytes of a document so that the sniffer doesn't encounter the RSS tag.  I really enjoyusing Firefox, but this particular behavior really annoys me! Anyway, since I'm almost at 512 characters, I'mgoing to ramble on for another minute in this comment, and then, without further adue, present you with avalid XML feed. -->
<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/"
	>

<channel>
	<title>Red Hat Magazine</title>
	<link>http://www.redhatmagazine.com</link>
	<description></description>
	<pubDate>Fri, 08 Aug 2008 19:46:31 +0000</pubDate>
	<generator>http://lyceum.ibiblio.org/?v=1.0.2</generator>
	<language>en</language>
			<item>
		<title>Tips and tricks: Failed dependencies</title>
		<link>http://www.redhatmagazine.com/2008/08/07/tips-and-tricks-failed-dependencies/</link>
		<comments>http://www.redhatmagazine.com/2008/08/07/tips-and-tricks-failed-dependencies/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 21:48:59 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/08/07/tips-and-tricks-failed-dependencies/</guid>
		<description><![CDATA[
Question: I am trying to install a third-party application on my Red Hat Enterprise Linux system but I am getting failed dependencies error messages.  I know that these dependencies are native to Red Hat Enterprise Linux but I do not know which package they belong to.  How do I use my up2date agent [...]]]></description>
			<content:encoded><![CDATA[<p><!-- http://kbase.redhat.com/faq/FAQ_43_4525.shtm --></p>
<p><strong>Question:</strong> I am trying to install a third-party application on my Red Hat Enterprise Linux system but I am getting failed dependencies error messages.  I know that these dependencies are native to Red Hat Enterprise Linux but I do not know which package they belong to.  How do I use my up2date agent to resolve these dependencies?</p>
<p><strong>Answer:</strong> I am getting similar error messages regarding module dependencies when trying to install a third-party <tt CLASS="COMMAND">rpm</tt> package:
<pre>
error: failed dependencies:
      libcap.so    is needed by VMware
      libcap.so.1  is needed by VMware
      libcap.so.1.10  is needed by vsftpd
</pre>
<p>If these module dependencies do exist in any of the packages in Red Hat Enterprise Linux, the following command to automatically resolve these dependencies and install the appropriate packages on your system.</p>
<pre>
up2date  --solvedeps=&lt;module1,moduleN&gt;
</pre>
<p><a id="more-1000"></a></p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/08/07/tips-and-tricks-failed-dependencies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks: I am behind a firewall and can not connect to Red Hat Network (RHN). Is there an FTP site to get the Red Hat Enterprise Linux RPM&#8217;s from?</title>
		<link>http://www.redhatmagazine.com/2008/08/04/tips-and-tricks-i-am-behind-a-firewall-and-can-not-connect-to-red-hat-network-rhn-is-there-an-ftp-site-to-get-the-red-hat-enterprise-linux-rpms-from/</link>
		<comments>http://www.redhatmagazine.com/2008/08/04/tips-and-tricks-i-am-behind-a-firewall-and-can-not-connect-to-red-hat-network-rhn-is-there-an-ftp-site-to-get-the-red-hat-enterprise-linux-rpms-from/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 23:06:01 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/08/04/tips-and-tricks-i-am-behind-a-firewall-and-can-not-connect-to-red-hat-network-rhn-is-there-an-ftp-site-to-get-the-red-hat-enterprise-linux-rpms-from/</guid>
		<description><![CDATA[Unfortunately, there is no FTP server available to obtain updates from Red Hat Network (RHN).  You can only get Red Hat Enterprise Linux RPM&#8217;s from RHN using up2date or by downloading the RPM&#8217;s from https://rhn.redhat.com/.
Alternatively, you can open your firewall to allow access for TCP/UDP connections on port 443 or you can look at [...]]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, there is no FTP server available to obtain updates from <a href="https://rhn.redhat.com/">Red Hat Network</a> (RHN).  You can only get Red Hat Enterprise Linux RPM&#8217;s from RHN using <tt class="COMMAND">up2date</tt> or by downloading the RPM&#8217;s from <a href="https://rhn.redhat.com/">https://rhn.redhat.com/</a>.</p>
<p>Alternatively, you can open your firewall to allow access for TCP/UDP connections on port 443 or you can look at purchasing RHN Proxy Server or RHN Satellite Server.</p>
<p><b>Note:</b> Red Hat Enterprise Linux source RPMs are available from <a href="ftp.redhat.com">ftp.redhat.com</a>. <a id="more-996"></a></p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/08/04/tips-and-tricks-i-am-behind-a-firewall-and-can-not-connect-to-red-hat-network-rhn-is-there-an-ftp-site-to-get-the-red-hat-enterprise-linux-rpms-from/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks:  Is there a way to transfer my subscription from one RHN account to another?</title>
		<link>http://www.redhatmagazine.com/2008/08/01/tips-and-tricks-is-there-a-way-to-transfer-my-subscription-from-one-rhn-account-to-another/</link>
		<comments>http://www.redhatmagazine.com/2008/08/01/tips-and-tricks-is-there-a-way-to-transfer-my-subscription-from-one-rhn-account-to-another/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 22:17:14 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/08/01/tips-and-tricks-is-there-a-way-to-transfer-my-subscription-from-one-rhn-account-to-another/</guid>
		<description><![CDATA[
Customer entitlements and subscriptions (for Red Hat&#174; Enterprise Linux&#174; or other applications) can be transferred from one Red Hat Network (RHN) account to another by our Customer Service team.  However, system profiles and associated Red Hat Network web login accounts cannot be transferred.  
In order to transfer a system profile, the following must [...]]]></description>
			<content:encoded><![CDATA[<p><!-- http://kbase.redhat.com/faq/FAQ_58_2831.shtm --></p>
<p>Customer entitlements and subscriptions (for Red Hat&reg; Enterprise Linux&reg; or other applications) can be transferred from one <a href="https://rhn.redhat.com/">Red Hat Network</a> (RHN) account to another by our Customer Service team.  However, system profiles and associated Red Hat Network web login accounts cannot be transferred.  </p>
<p>In order to transfer a system profile, the following must happen:</p>
<ul>
<li>the entitlement for the system must first be transferred by Customer Service</li>
<li>the user must delete the system profile from the old account</li>
<li>the user must re-register the system with the desired account for updates</li>
</ul>
<p>Please contact <a href="mailto:customerservice@redhat.com">Customer Service</a> with your desired RHN account information and entitlement transfer request.  The request must originate from the email address registered on the original account and must cc the email address listed on the account where you wish to transfer your entitlements.<a id="more-994"></a></p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/08/01/tips-and-tricks-is-there-a-way-to-transfer-my-subscription-from-one-rhn-account-to-another/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks: What are the options available in kickstart for controlling the behaviour of SELinux?</title>
		<link>http://www.redhatmagazine.com/2008/07/28/tips-and-tricks-what-are-the-options-available-in-kickstart-for-controlling-the-behaviour-of-selinux/</link>
		<comments>http://www.redhatmagazine.com/2008/07/28/tips-and-tricks-what-are-the-options-available-in-kickstart-for-controlling-the-behaviour-of-selinux/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 20:32:15 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/07/28/tips-and-tricks-what-are-the-options-available-in-kickstart-for-controlling-the-behaviour-of-selinux/</guid>
		<description><![CDATA[
Release Found: Red Hat&#174; Enterprise Linux&#174; 4
The following options can be used in the kickstart configuration file to control SELinux behaviour in a kickstart installation.
1. selinux &#8211;enforcing: Enables SELinux with the default targeted policy being enforced.
2. selinux &#8211;permissive: Outputs warnings only based on the SELinux policy, but does not actually enforce the policy.
3. selinux &#8211;disabled: [...]]]></description>
			<content:encoded><![CDATA[<p><!-- http://kbase.redhat.com/faq/FAQ_93_9212.shtm  --></p>
<p><b>Release Found:</b> Red Hat&reg; Enterprise Linux&reg; 4<br />
The following options can be used in the kickstart configuration file to control SELinux behaviour in a kickstart installation.</p>
<p>1. <tt class="command">selinux &#8211;enforcing</tt>: Enables SELinux with the default targeted policy being enforced.</p>
<p>2. <tt class="command">selinux &#8211;permissive</tt>: Outputs warnings only based on the SELinux policy, but does not actually enforce the policy.</p>
<p>3. <tt class="command">selinux &#8211;disabled</tt>: Disables SELinux completely on the system.</p>
<p>If any SELinux option is not present in the kickstart file then SELinux is enabled by default and set to <tt class="command">&#8211;enforcing</tt>.</p>
<p><b>Note:</b> The <tt class="command">system-config-securitylevel-tui</tt> package is required for controlling the SELinux policies. If this package is removed from the kickstart configuration file, SELinux will set to <tt class="command">&#8211;enforcing</tt> mode by default irrespective of the SELinux options.</p>
<p>It should be noted that Red Hat does not recommend disabling SELinux.</p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/07/28/tips-and-tricks-what-are-the-options-available-in-kickstart-for-controlling-the-behaviour-of-selinux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks: Why do I receive an error after updating to Red Hat Enterprise 3 update 4 using up2date?</title>
		<link>http://www.redhatmagazine.com/2008/07/21/tips-and-tricks-why-do-i-receive-the-error-could-not-determine-what-version-of-red-hat-linux-you-are-running-after-updating-to-red-hat-enterprise-3-update-4-using-up2date/</link>
		<comments>http://www.redhatmagazine.com/2008/07/21/tips-and-tricks-why-do-i-receive-the-error-could-not-determine-what-version-of-red-hat-linux-you-are-running-after-updating-to-red-hat-enterprise-3-update-4-using-up2date/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 00:37:04 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/07/21/tips-and-tricks-why-do-i-receive-the-error-could-not-determine-what-version-of-red-hat-linux-you-are-running-after-updating-to-red-hat-enterprise-3-update-4-using-up2date/</guid>
		<description><![CDATA[
Release Found: Red Hat&#174; Enterprise Linux&#174; 3, Update 4
Symptom:
After doing a complete update to Red Hat Enterprise Linux 3 Update 4, any further attempts to run up2date result in the following error:

# up2date --dry-run
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1174, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line [...]]]></description>
			<content:encoded><![CDATA[<p><!-- http://kbase.redhat.com/faq/FAQ_58_4770.shtm  --></p>
<p><b>Release Found:</b> Red Hat&reg; Enterprise Linux&reg; 3, Update 4</p>
<p><b>Symptom:</b><br />
After doing a complete update to Red Hat Enterprise Linux 3 Update 4, any further attempts to run <tt class="command">up2date</tt> result in the following error:</p>
<pre>
# up2date --dry-run
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1174, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line 668, in main
    up2dateAuth.updateLoginInfo()
  File "up2dateAuth.py", line 151, in updateLoginInfo
  File "up2dateAuth.py", line 105, in login
  File "up2dateAuth.py", line 49, in maybeUpdateVersion
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 228,
    in getVersion
    release, version = getOSVersionAndRelease()
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 221,
    in getOSVersionAndRelease
    raise up2dateErrors.RpmError(
up2date_client.up2dateErrors.RpmError: RPM error.  The message was:
Could not determine what version of Red Hat Linux you are running.
If you get this error, try running 

                rpm --rebuilddb
</pre>
<p><a id="more-979"></a></p>
<p><b>Solution: </b></p>
<p>Additional articles in the <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> provide information on how to remove the locks from the RPM database.</p>
<p>You will need to either download the redhat-release package for your system from <a href="https://rhn.redhat.com/">Red Hat Network</a> (RHN) or if the RPM package is available install it from the <tt>/var/spool/up2date</tt> directory with the command:</p>
<pre>
# rpm -Uvh /var/spool/up2date/redhat-release*.rpm
</pre>
<p>You may have to add the <tt>&#8211;nodeps</tt> option to the above command if the provided options fails to execute.</p>
<p>Finally, sync your system profile with Red Hat Network:</p>
<pre>
# up2date -p
</pre>
<p>Once these steps are completed, the system will be able continue to update from Red Hat Network.</p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/07/21/tips-and-tricks-why-do-i-receive-the-error-could-not-determine-what-version-of-red-hat-linux-you-are-running-after-updating-to-red-hat-enterprise-3-update-4-using-up2date/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks: How do I setup device-mapper multipathing in Red Hat Enterprise Linux 4?</title>
		<link>http://www.redhatmagazine.com/2008/07/17/tips-and-tricks-how-do-i-setup-device-mapper-multipathing-in-red-hat-enterprise-linux-4/</link>
		<comments>http://www.redhatmagazine.com/2008/07/17/tips-and-tricks-how-do-i-setup-device-mapper-multipathing-in-red-hat-enterprise-linux-4/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 23:17:13 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/07/17/tips-and-tricks-how-do-i-setup-device-mapper-multipathing-in-red-hat-enterprise-linux-4/</guid>
		<description><![CDATA[Release Found: Red Hat Enterprise Linux 4 Update 2 and later
In order to setup device-mapper-multipathing an updated system with the package device-mapper-multipath is recommended.
This functionality does not exist in releases of Red Hat Enterprise Linux 4 prior to Update 2.
To set up device-mapper multipathing, edit the /etc/multipath.conf file.  Comment out the following lines at [...]]]></description>
			<content:encoded><![CDATA[<p><!--  http://kbase.redhat.com/faq/FAQ_51_7170.shtm --><strong>Release Found:</strong> Red Hat Enterprise Linux 4 Update 2 and later</p>
<p>In order to setup device-mapper-multipathing an updated system with the package <tt class="command">device-mapper-multipath</tt> is recommended.</p>
<p>This functionality does not exist in releases of Red Hat Enterprise Linux 4 prior to Update 2.</p>
<p>To set up device-mapper multipathing, edit the <tt class="command">/etc/multipath.conf</tt> file.  Comment out the following lines at the top of the file:</p>
<pre>
devnode_blacklist {
        devnode "*"
}
</pre>
<p>For example:</p>
<pre>
# devnode_blacklist {
#        devnode "*"
# }
</pre>
<p><a id="more-974"></a></p>
<p>This section keeps device-mapper multipathing from scanning all of the devices. Uncomment the following section of the <tt class="command">/etc/multipath.conf</tt> file:</p>
<pre>
defaults {
       multipath_tool  "/sbin/multipath -v0"
       udev_dir        /dev
       polling_interval 10
       default_selector        "round-robin 0"
       default_path_grouping_policy    multibus
       default_getuid_callout  "/sbin/scsi_id -g -u -s /block/%n"
       default_prio_callout    "/bin/true"
       default_features        "0"
       rr_min_io              100
       failback                immediate
}
blacklist {
        wwid 26353900f02796769
       devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
       devnode "^hd[a-z][[0-9]*]"
       devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}
</pre>
<p>This sets the default device-mapper behavior and filters out all the devices that are not normally multipathed, such as IDE hard drives and floppy drives.</p>
<p>In order to use simple failover behaviour, the <tt class = "command">default_path_grouping_policy</tt> option in the defaults section should be changed to failover as illustrated by the sample below:</p>
<pre>
defaults {
       multipath_tool  "/sbin/multipath -v0"
       udev_dir        /dev
       polling_interval 10
       default_selector        "round-robin 0"
       <strong>default_path_grouping_policy    failover</strong>
       default_getuid_callout  &#8220;/sbin/scsi_id -g -u -s /block/%n&#8221;
       default_prio_callout    &#8220;/bin/true&#8221;
       default_features        &#8220;0&#8243;
       rr_min_io              100
       failback                immediate
}
</pre>
<p>Save the configuration file and exit the editor.  Execute the following commands:</p>
<pre>
modprobe dm-multipath
modprobe dm-round-robin
service multipathd start
multipath -v2
</pre>
<p>The <tt class="command">multipath -v2</tt> command prints out multipathed paths that show which devices are multipathed.  If the command does not print anything out, ensure that all SAN connections are set up properly and the system is multipathed.  Execute this command to make sure that the multipath daemon starts on bootup:</p>
<pre>
chkconfig multipathd on
</pre>
<p>The devices will be created as <tt class="command">/dev/mapper/mpath#</tt>, where # is the multipathed group.  If <tt class="command">/dev/sda</tt> is the only multipathed device, <tt class="command">/dev/mapper/mpath0</tt> will be the multipathed device for <tt class="command">/dev/sda</tt> and <tt class="command">/dev/sdb</tt>.  Note that <tt class="command">fdisk</tt> cannot be used with <tt class="command">/dev/dm-#</tt> devices. Use <tt class="command">fdisk</tt> on the underlying disks and execute the following command when device-mapper multipath maps the device to create a <tt class="command">/dev/mapper/mpath#</tt> device for the partition:</p>
<pre class="showCommand">kpartx -a /dev/mapper/mpath#</pre>
<p>Note: <tt class="command">dmsetup ls &#8211;target=multipath</tt> is a command that helps determine multipath devices assignments on a system.</p>
<p>If the hardware is not mentioned in the multipathing database, please view the article &#8220;How can I add more products into the mutipathing database?&#8221; in the Recommended FAQs section.</p>
<p>For an updated sample configuration file, see <tt class="command">/usr/share/doc/device-mapper-multipath-&lt;version&gt;/multipath.conf.annotated</tt></p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/07/17/tips-and-tricks-how-do-i-setup-device-mapper-multipathing-in-red-hat-enterprise-linux-4/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks: What is the procedure to resize an LVM2 logical volume and the ext2 or ext3 filesystem?</title>
		<link>http://www.redhatmagazine.com/2008/07/16/tips-and-tricks-what-is-the-procedure-to-resize-an-lvm2-logical-volume-and-the-ext2-or-ext3-filesystem/</link>
		<comments>http://www.redhatmagazine.com/2008/07/16/tips-and-tricks-what-is-the-procedure-to-resize-an-lvm2-logical-volume-and-the-ext2-or-ext3-filesystem/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 00:05:07 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/07/16/tips-and-tricks-what-is-the-procedure-to-resize-an-lvm2-logical-volume-and-the-ext2-or-ext3-filesystem/</guid>
		<description><![CDATA[It is recommended that a resizing procedure be tested before performing it on a filesystem that contains critical data. It is also strongly recommended that data backups are created and verified before resizing filesystems. To assist the reader in becoming familiar with the resizing procedure, the rest of this article describes a scenario in which [...]]]></description>
			<content:encoded><![CDATA[<p><!--  http://kbase.redhat.com/faq/FAQ_96_4842.shtm -->It is recommended that a resizing procedure be tested before performing it on a filesystem that contains critical data. It is also strongly recommended that data backups are created and verified before resizing filesystems. To assist the reader in becoming familiar with the resizing procedure, the rest of this article describes a scenario in which un-partitioned disk space is used to test logical volume and ext3 filesystem resizing.</p>
<p>In this test procedure, first we create a new partition (/dev/hda2) using un-partitioned disk space. A new volume group (TestVG) and logical volume (TestLV) are then created using a physical volume created on the partition. An ext3 filesystem is then created on the logical volume, it is checked, and then mounted. A new physical volume (/dev/hda3) using the rest of the un-partioned disk space is then created and added to the volume group and logical volume. Finally, the filesystem on the logical volume is resized, and the integrity of the filesystem is checked.<a id="more-972"></a></p>
<p>In this test procedure, the <tt class="COMMAND">parted</tt>, <tt class="COMMAND">lvm</tt>, <tt class="COMMAND">mount</tt>, <tt class="COMMAND">mkfs.ext3</tt>, <tt class="COMMAND">df</tt>, <tt class="COMMAND">e2fsck</tt> and <tt class="COMMAND">ext2online</tt> programs are used. The reader is encouraged to become familiar with these programs by consulting the manual pages. For example:</p>
<pre class="screen">
# man parted

PARTED(8)                          GNU Parted Manual          PARTED(8)

NAME
       GNU Parted - a partition manipulation program

SYNOPSIS
       parted [options] [device [command [options...]...]]
...
</pre>
<p>The <tt class="COMMAND">parted</tt> and <tt class="COMMAND">lvm</tt> programs can be run in either interactive or non-interactive mode. This article restricts all the examples to non-interactive modes. The reader is also encouraged to consult the <tt class="COMMAND">parted</tt> and <tt class="COMMAND">lvm</tt> online help available for all their built in commands to understand the command syntax for these programs.</p>
<h3>Creating a new partition for the new physical volume</h3>
<p>The <tt class="COMMAND">parted</tt> program can be used to verify that un-partitioned disk space is available using the print command:</p>
<pre class="screen">
# parted /dev/hda print
Disk geometry for /dev/hda: 0.000-76318.054 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    101.975  primary   ext3        boot
4      31118.093  76316.594  extended
5      31220.099  76316.594  logical   ext3        lvm
Information: Don't forget to update /etc/fstab, if necessary.
</pre>
<p>In this case the output of the <tt class="COMMAND">parted</tt> print command shows that there is unallocated space between 101.975 (At the end of partition 1) to 31118.093 (The beginning of partition 4) on the <tt class="COMMAND">/dev/hda</tt> device.</p>
<p>A new partition is created using only some of the available disk space, using the <tt class="COMMAND">parted</tt> mkpart command, then the print command is used to verify:</p>
<pre class="screen">
# parted /dev/hda "mkpart primary 101.976 2500"
Information: Don't forget to update /etc/fstab, if necessary.

# parted /dev/hda print
Disk geometry for /dev/hda: 0.000-76318.054 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    101.975  primary   ext3        boot
2        101.975   2502.312  primary   ext3
4      31118.093  76316.594  extended
5      31220.099  76316.594  logical   ext3        lvm
Information: Don't forget to update /etc/fstab, if necessary.
</pre>
<h3>Create the new physical volume on the new partition</h3>
<p>The <tt class="COMMAND">lvm</tt> program is used to manipulate LVM2 volume groups, logical volumes and physical volumes. First use the <tt class="COMMAND">lvm</tt> pvs command to list the physical volumes already present. Then the pvcreate command is used to create the new physical volume using the new partition, and the pvs again to verify the new physical volume:</p>
<pre class="screen">
# lvm pvs
  PV         VG         Fmt  Attr PSize  PFree
  /dev/hda5  VolGroup00 lvm2 a-   44.03G    0

# lvm pvcreate /dev/hda2
  Physical volume "/dev/hda2" successfully created

# lvm pvs
  PV         VG         Fmt  Attr PSize  PFree
  /dev/hda2             lvm2 --    2.34G 2.34G

  /dev/hda5  VolGroup00 lvm2 a-   44.03G    0
</pre>
<h3>Create a new volume group for a new logical volume</h3>
<p>When creating a new volume group, at least one physical volume must be available. That physical volume must be used to create the new volume group. Notice that a volume group called &#8216;VolGrouop00&#8242; already exists:</p>
<pre class="screen">
# lvm vgs
  VG         #PV #LV #SN Attr  VSize  VFree
  VolGroup00   1   2   0 wz--n 44.03G    0

# lvm vgcreate TestVG /dev/hda2
  Volume group "TestVG" successfully created

# lvm vgs
  VG         #PV #LV #SN Attr  VSize  VFree
  TestVG       1   0   0 wz--n  2.34G 2.34G
  VolGroup00   1   2   0 wz--n 44.03G    0
</pre>
<p>Note that new volume groups must be activated using the <tt class="COMMAND">lvm</tt> vgchange -a y command:</p>
<pre class="screen">
# lvm vgchange -a y TestVG
  0 logical volume(s) in volume group "TestVG" now active
</pre>
<p>Now there is a new directory in /dev for the volume group:</p>
<pre class="screen">
# ls -ld /dev/TestVG
drwx------  2 root root 60 Jan 17 17:48 /dev/TestVG
</pre>
<h3>Create a test logical volume in the new volume group</h3>
<p>In this case I wish to allocate all of the volume group&#8217;s physical extent (available disk space) to a new logical volume. First I use the <tt class="COMMAND">lvm</tt> vgdisplay command to show details of the TestVG volume group:</p>
<pre class="screen">
# lvm vgdisplay TestVG
  --- Volume group ---
  VG Name               TestVG
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  1
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               2.34 GB
  PE Size               4.00 MB
  Total PE              598
  Alloc PE / Size       0 / 0
  Free  PE / Size       598 / 2.34 GB
  VG UUID               ebStj9-3KYx-asoc-JBt3-N9kU-vONW-4VdpTB
</pre>
<p>The total free physical extent of the volume group is &#8220;Free  PE / Size       598 / 2.34 GB&#8221;, so I will use the value 598 in the <tt class="COMMAND">lvm</tt> lvcreate command to create the new logical volume:</p>
<pre class="screen">
# lvm lvs
  LV       VG         Attr   LSize  Origin Snap%  Move Copy%
  LogVol00 VolGroup00 -wi-ao 43.03G
  LogVol01 VolGroup00 -wi-ao  1.00G

# lvm lvcreate -l598 TestVG -nTestLV
  Logical volume "TestLV" created

# lvm lvs
  LV       VG         Attr   LSize  Origin Snap%  Move Copy%
  TestLV   TestVG     -wi-a-  2.34G
  LogVol00 VolGroup00 -wi-ao 43.03G
  LogVol01 VolGroup00 -wi-ao  1.00G
</pre>
<p>Now a new device has been added to the <tt class="COMMAND">/dev/TestVG</tt> directory:</p>
<pre class="screen">
# ls -l /dev/TestVG
total 0
lrwxrwxrwx  1 root root 25 Jan 17 17:48 TestLV -> /dev/mapper/TestVG-TestLV
</pre>
<p>The new device is in fact a symbolic link to <tt class="COMMAND">/dev/mapper/TestVG-TestLV</tt> which is the device node created by the device mapper.</p>
<h3>Create a file system on the new logical volume</h3>
<p>The new file system on the logical volume is created by using the <tt class="COMMAND">mkfs.ext3</tt> program:</p>
<pre class="screen">
# mkfs.ext3 /dev/TestVG/TestLV
mke2fs 1.35 (28-Feb-2004)
max_blocks 627048448, rsv_groups = 19136, rsv_gdb = 149
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
306432 inodes, 612352 blocks
30617 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=629145600
19 block groups
32768 blocks per group, 32768 fragments per group
16128 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Writing inode tables: done
inode.i_blocks = 7160, i_size = 4243456
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
</pre>
<p>Then check the file system using <tt class="COMMAND">e2fsck</tt> program:</p>
<pre class="screen">
#  e2fsck -f /dev/TestVG/TestLV
e2fsck 1.35 (28-Feb-2004)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/TestVG/TestLV: 11/306432 files (9.1% non-contiguous), 18728/612352 blocks
</pre>
<h3>Mount the new file system</h3>
<p>Before mounting the new file system , I create a new mount point, then <tt class="COMMAND">mount</tt> the new logical volume&#8217;s file system on that mount point. After mounting the file system, I ran the <tt class="COMMAND">df</tt> program to verify the disk space available:</p>
<pre class="screen">
# mkdir /mnt/test
# mount /dev/TestVG/TestLV /mnt/test

# df -h /mnt/test
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/TestVG-TestLV
                      2.3G   36M  2.2G   2% /mnt/test
</pre>
<h2>The resize test procedure</h2>
<p>This is the general procedure to resize a filesystem. Begin by adding a new physical volume.</p>
<h3>Create a new partition that will contain a new physical volume</h3>
<p>Using <tt class="COMMAND">parted</tt> as before, I run the print command to view the partitions, and then mkpart to create a new partition:</p>
<pre class="screen">
# parted /dev/hda print
Disk geometry for /dev/hda: 0.000-76318.054 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    101.975  primary   ext3        boot
2        101.975   2502.312  primary   ext3
4      31118.093  76316.594  extended
5      31220.099  76316.594  logical   ext3        lvm
Information: Don't forget to update /etc/fstab, if necessary.
</pre>
<p>There is un-partitioned disk space available between 2502.312 (The end of partition 2) and 31118.093 (The beginning of partition 4):</p>
<pre class="screen">
# parted /dev/hda "mkpart primary 2502.313 31118.092"
Information: Don't forget to update /etc/fstab, if necessary.

# parted /dev/hda print
Disk geometry for /dev/hda: 0.000-76318.054 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    101.975  primary   ext3        boot
2        101.975   2502.312  primary   ext3
3       2502.312  31118.093  primary
4      31118.093  76316.594  extended
5      31220.099  76316.594  logical   ext3        lvm
Information: Don't forget to update /etc/fstab, if necessary.
</pre>
<h3>Create the physical volume</h3>
<p>The new physical volume is created as before, by running the <tt class="COMMAND">lvm</tt> pvcreate command. The new physical volume will be on <tt class="COMMAND">/dev/hda3</tt>:</p>
<pre class="screen">
# lvm pvs
  PV         VG         Fmt  Attr PSize  PFree
  /dev/hda2  TestVG     lvm2 a-    2.34G    0
  /dev/hda5  VolGroup00 lvm2 a-   44.03G    0

# lvm pvcreate /dev/hda3
  Physical volume "/dev/hda3" successfully created

# lvm pvs
  PV         VG         Fmt  Attr PSize  PFree
  /dev/hda2  TestVG     lvm2 a-    2.34G     0
  /dev/hda3             lvm2 --   27.94G 27.94G
  /dev/hda5  VolGroup00 lvm2 a-   44.03G     0
</pre>
<h3>Add the physical volume to the volume group</h3>
<p>The physical volume is added to the TestVG volume group using the <tt class="COMMAND">lvm</tt> vgextend command:</p>
<pre class="screen">
# lvm vgextend TestVG /dev/hda3
  Volume group "TestVG" successfully extended

# lvm pvs
  PV         VG         Fmt  Attr PSize  PFree
  /dev/hda2  TestVG     lvm2 a-    2.34G     0
  /dev/hda3  TestVG     lvm2 a-   27.94G 27.94G
  /dev/hda5  VolGroup00 lvm2 a-   44.03G     0
</pre>
<h3>Extend the logical volume in the volume group</h3>
<p>As before, first look at the physical extent of the volume group using the <tt class="COMMAND">lvm</tt> vgdisplay command. It shows that TestVG has 7153 free extents in &#8220;Free  PE / Size       7153 / 27.94 GB&#8221;:</p>
<pre class="screen">
# lvm vgdisplay TestVG
  --- Volume group ---
  VG Name               TestVG
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               30.28 GB
  PE Size               4.00 MB
  Total PE              7751
  Alloc PE / Size       598 / 2.34 GB
  Free  PE / Size       7153 / 27.94 GB
  VG UUID               ebStj9-3KYx-asoc-JBt3-N9kU-vONW-4VdpTB
</pre>
<p>I wish to use all the free physical extents on the volume group. I do this using the <tt class="COMMAND">lvm</tt> lvextend command with the option  -l+7153 . This adds the 7153 free extents to the logical volume:</p>
<pre class="screen">
# lvm lvextend -l+7153 /dev/TestVG/TestLV
  Extending logical volume TestLV to 30.28 GB
  Logical volume TestLV successfully resized
</pre>
<p>The file system now has space on the logical volume in which to grow.</p>
<h3>Resize the file system</h3>
<p>After extending the volume group and the logical volume, it is now possible to resize the file system. This is done using <tt class="COMMAND">ext2online</tt>. First I verify the file system size, perform the resize, and then verify the size again:</p>
<pre class="screen">
# df -h /mnt/test
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/TestVG-TestLV
                      2.3G   36M  2.2G   2% /mnt/test

# ext2online /dev/TestVG/TestLV
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b

# df -h /mnt/test
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/TestVG-TestLV
                       30G   39M   29G   1% /mnt/test
</pre>
<h3>Check the file system integrity after the resize</h3>
<p>The file system should be un-mounted before doing a file system check:</p>
<pre class="screen">
#  e2fsck -f /dev/TestVG/TestLV
e2fsck 1.35 (28-Feb-2004)
/dev/TestVG/TestLV is mounted.

WARNING!!!  Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

Do you really want to continue (y/n)? no

check aborted.

# umount /mnt/test

#  e2fsck -f /dev/TestVG/TestLV
e2fsck 1.35 (28-Feb-2004)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/TestVG/TestLV: 11/3919104 files (9.1% non-contiguous), 132827/7937024 blocks
</pre>
<h3>Conclusion</h3>
<p>The procedure to test online resizing of filesystems is quite complex. So it is important to practice the procedure and become familiar with the programs and commands. Once this is done, and reasonable precautions such as backing up important data are taken, it should be safe to resize your filesystems.</p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/07/16/tips-and-tricks-what-is-the-procedure-to-resize-an-lvm2-logical-volume-and-the-ext2-or-ext3-filesystem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks: What is a Red Hat Enterprise Linux Installation Number and where do I get it?</title>
		<link>http://www.redhatmagazine.com/2008/07/14/tips-and-tricks-what-is-a-red-hat-enterprise-linux-installation-number-and-where-do-i-get-it/</link>
		<comments>http://www.redhatmagazine.com/2008/07/14/tips-and-tricks-what-is-a-red-hat-enterprise-linux-installation-number-and-where-do-i-get-it/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 20:23:14 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/07/14/tips-and-tricks-what-is-a-red-hat-enterprise-linux-installation-number-and-where-do-i-get-it/</guid>
		<description><![CDATA[The Red Hat Enterprise Linux 5 Installation Number is a 16-character hexadecimal text string used during the installation process. The installation number enables a user to install the full set of supported packages included with the subscription. For a limited set of Red Hat Enterprise Linux subscribers, the installation number is also used to activate [...]]]></description>
			<content:encoded><![CDATA[<p>The Red Hat Enterprise Linux 5 Installation Number is a 16-character hexadecimal text string used during the installation process. The installation number enables a user to install the full set of supported packages included with the subscription. For a limited set of Red Hat Enterprise Linux subscribers, the installation number is also used to activate subscriptions for additional Red Hat products and services. It replaces the Subscription Number from earlier versions of Red Hat Enterprise Linux.</p>
<p><b>Why use an installation number?</b></p>
<p>The Red Hat Enterprise Linux 5 installation trees and ISO images, in addition to the core operating system, contain a number of optional components. The Installation Number entered by the user during the installation process guides the Installer to include the correct components that match the user&#8217;s Red Hat Enterprise Linux Subscription. With certain types of Subscriptions it is also used to activate the Subscription in Red Hat Network. When registering the system to <a href="https://rhn.redhat.com" target="blank">Red Hat Network</a> (RHN), the Installation  number is used to automatically subscribe the system to the right child channels. Finally it can be used by the customer to verify compliance to the subscription and might be requested by Red Hat Support when reporting an incident.<a id="more-969"></a></p>
<p><b>What about installation of multiple systems?</b></p>
<p>When installing multiple systems using a Kickstart file, the Installation Number can be embedded in that Kickstart file. As Installation Numbers identify the Subscription features, they are not unique per system. Thus an identical Installation Number can be used for several systems that share the same Subscription options including Variant and SLA.</p>
<p><b>Is the use of the Installation Number mandatory?</b></p>
<p>While not recommended to do, the user has the option to skip entering the installation number or to override it in a Kickstart file. In that case the  Red Hat Enterprise Linux 5 installer will only offer the core operating system components for installation, a behavior similar to the installers in earlier versions of Red Hat Enterprise Linux.</p>
<p>The installation number for the Red Enterprise Linux 5 subscription can be found in several places, including:</p>
<ol>
<li>The new subscription activation email, received by your Red Hat Network Organization Administrator (the user who first established the Red Hat account) or your company&#8217;s purchasing contact named on the order. The subject line for the new subscription activation email is the New Subscription Activation key of the product.</li>
<li>Red Hat Subscription Management:<br />
<a href="http://www.redhat.com/apps/support/IN.html">http://www.redhat.com/apps/support/IN.html</a></li>
<li>Red Hat Customer Service:<br />
<a href="http://www.redhat.com/about/contact/dir/#custservice">http://www.redhat.com/about/contact/dir/#custservice</a></li>
</ol>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
<p><!-- http://kbase.redhat.com/faq/FAQ_103_8967.shtm  --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/07/14/tips-and-tricks-what-is-a-red-hat-enterprise-linux-installation-number-and-where-do-i-get-it/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks:  How do I apply package updates from Red Hat Network?</title>
		<link>http://www.redhatmagazine.com/2008/07/09/tips-and-tricks-how-do-i-apply-package-updates-from-red-hat-network/</link>
		<comments>http://www.redhatmagazine.com/2008/07/09/tips-and-tricks-how-do-i-apply-package-updates-from-red-hat-network/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 22:25:56 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/07/09/tips-and-tricks-how-do-i-apply-package-updates-from-red-hat-network/</guid>
		<description><![CDATA[Before installing an update, make sure all previously released errata relevant to the system have been applied.
To use Red Hat Network (RHN) from Red Hat Enterprise Linux 2.1, 3, or 4, launch the interactive Red Hat Update Agent with the command:

# up2date

To find more information about the command line options available for up2date, use the [...]]]></description>
			<content:encoded><![CDATA[<p><!-- http://kbase.redhat.com/faq/FAQ_58_10188.shtm  -->Before installing an update, make sure all previously released errata relevant to the system have been applied.</p>
<p>To use <a href="https://rhn.redhat.com/" target="blank">Red Hat Network</a> (RHN) from Red Hat Enterprise Linux 2.1, 3, or 4, launch the interactive Red Hat Update Agent with the command:</p>
<pre class="screen">
# up2date
</pre>
<p>To find more information about the command line options available for <tt class="command">up2date</tt>, use the command:</p>
<pre class="screen">
# man up2date
</pre>
<p>To use Red Hat Network (RHN) for Red Hat Enterprise Linux 5, launch the graphical Update tool with the command:</p>
<pre class="screen">
# pup
</pre>
<p>Alternatively, for a command-line interface, use the command:</p>
<pre class="screen">
# yum update
</pre>
<p>To find more information about the command line options available for <tt class="command">yum</tt>, use the command:</p>
<pre class="screen">
# man yum
</pre>
<p><a id="more-964"></a></p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/07/09/tips-and-tricks-how-do-i-apply-package-updates-from-red-hat-network/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks: Create and register a new Red Hat Directory Server 8.0 instance on a remote configuration server</title>
		<link>http://www.redhatmagazine.com/2008/07/07/tips-and-tricks-create-and-register-a-new-red-hat-directory-server-80-instance-on-a-remote-configuration-server/</link>
		<comments>http://www.redhatmagazine.com/2008/07/07/tips-and-tricks-create-and-register-a-new-red-hat-directory-server-80-instance-on-a-remote-configuration-server/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 22:29:17 +0000</pubDate>
		<dc:creator>the editorial team</dc:creator>
		
		<category>tips and tricks</category>

		<guid isPermaLink="false">http://www.redhatmagazine.com/2008/07/07/tips-and-tricks-create-and-register-a-new-red-hat-directory-server-80-instance-on-a-remote-configuration-server/</guid>
		<description><![CDATA[Product: Red Hat Directory Server
Version: 8.0 on Red Hat Enterprise Linux 4 Update 5
Creating new directory server instances can be done from the command line, with the script setup-ds-admin.pl as described in the Installation Guide, 6.2.1. Creating a New Directory Server Instance
If you are unable to register a new Red Hat Directory Server 8.0 instance [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Product:</strong> Red Hat Directory Server<br />
<strong>Version:</strong> 8.0 on Red Hat Enterprise Linux 4 Update 5</p>
<p>Creating new directory server instances can be done from the command line, with the script setup-ds-admin.pl as described in the Installation Guide, <a href="http://www.redhat.com/docs/manuals/dir-server/install/8.0/Installation_Guide-Advanced_Configuration-Making-DS.html#Installation_Guide-Advanced_Configuration-Making-new-DS-Instance">6.2.1. Creating a New Directory Server Instance</a></p>
<p>If you are unable to register a new Red Hat Directory Server 8.0 instance with the script setup-ds-admin.pl to a remote configuration server, build<br />
Red Hat-Directory/8.0.0 B2007.353.1757<a id="more-959"></a></p>
<p>And are getting this error message:</p>
<pre>
Error adding entry 'cn=Red Hat Directory Server, cn=Server Group,
cn=host.example.com, ou=example.com, o=NetscapeRoot'. Error: No such object
Could not register the directory server with the configuration directory server.
</pre>
<p>Create the following 2 entries on the configuration Directory Server:</p>
<p><strong>Note:</strong> Replace example.com with the real domain and host.example.com with the real hostname.</p>
<pre>
dn: cn=host.example.com, ou=example.com, o=NetscapeRoot
objectclass: top
objectclass: nsHost
objectclass: groupOfUniqueNames
cn: host.example.com
nsosversion: output of uname -a on the machine
nshardwareplatform: arch e.g. i386 or x86_64 or ...
serverHostName: host.example.com
</pre>
<pre>
dn: cn=Server Group, cn=host.example.com, ou=example.com, o=NetscapeRoot
objectclass: top
objectclass: nsAdminGroup
objectclass: nsDirectoryInfo
objectclass: groupOfUniqueNames
nsAdminGroupName: Server Group
nsDirectoryInfoRef: cn=User Directory, ou=Global Preferences, ou=example.com,
o=NetscapeRoot
</pre>
<p>Bugzilla reference 431103</p>
<p class="authorblurb">Red Hat&#8217;s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to <a href="http://kbase.redhat.com/">Red Hat Knowledgebase</a> is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redhatmagazine.com/2008/07/07/tips-and-tricks-create-and-register-a-new-red-hat-directory-server-80-instance-on-a-remote-configuration-server/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
