Notes.ini Entry



Name:

    Disable_Locking

Syntax

    Disable_Locking=0 / 1

Applies to:

    Servers and/or Workstations

Add-on:


    First Release:


      Obsolete since:


        Category:

          Client Config, Operating System

        Default:

          None

        UI equivalent:

          None

        Description:
        When installing and configuring the Notes client (usually using the command "notes -u") in a directory which was NFS mounted from an HP/UX 10.10 system onto an HP/UX 10.10 system, the following error was reported:

        "Unable to access data directory <directory-path>/notesr4 using preference file <directory-path>/notesr4/notes.ini"

        This error occurred if the target directory was NFS mounted between two HP/UX 10.10 systems, regardless of whether or not the automounter was in use.

        If the automounter was in use, certain pathnames in the NOTES.INI file contained the 'physical' path (the actual mount point - usually in the directory /tmp) rather than the logical path (including the symbolic link). This does not affect Notes operation.

        Note that HP/UX 10.10 is not a supported or tested release for Notes 4.1c. The information provided in this technote is provided as a courtesy and is not intended as a recommendation of or indication of support of HP/UX 10.10. Lotus recommends that its products be used on supported platforms whenever possible.

        It has been observed that adding the following entry to the user's notes.ini file can resolve this issue:

        Disable_Filelocking=1

        If the system is used as an application server (meaning it runs multiple Notes clients concurrently), each user should be provided with a personal Notes directory. Each personal directory should be protected using the normal UNIX file system permissions, to reduce the risk of concurrent access to local databases.

        To ensure that this variable is set on install (the "notes -u" command), the template file for the Notes client may be amended. The template is named client.ini, and is contained under the /opt/lotus/notes directory hierarchy. For Notes 4.1c the filename is:

        /opt/lotus/notes/latest/common/data/nls/C/notesini/client.ini

        In this template file, add the following line:

        Disable_Locking=1

        The Disable_Locking variable controls whether the Notes client attempts to use the underlying Operating System's file locking services. In the case where the directory or file is NFS mounted, this file locking must be synchronized between the NFS client and the NFS server (usually using a lockd process).

        Since disabling the use of file locking resolved this issue, it is likely that the file locking behavior of NFS changed between releases 10.01 and 10.10 of HP/UX. It is therefore possible that a future revision or patch of HP/UX 10.10 may also resolve this issue. This, however, is unverified.

        How do you tune the operating system for running Notes?

        Add the following kernel tuning additions to /etc/system:
        set max_nprocs=4096
        set strctlsz=4096
        set shmsys:shminfo_shmmax=268435456
        set shmsys:shminfo_shmseg=600
        set shmsys:shminfo_shmmni=512
        set shmsys:shminfo_shmmin=1
        set semsys:seminfo_semmns=4096
        set semsys:seminfo_semmni=4096
        set semsys:seminfo_semmnu=4096
        set semsys:seminfo_semume=64
        set semsys:seminfo_semmap=512
        set semsys:seminfo_semmsl=128