addmi 17-snapshot

30
© 2009 BMC Educational Services Appliance Snapshot Cloning and Backing Up

Upload: odanyboy

Post on 10-May-2015

472 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Addmi 17-snapshot

© 2009 BMC Educational Services

Appliance Snapshot

Cloning and Backing Up

Page 2: Addmi 17-snapshot

© 2010 BMC Educational Services

What is Appliance Snapshot?

Appliance Snapshot allows you to take a snapshot of the datastore and critical configuration files

It allows you clone the contents and identity of one Foundation Appliance to another For building a trial UAT VM to test a new TKU or Foundation upgrade For building a test VM to train new staff For supporting disaster recovery to a Hot Spare Appliance

Appliance Snapshots can be migrated between appliances or archived on an external SSH server

Page 3: Addmi 17-snapshot

© 2010 BMC Educational Services

What is Appliance Snapshot not?

Appliance Snapshot stores only data and critical config, it expects to be restored on a fully built appliance at the same release level

It is not a full server backup as it does not back up the OS or the core Foundation code

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

Page 4: Addmi 17-snapshot

© 2009 BMC Educational Services

Appliance Snapshot from the UI

Page 5: Addmi 17-snapshot

© 2010 BMC Educational Services

Snapshot Outline

Create a snapshot Snapshot pre steps

Set Maintenance Mode Stop Discovery

Go to: Administration > Appliance > Snapshot and Restore

Transfer (download) the snapshot to another VM Restore from a snapshot Post steps and Settings

Page 6: Addmi 17-snapshot

© 2009 BMC Educational Services

Create a Snapshot from the UI

Page 7: Addmi 17-snapshot

© 2010 BMC Educational Services

Snapshot Pre Steps

The appliance must be in maintenance mode

The discovery service cannot be running

Page 8: Addmi 17-snapshot

© 2010 BMC Educational Services

Pre steps: Set Maintenance Mode

Administration > Appliance > Control

Set maintenance mode Only system user or those within the admin group can log into

UI so ensure you are in that group

Page 9: Addmi 17-snapshot

© 2010 BMC Educational Services

Pre steps: Stop Discovery

Now Go to: Discovery > Discovery Status

Press the button marked “Stop all Scans”

Page 10: Addmi 17-snapshot

© 2010 BMC Educational Services

Create A Snapshot

Administration > Appliance > Snapshot and Restore > Create New Choose a name And add notes Click the “Create” button

Page 11: Addmi 17-snapshot

© 2010 BMC Educational Services

Appliance Snapshots

Once finished available snapshots are listed at the bottom of the page

Any errors will be shown here

Page 12: Addmi 17-snapshot

© 2009 BMC Educational Services

Transfer a Snapshot from the UI

Page 13: Addmi 17-snapshot

© 2010 BMC Educational Services

Transfer A Snapshot : (1)

Click the “Download” button

Page 14: Addmi 17-snapshot

© 2010 BMC Educational Services

Transfer A Snapshot : (2)

Add the IP address of a Tideway appliance Add the user “migrate” Add the migrate user password Add “snapshots” as the archive root

Page 15: Addmi 17-snapshot

© 2010 BMC Educational Services

Transfer A Snapshot : (3)

Select the snapshot and the migration will begin

Page 16: Addmi 17-snapshot

© 2010 BMC Educational Services

Transfer A Snapshot : (4)

When complete the log summary will be shown

Page 17: Addmi 17-snapshot

© 2010 BMC Educational Services

Transfer A Snapshot : (5)

If a failure occurs check the message to investigate

Page 18: Addmi 17-snapshot

© 2010 BMC Educational Services

Transfer A Snapshot : (6)

Log into the target appliance to see if the snapshot transfer is finished

Note you may need to refresh the page

Page 19: Addmi 17-snapshot

© 2009 BMC Educational Services

Restore a Snapshot from the UI

Page 20: Addmi 17-snapshot

© 2010 BMC Educational Services

To restore select the snapshot and click the “Restore” button

Restore from a Snapshot (1)

Page 21: Addmi 17-snapshot

© 2010 BMC Educational Services

Restore from a Snapshot (2)

Increase the automatic rollback timer

Page 22: Addmi 17-snapshot

© 2010 BMC Educational Services

Restore from a Snapshot (3)

Select the automatic rollback timer

Page 23: Addmi 17-snapshot

© 2010 BMC Educational Services

Restore from a Snapshot (4)

Once the rollback snapshot has been created (if selected) the new snapshot files will be unpacked and the tideway service will restart

Page 24: Addmi 17-snapshot

© 2010 BMC Educational Services

Restore from a Snapshot (5)

Once the tideway service and the UI has been restarted, the restore MUST be confirmed within the restore timeout threshold

Otherwise the restore will rollback automatically

Page 25: Addmi 17-snapshot

© 2010 BMC Educational Services

Restore from a Snapshot (6)

After confirming the restore patterns and other config files will be loaded

Page 26: Addmi 17-snapshot

© 2010 BMC Educational Services

Restore from a Snapshot (7)

You will be returned to the snapshot and restore page

Note the lack of error icons which means that the restore is successful

Page 27: Addmi 17-snapshot

© 2009 BMC Educational Services

Post steps and Settings

Page 28: Addmi 17-snapshot

© 2010 BMC Educational Services

Snapshot Post Steps

Don’t forget to turn off maintenance mode Administration > Appliance > Control

And turn on the discovery service Discovery > Currently Processing Runs

Page 29: Addmi 17-snapshot

© 2010 BMC Educational Services

Snapshot Settings

Administration > Appliance > Miscellaneous Can change the snapshot disk threshold

Can configure a migration timeout If snapshot is large or network traffic is heavy

Page 30: Addmi 17-snapshot

© 2010 BMC Educational Services

For more information refer to…

Online Documentation: http://www.tideway.com/confluence/display/81/Using+Appliance+Snapshot

Tideway Foundation

Version 7.2

Documentation

Title