Tuesday May 19, 2015

Tech Article: How to Start Using Docker on Oracle Linux

As Ginny Henningsen puts it, "Docker is an open source virtualization technology that creates lightweight Linux application containers." What I think is particularly cool about Docker is the portability it derives from its open-source genes. As Ginny explains:

"Docker containers can define an application and its dependencies using a small text file (a Dockerfile) that can be moved to different Linux releases and quickly rebuilt, simplifying application portability. In this way, "Dockerized" applications are easily migrated to different Linux servers where they can execute on bare metal, in a virtual machine, or on Linux instances in the cloud."

Here's her article, plus a few additional resources to help you include Docker in your Linux deployments:

Tech Article: Getting Started with Docker on Oracle Linux

by Ginny Henningsen

How to customize a Docker container image and use it to instantiate application instances across different Linux servers. This article describes how to create a Dockerfile, how to allocate runtime resources to containers, and how to establish a communication channel between two containers (for example, between web server and database containers).

Docker Resources

About the Photograph

I took the picture of that wagon in Stovepipe Wells, Death Valley, on my ride to the Sun Reunion.

- Rick

P.S. My last day at Oracle will be May 31. If you'd like to stay in touch, use the links on the left, below:

Follow Rick on:
Personal Blog | Personal Twitter | Oracle Community Profile | Part I of the Great Peruvian Novel
  Follow OTN Garage on:
Blog | Community Discussions | Web | Facebook | Twitter | YouTube

Wednesday May 13, 2015

A Brief Chat with the Linux Foundation

I recently got to chat with Jim Zemlin, Executive Director of the Linux Foundation. In case you were just rescued from a buried time capsule as part of a fraternity pledge, you probably already know that the Linux Foundation is a non-profit trade association that fosters the growth of Linux. It supports the Linux kernel development community, provides services to help companies adopt Linux, and hosts collaborative projects to solve problems in an increasing range of fields. It is supported by leading Linux and open source companies, including IBM, Intel, and Oracle.

More about the Linux Foundation

Every year the Linux Foundation surveys large-scale enterprises to find out how they are using, and planning to continue using, Linux. Jim was kind enough to take a few minutes to walk me through the results of this year's survey. You can listen to our conversation here:

Podcast: How Large Enterprises are Using Linux - mp3

Here's Jim's blog, his Twitter handle, and a recent Ted talk discovered by Dan Lynch.

About the Photograph

I took that photograph of Lower Yellowstone Falls from Uncle Tom's Trail while on a DOG Run in 2014.

- Rick

P.S. My last day at Oracle will be May 31. If you'd like to stay in touch, use the links below:

Follow Rick on:
Personal Blog | Personal Twitter | Oracle Community Profile | Part I of the Great Peruvian Novel
  Follow OTN Garage on:
Blog | Community Discussions | Web | Facebook | Twitter | YouTube

Thursday Apr 30, 2015

Migration and Provisioning Strategies, Plus SWiS for Developers

OTN's next Virtual Technology Summit (VTS) is being held on these dates:

Here's some information about the sessions:


The main benefits of deploying Oracle Linux are its optimizations for the Oracle stack and the newer capabilities such as Docker that you can access long before they are released in the major Red Hat distributions. Did you know, however, that you can also optimize your applications to run better on the Oracle stack using Oracle Solaris Studio? In spite of the name, it is designed to help your Oracle Linux applications take advantage of performance, security, and reliability advances across the entire Oracle stack, particularly Oracle Database. Our first two sessions for VTS4 will show you how to migrate from Red Hat Linux to Oracle Linux and give you an overview of the capabilities of the Oracle Solaris Studio IDE. And just in case you'd like to practice a little, our third session will show you some advanced techniques for deploying applications through Oracle Virtual Box.

Session 1 - How to Migrate from RHEL to Oracle Linux

by Erik Benner

Oracle Linux has been around since 2006, and for years it has offered several advantages over the Red hat distribution which it tracks. These advantages include lower support costs, improved performance in many key areas, like SSD I/O, the ability to use Ksplice for zero downtime patching and support for emerging technologies like Docker and Openstack. Migrating your existing RHEL servers to Oracle Linux is not as challenging as many admins would expect. This VTS session will show admins how to migrate an existing RHEL 6.x system to Oracle Linux. A process that takes minutes to perform! To prepare for this lab, please have an RHEL 6.x installed, with network connectivity to the internet.

Software in Silicon and What's New in Oracle Solaris Studio

by Ikroop Dilhon

Learn about Software in Silicon Application Data Integrity and how developers can use this revolutionary technology to quickly and easily increase application reliability. Also learn about what's new in Oracle Solaris Studio, including redesigned performance analysis tools, powerful memory leak protection tools, and remote development support that enables you to develop applications for Oracle systems from virtually any desktop environment.

Advanced Provisioning Techniques for VirtualBox

by Oracle ACE Seth Miller

This presentation will demonstrate advanced techniques to accelerate the provisioning of virtual machines in VirtualBox using the VirtualBox command-line tools. The first half of the presentation focuses on the VBoxManage command-line tool itself, showing how it can do everything the GUI can with much greater efficiency and speed. The second half will take those same commands and run them in PowerShell while at the same time demonstrating PowerShell's robust scripting capabilities.

- Rick

Follow Rick on:
Personal Blog | Personal Twitter | Oracle Community Profile | Part I of the Great Peruvian Novel
  Follow OTN Garage on:
Blog | Community Discussions | Web | Facebook | Twitter | YouTube

Monday Dec 29, 2014

Top 10 Systems Articles of 2014

Glynn Foster was on fire in 2014. Not only did he create several hands-on labs for OTN's Virtual Tech Summit, but he wrote three of OTN's top 10 articles for the year. Thank you Glynn, and Thank You to all the other writers who did the hard work of filling OTN with excellent Systems content. Don Bastardo finds you worthy of note.

0. How I Simplified Oracle Database 12c and 11g Installations on Oracle Linux 6

by Ginny Henningsen, updated by Michele Casey

Updated for Oracle database 12c and Oracle Linux 6. Ginny simplifies the installation of Oracle Database 11g by automatically pre-configuring Oracle Linux with the required software packages and correct kernel parameters.

1. How to Configure the Linux Out-of-Memory Killer

by Robert Chase

What the Linux out-of-memory (OOM) killer is and how to find out why it killed a particular process. Methods for configuring the OOM killer to better suit the needs of many different environments.

2. How to Create a Local Unbreakable Linux Network Mirror

by Jared Greenwald and Avi Miller

How to create a local yum repository for Oracle Linux, and configure up2date and yum to install and update packages from the repositories.

3. Taking Your First Steps with Oracle Solaris 11

by Glynn Foster

How to install Solaris 11 using the Automated Graphical Installer, one of three installation tools provided in Solaris 11. Glynn Foster and Brian Leonard show you how to install it either on VirtualBox, on bare metal as a standalone OS, or alongside another OS in a multi-boot environment on bare metal

4. How to Get Started Configuring Your Network in Oracle Solaris 11

by Andrew Walton

dladm and ipadm in Oracle Solaris 11 supersede ifconfig. Unlike ifconfig, changes made by dladm and ipadm are persistent across reboots. Andrew Walton explains these and other changes to networking in Solaris 11, and shows you how to work with them.

5. Introducing the Basics of Service Management Facility (SMF) on Oracle Solaris 11

by Glynn Foster

The Service Management Facility in Oracle Solaris 11 makes sure that essential system and application services run continuously even in the event of hardware or software failures. This article provides a few simple examples of administering services on Oracle Solaris 11.

6. Mixing C and C++ Code in the Same Program

by Stephen Clamage

This article shows how to solve common problems that arise when you mix C and C++ code, and highlights the areas where you might run into portability issues.

7. How to Update Oracle Solaris 11 Systems From Oracle Support Repositories

by Glynn Foster

You may already know that you don't have to worry about manually tracking and validating patch dependencies when you update a version of Oracle Solaris 11. This makes updates much easier. Glynn Foster demonstrates how easy it is to update the OS from a support repository, and how to make sure everything went well.

8. How to Get Started Creating Oracle Solaris Zones in Oracle Solaris 11

by Duncan Hardie

Zones are more tightly integrated with other OS features in Oracle Solaris 11 than they were in Oracle Solaris 10. As a result, you can do more with zones than you could before. Plus, it's easier. But you still need to learn the new commands and procedures. This article by Duncan Hardie is a great start: it shows you how to create a zone using the command line, how to add an application to a zone, and how to clone a zone. All in Solaris 11.

9. How to Use Oracle VM VirtualBox Templates

by Yuli Vasiliev

This article explains how to use Oracle VM VirtualBox Templates in Oracle VM VirtualBox. It is similar to the article that explains how to prepare an Oracle VM environment to use Oracle VM Templates, but it describes how to download, install, and configure the templates within Oracle VM VirtualBox, instead of on bare metal.

About the Photograph

Don Bastardo (Jellicle name Pippon Kitton) manages to survive the coyotes and mountain lions that prey on less wary house pets in my part of Colorado, and he has made lasting friendships with the local foxes. I took this picture of him while he was perched on our deck.

- Rick

Follow Rick on:
Personal Blog | Personal Twitter | Oracle Community Profile
  Follow OTN Garage on:
Blog | Community Discussions | Web | Facebook | Twitter | YouTube

Tuesday Nov 11, 2014

Posted: Lab Instructions for November Virtual Tech Summit

Instructions for the six Systems labs that will be presented at November's Virtual Technology Summit are now available on the OTN Community Platform.

Prepare Your Laptops Before the Event

You need to set up your laptop with the correct VM and configure it before the event begins. If you wait until the event, you'll be too far behind and won't be able to ask questions or join in the discussions.The Oracle VM labs, in particular, require extensive prep work.

Important Links


A few thousand have already registered, but slackers can still register in their preferred time zone:

About the Photograph

I took the picture of the vertical cylinder from an 01 Ducati 748S on my workbench, while replacing the rings, which I busted while trying to re-install the cylinder without a ring compressor.

Follow Rick on:
Personal Blog | Personal Twitter | Oracle Community Profile
  Follow OTN Garage on:
Web | Facebook | Twitter | YouTube

Wednesday Aug 27, 2014

Brendan Gregg's Quick Reference Page for Linux Performance

You may know about Brendan Gregg because of his contributions to DTrace and other Oracle Solaris technologies. Here are two resources to refresh your memory.

Recently, Brendan turned his high-performance spectacles on Linux:

Linux Performance Quick Reference

In his own words, "This page links to various Linux performance material I've created, including the tools maps on the right, which show: Linux observability tools, Linux benchmarking tools, Linux tuning tools, and Linux observability sar. For more diagrams, see my slide decks below."

His diagram reminds me of Edward Tufte's work on elegant visual explanations. Give it a read, bookmark it, and show your friends. While you're at it, be sure to take a look at OTN's resources for Oracle Linux.

About the Photograph

I took a picture of that cove from somewhere in Highway 1 on the California Coast on my ride back from the Sun Reunion.

Follow Rick on:
Personal Blog | Personal Twitter | Oracle Community Profile
  Follow OTN Garage on:
Web | Facebook | Twitter | YouTube

Wednesday Jun 11, 2014

Troubleshooting Your Network with Oracle Linux

Are you afraid of network problems? I was. Whenever somebody said "it's probably the network," I went to lunch. And hoped that it was fixed by the time I got back. Turns out it wasn't that hard to do a little basic troubleshooting

Tech Article: Troubleshooting Your Network with Oracle Linux

by Robert Chase

You're no doubt already familiar with ping. Even I knew how to use ping. Turns out there's another command that can show you not just whether a system can respond over the network, but the path the packets to that system take. Our blogging platform won't allow me to write the name down, but I can tell you that if you replace the x in this word with an e, you'll have the right command:


Once you get used to those, you can venture into the realms of mtr, nmap, and netcap.

Robert Chase explains how each one can help you troubleshoot the network, and provides examples for how to use them. Robert is not only a solid writer, he is also a brilliant motorcyclist and rides an MV Augusta F4 750.

About the Photograph

Photo of flowers in San Simeon, California, taken by Rick Ramsey on a ride home from the Sun Reunion in May 2014.

- Rick
Follow me on:
Personal Blog | Personal Twitter
  Follow OTN Garage on:
Web | Facebook | Twitter | YouTube

Wednesday May 07, 2014

Make Your Database Run Faster on Oracle Linux

If you can get your hands on a Sun Flash Accelerator F40 PCIe Card, and you're running Oracle Database 11g Release 2 or later on Oracle Linux, you can use the Oracle Database Smart Flash Cache to improve performance and response times. That was a mouthful, so let me say it again.

  1. Configure Sun Flash Accelerator F40 PCIe Card as a file system.
  2. Configure Oracle Automatic Storage Management, a feature of Oracle Database, to use multiple Sun Flash Accelerator F40 PCIe Cards.
  3. Configure the Database Smart Flash Cache capability of Oracle Database.

Your pals at Jay Leno's garage can keep a 27-liter 1930 Bentley humming, but they can't help you with that little procedure can they? No worries, Rick Stenho may not own a Bentley, but he can help your database run faster.

Tech Article: How to Improve Database Performance Using Database Smart Flash Cache on Oracle Linux

by Rick Stenho

Oracle Database 11g Release 2 Enterprise Edition allows you to use flash devices to increase the effective size of the Oracle Database buffer cache (Level 2 cache) without adding more main memory. This capability is referred to as Database Smart Flash Cache. This article walks you through the steps required to take advantage of it.

Caution: Any performance advantages you obtain with smart flash cache will probably be nullified by the time you waste watching Jay Leno's garage.

About the Photograph

Photograph of lamp at the Venetian and Sands Expo Center
in Las Vegas taken by Rick Ramsey during Collaborate 2014

- Rick
Follow Rick on:
Personal Blog | Personal Twitter
  Follow OTN on:
Web | Facebook | Twitter | YouTube

Wednesday Mar 26, 2014

More Tips for Remote Access with Oracle Linux

In a previous blog, Oracle Linux Tips and Tricks, I covered alternative ways to use SSH. In this article, I will cover some additional tips and tricks for using SSH for remote access, as well as some other ways to connect remotely to a server.

SSH's primary use is for remote access to hosts. SSH is not only able to provide us a terminal interface to a server, it's also able to provide us a transport for a graphical interface. In order to utilize this functionality, we must have an X server running on our local workstation. On a Linux workstation with a graphical environment, this functionality is built in. On other systems, such as a Windows machine or a Mac, this functionality is not built in. Both XQuartz on the Mac and MobaXTerm are X servers for these platforms. There are also a number of other open source and paid products available for both platforms.

Once you have an acceptable X server installed on your local workstation, you can connect with SSH using the following ssh command. The -X enables X11 forwarding for the connection. Keep in mind that the X11 forwarding is based on the user who originally connected. Logging in with one user and then using sudo often will not work, depending on the permissions and ownership needed to complete a task.

[user@laptop ~]$ ssh -X

Once you authenticate, you drop directly to a standard prompt. If you look closely, though, and examine the environment variables in your terminal, you will find an additional environment variable that has the IP address of your workstation. You can examine your environment variables using the env command.


Now you can launch an application that has a graphical interface, and the interface will be displayed on your local workstation. The following example will launch gedit. The ampersand symbol is useful for forking the process in the background so we can retain the use of our terminal.

[user@remotehost ~]$ gedit &

Using X11 connections over SSH can be quite useful for using application installers that are graphical, such as the Oracle Universal Installer for Oracle Database.

The screen application is a great compliment to SSH and is quite useful for sharing an SSH session with another user. Because of the way screen preserves sessions for the user, it is also great for high-latency network connections that have frequent disconnects and for maintaining sessions that time out due to security policies. With a regular SSH connection, if you are disconnected, any processes that were running are not preserved. Unlike SSH, the screen application keeps the session alive so it can be connected to again later.

One of the simplest things you can do with screen is share a session. You can launch screen on the terminal you wish to share by issuing the screen command. Once you do this, a new shell is running inside of screen. Another user can log in to the same machine and use the command screen -x to be immediately connected to your shell. They see everything you type. Even if you disconnect from the machine on either terminal, the shell will continue to run. This can be quite useful for sharing a terminal for a demonstration in a remote office or for running a terminal-based console that is shared between many users.

To see all of the active screen sessions, you can use screen -list, which will show active and detached sessions. To connect to a detached session, you can use screen -r and the pid.session name listed in the screen -list output. In the following example, there are five screen sessions running. One of them is detached.

[user@server ~]$ screen -list
There are screens on:
        24565.pts-1.server     (Attached)
        24581.pts-2.server     (Attached)
        24597.pts-3.server     (Attached)
        24549.pts-0.server     (Attached)
        24613.pts-4.server     (Detached)
5 Sockets in /var/run/screen/S-user.

The command screen -x can be used to connect to a currently attached session. In the following example, a connection to session 24565 is made:

[user@server ~]$ screen -x 24565

If you need access to a full graphical desktop environment remotely, there are a number of packages that can accomplish this. The package tigervnc-server is useful for connections to a remote machine providing a full Linux desktop experience. To set up and install the package, perform the following steps.

First, run the following command to install the package:

[root@server ~]# yum install tigervnc-server

Once the package is installed, you need to edit the file /etc/sysconfig/vncservers. The VNCSERVERS line establishes the user accounts that you want to enable the VNC server for and their display number. In the example below, the user bob is configured for display 2 and the user sue is configured for display 3. The VNCSERVERARGS[#] section allows you to specify options for each display. In this example, we are specifying a 1280 x 1024 resolution for display 2 and a 1024 x 768 resolution for display 3:

VNCSERVERS="2:bob 3:sue"
VNCSERVERARGS[2]="-geometry 1280x1024 "
VNCSERVERARGS[3]="-geometry 1024x768"

Once the /etc/sysconfig/vncservers file has been edited, you need to set passwords for each user account. This is accomplished with the vncpasswd command. In the following example, the user bob sets a password using the vncpasswd command.

[bob@server ~]$ vncpasswd

Once the package is installed, the configuration file is edited, and passwords are set, you are ready to turn on the vncserver service. The following two commands start the service and set the service to start automatically at the next boot:

chkconfig vncserver on
service vncserver start

Once configured and running, you can connect to your Linux system using a standard VNC client. When connecting, be sure to specify the display and password credentials that are needed in order to connect.


I hope these tips and tricks have been useful and that you will take advantage of some of them in the course of your day. We will be publishing more of these tips-and-tricks articles in the future. Feel free to leave a comment for further topics that you would like to see in this series.

See Also

Oracle Linux blog

About the Author

Robert Chase is a member of the Oracle Linux product management team. He has been involved with Linux and open source software since 1996. He has worked with systems as small as embedded devices and with large supercomputer-class hardware.

About the Photograph

Photograph taken by Rick Ramsey in Durango in the Fall of 2012

Follow OTN Garage on:
Blog | Facebook | Twitter | YouTube

Friday Jan 31, 2014

Simplifying the Installation of Oracle Database on Oracle Linux - Reprint

Most of my workdays start by shapechanging me into a seven-headed Hydra, and each Hydra promptly makes a beeline for multi-tasking hell. So, when I get a chance to simplify something, anything, I jump on it.

Ginny has done that for OTN at last twice. Below are two of her exercises in simplifying our lives. We published these articles before, but we recently had to rebuild one of them because somebody (I'm not going to say who) deleted it. To avoid annoying one of your Hydras, and instead send you off to a peaceful weekend, here they are again.

How I Simplified Oracle Database Installation on Oracle Linux 5

by Ginny Henningsen

Before installing Oracle Database 10g or 11g on a system, you need to preconfigure the operating environment since the database requires certain software packages, package versions, and tweaks to kernel parameters. Ginny discovered that Oracle Linux provides a remarkably easy way to address these installation prerequisites. Find out how.

How I Simplified Oracle Database 11g and 12c Installation on Oracle Linux 6

by Ginny Henningsen

Similar to the article above, but updated for Database 12c and Oracle Linux 6. Ginny simplifies the installation of Oracle Database 11g by automatically pre-configuring Oracle Linux with the required software packages and correct kernel parameters.

Photograph of Fat Boy on Sakajawea Road in Idaho taken by Rick Ramsey

- Rick

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

Thursday Jan 02, 2014

About our Latest Lab: How to Migrate to Oracle Linux and Oracle VM

Step by Step Instructions for Migrating to Oracle Linux and Oracle VM

Red Hat Linux and VMWare are fine technologies. A great pairing. However, if you have business reasons for migrating to Oracle Linux and Oracle VM, such as having earlier access to the latest Linux innovations or taking advantage of more integrated virtualization, take a look at our latest lab. It provides the best step by step instructions we could come up with for carrying out that migration. You can also try it just to hone your migration skills. You never know when the boss is going to ask you whether you can handle a migration.

Here's a peek at the major tasks:

  1. Start the two servers (Oracle VM Server and Oracle VM Manager).
  2. Connect to Oracle VM Manager and become familiar with the product.
  3. Verify that the Oracle VM environment started correctly.
  4. Import an assembly that has Oracle Database on top and was exported from VMware.
  5. Create an Oracle VM Template based on the VMware assembly.
  6. Edit the Oracle VM Template that was created.
  7. Create a guest based on the Oracle VM Template that was created.
  8. Verify and then start the Oracle VM guest that was created.
  9. Manually modify the guest configuration and remove VMware tools.
  10. Switch from the Red Hat kernel to Oracle's Unbreakable Enterprise Kernel for free.
  11. Transform the guest into a usable Oracle VM Template ("gold image").

You can run the lab anytime you like on your laptop, or you can attend OTN's next Virtual SA Day, and run it with the help of a proctor. There will be several hundred sysadmins running the same lab at the same time, so you can discuss it with others via chat, and get help from our proctors. Details here.

photograph of a brewery in Ouray, Colorado, by Rick Ramsey

- Rick

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

Tuesday Nov 19, 2013

Extending Your Use of DTrace on Oracle Linux

We just published a new article about using DTrace on Oracle Linux (see below). If you're not already familiar with DTrace on Oracle Linux, you might want to start with these two blogs.

Blog: Trying Out DTrace

by Wim Coekaerts

In October of 2011 Wim Coekaerts described the steps required to use the preview of DTrace on Oracle Linux, and provided a simple example of how to use it.

Blog: How to Get Started Using DTrace on Oracle Linux

by Rick Ramsey

In January of 2013 I described some of the resources that had recently become available to help you start using DTrace on Oracle Linux. They included a video interview with Brendan Gregg, a way to find out which DTrace probes are available on Oracle Linux, a technical article, a book, and more.

New Article: How to Set Up DTrace to Detect PHP Scripting Problems on Oracle Linux

by Christopher Jones

Christopher Jones has just published an OTN tech article that explains how to set up DTrace to detect PHP scripting problems on Oracle Linux. He shows you how to download and install the right version of Oracle Linux, how to install PHP and the OIC18 extensions for Oracle Database, how to verify which PHP probes you have, and how to begin using them.

photograph of Colorado sunset by Beth Ramsey


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

Monday Sep 09, 2013

Latest Linux-Related Content on OTN

photograph copyright 2013 by Rick Ramsey

How to Launch Linux Utilities from Inside Oracle Database

by Yuli Vasiliev

By wrapping a Linux utility in a script and using an external database table's preprocessor directive, you can launch the utility from within Oracle Database and have the utility's output be inserted into the external table. This allows you to do things such as query operating system data and then join it with data in Oracle Database.

How to Use Hardware Fault Management in Oracle Linux

by Robert Chase

Robert Chase is a really good writer. If he was writing about teaching iguanas how to quilt I'd still read it. Fortunately, in this article he's writing about hardware fault management tools in Oracle Linux. What they are, how they work, what you can do with them, and examples with instructions. Give it a read.

How to Get Started Using DTrace on Oracle Linux

by Richard Friedman

DTrace is a powerful tool, and it can do some amazing things. But it's not that difficult to get started doing simple things. You can build up from there. In this article, Richard Friedman gives you a high-level overview of DTrace and its major components:providers, modules, functions, and probes. He explains how you can use either one-liner commands on the command line, or write more complex instructions in scripts, using the D language. He provides simple examples for each. It's a great way to get your feet wet.

Blog: Overview of Linux Containers

by Lenz Grimmer

Linux Containers isolate individual services, applications, or even a complete Linux operating system from other services running on the same host. They use a completely different approach than "classicial" virtualization technologies like KVM or Xen. Lenz Grimmer explains.

Blog: Practical Examples of Working With Oracle Linux Containers

by Lenz Grimmer

In his previous post about Linux Containers, Lenz Grimmer explained what they are and how they work. In this post, he provides a few practical examples to get you started working with them.

Video Interview: On Wim's Mind in August

by Lenz Grimmer

We ran a little long, but once Wim started talking about the history of SNMP and how he's been using it of late to do cool things with KSplice and Oracle VM, we geeked out. Couldn't stop. Wim is not your average Senior VP of Engineering. Definitely a hands-on guy who enjoys figuring out new ways to use technology

Video Interview: On Wim's Mind in June

by Lenz Grimmer

On Wim's Mind in June 2013 - Wim's team is currently working on DTrace userspace probes. They let developers add probes to an application before releasing it. Sysadmins can enable these probes to diagnose problems with the application, not just the kernel. Trying this out on MySQL, first. If you know how to do this on Solaris, already, you'll be able to apply that knowledge to Oracle Linux. Also on Wim's mind is the Playground channel on the Public Yum repository, which lets you play with the latest Linux builds, ahead of official Linux releases, without worrying about having your system configured properly.

- Rick

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

Wednesday Jul 31, 2013

Using Ksplice for diagnostic purposes

laptop and stethoscope by jfcherry, on Flickr
laptop and stethoscope by jfcherry (CC BY-SA 2.0)

We've been emphasizing the benefits of using Oracle Linux with Ksplice rebootless updates several times already. The ability to minimize downtime when applying rebootless patches to the Linux Kernel is a feature unique to Oracle Linux, and a growing number of customers realize the benefits of this technology.

Since we acquired Ksplice two years ago, we've continued to improve and further integrate this functionality in Oracle Linux. For example, we implemented the the Ksplice offline client (which I mentioned in this YouTube whiteboard session some time ago), the Ksplice Inspector, or the RedPatch utility.

But did you know that we use Ksplice for diagnostic purposes, too? As part of our Oracle Linux Premier Support offering, we can make use Ksplice to enable additional debugging functionality on your production system, if we need to track down an issue in your environment. Instead of asking you to reboot into a custom Linux kernel that contains additional debugging code, we now simply create a custom Ksplice patch that helps us to gather the required information, while your system keeps running. Once we've obtained the necessary details, you can simply remove the debug patch with Ksplice at runtime again, without any interruption. The additional debugging information helps our support team to determine the root cause of your issue. In case it turns out to be a genuine bug in the Linux kernel, we will then develop and provide a bug fix for this particular problem in the form of a new Ksplice patch, which you can apply while the system keeps humming along. Bug analyzed and fixed, no reboot was required!

To learn more about his feature and the other advantages of Ksplice, take a look at Wim's recent blog post "The Ksplice differentiator".

Monday Jul 15, 2013

Migrating from SUSE Linux to Oracle Linux - System Initialization

The iptables service defines rules for handling packets on a Linux system. It's usually a good idea to disable this service during installation of a Linux update to prevent malicious code from being installed by angry cats (image removed from blog). Once the update is installed securely, you can define the iptables rules and once again enable the service.

To find out, before you install an update to Oracle Linux, whether the iptables service is enabled, use the list option to the chkconfig command. It displays the status of Linux services at boot time. For example:

# chkconfig -- list
abrtd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
acpid 0:off 1:off 2:off 3:off 4:off 5:off 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
SUSE Linux to Oracle Linux: Guide for System Administrators

To check the status of only the iptables service, pipe in a little grep:

chkconfig -- list | grep iptables

This is just one of the tips provided by Manik Ahuja and Kamal Dodeja in their OTN technical article, ....

Tech Article: How to Initialize an Oracle Linux System

This is the first in a series of articles that outline the major steps in migrating from SUSE Linux to Oracle Linux. It focuses on registering your system, downloading the latest version of Oracle Linux, and performing some basic initialization steps. Stay tuned for more articles.

Tech Article: How to Initialize an Oracle Linux System

- Rick

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


Logan Rosenstein
and members of the OTN community


« November 2015
Blogs We Like