oracle 12c grid db 安裝的的checklist,12cchecklist
oracle 12c 安裝 checklist關閉iptables NetworkManager selinuxservice iptables stopchkconfig iptables offservice NetworkManager stopchkconfig NetworkManager off修改/etc/selinux/config 檔案將SELINUX=enforcing改為SELINUX=disabled重啟機器即可建立oracle使用者groupadd -g 500 oinstallgroupadd -g 501 dbauseradd -g oinstall -G dba oraclepasswd oracle建立目錄chown -R oracle:oinstall /u01 /u02chmod -R 775 /u01su - oraclemkdir -p /u01/app/oracle/product/12.1.0/dbmkdir -p /u01/app/12.1.0/grid配置互信關係oralce使用者:1)產生金鑰組su - oracle 在兩個節點都建立一個.ssh的檔案夾[oracle@node1 ~]$ ssh-keygen -t rsa [oracle@node1 ~]$ ssh-keygen -t dsa 建立密鑰兩個節點都輸入2)配置信任關係[oracle@node1 ~]$ cat .ssh/id_rsa.pub >>.ssh/authorized_keys[oracle@node1 ~]$ cat .ssh/id_dsa.pub >>.ssh/authorized_keys[oracle@node1 ~]$ ssh node2 cat .ssh/id_rsa.pub >>.ssh/authorized_keys[oracle@node1 ~]$ ssh node2 cat .ssh/id_dsa.pub >>.ssh/authorized_keys[oracle@node1 ~]$ scp .ssh/authorized_keys node2:~/.ssh檢查oracle軟體安裝的缺包rpm -q binutils compat-libstdc++ gcc gcc-c++ glibc glibc-devel ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel libXext libXtst libX11 libXau libXi make sysstat |grep "not installed"配置本地的yum源mount -t iso9660 -o loop /soft/rhel-server-6.5-x86_64-dvd.iso /mediacd /etc/yum.repos.d[root@node1 yum.repos.d]# cp rhel-debuginfo.repo yum.repo[root@node1 yum.repos.d]# mv rhel-debuginfo.repo rhel-debuginfo.repo.bk[root@node1 yum.repos.d]#vi yum.repo[base]name=Red Hat Enterprise Linuxbaseurl=file:///media/Serverenabled=1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release安裝asmlib,配置asmlib建立共用盤配置系統參數sysctl.confkernel.shmmax = 68719476736kernel.shmall = 6029312kernel.shmmni = 4096kernel.sem =250 32000 100 128net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 262144net.ipv4.ip_local_port_range =9000 65500fs.file-max=65536fs.aio-max-nr=1048576sysctl -p 使系統參數生效vi /etc/security/limits.conforacle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536oracle soft stack 10240oracle hard stack 10240Add the following line to the "/etc/pam.d/login" file,if it does not already exist.session required /lib/security/pam_limits.sosession required pam_limits.so配置ntp 伺服器編輯設定檔vi /etc/ntp.conf ,加入紅標處 NTP伺服器的IP:restrict default kod nomodify notrap nopeer noqueryrestrict -6 default kod nomodify notrap nopeer noqueryrestrict 127.0.0.1restrict -6 ::1restrict 10.62.1.0 mask 255.255.255.0 nomodify notrapserver 10.62.137.100server 127.127.1.0 # local clockfudge 127.127.1.0 stratum 10設定檔說明如下:第一行restrict、default定義預設訪問規則,nomodify禁止遠程主機修改本機伺服器配置,notrap拒絕特殊的ntpdq捕獲訊息,noquery拒絕btodq/ntpdc查詢(這裡的查詢是伺服器本身狀態查詢)。restrict 10.62.1.0 mask 255.255.255.0 nomodify notrap這句是手動增加的,意思是從10.62.1.1-10.62.1.254的伺服器都可以使用我們的NTP伺服器來同步時間。server 192.168.146.225這句也是手動增加的,指明區域網路中作為NTP伺服器的IP;設定檔的最後兩行作用是當伺服器與公用的時間伺服器失去聯絡時以本地時間為用戶端提供時間服務。#chkconfig ntpd on /配置NTPD服務開機自動引導 #service ntpd start /啟動NTPD服務安裝grid的的包rpm -ivh rpm/cvuqdisk-1.0.9-1.rpm下面就是安裝grid軟體,database軟體