AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安裝(2)

westzq1984發表於2009-04-21

網路配置

網路卡繫結(待驗證)

irdb1irdb2兩臺主機均有四塊光纖網路卡,兩兩做成EtherChannel模式,並對EtherChannel的網路卡ent4ent5配置IP地址.

  將網路卡做成EtherChannel模式,使用命令:

#smitty etherchannel

   àAdd An EtherChannel / Link Aggregation

   àF7選擇ent0ent3做成通道ent4

   àF7選擇ent1ent2做成通道ent5

  配置好後的通道網路卡的IP表如下:

主機名稱

物理

網路卡

I/O位置

Ether

Channel

IP地址

irdb1

ent0

U7311.D11.YL01170-P1-C4-T1

ent4

IP:10.52.173.8

MASK:255.255.255.192

GATE:10.52.173.1

ent1

U7311.D11.YL01170-P1-C5-T1

ent2

U7311.D11.YL01170-P1-C2-T1

ent5

IP:172.16.10.1

MASK:255.255.255.0

ent3

U7311.D11.YL01170-P1-C3-T1

irdb2

ent0

U7311.D11.YL00926-P1-C2-T1

ent4

IP:10.52.173.9

MASK:255.255.255.192

GATE:10.52.173.1

ent3

U7311.D11.YL00926-P1-C5-T1

ent1

U7311.D11.YL00926-P1-C3-T1

ent5

IP:172.16.10.2

MASK:255.255.255.0

ent2

U7311.D11.YL00926-P1-C4-T1

 

修改主機名

# smit hostname

設定上面機器為P61A,下面機器為P61B

 

修改IP

# smit inet

  -> Change / Show Characteristics of a Network Interface

-> 選擇一個網路介面,進行IP配置

P61A    en1     10.10.1.61  255.255.255.0            

        en0     12.0.0.61   255.0.0.0

P61B    en1     10.10.1.62  255.255.255.0

        en0     12.0.0.62   255.0.0.0

 

檢視IP設定

# ifconfig -a

# netstat -in

 

修改/etc/hosts

127.0.0.1       loopback        localhost

10.10.1.61  P61A

12.0.0.61   P61A_priv

10.10.1.101 P61A_vip

 

10.10.1.62  P61B

12.0.0.62   P61B_priv

10.10.1.102 P61B_vip

 

修改/etc/hosts.equiv

###### add by zhangqiaoc ######

+ root

+ oracle

###### end by zhangqiaoc ######

 

 

修改root oracle使用者HOME目錄下的.rhosts檔案

###### add by zhangqiaoc ######

+

###### end by zhangqiaoc ######

 

測試:

rsh P61A date

rsh P61B date

rcp tmp.txt P61A:/u01/app/oracle

rcp tmp.txt P61B:/u01/app/oracle

 

配置NTP

server:62

bash-3.00# vi /etc/ntp.conf

#broadcastclient

server 127.127.1.0

driftfile /etc/ntp.drift

tracefile /etc/ntp.trace

"/etc/ntp.conf" 42 lines, 1017 characters

bash-3.00# startsrc -s xntpd

0513-059 The xntpd Subsystem has been started. Subsystem PID is 274488.

bash-3.00# lssrc -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:   -16

 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:    pll monitor filegen 

 System uptime:   17 (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            274488       active

bash-3.00# lssrc -ls xntpd|grep "Sys peer"

 Sys peer:        no peer, system is insane

bash-3.00# lssrc -ls xntpd|grep "Sys peer"

 Sys peer:        127.127.1.0

client: 61

bash-3.00# vi /etc/ntp.conf

server 10.10.1.62

driftfile /etc/ntp.drift

tracefile /etc/ntp.trace

"/etc/ntp.conf" 42 lines, 1023 characters

bash-3.00# startsrc -s xntpd

0513-059 The xntpd Subsystem has been started. Subsystem PID is 282860.

bash-3.00# lssrc -ls xntpd|grep "Sys peer"

 Sys peer:        P61B

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8242091/viewspace-591198/,如需轉載,請註明出處,否則將追究法律責任。

相關文章