The 'oifcfg' tool in Oracle Clusterware manages the network information, including the interface, subnet, and role of each interface. However, it cannot update the actual IP addresses for these interfaces. To see the currently configured interfaces in the Oracle Clusterware Registry (OCR), you can use the command 'oifcfg getif'.
Changing Private IP MAC address only without changing anything else
- Shutdown Oracle Clusterware stack on all cluster nodes where change is required,
- Making IP modifications at the OS layer (eg: OS network config, etc) for private network, and restarting the Oracle Clusterware stack on all nodes will complete the task.
- Please note, that this change can not be done in a rolling manner.
- When the netmask is changed, the associated subnet ID is often changed. Oracle only stores the network interface name and subnet ID in OCR, not the netmask.
- oifcfg command can be used for such change, oifcfg commands only require to run on 1 of the cluster nodes, not all.
From Node 1
$GRID_HOME/bin/--> ./ oifcfg getif
From Node 2
$GRID_HOME/bin/--> ./ oifcfg getif
Please take a backup of profile.xml on all cluster nodes before proceeding,
From Node 1
as grid user:
$ cd $GRID_HOME/gpnp/<hostname>/profiles/peer/
$ cp -p profile.xml profile.xml.bkp
Follow the same step to take profile backup from all remaining Nodes one by one.
Ensure Oracle Clusterware is running on ALL cluster nodes in the cluster
$./crsctl status res -t
From Node 2
Modify /etc/hosts file on each node.
Add a new private interconnect IP on each node.
As a grid user:
- Add the new cluster_interconnect information
- Get the existing information.
- As ASMLISTENER is using the private network, modifying the private network will affect ASMLISTENER.
- It is required to add a new ASMLISTENER with the new network configuration. Skip this step if the subnet for the ASM network is not changed.
- A new resource named ora.asmnet1.asmnetwork has been added which also needs to be updated.
An error may be seen while removing the resource
PRCR-1025 : Resource ora.asmnet1.asmnetwork is still running
To avoid such errors, is it possible to modify this command with the -force option.
Start CRS as root on Each Node
No comments:
Post a Comment