Makes a fileset become statically assigned to the specified metadata server.
>>-setfilesetserver--+--------+-- -server--server_name----------> +- -?----+ +- -h----+ '- -help-' .--------------. V | >--+---fileset_name-+-+---------------------------------------->< '- - --------------'
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.
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 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.
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