YUM for Exadata, or is it Yummy Exadata

For method 1 there are two options

  1. Connect a non-Exadata DB server to sync with ULN (or public Yum) and setup a Yum repository – OR –
  2. Use the general Oracle Linux iso as Yum repository on the local DB server.

For 1) when creating a repository by syncing with ULN: do not place the repository on an Exadata database server. See this link for more information on connecting to ULN and setting up a repository.

The quickest steps to setup a local repo are using an iso image as described in 2). Perform the following steps:

  • Download the full Oracle Linux 6 iso from https://edelivery.oracle.com/linux.
    Select “Oracle Linux” into “Select a Product Pack” drop box and “X86 64 bit” into “Platform” drop box and press on the button GO.
    Choose the link “Oracle Linux 6 Update 6 Media Pack for x86_64 (64 bit)” and, from the next page, download the iso
    Oracle Linux Release 6 Update 6 for x86_64 (64 Bit)  – V52218-01.iso
  • Create a mountpoint:
    # mkdir /mnt/ol6
  • Mount the repository:
    # mount -o loop <file.iso> /mnt/ol6
  • Edit /etc/yum.repos.d/Exadata-computenode.repo to make it look as follows:
    [ol6_iso]
    name=Oracle Exadata DB server
    baseurl=file:///mnt/ol6
    gpgcheck=0
    enabled=1
  • Validate the repository:
yum list –disablerepo=* –enablerepo=ol6_iso

This should list all the Oracle Linux 6 packages on the ‘ol6_iso’ repository

When either a synchronized ULN repository is used or the Oracle Linux 6 iso is mounted as described above: run the following steps on Exadata 121210 Database servers running Oracle Linux 6 to install the appropriate packages:

# yum –disablerepo=* –enablerepo=ol6_iso install xorg-x11-xauth (note: starting 12.1.2.2.0 this package is not mandatory for X applications)
# yum –disablerepo=* –enablerepo=ol6_iso install xorg-x11-utils


NOTE: errors regarding “pre-existing rpmdb problem(s), ‘yum check’ output” can be ignored
 
Output will be similar to:

# yum –disablerepo=* –enablerepo=ol6_iso install xorg-x11-xauth -y
Loaded plugins: downloadonly
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6 will be installed
–> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64
–> Running transaction check
—> Package libXmu.x86_64 0:1.1.1-2.el6 will be installed
–> Processing Dependency: libXt.so.6()(64bit) for package: libXmu-1.1.1-2.el6.x86_64
–> Running transaction check
—> Package libXt.x86_64 0:1.1.4-6.1.el6 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
xorg-x11-xauth x86_64 1:1.0.2-7.1.el6 ol6_latest 34 k
Installing for dependencies:
libXmu x86_64 1.1.1-2.el6 ol6_latest 65 k
libXt x86_64 1.1.4-6.1.el6 ol6_latest 164 k
Transaction Summary
========================================================================================================================
Install 3 Package(s)
Total download size: 264 k
Installed size: 622 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): libXmu-1.1.1-2.el6.x86_64.rpm | 65 kB 00:00
(2/3): libXt-1.1.4-6.1.el6.x86_64.rpm | 164 kB 00:00
(3/3): xorg-x11-xauth-1.0.2-7.1.el6.x86_64.rpm | 34 kB 00:00
————————————————————————————————————————
Total 231 kB/s | 264 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 3 pre-existing rpmdb problem(s), ‘yum check’ output follows:
fuse-2.8.3-4.0.2.el6.x86_64 has missing requires of kernel >= (‘0’, ‘2.6.14’, None)
2:irqbalance-1.0.4-10.0.2.el6.x86_64 has missing requires of kernel >= (‘0’, ‘2.6.32’, ‘358.2.1’)
perl-BSD-Resource-1.28-1.fc6.1.x86_64 has missing requires of perl(:MODULE_COMPAT_5.8.8)
Installing : libXt-1.1.4-6.1.el6.x86_64 1/3
Installing : libXmu-1.1.1-2.el6.x86_64 2/3
Installing : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64 3/3
Verifying : libXmu-1.1.1-2.el6.x86_64 1/3
Verifying : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64 2/3
Verifying : libXt-1.1.4-6.1.el6.x86_64 3/3
Installed:
xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6
Dependency Installed:
libXmu.x86_64 0:1.1.1-2.el6 libXt.x86_64 0:1.1.4-6.1.el6
Complete!
# yum install xorg-x11-utils
Loaded plugins: downloadonly
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package xorg-x11-utils.x86_64 0:7.5-6.el6 will be installed
–> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
–> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
–> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
–> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
–> Processing Dependency: libXv.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
–> Running transaction check
—> Package libXv.x86_64 0:1.0.9-2.1.el6 will be installed
—> Package libXxf86dga.x86_64 0:1.1.4-2.1.el6 will be installed
—> Package libXxf86misc.x86_64 0:1.0.3-4.el6 will be installed
—> Package libXxf86vm.x86_64 0:1.1.3-2.1.el6 will be installed
—> Package libdmx.x86_64 0:1.1.3-3.el6 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
xorg-x11-utils x86_64 7.5-6.el6 ol6_latest 94 k
Installing for dependencies:
libXv x86_64 1.0.9-2.1.el6 ol6_latest 16 k
libXxf86dga x86_64 1.1.4-2.1.el6 ol6_latest 17 k
libXxf86misc x86_64 1.0.3-4.el6 ol6_latest 17 k
libXxf86vm x86_64 1.1.3-2.1.el6 ol6_latest 16 k
libdmx x86_64 1.1.3-3.el6 ol6_latest 14 k
Transaction Summary
========================================================================================================================
Install 6 Package(s)
Total download size: 174 k
Installed size: 324 k
Is this ok [y/N]: y
Downloading Packages:
(1/6): libXv-1.0.9-2.1.el6.x86_64.rpm | 16 kB 00:00
(2/6): libXxf86dga-1.1.4-2.1.el6.x86_64.rpm | 17 kB 00:00
(3/6): libXxf86misc-1.0.3-4.el6.x86_64.rpm | 17 kB 00:00
(4/6): libXxf86vm-1.1.3-2.1.el6.x86_64.rpm | 16 kB 00:00
(5/6): libdmx-1.1.3-3.el6.x86_64.rpm | 14 kB 00:00
(6/6): xorg-x11-utils-7.5-6.el6.x86_64.rpm | 94 kB 00:00
————————————————————————————————————————
Total 103 kB/s | 174 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXv-1.0.9-2.1.el6.x86_64 1/6
Installing : libdmx-1.1.3-3.el6.x86_64 2/6
Installing : libXxf86dga-1.1.4-2.1.el6.x86_64 3/6
Installing : libXxf86vm-1.1.3-2.1.el6.x86_64 4/6
Installing : libXxf86misc-1.0.3-4.el6.x86_64 5/6
Installing : xorg-x11-utils-7.5-6.el6.x86_64 6/6
Verifying : xorg-x11-utils-7.5-6.el6.x86_64 1/6
Verifying : libXxf86misc-1.0.3-4.el6.x86_64 2/6
Verifying : libXxf86vm-1.1.3-2.1.el6.x86_64 3/6
Verifying : libXxf86dga-1.1.4-2.1.el6.x86_64 4/6
Verifying : libdmx-1.1.3-3.el6.x86_64 5/6
Verifying : libXv-1.0.9-2.1.el6.x86_64 6/6
Installed:
xorg-x11-utils.x86_64 0:7.5-6.el6
Dependency Installed:
libXv.x86_64 0:1.0.9-2.1.el6 libXxf86dga.x86_64 0:1.1.4-2.1.el6 libXxf86misc.x86_64 0:1.0.3-4.el6
libXxf86vm.x86_64 0:1.1.3-2.1.el6 libdmx.x86_64 0:1.1.3-3.el6
Complete!

 

Nodes freshly imaged to 12.1.2.x need two additional packages: libdmx and libXxf86vm. Install as follows:

# yum install libdmx libXxf86vm

Method #2: Manual downloading and installing rpms
Download and install individual packages manually.

NOTE: Manual downloading and installing is not recommended because when any other dependency required is not pulled in automatically (which yum does).E