Configuring the global job repository

The file Repository.xml defines the default repository location. If the application definition file (application_name.xml) does not have the <jobdata> element present, IBM Spectrum LSF Application Center uses Repository.xml to determine the repository location. Repository.xml is also used to configure shared directories.

Procedure

  1. Open $GUI_CONFDIR/Repository.xml with a text editor.
  2. For each user, the repository is repositorylocation/username. Modify the default repository location or add different locations for different users.

    Multiple repository locations can be defined for different users. One user can have only one repository location, if multiple repository locations are defined for a user, the first repository location will be used.

    Each new <Repository> element defines a new repository location.

    A <Repository> element must contain a <Path> sub-element.

    The repository location is defined by the <Path> sub-element.

    Tip: In IBM Spectrum LSF Application Center 10.2.0.7 and later, when <AccessLimit>true</AccessLimit> is defined, an Administrator can configure Shared directory permissions for Normal users with the User Roles & Permissions page in the Systems & Settings tab: System & Settings > Settings > User Roles & Permissions > View: Role Definition > Normal User > Shared Directory
  3. Restart IBM Spectrum LSF Application Center.

    Run pmcadmin stop then pmcadmin start from the command line.

Example

<?xml version="1.0" encoding="UTF-8"?>
<ParamConfs>
    <Configuration>
        <!-- AccessLimit: Flag for enabling folder permission control. Default is true. -->
        <AccessLimit>true</AccessLimit>
        <Repository>
            <!-- User: Required. Sets the repository owner. Can be "all" or legal Linux user. -->    
            <User>all</User>
            <!-- Path: Required. Sets the repository path to access. Can use system variable such as $HOME. -->
            <Path>/home</Path>
        </Repository>
        <!--
       <!--
        ShareDirectory: Optional. Sets one or more shared directories to access.
            Name: Optional. Sets the alias name for display.
            Host: Optional. Sets the host name for accessing a remote host.
            Path: Required. Sets the share path to access. Can use system variable such as $HOME.
            ActionWrapper: Optional. Sets the script file used to access the folder.
        -->
        <ShareDirectory>
            <Name>Alias</Name>
            <Host>RemoteHost</Host>
            <Path>/data/share</Path>
            <ActionWrapper>/data/access.sh</ActionWrapper>
        </ShareDirectory>
        -->
      
    </Configuration>
</ParamConfs>