22 Dec 2016
redhat rac installation manual
公网的switch做了链路聚合,使其在逻辑上成为一个switch。而em1和em2则bond在一起成为bond0,提供公网的连接高可用。
私网的em3和em4分别接入private switchA和switchB,得益于oracle的HAIP(Highly Available Internet Protocol)技术,em3和em4不需要做bond,HAIP可提供多达4个nic的负载均衡
推荐配置
软件的最小空间
| Software | Disk Space |
|---|---|
| Oracle Grid Infrastructure Home | 5.5 GB |
| Oracle Database Home Enterprise Edition (includes software files and data files) | 8.9 GB |
| /tmp | 1 GB |
两个节点系统各分区最小空间
| File System Layout | Disk Space Size |
|---|---|
| / | 15 GB |
| /dev/shm | 24 GB |
| /boot | 248 MB |
| /home | 8 GB |
| /tmp | 4 GB |
| /u01 | 50 GB |
| /usr | 5 GB |
| /var | 8 GB |
oracle rac database 11g r2 推荐在Oracle ASM硬盘组中有3个不小于1G的空间去冗余存储Oracle Cluster Registry (OCR) 和 voting disks。OCR管理oracle clusterware和oracle rac database 11g r2的配置信息。voting disks管理节点成员的所有相关信息。
此架构推荐以下最小空间
| Volume | Volume Size |
|---|---|
| Oracle Database Volume 1 (db1) | 100 GB |
| Oracle Database Volume 2 (db2) | 100 GB |
| Fast Recovery Area (fra) | 200 GB |
| Oracle Redo Log Volume (redo) | 10 GB |
| OCR & Voting Disks (ocrvote1) | 1 GB |
| OCR & Voting Disks (ocrvote2) | 1 GB |
| OCR & Voting Disks (ocrvote3) | 1 GB |
| Virtual Diskgroup Name | Volume Name | Volume Size | RAID Group Type | Harddrive Count | Hot Spares Available | Size of Virtual Disk |
|---|---|---|---|---|---|---|
| vd01 | db1 | 100 GB | Raid 10 | 8 | 0 | 586 GB |
| vd02 | db2 | 100 GB | Raid 10 | 8 | 0 | 586 GB |
| vd03 | fra | 200 GB | Raid 5 | 5 | 0 | 586 GB |
| vd04 | redo | 10 GB | Raid 1 | 2 | 0 | 146 GB |
| vd04 | ocrvote1 | 1 GB | Raid 1 | 2 | 0 | 146 GB |
| vd04 | ocrvote2 | 1 GB | Raid 1 | 2 | 0 | 146 GB |
| vd04 | ocrvote3 | 1 GB | Raid 1 | 2 | 0 | 146 GB |
| - | - | - | - | 1 | 1 | 146 GB |
swap分区的大小取决于ram的大小
| RAM | Swap Space |
|---|---|
| 2.5 GB up to 16 GB | Equal to the size of RAM |
| Greater than 16 GB | 16 GB of RAM |
其实可以先关闭,若希望打开,可以开放以下端口
| Port | Protocol Description |
|---|---|
| 22 | TCP Secure Shell (SSH) |
| 80 | TCP Hypertext Transfer Protocol (HTTP) |
| 443 | TCP Hypertext Transfer Protocol over SSL/TLS (HTTPS) |
| 1521 | TCP Oracle Transparent Network Substrate (TNS) Listener default port |
| 1158 | TCP Oracle Enterprise Manager 11g default port |
推荐关闭