Previous Topic Next topic Print topic


Walkthrough - Fileshare as a Service

Restriction: This is only applicable to Windows platforms.

This example demonstrates several of the features described in this chapter. We'll start a Fileshare server, just as we did in the chapter Using Enterprise Server with Fileshare, but this time we'll use a configuration file, install Fileshare as a Windows service, and enable synchronous communications and tracing.

First make sure you do not have a Fileshare server currently running.

  1. Create file fs.cfg, containing:
    /s server1
    /wd c:\fsdir
    /pf pass.dat
    /sc
    /tr f
  2. Save this file to c:\windows\system32 and specify its location using the FS environment variable..
    Note: If the FS variable is not set, a default path of the current working directory or directory specified by the COBDIR environment variable is used.
  3. If you have not already done so (you may have already done this in the Walkthrough - Securing a Fileshare Server in theFSView section), create file pass.dat in your c:\fsdir directory by entering:
    fs /pf pass.dat /u FSVIEW /pw Meryton

    The existence of this password file enables you to use FSView.

  4. To install the Fileshare service. at a command prompt, enter:
    fsservice -i

  5. Click Start > Control Panel > Administrative Tools > Services
  6. Select Micro Focus Fileshare Service and click Start.

    You can also if you wish double-click Micro Focus Fileshare Service and change its Startup Type to Automatic, so that it will start whenever you start Windows.

Previous Topic Next topic Print topic