二.安装ValidatedConfigurations 的先决条件
2.1 The Oracle Validated RPM Package forInstallation Prerequisites [ID 437743.1]
The Oracle RDBMSrequires for specific RPM packages to be installed on Oracle Linux (See thereferences section below and Oracle Database Documentation) . To get the required RPMsinstalled and system configured, one can use the Oracle Validated RPM. TheOracle Validated RPM has three main functions:
(1)During installation, via itsdependencies it will require the RPM packages required by the Oracle RDBMS(database install prerequisites)
(2)During installation, it willconfigure the OS (Oracle Linux) w.r.t. kernel parameters, user limits, etc.
(3)Provides/usr/bin/oracle-validated-verify to be ran afterwards if needed.
The Oracle Validated RPMis available from:
(1)The Unbreakable Linux Network (ULN)(See Document397038.1)
--只有在ULN 下validated 才有用。支持ULN 的平台在2.2节说明。
(2)From the OSS website:
http://oss.oracle.com/el4/oracle-validated/
http://oss.oracle.com/el5/oracle-validated/
Use thefollowing procedure to subscribe to Unbreakable Linux Network (ULN) channels,and to add the Oracle Software for Enterprise Linux channel that distributesthe Oracle Validated Configurations Setup RPM:
--以下步骤配置ULN:
1. Complete adefault Oracle Linux workstation installation, or a default Red Hat EnterpriseLinux installation.
2. Register yourserver with Unbreakable Linux Network (ULN). By default, you are registered for the Oracle LinuxLatest channel for your operating system and hardware.
这里要注意,注册的时候需要提供CSI号,Avalid Custom Support Identifier(CSI) is required to create a MetaLink account.A unique CSI number is usually issued for each Oracle product that is purchased。 也就是说只有购买了Oracle 产品的用户才能使用Validated configurations。
3. Log in to ULNat the following URL:
4. Clickthe Systems tab, and in the System Profiles list, select a registered server.The System Details window opens, and displays the subscriptions for the server.
5. From theAvailable Channels list, select the "Enterprise Linux <Release>Update <Level> Patches (<Architecture>)" channelthat is appropriate for your installation of Linux (for example:"Enterprise Linux 4 Update 7 Patches (i386)"). The channel nameconvention applies to different releases and architectures e.g.:
el4_u7_i386_patch: Enterprise Linux 4 Update 7 Patches (i386)
el4_u8_ia64_patch: Enterprise Linux 4 Update 8 Patch (ia64)
el5_u2_x86_64_patch: Enterprise Linux 5 Update 2 Patch (x86_64)
el5_u4_i386_patch: Enterprise Linux 5 Update 4 Patch (i386)
6. Click Subscribe.
7. From a terminal session, as root, enterthe following command:
# up2date --nox--show-channels
You should seeoutput indicating that you have subscribed to the Oracle Software forEnterprise Linux channel. For example:
el4_i386_latest
el4_u7_i386_patch
8. Open aterminal session as root, and install the Oracle Validated Configurations SetupRPM with up2date, using the following command:
# up2date --install oracle-validated
--通过ULN 安装 oracle-validated
9. If you arerunning a cluster, repeat steps 1 through 8 on all other servers in yourcluster.
Note: Check the Oracle ValidatedConfiguration RPM log file to review system configuration changes,
--Validated Configuration 的log文件:
for releaseolder than 1.0.0.18
/etc/sysconfig/oracle-validated/results/orakernel.log
for releases 1.0.0.18 and up
/var/log/oracle-validated/results/orakernel.log
2.2 How to Switch fromRed Hat Network to Unbreakable Linux Network (ULN) [ID 397038.1]
This document describes how to connect tothe Oracle Unbreakable Linux Network (ULN) to obtain software updates. Itoutlines the steps needed to switch a server installed with Red Hat EnterpriseLinux 6, Red Hat Enterprise Linux 5, Red Hat Enterprise Linux version 4 or RedHat Enterprise Linux Server version 3, Update 8 or Update 9 from Red HatNetwork(RHN) to Unbreakable Linux Network(ULN).
(1)Regards howto switch the system from RHN to ULN, please see https://linux.oracle.com/switch.html forthe latest version of this document.
(2)Regards howto register a ULN account, please go to https://linux.oracle.com/register
支持ULN的平台:
Red Hat Enterprise Linux 6
Oracle's ULNregister program will allow you to switch to ULN if you are running RedHat Enterprise Linux 6 up to and including Update 1
Red Hat Enterprise Linux 5
Oracle's up2dateprogram will allow you to switch to ULN if you are running Red HatEnterprise Linux 5 up to and including Update 6
Red Hat Enterprise Linux 4
Oracle's up2dateprogram will allow you to switch to ULN if you are running Red HatEnterprise Linux 4 up to and including Update 9
Red Hat Enterprise Linux 3
Oracle's up2dateprogram will allow you to switch to ULN if you are running Red HatEnterprise Linux 3 Update 8 or later
三.安装Validated Configuration
在第二节看到,可以使用ULN 来安装validated configurations。 其实在Oracle Linux 5中自带了Validated Configurations 的安装包。我们在安装操作系统的时候就可以把validated configurations 一起安装了。
(1)Select Customize now, andclick Next.
(2)On the Customize selection page,select Base System on the list on the left side of the screen, andthen select System Tools on the right side of the screen. Then click OptionalPackages.
(3)The Packages in System Tools windowopens. Select the Oracle Validated RPM package box from the package list, andclick Next.
注意:OEL 6.x 还不支持oracle-validated package。
这个可以从Oracle的public yum 上可以看到对应版本的Oracle Linux 是否有对应的rpm 包:
http://public-yum.oracle.com/repo/OracleLinux/OL5/7/base/x86_64/
我们也可以配置yum后使用yum 来安装Validated Configurations。
Linux 搭建 YUM 服务器 http://www.linuxidc.com/Linux/2012-02/55466.htm
1.创建介质装载目录/media/disk:
[root@rac1 /]#mkdir /media/disk
2.插入OEL DVD光盘
3.装载目录:
[root@rac1 media]# mount /dev/cdrom/media/disk
mount: block device /dev/sr0 iswrite-protected, mounting read-only
4. 创建yum 配置文件:
[root@rac1 yum.repos.d]# pwd
/etc/yum.repos.d
[root@rac1 yum.repos.d]# vi dave.repo
[rhel-base]
name= TianleSoftware Oracle Linux 6.1
baseurl=file:///media/disk/Server/
gpgcheck=0
enabled=1
5. 使用YUM 安装
yum install oracle-validated
