Lock online storage for snapshot


This is a feature that allows DS-System to lock its online storage to permit a third-party application to take a snapshot of the online storage. This option only appears if you have configured it in the DS-System Advanced Configuration screen (See "DS-System Advanced Configuration".)

1. Setup Menu > Advanced Configuration

2. Setup Menu > System Activities. The System Activities Administration screen appears.

3. Beside "Lock online storage for snapshot", click Lock.

4. When the icon changes, the online storage is locked (this may take a few seconds on N+1 DS-Systems as each node is required to respond).

5. When the snapshot if finished, click Unlock.

Automated Lock (for scripts)

This feature is designed to interact with a third-party application, allowing the snapshot to run unattended, on schedule.

Instead of manually clicking / unclicking the Lock buttons (as described above), the DS-System database (database name = "dssystem") provides a table called "storage_lock" that will respond to third-party manipulation.

The "storage_lock" table has two columns:
column name
Description
lock_cmd
This value must be set by the third-party application.
  • 1 = lock (all attempts to change the online storage will be paused)
  • 2 = unlock (instructs DS-System to release the online storage for normal operation)
lock_status
The third-party application must wait until this value changes from "0" before performing the snapshot. This may take a few moments in an N+1 configuration (where multiple nodes must each lock their storage).
  • 0 = normal
  • non-zero = locked

1. Make sure the third-party application performs the following (in order):

WARNING: Do not alter any other table in the DS-System database.



PREVNEXT