In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "what is the method of building Windows Oracle 11G R2". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what is the method of building Windows Oracle 11G R2"?
I. overall planning
1. Server planning
Use two servers with the same hardware configuration as the two physical nodes of the RAC environment
The server needs to be configured with at least two physical network cards.
This experiment is realized by Vmware Workstation.
The account name and password of the two machines should be the same.
Node hostname local disk (C:) local disk (D:) operating system memory size virtual memory size Node1RAC140G100GWin08r2 _ sp116G32Gnode2RAC240G100GWin08r2_sp116G32G
two。 Network planning
The virtual machine has a total of 3 network cards:
Nic 1: host ip
Network card 2:pri_ip (heartbeat line)
Network card 3:storage_ip
The host ip, private ip and scan_ip should be in the same network segment.
Node host ipvippri_ipscan_ipscan name storage_ipnode1192.168.17.10192.168.17.11192.168.18.10192.168.17.100scan-cluster192.168.19.10node2192.168.17.12192.168.17.13192.168.18.11192.168.17.100scan-cluster192.168.19.11
3. Storage planning
Plan 5 Lun,OCR as voting disk, FRA as flashback configuration, and DATA as data area. Disk group name: OCR, FRA, DATA
Disk naming LunSize (G) function OCR150G voting disk FRA2100G flashback configuration area DATA3200G data sharing area DATA14200G data sharing area DATA25200G data sharing area
4. Network topology diagram
II. Operating system environment configuration
1. Node hostname configuration
Change the CVM name to RAC1 and RAC2 on node1 and node2, and restart to take effect. The two servers use administrator and keep the same password.
two。 Node firewall configuration
Modify the firewall settings on node1 and node2, as shown below:
3. Node network configuration
a. Change the Nic names of the two nodes to the same:
Node1:
Local connection-> Public (host) IP: 192.168.17.10 take 24
Local connection 2-> Private (heartbeat line) IP:192.168.18.10/24
Local connection 3-> storage (storage line) IP: 192.168.19.100 Universe 24
Node2:
Local connection-> Public (host) IP: 192.168.17.12 take 24
Local connection 2-> Private (heartbeat line) IP:192.168.18.12/24
Local connection 3-> storage (storage line) IP: 192.168.19.101 Universe 24
Storage: local connection-> (host) IP: 192.168.19.10 take 24
b. Configure the HOSTS file c:\ windows\ system32\ drivers\ etc\ hosts of the two machines, and verify it with the Ping command after configuration.
# public
192.168.17.10 RAC1
192.168.17.12 RAC2
# vip
192.168.17.11 vip-RAC1
192.168.17.13 vip-RAC2
# private
192.168.18.10 pri-RAC1
192.168.18.12 pri-RAC2
# scan
192.168.17.100 scan-RAC
c. Run ncpa.cpl on node1 and node2, press alt, select Advanced-> Advanced Settings in the menu bar, and adjust the priority of the network card: Public > Private. If there is no menu bar, click organize-> layout.
4. Turn off DHCP awareness
Open the registry on node1, node2
Locate the HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ Tcpip\ Parameters subkey in the registry, create a new key value of type DWORD, DisableDHCPMediaSense, and change the value to 1.
After reboot, use the command netsh interface ipv4 show global to verify that the shutdown was successful.
5. Configure local security policy
Do the following in node1 and node2:
a. Run secpol.msc and configure "Security Settings-> Local Policy-> Security options-> user account Control: the behavior of the administrator's permission promotion prompt in the administrator approval mode" to "promote directly without prompting".
b. Verify that the Administrators group is included in Security Settings-> Local Policy-> user Rights assignment-> manage Audit and Security Log.
6. Shared settings and testing
Do the following in node1 and node2:
a. Because grid and oracle need to have the administrator permission of rac2 to open the service and write the registry when performing remote replication. The non-sharing of C disk will cause the grid infrastructure configuration of grid to fail. Disk D is a database installation disk. Check "share this folder", open the permissions, add the appropriate user, and give the user full control, change, and read permissions.
F disk is the same.
b. Execute the net use command on each node to check whether the nodes can access each other
Run on rac1: net use\ rac2\ C$
Net use\ rac2\ D$
Run on rac2: net use\ rac1\ C$
Net use\ rac1\ D$
7. Close SNP Features
C:\ > netsh int tcp set global chimney=disabled
C:\ > netsh int tcp set global rss=disabled
Use the command after reboot
C:\ > netsh interface ipv4 show global verifies that the shutdown was successful
8. Stop the MSDTC service
Run services.msc, stop the Distributed Transaction Coordinator (MSDTC) service, and set it to Manual.
9. Synchronize node time
Run the command on the RAC2 server: net time\ rac1 (view the current time of RAC1) and then run the command on the RAC2 server: net time\ rac1 / set (set the RAC2 time to synchronize with RAC1)
10. Check environment variables
Right-click the computer-> Properties-> Advanced system Settings-> Environment variables, make sure the variables TMP and temp values are the same.
III. Storage space planning and mounting
Iscsi disk mount is simulated through starwind. For more information, please see the storage plan.
At this point, I believe you have a deeper understanding of "what is the method of building Windows Oracle 11G R2". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.