beautypg.com

Change a controller’s ip address, 111 change a controller’s ip address – Apple Xsan 2 User Manual

Page 111

background image

Chapter 7

Manage metadata controllers

111

From the command line
You can also find out which volumes are hosted by a metadata controller using the

cvadmin select

command in Terminal. For information, see the

cvadmin

man page or

View or change volume and storage pool settings (cvadmin)” on page 145.

Change a controller’s IP address

Follow these instructions to change the IP address of an Xsan metadata controller.

WARNING:

To avoid losing data on volumes hosted by the primary metadata

controller, you must have a standby metadata controller available for each volume.

Change a metadata controller’s IP address:

1

In Xsan Admin, select Computers in the SAN Assets list.

2

If you’re changing the primary metadata controller’s IP address, select a standby metadata

controller, and choose Make Primary Controller from the Action pop-up menu.

3

Select the controller whose IP address you wish to change, and choose “Remove

Computer from SAN” from the Action pop-up menu (gear).

4

Change the computer’s IP address in the Network pane of System Preferences.

5

Open the Server app, click Alerts, select the alert about the network configuration

change, and click Recover to update the service configuration files.
You can also manually update the service configuration files from the command line
by entering:

$ sudo changeip oldIP newIP

Replace

oldIP

with the server’s old IP address, and replace

newIP

with the server’s new

IP address.

6

Restart the computer.

7

With its new address, add the computer back to the SAN as a metadata controller.

In Xsan Admin, select Computers in the SAN Assets list and click the Add button (+).
If you want to switch control of a volume hosted by the standby controller back to
the controller with the new IP address, select the volume in the Volumes pane of Xsan
Admin and choose “Force failover” from the Action pop-up menu (gear).
You can also force failover from the command line by entering:

$ sudo cvadmin -e "fail volume"

Replace

volume

with the name of the Xsan volume.