SlideShare une entreprise Scribd logo
1  sur  44
© 2007-2008 Oracle Corporation 1
© 2007-2008 Oracle Corporation 2
Deploying Oracle Real Application Clusters: Best
Practices (S298766) ROOM S104 WED 5PM
• Saar Maoz & Philip Newlan
• RACPACK – Server Technologies
© 2007-2008 Oracle Corporation 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-2008 Oracle Corporation 4
<Insert Picture Here>
Agenda
• Installation Overview
• Cluster Verification Utility
• Cluster Interconnect
• Clusterware
• Storage / MPIO
• ASM / Shared filesystem
• Patching
• Monitoring / Tuning
• Tips & Troubleshooting
© 2007-2008 Oracle Corporation 5
Service
Oracle RAC Architecture
public network
Node1
Operating System
Oracle Clusterware
instance 1
ASM
VIP1
Listener
Node 2
Operating System
Oracle Clusterware
instance 2
ASM
VIP2
Listener
Service
Node n
Operating System
Oracle Clusterware
instance n
ASM
VIPn
Listener
Service
/…/
Redo / Archive logs all instances
Shared Storage
Database / Control files
OCR and Voting Disks
Managed by ASM
RAW/Block Devices
Private network
© 2007-2008 Oracle Corporation 6
Oracle RAC Installation Overview
• Validate and prepare Hardware & OS
• Check RAC Technology Matrix on OTN: Unix, Linux, Windows and
Certify on Metalink
• Linux only:
• Consult Oracle Validated Configurations on OTN
• Use oracle-validated rpm to set/install kernel rpms/parameters
(Note: 728346.1)
• Determine cluster interconnect
• Determine shared storage methodology
• Install and configure the Oracle Clusterware Software
• Install the Oracle Database RAC software
• Can install ASM and create a database automatically
© 2007-2008 Oracle Corporation 7
Cluster Verification Utility (CVU, cluvfy)
• Allows customers to verify cluster during various
stages of its deployment from hardware setup,
Clusterware Install, Database 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-2008 Oracle Corporation 8
Deployment of cluvfy
• Install only on local node. Tool deploys itself on
remote nodes during execution, as required.
• 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
• User installs on local node
© 2007-2008 Oracle Corporation 9
cluvfy Stage List
• Valid stage options and stage names are:
$ ./cluvfy stage -list
-post hwos : post-check for hardware & operating system
-pre cfs : pre-check for CFS setup
-post cfs : post-check for CFS setup
-pre crsinst : pre-check for Clusterware installation
-post crsinst : post-check for Clusterware installation
-pre dbinst : pre-check for database installation
-pre dbcfg : pre-check for database configuration
© 2007-2008 Oracle Corporation 10
User sets up the
Hardware,
network & storage
Sets up OCFS
( OPT )
Installs Oracle
Clusterware
Installs
RAC
Configures
RAC DB
-post hwos
-post cfs
-post crsinst
-pre crsinst
-pre dbinst
-pre dbcfg
-pre cfs
cluvfy Stage List - Graphical
© 2007-2008 Oracle Corporation 11
cluvfy Component List
• Valid components are:
$ ./cluvfy comp -list
nodereach : checks reachability between nodes
nodecon : checks node connectivity
cfs : checks CFS integrity
ssa : checks shared storage accessibility
space : checks space availability
sys : checks minimum system requirements
clu : checks cluster integrity
clumgr : checks cluster manager integrity
ocr : checks OCR integrity
crs : checks CRS integrity
nodeapp : checks node applications existence
admprv : checks administrative privileges
peer : compares properties with peers
© 2007-2008 Oracle Corporation 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-2008 Oracle Corporation 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-2008 Oracle Corporation 14
Cluster Interconnect Best Practices
• Most cases: use UDP over 1 Gigabit Ethernet
• Windows uses TCP (See Note: 278132.1)
• Heavier workload may benefit from Infiniband/IP or 10 Gigabit Ethernet
• Use OS Bonding/teaming to “virtualize” interconnect
• Failover ; Load-balancing ; Improved bandwidth
• Linux: Note: 434375.1, Solaris: Note: 368464.1
• 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
• Do not use any firewall/iptables on interconnect Note 554781.1
© 2007-2008 Oracle Corporation 15
Cluster Interconnect (Cont’)
• Best practice: Clusterware and Database (GCS/DLM/PQ)
communications on same underlying transport (NIC)
• These could be split if the need arises
• Might be needed with many databases on the same cluster
• Clusterware uses: olsnodes -p
• DB uses: oifcfg getif
• select * from v$cluster_interconnects;
• DB may override Clusterware via the cluster_interconnects
init.ora on a per database basis
• Private NICs and public NICs should be kept the same
name/order on all cluster members
© 2007-2008 Oracle Corporation 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)
• 11g, 10.2.0.2+ and 10.1.0.4+ decouple above timeouts
(disk/network)
• Introduce css disktimeout parameter; defaults to 200 seconds
• Reconfiguration/reboot only if misscount exceeded for network or
disktimeout exceeded for voting disk
• Prior releases get patch 4896338
• 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-2008 Oracle Corporation 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
• 10gR2: On SLES10 / RHEL5 / OEL5: VIPCA fails during root.sh;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: bond0:1, should respond to pings
• The VIP is stored within the OCR
• To modify the VIP IP see Note: 276434.1
• Bond NICs for VIP (IP multipathing: IPMP)
• Linux: Note: 298891.1 Solaris: Note: 283107.1
© 2007-2008 Oracle Corporation 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 & 11g: Oracle mirroring is recommended at install time
• Best Practice: 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 logic requires majority of disks for sub-cluster to continue
• Stretched clusters may place voting on 3rd location over NFS (Linux, AIX,
Solaris, HPUX)
• Auto OCR Backups: # ocrconfig –showbackup
• New in 11g: # ocrconfig –manualbackup
• Relocate OCR/Voting: Note: 428681.1
© 2007-2008 Oracle Corporation 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 NFS Server
• iSCSI provides block devices (For ASM, OCFS2, etc.)
• Check RAC Technology Matrix on OTN: Unix, Linux,
Windows and Certify on Metalink
• Raw Devices
• Avoid!, limited to 255; needed only for OCR/Voting in 10g, not
needed in 11g, use block devices instead
• Raw devices will be deprecated in next major release
© 2007-2008 Oracle Corporation 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-2008 Oracle Corporation 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 CLVM, create logical volumes for ASM to use
© 2007-2008 Oracle Corporation 22
When NOT to use Multipathing
• MP is transparent to ASM, avoid these cases:
• When MP requires root access to MP device
• When MP requires a non cluster aware LVM in the path
• When 3rd party vendor does not certify for OS
© 2007-2008 Oracle Corporation 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
• 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 (Migrate: Note: 394955.1)
• 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-2008 Oracle Corporation 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
• It is required when implementing SAP on RAC
• Oracle Homes in RAC Whitepaper on OTN
© 2007-2008 Oracle Corporation 25
Summary: Install Oracle RAC 10g / 11g
• 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-2008 Oracle Corporation 26
Patching/SW Maintenance
• Stay current with:
• CPU’s (Critical Patch Update; only apply to RDBMS & ASM; not Clusterware)
• RDBMS Patchsets ; Clusterware bundle patches
• Use latest Opatch; download from Metalink
• New Opatch placeholder for all platforms/versions, bug 6880880
• Old: 10.2 placeholder bug 4898608; 10.1 placeholder bug 2617419
• Review Support/Metalink (e.g. 10.2.0.3 see Notes: 391116.1,401435.1)
for known issues & patches from Support/Metalink
• Read individual patch readme’s carefully
• Not all patches install exactly the same way
• Confirm patch successfully applied to all nodes
$ opatch lsinventory -detail –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-2008 Oracle Corporation 27
Patchsets (10.1.0.4, 10.2.0.4, etc.)
• Consist of two portions (Clusterware & RDBMS/ASM)
• Install using Oracle Universal Installer (OUI)
• Latest patchset (10.2.0.4) 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; HOWTO: Note: 338706.1
• 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 standby exists
© 2007-2008 Oracle Corporation 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-2008 Oracle Corporation 29
Patching Mixed Oracle Homes (Cont’)
Refer to Metalink Note 363254.1 for full details
• You may skip the RDBMS portion of the fix
• 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 (patch) zip will always contain exact versions for both
portions of the patch (Clusterware,RDBMS)
© 2007-2008 Oracle Corporation 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-2008 Oracle Corporation 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 (or AWR with Diagnostic
Pack license) continuously
© 2007-2008 Oracle Corporation 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, ethtool
• Individual process debugging
strace , ltrace, lsof
© 2007-2008 Oracle Corporation 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 (Note: 94224.1) or AWR if own Diagnostic
Pack License
• Manual snapshot/reporting, similar to AWR reports
• No recommendations, user must conclude based on report
• OS Watcher (Note: 301137.1)
• Continuous collection of OS metrics automatically
• LTOM & LTOMg (Notes: 352363.1 & 461050.1)
• Real-time system profiler & diagnostic tool with graphics front
end
© 2007-2008 Oracle Corporation 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
• Jumbo Frames helps in most cases
• Use Automatic Segment Space Management
• “SEGMENT SPACE MANAGEMENT AUTO” in create tablespace
• Remove PCTUSED, FREELIST & FREELISTS GROUPS
• Allocate SGA memory from non-swappable memory
• Hugepages (Note: 361323.1)
© 2007-2008 Oracle Corporation 35
Tips & Troubleshooting 1
• How to convert Single instance to RAC?
• DBCA, EM, rconfig (Note: 387046.1)
• Follow install requirements (e.g. Note: 438766.1)
• For example: SELinux should be set to Permissive (or Disabled) mode
on EL5, Note: 457458.1
• Oracle RAC 11g (All Linux/Unix ports) & Linux 10.2.0.4 and
above use oprocd to detect hangs
• Linux: hangcheck-timer still pickups lower level (device driver)
hangs
• Avoid False Reboots
• Set diagwait to 13 (All Platforms), Note: 559365.1
• Overcome OS scheduling latencies
• Linux: make sure glibc is updated, Note: 731599.1
© 2007-2008 Oracle Corporation 36
Tips & Troubleshooting 2
• 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
• Use NTP (Network Time Protocol)
• Easier debugging/diagnostics as time is in sync on all nodes
• 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 (or equivalent) to prevent time from moving backwards
© 2007-2008 Oracle Corporation 37
Tips & Troubleshooting 3
• 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, Solaris, AIX)
• 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
© 2007-2008 Oracle Corporation 38
Tips & Troubleshooting 4
• 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
© 2007-2008 Oracle Corporation 39
Tips & Troubleshooting 5
• Linux: Oracle Validate RPM now available for non-ULN
customers
• Can help achieve a reduced package installation, Note: 728346.1
• Setup SSH equivalency using runSSHSetup.sh on install
directory of Clusterware CD/DVD.
• Use pdsh (Public Domain Shell) runs commands on all nodes
• Want silent OUI installs?
• Use the –record flag to generate a response file
• Installing on a cluster with many nodes?
• Use cluster configuration file (Text file with node names)
• See Note: 336912.1
© 2007-2008 Oracle Corporation 40
Tips & Troubleshooting 6
• 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
• Procwatcher Note: 459694.1 (Heavy duty debugging/tracing)
• Only when working on a bug with help from Support
• Cluster Deconfig/Deinstall tool on OTN (10g: Linux x86)
• Helps deinstall RAC 10g software for a clean reinstallation
Q U E S T I O N SQ U E S T I O N S
A N S W E R SA N S W E R S
© 2007-2008 Oracle Corporation 42
More RAC Sessions Thursday!
• 12:00 PM South 306 : S298787 Migrating to Oracle
Real Application Clusters: From POC to Production.
• 1:30 PM South 306 : S298771 Increase Your
Organization’s Efficiency with a Dynamic Shared
Infrastructure Grid
• 3:00 PM South 306 : S299069 Oracle Real
Application Clusters and Qlogic InfiniBand: Yahoo!
Large-Scale Data Warehouse
Presentation   deploying oracle real application clusters best practices
Presentation   deploying oracle real application clusters best practices

Contenu connexe

Plus de xKinAnx

04 empalis -ibm_spectrum_protect_-_strategy_and_directions
04 empalis -ibm_spectrum_protect_-_strategy_and_directions04 empalis -ibm_spectrum_protect_-_strategy_and_directions
04 empalis -ibm_spectrum_protect_-_strategy_and_directionsxKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...
Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...
Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...
Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...
Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...
Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...
Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...
Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...
Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...
Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...
Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...xKinAnx
 
Presentation disaster recovery in virtualization and cloud
Presentation   disaster recovery in virtualization and cloudPresentation   disaster recovery in virtualization and cloud
Presentation disaster recovery in virtualization and cloudxKinAnx
 
Presentation disaster recovery for oracle fusion middleware with the zfs st...
Presentation   disaster recovery for oracle fusion middleware with the zfs st...Presentation   disaster recovery for oracle fusion middleware with the zfs st...
Presentation disaster recovery for oracle fusion middleware with the zfs st...xKinAnx
 
Presentation differentiated virtualization for enterprise clouds, large and...
Presentation   differentiated virtualization for enterprise clouds, large and...Presentation   differentiated virtualization for enterprise clouds, large and...
Presentation differentiated virtualization for enterprise clouds, large and...xKinAnx
 
Presentation desktops for the cloud the view rollout
Presentation   desktops for the cloud the view rolloutPresentation   desktops for the cloud the view rollout
Presentation desktops for the cloud the view rolloutxKinAnx
 
Presentation design - key concepts and approaches for designing your deskto...
Presentation   design - key concepts and approaches for designing your deskto...Presentation   design - key concepts and approaches for designing your deskto...
Presentation design - key concepts and approaches for designing your deskto...xKinAnx
 
Presentation desarrollos cloud con oracle virtualization
Presentation   desarrollos cloud con oracle virtualizationPresentation   desarrollos cloud con oracle virtualization
Presentation desarrollos cloud con oracle virtualizationxKinAnx
 
Presentation deploying cloud based services
Presentation   deploying cloud based servicesPresentation   deploying cloud based services
Presentation deploying cloud based servicesxKinAnx
 
Presentation dell™ power vault™ md3
Presentation   dell™ power vault™ md3Presentation   dell™ power vault™ md3
Presentation dell™ power vault™ md3xKinAnx
 
Presentation defend your company against cyber threats with security solutions
Presentation   defend your company against cyber threats with security solutionsPresentation   defend your company against cyber threats with security solutions
Presentation defend your company against cyber threats with security solutionsxKinAnx
 

Plus de xKinAnx (20)

04 empalis -ibm_spectrum_protect_-_strategy_and_directions
04 empalis -ibm_spectrum_protect_-_strategy_and_directions04 empalis -ibm_spectrum_protect_-_strategy_and_directions
04 empalis -ibm_spectrum_protect_-_strategy_and_directions
 
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
 
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
 
Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...
Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...
Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
 
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
 
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
 
Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...
Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...
Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...
 
Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...
Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...
Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...
 
Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...
Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...
Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...
 
Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...
Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...
Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...
 
Presentation disaster recovery in virtualization and cloud
Presentation   disaster recovery in virtualization and cloudPresentation   disaster recovery in virtualization and cloud
Presentation disaster recovery in virtualization and cloud
 
Presentation disaster recovery for oracle fusion middleware with the zfs st...
Presentation   disaster recovery for oracle fusion middleware with the zfs st...Presentation   disaster recovery for oracle fusion middleware with the zfs st...
Presentation disaster recovery for oracle fusion middleware with the zfs st...
 
Presentation differentiated virtualization for enterprise clouds, large and...
Presentation   differentiated virtualization for enterprise clouds, large and...Presentation   differentiated virtualization for enterprise clouds, large and...
Presentation differentiated virtualization for enterprise clouds, large and...
 
Presentation desktops for the cloud the view rollout
Presentation   desktops for the cloud the view rolloutPresentation   desktops for the cloud the view rollout
Presentation desktops for the cloud the view rollout
 
Presentation design - key concepts and approaches for designing your deskto...
Presentation   design - key concepts and approaches for designing your deskto...Presentation   design - key concepts and approaches for designing your deskto...
Presentation design - key concepts and approaches for designing your deskto...
 
Presentation desarrollos cloud con oracle virtualization
Presentation   desarrollos cloud con oracle virtualizationPresentation   desarrollos cloud con oracle virtualization
Presentation desarrollos cloud con oracle virtualization
 
Presentation deploying cloud based services
Presentation   deploying cloud based servicesPresentation   deploying cloud based services
Presentation deploying cloud based services
 
Presentation dell™ power vault™ md3
Presentation   dell™ power vault™ md3Presentation   dell™ power vault™ md3
Presentation dell™ power vault™ md3
 
Presentation defend your company against cyber threats with security solutions
Presentation   defend your company against cyber threats with security solutionsPresentation   defend your company against cyber threats with security solutions
Presentation defend your company against cyber threats with security solutions
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Presentation deploying oracle real application clusters best practices

  • 1. © 2007-2008 Oracle Corporation 1
  • 2. © 2007-2008 Oracle Corporation 2 Deploying Oracle Real Application Clusters: Best Practices (S298766) ROOM S104 WED 5PM • Saar Maoz & Philip Newlan • RACPACK – Server Technologies
  • 3. © 2007-2008 Oracle Corporation 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.
  • 4. © 2007-2008 Oracle Corporation 4 <Insert Picture Here> Agenda • Installation Overview • Cluster Verification Utility • Cluster Interconnect • Clusterware • Storage / MPIO • ASM / Shared filesystem • Patching • Monitoring / Tuning • Tips & Troubleshooting
  • 5. © 2007-2008 Oracle Corporation 5 Service Oracle RAC Architecture public network Node1 Operating System Oracle Clusterware instance 1 ASM VIP1 Listener Node 2 Operating System Oracle Clusterware instance 2 ASM VIP2 Listener Service Node n Operating System Oracle Clusterware instance n ASM VIPn Listener Service /…/ Redo / Archive logs all instances Shared Storage Database / Control files OCR and Voting Disks Managed by ASM RAW/Block Devices Private network
  • 6. © 2007-2008 Oracle Corporation 6 Oracle RAC Installation Overview • Validate and prepare Hardware & OS • Check RAC Technology Matrix on OTN: Unix, Linux, Windows and Certify on Metalink • Linux only: • Consult Oracle Validated Configurations on OTN • Use oracle-validated rpm to set/install kernel rpms/parameters (Note: 728346.1) • Determine cluster interconnect • Determine shared storage methodology • Install and configure the Oracle Clusterware Software • Install the Oracle Database RAC software • Can install ASM and create a database automatically
  • 7. © 2007-2008 Oracle Corporation 7 Cluster Verification Utility (CVU, cluvfy) • Allows customers to verify cluster during various stages of its deployment from hardware setup, Clusterware Install, Database 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
  • 8. © 2007-2008 Oracle Corporation 8 Deployment of cluvfy • Install only on local node. Tool deploys itself on remote nodes during execution, as required. • 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 • User installs on local node
  • 9. © 2007-2008 Oracle Corporation 9 cluvfy Stage List • Valid stage options and stage names are: $ ./cluvfy stage -list -post hwos : post-check for hardware & operating system -pre cfs : pre-check for CFS setup -post cfs : post-check for CFS setup -pre crsinst : pre-check for Clusterware installation -post crsinst : post-check for Clusterware installation -pre dbinst : pre-check for database installation -pre dbcfg : pre-check for database configuration
  • 10. © 2007-2008 Oracle Corporation 10 User sets up the Hardware, network & storage Sets up OCFS ( OPT ) Installs Oracle Clusterware Installs RAC Configures RAC DB -post hwos -post cfs -post crsinst -pre crsinst -pre dbinst -pre dbcfg -pre cfs cluvfy Stage List - Graphical
  • 11. © 2007-2008 Oracle Corporation 11 cluvfy Component List • Valid components are: $ ./cluvfy comp -list nodereach : checks reachability between nodes nodecon : checks node connectivity cfs : checks CFS integrity ssa : checks shared storage accessibility space : checks space availability sys : checks minimum system requirements clu : checks cluster integrity clumgr : checks cluster manager integrity ocr : checks OCR integrity crs : checks CRS integrity nodeapp : checks node applications existence admprv : checks administrative privileges peer : compares properties with peers
  • 12. © 2007-2008 Oracle Corporation 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.
  • 13. © 2007-2008 Oracle Corporation 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
  • 14. © 2007-2008 Oracle Corporation 14 Cluster Interconnect Best Practices • Most cases: use UDP over 1 Gigabit Ethernet • Windows uses TCP (See Note: 278132.1) • Heavier workload may benefit from Infiniband/IP or 10 Gigabit Ethernet • Use OS Bonding/teaming to “virtualize” interconnect • Failover ; Load-balancing ; Improved bandwidth • Linux: Note: 434375.1, Solaris: Note: 368464.1 • 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 • Do not use any firewall/iptables on interconnect Note 554781.1
  • 15. © 2007-2008 Oracle Corporation 15 Cluster Interconnect (Cont’) • Best practice: Clusterware and Database (GCS/DLM/PQ) communications on same underlying transport (NIC) • These could be split if the need arises • Might be needed with many databases on the same cluster • Clusterware uses: olsnodes -p • DB uses: oifcfg getif • select * from v$cluster_interconnects; • DB may override Clusterware via the cluster_interconnects init.ora on a per database basis • Private NICs and public NICs should be kept the same name/order on all cluster members
  • 16. © 2007-2008 Oracle Corporation 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) • 11g, 10.2.0.2+ and 10.1.0.4+ decouple above timeouts (disk/network) • Introduce css disktimeout parameter; defaults to 200 seconds • Reconfiguration/reboot only if misscount exceeded for network or disktimeout exceeded for voting disk • Prior releases get patch 4896338 • 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
  • 17. © 2007-2008 Oracle Corporation 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 • 10gR2: On SLES10 / RHEL5 / OEL5: VIPCA fails during root.sh;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: bond0:1, should respond to pings • The VIP is stored within the OCR • To modify the VIP IP see Note: 276434.1 • Bond NICs for VIP (IP multipathing: IPMP) • Linux: Note: 298891.1 Solaris: Note: 283107.1
  • 18. © 2007-2008 Oracle Corporation 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 & 11g: Oracle mirroring is recommended at install time • Best Practice: 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 logic requires majority of disks for sub-cluster to continue • Stretched clusters may place voting on 3rd location over NFS (Linux, AIX, Solaris, HPUX) • Auto OCR Backups: # ocrconfig –showbackup • New in 11g: # ocrconfig –manualbackup • Relocate OCR/Voting: Note: 428681.1
  • 19. © 2007-2008 Oracle Corporation 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 NFS Server • iSCSI provides block devices (For ASM, OCFS2, etc.) • Check RAC Technology Matrix on OTN: Unix, Linux, Windows and Certify on Metalink • Raw Devices • Avoid!, limited to 255; needed only for OCR/Voting in 10g, not needed in 11g, use block devices instead • Raw devices will be deprecated in next major release
  • 20. © 2007-2008 Oracle Corporation 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
  • 21. © 2007-2008 Oracle Corporation 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 CLVM, create logical volumes for ASM to use
  • 22. © 2007-2008 Oracle Corporation 22 When NOT to use Multipathing • MP is transparent to ASM, avoid these cases: • When MP requires root access to MP device • When MP requires a non cluster aware LVM in the path • When 3rd party vendor does not certify for OS
  • 23. © 2007-2008 Oracle Corporation 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 • 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 (Migrate: Note: 394955.1) • 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
  • 24. © 2007-2008 Oracle Corporation 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 • It is required when implementing SAP on RAC • Oracle Homes in RAC Whitepaper on OTN
  • 25. © 2007-2008 Oracle Corporation 25 Summary: Install Oracle RAC 10g / 11g • 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
  • 26. © 2007-2008 Oracle Corporation 26 Patching/SW Maintenance • Stay current with: • CPU’s (Critical Patch Update; only apply to RDBMS & ASM; not Clusterware) • RDBMS Patchsets ; Clusterware bundle patches • Use latest Opatch; download from Metalink • New Opatch placeholder for all platforms/versions, bug 6880880 • Old: 10.2 placeholder bug 4898608; 10.1 placeholder bug 2617419 • Review Support/Metalink (e.g. 10.2.0.3 see Notes: 391116.1,401435.1) for known issues & patches from Support/Metalink • Read individual patch readme’s carefully • Not all patches install exactly the same way • Confirm patch successfully applied to all nodes $ opatch lsinventory -detail –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
  • 27. © 2007-2008 Oracle Corporation 27 Patchsets (10.1.0.4, 10.2.0.4, etc.) • Consist of two portions (Clusterware & RDBMS/ASM) • Install using Oracle Universal Installer (OUI) • Latest patchset (10.2.0.4) 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; HOWTO: Note: 338706.1 • 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 standby exists
  • 28. © 2007-2008 Oracle Corporation 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
  • 29. © 2007-2008 Oracle Corporation 29 Patching Mixed Oracle Homes (Cont’) Refer to Metalink Note 363254.1 for full details • You may skip the RDBMS portion of the fix • 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 (patch) zip will always contain exact versions for both portions of the patch (Clusterware,RDBMS)
  • 30. © 2007-2008 Oracle Corporation 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
  • 31. © 2007-2008 Oracle Corporation 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 (or AWR with Diagnostic Pack license) continuously
  • 32. © 2007-2008 Oracle Corporation 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, ethtool • Individual process debugging strace , ltrace, lsof
  • 33. © 2007-2008 Oracle Corporation 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 (Note: 94224.1) or AWR if own Diagnostic Pack License • Manual snapshot/reporting, similar to AWR reports • No recommendations, user must conclude based on report • OS Watcher (Note: 301137.1) • Continuous collection of OS metrics automatically • LTOM & LTOMg (Notes: 352363.1 & 461050.1) • Real-time system profiler & diagnostic tool with graphics front end
  • 34. © 2007-2008 Oracle Corporation 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 • Jumbo Frames helps in most cases • Use Automatic Segment Space Management • “SEGMENT SPACE MANAGEMENT AUTO” in create tablespace • Remove PCTUSED, FREELIST & FREELISTS GROUPS • Allocate SGA memory from non-swappable memory • Hugepages (Note: 361323.1)
  • 35. © 2007-2008 Oracle Corporation 35 Tips & Troubleshooting 1 • How to convert Single instance to RAC? • DBCA, EM, rconfig (Note: 387046.1) • Follow install requirements (e.g. Note: 438766.1) • For example: SELinux should be set to Permissive (or Disabled) mode on EL5, Note: 457458.1 • Oracle RAC 11g (All Linux/Unix ports) & Linux 10.2.0.4 and above use oprocd to detect hangs • Linux: hangcheck-timer still pickups lower level (device driver) hangs • Avoid False Reboots • Set diagwait to 13 (All Platforms), Note: 559365.1 • Overcome OS scheduling latencies • Linux: make sure glibc is updated, Note: 731599.1
  • 36. © 2007-2008 Oracle Corporation 36 Tips & Troubleshooting 2 • 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 • Use NTP (Network Time Protocol) • Easier debugging/diagnostics as time is in sync on all nodes • 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 (or equivalent) to prevent time from moving backwards
  • 37. © 2007-2008 Oracle Corporation 37 Tips & Troubleshooting 3 • 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, Solaris, AIX) • 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
  • 38. © 2007-2008 Oracle Corporation 38 Tips & Troubleshooting 4 • 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
  • 39. © 2007-2008 Oracle Corporation 39 Tips & Troubleshooting 5 • Linux: Oracle Validate RPM now available for non-ULN customers • Can help achieve a reduced package installation, Note: 728346.1 • Setup SSH equivalency using runSSHSetup.sh on install directory of Clusterware CD/DVD. • Use pdsh (Public Domain Shell) runs commands on all nodes • Want silent OUI installs? • Use the –record flag to generate a response file • Installing on a cluster with many nodes? • Use cluster configuration file (Text file with node names) • See Note: 336912.1
  • 40. © 2007-2008 Oracle Corporation 40 Tips & Troubleshooting 6 • 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 • Procwatcher Note: 459694.1 (Heavy duty debugging/tracing) • Only when working on a bug with help from Support • Cluster Deconfig/Deinstall tool on OTN (10g: Linux x86) • Helps deinstall RAC 10g software for a clean reinstallation
  • 41. Q U E S T I O N SQ U E S T I O N S A N S W E R SA N S W E R S
  • 42. © 2007-2008 Oracle Corporation 42 More RAC Sessions Thursday! • 12:00 PM South 306 : S298787 Migrating to Oracle Real Application Clusters: From POC to Production. • 1:30 PM South 306 : S298771 Increase Your Organization’s Efficiency with a Dynamic Shared Infrastructure Grid • 3:00 PM South 306 : S299069 Oracle Real Application Clusters and Qlogic InfiniBand: Yahoo! Large-Scale Data Warehouse