In Oracle® Clusterware Administration and Deployment Guide 11g Release 2 (11.2) , the appendix, D Oracle Interface Configuration Tool (OIFCFG) Command Reference , says that:
The Oracle Interface Configuration Tool (OIFCFG) command-line interface helps you to define and administer network interfaces. You can use OIFCFG commands Oracle Clusterware environments to:
- Allocate and deallocate network interfaces to components
- Direct components to use specific network interfaces
- Retrieve component configuration information
The section, OIFCFG Commands , has the following table:
Table D-1 OIFCFG Commands Command Description oifcfg iflist [-p [-n]] Shows the available interfaces that you can configure with setif . The iflist command queries the operating system to find which network interfaces are present on this node. You can specify two options with this command:
- -p : Displays a heuristic assumption of the interface type (PRIVATE, PUBLIC, or UNKNOWN)
- -n : Displays the netmask
oifcfg setif Sets an interface type (public or cluster interconnect) for an interface. oifcfg getif Displays the interfaces for which an interface type has been defined with the setif command, along with the type for that interface. oifcfg delif Deletes the stored network configuration for global or node-specific interfaces.
The section, OIFCFG Command Parameters , says that:
This section lists the parameters for the OIFCFG commands. Note that some parameters are optional, depending on which command you run.
-node node_name
The name of the Oracle Clusterware node as listed in the output from the olsnodes command. Appendix C, "OLSNODES Command Reference" describes the OLSNODES command.
-global
A network interface can be stored as a global interface (as reported by the iflist command) or as a node-specific interface :
- An interface is stored as a global interface when all of the nodes of an Oracle Real Application Clusters (Oracle RAC) cluster have the same interface connected to the same subnet. The global interface (and configuring all nodes with the same network interface for each public subnet and the same network interface for each private subnet) is not only the recommended configuration, but it is also the default installation configuration.
- An interface can be stored as a node-specific (local) interface.
Note:
Oracle currently does not support having different network interfaces for each node in the cluster. The best practice is to configure all nodes with the same network interface for each public subnet and the same network interface for each private subnet.-if interface_name
The name by which the interface is configured in the system. Interface names can contain wildcard characters, for example, an asterisk (*) matches any string. However, interface names that contain wildcards should be surrounded with quotes.
Note:
If you use wildcards on pre-11.2 databases, then Oracle resolves the interface name by expanding the wildcard on the local node. Therefore, using wildcards is not recommended on clusters with pre-11.2 databases. If you use wildcards on pre-11.2 databases, then those databases must use the CLUSTER_INTERCONNECTS parameter instead.subnet
The subnet number of the interface.
-type interface_type
The type of interface: public or cluster_interconnect .
-help
Display online help for OIFCFG commands.