Monday, May 21, 2012

How do register an Exadata with Unbreakable Linux Network (ULN)?

I am doing the installation of last FSQDPE patch 11.2.3.1.0 at April 2012.

Unlike previous patches the new the 11.2.3.1.0 Exadata Storage Server patch requires that the OS Linux on DB  nodes will be updated.  In section "6.1 Updating Oracle Linux Database Servers in Oracle Exadata Database Machine X2-2" Oracle say to register an Exadata with ULN.
My system is fresh (installed in March 2012) and have not been registered in ULN and have no patches yet.

So I get the error for YUM command:

[root@ed01db01 Server]# yum --enablerepo=exadata_dbserver_11.2.3.1.0_x86_64_base repolist
Error getting repository data for exadata_dbserver_11.2.3.1.0_x86_64_base, repository not found

The YUM Repository Setup give the advice:
Register the machine on the Unbreakable Linux Network with commands:
rpm --import /usr/share/rhn/RPM-GPG-KEY
up2date-nox --register

But there are no RPM-GPG-KEY file and up2date command in the fresh Exdata!

Another step was ound in Metalink:
NOTE 1234710.1, "Enable database hosts in Exadata Database Machine for using up2date or yum and vncserver"

This note offers to run this command to install up2date:

rpm -Uhv --nodeps curl-7.15.5-9.el5.x86_64.rpm gnupg-1.4.5-14.x86_64.rpm rhnlib-2.5.22-3.el5.noarch.rpm rhpl-0.194.1-1.0.2.x86_64.rpm rpm-python-4.4.2.3-18.el5.x86_64.rpm up2date-5.10.1-41.8.el5.x86_64.rpm

After it:
[root@ed01db01 Server]# rpm -Uhv --nodeps curl-7.15.5-9.el5.x86_64.rpm gnupg-1.4.5-14.x86_64.rpm rhnlib-2.5.22-3.el5.noarch.rpm rhpl-0.194.1-1.0.2.x86_64.rpm rpm-python-4.4.2.3-18.el5.x86_64.rpm up2date-5.10.1-41.8.el5.x86_64.rpm
warning: curl-7.15.5-9.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
        package rpm-python-4.4.2.3-18.el5.x86_64 is already installed


But up2date have not been installed after this cmd!
One modification was required to finally set up up2date:

[root@ed01db01 Server]# rpm -Uhv --nodeps gnupg-1.4.5-14.x86_64.rpm rhnlib-2.5.22-3.el5.noarch.rpm rhpl-0.194.1-1.0.2.x86_64.rpm  up2date-5.10.1-41.8.el5.x86_64.rpm
warning: gnupg-1.4.5-14.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:rhpl                   ########################################### [ 25%]
   2:gnupg                  ########################################### [ 50%]
   3:rhnlib                 ########################################### [ 75%]
   4:up2date                ########################################### [100%]
[root@ed01db01 Server]#


Only ater such long way we have working up2date !

And the key file appeared:
[root@ed01db02 Server]# ls -l /usr/share/rhn/RPM-GPG-KEY
-rw-r--r-- 1 root root 1397 Nov 11  2007 /usr/share/rhn/RPM-GPG-KEY

And next step ewre executed well:
[root@ed01db01 Server]# rpm --import /usr/share/rhn/RPM-GPG-KEY
[root@ed01db01 Server]#

And the up2date --register works well.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

How to disable/setup autostart parameters for specified instance ?

Q: We have a 4-node RAC. I need to disable autostart of the DB on one node only.    How to do it and how to see autostart parameters, confir...