Previous Topic Next topic Print topic


Walkthrough - Fileshare as a Service

Restriction: This is only applicable to Windows platforms.

This walkthrough takes you through starting a Fileshare server as a Windows service. It uses a server configuration file that names the Fileshare server (/s), sets the working directory (/wd), specifies a password file (/pf) - this enables you to utilize FSVIEW, enables synchronous communications (/sc), and sets full tracing (/tr).

Before you start, ensure that you do not have a Fileshare server currently running.

  1. Create the following directory: C:\fsdir.
  2. In that directory, create an fs.cfg file containing:
    /s server1
    /wd C:\fsdir
    /pf pass.dat
    /sc
    /tr f
  3. From an Enterprise Developer command prompt, navigate to c:\fsdir and enter:
    fs /pf pass.dat /u FSVIEW /pw Meryton

    This creates the password file specified by /pf in the configuration file. It is required to use FSView.

  4. To install the Fileshare service, at a command prompt, enter:
    fsservice -i FSserv /cf C:\fsdir\fs.cfg

    Where FSserv is the name of the service to create.

  5. To check the service status, enter:
    fsservice -v FSserv

    A message stating that the service is currently installed is displayed.

  6. Open a Windows command prompt and enter services.msc.

    The Services screen appears.

  7. From the list, select Micro Focus Fileshare Service: FSserv and click Start.
    Tip: Double-click Micro Focus Fileshare Service: FSserv and change its Startup Type to Automatic, so that it will start whenever you start Windows.
Previous Topic Next topic Print topic