Professional Documents
Culture Documents
RAC Capacity Planning-1
RAC Capacity Planning-1
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 Oracles products remains at the sole discretion of Oracle.
Agenda
Capacity Planning in GRID/RAC Environment Scalable Infrastructure Design
On Demand Capacity Addition and Utilization
Capacity Planning
Storage Network
Networked Storage
RAC works with both SAN and NAS Storage Optimal Storage selection depends on ..
Estimated I/O Response Time Typically single block I/O requests Common characteristic of most OLTP applications IOPS measure used Estimated I/O Bandwidth Large multi-block I/Os Data Warehouse and Mix workload environments Occurs during backup/recovery operations Estimation should include requirements for both normal/backup I/Os
Estimate initial data size and growth rate for all the applications (E.g., 500GB initial, double over two years, 1TB total)
Add the fault tolerance requirements (E.g., 2TB with RAID1, 1.2TB with RAID5)
Add the backup requirements to the size (E.g., Additional 1TB for a full, another 1TB for 5 incremental)
Calculate the total bandwidth requirement per node (E.g., 2GB/sec for 16 nodes = 128MB/node/sec or 300,000/16 = 18,750 IOPS/node)
Choose the appropriate storage class and build the configuration (E.g., 1,200 IOPS per spindle, 16-way striped = 19,200 IOPS per LUN)
Interconnect Network
RAC Messages
Small 256 byte messages
Used by GES and GCS
Parallel Query
Parallel_execution_message_size default 8k
Interconnect Bandwidth
Message received (M) per second
(#GES message + #GCS messages)
2,534 8,11 65
Db_block_size 8192 Parallel_execution_message_size 8192 Mtu_size 1500 One Gigabit ethernet interface for interconnect
Interconnect Bandwidth
Available Interconnect Bandwidth in IP based network
Depends on the network packets transmitted The comparison of theoretical bandwidth using total bytes transmitted is not accurate
100
80
MB/sec
60 Series1
40
20
0 256 byte 512 byte 1024 byte 2048 byte 8192 byte
RAC Interconnect
Experience shows for most applications single Gigabit Ethernet is adequate In planning 70 % utilization should be reasonable point to add additional interfaces
Server Capacity
Infrastructure Design
Infrastructure Design
2 SAN Switches Low-end SAN Storage 2 ports from each Storage Processor connected to each SAN switch Equal-size RAID5 LUNS are distributed among all SPs On Storage Processor failure in Array LUNs would failover
SAN Fabric 1 Storage Farm SAN Fabric 2
Storage 01
Storage 02
Storage NN
Infrastructure Design
2 CPU and 4 CPU boxes 2 port HBA connecting to each server LUNS are load-balanced on both ports Protects from SP, Array port, Single HBA, Single SAN switch
Server Farm a001 a002 a003 aNNN
b001
b002
b003
bNNN
SAN Fabric 2
Storage 01
Storage 02
Storage NN
Infrastructure Design
WAN NAS NN IP Network Public/App-DB Private Interconnect NAS/iSCSI Management LAN
Server Farm
a001
a002
a003
aNNN
b001
b002
b003
bNNN
SAN Fabric 2
Storage 01
Storage 02
Storage NN
Infrastructure Design
Separate Switches for PUBLIC, Private, NAS if used and Management Network Redundant Networks for PUBLIC, PRIVATE and NAS
- For most configurations active/failover should be sufficient - Where Load-balancing used ensure correct option of Network Redundancy is used to provide both send and Receive side load balance 803.2ad is used to aggregate switch ports 803.2ad is used in the host to bond the interfaces
Storage Network
Implement zoning / masking using
Simple scheme where all LUNs are visible across all nodes, if the cluster infrastructure is used by multiple databases
Create equi-sized LUNS that meets planned I/O characteristics Ensure LUN can support combined throughput of all concurrent RAC node access Avoid ISL in SAN switch design by sizing the SAN switch appropriately In ASM diskgroup add disks with similar storage characteristics and capacity
Interconnect Network
Ensure proper VLAN for the cluster-interconnect network Avoid cascading switches If NIC bonding used ensure switch ports are appropriately configured to provide both send/receive side load balancing Ensure similar vendors NICs are teamed in the host
Server Design
Ensure similar sized servers are clustered together Ensure Remote Administration has been correctly setup Use Automated procedures to check consistency of correct OS, firmware and application software version and revision levels
Cluster Verification Tool Verifies infrastructure,Clusterware and RAC configurations ORION Measures available I/O bandwidth and Response Time IPERF Measures & reports network performance
Software Considerations
Adding Capacity
Mercado Libre
eBay in Latin America Runs marketplace from search to Bid In 2004 moved from mid-range SMP to
4*4 node Itanium2 Linux RAC Cluster 16 Gig RAM each Node NFS filer storage Initially estimated 400,000 TP hour good for 2 years
Mercado Libre
Scaled incrementally as marketplace grew
1,600,000
Business Volume
2004
2005
2006
Nodes
Mercado Libre
Performance Characteristics MercadoLibres 13 node Linux Itanium cluster
460 GB RAM clusterwide 286 GB SGA 14,500 URLS/second 47 GB/ redo /day
Only use a maximum 40% of the capacity of a single Gigabit Ethernet interconnect
Summary
Plan initial sizing with good estimate Design a Scalable infrastructure Grow capacity with business volume Resource utilization is the key driver
http://search.oracle.com
REAL APPLICATION CLUSTERS
or otn.oracle.com/rac