PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System) |
Contents
Index
![]() ![]() |
Part 4 System Configuration Modification | > Chapter 8 Changing the Operation Configuration |
This section explains how to change the IP address setting if the IP address of a public LAN or administrative LAN changes after the PRIMECLUSTER system is installed. Note that when you change an IP address, do not change the host name.
# hvshut -a
# sdtool -e
# /etc/opt/FJSVcluster/bin/clrccusetup -l
Example: In the following example, the IP address must be changed.
# /etc/opt/FJSVcluster/bin/clrccusetup -l
device-name cluster-host-name IP-address host-name user-name ------------------------------------------------------------------------- xscf narcissus 10.10.10.11 - user01 xscf sweetpea 10.10.10.12 - user02
# /etc/opt/FJSVcluster/bin/clrccusetup -m -i IP-address
Example: In the following example, the IP address of either the remote console connection unit or the XSCF is changed to 10.10.10.21.
# /etc/opt/FJSVcluster/bin/clrccusetup -m -i 10.10.10.21
# /usr/sbin/shutdown -y -g0 -i0
:
ok> boot -s
# /usr/sbin/mountall -l
For details, see "7.1 Network address," "7.3 Management server," and "7.5 Multi-network between server and client by classified use" in the "PRIMECLUSTER Web-Based Admin View Operation Guide."
# vi /opt/SMAW/SMAWRrms/bin/hvenv.local <Return>
export HV_RCSTART=0
# /usr/sbin/shutdown -y -g0 -i6
Execute the "clgettree(1)" command on one of the cluster nodes. The takeover IP address resource has the resource class name for IP addresses.
Example) In the following example, the resources with resource IDs 56 and 57 are the takeover IP address resources.
# /etc/opt/FJSVcluster/bin/clgettree Cluster 1 cluster Domain 2 RC2 Shared 7 SHD_RC2 SHD_Host 58 config_Ipaddress0_ip1 UNKNOWN IP_Address 56 hme0:1 UNKNOWN narcissus IP_Address 57 hme0:1 UNKNOWN sweetpea Node 3 narcissus ON Ethernet 21 hme0 UNKNOWN IP_Address 56 hme0:1 UNKNOWN Application 31 proc1 UNKNOWN DISK 19 c0t0d0 UNKNOWN Node 5 sweetpea ON Ethernet 22 hme0 UNKNOWN IP_Address 57 hme0:1 UNKNOWN Application 32 proc1 UNKNOWN DISK 20 c0t0d0 UNKNOWN
To identify the shared resources, execute the "clgettree(1)" command on one cluster node.
The shared resources of the takeover IP address are resources that have the SHD_Host resource class name.
Example) For the example shown in Step 1), the resource that has resource ID 58 is the shared resource of the takeover IP address.
To change the address, execute the "clsetrsc(1M)" command. The takeover IP address is defined in the attributes of the shared resource for the takeover IP address that was identified in Step 2.
On each cluster node, execute the "clsetrsc(1M)" command with the following format.
# /etc/opt/FJSVcluster/sys/clsetrsc -A ip_addr=new-IP-address resource-ID-of-shared-resource-having-IP-address
Example) To change the takeover IP address of a shared resource (resource with resource ID=58) to 10.10.10.10
# /etc/opt/FJSVcluster/sys/clsetrsc -A ip_addr=10.10.10.10 58
Using the command format below, execute the "clgetrsc(1)" command on one of the cluster nodes and check that the takeover IP address was changed.
# /etc/opt/FJSVcluster/sys/clgetrsc -a ip_addr resource-ID-of-shared-resource-having-IP-address
Example) If the takeover IP address of a shared resource (resource with resource ID=58) was changed to 10.10.10.10
# /etc/opt/FJSVcluster/sys/clgetrsc -a ip_addr 58
ip_addr 10.10.10.10
Contents
Index
![]() ![]() |