欢迎来到天天文库
浏览记录
ID:38676053
大小:26.49 KB
页数:7页
时间:2019-06-17
《数据库RAC安装过程》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、1、vi/etc/sysconfig/networkHOSTNAME=db12.vi/etc/hosts127.0.0.1localhost192.168.100.50db1192.168.100.51db2192.168.100.52vdb1192.168.100.53vbd2172.16.1.50priv1172.16.1.51priv13.配置SystemkernelParameters:vi/etc/sysctl.confkernel.shmall=2097152kernel.shmmax=2147483648k
2、ernel.shmmni=4096kernel.sem=25032000100128fs.file-max=65536net.ipv4.ip_local_port_range=102465000net.core.rmem_default=1048576net.core.rmem_max=1048576net.core.wmem_default=262144net.core.wmem_max=262144 4.sysctl–p 5.grepMemTotal/proc/meminfogrepSwapTotal/proc/me
3、minfodf-m/tmp/df-huname-a6.groupaddoinstallgroupadddbauseradd-u200-goinstall-Gdbaoraclepasswdoracle 7.mkdir-p/u01/app/oracle/product/10.2.0/dbmkdir-p/u01/app/oracle/product/10.2.0/crschown-Roracle:oinstall/u01/app/oraclechmod-R775/u01/app/oracle 8.vi/etc/sysconfi
4、g/network-scripts/ifcfg-eth2DEVICE=eth2BOOTPROTO=staticHWADDR=84:2B:2B:07:1F:96ONBOOT=yesHOTPLUG=no#DHCP_HOSTNAME=rhel5.info.cslg.cnIPADDR=10.0.0.1 vi/etc/sysconfig/network-scripts/ifcfg-eth3DEVICE=eth3BOOTPROTO=staticONBOOT=yesHOTPLUG=no#DHCP_HOSTNAME=rhel5.info
5、.cslg.cnIPADDR=210.34.213.171 /etc/init.d/networkreload 9.vi/etc/security/limits.conforaclesoftnproc2047oraclehardnproc16384oraclesoftnofile1024oraclehardnofile65536 10.vi/etc/pam.d/loginsessionrequired/lib/security/pam_limits.so 11.vi/etc/profileif[$USER="orac
6、le"];thenif[$SHELL="/bin/ksh"];thenulimit-p16384ulimit-n65536elseulimit-u16384-n65536fifi 12.date–s13:00:0013.ORACLE_BASE=/u01/app/oracleORACLE_HOME=$ORACLE_BASE/product/10.2.0/dbCRS_HOME=$ORACLE_BASE/product/10.2.0/crsORACLE_SID=ywkdb2ORACLE_TERM=xtermNLS_LANG=A
7、MERICAN_AMERICA.AL32UTF8TMPDIR=/var/tmpumask022NLS_DATE_FORMAT="YYYY/MM/DDhh24:mi:ss"ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/dataTNS_ADMIN=$ORACLE_HOME/network/adminexportORACLE_BASEORACLE_HOMECRS_HOMEORACLE_SIDexportNLS_LANGexportTMPDIRNLS_DATE_FORMATORA_NLS33T
8、NS_ADMINDISPLAYLIBPATH=$ORACLE_HOME/libexportLIBPATHPATH=$PATH:$ORACLE_HOME/bin:$CRS_HOME/bin:/usr/sbinexportPATH 14.source~/.bash_profile 15. 分别在每个节点中以oracle用
此文档下载收益归作者所有