Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle 11G RAC Cluster installation (2)-- install grid

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The grid of Oracle is not introduced much, so start the installation directly:

First, the preparatory work before installation:

This time, grid is installed graphically, so you can call the graphical installation interface in two ways:

1. The system's own graphical desktop can be accessed through VNC.

It is easy to install such an environment. You only need to use the vnc tool to remotely install rac1 and rac2 on two nodes. You can configure vnc by referring to another blog I wrote: http://blog.itpub.net/30484956/viewspace-2675382/.

two。 The system does not have its own graphical desktop, or cannot install vnc: http://blog.itpub.net/30484956/viewspace-2675384/

If this is the case, you need to configure it to call the graphical local installation remotely through the Xmanager software. For more information on how to configure this method, please refer to my other blog:

Second, the installation of RAC only needs to be performed in one node.

Start the installation of grid, this installation uses vnc tools remote server for remote desktop installation, vnc remote desktop user is root.

1. Log in to the grid user after the root user calls the graphics command execution

[root@rac2 ~] # xhost + # locally call graphical [root@rac2 ~] # su-grid

two。 Extract the grid installation package and execute the installation file

[grid@rac2 ~] $cd grid [grid@rac2 ~] $. / runinstaller

The visualization window pops up:

PS: because different systems choose different system languages, the pop-up graphical interface may be displayed in Chinese characters or in English. If the Linux system is installed in Chinese, there may be garbled codes in the pop-up interface, so you need to execute the following command before the installation. After executing the installation command, there will be no garbled code in the pop-up interface:

[grid@rac2 ~] $export [grid@rac2 ~] $. / runinstaller

(1) Select item 3: skip software updates.

(2) Select the first item: install and configure grid.

(3) Select the second item: advanced installation.

(4) Select language: English has been selected by default, simplified Chinese has been added this time.

(5) unconfigure the GNS option and enter and modify the cluster name, scan-ip name and port number in turn.

Note: the scan names in SCAN-Name and / etc/hosts are the same

(6) by default, the name of the configuration of the public network rac2 and VIP in the / etc/hosts corresponding to the node IP where the installation is located is displayed. Click the Add button and enter the rac1 corresponding to the public network IP of another node and the rac2-vip corresponding to the VIP.

(7) after adding nodes, click SSH Connectivity, link each node remotely, and enter the password of grid.

(8) Click the Setup button, and then click the Test button after passing the test. After passing the test, click next to install.

(9) check whether the network card setting name and the corresponding network segment are correct, and then select whether the network card type corresponds to private network or public network.

(10) if the following error indicates that each ip in / etc/hosts corresponds to a configuration error, you can check and eliminate it.

(11) for the first option, click next.

(12) modify the name of the vote disk group and select Normal in disk redundancy mode.

(13) change the disk path, modify it to the configured shared disk path, and use the prefix * to display all shared disks.

(14) Select the disks of the vote disk group, three disks.

(15) enter the administrative login password of grid. If the password is simple, you will be prompted, but you can ignore it and skip to the next step.

(16) second option, next step.

(17) Select according to the diagram and proceed to the next step.

(18) confirm that the installation directory is consistent with the configuration file.

(19) proceed to the next step by default.

(20) waiting for detection.

(21) deal with it according to the prompt after detection.

Note here that 11g grid detection will indicate that there is a package that is not installed. This package is stored in the grid decompression package. After finding it, use the rpm command to install it on both nodes. After installation, testing again will not prompt this error.

[root@rac2 ~] # cd / home/grid/grid/rpm [root@rac2 ~] # ls cvuqdisk-1.0.9-1.rpm [root@rac2 ~] # rpm-ivh cvuqdisk-1.0.9-1.rpm Preparing... # [100%] Using default group oinstall to install package 1:cvuqdisk # [100%] [root@rac2] # scp cvuqdisk-1.0 .9-1.rpm 172.16.140.223:/home/grid/ root@172.16.140.223's password: cvuqdisk-1.0.9-1.rpm 8288 8.1KB/s 00:00 [root@rac1 ~] # cd / home/grid/ [root@rac1 grid] # ls cvuqdisk-1.0.9-1.rpm [root@rac1 grid] # rpm-ivh cvuqdisk-1.0.9-1.rpm Preparing... # [100%] Using default group oinstall to install package 1:cvuqdisk #

(22) as shown in the figure, the remaining errors can be ignored. Select Ignore All and go to the next step. A warning prompt appears that you can ignore, and then proceed to the installation progress.

(23) when the installation is drawing to a close, the script needs to be executed. The pop-up box prompts each script to execute in the order in which it is executed on the two nodes, especially for the second root.sh script. The execution of each node will be prompted in black and bold font at the end of the execution.

(24) after the script is executed successfully, click next to finish, and the warning can be ignored as shown in the figure. At this point, grid installation is complete.

After the installation is complete, log in to grid to verify the status of grid-related services and background processes:

Check the status after completion: [root@rac1 ~ crs_stat-t [root@rac2 ~ crs_stat-t View process: [root@rac1 ~ ps-ef | grep ora_ [root@rac2 ~ ps-ef | grep ora_ |

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report