修改oracle RAC public hostname ,ip
2013-11-02 15:33
1296 查看
Case I. Changing public hostname
Public hostname is recorded in OCR, it is entered during installation phase. It can not be modified after the installation. The only way to modify public hostname is by deleting the node, then add the node back with a new hostname, or reinstall the clusterware.Case II. Changing public IP only without changing interface, subnet or netmask
If the change is only public IP address and the new ones are still in the same subnet, nothing needs to be done on clusterware layer, all changes need to be done at OS layer to reflect the change.1. Shutdown Oracle Clusterware stack
2. Modify the IP address at network layer, DNS and /etc/hosts file to reflect the change
3. Restart Oracle Clusterware stack
Above change can be done in rolling fashion, eg: one node at a time.
Case III. Changing public network interface, subnet or netmask
If the change involves different subnet(netmask) or interface, delete the existing interface information from OCR and add it back with the correct information is required. In the example here, the subnet is changed from 10.2.156.0 to 10.2.166.0 via twoseparate commands - first a 'delif' followed by a 'setif':
% $CRS_HOME/bin/oifcfg/oifcfg delif -global <if_name>[/<subnet>]
% $CRS_HOME/bin/oifcfg/oifcfg setif -global <if_name>/<subnet>:public
For example:
% $CRS_HOME/bin/oifcfg delif -global eth0/10.2.156.0
% $CRS_HOME/bin/oifcfg setif -global eth0/10.2.166.0:public
Make the change at OS layer and restart Oracle Clusterware. This can be done in rolling fashion.
Once public network is changed, its associated VIP and SCAN VIP are also required to change, refer to CASE IV and CASE V.
相关文章推荐
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.7.Oracle 11G R2 RAC修改public网络IP
- oracle rac的公网(public IP)修改网段
- oracle RAC下修改IP(public ip、private ip、virtual ip)
- Oracle RAC 修改 IP 地址
- R12.1/R12.2登录页面url 、hostname、IP 修改
- CentOS6修改主机名(hostname)及 修改/etc/hosts 文件,增加ip和hostname的映射关系(转)
- 修改PUBLIC 网卡子网掩码导致RAC的 VIP/SCAN IP的解决方法
- centos下修改hostname,ip,netmask,gateway,dns
- 【RAC】修改public IP&VIP
- Ubuntu命令行修改网络配置,静态ip,hostname ,解决hostname ping不通的办法
- solaris11修改时区、ip、hostname
- 修改/etc/hosts 文件,增加ip和hostname的映射关系
- Oracle RAC 修改 IP 地址
- ORACLE RAC IP修改(ORACLE 11.2.0.4)
- (3)Linux修改主机名和建立IP和hostname映射
- Oracle RAC 修改 IP 地址
- Oracle RAC环境下vip/public/private IP的区别
- LINUX如何修改IP hostname
- Oracle RAC 修改 IP 地址
- 11gRAC修改scanip,vip,public ip