In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Oracle Study-AIX6.1 to build Oracle 10gR2 RAC (4)
First, install the CRS patch
Before installing CRS, you need to install the patch p6718715_10203_AIX64-5L, otherwise you will have a "unable to find node" error during installation.
[root@aix203 /] # cd / home/oracle/p6718715_10203_AIX64-5L/
After the patch has been extracted, you only need to run "root.sh" as root:
[root@aix203 p6718715_10203_AIX64-5L] #. / rootpre.sh
. / rootpre.sh output will be logged in / tmp/rootpre.out_16-03-15.17 purl 51 purl 20
Saving the original files in / etc/ora_save_16-03-15.17 purl 51 purl 20....
Copying new kernel extension to / etc....
. / rootpre.sh [295]: test: argument expected
Loading the kernel extension from / etc
Oracle Kernel Extension Loader for AIX
Copyright (c) 1998 and 1999 Oracle Corporation
Kernel Extension / etc/pw-syscall.64bit_kernel already loaded, unloading it
Unconfigured the kernel extension successfully
Unloaded the kernel extension successfully
Successfully loaded / etc/pw-syscall.64bit_kernel with kmid: 0x50e5d000
Successfully configured / etc/pw-syscall.64bit_kernel with kmid: 0x50e5d000
The kernel extension was successfuly loaded.
. / rootpre.sh [360]: test: argument expected
Checking if group services should be configured....
Please confirm your Oracle userid is a member of the group: hagsuser
Configuring HACMP group services socket for possible use by Oracle.
Second, install CRS
Install as Oracle:
Pre-installation detection:
[oracle@aix203 cluvfy] $. / runcluvfy.sh USAGE:cluvfy [- help] cluvfy stage {- list |-help} cluvfy stage {- pre |-post} [- verbose] cluvfy comp {- list |-help} cluvfy comp [- verbose] [oracle@aix203 cluvfy] $. / runcluvfy.sh stage-pre crsinst-n aix203 Aix204-verbosePerforming pre-checks for cluster services setup Checking node reachability...Check: Node reachability from node "aix203" Destination Node Reachable?-aix203 Yes aix204 yes Result: Node reachability check passed from node "aix203" .checking user equivalence...Check: User equivalence for user "oracle" Node Name Comment- -aix204 passed aix203 passed Result: User equivalence check passed for user "oracle" .checking administrative privileges...Check: Existence of user "oracle" Node Name User Exists Comment-aix204 yes passed aix203 yes Passed Result: User existence check passed for "oracle" .Check: Existence of group "oinstall" Node Name Status Group ID- -aix204 exists 300 aix203 exists 300 Result: Group existence check passed for "oinstall" .check: Membership of user "oracle" in group "oinstall" [as Primary] Node Name User Exists Group Exists User in Group Primary Comment- -aix204 yes passed aix203 yes yes Yes yes passed Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed.Administrative privileges check passed.Checking node connectivity...Interface information for node "aix204" Interface Name IP Address Subnet- -en0 192.168.8.204 192.168.0 en2 10.10.204 10.10. 10.0 Interface information for node "aix203" Interface Name IP Address Subnet- En0 192.168.203 192.168.0 en2 10.10.10.203 10.10.10.0 Check: Node connectivity of subnet "192.168.8.0" Source Destination Connected?-aix204:en0 aix203:en0 yes Result: Node connectivity check passed for subnet "192.168.8.0" with node (s) aix204 Aix203.Check: Node connectivity of subnet "10.10.10.0" Source Destination Connected? -aix204:en2 aix203:en2 yes Result: Node connectivity check passed for subnet "10.10.10.0" with node (s) aix204 Aix203.Suitable interfaces for the private interconnect on subnet "192.168.8.0": aix204 en0:192.168.8.204aix203 en0:192.168.8.203Suitable interfaces for the private interconnect on subnet "10.10.10.0": aix204 en2:10.10.10.204aix203 en2:10.10.10.203ERROR: Could not find a suitable set of interfaces for VIPs.Result: Node connectivity check failed.Checking system requirements for 'crs'...No checks registered for this product.Pre-check for cluster services setup was unsuccessful on all the nodes.
Installation:
1) specify the installation path
2) check the installation environment
Warning prompt: oracle 10gR2 is not supported for AIX 6100-09, don't worry about it, just continue to install
3) configure nodes
4) configure OCR and Vote Disk
5) installation
6) run Script
You can clean up ocr and vote disk through dd before running the script:
Node1:
[root@aix203 /] # dd if=/dev/zero of=/dev/rrac_ocr bs=8192 count=2560
2560 0 records in
2560 0 records out
[root@aix203 /] # dd if=/dev/zero of=/dev/rrac_vote bs=8192 count=2560
2560 0 records in
2560 0 records out
[root@aix203 /] # / u01/crs_1/root.sh
WARNING: directory'/ u01' is not owned by rootChecking to see if Oracle CRS stack is already configuredChecking to see if any 9i GSD is upSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory'/ u01' is not owned by rootSuccessfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node: node 1: aix203 aix203-priv aix203node 2: aix204 aix204-priv aix204Creating OCR keys for user 'root' Privgrp 'system'..Operation successful.Now formatting voting device: / dev/rrac_voteFormat of 1 voting devices complete.Startup will be queued to init within 30 seconds.Adding daemons to inittabAdding daemons to inittabExpecting the CRS daemons to be up within 600seconds.CSS is active on these nodes. Aix203CSS is inactive on these nodes. Aix204Local node checking complete.Run root.sh on remaining nodes to start CRS daemons.
Node2:
[root@aix204 /] # dd if=/dev/zero of=/dev/rrac_vote bs=8192 count=2560
2560 0 records in
2560 0 records out
[root@aix204 /] # dd if=/dev/zero of=/dev/rrac_ocr bs=8192 count=2560
2560 0 records in
2560 0 records out
[root@aix204 /] # / u01/crs_1/root.sh
WARNING: directory'/ u01' is not owned by rootChecking to see if Oracle CRS stack is already configuredChecking to see if any 9i GSD is up/etc/oracle does not exist. Creating it now.Setting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory'/ u01' is not owned by rootclscfg: 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: node 1: aix203 aix203-priv aix203node 2: aix204 aix204-priv aix204clscfg: 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 inittabAdding daemons to inittabExpecting the CRS daemons to be up within 600seconds.CSS is active on these nodes. Aix203 aix204CSS is active on all nodes.Waiting for the Oracle CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startOracle CRS stack installed and running under init (1m)
Running vipca (silent) for configuring nodeapps
The given interface (s), "en0" is not public. Public interfaces should be used to configure virtual IPs.
7) run vipca to configure CRS resources
[root@aix204 /] # cd / u01/crs_1/bin
[root@aix204 bin] #. / vipca
3. View CRS services and resources
[root@aix203 /] # crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[root@aix203 /] # crs_stat-t
Name Type Target State Host-ora.aix203.gsd application ONLINE ONLINE aix203 ora.aix203.ons application ONLINE ONLINE aix203 ora.aix203.vip application ONLINE ONLINE Aix203 ora.aix204.gsd application ONLINE ONLINE aix204 ora.aix204.ons application ONLINE ONLINE aix204 ora.aix204.vip application ONLINE ONLINE aix204
[root@aix204 bin] # crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[root@aix204 bin] # crs_stat-t
Name Type Target State Host-ora.aix203.gsd application ONLINE ONLINE aix203 ora.aix203.ons application ONLINE ONLINE aix203 ora.aix203.vip application ONLINE ONLINE Aix203 ora.aix204.gsd application ONLINE ONLINE aix204 ora.aix204.ons application ONLINE ONLINE aix204 ora.aix204.vip application ONLINE ONLINE aix204
-so far, CRS has been installed and configured successfully!
-not finished, to be continued!
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.