setfilesetserver

Makes a fileset become statically assigned to the specified metadata server.

Read syntax diagramSkip visual syntax diagram
>>-setfilesetserver--+--------+-- -server--server_name---------->
                     +- -?----+
                     +- -h----+
                     '- -help-'

     .--------------.
     V              |
>--+---fileset_name-+-+----------------------------------------><
   '- - --------------'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–server server_name
Specifies the new metadata server to host the fileset.

If the specified metadata server goes down, the fileset is moved to another metadata server temporarily. When the assigned metadata server comes back online, the fileset is moved back to its assigned metadata server.

fileset_name
Specifies the names of one or more filesets to become statically assigned to the specified metadata server.
Specifies that in single-shot command mode you want this command to receive from the input stream (stdin) the names of one or more filesets to reassign.

Prerequisites

You must have Administrator privileges to use the command.

You must be logged in to the operating system on the engine hosting the master metadata server to run this command.

The current metadata server must be in one of the following states:
  • Online
  • Not running
  • Offline
The target metadata server must be part of the cluster and must be in one of the following states:
  • Online
  • Not running
  • Offline

Description

The setfilesetserver command can specify a dynamic fileset, in which case the fileset becomes statically assigned to the specified metadata server. The setfilesetserver command can also specify an already statically-assigned fileset, in which case it changes the static metadata server assignment of the fileset to the specified metadata server.

After a failover, a static fileset fails back to its statically assigned metadata server when that metadata server rejoins the cluster. A possible use for the setfilesetserver command is to prevent such a failback by statically assigning the fileset to the metadata server that it was assigned to during the failover.

If current metadata server is offline, and the target metadata server is either online or offline, then the state of the cluster does not change.

Example

Reassign a fileset The following example reassigns two filesets (cnt_A and cnt_B) to metadata server ST1:
sfscli> setfilesetserver -server ST1 cnt_A cnt_B
Fileset cnt_A assigned to server ST1.
Fileset cnt_B assigned to server ST1.

Parent topic: Administrative commands

Related tasks
Changing fileset settings
Reassigning the metadata server of a fileset

Related reference
autofilesetserver
attachfileset
chfileset
detachfileset
lsfileset
mkfileset
reportfilesetuse
rmfileset
statfileset

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2