資源描述:
《ORACLE 11G RAC LINUX安裝文檔》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)。
1、ORACLE11GRACLINUX安裝文檔在RAC安裝之前需要確認(rèn)事宜:1.IP(VIP,PUBLICIP,PRIVATEIP,SCANIP)2.OCR,VOTINGDISK2G3.存儲(chǔ)盤是否需要做多路徑4.安裝方式(ASM)1.系統(tǒng)檢查查看OS版本:uname-a查看虛擬內(nèi)存:free查看臨時(shí)文件:df-h/tmpdf-h/dev/shm查看內(nèi)存:grepMemTotal/proc/MeminfogrepMemTotal/proc/Meminfo查看IP:ifconfig-a檢查系統(tǒng)包:rpm-q--qf'%{NAME}-%{
2、VERSION}-%{RELEASE}(%{ARCH})'binutilscompat-libstdc++-33elfutils-libelfelfutils-libelf-develgccgcc-c++glibcglibc-commonglibc-develglibc-headerskshlibaiolibaio-devellibgcclibstdc++libstdc++-develmakesysstatunixODBCunixODBC-devel檢查多路徑軟件(查看存儲(chǔ)多路徑)/op
3、t/bin/./dlnkmgrview-lu/opt/bin/./dlnkmgrview-patch(比較兩邊的盤符是否一致)查看存儲(chǔ)讀寫是否一致ls-lsddlmad*ddif=/u01/test.txtof=/dev/sddlmaa1bs=4096count=2cat/dev/sddlmaa1(兩主機(jī)分別執(zhí)行,查看內(nèi)容是否一致,不一致可以分別查看磁盤內(nèi)容,直到看到相同的內(nèi)容)2.系統(tǒng)配置vi/etc/sysctl.confnet.core.rmem_default=262144net.core.rmem_max=419430
4、4net.core.wmem_default=262144net.core.wmem_max=1048576net.ipv4.ip_local_port_range=900065500fs.file-max=6815744kernel.shmall=134217728kernel.shmmax=274877906944kernel.shmmni=4096kernel.sem=25032000100128fs.aio-max-nr=4194304#/sbin/sysctl–p使配置生效#/sbin/sysctl–a查看是否生效vi
5、/etc/security/limits.confgridsoftnproc2047gridhardnproc16384gridsoftnofile1024gridhardnofile65536oraclesoftnproc2047oraclehardnproc16384oraclesoftnofile1024oraclehardnofile65536vi/etc/pam.d/loginsessionrequiredpam_limits.sovi./etc/profileif[$USER="oracle"]
6、
7、[$USER="g
8、rid"];thenif[$SHELL="/bin/ksh"];thenulimit-p16384ulimit-n65536elseulimit-u16384-n65536fiumask022fi<<9、
10、$USER="grid")thenlimitmaxproc16384limitdescriptors65536endif劃分存儲(chǔ)fdisk-l更改磁盤屬性chmod660/dev/sddlmaa1chmod660
11、/dev/sddlmab1chowngrid:asmadmin/dev/sddlmaa1chowngrid:asmadmin/dev/sddlmab13.創(chuàng)建安裝目錄用戶組及用戶如果已存在用戶,將其用戶刪除userdeloracleuserdelgridgroupdeloinstallgroupdeldbagroupdelasmadmingroupdelasmdbagroupdelasmoper如果已存在目錄,將其目錄刪除rm-fr/home/oraclerm-fr/home/grid創(chuàng)建安裝目錄mkdir-p/u01/sw/d
12、bmkdir-p/u01/sw/psumkdir-p/u01/sw/patchmkdir-p/u01/sw/rpmchmod-R777/u01/swmkdir-p/u01/app/oraInventorychown-Rgri