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

Solaris 10 (x86) to build Oracle 10g RAC-- install CRS

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

Share

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

Solaris 10 (x86) to build Oracle 10g RAC-- install CRS

System environment:

Operating system: Solaris 10 (x86-64)

Cluster: Oracle CRS 10.2.0.1.0

Oracle: Oracle 10.2.0.1.0

As shown in the figure: RAC system architecture

II. CRS installation

Cluster Ready Service is Oracle build RAC, responsible for cluster resource management software, in the construction of RAC must be installed first.

Installation needs to be graphical and installed as Oracle user (on node1):

Extract the CRS installation package:

[oracle@node1:/export/home/oracle] $unzip 10201_clusterware_solx86_64.zip

Skip system environment detection:

[oracle@node1:/export/home/oracle/clusterware] $. / runInstaller-ignoreSysPrereps

Note: the above installation path is the CRS installation path

Add node2 information

Modify network properties

Specify OCR disk location

Specify VOTE disk location

Run script: (all node)

[root@node1:/] # / export/home/ora10/oraInventory/orainstRoot.sh Changing permissions of / export/home/ora10/oraInventory to 770.Changing groupname of / export/home/ora10/oraInventory to oinstall.The execution of the script is complete [root@node2:/] # / export/home/ora10/oraInventory/orainstRoot.sh Changing permissions of / export/home/ora10/oraInventory to 770.Changing groupname of / export/home/ora10/oraInventory to oinstall.The execution of the script is complete [root@node1:/] # / export/home/crs_1/root.shChecking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullySuccessfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node: node1: node1 node1-priv node1node 2: node2 node2-priv node2Creating OCR keys for user 'root' Privgrp 'root'..Operation successful.Now formatting voting device: / oracle/voteFormat of 1 voting devices complete.Startup will be queued to init within 30 seconds.Adding daemons to inittabExpecting the CRS daemons to be up within 600seconds.CSS is active on these nodes. Node1CSS is inactive on these nodes. Node2Local node checking complete.Run root.sh on remaining nodes to start CRS daemons. [root@node2:/] # / export/home/crs_1/root.sh Checking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyclscfg: EXISTING configuration version 3 detected.clscfg: version 3 is 10G Release 2.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node: node1: node1 node1-priv node1node 2: node2 node2-priv node2clscfg: Arguments check out successfully.NO KEYS WERE WRITTEN. Supply-force parameter to override.-force is destructive and will destroy any previous clusterconfiguration.Oracle Cluster Registry for cluster has already been initializedStartup will be queued to init within 30 seconds.Adding daemons to inittabExpecting the CRS daemons to be up within 600seconds.CSS is active on these nodes. Node1 node2CSS is active on all nodes.Waiting for the Oracle CRSD and EVMD to startOracle CRS stack installed and running under init (1m) Running vipca (silent) for configuring nodeappsCreating VIP application resource on (2) nodes...Creating GSD application resource on (2) nodes...Creating ONS application resource on (2) nodes...Starting VIP application resource on (2) nodes...Starting GSD application resource on (2) nodes...Starting ONS application resource on (2) nodes...Done.

@ the script ran successfully!

View CRS service and resource information:

[root@node2:/] # vi / etc/profileexport PATH=$PATH:/export/home/crs_1/ [root @ node1:/] # crsctl check crsCSS appears healthyCRS appears healthyEVM appears healthy [root@node1:/] # crs_stat-tName Type Target State Host- -ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip application ONLINE ONLINE node1 ora.node2.gsd application ONLINE ONLINE node2 ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip application ONLINE ONLINE node2 [root@node2:/] # crsctl check crsCSS appears healthyCRS appears healthyEVM appears healthy [root@node2:/] # crs_stat-tName Type Target State Host-ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE Node1 ora.node1.vip application ONLINE ONLINE node1 ora.node2.gsd application ONLINE ONLINE node2 ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip application ONLINE ONLINE node2

@ so far, CRS has been installed successfully!

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