Sunteți pe pagina 1din 3

http://www.sqlpanda.com/2013/01/install-oracle-11gr2-on-oracle-linux-63.

html
http://emarcel.com/installing-oracle-database-11g-r2-on-linux-with-asm/
http://askdba.org/weblog/2009/09/11gr2-database-installation-with-asm-on-oel5/
http://www.zhongweicheng.com/?p=1554
http://spotdba.blogspot.in/2012/06/creating-asm-instance-in-oracle-11gr2.html
http://wadhahdaouehi.tn/2015/04/creation-of-asm-disks-on-oracle-linux-using-asml
ib/
http://wadhahdaouehi.tn/2015/04/creation-of-asm-disks-on-oracle-linux-using-asml
ib/
http://d-h-n.de/blog/install-oracle-grid-infrastructure-11-2-0-3-0-for-standalon
e-server-on-oracle-linux-6-2
/var/log/oracleasm
ASMLib Troubleshooting
rpm -qa |grep asm
df -ha |grep asm
You want to ensure that the oracleasm has been loaded by the kernel:
# /sbin/lsmod |grep oracleasm
http://askdba.org/weblog/2009/09/11gr2-database-installation-with-asm-on-oel5/
http://www.zhongweicheng.com/?cat=65
On the /dev/oracleasm/disks directory are located the ASMLib mappings of ASM dev
ices to physical devices
[root@vasm ~]# ls -l /dev/oracleasm/disks
total 0
brw-rw - 1 oracle oinstall 8, 17 Feb 20 15:58 VOL1
brw-rw - 1 oracle oinstall 8, 33 Feb 20 15:58 VOL2
brw-rw - 1 oracle oinstall 8, 49 Feb 20 15:58 VOL3
brw-rw - 1 oracle oinstall 8, 65 Feb 20 15:58 VOL4
# /etc/init.d/oracleasm querydisk VOL1
Disk "VOL1" is a valid ASM disk on device [8, 17]
You can find out which devices this represents with the following:
# grep "8 17" /proc/partitions
8 17 60817392 sdb1
Still paranoid that this might not be your device, check the contents of the dis
k header:
# od -c /dev/sdb1 |head -10
The major and minor numbers permit to map the ASM Disks to the physical devices
[root@vasm ~]# ls -l /dev/* | grep 8, | grep " 17 "
brw-r 1 root disk
8, 17 Feb 20 15:58 /dev/sdb1
[root@vasm ~]# ls -l /dev/* | grep 8, | grep " 33 "
brw-r 1 root disk
8, 33 Feb 20 15:58 /dev/sdc1
[root@vasm ~]# ls -l /dev/* | grep 8, | grep " 49 "
brw-r 1 root disk
8, 49 Feb 20 15:58 /dev/sdd1

[root@vasm ~]# ls -l /dev/* | grep 8, | grep " 65 "


brw-r
1 root disk
8, 65 Feb 20 15:58 /dev/sde1
Users,Roles and Groups for Installation
osdba group for ASM - Membership in the OSDBA group allows access to the files m
anaged by Automatic Storage Management. It can be same as database osdba group.
We will be using group dba in our setup.
OSASM group - Members of the OSASM group can use SQL to connect to an Automatic
Storage Management instance as SYSASM using operating system authentication. The
SYSASM privileges permit mounting and dismounting disk groups, and other storag
e administration tasks. SYSASM privileges provide no access privileges on an RDB
MS instance. We will use asmadmin
OSOPER group - Similar to SYSOPER privilege in RDBMS, this is used for limited p
rivileges like starting up and stopping the Oracle ASM instance. We will not be
using separate group for it, will be selecting dba in our setup
oinstall - This is similar to previous releases, and used for Oracle Inventory g
roup
http://www.sqlpanda.com/2013/01/install-oracle-11gr2-on-oracle-linux-63.html
http://www.sqlpanda.com/2013/01/asm.html
http://www.sqlpanda.com/2013/01/oracle-automated-storage-management-asm.html
http://emarcel.com/installing-oracle-database-11g-r2-on-linux-with-asm/
https://nadeemmohammed.wordpress.com/2012/09/24/oracle-11-2-standalone-databasecreation-using-asm-manually/
https://saruamit4.wordpress.com/category/asm/
http://wadhahdaouehi.tn/2015/04/creation-of-asm-disks-on-oracle-linux-using-asml
ib/
http://spotdba.blogspot.in/2012/06/creating-asm-instance-in-oracle-11gr2.html
http://www.dbms-notes.com/2010/10/oracle-asm-on-11g-r2-installing-grid.html
http://bulldba.com/automatic-storage-management-asm-in-oracle-database-10g/
http://www.sqlpanda.com/2013/01/asmcmd.html
http://www.sqlpanda.com/2013/01/asm-operations.html
http://www.sqlpanda.com/2013/01/dns-server.html
http://www.sqlpanda.com/2013/01/oracle-rac-management-1-srvctl-and.html
http://www.sqlpanda.com/2013/01/oracle-rac-management-3-ocrcheck-and.html
http://www.sqlpanda.com/2014/09/setup-database-alerts.html
http://emarcel.com/installing-oracle-database-11g-r2-on-linux/
http://emarcel.com/installing-oracle-database-11g-r2-on-linux-with-asm/
http://www.sqlpanda.com/2012/12/oracle-linux-62-installation-on-virtual.html
http://askdba.org/weblog/2009/09/11gr2-database-installation-with-asm-on-oel5/
After having set the asm_diskstring parameter we can see the disks matching the
pattern /dev/raw/raw*
SQL> select disk_number,mount_status,header_status,mode_status,state,path from v
$asm_disk ;
Discovering Block Devices
We also defined block devices like /dev/sdb1, /dev/sdc1 etc. We will add this de
finition also to the diskstring.
We can see the the devices used to create disks with ASMLib appear as "PROVISION

ED"
SQL> SELECT a.ksppinm "parameter",
b.ksppstvl "session value",
c.ksppstvl "instance value"
FROM x$ksppi a, x$ksppcv b, x$ksppsv c
WHERE a.indx = b.indx
AND a.indx = c.indx
AND a.ksppinm LIKE '/_%' escape '/'
8
AND a.ksppinm LIKE '%_asm_allow_only_raw_disks%';

S-ar putea să vă placă și