In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
I. introduction of the environment
System: Redhat 6.5
Database: Oracle 11gR2 11.2.0.3
Second, install Oracle Grid Infrastructure
Script the grid_install.rsp configuration file
Path: install package root / response/grid_install.rsp
Content
# keep the default oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0ORACLE_HOSTNAME=node1# version information path INVENTORY_LOCATION=/u01/app/oraInventory# language: Chinese is zh_CN Choose "," separate the BASE of SELECTED_LANGUAGES=en# default oracle.install.option=CRS_CONFIG# grid and the HOME directory ORACLE_BASE=/u01/app/oracleORACLE_HOME=/u01/11.2.0/grid# to add the required group oracle.install.asm.OSDBA=asmdbaoracle.install.asm.OSOPER=asmoperoracle.install.asm.OSASM=asmadmin#scan name Corresponding to hosts oracle.install.crs.config.gpnp.scanName=nodescan#listener external service port oracle.install.crs.config.gpnp.scanPort=1521#cluster name oracle.install.crs.config.clusterName=nodeclu# GNS is not opened here Its corresponding value is empty oracle.install.crs.config.gpnp.configureGNS=falseoracle.install.crs.config.gpnp.gnsSubDomain=oracle.install.crs.config.gpnp.gnsVIPAddress=oracle.install.crs.config.autoConfigureClusterNodeVIP=false# configuration network information oracle.install.crs.config.clusterNodes=node1:node1vip,node2:node2viporacle.install.crs.config.networkInterfaceList=eth0:192.168.66.0:1 Eth2:10.10.10.0:2# configuration storage form oracle.install.crs.config.storageOption=ASM_STORAGEoracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping=oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMALoracle.install.crs.config.sharedFileSystemStorage.ocrLocations=oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL# configuration IPMIoracle.install.crs.config.useIPMI=falseoracle.install.crs.config.ipmi.bmcUsername=oracle.install.crs.config.ipmi.bmcPassword=# configuration ASMoracle.install.asm. SYSASMPassword=oracleoracle.install.asm.diskGroup.name=DATAoracle.install.asm.diskGroup.redundancy=EXTERNALoracle.install.asm.diskGroup.AUSize=1oracle.install.asm.diskGroup.disks=/dev/raw/raw1oracle.install.asm.diskGroup.diskDiscoveryString=/dev/raw/*oracle.install.asm.monitorPassword=oracle# upgrade option is false The remaining options are empty oracle.install.crs.upgrade.clusterNodes=oracle.install.asm.upgradeASM=falseoracle.installer.autoupdates.option=SKIP_UPDATESoracle.installer.autoupdates.downloadUpdatesLoc=AUTOUPDATES_MYORACLESUPPORT_USERNAME=AUTOUPDATES_MYORACLESUPPORT_PASSWORD=PROXY_HOST=PROXY_PORT=PROXY_USER=PROXY_PWD=PROXY_REALM=
Check the environment
. / runcluvfy.sh stage-pre crsinst-n node1,node2-fixup-verbose
Installation package
Rpm-ivh installation package root directory / rpm/cvuqdisk-1.0.9-1.rpm
Repair
/ tmp/CVU_11.2.0.4.0_grid/runfixup.sh
Install Oracle Grid Infrastructure according to the configuration file
. / runInstaller-showProgress-silent-responseFile / home/grid/grid_install.rsp
-showProgress shows the progress of installation
-ignorePrereq ignores pre-detection. Since we do not use DNS to parse SCAN, we will report an error of SCAN. Because we use udev to bind bare devices instead of ASMLIB to use ASM, we will report an error of ASM. These two errors can be ignored, but the silent installation will stop the installation after detecting the error. We cannot click and skip it like the graphical interface, so we use this parameter to bypass the pre-check.
-silent silent installation
-responseFile followed by the path to the answer file
For other commands, please refer to help-help
During the installation process, it will be required to execute as a root account on each node
/ u01/app/oraInventory/orainstRoot.sh
/ u01/app/11.2/grid/root.sh
After execution, it will be required to execute as the root account on the node where the installer is running.
/ u01/app/11.2/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=/soft/cfgrsp.properties
Content:
Oracle.assistants.server | S_SYSPASSWORD=oracle
Oracle.assistants.server | S_SYSTEMPASSWORD=oracle
Oracle.assistants.server | S_SYSMANPASSWORD=oracle
Oracle.assistants.server | S_DBSNMPPASSWORD=oracle
Oracle.assistants.server | S_HOSTUSERPASSWORD=oracle
Oracle.assistants.server | S_ASMSNMPPASSWORD=oracle
Note: install only on the running runInstaller side, and the execution user is grid
View statu
Execute crs_stat-t as grid user on two nodes to check the situation of each RAC resource, except that 3 gsd resources are not online, it is normal.
GSD resources are used to support commands related to ORACLE 9i, which are no longer used after 11G, so you don't need to be online.
Using root users to check OCR, performing ocrcheck shows that it is normal when the following appears:
Use root users to perform crsctl query css votedisk to check voting disk. The following indicates normal.
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
Deployment of tnsname.orafal_clientfal_serverdata guard *
© 2024 shulou.com SLNews company. All rights reserved.