The Unbreakable Enterprise Kernel release 3 (UEK) provides built-in support for DTrace. This can help you track down performance problems with your applications or scripts. In this article, Christopher walks through how to enable DTrace for the popular scripting language PHP on Oracle Linux and goes into some detail to how it works, including a simple D script to get information out of a sample PHP script.
This is a really fantastic article, so if you're interested in using DTrace to tune your PHP scrips, give it a read through.
Our spotlight this week is on a really cool technical tip on the Oracle Technology Network from Yuli Vasiliev called "How to Launch Linux Utilities from Oracle Database". From Yuli's introduction:
"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."
We will be part of OTN Latin America Tour 2013! You can hear about the latest product developments, features, tips about Oracle Linux and Oracle VM and ask questions to local experts. Here are the cities and the dates when we visit:
North: Colombia 12/7 Ecuador 15/7 Guatemala 17/7 Panama 22/7 Costa Rica 24/7 Mexico 26/7
South: Chile 01/08 Peru 03/08 Uruguay 06/08 Argentina 08/08 Brazil 10/08
Check the event page (in Spanish or Portuguese ) for more details and register for these events.
You'll be able to perform real-world tasks with Oracle Linux and if you have questions you can ask for help from the Oracle experts through chat window. There's one caveat: you'll have to do a little homework ahead of time. Load the virtual images onto your laptop, find the instructions, and make sure everything is working properly.
1. Oracle Linux Technology Overview - In this session we will go over the latest Oracle Linux features including tools for Linux administration such as the Unbreakable Linux Network (ULN) and public yum. We will also show you a demo of Ksplice zero downtime kernel updates, only available to Oracle Linux customers. You will see how easy it is to switch from Red Hat support to Oracle Linux support by using ULN. Last but not least, we’ll introduce the 3 hands-on labs that will follow this session in the Linux track.
2. HOL: Package Management - In this lab session you will use the package management on Oracle Linux using RPM and yum. Some of the tasks that you will experience include listing installed packages, obtaining additional information about packages, searching for packages and installing/updating them as well as verifying package integrity and removing software. We’ll also review Linux services and run levels, how to start and stop them, checking the status of a particular service and enabling a service to be started automatically at system boot.
3. HOL: Storage Management - In this hands-on lab session, you will learn about storage management with LVM2, the Linux Logical Volume Manager, preparing block devices, creating physical and logical volumes, creating file systems on top of logical volumes, and resizing file systems dynamically. You will also practice setting up software RAID devices, configuring encrypted block devices.Btrfs File System - In this hands-on lab session, we will introduce you to Btrfs file system. You will be able to create and mount a Btrfs file system and learn to setup a mirrored/striped file system across multiple block devices. You’ll also learn how to add and remove block devices, and create file system snapshots.
In the second part of this article series titled "How I Use the Advanced Capabilities of Btrfs", Margaret now explores some of the more advanced features of this file system like RAID, checksums or filesystem snapshots and clones.
If you want to learn more about this exciting new file system, these two articles provide a solid foundation of information to evaluate and get familiar with Btrfs. Go check them out!
In this article, Ginny explains how to use the Linux kernel's built-in resource control mechanisms (called "Cgroups") to manage the allocation of CPUs and memory to processes and how to configure disk I/O throttling for certain groups of processes. Cgroups is a very powerful and flexible feature of the Linux kernel. We hope you will find this article useful!
Just a friendly reminder: this year too, we'll continue this series of free one-day events.
OTN Sys Admin Days are like OTN's Developer Days, but we focus on the Sys
Admin with two parallel, hands-on Oracle Solaris and Oracle Linux tracks.
These are live classroom events and you'll need to bring your own laptop to
follow the practical exercises that we will go through in a VirtualBox
The Linux track will cover topics like package management with RPM and yum, storage management with LVM2 and Linux RAID as well as learning the basics of managing the Btrfs file system. The Solaris track will cover the ZFS file system, Solaris containers and security (roles, SMF).
The next OTN Sys Admin Day will take place in Salt Lake City (UT), on January 18th, 8:00am-4:00pm.
Attendance is free, but a registration is required – reserve your spot now by following this link! We look forward to your participation.
The second OTN Sys Admin Day will take place on Thursday, September 08, 2011. It will be from 8:00am to 4:00pm at the Sheraton Grand Sacramento Hotel (1230 J Street, Sacramento, CA 95814).
Similar to the very successful OTN Developer Days, this is an event especially for system administrators. Attendance is free and there will be two parallel tracks about Oracle Linux and Oracle Solaris. The sessions will be very hands-on and participants will have to bring their own laptops to perform the exercises. We'll be using virtual appliances running in VirtualBox for the labs, so make sure you have it installed already when you arrive!
Below is the planned agenda for this event. This is a free event and the number of seats is limited, so please register soon!
Update: If you can't make it to Sacramento, we have another sysadmin day scheduled for September 22nd in Seattle (WA). Check this page for more details and registration!
Registration System Shakedown (optional)
Overview of Oracle Operating Systems
Overview of Oracle Solaris
Overview of Oracle Linux
Hands-On Lab: Oracle Solaris ZFS
Hands-On Lab: Package Management and Configuration
Hands-On Lab: Virtualization
Hands-On Lab: Storage Management
Hands-On Lab: Image Packaging System (IPS)
Hands-On Lab: BTRFS
Oracle Enterprise Manager Ops Center Lecture
Discussion: Most Pressing Sys Admin Issues Wrap-up
If you can't make it to Sacramento or Seattle, don't worry – there will be many more of these events coming up! For example, there is another one scheduled for January 18th in Salt Lake City. A registration page for this one should be out shortly. Check this page for an up to date listing of upcoming developer and sysadmin days!