18 lines
618 B
Markdown
18 lines
618 B
Markdown
|
|
## Highest ID
|
||
|
|
|
||
|
|
This example shows how to configure storing the HID file in *nscale Server Storage Layer*:
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
global:
|
||
|
|
# -- enables checking the highest DocID when starting the server.
|
||
|
|
# this only makes sense, if you also set a separate volume for the highest ID
|
||
|
|
# This is a backup / restore feature to avoid data mangling
|
||
|
|
checkHighestDocId: "1"
|
||
|
|
# -- sets the path of the highest ID file.
|
||
|
|
dvCheckPath: "/opt/ceyoniq/nscale-server/storage-layer/hid"
|
||
|
|
```
|
||
|
|
|
||
|
|
We use the global section here to have it activated in all nstl instances defined.
|
||
|
|
|
||
|
|
This is used by the empty application sample and the ha sample.
|