本帖最后由 郑全 于 2024-6-16 16:35 编辑
比如有公网为;bond0:192.168.133.11/24 ,私网为:bond1: 1.1.1.1/30
该怎么设置:
正确的设置为:
oracle.install.crs.config.networkInterfaceList=公网网卡名:子网:类型,私网网卡名:子网:类型
具体为:
oracle.install.crs.config.networkInterfaceList=bond0:192.168.133.0:1,bond1:1.1.1.0:5
1.公网放前面,私网放后面,而且网卡名区分大小写
2.IP地址部分,是子网,如果使用的是CIDR,需要计算一下子网,不是单纯的给一个.0这种,计算子网,可以去 http://jodies.de/ipcalc 计算
3. 网卡类型:1,2,3,4,5 , 1:公网,2:私网,3:不使用,4:ASM网络,5:private and asm network
具体见响应文件中 $GRID_HOME/install/response/gridsetup.rsp 定义:
#-------------------------------------------------------------------------------
# The value should be a comma separated strings where each string is as shown below
# InterfaceName:SubnetAddress:InterfaceType
# where InterfaceType can be either "1", "2", "3", "4", or "5"
# InterfaceType stand for the following values
# - 1 : PUBLIC
# - 2 : PRIVATE
# - 3 : DO NOT USE
# - 4 : ASM
# - 5 : ASM & PRIVATE
#
# For example: eth0:140.87.24.0:1,eth1:10.2.1.0:2,eth2:140.87.52.0:3
#
#-------------------------------------------------------------------------------
oracle.install.crs.config.networkInterfaceList=
|