This article mainly introduces the installation of Oracle 11g RAC and the creation and migration of 10g databases in the 11g RAC environment, and how to upgrade the database to the 11g version. The architecture of the 11g RAC and some new features of the 11g RAC are also analyzed and summarized.
Oracle's 11g RAC has major changes compared with 10g RAC. In 11g, CRS and ASM are installed together in a separate user called grid infrastructur, while RDBMS is installed in another user. Here we name these two user names respectively grid and ora11g.
If you want to install the Oracle 11g RAC server cluster with 10g RAC installed, you need to clear all RAC configurations in the environment before installing 11g RAC.
Therefore, this is not an upgrade, but an initial installation of 11g RAC.
In linux, use the rm method to directly clear the 10 Gb installation configuration file.
Rm-f/etc/init. d/init.css d
Rm-f/etc/init. d/init. crs
Rm-f/etc/init. d/init. crsd
Rm-f/etc/init. d/init. evmd
Rm-f/etc/rc2.d/K96init. crs
Rm-f/etc/rc2.d/S96init. crs
Rm-f/etc/rc3.d/K96init. crs
Rm-f/etc/rc3.d/S96init. crs
Rm-f/etc/rc5.d/K96init. crs
Rm-f/etc/rc5.d/S96init. crs
Rm-rf/etc/oracle/scls_scr
Rm-f/etc/inittab. crs
Cp/etc/inittab. orig/etc/inittab
Format the raw device file configured by vote disk and ocr.
Dd if =/dev/zero of =/dev/raw/raw1 bs = 8192 K count = 10
Dd if =/dev/zero of =/dev/raw/raw2 bs = 8192 K count = 10
Delete all Oracle installation files and configuration files to completely clean up the old environment.
Oracle 11g RAC and 10g RAC have some differences. 11g centralized CRS and ASM into a software called Grid Infrastructure.
1. Environment Configuration
The two servers are mounted with one read/write storage, which is the basic configuration of RAC.
There is a heartbeat connection between the two servers.
The hosts file configuration on the two hosts is as follows:
The two servers are mounted with one read/write storage, which is the basic configuration of RAC.
There is a heartbeat connection between the two servers.
The hosts file configuration on the two hosts is as follows:
192.168.15.193 serv-scan
192.168.15.89 serv1
192.168.15.189 serv1-vip
10.100.15.89 serv1-priv
192.168.15.90 serv2
192.168.15.190 serv2-vip
10.100.15.90 serv2-priv
There is an important key point here, please note.
Compared with 10g RAC configuration, 11g RAC has an IP address configuration item, which is called scan ip. This is a new configuration requirement for 11g moderators.
For scan ip, I have something to say.
I think this IP address is a chicken rib. It is mainly used to reduce the client Configuration modification requirements when adding or deleting nodes in the Client Server Load balancer configuration.
In our application server-based database to access the application environment, the modification volume is not that large. In addition, no DNS configuration is available in our server network environment. For this function, you need to add DNS configuration to add an additional DNS Service risk point. This is not worth it.
Fortunately, we don't need this scan ip address. Here, the hosts file is configured, and the actual network does not have this IP address, an alarm will be reported during the verification step of installing Grid Infrastructure, but you can continue to install RAC if you ignore it.