ITPub博客

首页 > Linux操作系统 > Linux操作系统 > AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安装(2)

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

原创 Linux操作系统 作者:westzq1984 时间:2009-04-21 18:39:06 0 删除 编辑

网络配置

网卡绑定(待验证)

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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-04-06

  • 博文量
    251
  • 访问量
    953794