1, Server Installation Configuration List 1.1 Configuration list
Slightly
1.2 Server IP Address network planning
1.3 Installation of CD-ROM and related procedures
1.4 Divide Network storage 1. Database cluster two server IQN tables.
2. Storage Partition List situation
1.5 Frame composition
Slightly
2, operating system-related, basic Environment configuration 2.1 Install Windows operating system and configure 2.1.1 installation windows2008r2
The installation process is slightly. 2.1.2 Activate 2008r2, and turn on Remote Desktop
(1) Normal activation 2008r2.
(2) Desktop computer/properties/remote, open Remote Desktop.
2.1.3 modifies the hostname and modifies the uniform user name and password
1. The host name of the modified two nodes is Node1,node2
2, modify the user name and password for the unified administrator, because the time of the remote Sync installation package is remotely replicated with the user name and password.
2.1.4 Shutdown Firewall
Close the Node1,node2 node firewall separately.
2.1.5 configuration dep and shutdown UAC
(1) Desktop computer/Properties/Advanced, performance settings, respectively, configure the two server DEP, need to restart after the effective
(2) In the Control Panel, user accounts, respectively, configure the two servers UAC, need to restart after the effective.
2.1.6 Configuration to modify virtual memory
(1) Desktop computers/attributes/Advanced, performance Settings/Advanced/virtual memory, changes.
(2) Custom virtual memory size, usually twice times the memory, or set for Oracle recommendations.
2.1.7 configuration disables the "Media Awareness" feature
(1) Running regedit
hkey_local_machine/system/currentcontrolset/services/tcpip/parameters/
Create a new DWORD value, named DisableDHCPMediaSense value 1, as shown in the following figure, which requires a reboot to take effect.
This configuration entry is a check for an Oracle installation.
2.2 Configure the local network 2.2.1 Configure IP address and network card
(1) In accordance with the table in the Network Planning Server business Segment network card IP address, the following to Node1 server as an example, set after the screenshot below:
(2) The IP address of the server Heartbeat line network card.
(3) Modify the server two network card name, used to distinguish the network card function.
(4) Repeat the above operation on the Node2, the two nodes should be configured the same.
Process slightly, in the way seen. 2.2.2 To modify network card priority order
(1) First on the Node1 operation, the two nodes to configure the same. Control Panel/Network and Sharing Center/change adapter settings.
(2) Select the organization, display the menu, appear the menu bar, then choose Advanced, Advanced settings.
(3) Move the pub card up and cancel the IPV6 protocol below.
2.2.3 Configure Hosts File
(1) The path to configure the local Hosts file Hosts file at Node1,node2 two nodes is:
C:\WINDOWS\System32\drivers\etc\hosts,
192.168.10.191node1
192.168.10.192node2
192.168.10.193node1-vip
192.168.10.194node2-vip
10.10.10.10node1-priv
10.10.10.11node2-priv
192.168.10.190scan-cluster
(2) After the revised screenshot is as follows:
2.3 Mount shared storage ASM2.3.1 prepare iSCSI disks
According to the table in the network planning to set the IP address of the server network card, the following take the Node1 server as an example, set the screenshot below:
2.3.2 Mount an iSCSI disk
(1) Node1 server as an example, both nodes should be configured, Control Panel, iSCSI initiator, the first launch, prompted as follows.
(2) Open Control Panel again, iSCSI Initiator, Discovery, Discovery Portal, enter Ipsan address.
(3) Select the target, select IQN, click on the connection, enable multi-path.
(4) After configuration, as shown in the following figure.
2.3.3 Initialize iSCSI disks
(1) A screenshot of the operating procedure on the Node1 server is as follows, find Disk Management as shown in the figure.
(2) Go online and initialize the disk sequentially.
(3) After the operation is completed, the disk status is as follows.
(4) Then node2 the node on the disk Management in the online operation can be. 2.3.4 Create a bare device disk partition
(1) operation on Node1 server, start-run-cmd.
Description: The operation commands are explained as follows:
Input DiskPart, under the DiskPart command input: automountenable boot automatically mount the disk, the operation of both nodes to do.
Continue typing: listdisk Displays the number and name of the disks.
selectdisk1# Select the disk that is used for CRS
createpartext# Create an extended partition
createpartlog# Create logical partitions in full space
(2) The operation process is as follows.
(3) The process of creating partitions
(4) Node2 on the execution of automountenable can be, no need to partition and format.
3, installation OracleRAC3.1 installation GridInfrastructure3.1.1 ready to install the package
Node1
Upload the following three packages to D disk
P10404530_112030_linux-x86-64_1of7.zip
P10404530_112030_linux-x86-64_2of7.zip
P10404530_112030_linux-x86-64_3of7.zip
Description: 1, 2 is Oracle installation media, 3 is the installation media of the grid software.
Note: The version is the latest version of the current oracle11g, 11.2.0.4.0. 3.1.2 Pre-installation Environment Check 1. Pre-environmental inspection
Node1,node2 node
D:\grid>runcluvfystage-precrsinst-nnode1,node2-verbose
Perform a pre-check for Cluster service settings
Checking the accessibility of the node ...
Check: Node accessibility of node "Node1"
Is the destination node accessible?
------------------------------------------------------------
Node1 is
Node2 is
Result: node accessibility checks for node "Node1" passed
Checking for equivalent user ...
Check: User "Administrator" equivalent user
Node naming status
------------------------------------------------------------
Node2 through
Node1 through
Result: User "Administrator" equivalent user check passed
Checking node connectivity ...
Starting clock sync check using Network Time Protocol (NTP) ...
None of the running NTP daemons or services were found
Results: Using Network Time Protocol (NTP) for clock synchronization checking through
Checking whether the current user is a domain user ...
Check: User "Administrator" is a domain user
WARNING:
Unable to authenticate user "Administrator" as a domain user, domain "NODE1" is not a valid domain or cannot be contacted
Checking: Time zone consistency
Result: Time zone consistency check passed
Check the status of the auto Mount feature
is the section name enabled? note
------------------------------------------------------------
Node2 is through
Node1 is through
Result: Automatic mount function Status check passed
Pre-check the Cluster service settings on all nodes failed.
D:\grid>
3.1.3 Installation Gridinfrastructure
Node1 nodes, gridinfrastructure only need to be installed on one node.
1. Skip Software Updates
2. Installing and configuring grid for clusters
3. Advanced Installation
4. Select Product language
5. Configuring cluster names
6. Adding cluster nodes
8. Specify network interface type
9. Configure Oracleasm
10. Configuring CRSASM Disk Groups
(1) Mark the ASM disk and mark the disk.
(2) Add
(2) Select disk
(3) Next step.
(4) complete.
(5) Start configuring the CRS disk group.
11. Set SYS/ASMSNMP password (unsuccessful multiple password entries)
12. Do not use the IPMI interface.
13. Specify Grid installation Location
14. Check the grid installation environment
15. Install grid
16. Perform the final finish installation
3.1.4 after installation to confirm successful installation
Description: Cluster NETCA has been created in this step.
3.2 Installing ORACLERAC Database 3.2.1 Database ASM Disk Group creation method
The following operations are performed on the Node1 node, during which hosts 1 and 2 are required to be powered on simultaneously.
Description
Mode one: Under the Oracle installation directory \ Bin (D:\app\Administrator\product\11.2.0\dbhome_1\BIN), Double-click Asmtoolg.exe, which enables you to create an ASM disk identity in advance, or you can clear the ASM disk tag by using this tool.
Mode two: Mark the ASM disk by calling the Asmtoog tool in the ASMCA tool. 3.2.2 Create ASM Disk Tags
1. Create a disk group
2. Create a data disk group.
3. Create a Recovery Disk group.
4. Complete the creation of the disk group.
3.3 Install Oraclerac database 3.3.1 Install Oracle software
The installation operates only on the Node1 machine.
1. Select Cancel Receive security update
2. Skip software updates.
3. Installing database software more
4. Select the Oraclerealapplicationclusters database installation.
5. Configure the language.
6. Select the enterprise version of the installation.
7. Specifies the Oracle installation directory.
8. Default group, Next.
10. Start the installation.
9. Install environment check, ignore all.
12. Complete the installation.
The following batch is performed on the Node2.
3.3.2 Create Oracle Database
Execute DBCA command in CMD environment
1. Creating a RAC Database
2. Creating a database from a template
3. Select a general purpose or transactional database template
4. Enter the global database name ORCL and select all two nodes.
5. Configure EM, next.
6. Configure the user password.