oracleasmlib 安装和配置|丨【绽放吧!数据库】

网友投稿 627 2022-05-28

操作系统版本:oracle linux

oracleasmlib 安装和配置|丨【绽放吧!数据库】

cat /etc/os-release NAME="Oracle Linux Server" VERSION="6.9" ID="ol" VERSION_ID="6.9" PRETTY_NAME="Oracle Linux Server 6.9"

2个节点软件安装和配置:

[root@db01 Packages]# rpm -ivh oracleasm-support-2.1.10-4.el6.x86_64.rpm Preparing... ########################################### [100%] 1:oracleasm-support ########################################### [100%]

[root@db01 Packages]# /etc/init.d/oracleasm enable Writing Oracle ASM library driver configuration: done Initializing the Oracle ASMLib driver: [ OK ] Scanning the system for Oracle ASMLib disks: [ OK ] [root@db01 Packages]# /etc/init.d/oracleasm configure Configuring the Oracle ASM library driver. This will configure the on-boot properties of the Oracle ASM library driver. The following questions will determine whether the driver is loaded on boot and what permissions it will have. The current values will be shown in brackets ('[]'). Hitting without typing an answer will keep that current value. Ctrl-C will abort. Default user to own the driver interface []: grid Default group to own the driver interface []: asmadmin Start Oracle ASM library driver on boot (y/n) [y]: y Scan for Oracle ASM disks on boot (y/n) [y]: y Writing Oracle ASM library driver configuration: done Initializing the Oracle ASMLib driver: [ OK ] Scanning the system for Oracle ASMLib disks: [ OK ] [root@db01 Packages]# /etc/init.d/oracleasm start Initializing the Oracle ASMLib driver: [ OK ] Scanning the system for Oracle ASMLib disks: [ OK ]

节点 1创建asm disk:

[root@db01 Packages]# oracleasm createdisk disk01 /dev/sdb1 Writing disk header: done Instantiating disk: done [root@db01 Packages]# oracleasm listdisks DISK01

节点2扫描磁盘信息:

[root@db02 Packages]# oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks... Scanning system for ASM disks... Instantiating disk "DISK01" [root@db02 Packages]# oracleasm listdisks DISK01

【绽放吧!数据库】有奖征文火热进行中:https://bbs.huaweicloud.com/blogs/285617

Oracle

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Python 第二节 第八课
下一篇:Hadoop学习之MapReduce(四)
相关文章