Hitachi Energy
Virtual Machine Snapshot
In case the DIRAC server is installed on a Linux Virtual Machine, running on an Oracle VirtualBox, a snapshot of the virtual machine provides the DIRAC server configuration with all persistent data.
The virtual machine snapshot restore operation restores the persistent data to the DIRAC server.
Backup and restore of DIRAC server
The persistent data of the DIRAC server shall be restored. It is assumed that after the backup process the SENC1 Functional Units and MPLS tunnel endpoints have been modified.
Backup
Proceed as follows: 
1. Create a snapshot of the DIRAC server virtual machine at time T1.
Result: The backup of the DIRAC server persistent data is done.
Modify the SENC1 network setup
Proceed as follows: 
1. Create SENC1 Crypto Engines on the DIRAC server at time T2.
2. Delete SENC1 Crypto Engines on the DIRAC server at time T3.
3. FOXMAN-UN creates and pushes new MPLS tunnels to the DIRAC server T4.
Result: Crypto Engines and tunnels have been modified in the DIRAC server.
Restore
Proceed as follows: 
1. At time T5 restore the DIRAC server virtual machine snapshot of time T1.
2. Reboot the DIRAC server.
3. Setup date and time of the DIRAC server.
The DIRAC server checks the communication with all SENC1 Functional Units and performs a realignment of the DNMS tables if necessary:
- Crypto Engines created: The Crypto Engines created at T2 are not checked.
- Crypto Engines deleted: Communication with the Crypto Engines deleted at time T3 is not possible.
4. In the DIRAC server add the Functional Units from time T2.
The DIRAC server synchronizes the DNMS tables with the SENC1 units.
5. In the DIRAC server delete the Functional Units from time T3.
6. In FOXMAN-UN align the new MPLS tunnels created at T4 with the DIRAC server.
Result: The DIRAC server is restored and realigned with all SENC1 modifications.
End of instruction