CLSRSC-400 ACFS drivers unable to be installed.

本文记录了Oracle集群中CRS(Cluster Ready Services)的禁用过程,为系统重启做准备。包括CRS状态检查、高可用服务自启动禁用、ACFS驱动安装状态确认及系统重启需求提示。

 


>End Command output
2018-11-23 17:07:23: /u01/app/12.2.0/grid/bin/crsctl disable has ... disabling CRS in preparation for reboot.
2018-11-23 17:07:23: Executing cmd: /u01/app/12.2.0/grid/bin/crsctl disable has
2018-11-23 17:07:23: Command output:
>  CRS-4621: Oracle High Availability Services autostart is disabled. 
>End Command output
2018-11-23 17:07:23: /u01/app/12.2.0/grid/bin/crsctl disable has ... CRS disabled, ready for reboot.
2018-11-23 17:07:23: USM driver install status is 3
2018-11-23 17:07:23: ACFS drivers unable to be installed.
2018-11-23 17:07:23: Executing cmd: /u01/app/12.2.0/grid/bin/clsecho -p has -f clsrsc -m 400
2018-11-23 17:07:23: Command output:
>  CLSRSC-400: A system reboot is required to continue installing. 
>End Command output
2018-11-23 17:07:23: CLSRSC-400: A system reboot is required to continue installing.
2018-11-23 17:07:23: Invoking "/u01/app/12.2.0/grid/bin/cluutil -ckpt -oraclebase /u01/app/12.2.0 -writeckpt -name ROOTHAS_ACFSINST -state FAIL"
2018-11-23 17:07:23: trace file=/u01/app/12.2.0/crsdata/dbbk/crsconfig/cluutil8.log
2018-11-23 17:07:23: Running as user grid: /u01/app/12.2.0/grid/bin/cluutil -ckpt -oraclebase /u01/app/12.2.0 -writeckpt -name ROOTHAS_ACFSINST -state FAIL
2018-11-23 17:07:23: s_run_as_user2: Running /bin/su grid -c ' echo CLSRSC_START; /u01/app/12.2.0/grid/bin/cluutil -ckpt -oraclebase /u01/app/12.2.0 -writeckpt -name ROOTHAS_ACFSINST -state FAIL '
2018-11-23 17:07:23: Removing file /tmp/V5S7ephJWf
2018-11-23 17:07:23: Successfully removed file: /tmp/V5S7ephJWf
2018-11-23 17:07:23: pipe exit code: 0
2018-11-23 17:07:23: /bin/su successfully executed

2018-11-23 17:07:23: Succeeded in writing the checkpoint:'ROOTHAS_ACFSINST' with status:FAIL

 


[root@dbbk ~]# /u01/app/12.2.0/grid/bin/acfsdriverstate -orahome /u01/app/12.2.0/grid supported
ACFS-9200: Supported
[root@dbbk ~]# 

 


[root@dbbk ~]# /u01/app/12.2.0/grid/bin/acfsdriverstate -orahome /u01/app/12.2.0/grid installed
ACFS-9203: true
[root@dbbk ~]# 

 


[root@dbbk ~]# /u01/app/12.2.0/grid/bin/acfsdriverstate -orahome /u01/app/12.2.0/grid loaded
ACFS-9204: false
[root@dbbk ~]# 
[root@dbbk ~]# 

### 关于ADVM/ACFS不支持CentOS 7.9的原因 ADVM/ACFS(Automatic Storage Management Cluster File System 和 Asynchronous Disk Volume Manager)是由Oracle开发的一套存储管理工具,主要用于Oracle RAC环境下的共享磁盘管理和文件系统功能。然而,在某些操作系统版本上可能会遇到兼容性问题。 对于CentOS 7.9而言,ADVM/ACFS的支持受限主要是因为操作系统的内核版本与Oracle Grid Infrastructure的要求不符。具体来说: - Oracle官方文档指出,ADVM/ACFS仅支持特定的操作系统及其对应的内核版本[^1]。 - 当前的错误提示表明CentOS 7.9所使用的内核版本`5.4.17-2136.308.9.el7uek.x86_64`并不在受支持列表之内。 - 此外,类似的错误也曾在其他CentOS版本中被报告过,例如CentOS 5.8和CentOS 7.6中的情况[^2][^5]。 这种限制的根本原因在于Oracle对底层驱动程序和支持库进行了严格的验证测试,而这些测试通常只覆盖到少数几个主流Linux发行版及其指定版本号。如果目标平台未经过充分测试,则可能导致功能性缺失或者稳定性隐患。 ### 解决方案探讨 尽管存在上述限制条件,仍然可以尝试以下几种替代解决方案来实现类似的功能需求: #### 方法一:升级至更高版本的Oracle软件 考虑将现有的Oracle数据库产品线更新为最新稳定发布版本,比如迁移到Oracle Database 19c或以上级别。较新的版本往往能够更好地适配现代Linux发行版,并且有可能已经解决了早期存在的各种兼容性障碍[^4]。 #### 方法二:修改源码重新编译模块 理论上可以通过获取原始代码并针对当前运行环境中实际使用的Linux Kernel进行调整后再自行构建所需的组件。不过这种方法技术难度较高,而且维护成本较大,因此一般仅推荐给具备深厚专业知识背景的技术人员采用[^3]。 #### 方法三:切换基础架构层 另一个可行的选择是完全放弃依赖本地文件系统的方式转而利用网络附加存储(NAS)或者其他形式远程访问机制作为数据持久化媒介。例如NFSv4协议提供了良好的性能表现同时还简化了跨节点间资源共享流程。 以下是基于Python编写的一个简单脚本用于检测是否成功加载了ACFS服务状态: ```python import subprocess def check_acfs_status(): try: result = subprocess.run(['/opt/app/grid/bin/acfsutil', '-h'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True) if "not supported" in result.stdout.lower(): return False else: return True except Exception as e: print(f"Error occurred while checking acfs status: {e}") return None if __name__ == "__main__": status = check_acfs_status() if status is True: print("ACFS service is running.") elif status is False: print("ACFS service failed to load due to unsupported OS version.") else: print("Failed to determine the status of ACFS service.") ``` 此脚本通过调用命令行工具`acfsutil`来判断其返回消息里是否存在关键字“not supported”,从而得出结论关于该服务器上的ACFS可用状况。 ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值