Data Storage
Data Persistence Directories
To use the Checkpoint /Restore feature, or Data-Durability feature, a separate directory must be allocated for each running TIBCO Patterns server. The server must have full permission to add and delete files in this directory. The data for the checkpoint/restore and durable-data features are stored in this directory. No two running TIBCO Patterns servers can share the same data-persistence directory. Also, no other process must attempt to modify this directory or its contents in any way. When using the directory for the first time, ensure it is empty. Then, the directory is managed by the TIBCO Patterns server.
In a typical production environment, there would be one TIBCO Patterns server per machine. A data-persistence directory is created on the machine. The TIBCO Patterns server must always be run by the same user that owns the checkpoint directory. Typically, a special user ID is created for the TIBCO Patterns server and the same user should own the data-persistence directory. The server is then started using the --restore-dir directory command line argument, where directory is the full path name to the created directory. The TIBCO Patterns server then takes over full responsibility for managing the contents of the directory and no user actions are needed. On starting the server, it performs the necessary cleanup of incomplete operations.
For more information about data-persistence directories, see the "Data Persistence Directories" section in the TIBCO Patterns Installation Guide.