Oracle 10g下修改RAC地址

php中文网
发布: 2016-06-07 16:50:51
原创
1096人浏览过

本测试是基于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 - 64bit 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-64下安装Oracle 12C笔记

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

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

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

linux

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号