Modify the RAC address in Oracle 10 GB

Source: Internet
Author: User

Modify the RAC address in Oracle 10 GB

This test is based on 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,201 0, Oracle. All Rights Reserved.


Connected:
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>

First, let's take a look at the commands used.

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

Name:
Oifcfg-Oracle Interface Configuration Tool.

Usage: oifcfg iflist [-p [-n]
Oifcfg setif {-node <nodename> |-global }{< if_name>/<subnet >:< if_type> }...
Oifcfg getif [-node <nodename> |-global] [-if <if_name> [/<subnet>] [-type <if_type>]
Oifcfg delif [-node <nodename> |-global] [<if_name> [/<subnet>]
Oifcfg [-help]

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

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

Installing Oracle 12C in Linux-6-64

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

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

Example
View network port information
$ Oifcfg iflist
Ce0 172.25.0.0
Ce0 172.25.198.0
Ce1 10.0.0.0
View private network port information
$ Oifcfg iflist-p
Ce0 172.25.0.0 PRIVATE
Ce0 172.25.198.0 PRIVATE
Ce1 10.0.0.0 PRIVATE
View private network port information and display mask
$ 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
View the network port information of the current node
$ Oifcfg getif
Eth0 192.168.0.0 global cluster_interconnect
Eth1 192.168.2.0 global public
View public network cards
$ Oifcfg getif-type public
Eth1 192.168.2.0 global public
View eth0 Nic Information
$ Oifcfg getif-if eth0
Eth0 192.168.0.0 global cluster_interconnect
View the node type configuration information. If no output is displayed, the node type is not configured.
$ Oifcfg getif-node czmmiao1
$ Oifcfg getif-node czmmiao2
To delete the interface configuration, you must switch to the root user
#./Oifcfg delif-global
To add interface configuration, you need to switch to the root user
#./Oifcfg setif-global eth0/192.168.1.119: public
 
#./Oifcfg setif-global eth1/10.85.10.119: cluster_interconnect

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.