Operation
To configure the interface for disconnected startup operation, the required /CacheMode parameter must be defined in the interface startup command file. The interface will create two binary caching files on the interface node necessary for disconnected startup. These files require no user configuration. The disconnected startup configuration consists of five distinct modes of operation: creation, validation, construction, utilization, and synchronization. Each of these modes is further described in the following sections.
Creation
CAUTION: The interface will create a point cache file and digital set cache file necessary for the disconnected startup configuration. These files are automatically generated by the interface and are locked while the interface is running. To prevent data loss, these files must not be modified by the user when the interface is not running.
Note: The disconnected startup feature uses a lower case naming convention for the file path and filename. UNIX and Linux use case sensitive file paths and failure to define an all lowercase file path for the interface executable directory will result in the failure to create the caching files necessary for disconnected startup. Therefore, the file path to the interface executable directory must be defined as all lowercase. See the preceding section on UNIX and Linux limitation for additional details on defining correct file paths on these operating systems
The creation mode ensures the interface has the necessary cache files needed for the disconnected startup configuration. The two files necessary for this configuration are the point cache file and digital set cache file. If one or both of these files is missing, the missing file or files will be created. The files by default are created in the same location as the interface executable. If the path to the executable cannot be established, the PI API will provide a default location based on information available to the application. In all cases, the filename and location are logged in the pipc.log file. The “Messages” section of this document contains a listing of typical messages sent to the pipc.log file during the creation mode. The file name is constructed using the executable name, host name, point source, and id provided by the startup command file. The point cache file will have the form
Share with your friends: |