分享更有价值
被信任是一种快乐

RAC创建ACFS用来部署OGG的过程

文章页正文上

本篇内容主要讲解“RAC创建ACFS用来部署OGG的过程”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“RAC创建ACFS用来部署OGG的过程”吧!环境描述:双节点RAC数据库:版本12.2.0.1操作系统:linux 6.9一、利用图免费主机域名形化准备好挂载点cd /
mkdir ogg
chown oracle:oinstall ogg

chmod 775 /ogg图形化
asmca

我这里是有问题,不知道什么原因,做个记录。后面手动挂载。
PRCA-1138 : failed to start one or more file system resources:
Error
mounting file system ‘/dev/asm/ogg-177’ on ‘/ogg’:
/sbin/mount.acfs.bin: error while loading shared libraries:
libhasgen12.so: failed to map segment from shared object: Permission
denied
Error mounting file system ‘/dev/asm/ogg-177’ on ‘/ogg’:
/sbin/mount.acfs.bin: error while loading shared libraries:
libhasgen12.so: failed to map segment from shared object: Permission
denied
CRS-2674: Start of ‘ora.data1.ogg.acfs’ on ‘hnrst-ssbybcsdb2-bm001’ failed
CRS-2674: Start of ‘ora.data1.ogg.acfs’ on ‘hnrst-ssbybcsdb2-bm002’ failed

每个节点都要手动挂载成功
/sbin/mount.acfs -o all最后查看状态,成功crsctl stat res -t
——————————————————————————–
Name Target State Server State details
——————————————————————————–
Local Resources
——————————————————————————–
ora.ASMNET1LSNR_ASM.lsnr
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
ora.DATA1.OGG.advm
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
ora.DATA1.dg
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
ora.LISTENER.lsnr
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
ora.MGMT.dg
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
ora.OCR.dg
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
ora.chad
ONLINE ONLINE csdb2-bm001 STABLE
OFFLINE OFFLINE csdb2-bm002 STABLE
ora.data1.ogg.acfs
ONLINE ONLINE csdb2-bm001 mounted on /ogg,STAB
LE
ONLINE ONLINE csdb2-bm002 mounted on /ogg,STAB
LE
ora.net1.network
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
ora.ons
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
ora.proxy_advm
ONLINE ONLINE csdb2-bm001 STABLE
ONLINE ONLINE csdb2-bm002 STABLE
——————————————————————————–
Cluster Resources
——————————————————————————–
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE csdb2-bm002 STABLE
ora.MGMTLSNR
1 ONLINE ONLINE csdb2-bm002 169.254.34.243 192.1
68.83.123,STABLE
ora.asm
1 ONLINE ONLINE csdb2-bm001 Started,STABLE
2 ONLINE ONLINE csdb2-bm002 Started,STABLE
3 OFFLINE OFFLINE STABLE
ora.cvu
1 ONLINE ONLINE csdb2-bm002 STABLE
ora.csdb2-bm001.vip
1 ONLINE ONLINE csdb2-bm001 STABLE
ora.csdb2-bm002.vip
1 ONLINE ONLINE csdb2-bm002 STABLE
ora.mgmtdb
1 ONLINE ONLINE csdb2-bm002 Open,STABLE
ora.qosmserver
1 ONLINE ONLINE csdb2-bm002 STABLE
ora.scan1.vip
1 ONLINE ONLINE csdb2-bm002 STABLE
ora.sibcwdc1.db
1 ONLINE ONLINE csdb2-bm001 Open,HOME=/home/u01/
app/oracle/product/1
2.2.0/db1,STABLE
2 ONLINE ONLINE csdb2-bm002 Open,HOME=/home/u01/
app/oracle/product/1
2.2.0/db1,STABLE
——————————————————————————–二、命令行
su – root

df -h
date

su – grid

–查看现有的asm空间分配情况
asmcmd -p lsdg

–从DATA1磁盘分配500G大小创建逻辑卷ogg
asmca -silent -createvolume -volumeName ogg -volumeDiskGroup DATA1 -volumesizeGB 500

–查看创建的信息(/dev/asm/vologg-3)

ll /dev/as免费主机域名m/*

su – root –所有的节点都要执行创建目录并改对应的属组
cd /
mkdir ogg
chown oracle:oinstall ogg

chmod 775 /ogg
–另外的节点也要执行
su – root
cd /
mkdir ogg
chown oracle:oinstall ogg
chmod 775 /ogg

–挂载目录
su – grid

asmca -silent -createACFS -acfsvolumeDevice /dev/asm/ogg-3 -acfsMountPoint /ogg -acfsUserName oracle -acfsGroupName oinstall

–执行脚本
su – root

cd /home/u01/app/grid/cfgtoollogs/asmca/scripts
./acfs_script.sh
也是上面得报错:
每个节点都要手动挂载成功
/sbin/mount.acfs -o all
–最后查看是否成功
df -h

到此,相信大家对“RAC创建ACFS用来部署OGG的过程”有了更深的了解,不妨来实际操作一番吧!这里是云技术网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

相关推荐: 如何进行MySQL双主补充

今天就跟大家聊聊有关如何进行MySQL双主补充,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。环境:主机名 主机IP 操作系统方法二、1)备份A的数据库(不用锁表)mysqldump -uroot -p …

文章页内容下
赞(0) 打赏
版权声明:本站采用知识共享、学习交流,不允许用于商业用途;文章由发布者自行承担一切责任,与本站无关。
文章页正文下
文章页评论上

云服务器、web空间可免费试用

宝塔面板主机、支持php,mysql等,SSL部署;安全高速企业专供99.999%稳定,另有高防主机、不限制内容等类型,具体可咨询QQ:360163164,Tel同微信:18905205712

主机选购导航云服务器试用

登录

找回密码

注册