OracleStudy之-AIX6.1構(gòu)建Oracle10gR2RAC(2)

Oracle Study之-AIX6.1構(gòu)建Oracle 10gR2 RAC(2)

在瑪沁等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場(chǎng)前瞻性、產(chǎn)品創(chuàng)新能力,以專(zhuān)注、極致的服務(wù)理念,為客戶提供網(wǎng)站設(shè)計(jì)、成都網(wǎng)站設(shè)計(jì) 網(wǎng)站設(shè)計(jì)制作定制網(wǎng)站建設(shè),公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站建設(shè),全網(wǎng)營(yíng)銷(xiāo)推廣,外貿(mào)網(wǎng)站制作,瑪沁網(wǎng)站建設(shè)費(fèi)用合理。

一、查看系統(tǒng)I/O(對(duì)于Oracle數(shù)據(jù)庫(kù)需啟用異步I/O)

對(duì)于AIX6.1,默認(rèn)異步I/O在有需求時(shí),自動(dòng)被激活,不需要配置。
[root@aix203 /]#ioo -a |grep aio
                 

                   aio_active = 0
                   aio_maxreqs = 65536
                aio_maxservers = 30
                aio_minservers = 3
         aio_server_inactivity = 300
              posix_aio_active = 0
             posix_aio_maxreqs = 65536
          posix_aio_maxservers = 30
          posix_aio_minservers = 3
   posix_aio_server_inactivity = 300

二、配置節(jié)點(diǎn)間的主機(jī)信任關(guān)系:

[root@aix203 /]#cat /etc/hosts.equiv 
aix203   root
aix204   root
aix203-vip root
aix204-vip root
aix203-priv root
aix204-priv root
aix203   oracle
aix204   oracle
aix203-vip  oracle
aix204-vip  oracle
aix203-priv  oracle
aix204-priv  oracle

[root@aix203 /]#cat .rhosts
aix203   root
aix204   root
aix203-vip root
aix204-vip root
aix203-priv root
aix204-priv root
aix203   oracle
aix204   oracle
aix203-vip  oracle
aix204-vip  oracle
aix203-priv  oracle
aix204-priv  oracle

[oracle@aix203 ~]$cat .rhosts
aix203   root
aix204   root
aix203-vip root
aix204-vip root
aix203-priv root
aix204-priv root
aix203   oracle
aix204   oracle
aix203-vip  oracle
aix204-vip  oracle
aix203-priv  oracle
aix204-priv  oracle

驗(yàn)證主機(jī)信任關(guān)系:
[oracle@aix203 ~]$rsh aix204 date
Tue Mar 15 16:18:47 CDT 2016
[oracle@aix203 ~]$rsh aix204-priv date
Tue Mar 15 16:18:50 CDT 2016
[oracle@aix204 ~]$rsh aix203 date
Tue Mar 15 16:17:12 CDT 2016
[oracle@aix204 ~]$rsh aix203-priv date
Tue Mar 15 16:18:26 CDT 2016

三、配置時(shí)間同步(NTP)

NTP SERVER:
[root@aix203 /]#cat /etc/ntp.conf 

# Default NTP configuration file.
#   Broadcast client, no authentication.
broadcastclient
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
server 127.127.1.0

NTP CLIENT:
[root@aix204 /]#cat /etc/ntp.conf 

# Default NTP configuration file.
#
#   Broadcast client, no authentication.
#
#broadcastclient
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
server 192.168.8.203
啟動(dòng)ntp services:
[root@aix203 /]#smit xntpd          ;;啟動(dòng)ntp service
[root@aix203 /]#l***c -ls xntpd 
 

 Program name:    /usr/sbin/xntpd 
 Version:         3 
 Leap indicator:  11 (Leap indicator is insane.) 
 Sys peer:        no peer, system is insane 
 Sys stratum:     16 
 Sys precision:   -17 
 Debug/Tracing:   DISABLED 
 Root distance:   0.000000 
 Root dispersion: 0.000000 
 Reference ID:    no refid, system is insane 
 Reference time:  no reftime, system is insane 
 Broadcast delay: 0.003906 (sec) 
 Auth delay:      0.000122 (sec) 
 System flags:    bclient pll monitor filegen  
 System uptime:   5 (sec) 
 Clock stability: 0.000000 (sec) 
 Clock frequency: 0.000000 (sec) 
 Peer: 127.127.1.0 
      flags: (configured)(refclock) 
      stratum:  3, version: 3 
      our mode: client, his mode: server 
Subsystem         Group            PID          Status 
 xntpd            tcpip            3604550      active

四、配置node間私有網(wǎng)絡(luò)傳輸參數(shù)
[root@aix203 /]#lsattr  -El  sys0  -a  pre520tune

pre520tune disable Pre-520 tuning compatibility mode True

[root@aix203 /]#no -a |grep tcp
 

                  hstcp = 0
       tcp_bad_port_limit = 0
        tcp_cwnd_modified = 0
                  tcp_ecn = 0
       tcp_ephemeral_high = 65535
        tcp_ephemeral_low = 32768
               tcp_fastlo = 0
     tcp_fastlo_crosswpar = 0
             tcp_finwait2 = 1200
           tcp_icmpsecure = 0
          tcp_init_window = 0
    tcp_inpcb_hashtab_siz = 24499
              tcp_keepcnt = 8
             tcp_keepidle = 14400
             tcp_keepinit = 150
            tcp_keepintvl = 150
     tcp_limited_transmit = 1
              tcp_low_rto = 0
             tcp_maxburst = 0
              tcp_mssdflt = 1460
          tcp_nagle_limit = 65535
        tcp_nagleoverride = 0
               tcp_ndebug = 100
              tcp_newreno = 1
           tcp_nodelayack = 0
        tcp_pmtu_discover = 1
            tcp_recvspace = 16384
            tcp_sendspace = 16384
            tcp_tcpsecure = 0
             tcp_timewait = 1
                  tcp_ttl = 60
           tcprexmtthresh = 3
             tcptr_enable = 0

[root@aix203 /]#no -a |grep udp

  udp_bad_port_limit = 0
       udp_ephemeral_high = 65535
        udp_ephemeral_low = 32768
    udp_inpcb_hashtab_siz = 24499
        udp_pmtu_discover = 1
            udp_recvspace = 42080
            udp_sendspace = 9216
                  udp_ttl = 30
                 udpcksum = 1

配置腳本:            
[root@aix203 /]#cat chnet.sh
no -r -o ipqmaxlen=512
no -p -o rfc1323=1
no -p -o sb_max=1310720
no -p -o tcp_recvspace=65536
no -p -o tcp_sendspace=65536
no -p -o udp_recvspace=655360
no -p -o udp_sendspace=65536     

[root@aix203 /]#sh chnet.sh

Setting ipqmaxlen to 512 in nextboot file
Warning: changes will take effect only at next reboot
Setting rfc1323 to 1
Setting rfc1323 to 1 in nextboot file
Change to tunable rfc1323, will only be effective for future connections
Setting sb_max to 1310720
Setting sb_max to 1310720 in nextboot file
Setting tcp_recvspace to 65536
Setting tcp_recvspace to 65536 in nextboot file
Change to tunable tcp_recvspace, will only be effective for future connections
Setting tcp_sendspace to 65536
Setting tcp_sendspace to 65536 in nextboot file
Change to tunable tcp_sendspace, will only be effective for future connections
Setting udp_recvspace to 655360
Setting udp_recvspace to 655360 in nextboot file
Change to tunable udp_recvspace, will only be effective for future connections
Setting udp_sendspace to 65536
Setting udp_sendspace to 65536 in nextboot file
Change to tunable udp_sendspace, will only be effective for future connections

------ 未完,待續(xù) !

當(dāng)前文章:OracleStudy之-AIX6.1構(gòu)建Oracle10gR2RAC(2)
轉(zhuǎn)載注明:http://muchs.cn/article10/ihgogo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供外貿(mào)網(wǎng)站建設(shè)標(biāo)簽優(yōu)化、App設(shè)計(jì)關(guān)鍵詞優(yōu)化、軟件開(kāi)發(fā)、定制網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)