Oracle11g RAC construction in linux (7)
6. Install the Grid and start the GRID installation interface. Method 1: Adjust the resolution under redhat
[Root @ node1 ~] #Xhost +// Authorization
[Root @ node1 ~] #Su-grid
[Grid @ node1 ~] $Cd/soft/grid
[Grid @ node1 ~] $Ls
[Grid @ node1 ~] $./RunInstaller
Method 2: Set vnc
Start vnc service
[Root @ node1 yum. repos. d] #Vncserver
Passwd:Beijing// Set the vncserver Password
Go to the virtual machine interface:
[Root @ node1 ~] #Vncviewernode1: 5901
Enter the password to go to the following page:
[Root @ node1 ~] #Xhost +// Authorization
[Root @ node1 ~] #Su-grid
[Grid @ node1 ~] $Cd/soft/grid
[Grid @ node1 ~] $Ls
[Grid @ node1 ~] $./RunInstaller
Method 3: Xmanager 4 remote access configuration xmanager
Open xstart. If you are prompted to create a sessionname, first name the dialog, enter host, protocol select ssh, command select 3 xterm (linux type 2), and then click run to start
Accept
Enter Password
Will pop up
In this status, execute the # xhost + command so that other users can pop up a graphical interface, such as xclock.
Switch to the grid user: su-grid
Install grid
1. Select the default
2. Select advanced installation (first by default,Select the second)
3. default language English
4. configuration page
Cluster nameNode-cluster// Retrieve it by yourself
Scan nameScan_ip
// It must be consistent with the settings in hosts. You can run cat/etc/hosts to view
Scan port1521// Port number
Cancel configure gns
5. Add node1 and node2 (the vip names of node1 and node2 must appear here)
Add Node 2 Information:
Hostname:Node2
Virtual IP Name:Node2-vip
6. 10.10.10.0 indicates a private Nic, and 192.168.0.0 indicates a public Nic. Check whether the settings are consistent.
7. Automatic Management through asm
There are two management methods for asm: ASM and Shared File System.
Select the asm method.
8. Give disk group name a name (OCR_VOTE). Three redundancy methods are available:Normal Mode(Three disks required)
Redundancy mode:
High: 5 disks required
Normal: three disks are required.
External: two disks are required.
Ocr_vote3 requires three disks, two of which are image disks.
The other two disks need one image disk.
9. Select OCR_VOTE disk as the three disks.
10. Set the password of the sys user.
11. Direct default
This is to install a module, which is not required here.
Continue by default:
12. Run the following two scripts as the root user: node1 and node2.
Script running sequence:
Node1 executes the first script;
Node2 executes the first script;
Node1 executes the second script;
Node2 executes the second script.
After the script is executed, continue. An error is reported because of an item that was ignored during the previous installation. You can continue the installation without affecting it.
The error message is "normal". Please continue the installation.
13. Check that an environment variable is added to node1 and node2.
Add environment variables in node1:
[Root @ node1 ~] #Vi/etc/profile
Add: exportPATH = $ PATH:/u01/11.2.0/grid/bin
[Root @ node1 ~] #Source/etc/profile
Add environment variables in node2:
[Root @ node2 ~] #Vi/etc/profile
Add: exportPATH = $ PATH:/u01/11.2.0/grid/bin
[Root @ node2 ~] #Source/etc/profile
[Root @ node2 ~] #Crsctl check crs
// On node 2, you can see that all services in the cluster are in the online status.
[Root @ node2 ~] #Crs_stat-t// View Resource Information on node 2
[Root @ node1 ~] #Crsctl check crs
// Check that all services in the cluster on node 1 are in the online status.
[Root @ node1 ~] #Crs_stat-t// View the resource information on node 1
So far, grid installation is complete.
Statement:
Original works, from "Deep Blue blog" blog, allow reprint, reprint please be sure to indicate the source (http://blog.csdn.net/huangyanlong ).
The author has the right to pursue legal liability for copyright issues.
********** ****************************