11-19-2020 02:30 PM - edited 11-19-2020 02:58 PM
Background :
As a system administrator, you want to plan for potential hardware or VNF software failures. After a service chain is deployed, you can create a backup.
In the event of ENCS hardware failure, Backup/Restore procedure can be used for restoring configuration on the Replacement device. Refer to FAQ 3 and 4 for some relevant information. When recovering configuration on a replacement device, ensure that the same hardware, software versions and images are uploaded and registered before using Restore.
ENCS 54xx hardware
NFVIS 4.2.1FC3 or above
NFVIS 4.2.1FC3 installed on hardware with access to the on-box web GUI.
VNF Service chain deployed and in active state.
Note: If networks are created but VNFs are NOT deployed and backup is attempted, backup file will not contain any VNF related info configuration. Sometimes, this option is used for optimizing process of setting up multiple devices.
Based on the Backup option chosen(choices in step 2), restore can be executed.
Note: Backup and Restore progress notification is being improved in the upcoming releases.
3. Restore from Backup
Note1 : When restoring ALL VNFs, there is an option of restoring deployed VNFs without impacting the management connectivity, this is important when dealing with remote sites.
Note 2 : management connectivity is intact when restoring individual VNFs.
1. During restore, is having the same platform a best practice or is it enforced in software?
It is software enforced. Different platforms have different architectures. Not all features are supported for all platforms. Ex.: Dual wan and DPDK are only supported for ENCS 5400. A backup from ENCS 5400 should not be restored to UCS.
2. If checked in software, what exactly is checked for, and how strict is it?
It is a strict check for PID. (nfvis# show platform-details hardware_info PID)
3. Is there any part of the config that is specific to the device?
Yes, SNMPv3 config as an example uses keys that are unique to the device. Due to known caveat until 3.12.3FC4, when snmpv3 and vbranch backup are planned, recommendation is to execute backup prior to snmpv3 configuration.
In the device where restored, snmpv3 must be configured.
4. How is VM licensing handled in restored VNFs?
Until NFVIS 3.12.3FC4, when NFVIS configuration is restored from backup, there is no option to retain the UUID of the VNF. As a result, the VNF serial number is expected to change. In the case of ISRv, a new token is used up.
Refer to ISRv smart license documentation for releasing token associated with deprecated ISRv.
Note : In NFVIS roadmap, there is an option to retain UUID, mac address thats considered. This will allow reuse of smart license in RMA use-case.
5. What would be the steps for RMA on ENCS device?
a. Stage the RMA box in the lab so you have can the console and Mgmt access
b. Install the NFVIS version used in the device deployed device
c. If using images prior to 4.2.1FC3, VNF images need to be uploaded. NFVIS4.2.1FC3 or higher, skip this step.
d. Upload the system/vm backup files, restore it. ISRv smart license is recovered as part of VNF restore.
e. If using NFVIS earlier than 4.2.1FC3, Install the smart license, and re-generate the certificates on the ISRv
6. Could you restore a 5406 to a 5408?
No, we cannot restore a backup from ENCS 5406 to a ENCS 5408. If we add a new feature specific to ENCS 5408 in future, we do not want it to conflict with ENCS 5408
7. Does restored NFVIS need to have the exact same amount of memory, disks, etc?
No. As of now, we do not check for disk space. Also, there is no need for restored NFVIS to have exact same amount of memory, disks. However, if any VM is deployed on external disk, restored NFVIS expects an external disk in the same slot to redeploy that VM
8. "If a VM is in an invalid state.." – according to what?
nfvis# show vm_lifecycle opdata tenants tenant admin deployment <deployment-name>
shows current state of the VM. A VM can be in following states: UNDEFINED_STATE, DEPLOYING_STATE, MONITOR_UNSET_STATE (valid state), MONITOR_DISABLED_STATE, STOPPING_STATE, SHUTDOWN_STATE (valid state), STARTING_STATE, REBOOTING_STATE, INERT_STATE (valid state for unmonitored VMs), ALIVE_STATE (valid state), UNDEPLOYING_STATE, ERROR_STATE (valid state)
9. How/where do you download the backup file via GUI? CLI?
The portal shows a list of backup files available on system on Backup-Restore page (Host à Utilities à Backup - Restore). It can be downloaded from there. For CLI, nfvis# show system file-list shows backup files. These can be SCP’ed out of NFVIS or copied to USB drive if disk space permits it.
10. What logs capture backup progress, where should we start with troubleshooting if a problem is encountered?
All logs for backup and restore are logged in nfvis_config.log. As usual, debug logs show a detailed information and proves helpful in troubleshooting
11. How long does it take to run a restore once the backup is uploaded?
This is also relative question. Restore is also not time bound. It depends on the time taken to deploy VMs, number of VMs deployed, storage option used.
12. Because vm restoration requires registered image, how does “hostaction restore“ recreate this registered image, if there is none during the restoration?
Prior to NFVIS 4.2.1FC3, Registered image is not restored from any backup files (vm backup or host backup), it is restored from original downloaded image.
Starting 4.2.1FC3, in the target system, VNF image registration is created as part of the restore process. VNF image is registration is sourced from .bkup file, VNF is registered and diffs are merged with backing store and VNF deployed.
13. Before vmExport/hostaction_backup, the deployment disk is thin-provisioned_link-clone disk (e.g., small size but needs backingStore file), does restored VM from backup (vmImport or hostaction_restore) will restore this kind of disk?
[Ans] No. The backup (by vmExport or host backup) will merge *backingStore disk* and this small *link-clone disk* into *thin-provision full-clone disk*. This process is not reversible. The restored VM disk is a full-clone disk ( == backingStore + link-clone disk). The only way to restore a link-clone disk is: backup feature is created by copying this disk into backup files, not merging backingStore with link-clone file.
14. Can we change datastore for restored VM?
[Ans] path is hard-coded inside vm backup file, changing datastore is not possible.
15. What disks included in my calculation for end-to-end host restoration?
[Ans] registered_image + backup_file + restore_vm_disk, where:
Backup_file <= gzipped ( registered_image + link_clone disk)
Restore_vm_disk = merged (registered_image + link_clone disk) > registered_image
We tried the host restoration after deleting the registered image, due to the downloaded image is not deleted, so host restore process was successful. If I deleted both download file and registered image, the host restore process will fail. So to me, that does not make any differences on the calculation above.
16. There are four files we concern about for VM restoration:
a. Downloaded package. This can be deleted after registration.
b. Register image. Required by deployment and restore/import process.
c. Backup files.
d. Deployment disk, either disk created from fresh installation or disk restored from backup.
Put vmImport/vmExport aside, if
For example, you have one ISRv, two Firewalls, and assume both images takes 1GB physical space, 8 GB max provisioned space. min disk is created right after deployment. Max is time when the whole system running the really long time. on on NFVIS 3.1X and 4.1:
min disk space = 1 x (100k + 1G) + 2 x (100k + 1G) = 3.3 GB
max disk space = 1 x 8G + 2 x 8G = 24 GB
on NFVIS 4.2.1FC3 onwards:
min disk space = 1 x 100k + 2 x 100k + 1GB (ISRv image) + 1GB (Firewall image) = 2.3GB
max disk space = 1 x 8G + 2 x 8G + 1GB (ISRv image) + 1GB (Firewall image) = 26 GB
Trying this exact procedure for config +VM's now on a 5406 running 3.11.2FC2. Does not seem to work when backing up to USB. Backup works fine. Restore wipes out files on usb and hangs. Any ideas? Assuming USB needs to be mounted first.
I have tried NFVIS config backup to USB in NFVIS 3.12.3FC4 release and restored from USB onto another system, works well.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: