Addmi 17-snapshot


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Be aware that if the critical config is restored it is a full clone, including such things as appliance name, SMTP settings etc – these will need to be changed if you are doing a clone rather than disaster recovery and want both Foundation instances on the network!
  • The only way to upgrade is by the officially supported upgrade tools. The upgrade tool will take a snapshot first if required, but this is to support the client in reverting if anything fails. A good use of snapshot during upgrade would be to clone the production appliance to a UAT VM and do a trial upgrade on the VM.
  • Snapshot creation may take several minutes. Please do not refresh or navigate away from the snapshot & restore page manually.
  • Upload and Download are a little confusing. You are “downloading” the snapshot from this appliance to another appliance or uploading a snapshot from a remote host to this appliance. No upload or download is done to the desktop that the UI is being accessed from.
  • This will place the snapshot in the remote appliance snapshot archive. Note: the migrate user is a unix user not a tideway application user. For security reasons the migrate user has no password set on default VA’s. migrate user passwd on the training demo VA’s is: demosnapshot If not using the training demo VA set the migrate user’s passwd as root on both tideway appliances.
  • The scp command is listed here so that it can be run manually to help investigation. The snapshot system tries it’s best to suggest what might be wrong but cannot cover every failure condition.
  • Notice the options ticked from the previous slide show up here under the “options” section
  • Snapshot disk threshold: The amount of disk space to reserve for the appliance snapshot. When the available disk space falls below this value, this is flagged on the Appliance Snapshot page.
  • Addmi 17-snapshot

    1. 1. Appliance Snapshot Cloning and Backing Up
    2. 2. What is Appliance Snapshot? <ul><li>Appliance Snapshot allows you to take a snapshot of the datastore and critical configuration files </li></ul><ul><li>It allows you clone the contents and identity of one Foundation Appliance to another </li></ul><ul><ul><li>For building a trial UAT VM to test a new TKU or Foundation upgrade </li></ul></ul><ul><ul><li>For building a test VM to train new staff </li></ul></ul><ul><ul><li>For supporting disaster recovery to a Hot Spare Appliance </li></ul></ul><ul><li>Appliance Snapshots can be migrated between appliances or archived on an external SSH server </li></ul>
    3. 3. What is Appliance Snapshot not? <ul><li>Appliance Snapshot stores only data and critical config, it expects to be restored on a fully built appliance at the same release level </li></ul><ul><ul><li>It is not a full server backup as it does not back up the OS or the core Foundation code </li></ul></ul><ul><ul><li>It is not an upgrade tool and restoring a snapshot to a version of Foundation different to the one it was created on can cause undefined behaviour </li></ul></ul>
    4. 4. Appliance Snapshot from the UI
    5. 5. Snapshot Outline <ul><li>Create a snapshot </li></ul><ul><ul><li>Snapshot pre steps </li></ul></ul><ul><ul><ul><li>Set Maintenance Mode </li></ul></ul></ul><ul><ul><ul><li>Stop Discovery </li></ul></ul></ul><ul><ul><li>Go to: Administration > Appliance > Snapshot and Restore </li></ul></ul><ul><li>Transfer (download) the snapshot to another VM </li></ul><ul><li>Restore from a snapshot </li></ul><ul><li>Post steps and Settings </li></ul>
    6. 6. Create a Snapshot from the UI
    7. 7. Snapshot Pre Steps <ul><li>The appliance must be in maintenance mode </li></ul><ul><li>The discovery service cannot be running </li></ul>
    8. 8. Pre steps: Set Maintenance Mode <ul><li>Administration > Appliance > Control </li></ul><ul><li>Set maintenance mode </li></ul><ul><ul><li>Only system user or those within the admin group can log into UI so ensure you are in that group </li></ul></ul>
    9. 9. Pre steps: Stop Discovery <ul><li>Now Go to: Discovery > Discovery Status </li></ul><ul><li>Press the button marked “Stop all Scans” </li></ul>
    10. 10. Create A Snapshot <ul><li>Administration > Appliance > Snapshot and Restore > Create New </li></ul><ul><ul><li>Choose a name </li></ul></ul><ul><ul><li>And add notes </li></ul></ul><ul><ul><li>Click the “Create” button </li></ul></ul>
    11. 11. Appliance Snapshots <ul><li>Once finished available snapshots are listed at the bottom of the page </li></ul><ul><li>Any errors will be shown here </li></ul>
    12. 12. Transfer a Snapshot from the UI
    13. 13. Transfer A Snapshot : (1) <ul><li>Click the “Download” button </li></ul>
    14. 14. Transfer A Snapshot : (2) <ul><li>Add the IP address of a Tideway appliance </li></ul><ul><li>Add the user “migrate” </li></ul><ul><li>Add the migrate user password </li></ul><ul><li>Add “snapshots” as the archive root </li></ul>
    15. 15. Transfer A Snapshot : (3) <ul><li>Select the snapshot and the migration will begin </li></ul>
    16. 16. Transfer A Snapshot : (4) <ul><li>When complete the log summary will be shown </li></ul>
    17. 17. Transfer A Snapshot : (5) <ul><li>If a failure occurs check the message to investigate </li></ul>
    18. 18. Transfer A Snapshot : (6) <ul><li>Log into the target appliance to see if the snapshot transfer is finished </li></ul><ul><ul><li>Note you may need to refresh the page </li></ul></ul>
    19. 19. Restore a Snapshot from the UI
    20. 20. Restore from a Snapshot (1) <ul><li>To restore select the snapshot and click the “Restore” button </li></ul>
    21. 21. Restore from a Snapshot (2) <ul><li>Increase the automatic rollback timer </li></ul>
    22. 22. Restore from a Snapshot (3) <ul><li>Select the automatic rollback timer </li></ul>
    23. 23. Restore from a Snapshot (4) <ul><li>Once the rollback snapshot has been created (if selected) the new snapshot files will be unpacked and the tideway service will restart </li></ul>
    24. 24. Restore from a Snapshot (5) <ul><li>Once the tideway service and the UI has been restarted, the restore MUST be confirmed within the restore timeout threshold </li></ul><ul><li>Otherwise the restore will rollback automatically </li></ul>
    25. 25. Restore from a Snapshot (6) <ul><li>After confirming the restore patterns and other config files will be loaded </li></ul>
    26. 26. Restore from a Snapshot (7) <ul><li>You will be returned to the snapshot and restore page </li></ul><ul><li>Note the lack of error icons which means that the restore is successful </li></ul>
    27. 27. Post steps and Settings
    28. 28. Snapshot Post Steps <ul><li>Don’t forget to turn off maintenance mode </li></ul><ul><ul><li>Administration > Appliance > Control </li></ul></ul><ul><li>And turn on the discovery service </li></ul><ul><ul><li>Discovery > Currently Processing Runs </li></ul></ul>
    29. 29. Snapshot Settings <ul><li>Administration > Appliance > Miscellaneous </li></ul><ul><li>Can change the snapshot disk threshold </li></ul><ul><li>Can configure a migration timeout </li></ul><ul><ul><li>If snapshot is large or network traffic is heavy </li></ul></ul>
    30. 30. For more information refer to… <ul><li>Online Documentation: </li></ul><ul><ul><li> </li></ul></ul>Tideway Foundation Version 7.2 Documentation Title