Setup udev rules with Red Hat 5/6 on VMware
May 16, 2013 Leave a Comment
[root@rhel59dra ~]# /sbin/scsi_id -g -u -s /block/sdc
Note:
[root@rhel59dra ~]# ls -l /dev/ASM*
Oracle ACE Director: Charles Kim
May 16, 2013 Leave a Comment
[root@rhel59dra ~]# /sbin/scsi_id -g -u -s /block/sdc
[root@rhel59dra ~]# ls -l /dev/ASM*
May 10, 2013 Leave a Comment
Prior to 11.2, the following set of init.ora parameters were recommended:
*.db_cache_size=64m
*.large_pool_size=12M
*.shared_pool_size=128M
*.processes=300
Going forward with 11.2 and higher, oracle recommends setting memory_target to approximately 1.5 GB. Also, you will notice that we are leveraging memory_target versus sga_target which insinuates that we are not using huge pages for ASM memory structures:
alter system set memory_target=1536m scope=spfile;
The equation for the process parameters is:
Processes=25 + (10 + max number of concurrent database file creations, and file extend operations possible) * n.
Where n is the number of databases connecting to ASM.
Posted by Charles Kim, Oracle ACE Director
March 12, 2013 Leave a Comment
Download the latest ASM Pocket Reference Guide prepared by Charles Kim, Oracle ACE Director, and Nitin Vengurlekar
February 10, 2013 Leave a Comment
We will post the 10th session shortly …
|
Session # |
Title |
Room Assignment and Time |
|
604 |
Rolling your own Database Operations Center (DOC) using Oracle Technology you already own |
Mile High Ballroom 2A => Mon, Apr 08, 2013 (09:45 AM – 10:45 AM) |
|
344 |
Performance Tuning your DB Cloud in OEM 12c Cloud Control – 360 Degrees |
Mile High Ballroom 4A => Mon, Apr 08, 2013 (09:45 AM – 10:45 AM) |
|
614 |
Automate Data Guard Best Practices |
Mile High Ballroom 2B => Mon, Apr 08, 2013 (05:00 PM – 06:00 PM) |
|
|
|
|
|
477 |
Why Every Database Needs to be Virtualized |
Mile High Ballroom 4A => Tue, Apr 09, 2013 (12:00 PM – 12:30 PM) |
|
343 |
Oracle VM, OEM 12c and Cloud Computing: Panel of Experts |
C#13 vSIG Meeting => Tue, Apr 09, 2013 (4:15 PM – 5:15 PM) |
|
|
|
|
|
441 |
ASM New Features – The New ASM Frontier |
Mile High Ballroom 2C => Wed, Apr 10, 2013 (08:15 AM – 09:15 AM) |
|
414 |
Engineered Systems Curriculum: The Perfect Marriage: ZFS Storage Appliance with Exadata |
Mile High Ballroom 1C => Wed, Apr 10, 2013 (11:00 AM – 12:00 PM) |
|
783 |
Virtualized Oracle Stretched RAC Cluster using VMware vSphere and EMC VPLEX |
Mile High Ballroom 2A => Wed, Apr 10, 2013 (04:15 PM – 05:15 PM) |
|
|
|
|
|
757 |
From Big Data to Exadata: The Best of Both Worlds for Business Analytics |
Mile High Ballroom 1B => Thu, Apr 11, 2013 (09:45 AM – 10:45 AM) |
|
|
|
|
December 8, 2012 Leave a Comment

Viscosity’s Core Competency centers arounds Oracle Real Application Clusters (RAC). Because we are the top Oracle RAC Experts, we intimately know storage architecture, network infrastructure, operating systems, and most importantly, Oracle RAC database interactions within the ecosystem.
Viscosity was formed by former Oracle Employees each of which worked in various capacities within Oracle Corporation. These capacities include Oracle Database, RAC Development, Oracle Consulting and Oracle Technical Architects, Design and Performance Tuning experts.
I am a co-founder and President of Viscosity North America, an Oracle ACE Director, an Oracle Certified DBA, Certified RAC Expert and a VMware Certified Professional. I specialize in Exadata, RAC, and Virtualization (VMware and Oracle VM) and authored three books: Oracle Database 11g New Features for DBA and Developers, Linux Recipes for Oracle DBAs and Oracle Data Guard 11g Handbook. I hold certifications in Oracle, VMware, Red Hat Linux, and Microsoft and has over 20 years of Oracle experience. I’ve sat on the panel of experts at VM World and Oracle OpenWorld for virtualization and Linux. I was one of the founding members of the IOUG virtualization SIG that launched in 2011 at Oracle OpenWorld.
If you look at the core of our competencies, we focus on what we are best at … RAC. RAC experts are expected to have in-depth knowledge in networks, clustering, storage, and operating systems. Several of the managing directors have served as system administrators in past lives and hold specialized certifications in flavors of Unix.
Because we know RAC, we know infrastructure. Because we know infrastructure, we’ve adjusted our focus to the world of Database Cloud. Not only do we adopt Oracle’s consolidation theme with Oracle RAC, we are heavily invested in VMware and Oracle VM. Several of the managing directors at Viscosity hold certifications on VMware.
Another area of mastery that we have taken is in the world of Exadata and Oracle engineered systems. Not only are we the experts in Exadata implementation and performance tuning, we are also experts inother engineered systems such as the ZFS Storage Appliance and Oracle Database Appliance.
Viscosity’s Oracle Center of Expertise has developed best practices and tight partner relationships to implement world-class solutions. Our vast experience and intellectual property give customers insight into what is driving IT complexity. We can deliver a set of practical executable plans for simplifying IT infrastructure, helping reduce operating costs while freeing up resources for new business initiatives.
September 15, 2012 Leave a Comment
ASMIOSTAT Script to collect iostats for ASM disks [ID 437996.1]
July 5, 2012 Leave a Comment
spool off
June 28, 2012 Leave a Comment
$ /apps/oracle/product/11.2.0/grid/oui/bin
May 15, 2012 Leave a Comment
Create ASMLIB disks with /etc/init.d/oracleasm command.
You must be logged in as root:
- root: cat /proc/partitions |grep emcpower
- root: /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks:
You can verify the the disks on the other RAC nodes with the listdisks option:
- root: /etc/init.d/oracleasm listdisks
TRAX_PV101_DISK1
TRAX_PV101_DISK2
TRAX_PV101_DISK3
TRAX_PV101_DISK4
TRAX_PV101_DISK5
April 16, 2012 Leave a Comment
ASM Disk Group Configuration |
|||
|
Everyone should be leveraging ASMLIB instead of using block devices to create our ASM disk groups Proper ASM configuration and standardization and following best practices is just as important in a virtualized environment as it is in a bare metal environment |
|||
First, create ASMLIB disks with oracleasm
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk003p1 -> ../dm-105
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA101_disk003p1 -> ../dm-100
lrwxrwxrwx 1 root root 8 Apr 28 16:22 DATA101_disk001p1 -> ../dm-99
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA101_disk002p1 -> ../dm-102
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk005p1 -> ../dm-110
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA101_disk004p1 -> ../dm-101
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA101_disk000p1 -> ../dm-104
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk006p1 -> ../dm-111
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk008p1 -> ../dm-107
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk004p1 -> ../dm-112
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk000p1 -> ../dm-108
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk002p1 -> ../dm-109
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk001p1 -> ../dm-103
lrwxrwxrwx 1 root root 9 Apr 28 16:22 DATA501_disk007p1 -> ../dm-106
Naming Convention Legend for Disks
As root: Make changes to the following lines:
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER=”dm-”
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE=”sd”
|
Important Notes:
RAID 10 /etc/init.d/oracleasm createdisk DATA101_DISK000 /dev/mapper/DATA101_disk000p1
/etc/init.d/oracleasm createdisk DATA101_DISK001 /dev/mapper/DATA101_disk001p1
/etc/init.d/oracleasm createdisk DATA101_DISK002 /dev/mapper/DATA101_disk002p1
/etc/init.d/oracleasm createdisk DATA101_DISK003 /dev/mapper/DATA101_disk003p1
/etc/init.d/oracleasm createdisk DATA101_DISK004 /dev/mapper/DATA101_disk004p1
RAID 5
——
/etc/init.d/oracleasm createdisk DATA501_DISK000 /dev/mapper/DATA501_disk000p1
/etc/init.d/oracleasm createdisk DATA501_DISK001 /dev/mapper/DATA501_disk001p1
/etc/init.d/oracleasm createdisk DATA501_DISK002 /dev/mapper/DATA501_disk002p1
/etc/init.d/oracleasm createdisk DATA501_DISK003 /dev/mapper/DATA501_disk003p1
/etc/init.d/oracleasm createdisk DATA501_DISK004 /dev/mapper/DATA501_disk004p1
/etc/init.d/oracleasm createdisk DATA501_DISK005 /dev/mapper/DATA501_disk005p1
/etc/init.d/oracleasm createdisk DATA501_DISK006 /dev/mapper/DATA501_disk006p1
/etc/init.d/oracleasm createdisk DATA501_DISK007 /dev/mapper/DATA501_disk007p1
/etc/init.d/oracleasm createdisk DATA501_DISK008 /dev/mapper/DATA501_disk008p1
/etc/init.d/oracleasm createdisk DATA501_DISK009 /dev/mapper/DATA501_disk009p1
SQL> alter system set asm_diskstring=’/dev/oracle’,'ORCL:PD*’;
System altered.
Add the following to the init+ASM1.ora on each node
For automatic mount of diskgroups
asm_diskgroups=’DATA03′,’DATA60′,’FRA03′,’FRA60′,’DATA101′,’DATA501′
#asm_diskstring=’/dev/oracle’
asm_diskstring=’/dev/oracle’,'ORCL:PD*’
For the time being, manually mount the diskgroups on each node:
SQL> alter system set asm_diskstring=’/dev/oracle’,'ORCL:PD*’;
System altered.
SQL> alter diskgroup DATA101 mount;
Diskgroup altered.
SQL> alter diskgroup DATA501 mount;
Diskgroup altered.
Creating ASM Disk Groups
RAID 10 DATA Disk Group
+ASM1 > cat cr_DATA101.sql create diskgroup DATA101 external redundancy disk ‘ORCL:DATA101_DISK000′,
‘ORCL:DATA101_DISK001′,
‘ORCL:DATA101_DISK002′,
‘ORCL:DATA101_DISK003′,
‘ORCL:DATA101_DISK004′
ATTRIBUTE ‘au_size’ = ’4M’,
‘compatible.rdbms’ = ’11.1′,
‘compatible.asm’ = ’11.1′;
RAID 5 DATA Disk Group create diskgroup DATA501 external redundancy disk ‘ORCL:DATA501_DISK000′,
‘ORCL:DATA501_DISK001′,
‘ORCL:DATA501_DISK002′,
‘ORCL:DATA501_DISK003′,
‘ORCL:DATA501_DISK004′,
‘ORCL:DATA501_DISK005′,
‘ORCL:DATA501_DISK006′,
‘ORCL:DATA501_DISK007′,
‘ORCL:DATA501_DISK008′,
‘ORCL:DATA501_DISK009′
ATTRIBUTE ‘au_size’ = ’4M’,
‘compatible.rdbms’ = ’11.1′,
‘compatible.asm’ = ’11.1′;
|
||