For example, to identify that node s1.hp.com has been moved from slot 3 to slot 4 on APC power
source
ps1
:
<installdirectory>/bin/ibrix_hostpower -m -i 3,4 -s ps1 -h s1.hp.com
Dissociating a file serving node from a power source
You can dissociate a file serving node from an integrated power source by dissociating it from
slot 1 (its default association) on the power source. Use the following command:
<installdirectory>/bin/ibrix_hostpower -d -s POWERSOURCE -h HOSTNAME
To dissociate a file serving node from an APC power source on the specified slot, use the following
command. To dissociate the node from all slots on the power source, omit the
-i
option.
<installdirectory>/bin/ibrix_hostpower -d [-s POWERSOURCE [-i SLOT]] -h HOSTNAME
For example, to dissociate file serving node s1.hp.com from slot 3 on APC power source
ps1
:
<installdirectory>/bin/ibrix_hostpower -d -s ps1 -i 3 -h s1.hp.com
Deleting power sources from the configuration database
To conserve storage, delete power sources that are no longer in use from the configuration database.
If you are deleting multiple power sources, use commas to separate them.
<installdirectory>/bin/ibrix_powersrc -d -h POWERSRCLIST
Turning automated failover on and off
Automated failover is turned off by default. When automated failover is turned on, the management
console starts monitoring heartbeat messages from file serving nodes. You can turn automated
failover on and off for all file serving nodes or for selected nodes.
To turn on automated failover, use the following command:
<installdirectory>/bin/ibrix_server -m [-h SERVERNAME]
To turn off automated failover, include the
-U
option:
<installdirectory>/bin/ibrix_server -m -U [-h SERVERNAME]
To turn automated failover on or off for a single file serving node, include the
-h SERVERNAME
option.
Manually failing over a file serving node
To set up a cluster for manual failover, first identify server-level or segment-level standbys for each
file serving node, as described in
“Identifying standbys for file serving nodes” (page 26)
.
Manual failover does not require the use of programmable power supplies. However, if you have
installed and identified power supplies for file serving nodes, you can power down a server before
manually failing it over. You can fail over a file serving node manually, even when automated
failover is turned on.
A file serving node can be failed over from the GUI or the CLI.
On the CLI, complete the following steps:
1.
Run
ibrix_server -f
, specifying the node to be failed over in the
HOSTNAME
option. If
appropriate, include the
-p
option to power down the node before segments are migrated:
<installdirectory>/bin/ibrix_server -f [-p] -h HOSTNAME
2.
Determine whether the failover was successful:
<installdirectory>/bin/ibrix_server -l
The contents of the STATE field indicate the status of the failover. If the field persistently shows
Down-InFailover or Up-InFailover, the failover did not complete; contact HP Support for assistance.
For information about the values that can appear in the STATE field, see
“What happens during
a failover” (page 25)
.
28
Configuring failover