Friday Apr 05, 2013

Migrating to Oracle Linux: How to Identify Applications To Move

source

One of the first things you need to make when migrating from SUSE Linux to Oracle Linux is an inventory of your applications. A package management tool such as Yet Another Setup Tool (YAST) is a big help here. So is the rpm command. Here are some ways to use it.

To List All The Installed Packages

Use the -qa option.

# rpm –qa
filesystem-11.1.3.5.3
sles-release-DVD-11.2.1.234
...

To Save the Output in a File

You can move that file to any location and, anytime later,search through the package list saved there to look for a package of interest:

# rpm –qa > rpmlist.txt

To Sort the Packages

To see the installed packages sorted by install time, use --last. The packages installed most recently will appear at the top of the list, followed by the standard packages installed during the original installation:

# rpm –qa --last
VirtualBox-4.2-4.2.6_82870_sles11-0-1
...

To Find Out If A Particular Component Is Installed

To find out whether a particular component is installed and what version it is, use the name option. For example:

# rpm –qa python
python-2.6.0-8.12.2

To Find Out What Dependencies a Package Has

Use the -qR option:

# rpm –qR python-2.6.0-8.12.2
python-base = 2.6.0
rpmlib(VersionedDependencies) <= 3.0.3-1
...

The Linux Migration Guide

You can find out more about migration steps with either rpm or YaST, including the benefits of migrating to Oracle Linux, by downloading the white paper from here:

Download the Oracle Linux Migration Guide

- Rick

Follow me on:
Blog | Facebook | Twitter | YouTube | The Great Peruvian Novel

Wednesday Jan 25, 2012

Does Your Weekend Workload Look Like This?

We have a couple of resources to help you dive under.

Article: How Dell Migrated From SUSE Linux to Oracle Linux

In June of 2010, Dell made the decision to migrate 1,700 systems from SUSE Linux to Oracle Linux, while leaving the hardware and application layers unchanged. Suzanne Zorn worked with Jon Senger and Aik Zu Shyong, from Dell, to understand exactly how Dell did it. In this article, they describe Dell's server environment, the migration process, and what they learned. The article covers:

  • Preparation, including the use of a "scratch" area
  • Archiving configuration files
  • Conversion of MPIO to PowerPath with a custom script
  • Re-imaging the new OS and installing with kickstart
  • Restoring the configuration files
  • Adjusting profiles
  • Restarting database and applications, and verifying correct operation.

More about Oracle Linux here.

Demo: Update the Oracle Linux Kernel with Ksplice

Waseem Daher uses the command line to demonstrate how you can use Ksplice to install kernel updates to Oracle Linux without rebooting, even while your applications are still running. He also shows you how to use the Uptrack utility in Ksplice to manage your Linux packages more easily. It's only 18 minutes long, and well worth your time.

Why big wave surfers do it.

- Rick
Website
Newsletter
Facebook
Twitter

About

Contributors:
Rick Ramsey
Kemer Thomson
and members of the OTN community

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Blogs We Like