暂无图片
暂无图片
暂无图片
暂无图片
1
暂无图片
OracleRAC ACFS安装与卸载
1220
19页
21次
2022-09-28
5墨值下载
OracleRAC ACFS安装与卸载
目录
ACFS安装与卸载:
一、在RAC上手动安装ACFS/ADVM 模块的步骤如下:
1、验证内存中是否存在 ACFS/ADVM 模块:
2、用root用户重新安装ACFS/ADVM 模块:
3ACFS/ADVM 模块是否已加载并存在于内存中:
4、成功安装ACFS/ADVM 模块后创建asm volume:
5、将asm volume格式化成文件系统:
1、用asmcmd volinfo-a确定卷路径
2、格式化成acfs文件系统
3、在RAC所有节点创建挂载点
6、在Oracle Registry中注册ACFS 文件系统:
7、将 ASM Volume (ADVM) 上挂载 ACFS 文件系统:
8、将ora.registry.acfs服务注册进集群:
二、在RAC上卸载/删除 ACFS/ADVM 模块的步骤如下:
1、卸载 ACFS 文件系统:
2、在Oracle Registry中取消注册ACFS 文件系统:
3、删除asm volume
4、验证内存中存在 ACFS/ADVM 模块:
5、停止CRSOHAS 服务:
6、从内存中卸载 ACFS/ADVM 模块:
7、再次验证内存中是否存在 ACFS/ADVM 模块:
8 卸载安装的ACFS/ADVM模块:
9、启动crsohas服务:
10、查看集群资源状态:
11、移除ora.registry.acfs服务:
12、再次查看集群资源状态:
ACFS安装与卸载:
在配置acfs之前一定要先检查内存中是否存在 ACFS/ADVM 模块
否则创建asm volume会有如下报错:
一、在RAC上手动安装ACFS/ADVM 模块的步骤如下:
1、验证内存中是否存在 ACFS/ADVM 模块:
在下面的示例中不存在该模块:
2、用root用户重新安装ACFS/ADVM 模块:
#:
[+ASM1][grid@ceshi1 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.4.0 Production on Wed Mar 23 13:30:51 2022
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> alter diskgroup DATA add volume expdp_dir size 1G;
alter diskgroup DATA add volume expdp_dir size 1G
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15477: cannot communicate with the volume driver
SQL>
[root@ceshi1 ~]# lsmod | grep oracle
oracleasm 46100 1
#
#1.$GRID_HOME/bin
[root@ceshi1 ~]# cd $GRID_HOME/bin
#2.
[root@ceshi1 bin]# pwd
$GRID_HOME/bin
#3.acfsroot
[root@ceshi1 bin]# ll acfsroot
-rwxr-xr-x 1 root oinstall 1567 Jul 7 2013 acfsroot
#4../acfsroot install
[root@ceshi1 bin]# ./acfsroot install
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9312: Existing ADVM/ACFS installation detected.
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.
#5.acfs
[root@ceshi1 bin]# ./acfsload start
ACFS-9391: Checking for existing ADVM/ACFS installation.
ACFS-9392: Validating ADVM/ACFS installation files for operating system.
ACFS-9393: Verifying ASM Administrator setup.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'.
of 19
5墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。