oracleasm-support version 2.1.0 and later now have the
oracleasm update-driver command. This command will automatically
determine the latest driver for a given kernel and install it. Thus, the
system administrator no longer has to match version numbers by hand.
The oracleasm update-driver command works both with the
Unbreakable Linux Network (ULN) and the Oracle Technology Network (OTN).
Systems registered with ULN will use it as the source of new drivers, while
other systems will use OTN.
To install the latest driver for the currently running kernel,
log in as root and run:
# oracleasm update-driver
This will detect the current kernel, query ULN or OTN for the latest driver,
download, and install it. If the latest driver is installed, it won't
do anyhting.
To install the latest driver for an installed kernel that is not currently
the running one, specify the version on the command line:
# oracleasm update-driver 2.6.18-53.el5
This will query ULN or OTN for the latest driver for kernel 2.6.18-53.el5,
installing it if necessary. You can specify more than one version at a
time, as long as each kernel is already installed on the system.
See the oracleasm-update-driver(8) for more information about
this command.