oracle 11G GI 如何手动添加vip 资源

3节点rac,在新添加节点3 lixora0 时出现了异常,发现vip 资源没有添加到crs 中,尝试自己手动添加vip资源

---添加节点3:lixora0

./addNode.sh  -silent  "CLUSTER_NEW_NODES={lixora0}"


--------在任意节点上检查gi 的vip, 网络资源状态信息:(发现没有节点3:lixora0的信息)

lixora1:/home/grid$srvctl config nodeapps  -a

Network exists: 1/12.30.16.0/255.255.240.0/en5, type static
VIP exists: /lixora1-vip/12.30.17.158/12.30.16.0/255.255.240.0/en5, hosting node lixora1
VIP exists: /lixora2-vip/12.30.17.157/12.30.16.0/255.255.240.0/en5, hosting node lixora2

在尝试修改节点3的vip 资源pfile 时出现以下报错信息,初步判定addnode.sh 没有成功添加节点3的vip 资源

lixora0:/oracle/app/11.2.0/grid/log/lixora0/agent/crsd/orarootagent_root$ oerr prko 2310
2310, VIP_NOT_EXIST, "VIP does not exist on node {0}."
//  *Cause: VIP was not configured on that node on which modification was attempted. 
// *Action: VIP must be added using 'srvctl add nodeapps' command, before it can be modified.


lixora0:/oracle/app/11.2.0/grid/log/lixora0/agent/crsd/orarootagent_root$ srvctl add nodeapps -h
Adds node application configuration to the specified node.
Usage: srvctl add nodeapps { { -n <node_name> -A <name|ip>/<netmask>/[if1[|if2...]] } | { -S <subnet>/<netmask>/[if1[|
if2...]] } } [-e <em-port>] [-l <ons-local-port>]  [-r <ons-remote-port>] [-t <host>[:<port>][,<host>[:<port>]...]] [-v]
    -n <node_name>           Node name
    -A <vip_name|ip>/<netmask>/[if1[|if2...]]  VIP address spec for node applications
    -S <subnet>/<netmask>/[if1[|if2...]]  NET address spec for network
    -e <em-port>             Local listen port for Enterprise Manager (Default port number is 2016)
    -l <ons-local-port>      ONS listening port for local client connections
    -r <ons-remote-port>     ONS listening port for connections from remote hosts
    -t <host>[:<port>][,<host>[:<port>]...]  List of remote host/port pairs for ONS daemons outside this cluster
    -h                       Print usage
    -v                       Verbose output


-----添加节点网络资源(root)
srvctl add nodeapps -n lixora0 -A lixora0-vip/255.255.240.0/en5


lixora0:/oracle/app/11.2.0/grid/log/lixora0/agent/crsd/orarootagent_root$ srvctl add vip -h
Adds a VIP to the Oracle Clusterware.
Usage: srvctl add vip -n <node_name> -k <network_number> -A <name|ip>/<netmask>/[if1[|if2...]] [-v]
    -n <node_name>           Node name
    -A <vip_name|ip>/<netmask>/[if1[|if2...]]  VIP address spec for node applications
    -k <net_num>             network number (default number is 1)
    -h                       Print usage
    -v                       Verbose output


-----添加节点vip资源(root)

srvctl add vip -n lixora0 -A lixora0-vip/255.255.240.0/en5



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值