Several important points to be aware of when you install 10gRAC windows

Source: Internet
Author: User

Virtual machines: VMware 9.0

Os:window Server 2003 Enterprise (+ Bit)

clusterware:10.2.0.1->10.2.0.4

database:10.2.0.1->10.2.0.5


Used to be in the LINU environment to set up playing RAC, yesterday, the first attempt to play on the windows, some people will feel very disdain, I think the Windows platform has no practical value, who said not? That being said, it is impossible to say that there must be no use of Windows production environment, so, as a DBA, we have to become generalists, regardless of the platform to deal with, we must be aware of the situation will not panic hands and feet. I will share some of the issues encountered in the deployment process, will not talk about the specific operation process, only a few of the more important issues to note:


1. You must ensure that the installation is performed using the administrator user and that no null password is allowed


2. Recommended installation using Remote Desktop Connection, such as VNC


3. To modify 2 environment variables

Temp=c:\windows\temp,tmp=c:\windows\temp


4. Network configuration (emphasis)

Main network card (bridge), with VIP address, to have a gateway

Secondary NIC (Host only) with PRIV address, no gateway required

After configuring the ping and net use \\NODE1\C$ test, see whether the network together, this is the basic protection of the correct installation of RAC

In addition, because Windows is sensitive to network transmission, you also need to modify the registry, in the HKLM\System\CurrentControlSet\Services\Tcpip\Parameters project, To add a doubleword field, the value is 1. After the completion of the network connectivity test, but also to connect the remote registry, to see if the normal connection to the Node 2 registry, it must be possible to

Finally, must pay attention to the network card sequence to public in the first, private in the back, otherwise, when the installation of Oui, the execution to the Add node here, will automatically add-PRIVV to the corresponding node name, such as:

Originally in the%sysroot%\drivers\etc\hosts file clearly wrote NODE Node-vip Node-priv will become Nod-priv Node-vip-priv Node-priv-priv So, Even if you change to the same as the configuration of the host file is useless, can not next, so be sure to pay attention!!!


5. Run services.msc, turn one of the services off, the name is distributed Tracation Coordinator


6. Time synchronization Also note that the time to ensure 2 nodes is consistent, you can double-click the time in the taskbar, and then select "Internet Time", select the appropriate server to synchronize


7. Configure shared disks (also focus)

More specifically, you can go online search orders and methods, mainly about my experience. If the configuration is not good, the 2 nodes will not communicate properly, because two important parts of the RAC Environment, both OCR and Votingdisk, need to be placed on the shared disk. The main is to pay attention to planning the size of the disk in advance, because once the OCR and Votingdisk disk, it will not be moved, my experience is, 10g, OCR only more than 100 m, give 500M is enough, votingdisk do not need to give a lot, 500M is enough, If it is 11g then give a little more, 1G bar. Windows view Disk tool is DiskPart, very easy to use, specific usage can be directly input diskpart without parameters to press ENTER, you can see the help, 10g we generally use bare disk, do not format the file system, also do not give the letter, as long as the establishment of a good partition and logical drive can be

Also, if it's VMware, be careful to add the disk.locking = "FALSE" in the "node name". vmx file, otherwise when you start 2 VMS at the same time, you will be reported an XX disk by lock error pop-up window, unable to open normally.


8. After completing the above steps, in fact, you can clone a host as Node 2, and then modify the host name, network card IP and other information, need to restart the effective


9. Before installing RAC, pre-check with the command to see if there is any omission in each configuration link, the command is as follows: Runcluvfy.bat stage-pre crsinst-n node1,node2 [-verbose]

After installation, you can also use this command again to check: Runcluvfy.bat stage-post hwos-n node1,node2 [verbose]


10. The pit father came, this problem has troubled me a day, back and forth loaded a full 4 times, is about VIPCA in 10.2.0.1 RAC Bug caused a series of problems, the official said, Since Windows has a bug that Oracle related services cannot start automatically under this version of 10.2.0.1, a tool must be installed in a subsequent patch to resolve it, named Opmd.exe. Otherwise, when you successfully installed the RAC, full of joy to carry out the VIPCA thought is done, will be very sad, will report PRKH-1010 and PRKR-1062 error, no other solution, manual to start service services also useless, execute crsctl start CRS is stuck, and the log information does not have an obvious error hint. After the installation of OPMD, all the problems are taken care of, the whole person is a lot easier, the implementation of VIPCA is also normal.


Well, first write so much, I hope that everyone in the future to play RAC on Windows to bring some help. Finally, apply the official description of the bug solution:

Oracle bug:4537790 was logged-issue, although the problem is more than an OS initialization problem than a CSS prob  Lem.  The fix for bug:4537790 are to provide an executable called ' Opmd.exe '.   The Opmd.exe allows the creation of a new service called the ' Oracle Process Manager '. The Oracle Process Manager would control the startup of the clustering services to prevent the oraclecsservice (or ORACLECM service9i) from starting up before the rest of the OS services has started.

To resolve this problem, you must obtain the Patchset for your release which contains the ' Opmd.exe '. The following patches contain this utility:



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.