Admin Production rocket
Current Publication

Fileshare サーバー構成

Enterprise Developer for Visual Studio 2019 (Japanese) V8.0
Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.

Fileshare サーバー構成

Windows:

Fileshare サーバー サービスの開始時に、Fileshare サーバー サービスは Fileshare サーバー構成ファイルに従って構成されます。デフォルトでは、サービスはその構成を %windir%\system32\fs.cfg (%windir% はたとえば c:\Windows) から取得します。ここで、または別の場所で、このファイルを編集したり、独自のファイルを作成したりできます。

/cf オプションを使用すると、構成オプションが含まれる構成ファイルを指定できます。たとえば、次のコマンドは、「Micro Focus Fileshare Service: My Service」というサービスをインストールし、その構成をファイル c:\mydir\myfs.cfg から取得します。

    fsservice -i "My Service" c:\mydir\myfs.cfg 

別の作業ディレクトリを使用するには、構成ファイルの最初のエントリとして、/wd オプションを使用して作業ディレクトリを指定します。起動時に、Fileshare は、指定されたディレクトリに作業ディレクトリを変更し、その作業ディレクトリを基準として、完全修飾されていないすべてのファイルにアクセスします。たとえば、次のコマンドは、「Micro Focus Fileshare Service: My Service」という、c:\mydir ディレクトリで実行されるサービスをインストールします。

    fsservice -i "My Service" /wd c:\mydir /cf c:\mydir\myfs.cfg 

Fileshare は、バックグラウンド プロセスとして動作するため、生成したすべてのメッセージは、現在の作業ディレクトリの fsscreen.lst ファイルに書き込まれます。このファイルの内容を確認して、問題を診断してください。

例:

次に Fileshare サーバーの構成ファイル例を示します。

    /wd d:\fsdir
    /s server1
    /d dbase.ref

詳細は次のとおりです。

  • /wd d:\fsdir では、Fileshare サーバーの現在のディレクトリとして、ドライブ d: のディレクトリ fsdir を指定します。完全修飾パス名を持たないデータ ファイルは、このディレクトリを基準とする相対的なパス名で検索されます。
  • /s server1 は、Fileshare サーバーの名前を server1 としてネットワークに登録することを示します。
  • /d dbase.ref は、Fileshare がデータベース参照ファイル dbase.ref を使用することを示します。この名前は、完全パスではないため、Fileshare の現在のディレクトリである d:\fsdir で検索されます。

構成オプションの詳細については、構成の章のサーバーの構成の項を参照してください。