GAS has two ways to save a system: a copy of a whole virtual machine (Vmbackup.sh and Vmrestore.sh), and an archive of the settings and of the database of the OmniPCX Enterprise (gasbackup), used to reinstall GAS.
Note: This article describes OXE Software Server (GAS) 14.11. This package installs OmniPCX Enterprise R101.2 MD3 (n5.508.1), OMS 17.03, OST 12.05, the WebRTC gateway v3.2.6 and FlexLM 11.19.8.0-8, on a host installed with BootDVD 9.8.2. It is written from the source code of the package (tag OXE_SWS_14.11). Other GAS versions install other OmniPCX Enterprise releases: check the GAS version that matches your release.
Copy a virtual machine: Vmbackup.sh
- On the host, run
Vmbackup.sh. The tool warns: [ WARNING : virtual Machine will be shutdown while taking backup ]. Enter 1 to continue, 0 to exit. - Enter the name of the virtual machine (for example OXEVM) and the name of the image file (extension
.img). - The tool checks the free space (Checking the memory space...), stops the virtual machine, copies its disk and its definition (XML file).
Restore a virtual machine: Vmrestore.sh
- Run
Vmrestore.sh. The tool warns: [ WARNING : Restoring Backup will remove the recent configurations and files in the running VM ]. Enter 1 to continue. - Enter the name of the virtual machine and the names of the backup files.
- The tool stops the virtual machine, copies the backup disk (Restoring in Progress, then Copy Successful.), defines the virtual machine again and starts it.
If the backup files are not found: No backup files with specified image name exists, exitting...
Archive the system: gasbackup
gasbackup -d <folder of the archive> makes an archive (.tar.gz) with:
- the network settings of the OmniPCX Enterprise (with its twin), of the OMS, of the OST and of the WebRTC gateway;
- the database of the OmniPCX Enterprise;
- the OPS license files of the OmniPCX Enterprise and the FlexLM license files;
- a
PostInstall.cfgfile used by the post-installation.
The tool connects to the OmniPCX Enterprise with SSH (see createSSH in GAS maintenance tools). Keep the archive outside the host, for example before you reinstall it. The usual folder for archives is /var/backup/gas_archive.
Reinstall from the archive
In the post-installation, select Restore from archive and the archive: the settings are filled in, and the database and licenses of the OmniPCX Enterprise are restored. See Use case: reinstall a GAS from a backup archive.
Limits
Important: To be confirmed by R&D. Whether Vmbackup.sh and Vmrestore.sh are still recommended next to gasbackup; whether a GAS archive can be restored with a newer GAS version or another OmniPCX Enterprise release; the disk space needed for a backup.