WEB开发网
开发学院数据库Oracle 在Solaris 10 X86上安装Oracle 10g RAC详解 阅读

在Solaris 10 X86上安装Oracle 10g RAC详解

 2008-09-02 12:48:57 来源:WEB开发网   
核心提示: 可以将这些步骤写入/etc/profile,使得每次系统启动后,这些地址自动就配置完成,在Solaris 10 X86上安装Oracle 10g RAC详解(2),最终的网络配置为:bash-3.00# ifconfig -alo0: flags=2001000849<UP,LOOP

可以将这些步骤写入/etc/profile,使得每次系统启动后,这些地址自动就配置完成。最终的网络配置为:

  bash-3.00# ifconfig -a
  lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTIcast,IPv4,VIRTUAL> mtu 8232 index 1
  inet 127.0.0.1 netmask ff000000
  bge0: flags=1000843<UP,BROADcast,RUNNING,MULTIcast,IPv4> mtu 1500 index 2
  inet 10.0.100.222 netmask ffffff00 broadcast 10.0.100.255
  ether 0:9:3d:0:75:20
  bge0:1: flags=1000843<UP,BROADcast,RUNNING,MULTIcast,IPv4> mtu 1500 index 2
  inet 10.0.100.212 netmask ffffff00 broadcast 10.0.100.255
  bge1: flags=1000803<UP,BROADcast,MULTIcast,IPv4> mtu 1500 index 3
  inet 192.168.0.12 netmask ffffff00 broadcast 192.168.0.255
  ether 0:9:3d:0:75:21
  bash-3.00$ netstat -rn
  Routing Table: IPv4
  Destination Gateway Flags Ref Use Interface
  -------------------- -------------------- ----- ----- ------ ---------
  192.168.0.0 192.168.0.11 U 1 0 bge1
  10.0.100.0 10.0.100.221 U 1 47 bge0
  10.0.100.0 10.0.100.211 U 1 0 bge0:1
  224.0.0.0 10.0.100.221 U 1 0 bge0
  127.0.0.1 127.0.0.1 UH 23 25657 lo0

4,在所有节点上,生成文件/etc/hostname.bge0 和/etc/hostname.bge1

具体内容如下,并需将网络配置写入文件/etc/hosts

  bash-3.00$ more /etc/host*
  ::::::::::::::
  /etc/hostname.bge0
  ::::::::::::::
  RAC1
  ::::::::::::::
  /etc/hostname.bge1
  ::::::::::::::
  rac_priv_host1
  ::::::::::::::
  /etc/hosts
  ::::::::::::::
  #
  # Internet host table
  #
  127.0.0.1 localhost
  10.0.100.221 RAC1.prc.sun.com RAC1
  10.0.100.222 RAC2.prc.sun.com RAC2
  10.0.100.211 RAC1-VIR.prc.sun.com RAC1-VIR
  10.0.100.212 RAC2-VIR.prc.sun.com RAC2-VIR
  192.168.0.11 rac_priv_host1
  192.168.0.12 rac_priv_host2

上一页  1 2 3 4 5 6 7  下一页

Tags:Solaris Oracle

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接