If you have a system with Oracle Linux 6 installed but you are not using public-yum, and you want to play with our mainline kernel builds from the playground channel, then you need to create a simple, small yum repo file and you are all set.
Some reasons could be that your system is configured for a local yum repository for updates, or you are registered directly with ULN.
Either way, a very simple example file can be
ISO images will be available shortly from http://edelivery.oracle.com. If there is an urgent need to get the ISOs through My Oracle Support, simply file a service request.
Release notes are here.
The programmatic way to extend Oracle VM Template Configure is to build your own module.
To write your own module, you have to build an RPM that contains a configure script in a specific format, let's go through the steps to do this.
Oracle VM template configure works very similar to the init.d and chkconfig script model. For template config we have the /etc/template.d directory, all the scripts go into /etc/template.d/scripts. Then symlinks are made to other subdirectories based on the type of target the scripts provide. At this point we handle configure and cleanup.
Using the Oracle VM Message API for your own applications...
There are two ways to communicate through the APIs, a quick and easy one and a more comprehensive one.
The quick and easy method of just sending and receiving messages.
# ssh admin@localhost -p 10000 admin@localhost's password: OVM> sendVmMessage Vm name=ol6u3apitest key=foo message=bar log=no Command: sendVmMessage Vm name=ol6u3apitest key=foo message=bar log=no Status: Success Time: 2012-12-27 09:04:29,890 PST
We just uploaded the Ksplice uptrack Offline edition client to ULN. Until recently, in order to be able to rely on Ksplice zero downtime patches, you know, the ability to apply security updates and bugfixes on Oracle Linux without the need for a reboot, each server made a direct connection to our server.
In the previous blog entry, I walked through the steps on how to set up a VM with the necessary packages to enable Oracle VM template configuration. The template configuration scripts are add-ons one can install inside a VM running in an Oracle VM 3 environment.
I have been asked a few times how one can make use of the Oracle VM API to configure an Oracle Linux VM running on top of Oracle VM 3. In the next few blog entries we will go through the various steps. This one will start at the beginning and get you to a completely prepared VM.
You can freely download Oracle Linux installation images from http://edelivery.oracle.com/linux.
dlmfs is a really cool nifty feature as part of OCFS2. Basically, it's a virtual filesystem that allows a user/program to use the DLM through simple filesystem commands/manipulation. Without having to write programs that link with cluster libraries or do complex things, you can literally write a few lines of Python, Java or C code that let you create locks across a number of servers. We use this feature in Oracle VM to coordinate the master server and the locking of VMs across multiple nodes in a cluster. It allows us to make sure that a VM cannot start on multiple servers at once.