This topic describes how to change the IP address
of a metadata server in an
environment with a single engine in the cluster.
Context
This change requires the server to go offline and be rebooted.
Steps
- Stop the metadata server using the sfscli stopserver administrative
CLI command.
- Stop the administrative agent using the stopCimom service
command.
- Drop the server from the cluster using the tank resetcluster service
command.
- Change the IP address of the engine by performing the following
steps:
- Edit the /etc/sysconfig/network/ifcfg-ethx configuration file,
where x in ethx is the Ethernet port (for example, ifcfg-eth0 if you are using
the first Ethernet port), and change the IP address of the machine.
- Edit the /usr/tank/server/config/Tank.Config file, and change
the “ip=” line to the new IP address of the engine.
- Edit the /usr/tank/admin/config/tank.properties file, and change
the “IP=” line to the new IP address of the engine.
- Run setupstclient.
- Verify that the IP address configuration is correct by pinging
the interface and using the ifconfig command to inspect the interface
properties.
- Start the administrative agent using the startCimom command.
- Start the master metadata server on the engine using the sfscli
startserver command.
- Update the SAN File System mount IP address in the client-specific
configuration file on the UNIX-based client machines:
- Stop and unmount the UNIX-based client using the rmstclient command.
- Edit the /usr/tank/client/config/stclient.config file and update
the IP address of the metadata server.
- For Solaris-clients only, update the IP address for the SAN
File System entry in the /etc/vfstab file.
- Reboot the client machine.
- Update the SAN File System mount IP address in the client-specific
configuration file on the Windows® client machines:
- Launch the SAN File System Microsoft® Management Console (MMC)
snap-in from Start menu by clicking .
- Click Volume Property.
- Double-click the SAN File System volume.
- Edit the Server IP Address, under the Volume Property, to the
new IP address (for example, 20.20.20.10) or fully qualified domain name (for
example, mds1.bvr.com).
- Click OK.
- Reboot the client machine.