ASM Library
ASM Library
ASM Library
Dependencies Resolved
===================================================================================
==========================================================================
Package Arch Version
Repository Size
===================================================================================
==========================================================================
Installing:
kmod-oracleasm x86_64 2.0.8-15.el7
rhel-local.repo 35 k
Transaction Summary
===================================================================================
==========================================================================
Install 1 Package
Installed:
kmod-oracleasm.x86_64 0:2.0.8-15.el7
Complete!
----------------------------
Dependencies Resolved
===================================================================================
==========================================================================
Package Arch Version
Repository Size
===================================================================================
==========================================================================
Installing:
oracleasmlib x86_64 2.0.12-1.el7
rhel-local.repo 19 k
Transaction Summary
===================================================================================
==========================================================================
Install 1 Package
Installed:
oracleasmlib.x86_64 0:2.0.12-1.el7
Complete!
Dependencies Resolved
===================================================================================
==========================================================================
Package Arch Version
Repository Size
===================================================================================
==========================================================================
Installing:
oracleasm-support x86_64 2.1.8-
3.el7 rhel-local.repo 79 k
Transaction Summary
===================================================================================
==========================================================================
Install 1 Package
Total download size: 79 k
Installed size: 242 k
Is this ok [y/d/N]: Y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : oracleasm-support-2.1.8-3.el7.x86_64
1/1
Note: Forwarding request to 'systemctl enable oracleasm.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/oracleasm.service
to /usr/lib/systemd/system/oracleasm.service.
Verifying : oracleasm-support-2.1.8-3.el7.x86_64
1/1
Installed:
oracleasm-support.x86_64 0:2.1.8-3.el7
Complete!
---------------------------
node 2
-------------
[root@ngtsvr02 ~]# yum install kmod-oracleasm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use
subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package kmod-oracleasm.x86_64 0:2.0.8-15.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================
=========================
Package Arch Version
Repository Size
===================================================================================
=========================
Installing:
kmod-oracleasm x86_64 2.0.8-15.el7 rhel-
local.repo 35 k
Transaction Summary
===================================================================================
=========================
Install 1 Package
Installed:
kmod-oracleasm.x86_64 0:2.0.8-15.el7
Complete!
------------------------------
Dependencies Resolved
===================================================================================
=========================
Package Arch Version Repository
Size
===================================================================================
=========================
Installing:
oracleasmlib x86_64 2.0.12-1.el7 rhel-
local.repo 19 k
Transaction Summary
===================================================================================
=========================
Install 1 Package
Installed:
oracleasmlib.x86_64 0:2.0.12-1.el7
Complete!
-------------------------------
Dependencies Resolved
===================================================================================
=========================
Package Arch Version
Repository Size
===================================================================================
=========================
Installing:
oracleasm-support x86_64 2.1.8-3.el7 rhel-
local.repo 79 k
Transaction Summary
===================================================================================
=========================
Install 1 Package
Installed:
oracleasm-support.x86_64 0:2.1.8-3.el7
Complete!
--------------------
7. Configure ASMLib using the following command:
/usr/sbin/oracleasm configure -i
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 <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
--------------------------
[root@CCTSVR04 software]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n'
kmod-oracleasm \
> oracleasm-support \
> oracleasmlib
kmod-oracleasm-2.0.8-15.el7 (x86_64)
oracleasm-support-2.1.8-3.el7 (x86_64)
oracleasmlib-2.0.12-1.el7 (x86_64)
[root@CCTSVR04 software]# /usr/sbin/oracleasm configure -i
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 <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
------------------
modified ASM config
----------------------
------------------
---------------------
/etc/init.d/oracleasm enable
cd /dev/oracleasm/disks
/usr/sbin/oracleasm listdisks
/usr/sbin/oracleasm listdisks
/usr/sbin/oracleasm listdisks
/usr/sbin/oracleasm listdisks
/usr/sbin/oracleasm listdisks
=================
ON Node 2 donot create Disk only scan them
[root@ngtsvr02 disks]# id
uid=0(root) gid=0(root) groups=0(root)
context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[root@ngtsvr02 disks]# pwd
/dev/oracleasm/disks
[root@ngtsvr02 disks]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "OCRVOTE1"
Instantiating disk "OCRVOTE2"
Instantiating disk "OCRVOTE3"
Instantiating disk "FRADG_DISK01"
Instantiating disk "DATADG_DISK01"
Instantiating disk "REDODG_DISK01"
[root@ngtsvr02 disks]# ls -ltrh
total 0
brw-rw----. 1 oracle asmadmin 253, 3 Jun 20 14:45 OCRVOTE1
brw-rw----. 1 oracle asmadmin 253, 4 Jun 20 14:45 OCRVOTE2
brw-rw----. 1 oracle asmadmin 253, 5 Jun 20 14:45 OCRVOTE3
brw-rw----. 1 oracle asmadmin 253, 7 Jun 20 14:45 FRADG_DISK01
brw-rw----. 1 oracle asmadmin 253, 8 Jun 20 14:45 DATADG_DISK01
brw-rw----. 1 oracle asmadmin 253, 9 Jun 20 14:45 REDODG_DISK01
-----------------------
SSH manually to all IP�s and self (Public and Private), this is Important as it
updates the Keys:
cd /u01/software/RAC11.2.0.4/grid/rpm
-----------------
ON Node 2
-----------------------------
----------------------