Configures and starts a SAN File System metadata server
>>-setupsfs-----------------------------------------------------> >--+--------------------------------------------------------------------+->< +- -backup--+------------------------------------------------------+-+ | '- -f--backup_list_file-- -backupdir--backup_directory-' | +- -f--config_file---------------------------------------------------+ +- -debug--+------------------+--------------------------------------+ | '- -f--config_file-' | +- -list--+------------------+---------------------------------------+ | '- -f--config_file-' | +- -newcluster--+-----------------------+----------------------------+ | '- -f--engine_list_file-' | +- -noprompt--+------------------+-----------------------------------+ | '- -f--config_file-' | '- -setmaster--+------------+--+-------------+--+------------------+-' '- -noprompt-' '- -overwrite-' '- -f--config_file-'
By default the archive is stored as /usr/tank/server/DR/DRfiles-hostname-date.tar.gz
To restore a metadata server from a backup that was created using the –backup parameter, extract the tar archive in the root directory. For example:
tar -xzvf /usr/tank/server/DR/DRfiles-hostname-date.tar.gz
The engine_list identifies the subordinate nodes to be added. All subordinate metadata servers must be running at the time that setupsfs –newcluster is started.
The setupsfs command is used to configure, start, or restart a metadata server. It can also be used to display the current configuration values and back up the configuration in case the server needs to be restored at a later date.
If you do not specify any parameters, setupsfs prompts you for the configuration values required to set up a subordinate metadata server. The setupsfs command maintains the values in a configuration file in parameter=value format. The configuration file is /usr/tank/admin/config/tank.properties. If a configuration file already exists, its values will be presented as the suggested defaults when the prompt is displayed. Otherwise, the manufacturing defaults are presented.
Parent topic: SAN File System installation commands