Oracle RAC集群添加节点(9)

Copying to remote nodes (Friday, March 15, 2019 10:20:20 AM CST)
............................................................................................... 96% Done.
Home copied to new nodes

Saving inventory on nodes (Friday, March 15, 2019 10:22:44 AM CST)
.                                                              100% Done.
Save inventory complete
WARNING:A new inventory has been created on one or more nodes in this session. However, it has not yet been registered as the central inventory of this system.
To register the new inventory please run the script at '/oracle/app/oraInventory/orainstRoot.sh' with root privileges on nodes'node3'.
If you do not register the inventory, you may not be able to update or patch the products you installed.
The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.
/oracle/app/oraInventory/orainstRoot.sh #On nodes node3
/oracle/11.2.0/grid/crs/root.sh #On nodes node3
To execute the configuration scripts:
    1. Open a terminal window
    2. Log in as "root"
    3. Run the scripts in each cluster node

The Cluster Node Addition of /oracle/11.2.0/grid/crs was successful.
Please check '/tmp/silentInstall.log' for more details.

根据命令在node3节点执行脚本,需要用root执行

脚本一:

[grid@node3 ~]$ cd /oracle/app/oraInventory/
[grid@node3 oraInventory]$ ls
backup  ContentsXML  logs  orainstRoot.sh
[grid@node3 oraInventory]$ su
Password:
[root@node3 oraInventory]# sh orainstRoot.sh
Creating the Oracle inventory pointer file (/etc/oraInst.loc)
Changing permissions of /oracle/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /oracle/app/oraInventory to oinstall.
The execution of the script is complete.

脚本二:

[root@node3 oraInventory]# cd /oracle/11.2.0/grid/crs/
[root@node3 crs]# ls
assistants  csmig  deinstall    gnsd          inventory  ldap    nls      oracore      perl      root.sh        suptools
auth        css    demo        gpnp          javavm    lib      oc4j      oraInst.loc  plsql    rootupgrade.sh  sysman
bin          ctss    diagnostics  has            jdbc      md      ohasd    ord          precomp  scheduler      usm
cfgtoollogs  cv      eons        hs            jdk        mdns    ologgerd  osysmond    racg      slax            utl
clone        dbs    evm          install        jlib      mesg    OPatch    oui          rdbms    sqlplus        wwg
crs          dc_ocm  gipc        instantclient  JRE        network  opmn      owm          relnotes  srvm            xdk
[root@node3 crs]# sh root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/11.2.0/grid/crs

Enter the full pathname of the local bin directory: [/usr/local/bin]:
  Copying dbhome to /usr/local/bin ...
  Copying oraenv to /usr/local/bin ...
  Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/11.2.0/grid/crs/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2019-03-14 22:27:03.400:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/5af4bd1045ea729d53a637423ae99abf.html