TAR包CLONE方式 安装11GR2 RAC数据库 (gril软件安装)
2012-10-13 22:59
429 查看
系统的配置见 TAR包CLONE方式 安装11GR2 RAC数据库
http://luoping.blog.51cto.com/534596/1024788
4,grid软件安装
4.1 节点1grid软件安装
4.2 节点2安装grid软件
5.集群配置
配置集群可以直接修改文件,也可以图形界面,我更喜欢图形界面
config.sh
双击图片可以看到大图
http://luoping.blog.51cto.com/534596/1024788
4,grid软件安装
4.1 节点1grid软件安装
4.1.1 解压软件 [grid@11rac4 u01]$ cd /u01/app/11.2.0/ [grid@11rac4 11.2.0]$ ls grid grid.tar.gz [grid@11rac4 11.2.0]$ tar -zxvpf grid.tar.gz [grid@11rac4 11.2.0]$ rm -rf grid [grid@11rac4 11.2.0]$ mv gridback grid [grid@11rac4 11.2.0]$ cd $ORACLE_HOME/clone/bin 4.1.2 编译grid软件 [grid@11rac4 bin]$ perl clone.pl -silent ORACLE_BASE=/u01/app/grid ORACLE_HOME=/u01/app/11.2.0/grid ORACLE_HOME_NAME=OraHome1Grid INVENTORY_LOCATION=/u01/app/oraInventory -O'"CLUSTER_NODES={11rac4, 11rac5}"'-O'"LOCAL_NODE=11rac4"' ./runInstaller -clone -waitForCompletion "ORACLE_BASE=/u01/app/grid" "ORACLE_HOME=/u01/app/11.2.0/grid" "ORACLE_HOME_NAME=OraHome1Grid" "INVENTORY_LOCATION=/u01/app/oraInventory" "CLUSTER_NODES={11rac4, 11rac5}"-O"LOCAL_NODE=11rac4" -silent -noConfig -nowait Starting Oracle Universal Installer... Checking swap space: must be greater than 500 MB. Actual 3631 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-10-09_10-47-46PM. Please wait ...Oracle Universal Installer, Version 11.2.0.2.0 Production Copyright (C) 1999, 2010, Oracle. All rights reserved. You can find the log of this install session at: /u01/app/oraInventory/logs/cloneActions2012-10-09_10-47-46PM.log .................................................................................................... 100% Done. Installation in progress (Tuesday, October 9, 2012 10:47:58 PM CST) ........................................................................ 72% Done. Install successful Linking in progress (Tuesday, October 9, 2012 10:48:03 PM CST) Link successful Setup in progress (Tuesday, October 9, 2012 10:48:25 PM CST) ................ 100% Done. Setup successful End of install phases.(Tuesday, October 9, 2012 10:48:29 PM CST) WARNING: The following configuration scripts need to be executed as the "root" user. /u01/app/11.2.0/grid/root.sh To execute the configuration scripts: 1. Open a terminal window 2. Log in as "root" 3. Run the scripts Run the script on the local node. The cloning of OraHome1Grid was successful. Please check '/u01/app/oraInventory/logs/cloneActions2012-10-09_10-47-46PM.log' for more details. 4.1.3 注意这里我们没有执行root.sh脚本 在安装grid前这台主机已经安装过rdbms单机版本,所以这里只要求执行一个脚本,按理说还有/u01/app/oraInventory/orainstRoot.sh 这个脚本 [root@11rac4 ~]# rpm -ihv /tmp/CVU_11.2.0.2.0_grid/cvuqdisk-1.0.9-1.rpm Preparing... ########################################### [100%] 1:cvuqdisk ########################################### [100%] [root@11rac4 ~]#
4.2 节点2安装grid软件
执行的内容跟节点1差不多 [grid@11rac5 ~]$ mkdir -p /u01/app/grid [grid@11rac5 ~]$ echo $ORACLE_HOME /u01/app/11.2.0/grid [grid@11rac5 ~]$ mkdir -p /u01/app/11.2.0/grid [grid@11rac5 ~]$ mv /u01/grid.tar.gz /u01/app/11.2.0/ [grid@11rac5 ~]$ cd /u01/app/11.2.0/ [grid@11rac5 11.2.0]$ tar -zxvpf grid.tar.gz [grid@11rac5 11.2.0]$ rm -rf grid [grid@11rac5 11.2.0]$ mv gridback grid [grid@11rac5 11.2.0]$ [grid@11rac5 11.2.0]$ cd $ORACLE_HOME/clone [grid@11rac5 clone]$ cd bin 注意这里的local_node=是本地的主机名。 [grid@11rac5 bin]$ perl clone.pl -silent ORACLE_BASE=/u01/app/grid ORACLE_HOME=/u01/app/11.2.0/grid ORACLE_HOME_NAME=OraHome1Grid INVENTORY_LOCATION=/u01/app/oraInventory -O'"CLUSTER_NODES={11rac4, 11rac5}"'-O'"LOCAL_NODE=11rac5"' ./runInstaller -clone -waitForCompletion "ORACLE_BASE=/u01/app/grid" "ORACLE_HOME=/u01/app/11.2.0/grid" "ORACLE_HOME_NAME=OraHome1Grid" "INVENTORY_LOCATION=/u01/app/oraInventory" "CLUSTER_NODES={11rac4, 11rac5}"-O"LOCAL_NODE=11rac5" -silent -noConfig -nowait Starting Oracle Universal Installer... Checking swap space: must be greater than 500 MB. Actual 4000 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-10-09_10-48-26PM. Please wait ...Oracle Universal Installer, Version 11.2.0.2.0 Production Copyright (C) 1999, 2010, Oracle. All rights reserved. You can find the log of this install session at: /u01/app/oraInventory/logs/cloneActions2012-10-09_10-48-26PM.log .................................................................................................... 100% Done. Installation in progress (Tuesday, October 9, 2012 10:48:39 PM CST) ........................................................................ 72% Done. Install successful Linking in progress (Tuesday, October 9, 2012 10:48:42 PM CST) Link successful Setup in progress (Tuesday, October 9, 2012 10:49:04 PM CST) ................ 100% Done. Setup successful End of install phases.(Tuesday, October 9, 2012 10:49:07 PM CST) WARNING:A new inventory has been created 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 '/u01/app/oraInventory/orainstRoot.sh' with root privileges. 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. /u01/app/oraInventory/orainstRoot.sh /u01/app/11.2.0/grid/root.sh To execute the configuration scripts: 1. Open a terminal window 2. Log in as "root" 3. Run the scripts Run the script on the local node. The cloning of OraHome1Grid was successful. Please check '/u01/app/oraInventory/logs/cloneActions2012-10-09_10-48-26PM.log' for more details. [root@11rac5 ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete. [root@11rac5 ~]# rpm -ihv /tmp/CVU_11.2.0.2.0_grid/cvuqdisk-1.0.9-1.rpm Preparing... ########################################### [100%] 1:cvuqdisk ########################################### [100%]
5.集群配置
配置集群可以直接修改文件,也可以图形界面,我更喜欢图形界面
config.sh
双击图片可以看到大图
相关文章推荐
- TAR包CLONE方式 安装11GR2 RAC数据库 (gril软件root.sh)
- TAR包CLONE方式 安装11GR2 RAC数据库 (rdbms部分)
- TAR包CLONE方式 安装11GR2 RAC数据库
- Oracle RAC系列:11gR2数据库安装&Opatch RAC ONE NODE
- 【oracle】tar方式安装oracle软件
- Installation Oracle11gR2 RAC One Node ---安装数据库软件
- RedHat 5.6_x86_64 + ASM + RAW+ Oracle 10g RAC (九) 添加节点—安装数据库软件
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:3.安装Oracle RAC-3.5.安装oracle11gr2 database 软件与创建数据库
- Ora_通过克隆方式安装11g R2 rac 软件
- 12 软件安装的两种方式
- Mac OS X 下 TAR.GZ 方式安装 MySQL
- RHEL6 64位ASM方式安装oracle 11gR2(一)
- 在AIX 6.1上安装11gR2 RAC
- Linux下软件包的多种安装方式
- 一步一步在Linux上安装Oracle 11gR2 RAC (2)
- 转:Trac0.9b1简体中文版完全安装攻略,带所有配套软件!(Apache+SVN+Trac方式)
- Linux下常用软件安装(tar bz gz等压缩包的压缩和解压)
- Linux上安装和卸载软件的方式
- 在AIX 6.1上安装11gR2 RAC