温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

CentOS下启用Oracle ACFS步骤是什么

发布时间:2021-11-09 14:41:50 来源:亿速云 阅读:148 作者:iii 栏目:关系型数据库

本篇内容介绍了“CentOS下启用Oracle ACFS步骤是什么”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

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

安装Oracle Enterprise Linux的内核

上传一个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

“CentOS下启用Oracle ACFS步骤是什么”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注亿速云网站,小编将为大家输出更多高质量的实用文章!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI