When you are administering an Exadata or more Exadata’s, you probably have multiple databases running on different database or “computing” nodes. In order to understand what kind of IO you are doing, you can look inside the statistics of your database, and look in the data dictionary what that instance (more...)
Running RAC? (Why? No, really, WHY? Never heard of DataGuard? With a broker?)
Not sure if you’ve configured it correctly?
Not sure if you have all of the recommended initialisation parameters set?
All recommended RPM’s installed?
All daemons running?
etc, etc, etc,
Well, as of Oracle 11. (more...)
- Entropy pool
- Monitoring entropy
- Using /dev/urandom
- JRE – java.security
- rngd daemon
- Additional information
In computing you often need random numbers. They are used for encrypting stuff but (more...)
Relax and Recover (ReaR) is a great tool for facilitating Linux bare-metal recovery. In works really well, however, there is a bug in the 1.14 release (it seems the same issue is present in 1.15, but I didn’t test yet) that effects restores for many bonded Ethernet interface (more...)
Are you signed up yet for Ohio LinuxFest on Sep. 13-15? I'll be there to present
IPython for non-Pythonistas
Break out of your (bash) shell! IPython and the IPython Notebook have swept over the Python programming community, but they're not just for Python programmers - they make for high-powered shell (more...)
For my example, (more...)
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 (more...)
I have seen several clients who are struggling to decode page allocation failures on Exadata, in this post i will try to explain how to read the backtrace. The following is an anonymized client case where page allocation failures are leading up to a node reboot.
Jan 1 11:58:02 dm01db01 (more...)
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. Once the update is installed securely, you can define the
iptables rules (more...)
We will complete our lab by installing the Oracle Database software, create a Pluggable database and take a look in the Oracle Enterprise Manager Database Express.
The steps to install and create an Oracle Database 12c are:
1 – Go to the database directory created when unzipped the 2 Oracle (more...)
Linux Containers (LXC) provide a means to isolate individual services or applications as well as of a complete Linux operating system from other services running on the same host. To accomplish this, each container gets its own directory (more...)
Join our live Webcast on Tuesday, June 25, 2013, 11:00 GMT-12:00 CET, to discover how you can:
- Cut costs by up to 50% with a unified, multiplatform data center fabric
- Take control of networking and storage with a single management interface
- Reduce infrastructure complexity by 70% with (more...)
I. hate. slow. code.
We all hate slow code. Bunch of princesses is what we've become. During the American Civil War, they had to deliver their text messages by horseback! It took weeks! And half the time, they got blown off their horse by a cannonball to the neck!
Today? Today we have to have our stuff back in milliseconds, or we start tweeting about it. So, if you're developing or deploying applications, how do you keep them performing at the speed to which we have become accustomed? DTrace, of course.
"But I'm a Linux guy," you say. "I don't DO Oracle Solaris."
That's fine. The folks at Oracle Solaris are not only wicked smart, they are generous. Now you can use DTrace on Oracle Linux. Let me point out, by the way, that DTrace is just as useful for sysadmins as it is for developers. In this video, taken a couple of years ago, Brendan Gregg explains how sysadmins can make their deployed applications run faster even after the developers who wrote them pushed back the last bits of their code:
Video Interview: How to Improve the Performance of Deployed Applications Using DTrace
Brendan Gregg describes the best ways for sysadmins to tune deployed applications to get more performance out of them in their particular computing environment.
If you'd like to try DTrace on Oracle Linux, here are some resources to get you started.
What DTrace Probes Are Available on Oracle Linux?
If you are running Oracle Linux 6 with the DTrace-enabled Unbreakable Enterprise Kernel Release 2 (2.6.39), you can run this command to list all the DTrace probes available on your system:
If you are not running that version of Oracle Linux, you can download it from the
ol6_x86_64_Dtrace_latest channel on the Unbreakable Linux Network (ULN). For more info about installing and configuring DTrace, see the DTrace chapter in the Oracle Linux Administrator's Solutions Guide for Release 6.
For each probe listed by
dtrace -l, the output includes a name, the portion of the program where it resides, and the Oracle Linux kernel module that does the probing. Once you have that, go to Chapter 11 of the DTrace Guide to find out what each probe does.
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.
Bonus: Brendan Gregg's one liners for DTrace (some of the existing DTrace one-liners will require modification to work on Oracle Linux).
The DTrace Book
You can get all the info you need about DTrace through the Dynamic Tracing in Oracle Solaris, Mac OS X, and FreeBSD, by Brendan Gregg and Jim Mauro. Of course, you can also buy your own paper or electronic copy through any of the major retailers. (We're working on getting a good discount for the book, but you'll have to subscribe to the OTN Systems Community Newsletter to find out about it.)
Lots of developers and sysadmins are using Dtrace and posting their questions and tips on the DTrace Forum. Here's an example of one conversation:
Q: Unexpected output of dtrace script
m1436wrote a dtrace script to monitor the bytes returned by the read() system call to the user programme, but was getting strange results. He includes the dtrace script and the strange output. A:
kvhresponds, explaining that the problem m1436 encountered is the result of a common misconception about copyin(). "It is intended to be used to copy content of userspace memory into a scratch buffer so that it can be accessed directly from within kernel space (where the DTrace core executes). That said, it is often interpreted as somehow being equivalent to malloc() whereas in reality it actually works like alloca() instead. So, what you are seeing is basically the artifact of the scratch buffer being overwritten with other data. ... in order for this to work, you should do things a bit differently.
The DTrace forum always has great discussions. Let me know if you find any that are worthy of highlighting. And good luck!
LinuxCon Japan 2013 is happening next week (May 29-31) in Tokyo, and several members of the Oracle mainline Linux kernel team are speaking:
- Jeff Liu - XFS in Rapid Development
- Liu Bo - Btrfs Specific Data Deduplication
- James Morris - Recent Developments in the Linux Kernel Security Subsystem
For those (more...)
Oracle is sponsoring LinuxCon Japan 2013 (Oracle's Linux Blog)
Wednesday, May 29th, 3pm Neptune Room:参考までに下記に出てくる perf はOracle LinuxでUEKカーネルでブートすれば使える状態になっています。
Recent Developments in the Linux Kernel Security Subsystem - James Morris, Oracle
LinuxCon/CloudOpen Japan: Recent Developments in the Linux Tracing...
Perf, Systemtap, and Ftrace?