oracleasm, rhel 6.4 and higher - Nice Red Hat Solution

Latest response

My oracle guru was really happy when I found this url:https://access.redhat.com/solutions/315643, and this made the kernel and asm patch bit tremendously easier.

Some of you I suspect know this, but thought I'd pass along...

Responses

We use Satellite in our environment, and to make the ASM portion as simple as possible, I make the necessary Oracle packages available.

I add a el5 and ol6 channel to my base - however, I ONLY sync the necessary packages (not the entire EL5 and OL6 tree). Or.. I try to ;-)

[root@pdgllprhnsat01 ~]# cat /etc/yum.repos.d/oracle.repo 
################################
# EL5 LATEST
################################
[el5_latest]
name=Oracle Linux 5 Latest (x86_64)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
exclude = *el5xen* oracleasm-2.6.18*.el5debug* 
includepkgs = oracleasm*el5.x86_64* oracle-validated-* oracleasmlib* cvuqdisk*
excludepkgs = *el5xen* oracleasm-2.6.18*.el5debug*
includepkgorder = excludepkg,includepkg

################################
# OL6 LATEST
################################
[ol6_latest]
name=Oracle Linux 6 Latest (x86_64)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0
exclude = *xen* 
includepkgs = oracleasm*el6.x86_64 oracle-validated-* oracleasmlib* cvu* kmod-oracleasm*
excludepkgs = oracleasm-2.6*.ol6xen* oracleasm-2.6.*.ol6debug* oraclelinux-release* oracle-logos* oracle-rdbms*
includepkgorder = excludepkg,includepkg

[ol6_addons]
name=Oracle Linux 6 Add ons (x86_64)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/x86_64/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_ga_base]
name=Oracle Linux 6 GA installation media copy (x86_64)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/x86_64/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

I then use a fairly hacked-together daily cron for these channels. The script does a reposync (which uses my "custom" /etc/yum.repos.d/oracle.repo file and then I push the packages to the channel using spacewalk-repo-sync.
(I can include my ridiculously ugly script if someone needs to see it as an example).

Very nice James

The three rpms we needed exist in the applicable RHEL 'optional' channel in our satellite server, and we have this on our oracle servers:

[me@oracleserverXY ~]$ rpm -qa | grep asm
kmod-oracleasm-[version].[arch]
oracleasm-support-[version].[arch]
oracleasmlib-[version].[arch]

With these three alone and the config in the article, we have the oracle ASM rpms we need at least for our environment (disconnected), and the rpms come with the typical Red Hat satellite channels directly from Red Hat.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.