Wim Coekaerts Director of Linux Engineering Oracle Corporation

  • Slides: 18
Download presentation

Wim Coekaerts Director of Linux Engineering Oracle Corporation

Wim Coekaerts Director of Linux Engineering Oracle Corporation

Oracle Cluster Filesystem on Linux One year Later.

Oracle Cluster Filesystem on Linux One year Later.

What is a CFS ? Ÿ Shared Disk Cluster Filesystem Ÿ Improve management of

What is a CFS ? Ÿ Shared Disk Cluster Filesystem Ÿ Improve management of data for Oracle Real Application Clusters (RAC) Ÿ Customer demand for a CFS to run RAC Ÿ Open solution on the Operating System side (Linux) free and open source

OCFS Version 1 Releases Ÿ Beta Release August 2002 – Open source project (GPL

OCFS Version 1 Releases Ÿ Beta Release August 2002 – Open source project (GPL license) Ÿ Production October 2002 – Red Hat Advanced Server 2. 1 for IA 32 Ÿ Production February 2003 – United Linux 1. 0 for IA 32 Ÿ Production August 2003 – Red Hat Advanced Server 2. 1 for IPF/IA 64

What did we solve ? Ÿ 255 raw device limit on Linux Ÿ Difficult

What did we solve ? Ÿ 255 raw device limit on Linux Ÿ Difficult to manage raw disk Ÿ Single view of data files across all nodes Ÿ Use of standard OS tools (modified) to handle backups

What didn’t we solve yet ? Ÿ Shared Oracle Home installation Ÿ Binaries and

What didn’t we solve yet ? Ÿ Shared Oracle Home installation Ÿ Binaries and generic file support on CFS Ÿ Support for other applications (ISV applications) Ÿ Volume management Ÿ Dynamic resizing of partitions Ÿ Defragmentation of filesystem Ÿ Online FSCK

Customer Experiences Ÿ Large number of production customers today Ÿ Easy installation and configuration

Customer Experiences Ÿ Large number of production customers today Ÿ Easy installation and configuration of CFS Ÿ IO throughput is equivalent to RAW IO Ÿ Use of the default OS tools can cause slow throughput and kernel issues. Ÿ After a few months more requests for generic filesystem support

Do’s and Don’ts Ÿ Red Hat Advanced Server 2. 1 for IA 32 –

Do’s and Don’ts Ÿ Red Hat Advanced Server 2. 1 for IA 32 – Use 2. 4. 9 -e. 24 or higher kernel Ÿ Buffer cache management Ÿ Red Hat Advanced Server 2. 1 for IPF – Use 2. 4. 18 -e. 37 or better Ÿ United Linux 1. 0 for IA 32 – Use Service Pack 2 a or better

Do’s and Don’ts (2) Ÿ Updated fileutilities from http: //oss. oracle. com/projects/ocfs – –

Do’s and Don’ts (2) Ÿ Updated fileutilities from http: //oss. oracle. com/projects/ocfs – – Dd, cp, tar, md 5 sum, cksum, mv O_direct=yes Ÿ Always use the above utilities with the O_DIRECT option for better performance and reliability Ÿ Use RMAN if possible

Do’s and Don’ts (3) Ÿ Use a large blocksize for IO Ÿ Avoid small

Do’s and Don’ts (3) Ÿ Use a large blocksize for IO Ÿ Avoid small allocations (use 1 MB and larger) Ÿ Separate archive log files from datafiles Ÿ If possible separate out in separate directories Ÿ Spread load of files across number of volumes (don’t use 1 volume for everything) – Having one volume causes IO bottlenecks Ÿ Use large autoextend size

Do’s and Don’ts (4) Ÿ Use comm_voting=1 in /etc/ocfs. conf Ÿ Async IO support

Do’s and Don’ts (4) Ÿ Use comm_voting=1 in /etc/ocfs. conf Ÿ Async IO support in OCFS 1. 0. 9 with specific kernels (need patch for oracle 9. 2. 0. 4) Ÿ Mix IA 32 and IA 64 nodes – – OCFS is compatible between the nodes Easy move of Oracle between architectures (30 seconds)

Customer story Ÿ Amazon implemented OCFS for a system Ÿ Grant Mc. Alister’s experiences

Customer story Ÿ Amazon implemented OCFS for a system Ÿ Grant Mc. Alister’s experiences

What is coming next ? Ÿ OCFS Version 2 – – – Shared Oracle

What is coming next ? Ÿ OCFS Version 2 – – – Shared Oracle Home Binaries and logfiles Faster non database operations Ÿ Other platforms – – Port to AMD 64 for version 1 in progress Port to PPC 64 for version 1 in progress

Q& A QUESTIONS ANSWERS

Q& A QUESTIONS ANSWERS

Next Steps…. Ÿ Recommended sessions – – – Performance and Scalability of Linux in

Next Steps…. Ÿ Recommended sessions – – – Performance and Scalability of Linux in the Enterprise Ÿ Tuesday 11: 00 am Jamshed Patel Improving information Assurance of Linux Ÿ Tuesday 5: 00 pm Mary Ann Davidson Visit the DEMOgrounds for a customized architectural review, see a customized demo with Solutions Factory, or receive a personalized proposal. Visit the DEMOgrounds for more information. Ÿ Relevant web sites to visit for more information – http: //oss. oracle. com/projects/ocfs

Reminder – please complete the Oracle. World online session survey Thank you.

Reminder – please complete the Oracle. World online session survey Thank you.