setfilesetserver

Reassigns an existing fileset to be hosted by a different 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 reassign to a new metadata server.
Specifies that you want to read the names of one or more filesets to reassign from stdin (for example, – << /work/cnt_list.txt).

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:
  • Not running
  • Offline
  • Online
The target metadata server must be part of the cluster and must be in one of the following states:
  • Not running
  • Offline
  • Online

Description

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 reference
autofilesetserver
attachfileset
chfileset
detachfileset
lsfileset
mkfileset
reportfilesetuse
rmfileset
statfileset

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.