beautypg.com

Set controller failover priority, Switch to a standby metadata controller – Apple Xsan 2 User Manual

Page 109

background image

Chapter 7

Manage metadata controllers

109

Set controller failover priority

When the primary metadata controller for a volume fails, Xsan uses the failover
priorities of the available standby controllers to decide which one to switch to.
Different volumes can be hosted by different metadata controllers, and you can choose
a failover priority for each volume.

Set a metadata controller’s failover priority:

1

Open Xsan Admin, select Volumes in the SAN Assets list, and select a volume in the list.

2

Choose Edit Failover Priority from the Action pop-up menu (gear).

3

Drag metadata controllers up or down in the list that appears.

The closer a metadata controller is to the top of the list, the more likely it is that it will
host the volume.

4

Click OK.

Switch to a standby metadata controller

You can use Xsan Admin to force an active metadata controller to turn over control of
a volume to a standby controller.

Force failover to a standby metadata controller:

1

Open Xsan Admin and select Volumes in the SAN Assets list.

2

Select the volume in the list and choose “Force failover” from the Action pop-up

menu (gear).

From the command line
You can also switch a volume to a standby metadata controller using the

cvadmin

fail

command in Terminal. For information, see the

cvadmin

man page or “View or

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