# File Server

## The File Server Administration Program for UNIX

This tool enables the remote management of the File Server. It is also possible to manage the File Server on all supported Windows platforms.

Administration tool which offers the following arguments :

-n <rpc> | RPC number of the file server (Default: 804257548)
-h <hosnamet> | Hostname of the file server
-l | Shows the file server information
-v <number> | Set the log level to number
-k | Sends the shutdown request to the file server
-c <Vault Type> | Creates a new vault
-p <path> | The vault path to create a new vault
-r | Reloads File Server configuration form config file (fileserver.cfg)

Some options are available only for 'privileged users' (root, edbserv).

### Usage of the File Server Admin Tool (examples)

Action | Prompt
Stop a File Server | fms_adm -n 804257548 -h hostname -k
Kill a File Server | fms_adm -n 804257548 -h hostname -kill
Request File Server information and flush File Server Log | fms_adm -n 804257548 -h hostname -l
Set the log level of a File Server | fms_adm -n 804257548 -h hostname -v <number> (show File Server chapter for more information)
Create a new vault on a File Server | fms_adm -n 804257548 -h hostname -c EIF -p /usr/edbserv/vault1

### Steps to Add a Vault

Create a vault definition within the PLM system.

Create the vault on the File Server by using the FMS administration tool (fms_adm).
Example: fms_adm -h fmsHost -n 804257548 -c FMS -p /app/fms/vaults/test_vault/
In this example a vault from the type FMS is created on the host "fmshost" where the FileServer is running with the standard RPC number (804257548).

Add the vault to the configuration file (fileserver.cfg) located in the File Server root directory.

Example from the fileserver.cfg:

The path for DemoVault in the fileserver.cfg file has to be identical with the path for DemoVault in the PLM system.

Reload the configuration using the FMS administration tool.
Example: fms_adm -h fmsHost -n 804257548 -r