• No results found

Auto Image Replication A Hands-On Experience Hands-On Lab

N/A
N/A
Protected

Academic year: 2021

Share "Auto Image Replication A Hands-On Experience Hands-On Lab"

Copied!
12
0
0

Loading.... (view fulltext now)

Full text

(1)

Auto Image Replication – A Hands-On Experience

Hands-On Lab

Description Get hands on with Auto Image Replication in this self-paced lab session that includes several exercises emulating different scenarios involving replicating backups between NetBackup domains in geographically remote sites.

This lab assumes a basic working knowledge of NetBackup and, in particular, MSDP disk storage. However the environment is pre-configured and you are not required to configure the storage itself.

At the end of this lab, you should be able to

 Define SLPs for both the source and target side of an Auto Image Replication setup

 Apply the credentials for a remote storage server to an existing storage server

 Understand the concept of target retention

 Understand what attributes are applied to a target domain SLP when it is automatically created.

 Understand the concepts of bi-directional, one to many, many to one and cascaded replication

Notes for the Instructor Lead lab

 A brief presentation will introduce this lab session and discuss key concepts.

 The lab will be directed and provide you with step-by-step walkthroughs of key features.

 Feel free to follow the lab using the instructions on the following pages. You can optionally perform this lab at your own pace.

 Be sure to ask your instructor any questions you may have.

(2)

Notes for the Self Paced lab

 The lab will be directed and provide you with step-by-step walkthroughs of key features.

 Feel free to follow the lab using the instructions on the following pages. You can optionally perform this lab at your own pace.

 Thank you for working through this lab session.

Background

information on the lab configuration

This lab consists of 3 virtual machines, each functioning as a separate NetBackup domain, call LONDON, LASVEGAS and SYDNEY. All 3 VMs are Windows 2003 64 bit running NetBackup 7.5.0.4 and LONDON also has OpsCenter 7.5.0.4 installed. The machines are designed to boot logged in as Administrator. In the event the session gets locked out the Administartor password is “symc4now”.

The machines are configured as master/media servers with MSDP storage and have local host files configured to allow communication between them. Each machine also has a LIFECYCLE_PARAMETERS file configured to force duplication operations to occur withing 3 minutes of a backup completing and thus to prevent delays in the duplication process.

The lab activities comprise a total of 5 exercises, each of which should complete within 10 minutes. Much of the set up of each exercise can be completed while the previous exercise is running to save time.

Finally please note that the naming conventions proposed for backup policies and SLPs in the lab exercises are purely for guidance – you can use any naming convention you choose provided the source and target SLP names match.

(3)

Lab Exercise 1: Uni-directional A.I.R.

In this exercise a backup is made in the London domain, replicated to the Las Vegas domain and imported.

Exercies 1 – Backup at London and replicate to Las Vegas On the master server LONDON:

1. Add the storage server LASVEGAS to the list of replication targets for the LONDON domain.

 Using the administration GUI on master server LONDON select “Media and Device Management”->”Credentials”->”Storage Servers” and click on the storage server name to open the “Change Storage Server” screen.

 Select the “replication” tab.

 In the “add new replication target” area of the screen enter the storage server name as “LASVEGAS”, the username as “fred” and the password as “barney” and press “add”.

 When the replication target has been added press “OK” to save the changes. 2. Create a storage lifecycle policy for the LONDON domain called LONDON-LASVEGAS.

 Using the administration GUI on master server LONDON select “NetBackup Management”->”Storage”->”Storage Lifecycle Policies” and right click to create a New Storage Lifecycle Policy.

 Give the SLP the name LONDON-LASVEGAS.

 Add a “Backup” destination with “storage unit” set to LONDON-MSDP.

 Add a “Replication” destination with a “retention type” of “Fixed” set.

 Press “OK” to save the SLP definition. On the master server LASVEGAS:

(4)

 Using the administration GUI on master server LASVEGAS select “NetBackup Management”->”Storage”->”Storage Lifecycle Policies” and right click to create a New Storage Lifecycle Policy.

 Give the SLP the name LONDON-LASVEGAS.

 Add an “Import” destination with “storage unit” set to LASVEGAS-MSDP and “retention type” set to “target retetion”.

 Press “OK” to save the SLP definition. On the master server LONDON:

4. Create a backup policy for the LONDON domain called LONDON-LASVEGAS-BACKUP.

 Using the administration GUI on master server LONDON select “NetBackup Management”->”Policies”.

 Copy the backup policy LONDON-BACKUP to LONDON-LASVEGAS-BACKUP.

 From the Policy Storage pull down on the policy LONDN-LASVEGAS-BACKUP select the SLP LONDON-LASVEGAS.

 Press “OK” to save the backup policy definition.

5. Run the backup policy called LONDON-LASVEGAS-BACKUP and monitor the progress.

 Using the administration GUI on master server LONDON select “NetBackup Management”->”Policies”.

 Right click on the policy LONDON-LASVEGAS-BACKUP and select Manual Backup.

 Press “OK” to start the backup.

 Watch the activity monitor in the administration GUI on the master server LONDON for the backup job to complete.

 Wait a few minutes and watch for the duplication job to complete On the master server LASVEGAS:

6. Watch the activity monitor for the import job to complete.

 On the administration GUI on the master server LASVEGAS select “NetBackup Management”->”catalog” and press “search now” – the imported catalog record is displayed.

 On the master server LASVEGAS start the BAR GUI. Add the client name LONDON to the client list and select it as the source client for restores. Choose “select for restore” to browse the contents of the backup.

Alternative monitoring approach using OpsCenter on master server LONDON this can be used for all labs:

7. Launch the OpsCenter console on master server LONDON

8. Login into the OpsCenter console issuing the username “admin” and password “password”

9. On the monitor tab click on “Job Summary by State to expand the view to show the jobs from all three domains.

(5)

Lab Exercise 2: Bi-directional A.I.R.

Having configured replication from London to Las Vegas we now configure replication from Las Vegas to London allowing data to be replicated in two directions.

Exercise 2 – Backup at Las Vegas and replicate to London On the master server LASVEGAS:

1. Add the storage server LONDON to the list of replication targets for the LASVEGAS domain.

 Using the administration GUI on master server LASVEGAS select “Media and Device Management”->”Credentials”->”Storage Servers” and click on the storage server name to open the “Change Storage Server” screen.

 Select the “replication” tab.

 In the “add new replication target” area of the screen enter the storage server name as “LONDON”, the username as “fred” and the password as “barney” and press “add”.

 When the replication target has been added press “OK” to save the changes. 2. Create a storage lifecycle policy for the LASVEGAS domain called LASVEGAS-LONDON.

 Using the administration GUI on master server LASVEGAS select “NetBackup Management”->”Storage”->”Storage Lifecycle Policies” and right click to create a New Storage Lifecycle Policy.

 Give the SLP the name LASVEGAS-LONDON.

 Add a “Backup” destination with “storage unit” set to LASVEGAS-MSDP.

 Add a “Replication” destination with a “retention type” of “Fixed” set.

 Press “OK” to save the SLP definition. On the master server LONDON:

(6)

 Using the administration GUI on master server LONDON select “NetBackup Management”->”Storage”->”Storage Lifecycle Policies” and right click to create a New Storage Lifecycle Policy.

 Give the SLP the name LASVEGAS-LONDON.

 Add an “Import” destination with “storage unit” set to LONDON-MSDP and “retention type” set to “target retetion”.

 Press “OK” to save the SLP definition. On the master server LASVEGAS:

4. Create a backup policy for the LASVEGAS domain called LASVEGAS-LONDON-BACKUP.

 Using the administration GUI on master server LASVEGAS select “NetBackup Management”->”Policies”.

 Copy the backup policy LASVEGAS-BACKUP to LASVEGAS-LONDON-BACKUP.

 From the Policy Storage pull down on the policy LASVEGAS-LONDON-BACKUP select the SLP LASVEGAS-LONDON.

 Press “OK” to save the backup policy definition.

5. Run the backup policy called LASVEGAS-LONDON-BACKUP and monitor the progress.

 Using the administration GUI on master server LASVEGAS select “NetBackup Management”->”Policies”.

 Right click on the policy LASVEGAS-LONDON-BACKUP and select Manual Backup.

 Press “OK” to start the backup

 Watch the activity monitor in the administration GUI on the master server LASVEGAS for the backup job to complete.

 Wait a few minutes and watch for the duplication job to complete On the master server LONDON:

6. Watch the activity monitor for the import job to complete.

 watch the activity monitor for the import job to complete.

 On the administration GUI on the master server LONDON select “NetBackup Management”->”catalog” and press “search now” – the imported catalog record is displayed.

 On the master server LONDON start the BAR GUI. Add the client name LASVEGAS to the client list and select it as the source client for restores. Choose “select for restore” to browse the contents of the backup.

(7)

Lab Exercise 3: Many to one A.I.R.

Adding replication from Sydney to London makes London a hub that can receive data from both Las vegas and Sydney.

Exercise 3 – Many to one replication On the master server SYDNEY:

1. Add the storage server LONDON to the list of replication targets for the SYDNEY domain.

 Using the administration GUI on master server SYDNEY select “Media and Device Management”->”Credentials”->”Storage Servers” and click on the storage server name to open the “Change Storage Server” screen.

 Select the “replication” tab.

 In the “add new replication target” area of the screen enter the storage server name as “LONDON”, the username as “fred” and the password as “barney” and press “add”.

 When the replication target has been added press “OK” to save the changes. 2. Create a storage lifecycle policy for the SYDNEY domain called SYDNEY-LONDON.

 Using the administration GUI on master server SYDNEY select “NetBackup Management”->”Storage”->”Storage Lifecycle Policies” and right click to create a New Storage Lifecycle Policy.

 Give the SLP the name SYDNEY-LONDON.

 Add a “Backup” destination with “storage unit” set to SYDNEY-MSDP.

 Add a “Replication” destination with a “retention type” of “Fixed” set.

 Press “OK” to save the SLP definition.

3. Create a backup policy for the SYDNEY domain called SYDNEY-LONDON-BACKUP.

 Using the administration GUI on master server SYDNEY select “NetBackup Management”->”Policies”.

 Copy the backup policy SYDNEY-BACKUP to SYDNEY-LONDON-BACKUP.

 From the Policy Storage pull down on the policy SYDNEY-LONDON-BACKUP select the SLP SYDNEY-LONDON.

(8)

 Press “OK” to save the backup policy definition.

4. Run the backup policy called SYDNEY-LONDON-BACKUP and monitor the progress.

 Using the administration GUI on master server SYDNEY select “NetBackup Management”->”Policies”.

 Right click on the policy SYDNEY-LONDON-BACKUP and select Manual Backup.

 Press “OK” to start the backup

5. Watch the activity monitor in the administration GUI on the master server SYDNEY for the backup job to complete.

6. Wait a few minutes and watch for the duplication job to complete On the master server LONDON:

7. Watch the activity monitor for the import job to complete.

 Using the administration GUI check the “NetBackup Management”-> “Storage” -> “Storage Lifecycle Policies” and note the import SLP SYDNEY-LONDON has been automatically created.

 Select “NetBackup Management”->”catalog” and press “search now” – the imported catalog record is displayed.

 Start the BAR GUI. Add the client name SYDNEY to the client list and select it as the source client for restores. Choose “select for restore” to browse the contents of the backup.

(9)

Lab Exercise 4: Cascaded A.I.R.

We can add a “Replication” destination to the import SLP we created in exercise 3 to allow us to cascade the replication from Sydney to London and then on to Las Vegas. This capability can be useful if regional hubs exist that can provide “routing” to the central DR hub.

Exercise 4 – Cascaded replication On the master server LONDON:

1. Modify the storage lifecyle policy called SYDNEY-LONDON.

 Using the administration GUI on master server LONDON select “NetBackup

Management”->”Storage”->”Storage Lifecycle Policies” and select SYDNEY-LONDON.

 Add a “Replication” destination with with a “retention type” of “Fixed” set.

 Press “OK” to save the SLP definition. On the master server LASVEGAS:

2. Create a storage lifecycle policy for the LASVEGAS domain called SYDNEY-LONDON.

 Using the administration GUI on master server LASVEGAS select “NetBackup Management”->”Storage”->”Storage Lifecycle Policies” and right click to create a New Storage Lifecycle Policy.

 Give the SLP the name SYDNEY-LONDON.

 Add an “Import” destination with “storage unit” set to LASVEGAS-MSDP and “retention type” set to “target retetion”.

 Press “OK” to save the SLP definition. On the master server SYDNEY:

3. Run the backup policy called SYDNEY-LONDON-BACKUP and monitor the progress.

 Using the administration GUI on master server SYDNEY select “NetBackup Management”->”Policies”.

 Right click on the policy SYDNEY-LONDON-BACKUP and select Manual Backup.

(10)

 Watch the activity monitor in the administration GUI on the master server SYDNEY for the backup job to complete.

 Wait a few minutes and watch for the duplication job to complete On the master server LONDON:

4. Watch the activity monitor for the import job to complete. 5. Wait a few minutes and watch for the duplication job to complete On the master server LASVEGAS:

6. Watch the activity monitor for the import job to complete.

 On the administration GUI on the master server LASVEGAS select “NetBackup Management”->”catalog” and press “search now” – the imported catalog record is displayed.

 On the master server LASVEGAS start the BAR GUI. Add the client name SYDNEY to the client list and select it as the source client for restores. Choose “select for restore” to browse the contents of the backup.

(11)

Lab Exercise 5: One to many A.I.R.

This is a less common use case but still worth looking at. In this case we want backups from London to be replicated to both Sydney and Las Vegas.

Exercise 5 – One to many replication. On the master server LONDON:

1. Add the storage server SYDNEY to the list of replication targets for the LONDON domain.

 Using the administration GUI on master server LONDON select “Media and Device Management”->”Credentials”->”Storage Servers” and click on the storage server name to open the “Change Storage Server” screen.

 Select the “replication” tab.

 In the “add new replication target” area of the screen enter the storage server name as “SYDNEY”, the username as “fred” and the password as “barney” and press “add”.

 When the replication target has been added press “OK” to save the changes. 2. Run the backup policy called LONDON-LASVEGAS-BACKUP created in lab exercise 1 and

monitor the progress.

 Using the administration GUI on master server LONDON select “NetBackup Management”->”Policies”.

 Right click on the policy LONDON-LASVEGAS-BACKUP and select Manual Backup.

 Press “OK” to start the backup

 Watch the activity monitor in the administration GUI on the master server LONDON for the backup job to complete.

 Wait a few minutes and watch for the duplication job to complete

 Switch to the master server LASVEGAS and watch the activity monitor for the import job to complete.

 Switch to the master server SYDNEY and note that the import job has failed. This is because there is no import SLP called LONDON-LASVEGAS in the SYDNEY domain.

(12)

3. Re-run the backup policy called LONDON-LASVEGAS-BACKUP created in lab exercise 1 and monitor the progress.

 Using the administration GUI on master server LONDON select “NetBackup Management”->”Policies”.

 Right click on the policy LONDON-LASVEGAS-BACKUP and select Manual Backup.

 Press “OK” to start the backup

 Watch the activity monitor in the administration GUI on the master server LONDON for the backup job to complete.

 Wait a few minutes and watch for the duplication job to complete On the master server LASVEGAS:

4. Watch the activity monitor for the import job to complete. On the master server SYDNEY:

5. Watch the activity monitor for the import job to complete.

 Using the administration GUI select “NetBackup Management”-> “Storage” -> “Storage Lifecycle Policies” and note the import SLP LONDON-SYDNEY has been automatically created.

 Select”catalog” and press “search now” – note that both the images from the LONDON domain have been imported catalog.

References

Related documents

ITIL - Process Services Portfolio Server Administration Services Server Administration Services Storage Management Services Storage Management Services Security Management

Foundations Administration Management Pentaho Virtualization Recovery Services Converged SAN Storage Concepts.. >>

Return to the Operations Console in the Remote Desktop Connection Manager window and open the Alerts view under Comtrade Citrix Netscaler.. Several new alerts will appear in the

■ Configuring an OpenStorage storage server for backups ■ About the replication topology for Auto Image Replication ■ Viewing the replication topology for Auto Image Replication

A PureDisk storage pool can be a storage destination for both the NetBackup Client Deduplication Option and the NetBackup Media Server Deduplication Option..

Go to Storage & Snapshots > Storage > Disks/VJBOD and select a disk installed in a JBOD enclosure to perform any of the following actions...

9:45 Break + VM Preparation 10:00 OpenShift - Hands-on 10:45 Break 11:00 Jelastic - Hands-on 11:45 Operations Outro. Citerus - Håkan

Then navigate to the appropriate storage unit located under NetBackup Management > Storage > Storage Units, double click on the Data Domain storage unit and check the box of