Oracle11GRACASM安装手册

上传人:工**** 文档编号:507742492 上传时间:2023-08-30 格式:DOCX 页数:99 大小:13.85MB
返回 下载 相关 举报
Oracle11GRACASM安装手册_第1页
第1页 / 共99页
Oracle11GRACASM安装手册_第2页
第2页 / 共99页
Oracle11GRACASM安装手册_第3页
第3页 / 共99页
Oracle11GRACASM安装手册_第4页
第4页 / 共99页
Oracle11GRACASM安装手册_第5页
第5页 / 共99页
点击查看更多>>
资源描述

《Oracle11GRACASM安装手册》由会员分享,可在线阅读,更多相关《Oracle11GRACASM安装手册(99页珍藏版)》请在金锄头文库上搜索。

1、中国石化*油田数据库RAC安装实施及维护文档(SUN Cluster+RAC+ASM)胜利油田胜利软件有限责任公司2012年09月目录1oracle rac安装环境准备11.1操作系统要求11.2创建用户和组11.3设置oracle用户环境变量1rac11rac251.4创建目录和权限81.5准备软件和磁盘8补丁8软件准备9准备crs磁盘101.6配置nslookup14配置原因14配置办法191.7建立ssh信任211.8节点时间同步232安装(RAC)242.1基本配置表242.2安装检查242.3Oracle grid安装372.4asm加磁盘542.5安装oracle582.6创建数据

2、库663增加节点823.1创建用户和组823.2创建目录及权限823.3设置环境变量823.4修改系统文件833.5Ssh信任853.6节点时间同步873.7准备CRS盘883.8添加节点894删除节点961 oracle rac安装环境准备1.1 操作系统要求操作系统Solaris10 Update10补丁:更新到2012年1月补丁包(如果补丁包过旧在76%时会卡机)1.2 创建用户和组-在两个接点都执行,确保组和用户的id都一致前提/export/home存在,不存在先创建该目录rootrac1 # cd /rootrac1 # cd /export/rootrac1 # lsrootra

3、c1 # mkdir homerootrac1 # cd /rootrac1 # pwd/rootrac1 # groupadd -g 1001 oinstallgroupadd -g 1002 dbarootrac1 # groupadd -g 1002 dbauseradd -u 10001 -g oinstall -G dba -m -d /export/home/oracle -s /bin/bash oraclerootrac1 # useradd -u 10001 -g oinstall -G dba -m -d /export/home/oracle -s /bin/bash o

4、racle64 blocks给用户设置密码rootrac1 # passwd oracleNew Password: (oracle123)Re-enter new Password: (oracle123)passwd: password successfully changed for oraclerootrac1 # su - oracleSun Microsystems Inc. SunOS 5.10 Generic January 20051.3 设置oracle用户环境变量1.3.1 rac1Oracle参数:-bash-3.00$vi .profile (添加红色部分)#This

5、 is the default standard profile provided to a user.#They are expected to edit it to meet their own needs.MAIL=/usr/mail/$LOGNAME:?ORACLE_BASE=/u01/app/oracle export ORACLE_BASE export ORACLE_UNQNAME=jsbsexport ORACLE_HOME ORACLE_SID=jsbs01export ORACLE_SID export GRID_HOME=/u01/app/gridNLS_LANG=Ame

6、rican_america.zhs16gbk export NLS_LANG ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export ORA_NLS33 LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/product/jlib:$ORACLE_HOME/jlib:$ORACLE_HOME/jre export CLASSPATH PATH=$PATH:$ORACLE_HOME/bin:/

7、bin:/usr/bin:/usr/ccs/bin:/usr/local/bin:$GRID_HOME/bin:export PATH umask 022DISPLAY=*:0.0export DISPLAY系统system参数:rootrac1 # vi /etc/system (加入红色部分)*ident (#)system 1.18 97/06/27 SMI /* SVR4 1.5 */* SYSTEM SPECIFICATION FILE* moddir:* Set the search path for modules. This has a format similar to th

8、e* csh path variable. If the module isnt found in the first directory* it tries the second and so on. The default is /kernel /usr/kernel* Example:* moddir: /kernel /usr/kernel /other/modules* root device and root filesystem configuration:* The following may be used to override the defaults provided

9、by* the boot program:* rootfs: Set the filesystem type of the root.* rootdev: Set the root device. This should be a fully* expanded physical pathname. The default is the* physical pathname of the device where the boot* program resides. The physical pathname is* highly platform and configuration depe

10、ndent.* Example:* rootfs:ufs* rootdev:/sbus1,f8000000/esp0,800000/sd3,0:a* (Swap device configuration should be specified in /etc/vfstab.)* exclude:* Modules appearing in the moddir path which are NOT to be loaded,* even if referenced. Note that exclude accepts either a module name,* or a filename w

11、hich includes the directory.* Examples:* exclude: win* exclude: sys/shmsys* forceload:* Cause these modules to be loaded at boot time, (just before mounting* the root filesystem) rather than at first reference. Note that* forceload expects a filename which includes the directory. Also* note that loa

12、ding a module does not necessarily imply that it will* be installed.* Example:* forceload: drv/foo* set:* Set an integer variable in the kernel or a module to a new value.* This facility should be used with caution. See system(4).* Examples:* To set variables in unix:* set nautopush=32* set maxusers

13、=40* To set a variable named debug in the module named test_module* set test_module:debug = 0x13set semsys:seminfo_semmap=1024set semsys:seminfo_semmni=2048set semsys:seminfo_semmns=2048set semsys:seminfo_semmsl=2048set semsys:seminfo_semmnu=2048set semsys:seminfo_semume=200set shmsys:shminfo_shmmin=200set shmsys:shminfo_shmmni=200set shmsys:shminfo_shmseg=200set semsys:seminfo_semvmx=32767* Begin MDD root info (do not edit)rootdev:/pseudo/md

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 模板/表格 > 财务表格

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号