视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
Oracle10g下修改RAC地址
2020-11-09 12:32:27 责编:小采
文档


本测试是基于Oracle 10.2.0.5 SQL*Plus: Release 10.2.0.5.0 - Production on Tue Jul 29 20:45:16 2014 Copyright (c) 1982, 20

本测试是基于Oracle 10.2.0.5

SQL*Plus: Release 10.2.0.5.0 - Production on Tue Jul 29 20:45:16 2014

Copyright (c) 1982, 2010, Oracle. All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options

SQL>

首先来看一下,使用到的命令

[root@node1 bin]# ./oifcfg -help

Name:
oifcfg - Oracle Interface Configuration Tool.

Usage: oifcfg iflist [-p [-n]]
oifcfg setif {-node | -global} {/:}...
oifcfg getif [-node | -global] [ -if [/] [-type ] ]
oifcfg delif [-node | -global] [[/]]
oifcfg [-help]

- name of the host, as known to a communications network
- name by which the interface is configured in the system
- subnet address of the interface
- type of the interface { cluster_interconnect | public | storage }

--------------------------------------------------------------------------------

Linux-6-下安装Oracle 12C笔记

在CentOS 6.4下安装Oracle 11gR2(x)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

--------------------------------------------------------------------------------

使用范例
查看网口信息
$ oifcfg iflist
ce0 172.25.0.0
ce0 172.25.198.0
ce1 10.0.0.0
查看私有网口信息
$ oifcfg iflist -p
ce0 172.25.0.0 PRIVATE
ce0 172.25.198.0 PRIVATE
ce1 10.0.0.0 PRIVATE
查看私有网口信息并显示掩码
$ oifcfg iflist -p -n
ce0 172.25.0.0 PRIVATE 255.255.0.0
ce0 172.25.198.0 PRIVATE 255.255.255.0
ce1 10.0.0.0 PRIVATE 255.255.255.0
查看当前节点的网口信息
$ oifcfg getif
eth0 192.168.0.0 global cluster_interconnect
eth1 192.168.2.0 global public
查看public类型的网卡
$ oifcfg getif -type public
eth1 192.168.2.0 global public
查看eth0的网卡信息
$ oifcfg getif -if eth0
eth0 192.168.0.0 global cluster_interconnect
查看node类型的配置信息,没有输出说明没有配置node类型
$ oifcfg getif -node czmmiao1
$ oifcfg getif -node czmmiao2
删除接口配置,需要切换到root用户
# ./oifcfg delif–global
添加接口配置,,需要切换到root用户
# ./oifcfg setif -global eth0/192.168.1.119:public

# ./oifcfg setif -global eth1/10.85.10.119:cluster_interconnect

更多详情见请继续阅读下一页的精彩内容:

下载本文
显示全文
专题