一、安装环境
主机操作系统:win7
虚拟机软件:vmware workstation8
Rac节点操作系统:Redhat server 5 x86_64
DNS服务器操作系统:windows server 2003
Oracle Database software :Oracle11gr2
Cluster software :Oracle grid infrastructure 11gr2 共享存储:ASM+raw
二、拓扑图
linux系统安装oracle11g
11gr2 新监听方式
GNS architecture
三、存储规划
四、网络规划使用gns方式
五、安装前准备
1、硬件需求
A minimum of 2 G
B RAM is required for the complete Grid Infrastructure
and RAC software installation.
(1)至少2g的内存(for database & grid infrastrature)
本环境:每个2g内存
A minimum of 1 G
B free space is required in the /tmp directory.
(2)至少1g的临时目录空间,这个尽可能要大一点,因为如果使用amm,会用到tmp空间,它的大小应该=swap+phycal memory/2。
本环境:每个5g
By default, tmpfs is allocated from virtual memory. Thus it can include both physical RAM and swap
space, and it is sized to half of physical memory without swap space. However, unlike huge pages, which
you will learn more about later in this chapter, tmpfs memory allocation is dynamic. Therefore, if tmpfs
is not used, it does not take any allocation of memory, and it does not require a change in settings if
AMM is not used. When AMM is used, Oracle allocates a number of memory mapped files in tmpfs.
These files are allocated with at a file, or granule, size ranging from 4MB to MEMORY_MAX_TARGET of 1GB and 16ater than 1GB. The allocated files can be identified by the shmid of the
corresponding single page shared memory segment. The following example shows single page shared
memory segments for both an ASM instance and a database instance:
A minimum of 10 G
B free space for the entire Clusterware/Grid and RAC
software homes is required.
(3)至少10gb的空闲空间(for database & grid infrastrature)
本环境/u01/ 每个20g
Ensure that you have prepared shared storage in which to place Clusterware
critical components: Oracle Cluster Registry (OCR) and Voting Disk.
(4)确定拥有共享存储用来存放ocr&vote disk 。
本环境:查看第三章存储规划
Also ensure that you have adequate shared storage disks for Automatic
Storage Management, if you consider using ASM to host the datafiles.
(5)确保充足的空间供asm使用来存放数据库文件。
本环境:查看第三章存储规划
Configure the server swap size to be 1.5 time if the RAM on the server
is <=2 GB.
(6)swap空间至少为内存的1.5倍,至少为2gb
本环境:4g
Each server must have a minimum of two network adapters
or network interface cards (NIC) configured to be able to support the public
and private networks.
(7)至少拥有两块网卡,用来提供public network 和private network
本环境:虚拟机提供的两块hostonly网卡(因为经常单机工作,如果有网络环境可以考虑briged+hostonly)
2、网络需求
如果使用gns方式,一共需要
public ip *2,vip *2 , scan_ip *3 , gns_vip *1 , dns&dhcp_ip *1 , private_ip *2
=2+2+3+1+1+2=11
需要11个ip…
操作:
因为使用gns方式,vip和scan_vip都放在了dhcp中自动获取,所以,这里hosts文件中只需要加入节点public ip 信息和节点的private ip即可。
vi /etc/hosts
127.0.0.1 localhost
192.168.100.210 rhel1 rhel1.dex
192.168.10.210 rhel1-priv rhel1-priv.dex
192.168.100.211 rhel2 rhel2.dex
192.168.10.211 rhel2-priv rhel2-priv.dex
配置dns和dhcp服务器,这里使用了windowsserver2003 作为dhcp以及dns服务器。dns+dhcp 服务器ip设置

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。