ITPub博客

首页 > 数据库 > Oracle > CentOS下启用Oracle ACFS步骤

CentOS下启用Oracle ACFS步骤

原创 Oracle 作者:abstractcyj 时间:2019-04-02 15:58:25 1 删除 编辑

CentOS 默认不在 Oracle 官方支持的操作系统之列。 ACFS 这个特性在安装 Grid 时也没有安装。尝试安装时,会提示 ”Not Supported”

 

 

安装 Oracle Enterprise Linux 的内核

参考: http://linuxsysconfig.com/2015/02/centos-7-with-oracle-uek3/

 

上传一个 OEL 7.3 的 ISO 文件

 

用 ISO 做一个本地 yum 源

 

安装

 

yum-config-manager --disable ol7*

yum-config-manager --enable ol7_UEKR3

sed -i 's/DEFAULTKERNEL=kernel/DEFAULTKERNEL=kernel=uek/' /etc/sysconfig/kernel

yum install kernel-uek kernel-uek-devel

 

安装之后:

grub2-editenv list

init 6

打 GRID 软件补丁

补丁: 25078431

1. 替换掉 opatch 工具

p6880880_180000_Linux-x86-64.zip

这里所有节点的 opatch 都要替换

2. 解压补丁包

unzip /u01/p25078431_122010_Linux-x86-64.zip -d /tmp

 

3. 打补丁

/u01/app/12.2.0/grid/OPatch/opatchauto apply /tmp/25078431

两个节点都要打

4. 修改 Oracle 配置文件

修改 $GRID_HOME/lib/ osds_acfslib.pm

参考:

https://blog.csdn.net/weiwangsisoftstone/article/details/78813518

 

[root@rac01 lib]# vi osds_acfslib.pm

 

  # Testing for "oraclelinux_release", etc prevents us from dropping

  # into the code below from other RH based distros like CentOS, for example.

  if ((defined($release)) &&                     # Redhat or OEL if defined

      (($release =~ /^redhat-release/) ||        # straight RH

       ($release =~ /^enterprise-release/) ||    # Oracle Enterprise Linux

        ($release =~ /^centos-release/) ||        # CentOS hack 

       ($release =~ /^oraclelinux-release/)))    # Oracle Linux

 

 

启用 ACFS 模块

[root@ncrac4 lib]# acfsroot install

ACFS-9300: ADVM/ACFS distribution files found.

ACFS-9314: Removing previous ADVM/ACFS installation.

ACFS-9315: Previous ADVM/ACFS components successfully removed.

ACFS-9307: Installing requested ADVM/ACFS software.

ACFS-9308: Loading installed ADVM/ACFS drivers.

ACFS-9321: Creating udev for ADVM/ACFS.

ACFS-9323: Creating module dependencies - this may take some time.

ACFS-9154: Loading 'oracleoks.ko' driver.

ACFS-9154: Loading 'oracleadvm.ko' driver.

ACFS-9154: Loading 'oracleacfs.ko' driver.

ACFS-9327: Verifying ADVM/ACFS devices.

ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'.

ACFS-9156: Detecting control device '/dev/ofsctl'.

ACFS-9309: ADVM/ACFS installation correctness verified.

[root@ncrac4 lib]# acfsload start -s


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8520577/viewspace-2640131/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
曾从事java方向开发多年。近年已经转入数据库方向。主要擅长SQL优化,Oracle数据库问题诊断,Oracle备份与恢复等。服务于医药物流,医院等行业

注册时间:2010-01-26

  • 博文量
    602
  • 访问量
    1091588