Professional Documents
Culture Documents
1
Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential.
Solaris Cluster 3.x and 4.x Changing Public IP Addresses or Logical Host IP in Cluster (Doc ID
1003630.1)
APPLIES TO:
GOAL
This document covers some aspects of how to change public IP addresses in a Oracle Solaris Cluster environment.
The following steps assume only local IP resolution through /etc/hosts. Name services like NIS or DNS will not be
discussed.
SOLUTION
Before you start, you need to find out if the IP address you'd like to change is an IP resource used as a logical host or if
the IP address is not configured and not being used by the cluster.
If the IP address is not used by any resource group you may update /etc/hosts for permanent change and reconfigure the
NIC (network interface card) manually using ifconfig command.
Below is an example:
# ifconfig -a
lo0: flags=1000849< UP,LOOPBACK,RUNNING,MULTICAST,IPv4 > mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843< UP,BROADCAST,RUNNING,MULTICAST,IPv4 > mtu 1500 index 2
inet 129.156.50.95 netmask ffffff00 broadcast 129.156.50.255
ether X:X:XX:XX:XX:XX
However, changing an IP resource in the cluster needs the following additional steps to be considered.
3. Verify the NIC is down and the new IP address is not used otherwise.
Example:
Determining the resource group, resource, and IP address you wish to change (in this case showing resource group
oracle-rg, resource oracle-rs and IP of 10.16.4.125).
# clrg status
# clrs status
10.16.4.125 oracle
# scswitch -F -g oracle-rg
SC 3.2 or later:
# scswitch -n -j oracle-rs
SC 3.2 or later:
Now you may update /etc/hosts on all cluster nodes and clients
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=4wtdtlhwc_4&id=1003630.1 2/3
6/15/2019 Document 1003630.1
# scswitch -Z -g oracle-rg
SC 3.2 or later:
Check status using scstat (clrs status) and ifconfig -a to verify everything is back up as expected.
Note: If the IP address you'd like to change is within a different subnet, you will need to add an additional IPMP group
as well if it does not already exist.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=4wtdtlhwc_4&id=1003630.1 3/3