Enviar pesquisa
Carregar
Ora10g Rac Best Practices
•
0 gostou
•
1,377 visualizações
V
vasanthkp
Seguir
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 42
Baixar agora
Baixar para ler offline
Recomendados
在Oel5上安装配置oracle gird control 10.2.0.5
在Oel5上安装配置oracle gird control 10.2.0.5
maclean liu
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Raheel Syed
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
maclean liu
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios
Understanding PostgreSQL LW Locks
Understanding PostgreSQL LW Locks
Jignesh Shah
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
maclean liu
Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016
StackIQ
XS Oracle 2009 Just Run It
XS Oracle 2009 Just Run It
The Linux Foundation
Recomendados
在Oel5上安装配置oracle gird control 10.2.0.5
在Oel5上安装配置oracle gird control 10.2.0.5
maclean liu
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Raheel Syed
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
maclean liu
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios
Understanding PostgreSQL LW Locks
Understanding PostgreSQL LW Locks
Jignesh Shah
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
maclean liu
Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016
StackIQ
XS Oracle 2009 Just Run It
XS Oracle 2009 Just Run It
The Linux Foundation
Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016
StackIQ
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
동현 김
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
maclean liu
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
Markus Michalewicz
Cvc2009 Moscow Xen App5 Fp1 Fabian Kienle Final
Cvc2009 Moscow Xen App5 Fp1 Fabian Kienle Final
Liudmila Li
Reducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQL
Kenny Gryp
VMworld 2013: Extreme Performance Series: Network Speed Ahead
VMworld 2013: Extreme Performance Series: Network Speed Ahead
VMworld
Intro ProxySQL
Intro ProxySQL
I Goo Lee
Solaris 11 Consolidation Tools
Solaris 11 Consolidation Tools
Roman Ivanov
iSCSI Target Support for Ceph
iSCSI Target Support for Ceph
Ceph Community
제2회난공불락 오픈소스 세미나 커널튜닝
제2회난공불락 오픈소스 세미나 커널튜닝
Tommy Lee
XS Japan 2008 Xen Mgmt English
XS Japan 2008 Xen Mgmt English
The Linux Foundation
Kumar-Jayaraman-Resume
Kumar-Jayaraman-Resume
Kumar J
Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0
Gobinath Panchavarnam
RHCE FINAL Questions and Answers
RHCE FINAL Questions and Answers
Radien software
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
Nikhil Kumar
vSphere Container Storage
vSphere Container Storage
Prashant Dhamdhere
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Lorscheider Santiago
VMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSAN
Duncan Epping
Ovs dpdk hwoffload way to full offload
Ovs dpdk hwoffload way to full offload
Kevin Traynor
Oracle rac 10g best practices
Oracle rac 10g best practices
Haseeb Alam
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
Markus Michalewicz
Mais conteúdo relacionado
Mais procurados
Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016
StackIQ
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
동현 김
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
maclean liu
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
Markus Michalewicz
Cvc2009 Moscow Xen App5 Fp1 Fabian Kienle Final
Cvc2009 Moscow Xen App5 Fp1 Fabian Kienle Final
Liudmila Li
Reducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQL
Kenny Gryp
VMworld 2013: Extreme Performance Series: Network Speed Ahead
VMworld 2013: Extreme Performance Series: Network Speed Ahead
VMworld
Intro ProxySQL
Intro ProxySQL
I Goo Lee
Solaris 11 Consolidation Tools
Solaris 11 Consolidation Tools
Roman Ivanov
iSCSI Target Support for Ceph
iSCSI Target Support for Ceph
Ceph Community
제2회난공불락 오픈소스 세미나 커널튜닝
제2회난공불락 오픈소스 세미나 커널튜닝
Tommy Lee
XS Japan 2008 Xen Mgmt English
XS Japan 2008 Xen Mgmt English
The Linux Foundation
Kumar-Jayaraman-Resume
Kumar-Jayaraman-Resume
Kumar J
Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0
Gobinath Panchavarnam
RHCE FINAL Questions and Answers
RHCE FINAL Questions and Answers
Radien software
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
Nikhil Kumar
vSphere Container Storage
vSphere Container Storage
Prashant Dhamdhere
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Lorscheider Santiago
VMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSAN
Duncan Epping
Ovs dpdk hwoffload way to full offload
Ovs dpdk hwoffload way to full offload
Kevin Traynor
Mais procurados
(20)
Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
Cvc2009 Moscow Xen App5 Fp1 Fabian Kienle Final
Cvc2009 Moscow Xen App5 Fp1 Fabian Kienle Final
Reducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQL
VMworld 2013: Extreme Performance Series: Network Speed Ahead
VMworld 2013: Extreme Performance Series: Network Speed Ahead
Intro ProxySQL
Intro ProxySQL
Solaris 11 Consolidation Tools
Solaris 11 Consolidation Tools
iSCSI Target Support for Ceph
iSCSI Target Support for Ceph
제2회난공불락 오픈소스 세미나 커널튜닝
제2회난공불락 오픈소스 세미나 커널튜닝
XS Japan 2008 Xen Mgmt English
XS Japan 2008 Xen Mgmt English
Kumar-Jayaraman-Resume
Kumar-Jayaraman-Resume
Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0
RHCE FINAL Questions and Answers
RHCE FINAL Questions and Answers
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
vSphere Container Storage
vSphere Container Storage
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
VMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSAN
Ovs dpdk hwoffload way to full offload
Ovs dpdk hwoffload way to full offload
Destaque
Oracle rac 10g best practices
Oracle rac 10g best practices
Haseeb Alam
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
Markus Michalewicz
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Markus Michalewicz
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013
Markus Michalewicz
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
Yudi Herdiana
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - Presentation
Markus Michalewicz
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Markus Michalewicz
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Markus Michalewicz
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Markus Michalewicz
RMAN best practices for RAC
RMAN best practices for RAC
Syed Hussain
Design in Tech Report 2017
Design in Tech Report 2017
John Maeda
Destaque
(11)
Oracle rac 10g best practices
Oracle rac 10g best practices
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
RMAN best practices for RAC
RMAN best practices for RAC
Design in Tech Report 2017
Design in Tech Report 2017
Semelhante a Ora10g Rac Best Practices
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
maclean liu
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Vietnam Open Infrastructure User Group
Maximizing Oracle RAC Uptime
Maximizing Oracle RAC Uptime
Markus Michalewicz
Docker and coreos20141020b
Docker and coreos20141020b
Richard Kuo
Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9
Mohamed Sadek
Switch as a Server - PuppetConf 2014 - Leslie Carr
Switch as a Server - PuppetConf 2014 - Leslie Carr
Cumulus Networks
New em12c kscope
New em12c kscope
Kellyn Pot'Vin-Gorman
Alfresco Environment Validation and "Day Zero" Configuration
Alfresco Environment Validation and "Day Zero" Configuration
Alfresco Software
Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...
Boden Russell
KubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipeline
KubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipeline
KubeAcademy
NFD9 - Matt Peterson, Data Center Operations
NFD9 - Matt Peterson, Data Center Operations
Cumulus Networks
Automating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps Approach
Akshaya Mahapatra
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
Docker, Inc.
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
Nikhil Kumar
Looking at RAC, GI/Clusterware Diagnostic Tools
Looking at RAC, GI/Clusterware Diagnostic Tools
Leighton Nelson
Docker at the gate
Docker at the gate
Tony Deng
OpenSCAP Overview(security scanning for docker image and container)
OpenSCAP Overview(security scanning for docker image and container)
Jooho Lee
Performance Whack A Mole
Performance Whack A Mole
oscon2007
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
David Pasek
DevNetCreate - ACI and Kubernetes Integration
DevNetCreate - ACI and Kubernetes Integration
Hank Preston
Semelhante a Ora10g Rac Best Practices
(20)
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Maximizing Oracle RAC Uptime
Maximizing Oracle RAC Uptime
Docker and coreos20141020b
Docker and coreos20141020b
Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9
Switch as a Server - PuppetConf 2014 - Leslie Carr
Switch as a Server - PuppetConf 2014 - Leslie Carr
New em12c kscope
New em12c kscope
Alfresco Environment Validation and "Day Zero" Configuration
Alfresco Environment Validation and "Day Zero" Configuration
Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...
KubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipeline
KubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipeline
NFD9 - Matt Peterson, Data Center Operations
NFD9 - Matt Peterson, Data Center Operations
Automating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps Approach
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
Looking at RAC, GI/Clusterware Diagnostic Tools
Looking at RAC, GI/Clusterware Diagnostic Tools
Docker at the gate
Docker at the gate
OpenSCAP Overview(security scanning for docker image and container)
OpenSCAP Overview(security scanning for docker image and container)
Performance Whack A Mole
Performance Whack A Mole
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
DevNetCreate - ACI and Kubernetes Integration
DevNetCreate - ACI and Kubernetes Integration
Ora10g Rac Best Practices
1.
© 2007 Oracle
Corporation 1
2.
© 2007 Oracle
Corporation 2
3.
The following is
intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. © 2007 Oracle Corporation 3
4.
<Insert Picture Here> Oracle
Real Application Clusters Installation and Configuration Best Practices (S291663) Saar Maoz & Annie Flint RACPACK – Server Technologies
5.
Agenda
• Installation Overview <Insert Picture Here> • Cluster Verification Utility (CVU ; cluvfy) • Cluster Interconnect • Clusterware • Storage / MPIO • ASM / Shared filesystem • Patching • Monitoring / Tuning • Tips & Troubleshooting © 2007 Oracle Corporation 5
6.
Oracle RAC Installation
Overview • Validate and prepare Hardware & OS • Consult Oracle Validated Configurations on OTN (Linux only) • http://www.oracle.com/technology/tech/linux/validated- configurations/index.html • Determine cluster interconnect • Determine storage methodology • Install and configure the Oracle Clusterware Software • Install the Oracle RDBMS RAC software • Can install ASM and create a database automatically © 2007 Oracle Corporation 6
7.
Cluster Verification Utility
(CVU, cluvfy) • Allows customers to verify cluster during various stages of its deployment from hardware setup, Clusterware Install, RDBMS install, storage, etc. • Extensible framework • Command Line only $ ./cluvfy comp peer -n node1,node2 | more • Does not take any corrective action following the failure of a verification task • Non-intrusive verification © 2007 Oracle Corporation 7
8.
Deployment of cluvfy
Install only on local node. Tool deploys itself on • remote nodes during execution, as required. • User installs on local node • Issues verification command for multiple nodes • Tool copies the required bits to the remote nodes • Executes verification tasks on all nodes and generates report CVU © 2007 Oracle Corporation 8
9.
cluvfy Stage List
• Valid stage options and stage names are: $ ./cluvfy stage -list : post-check for hardware & operating system -post hwos : pre-check for CFS setup -pre cfs : post-check for CFS setup -post cfs : pre-check for Clusterware installation -pre crsinst : post-check for Clusterware installation -post crsinst : pre-check for database installation -pre dbinst : pre-check for database configuration -pre dbcfg © 2007 Oracle Corporation 9
10.
cluvfy Stage List
- Graphical -pre dbcfg Configures RAC DB -pre dbinst Installs RAC -pre crsinst Installs Oracle Clusterware -post crsinst -pre cfs Sets up OCFS ( OPT ) -post cfs User sets up the Hardware, -post hwos network & storage © 2007 Oracle Corporation 10
11.
cluvfy Component List
• Valid components are: $ ./cluvfy comp -list nodereach : checks reachability between nodes : checks node connectivity nodecon : checks CFS integrity cfs : checks shared storage accessibility ssa : checks space availability space : checks minimum system requirements sys : checks cluster integrity clu : checks cluster manager integrity clumgr : checks OCR integrity ocr : checks CRS integrity crs : checks node applications existence nodeapp : checks administrative privileges admprv : compares properties with peers peer © 2007 Oracle Corporation 11
12.
cluvfy Stage or
Component • Use Stage checks during installation of Oracle Clusterware and RAC. • Use the appropriate –pre and –post check for the stages, e.g: $ ./cluvfy stage –pre crsinst –n node1,node2 -verbose • To verify a particular component while the stack is running or to isolate a cluster subsystem for diagnosis, use appropriate Component checks. © 2007 Oracle Corporation 12
13.
CVU locations
• Pre-Installation: • Cluster Verification Utility on OTN: • http://www.oracle.com/technology/products/database/clustering/ cvu/cvu_download_homepage.html • Oracle DVD • clusterware/cluvfy/runcluvfy.sh • Clusterware Home • <crs_home>/bin/cluvfy • Oracle Home • $ORACLE_HOME/bin/cluvfy © 2007 Oracle Corporation 13
14.
Cluster Interconnect Best
Practices • Use UDP over Gigabit Ethernet • TCP if Windows, RDG on Tru64 (See Note 278132.1) • Use OS Bonding/teaming to “virtualize” interconnect • Failover ; Load-balancing ; Improved bandwidth • Set UDP send/receive buffers high enough • Platform dependant – typically 256K is adequate • Linux: net.core.rmem_max, net.core.wmem_max, net.core.rmem_default, net.core.wmem_default • Use a private dedicated non-routable Switch or VLAN • crossover cables are not supported • Eliminate any Transmission Problems • Packet errors/drops can manifest into more serious outages © 2007 Oracle Corporation 14
15.
Cluster Interconnect (Cont’)
• Use same interconnect for both Clusterware and DB (GCS/DLM/PQ) communications • Clusterware uses: oifcfg getif • DB uses: select * from v$cluster_interconnects; • DB may override Clusterware via the cluster_interconnects init.ora on a per database basis • Might be needed with many databases on the same cluster • Private NICs and public NICs should be kept the same name/order © 2007 Oracle Corporation 15
16.
Clusterware Misscount
• Oracle Clusterware has two heartbeats • Network: misscount, defaults to 30sec (Linux 10g: 60sec) • Disk (IOT): function of misscount varies by release • Problematic approach to tie the two together (not granular enough) • Patch 4896338 decouples above timeouts (disk/network) • New css disktimeout parameter; defaults to 200 seconds • Reconfiguration/reboot only if misscount exceeded for network or disktimeout exceeded for voting disk • Included in 11g; 10.2.0.2 patchset & 10.1.0.4 cumulative Clusterware patch • Note 294430.1: Misscount definitions • Note 284752.1: Change misscount/reboottime/disktimeout • Best Practice: Do NOT change misscount or disktimeout unless on the recommendation of Support © 2007 Oracle Corporation 16
17.
VIP IP in
RAC • Used to mitigate TCP/IP timeout delays on client connections • When configuring (VIPCA) choose only the public interfaces • Watch out the default subnet is 255.255.255.0, correct it if needed • On SLES10 / RHEL5 / OEL5: VIPCA fails during root.sh, see Note:414163.1 • The VIP must be a DNS known IP address • Clients connect to VIP address from tnsnames connect description • Listeners listen on VIP for client connections • Use ifconfig (on most platforms) to verify VIP interface is configured after Clusterware is running • IP address on the new VIP interface eg: eth0:1, should respond to pings • The VIP is stored within the OCR • To modify the VIP IP see Note:276434.1 © 2007 Oracle Corporation 17
18.
Mirror OCR/Voting disk
• Oracle Cluster Repository (OCR), and split brain resolution mechanism (Voting Disk) • Storage Options: Block, RAW, CFS or certified NFS • 10gR2: Oracle mirroring is recommended at install time • Configure 3 Voting disks and 2 OCR devices • Post install: # crsctl add css votedisk path # ocrconfig -replace ocrmirror destination file/disk • 10gR1: Limited to hw RAID and OS LVM • Split brain resolution requires majority of disks to allow sub-cluster to continue • Stretched clusters may place voting on 3rd location over NFS (Linux, AIX, Solaris) • Auto OCR Backups: # ocrconfig –showbackup • New in 11g: # ocrconfig –manualbackup © 2007 Oracle Corporation 18
19.
Determine Storage Methodology
• ASM (Automatic Storage Management) - RECOMMENDED • Clustered Filesystems: • Oracle Cluster Filesystem (OCFS1 for 2.4 kernels; OCFS2 for 2.6 kernels) [FREE] • Certified 3rd party clustered filesystems • NFS (Certified Network Filesystem, see OTN for supported list) • Raw Devices (Avoid!, limited to 255; needed only for OCR/Voting in 10g, not needed in 11g) • iSCSI provides block devices (for use with ASM, OCFS2, etc.) © 2007 Oracle Corporation 19
20.
IO Multipathing
• Device driver automatically or manually combines multiple paths to the same device • Two HBAs become one virtual HBA (Host Bus Adapter) • Failover, Bandwidth aggregation, path rediscovery • On Linux (Open Source, FREE) • 2.6 kernels: Device Mapper (DM) (decent) • Fixes all the lacks of MD and then some • 2.4 kernels: Multipath Device (MD) (mdadm) AVOID • Long timeout (90 seconds) for failover to kick in • Manual configuration of path, No path rediscovery • Use 3rd Party instead • Third-party (HP, EMC, IBM, Sun, HDS, Veritas, Qlogic) multipathing on Linux • No Unbreakable support from Oracle © 2007 Oracle Corporation 20
21.
3rd Party IO
Multipathing • HP – Secure Path, Auto Path XP • Only HP storage • IBM (Varies by storage/OS) • MPIO Driver (Multi-Path Input Output): AIX • SDD (Subsystem Device Driver): AIX, Linux, HP-UX, Solaris, Windows • RDAC (Redundant Disk Array Controller): • AIX, Linux, Windows • Sun – StorEdge Traffic Manager (Sun Storage only) • Microsoft – MPIO Software dev kit (not AIX’s MPIO) • EMC – Power Path • Compatible with many storage arrays • Qlogic – Must use Qlogic HBAs • Symantec/Veritas – Dynamic Multipathing (DMP, VxVM) • Must use Veritas LVM, create logical volumes for ASM to use © 2007 Oracle Corporation 21
22.
When NOT to
use Multipathing • MP is transparent to ASM/ASMLIB, avoid these cases: • When MP requires root access to MP device • When MP requires an LVM in the path • When 3rd party vendor does not certify © 2007 Oracle Corporation 22
23.
ASM Recommendations
• Install ASM on a separate Oracle Home • NEW in 11g – ASM rolling upgrades are possible, 11g onwards • Set INIT.ORA on ASM and DB as per recommendations • Remove ASM dependency on VIP (bug 4865736) • If VIP fails ASM instance remains operational • Fixed in 11g and 10.2.0.3 patchset; download fix for 10.2.0.2 • If mirroring is done in the storage array, set REDUNDANCY=EXTERNAL for the diskgroup • On Linux use ASMLib • Protects against device name changes across reboots without compromising security (Note 394959.1) • Fewer kernel resources, no configs to modify as disks are added • Global Open/Close for ASM devices © 2007 Oracle Corporation 23
24.
Shared Oracle Home
• Shared Oracle Home requires a shared filesystem • OCFS2, Certified NFS device, etc. • Only one copy of the software to maintain & faster installation, however with following drawbacks: • Can not perform rolling upgrade of patches/sets • Binaries have local dependencies • Requires cross-node OS compatibility • Single point of failure • Avoid using Shared Home • Especially for the Oracle Clusterware Home © 2007 Oracle Corporation 24
25.
Summary: Install Oracle
RAC 10g / 11g on Linux • Consult Oracle Validated Configurations on OTN • OS at latest revision + set kernel parameters correctly • Run Cluster Verification Utility (CVU) at various stages • Install and configure the Oracle Clusterware Software • Install the Oracle RDBMS RAC software • Can install ASM and create a database automatically © 2007 Oracle Corporation 25
26.
Patching/SW Maintenance
• Stay current with: • CPU’s (Critical Patch Update) • RDBMS Patchsets ; Clusterware bundle patches • Use latest Opatch; download from Metalink • 10.2 placeholder bug 4898608; 10.1 placeholder bug 2617419 • Review Support/Metalink (e.g. 10.2.0.2 see Notes: 359415.1,391116.1) recommended 1-off patches from Support/Metalink • Ensure Support has specific platform info to ensure no patch conflicts $ opatch lsinventory -detail • Read individual patch readme’s carefully • Not all patches install exactly the same way • Confirm patch successfully applied to all nodes $ opatch lsinventory –oh <home location> • Patch first in test/QA environment • NEW in Opatch 10.2.0.3: Apply/remove N patches at once • NEW in 11g: Online Patching; some patches can be applied to running code © 2007 Oracle Corporation 26
27.
Patchsets (10.1.0.4, 10.2.0.3,
etc.) • Consist of two portions (Clusterware & RDBMS/ASM) • Install using Oracle Universal Installer (OUI) • Latest patchset (10.2.0.3) is always advised • Oracle Clusterware must be newer or equal version of any RDBMS or ASM installed • Oracle Clusterware portion can always be installed in a rolling upgrade fashion • New in 11g: ASM can be upgraded as a rolling upgrade, 11g onwards • RDBMS portion can only be installed in a rolling upgrade fashion if a logical stand-by exists © 2007 Oracle Corporation 27
28.
Patching Mixed Oracle
Homes • Mixed Oracle Home is when Clusterware and RDBMS/ASM versions are not identical • Fully supported; Clusterware always higher version • Patching is slightly different as follows • Clusterware patches consist of two portions • One applied to Clusterware Home • Second applied to ASM or RDBMS Home • ASM & RDBMS treated equally for this purpose • Attempt to install a 10.2 patch in a 10.1 RDBMS will fail • Patches must always be applied to exact version © 2007 Oracle Corporation 28
29.
Patching Mixed Oracle
Homes (Cont’) Refer to Metalink Note 363254.1 for full details • You may skip the RDBMS portion • Bug may still be visible on that RDBMS Home • Or; Request a one-off for the needed older RDBMS version • Remember: • Never force a patch to be installed into incorrect version home • A single one-off zip will always contain exact versions for both portions of the patch (Clusterware,RDBMS) © 2007 Oracle Corporation 29
30.
Tuning Philosophy
• Philosophies differ • Tuning for new or existing database • Tend to start with things we know • Perception of a problem may sway your philosophy • Here’s mine... • Go for the best bang for your buck • Translation: Go after the big things first © 2007 Oracle Corporation 30
31.
Monitoring: General
• Vital to have good baseline to compare with • Correlate I/O timing reported by Oracle to I/O timing reported by OS utilities & Hardware • For example: Database says I/O takes 60ms but hardware says 10ms, investigate why. • OS and database statistics should be collected at the same time periods to have a meaningful comparison • Run OSWatcher and statspack continuously © 2007 Oracle Corporation 31
32.
Monitoring Tools: Linux
Specific • Overall tools sar , vmstat • CPU /proc/cpuinfo , mpstat , top • Memory /proc/meminfo , /proc/slabinfo • Disk I/O iostat, sar • Network iptraf, netstat, mii-tool • Individual process debugging strace , ltrace, lsof © 2007 Oracle Corporation 32
33.
Monitoring Tools: RAC
• Oracle Enterprise Manager (recommended) • DB Control or Grid Control • With Diagnostics Pack license provides Automatic Database Diagnostic Monitor (ADDM) and Automatic Workload Management (AWR) • Comprehensive & concrete tuning recommendations • Statspack • Manual snapshot/reporting, similar to AWR reports • No recommendations, user must conclude based on report • Metalink Note: 94224.1 • OS Watcher • Continuous collection of OS metrics automatically • Metalink Note: 301137.1 © 2007 Oracle Corporation 33
34.
RAC Performance Recommendations
• Good SQL • Reduce Hot Spots • Same as you would for a single instance • Set sequence cache to 1000 or more • Scalable I/O sub-system • Implement multipathing • Confirm Interconnect is actually being used • Use Automatic Segment Space Management • “SEGMENT SPACE MANAGEMENT AUTO” in create tablespace • Remove PCTUSED, FREELIST & FREELISTS GROUPS © 2007 Oracle Corporation 34
35.
Tips & Troubleshooting
• Installing on a cluster with many nodes? • Use cluster configuration file (Text file with node names) • Metalink Note 336912.1 • Want silent OUI installs? • Try the –record flag to generate a response file • Use REMOTE_NODES & CLUSTER_NODES options in OUI to install/manipulate a subset of nodes • Setup SSH equivalency using runSSHSetup.sh on install directory of Clusterware CD/DVD. • Use pdsh (Public Domain Shell) runs commands on all nodes © 2007 Oracle Corporation 35
36.
Tips & Troubleshooting
(Cont’) • Correctly mount clustered filesystems • OCFS2: “datavolume” for database mount points (Note 428356.1) • NFS: Correct NFS mount options (Note 359515.1) • Clusterware needs storage and network UP • Verify host startup sequence of network & I/O drivers, iSCSI • Please use NTP (Network Time Protocol) • Easier debugging/diagnostics as time is in sync • Some issues may exist for Clusterware & DBMS_SCHEDULER if time drifts wildly • Jobs get scheduled incorrectly • May reboot nodes as misscount calculations will be incorrect • Use -x (if available) to prevent time from moving backwards © 2007 Oracle Corporation 36
37.
Tips & Troubleshooting
(Cont’) • Ensure IO Storage scalability for multiple nodes early on • As nodes are added more storage bandwidth should be added • ORION: Oracle tool on OTN (Linux, Windows) • IOzone: Freeware on Internet (Cross platform) • If OS stack size set too high (e.g. 200MB), Oracle Clusterware fails to start • Each thread consumes stack-size (200MB!!) • Leave at port-specific defaults • Work with hardware vendor to confirm latest/certified firmware & drivers on all equipment, including network switches • Enterprise Linux users should use oracle-validated*.rpm to fulfill all installation pre-requirements © 2007 Oracle Corporation 37
38.
Tips & Troubleshooting
(Cont’) • On Windows: Disable Media Sense (Note: 243549.1) • Increase SYS.AUDSES$ sequence cache (Note: 395314.1): alter sequence sys.audses$ cache 10000; • Affects 9i up to and including 10.2.0.2 • Clusterware relies on OS authentication, if using LDAP ensure it’s at High Availability standards or decouple the RAC nodes from LDAP • Oracle RAC 11g on Linux uses oprocd to detect hangs • hangcheck-timer can still pickup lower level (device driver) hangs © 2007 Oracle Corporation 38
39.
Tips & Troubleshooting
(Cont’) • Collect RAC traces/diagnostics • Remote Diagnostic Agent (RDA) 4.2 or above: Note:359395.1 • RAC Diagnostic Data Tool (RAC-DDT): Note 360926.1 <CRS_home>/bin/diagcollection.pl • Cluster Deconfig/Deinstall tool on OTN (10g: Linux x86) • Helps deinstall RAC 10g software for a clean reinstallation © 2007 Oracle Corporation 39
40.
More RAC Sessions
TODAY! • 1:00 PM South 309 : S291662 Using Oracle RAC and Microsoft Windows 64-bit as the Foundation for the Database Grid • 2:30 PM South 309 : S291669 Extended Clusters - Real World Customer Experiences • 4:00 PM South 310 : S291670 Oracle Database 11g: First Experiences with Grid Computing © 2007 Oracle Corporation 40
41.
42.
QUESTIONS ANSWERS
Baixar agora