Welcome!

Server Monitoring Authors: Carmen Gonzalez, Ken Schwaber, JP Morgenthal, Pat Romanski, Elizabeth White

Related Topics: Server Monitoring, Linux Containers

Server Monitoring: Article

Getting frugal: Red Hat Network's low-cost upgrade to Red Hat 9

It took longer than expected, but Joe Barr is pleased with RHN's budget-friendly upgrade

(LinuxWorld) — These are tight economic times. One of the things I can't afford to do any longer is to run out and buy the latest distribution of Linux to hit the shelves, whether it be from Mandrake, SuSE, Xandros or Red Hat.

Little good it would do me if I could; Susan is using the laptop and I am down to a single computer in my home office. This is my work machine and I prefer to leave it on the same distribution and release for long periods. Recently I decided to put my Red Hat Network (RHN) subscription to greater use. I normally use RHN to run up2date at least weekly so I can keep up with the latest security fixes and updates. This week, I decided to download the ISO images of "shrike" and upgrade my desktop from Red Hat 8 to Red Hat 9.

Galeon and wget

The first step was grabbing the images. My RHN subscription gives me priority access, and I was seeing from 225 to 250 KBs via my RoadRunner cable connection. I won't complain about the speed, but I did have a lot of trouble getting a complete download of disc 2. I tried it about 10 times, and the transfer would just die suddenly at various stages of completion. When I finally got a full download of disc 2, the CD I created from it was no good. Rightly or wrongly, I blame those problems on Galeon.

I got a tip on the #redhat channel on irc.freenode.net to use wget instead of Galeon's built-in ftp. The wget technique was good. I got a complete download of disc 2 on my first attempt. The CD I created from that download (using cdrecord) with the speed set to 2X) worked perfectly. Not counting the wasted/aborted downloads, I estimate it took about 2 hours to download the three CD images. Burning them a little added roughly another 2 hours to the total time. I can't be more accurate than that because after I started each burn I got up and did something else for awhile.

PartitionSizeRed Hat 8Red Hat 9Size
hd15 Gb//15 Gb
hda610 Gb/home  
hdc19 Gb/backup/backup9 Gb
hda6120 Gb/bigdog/home120 Gb
I had decided not to do the upgrade thing because I wanted to do some big changes in my partitioning. A reader suggested in the forum attached to my recent story on adding a new hard drive to an existing system that I should have mounted the home directory on my new hard drive. I decided to take advantage of this opportunity to do exactly that. The chart above shows how my three drives were partitioned before and after my installation of Red Hat 9.

The installation begins

Before beginning the installation, of course, I made backups of critical data. I shut down Evolution before starting the backup to make sure I didn't lose mail received after I did the backup. Killing two birds with one stone, I copied my home directory from its old location on hda6 to where it lives now on hdd1. That was as easy as typing cp -R /home/warthawg /bigdog. The "-R" argument makes the copy recursive, so that all subdirectories under /home/warthawg are copied as well. Because I was copying the entire directory, all of the hidden files (those with a . in front of their name) were copied. I also saved copies of my XF86Config and my hosts files.

Then it was into the installation process itself. As I noted earlier, I tested the CDs before starting the installation. That took about 15 minutes total. I had to choose the manual partitioning option to accomplish what was needed. I didn't see any mention at all of fdisk. I had my choice of using DiskDruid or letting the installation handle it all. The GUI tool made it relatively easy to delete the existing partitions on hda and create a new partition in their place. It also made naming the mount points a snap, so I had /home on my new drive and kept /backup where it was. I didn't format any of the partitions except the new one on hda and the swap partition.

I chose the workstation installation and, for a little more than a half-hour, sat there watching the infomercials and occasionally changing the CD. After all the packages had been installed, the installer rebooted and I started the final phase of the basic installation. Red Hat 9 features some new, pretty graphics to guide you through the steps of adding a user, setting the time and date, checking the sound card and registering with RHN.

Updates and patches

I got a scare when I was finally asked to log in for the first time. GNOME balked at startup, complaining about not being able to access needed files. I thought I had majorly messed something up. In fact, I had messed something up, but it was trivial to fix. I had copied my original home directory as root and root was the sole owner of everything in the directory. I typed chown -R warthawg.warthawg /home/warthawg as root from a command line, then tried again to log in as a normal user. All was well, but not all was done. I had more to do in order to be back in business as I had been under Red Hat 8.

I started Evolution to make sure all my mail was still there, and sure enough, it was. Then it was time to grab any updates available. I visited RHN to transfer my entitlement to the new system, then ran up2date to grab any existing fixes. Sure enough, there were patches for 14 packages, with gcc being the largest. The entire update process took a little more than 10 minutes.

Next came the Nvidia patch for the new (2.4.20-8) kernel. That was as easy as visiting the Nvidia Web site and downloading the driver, then running the self-contained installation. When that was finished, I copied the /etc/XF86Config to a backup location, then edited the configuration file according to Nvidia's instructions. I logged out, logged back, and the NVIDIA driver came to life. Of course, I had to start NWN for a few minutes. Just to make sure the new driver was working properly, you understand.

One last item for the XF86Config. I don't understand why, but the Red Hat installation still needs deuglification as per the LinuxPlanet HowTo. I just copied the font directories from my saved XF86Config from Red Hat 8 into the new one. It makes a big difference in appearance.

Another gotcha bit me when I decided to surf a bit. Galeon wasn't installed. It was easy enough to grab it with up2date, though. About a minute later, it was installed and I was surfing with all my old bookmarks intact. I also had to grab a new copy of the Acrobat Reader to handle my PDF chores, because I had forgotten to save it before starting the installation.

What's new in Red Hat 9

Threading tops the list. Red Hat 9 contains the first implementation of the Native POSIX Threading Library (NPTL). While the technology is a bit over my head, my understanding is that the version of NPTL shipped with Red Hat 9 is more about fixing broken standards in the current threading library than about improving performance. The buzz I hear indicates that NPTL on the 2.6 kernel may mean a significant performance improvement with just about any threaded application, including Apache, MySQL, Evolution, and Nautilus.

The rest of Red Hat 9's story seems to be about the addition of more applications to the distribution: OpenOffice.org, Ximian Evolution, and CUPS for print management. There are some fit and polish touches, though. For instance, I noticed the dialogue box in Free Cell is more visually pleasing. Where Red Hat 8 was rich with its new look, most of Red Hat 9's beauty lies under the hood.

Is it worth it?

In summary, my low-cost upgrade from Red Hat 8 to 9 took a lot longer than normal. Nevertheless, at the end, I had my old familiar desktop and all the accoutrements with which I had started. Red Hat 9 slipped onto my system like a comfortable pair of slippers.

There were several reasons for the extra time it took, not the least of which were the download and CD-burn times. The special partitioning needs I had — the ones that kept me from doing an upgrade rather than a new installation — also drove up the installation time.

Would I have rather been installing from retail CDs with documentation and support? You bet. Am I glad the low-cost method was available, even though it took a little longer and required a little more of me? I sure am. Am I thinking of switching back to Mozilla from Galeon? Yes to that, too. Bless Linux for the choices.

More Stories By Joe Barr

Joe Barr is a freelance journalist covering Linux, open source and network security. His 'Version Control' column has been a regular feature of Linux.SYS-CON.com since its inception. As far as we know, he is the only living journalist whose works have appeared both in phrack, the legendary underground zine, and IBM Personal Systems Magazine.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
The 21st International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Digital Transformation, Machine Learning and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding busin...
Existing Big Data solutions are mainly focused on the discovery and analysis of data. The solutions are scalable and highly available but tedious when swapping in and swapping out occurs in disarray and thrashing takes place. The resolution for thrashing through machine learning algorithms and support nomenclature is through simple techniques. Organizations that have been collecting large customer data are increasingly seeing the need to use the data for swapping in and out and thrashing occurs ...
SYS-CON Events announced today that DivvyCloud will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. DivvyCloud software enables organizations to achieve their cloud computing goals by simplifying and automating security, compliance and cost optimization of public and private cloud infrastructure. Using DivvyCloud, customers can leverage programmatic Bots to identify and remediate common cloud problems in rea...
In his opening keynote at 20th Cloud Expo, Michael Maximilien, Research Scientist, Architect, and Engineer at IBM, will motivate why realizing the full potential of the cloud and social data requires artificial intelligence. By mixing Cloud Foundry and the rich set of Watson services, IBM's Bluemix is the best cloud operating system for enterprises today, providing rapid development and deployment of applications that can take advantage of the rich catalog of Watson services to help drive insigh...
SYS-CON Events announced today that Tintri, Inc, a leading provider of enterprise cloud infrastructure, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Tintri offers an enterprise cloud platform built with public cloud-like web services and RESTful APIs. Organizations use Tintri all-flash storage with scale-out and automation as a foundation for their own clouds – to build agile development environments...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
Every successful software product evolves from an idea to an enterprise system. Notably, the same way is passed by the product owner's company. In his session at 20th Cloud Expo, Oleg Lola, CEO of MobiDev, will provide a generalized overview of the evolution of a software product, the product owner, the needs that arise at various stages of this process, and the value brought by a software development partner to the product owner as a response to these needs.
SYS-CON Events announced today that Cloudistics, an on-premises cloud computing company, has been named “Bronze Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Cloudistics delivers a complete public cloud experience with composable on-premises infrastructures to medium and large enterprises. Its software-defined technology natively converges network, storage, compute, virtualization, and management into a ...
SYS-CON Events announced today that delaPlex will exhibit at SYS-CON's @ThingsExpo, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. delaPlex pioneered Software Development as a Service (SDaaS), which provides scalable resources to build, test, and deploy software. It’s a fast and more reliable way to develop a new product or expand your in-house team.
SYS-CON Events announced today that Technologic Systems Inc., an embedded systems solutions company, will exhibit at SYS-CON's @ThingsExpo, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Technologic Systems is an embedded systems company with headquarters in Fountain Hills, Arizona. They have been in business for 32 years, helping more than 8,000 OEM customers and building over a hundred COTS products that have never been discontinued. Technologic Systems’ pr...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend @CloudExpo | @ThingsExpo, June 6-8, 2017, at the Javits Center in New York City, NY and October 31 - November 2, 2017, Santa Clara Convention Center, CA. Learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
SYS-CON Events announced today that Tappest will exhibit MooseFS at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. MooseFS is a breakthrough concept in the storage industry. It allows you to secure stored data with either duplication or erasure coding using any server. The newest – 4.0 version of the software enables users to maintain the redundancy level with even 50% less hard drive space required. The software func...
SYS-CON Events announced today that Outscale will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Outscale's technology makes an automated and adaptable Cloud available to businesses, supporting them in the most complex IT projects while controlling their operational aspects. You boost your IT infrastructure's reactivity, with request responses that only take a few seconds.
New competitors, disruptive technologies, and growing expectations are pushing every business to both adopt and deliver new digital services. This ‘Digital Transformation’ demands rapid delivery and continuous iteration of new competitive services via multiple channels, which in turn demands new service delivery techniques – including DevOps. In this power panel at @DevOpsSummit 20th Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, panelists will examine how DevOps helps to meet th...
SYS-CON Events announced today that EARP will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. "We are a software house, so we perfectly understand challenges that other software houses face in their projects. We can augment a team, that will work with the same standards and processes as our partners' internal teams. Our teams will deliver the same quality within the required time and budget just as our partn...
Most technology leaders, contemporary and from the hardware era, are reshaping their businesses to do software in the hope of capturing value in IoT. Although IoT is relatively new in the market, it has already gone through many promotional terms such as IoE, IoX, SDX, Edge/Fog, Mist Compute, etc. Ultimately, irrespective of the name, it is about deriving value from independent software assets participating in an ecosystem as one comprehensive solution.
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
SYS-CON Events announced today that A&I Solutions has been named “Bronze Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Founded in 1999, A&I Solutions is a leading information technology (IT) software and services provider focusing on best-in-class enterprise solutions. By partnering with industry leaders in technology, A&I assures customers high performance levels across all IT environments including: mai...
Five years ago development was seen as a dead-end career, now it’s anything but – with an explosion in mobile and IoT initiatives increasing the demand for skilled engineers. But apart from having a ready supply of great coders, what constitutes true ‘DevOps Royalty’? It’ll be the ability to craft resilient architectures, supportability, security everywhere across the software lifecycle. In his keynote at @DevOpsSummit at 20th Cloud Expo, Jeffrey Scheaffer, GM and SVP, Continuous Delivery Busine...
SYS-CON Events announced today that Progress, a global leader in application development, has been named “Bronze Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Enterprises today are rapidly adopting the cloud, while continuing to retain business-critical/sensitive data inside the firewall. This is creating two separate data silos – one inside the firewall and the other outside the firewall. Cloud ISVs ofte...