You are on page 1of 39

Lab 4: Auto Image Replication

In this lab activity, you perform key tasks to configure for and use NetBackup's Automatic Image Replication
feature, as listed briefly on the slide.

Automatic Image Replication involves the creation of backup images in a "source" NetBackup master server
domain, and the replication of those images to a "target" NetBackup master server domain, where the backup
images are imported. Having been imported in the "target" domain, the images can be used to restore client
data in the event of a failure in the "source" domain.

When performing the tasks of this lab activity, note the lab configuration is as below:

The Windows based master server, winmaster.example.com, is acting as the "source" master server and the
Linux-based master server, lnxmaster.example.com, is acting as the "target" master server

The figure below illustrates this environment.


If you face any issues with the labs, refer to the lab FAQ section in the Lab Introduction.

Exercise A: Configuring the replication source and target

In this exercise, you perform the steps to configure the replication source (winmaster.example.com) and
replication target (lnxmaster.example.com) to enable the Auto Image Replication feature.

Exercise A-1: Configuring a Trusted Master Server in the source domain on winmaster
example com

In the steps that follow, you configure the target master server, lnxmaster.example.com, as a Trusted Master
Server on the source master server, winmaster.example.com.

In the following steps you add and verify a replication target on the master server in the source
domain, winmaster.example.com.

At times, you may be unable to login to the NetBackup Administration Console, and the following error
message is displayed:
Unable to login, status:7656. The revocation status of the host certificate cannot
be verified using the Certificate Revocatio List (CRL), because the CRL is not
updated. It is older than seven days.

Note that the CRL expires every 7 days and must be manually refreshed in these labs.

If your master server is winmaster.example.com, execute the following command on the winmaster server to
generate a new CRL: install_path\Veritas\Netbackup\bin\nbcertcmd –getCRL
If you are issuing the command from the console server, then execute the
following: install_path\Veritas\Netbackup\bin\nbcertcmd –getCRL -server
winmaster.example.com

If your master server is lnxmaster.example.com, execute the following command on the lnxmaster server to
generate a new CRL: /usr/openv/netbackup/bin/nbcertcmd -getCRL
If you are issuing the command from the console server, then execute the
following:install_path\Veritas\Netbackup\bin\nbcertcmd –getCRL -server
lnxmaster.example.com

At times, the getCRL command may fail to refresh the certificates and the following error message is displayed:
Failed to get the latest certificate revocation list for master server [master
server name], error:[5978]
EXIT STATUS 5978: Attempt to refresh certificate revocation list failed.
In this scenario, reboot the master server and then connect to it using the NetBackup Administration Console.

1. Access the desktop of the console.example.com system, and log in (if necessary) using the
credentials in the Resources tab of the Learning on Demand system.
2. Locate and double-click the NetBackup 8.2 Administration Console shortcut, located on the
desktop, to launch the NetBackup Administration Console.
3. Log in to the Windows-based master server, winmaster.example.com, using the master server
credentials provided in the table below.
Master server name User Name Password

winmaster.example.com EXAMPLE\Administrator train

4. View the top entry in the left pane of the NetBackup Administration Console, and verify that
the name winmaster.example.com is displayed.
5. Allow the Administration Console window to remain open on the desktop
of console.example.com.
6. Access the desktop of console.example.com again, and launch a second NetBackup 8.2
Administration Console window.
7. In the second Administration Console window, log in the Linux-based master
server, lnxmaster.example.com, using the credentials provided in the table.

Master server name User Name Password

lnxmaster.example.com root train

8. View the top entry in the left pane of the second NetBackup Administration Console, and
verify that the name lnxmaster.example.com is displayed.
9. Position the two Administration Console windows on your screen, so that you can distinguish
between the windows, and can easily access each window.

The steps that follow use the Administration Console that is logged in to the master
server, lnxmaster.example.com.

10. Access the Administration Console window that is logged in to the target master
server, lnxmaster.example.com.
11. Expand (if necessary) the Security Management entry in the left pane of the Administration
Console window.
12. Click the Certificate Management entry, located under Security Management.

Security Management > Certificate Management

13. Right-click the entry for any certificate that is displayed in the right pane of the Administration
Console window, and in the resulting menu, click View Certificate Authority.

The Certificate Authority Details window is displayed.


14. Take note of the Fingerprint that is displayed in the Certificate Authority Details window.

Note: The Certificate Authority Details window displays information about the Certificate
Authority (CA), that is responsible for issuing Host ID certificates in a NetBackup 8.2 master server
environment (The master server is the Certificate Authority), and is a vital component of
NetBackup's secure communications.
Note: The Fingerprint of the Certificate Authority uniquely identifies the CA to other systems in
the NetBackup environment.

15. Click the Copy Fingerprint to Clipboard button, to copy the fingerprint of the CA
(lnxmaster.example.com) to the clipboard on console.example.com.
16. Click Close, to close the Certificate Authority Details window.

The steps that follow use the Administration Console that is logged in to the master
server, winmaster.example.com.

17. Access the Administration Console window that is logged in to the source master
server, winmaster.example.com.
18. Expand (if necessary) the NetBackup Management entry in the left pane.
19. Expand the Host Properties entry, located under NetBackup Management.
20. Click the Master Servers entry, located under Host Properties.

NetBackup Management > Host Properties > Master Servers

21. Right-click the entry for the master server, winmaster.example.com, that is displayed in the
right pane of the Administration Console window.
22. In the menu that is displayed, click Properties.

The Master Server Properties: winmaster.example.com window is displayed.

23. Click the Servers entry, in the left pane of the Master Server Properties… window.
24. Click the Trusted Master Servers tab in the Servers (right) pane, and then click
the Add button.
The Add Trusted Master Server window is displayed.

25. Type the host name of the target master server, lnxmaster.example.com, in the Trusted Master
Server field. Then click the Validate Certificate Authority button.

The Validate Certificate Authority: lnxmaster.example.com window is displayed.


Earlier in this lab step 14 you obtained the fingerprint of the Certificate
Authority for lnxmaster.example.com.

26. Compare the fingerprint displayed in the Validate Certificate Authority:


lnxmaster.example.com window to the fingerprint obtained earlier (in step 14).
27. If the two fingerprints match, click Yes to verify the fingerprint and proceed with the addition of
the Trusted Master Server (lnxmaster.example.com) on winmaster.example.com.

The Add Trusted Master Server window is displayed.

28. Perform the following tasks in the Add Trusted Master Server window:
o Verify that the radio button for the Specify authentication token of the trusted master
server is selected.
o Leave this window open and access the Administration Console window that is logged in
to the master server, lnxnmaster.example.com.
o In the NetBackup Administration Console, expand Security Management > Certificate
Management > Token Management.
o On the Actions menu, select New Token. The Create Token dialog box is displayed.
o Enter the name as winm.
o Accept the default value for Maximum number of uses and enter 1 day for valid for
days option.
o Select Create. The new token appears in a dialog. Select Copy to save the token value to the
clipboard.
o Return to the administration console connected to winmaster.example.com and paste the
value of token from your clipboard using ctrl+v.
29. Click OK in Add Trusted Master Server window.
30. Verify that an entry for lnxmaster.example.com has been added in the Trusted Master
Servers tab of the Servers (right) pane of the Master Server Properties:
winmaster.example.com window.
31. Click the Apply button in the Servers (right) pane to apply the changes to the Master Server
Properties… window.
32. Click OK to close the Master Server Properties… window.
33. Allow the two NetBackup Administration Console windows on console.example.com to
remain open, one logged in to winmaster.example.com, and the other logged in
to lnxmaster.example.com.

You access the NetBackup Administration Console windows again in later exercises.

Exercise A-2: Adding a replication target in the source domain on winmaster.example.com

In the following steps, you add and verify a replication target on the master server in the source
domain, winmaster.example.com.

1. Access the desktop of the console.example.com.


2. Access the open NetBackup 8.2 Administration Console window that is logged in
to winmaster.example.com.
3. View the top entry in the left pane of the NetBackup Administration Console, and verify that
the name winmaster.example.com is displayed.
4. Expand (if necessary) the Media and Device Management entry in the left pane of the
Administration Console window.
5. Expand the Credentials entry, and click the Storage Servers entry.

Media and Device Management > Credentials > Storage Servers

6. Right-click the PureDisk storage server entry (Server Type = Puredisk) in the right pane of the
Administration Console window.
7. In the resulting menu, click Change, to edit the storage server parameters.
The Change Storage Server - winmaster.example.com window is displayed. There are three tabs
on this window:

o Media Servers
o Properties
o Replication
8. Access the Replication tab.

9. Click the Add button to add a new replication target.


10. When the Add a Replication Target… window is displayed, use the information provided in
the table below to configure lnxmaster.example.com as the target for replication activities
for winmaster.example.com.

Parameter Value

Target Master Server: lnxmaster.example.com (use drop-down menu)

Target storage server type: PureDisk (default)

Target storage server name: lnxmaster.example.com

User name: msdp (entered automatically)

Password: train

11. The figure below illustrates the Add a Replication Target... window, populated with the values
provided in the table on the previous page.

12.
13. Click OK to save the Add a Replication Target... settings, and to close the window.
14. Verify that an entry for lnxmaster.example.com is added to the Replication Targets list in
the Replication tab.
15. Click OK to save the changes to the Replication tab and to close the Change Storage Server -
- winmaster.example.com window.

Exercise A-3: Confirming a disk pool as a replication source on winmaster.example.com)

In the following steps, you verify that a disk pool is configured in the source domain,
on winmaster.example.com that will be used to host backup images that will be replicated to the target
domain.

1. Access the open NetBackup Administration Console window on console.example.com that is


logged in to winmaster.example.com.
2. Select the Media and Device Management entry in the left pane of the Administration
Console window.
3. Expand the Devices entry, and then click the Disk Pools entry in the left pane.

Media and Device Management > Devices > Disk Pools

4. Right-click the master_msdp_dpool entry in the right pane, and in the resulting menu,
click Change.

The Change Disk Pool window is displayed.

5. Click the Refresh button in the Change Disk Pool window, to update the contents of the
window, as highlighted in the screen shot below.
6. Verify that PureDiskVolume is listed as a Source in the Replication column of the Disk
Volumes field in the Change Disk Pool window.

7. Click OK, to save and close the Change Disk Pool window.

8. Allow the NetBackup Administration Console window that is logged in


to winmaster.example.com to remain open on console.example.com.

You access this window again later in this lab activity.


Exercise A-4: Performing target domain configuration to enable Automatic Image
Replication (on lnxmaster)

In the following steps, you verify the disk pool configuration in the target domain, managed by the master
server, lnxmaster.example.com, to enable the storage to be used as the target for replication of backup images
to the target NetBackup domain.

1. Access the open NetBackup Administration Console window on console.example.com, that


is logged in to the master server of the target domain, lnxmaster.example.com.
2. View the top entry in the left pane of the NetBackup Administration Console, and verify that
the name, lnxmaster.example.com is displayed as illustrated below.

3. Expand (if necessary) the Media and Device Management entry in the right pane of the
Administration Console window.
4. Expand the Devices entry, located under Media and Device Management in the left pane.
5. Click the Disk Pools entry, located under Devices in the left pane.

Media and Device Management > Devices > Disk Pools

6. Right-click the master_msdp_dpool disk pool entry, located in the right pane of the
Administration Console window, and in the menu, click Change.

The Change Disk Pool window is displayed.

7. Click the Refresh button, located in the Change Disk Pool window, to update the contents of
the window.
8. Verify that PureDiskVolume is configured as a Target in the Replication column of Disk
Volumes pane of the Change Disk Pool window.
9. Click OK, to save and close the Change Disk Pool window.
10. Allow the NetBackup Administration Console window that is logged in
to lnxmaster.example.com to remain open on console.example.com.

You access this window in the next exercise.

Exercise B: Configuring an SLP in the target domain

In this exercise, you configure a storage lifecycle policy (SLP) on the master server in the target
domain, lnxmaster.example.com, that will be used to manage the import of backup images containing client
data that has been replicated from the source domain.
The import of a backup image in the target domain creates the entries for the backup image in the NetBackup
catalog of the target master server. Entries can be added to an SLP in the target domain to control the
duplication of the imported backup images to other NetBackup storage in the target domain.

In the following steps, you configure an SLP that is used for the Automatic Image Replication feature in the
target domain.

Note: It is important that the SLP in the target domain is created before the SLP in the source domain when
configuring targeted Automatic Image Replication (AIR).

1. Access the desktop of the console.example.com system.


2. Access the open NetBackup Administration Console window on console.example.com that
is logged in to lnxmaster.example.com.

This window should be open from the previous exercise.

3. View the top entry in the left pane of the NetBackup Administration Console, and verify that
the name lnxmaster.example.com is displayed, as illustrated below.

4. Expand (if necessary) the NetBackup Management entry in the left pane of the Administration
Console window.
5. Expand the Storage entry, located under NetBackup Management.
6. Click the Storage Lifecycle Policies entry, located under Storage in the left pane of the
Administration Console window.

The list of configured Storage Lifecycle Policies is displayed in the right pane of the Administration
Console window.

7. Right-click in the right pane of the Administration Console window, and select the New
Storage Lifecycle Policy… entry in the menu.
8. When the New Storage Lifecycle Policy window is displayed, use the information provided in
the table to populate the fields of the window.
Parameter Value

Storage lifecycle policy name: LAB04-AIR-target-slp

Data Classification: <No data classification> (default)

Priority for secondary operations: 0 (default)

State of secondary operations processing: Active (default)

9. Click the Add button in the New Storage Lifecycle Policy window, to add the first operation
for the SLP.

The New Operation window is displayed.

10. Configure the first operation (an Import operation) for the SLP, using the information provided
in the table below.

Parameter Value

Source storage: -- (not selectable)

Operation: Import

Destination Storage: master_msdp_stu

Override default priority: Not selected (default)

Retention type: Target Retention

11. Click OK to save the Import operation settings, and to close the New Operation window.
12. Verify that an entry for the Import operation has been added to the list of operations displayed
in the New Storage Lifecycle Policy window.
13. Click to highlight the entry for the Import operation.
14. Click Add to add another operation to the SLP.

The New Operation window is displayed.

15. Configure the second operation (a Duplication operation) for the SLP, using the information
provided in the table below.
Parameter Value

Source storage: master_msdp_stu (import)

Operation: Duplication

Destination Storage: master_advdisk_stu

Media owner: Any (default setting)

Retention Type: Fixed

Retention period: 2 months

Alternate read server: None selected (default)

Preserve multiplexing: Not selected (default)

Postpone creation of this copy… Not selected (default)

16. Click OK to save the Duplication operation settings, and to close the New Operation window.
17. Verify that an entry for the Duplication operation has been added to the list of operations
displayed in the New Storage Lifecycle Policy window.
18. Note that the Duplication operation is indented below the entry for the Import operation as
shown in the figure below.

Note: The indentation represents a hierarchy of a parent-child relationship.


The Duplication operation uses the Imported backup image as the duplication source.
19. Click OK to save the LAB04-AIR-target-slp storage lifecycle policy settings, and to close
the New Storage Lifecycle Policy window.
20. Verify that an entry for the LAB04-AIR-target-SLP is displayed in the right pane of the
Administration Console window.

You have completed the storage lifecycle policy configuration required to enable Automatic Image
Replication in the target domain.

21. Allow the NetBackup Administration Console window that is logged in


to lnxmaster.example.com to remain open on console.example.com.

You access this window again later in this lab activity.

Exercise C: Configuring an SLP and policy in the source domain

In this exercise, you configure a storage lifecycle policy (SLP) on the master server in the source
domain, winmaster.example.com, to manage the backup of client and the automatic replication of the resulting
backup images to the target domain.

Then, you configure a policy that references the SLP and that automates the backup of client data. These
configuration steps result in the subsequent replication of the backup image to the target domain.

Exercise C-1: Configuring a storage lifecycle policy (SLP) in the source


domain (on winmaster example com)

In the following steps, you configure an SLP in the source domain (on winmaster.example.com) that is used to
manage the automatic replication of backup images to the target domain.

1. Access the desktop of the console.example.com system.


2. Access the open NetBackup Administration Console on console.example.com that is logged
in to winmaster.example.com. This window should be open from a previous exercise.
3. View the top entry in the left pane of the NetBackup Administration Console, and verify that the
name winmaster.example.com is displayed, as illustrated below.
4. Expand (if necessary) the NetBackup Management entry in the left pane of the Administration
Console window.
5. Expand the Storage entry, located under NetBackup Management.
6. Click the Storage Lifecycle Policies entry, located under Storage in the left pane of the
Administration Console window.

NetBackup Management > Storage > Storage Lifecycle Policies

The list of configured Storage Lifecycle Policies is displayed in the right pane of the Administration
Console window.

7. Right-click in the right pane of the Administration Console window, and select the New
Storage Lifecycle Policy… entry in the menu.
8. When the New Storage Lifecycle Policy window is displayed, use the information provided in
the table to populate the fields of the window.

Parameter Value

SLP name: LAB04-AIR-source-slp

Data Classification: <No data classification> (default)

Priority for secondary operations: 0 (default)

State of secondary operations processing: Active (default)

9. Click the Add button in the New Storage Lifecycle Policy window, to add the first operation
for the SLP.

The New Operation window is displayed.


10. Configure the first operation (a Backup operation) for the SLP, using the information provided
in the table below.

Parameter Value

Source storage: -- (not selectable)

Operation: Backup

Destination Storage: master_msdp_stu

Volume pool: Not applicable

Media owner: Not applicable

Retention type: Fixed (default setting)

Retention period: 2 weeks (Retention Level 1) (default setting)

11. Click OK to save the Backup operation settings, and to close the New Operation window.
12. Verify that an entry for the Backup operation has been added to the list of operations displayed
in the New Storage Lifecycle Policy window.
13. Click to highlight the entry for the Backup operation.
14. Click Add to add another operation to the SLP.

The New Operation window is displayed.

15. Configure the second operation (a Replication operation) for the SLP, using the information
provided in the table below.

Parameter Value

master_msdp_stu
Source storage:
(Backup)

Operation: Replication

Destination Storage Attributes


Parameter Value

A specific Master Server: Select this radio button

Target master server: lnxmaster.example.com

Target import SLP LAB04-AIR-target-slp

Retention

Retention Type: Fixed (default)

Retention period: 1 month

Postpone creation of this copy until the source copy is about to


Not selected (default)
expire

16. Click OK to save the Replication operation settings, and to close the New Operation window.
17. Verify that an entry for the Replication operation has been added to the list of operations
displayed in the New Storage Lifecycle Policy window, as illustrated below.

18. Note that the Replication operation is indented below the entry for the Backup operation as
highlighted in the figure above.

Note: The indentation represents a hierarchy of a parent-child relationship.


The Replication operation uses the backup image created by the Backup operation.

19. Click OK to save the LAB04-AIR-source-slp storage lifecycle policy.


20. Verify that an entry for the LAB04-AIR-source-SLP is visible in the list of SLPs that is displayed
in the right pane of the Administration Console on winmaster.example.com.
21. Allow the NetBackup Administration Console window that is logged in
to winmaster.example.com to remain open on console.example.com.

You access this window again later in the next exercise.

Exercise C-2: Configuring a policy to enable Automatic Image Replication (on winmaster
example com)

In the following steps, you configure a policy on the master server in the source domain
(winmaster.example.com) that points to the use of the storage lifecycle policy you created in the previous
exercise, LAB04-AIR-source-slp. The SLP enables the creation of backup images and the replication of those
images to the target domain.

1. Access the open NetBackup Administration Console on console.example.com that is logged


in to winmaster.example.com.
2. Select the Policies entry, located under NetBackup Management in the right pane of the
Administration Console window for winmaster.example.com.
3. In the All Policies pane, right-click and select New Policy to create a new policy.
4. When the Add a New Policy dialog box is displayed, type the name of the new policy, LAB04-
AIR, and click OK.

The new policy is opened for editing in the Change Policy - LAB04-AIR window.

5. When the Change Policy -- LAB04-AIR window is displayed, configure the


policy Attributes using the information provided in the table below.

Parameter Value

Policy type: MS-Windows (default)

Policy storage: LAB04-AIR-source-slp

All other policy Attributes: Leave these at the default settings


6. Access the Schedules tab of the policy.
7. Add a schedule to the policy using the information provided in the table below.

Parameter Value

Schedule name: Full

Type of backup: Full Backup

All other schedule


Leave these at the default settings
Attributes:

None -- this schedule allows only manual backups (leave at the


Start Window:
default settings)

Exclude Dates: None (leave at the default settings)

8. Click OK to save the Full schedule.


9. Verify that an entry for the Full schedule is listed in the list of schedules that is displayed in
the Schedules tab.
10. Access the Clients tab of the policy, and add an entry for a client using the information
provided in the table below.

Parameter Value

Client name: console.example.com

Hardware and operating system: Windows-x64, Windows

11. Verify that an entry for the console.example.com client is listed in the list of clients that is
displayed in the Clients tab
12. Access the Backup Selections tab, and add an entry for a client folder to backup, using the
information provided in the table below.

Parameter Value

Pathname or directive: E:\data\Doc_files


13. Verify that an entry for the E:\data\Doc_files folder is displayed in the Backup Selections
List in the Backup Selections tab.
14. Click OK in the Change Policy -- LAB04-AIR window, to save the policy, and to close the
policy.
15. Verify that the LAB04-AIR policy has been added to list of polices on
the winmaster.example.com master server as illustrated in the figure below.

Note: The policies listed in the Administration Console on your master server may vary slightly from
those shown in the screen shot above. The screen shot is for example purposes only.

You have completed the storage lifecycle policy and policy configuration
on winmaster.example.com, that is required to enable Automatic Image Replication in the source
domain.

16. Allow the NetBackup Administration Console window that is logged in


to winmaster.example.com to remain open on console.example.com.

You access this window in the next exercise.


Exercise D: Configuring other settings that affect SLP behavior

In this exercise, you locate and verify other parameter settings that affect the behavior associated with storage
lifecycle policies in a NetBackup environment. The parameter setting changes that have been made in this lab
environment are optional, and may not be necessary or recommended in all production backup environments.

Exercise D-1: Setting SLP Parameters in the source domain (on winmaster example com)

In the following steps, you modify settings that affect the NetBackup behavior relating to Storage Lifecycle
Policies (SLPs) in the source NetBackup domain (on winmaster.example.com).

1. Access the desktop of the console.example.com system.


2. Access the open NetBackup Administration Console that is logged in
to winmaster.example.com.
3. View the top entry in the left pane of the NetBackup Administration Console, and verify that
the name winmaster.example.com is displayed as illustrated below.

4. Expand (if necessary) the NetBackup Management entry in the left pane.
5. Expand the Host Properties entry, located under NetBackup Management.
6. Click the Master Servers entry, located under Host Properties.

NetBackup Management > Host Properties > Master Servers

7. Right-click the entry for the master server, winmaster.example.com, that is displayed in the
right pane, and click Properties in the resulting menu.

The Master Server Properties: winmaster.example.com window is displayed.

8. In the left pane of the Master Server Properties: winmaster.example.com window, locate and
click the SLP Parameters entry.

The right pane of the window displays the SLP Parameters settings.

9. Review and verify the list of settings in SLP Parameters pane.


Pay particular attention to the following settings:

o Force interval for small job = 1 minute (default setting is 30 minutes)


o Job submission interval = 1 minute (default setting is 5 minutes)
o Image processing interval = 1 minute (default setting is 5 minutes)

Note: The settings listed above (Force interval for small job, Job submission interval, and Image
processing interval) were changed from their default settings for purposes of this course, so that
replication and import jobs would be processed more quickly. The current settings may not be
appropriate in a production NetBackup environment.
Note: The backup administrator can modify these settings on the master server system to change
the behavior of NetBackup with regards to duplication, replication, and import operations defined in
storage lifecycle policies. In this training environment, the modifications to the SLP parameters on
the master server in the source domain were made to reduce the time that normally elapses
between the creation of backup images and the duplication or replication of those backup images.
See the Veritas NetBackup 8.2 Administrator's Guide, for details on the use of settings in the SLP
Parameters.

10. Click Apply to apply the SLP Parameters changes.


11. Click OK to close the Master Server Properties window.
12. Click OK in the Restart Daemons dialog box that is displayed.

Note: It is not necessary to restart NetBackup for the SLP Parameters changes, because the SLP
process, nbstserv, reads the new configuration and updates automatically.

13. Allow the NetBackup Administration Console window that is logged in


to winmaster.example.com to remain open on console.example.com.
You access this window in the next exercise.

Exercise D-2: Verifying SLP Parameters in the source domain (on winmaster example com)

The SLP parameters that you modified in the previous exercise are stored in a file on the master server system. In
the steps that follow, you view the contents of this file.

1. Access the desktop of winmaster.example.com, using the credentials in the Resources tab of
the Labs on Demand environment.

Note: You may access winmaster.example.com using either an RDP connection


from console.example.com or by selecting the tab for winmaster.example.com that is provided
by your lab environment user interface.

2. On the desktop of winmaster.example.com, locate and double-click the File


Explorer shortcut, to open a File Explorer window.
3. In the File Explorer window, navigate to the folder:

C:\Program Files\Veritas\NetBackup\var\global

4. Locate and right-click the nbcl.conf file and select edit with Notepad++ in the menu.

Note: Note the entries in this file. The nbcl.conf file does not exist in a default NetBackup
installation. The file is created by NetBackup only when changes are made to the SLP Parameters of
the NetBackup master server. The file should not be edited manually.

The table below lists the default values for the parameters (in a new NetBackup installation) and
their current settings. These are the SLP parameters that you modified in the previous exercise.

Storage LifeCycle Parameters Default value New value

SLP.JOB_SUBMISSION_INTERVAL 5 1

SLP.IMAGE_PROCESSING_INTERVAL 5 1

SLP.MAX_TIME_TILL_FORCE_SMALL_DUPLICATE_JOB 30 1

5. Close the nbcl.conf file in the Notepad++ window (File > Close All).
6. Close the Notepad++ window (File > Exit).
7. Close the File Explorer window (File > Close).
8. Close the connection to the winmaster.example.com system.

a. Right-click the Windows icon on the task bar.

b. Click the Shut down or sign out entry.


c. Click Sign out.

Exercise D-3: Setting SLP Parameters in the target domain (on lnxmaster example com)

In the following steps, you modify settings that affect the NetBackup behavior relating to Storage Lifecycle
Policies (SLPs) in the target NetBackup domain (on lnxmaster.example.com).

1. Access the desktop of the console.example.com system.


2. Access the open NetBackup Administration Console that is logged in
to lnxmaster.example.com.
3. View the top entry in the left pane of the NetBackup Administration Console, and verify that
the name lnxmaster.example.com is displayed, as illustrated below.

4. Expand (if necessary) the NetBackup Management entry in the left pane.
5. Expand the Host Properties entry, located under NetBackup Management.
6. Click the Master Servers entry, located under Host Properties.

NetBackup Management > Host Properties > Master Servers

7. Right-click the entry for the master server, lnxmaster.example.com, that is displayed in the
right pane, and click Properties in the resulting menu.

The Master Server Properties: lnxmaster.example.com window is displayed.

8. In the left pane of the Master Server Properties: lnxmaster.example.com window, locate and
click the SLP Parameters entry.
9. Review and verify the settings in SLP Parameters pane.

Give special attention to the following settings:

o Force interval for small job = 1 minute (default setting is 30 minutes)


o Job submission interval = 1 minute (default setting is 5 minutes)
o Image processing interval = 1 minute (default setting is 5 minutes)
The SLP Parameters and their settings are illustrated in the figure below.

Note: The settings listed above (Force interval for small job, Job submission interval, and Image
processing interval) were changed from their default settings for purposes of this course, so that
replication and import jobs would be processed more quickly. The current settings may not be
appropriate in a production NetBackup environment.
Note: The backup administrator can modify these settings on the master server system to change
the behavior of NetBackup with regards to duplication, replication, and import operations defined in
storage lifecycle policies. In this training environment, the modifications to the SLP parameters on
the master server in the source domain were made to reduce the time that normally elapses
between the creation of backup images and the duplication or replication of those backup images.
See the Veritas NetBackup 8.2 Administrator's Guide, for details on the use of settings in the SLP
Parameters.

10. Click Apply to apply the SLP Parameters changes


11. Click OK to close the Master Server Properties: lnxmaster.example.com window.
12. Click OK in the Restart Daemons dialog box that is displayed.

Note: It is not necessary to restart NetBackup for the SLP Parameters changes, because the SLP
process, nbstserv, reads the new configuration and updates automatically.

13. Allow the NetBackup Administration Console window that is logged in


to lnxmaster.example.com to remain open on console.example.com.

You access this window again in an exercise later in this lab activity.
Exercise D-4: Verifying SLP Parameters in the parameters file in the target domain (on
lnxmaster example com)

The SLP parameters that you modified in the previous exercise are stored in a file on the master server,
lnxmaster.example.com. In the steps that follow, you view the contents of that file.

1. Access the desktop of console.example.com.


2. Open a PuTTY (SSH) session from console.example.com to lnxmaster.example.com, using the
sub-steps described below.

a. On the desktop, locate and double-click the REMOTE SYSTEM ACCESS folder, to open the folder.

b. In the REMOTE SYSTEM ACCESS folder, locate and double-click the PuTTY (Linux
systems) shortcut.

The PuTTY Configuration window is displayed.

c. In the PuTTY Configuration window, locate and double-click the entry


for lnxmaster.example.com in the Saved Sessions pane.

An SSH session is opened to lnxmaster.example.com, and a lnxmaster.example.com window is


displayed.

3. Log in to lnxmaster.example.com using the following credentials:

User name: root password: train

4. Change directory to: /usr/openv/var/global

Command: cd /usr/openv/var/global

5. List the contents of the /usr/openv/var/global directory.

Command: ls -l

6. View the contents of the nbcl.conf file, using the more command.

Command: more nbcl.conf

The contents of the nbcl.conf file are illustrated below.


Note: Note the entries of the file. The nbcl.conf file does not exist in a default NetBackup
installation. The file is created by NetBackup only when changes are made to the SLP
Parameters for the NetBackup master server. The file should not be edited manually.

7. Type exit at the command prompt, and press Enter, to close the PuTTY session.

Command: exit

You are returned to the desktop of the console.example.com system.

Exercise E: Performing and monitoring replication jobs

In this exercise, you initiate a manual backup using the policy, LAB04-AIR, that you configured for Automatic
Image Replication in the source NetBackup domain. That policy uses a storage lifecycle policy (LAB04-AIR-
source-slp) that you configured to perform a backup of client data, and then to replicate the resulting backup
image to the target domain. After initiating the backup job, you monitor the resulting jobs in both the source
and target NetBackup domains, and observe the results.

Exercise E-1: Initiating a manual backup for Automatic Image Replication (on
winmaster.example.com)

In the following steps, you initiate a manual backup on the master server, winmaster.example.com in the
source NetBackup domain, using the policy that you created for the Automatic Image Replication feature -
- LAB04-AIR.

1. Access the desktop of the console.example.com system.


2. Access the open NetBackup Administration Console window on console.example.com that
is logged in to winmaster.example.com.
3. View the top entry in the left pane of the NetBackup Administration Console, and verify that
the name winmaster.example.com is displayed, as illustrated below.

4. Select Policies entry in the left pane of the Administration Console window.
5. Right-click the entry for the LAB04-AIR policy in the All Policies pane, and then click Manual
Backup in the menu.
6. In the Manual Backup window, click OK to initiate a manual full backup of the
client, console.example.com, using the LAB04-AIR policy.
7. Allow the NetBackup Administration Console window that is logged in
to winmaster.example.com to remain open on console.example.com.

You access this window again in the next exercise.

Exercise E-2: Monitoring the jobs in the source NetBackup domain (on winmaster example
com)

In the steps that follow, you use the Activity Monitor to monitor the jobs that are performed in the source
NetBackup domain, on winmaster.example.com, as a result of the manual backup request that was submitted
using the LAB04-AIR policy.

1. Access the open NetBackup Administration Console window on console.example.com that


is logged in to winmaster.example.com.
2. Select the Activity Monitor in the Administration Console.
3. In the Activity Monitor, locate the most recent Backup job that is associated with the LAB04-
AIR policy, until the job runs to completion.
4. Verify that the Backup job completes successfully before continuing.
o If the job fails, record the status code for the job, and seek assistance.
o If the job completes successfully, go to the next step.

Within about one minute of the successful completion of the Backup job another job becomes
visible in the Activity Monitor.

5. Monitor the new job, a Replication job, until the job runs to completion.

Note: In addition to the Backup and Replication jobs, an Image Cleanup job also runs.

6. Verify that the Replication job completes successfully before continuing.


o If the job fails, record the status code for the job, and seek assistance.
o If the job completes successfully, go to the next step.
7. View the Job Details for the Backup job that ran as a result of the manual backup request
using the LAB04-AIR policy.
8. Close the Job Details window for the Backup job.
9. View the Job Details for the Replication job that ran after the Backup job was completed.
10. Locate the following messages in the Status pane of the Detailed Status tab for
the Replication job:

Using OpenStorage to replicate backup id console.example.com_nnnnnnnnnn, media id @aaaag,


storage server winmaster.example.com, disk volume PureDiskVolume

Replicating images to target storage server...


11. Close any open Job Details windows.
12. Allow the NetBackup Administration Console window that is logged in
to winmaster.example.com to remain open on console.example.com.

You access this window again in the next exercise.

Exercise E-3: Monitoring the jobs in the target NetBackup domain (on lnxmaster example
com)

In the steps that follow, you use the Activity Monitor to monitor the jobs that are performed in the target
NetBackup domain, on lnxmaster.example.com, as a result of initiating the manual backup request in the
source NetBackup domain.

1. Access the desktop of the console.example.com system.


2. Access the open NetBackup Administration Console window on console.example.com that
is logged in to lnxmaster.example.com.
3. View the top entry in the left pane of the NetBackup Administration Console, and verify that
the name lnxmaster.example.com is displayed, as illustrated below.

4. Access the Activity Monitor in the Administration Console window.


5. In the Activity Monitor, find the lowest-numbered Job ID for the Job Policy: SLP_LAB04-AIR-
target-slp.

This job is an Import job.

Note: Within about one minute of the completion of the Replication job in the source NetBackup
domain, the Import job is added to the Activity Monitor on the master server in the target
NetBackup domain.
6. Monitor the progress of the Import job, and verify that the job runs to completion.
7. Verify that the job completes successfully before continuing.
o If the Import job fails, record the status code, and seek assistance.
o If the Import job completes successfully, go to the next step.

Note: Within about one minute of the successful completion of the Import job, another job
becomes visible in the Activity Monitor.

The second job in the target domain is a Duplication job.

8. Monitor the most recent job (a Duplication job) until the job runs to completion.

Note: In addition to the Import and Duplication jobs, an Image Cleanup job also runs.

9. Verify that the Duplication job completes successfully before continuing.


o If the Duplication job fails, record the status code, and seek assistance.
o If the Duplication job completes successfully, go to the next step.
10. View the Job Details for the Import job in the target domain.
11. Close the Job Details window for the Import job.
12. View the Job Details for the most recent Duplication job that was performed in the target
NetBackup domain.
13. Close the Job Details window for the Duplication job.

Note: Up to this point, a backup image for the client, console.example.com was created in the
source NetBackup domain, managed by the winmaster.example.com master server, and written to
MSDP storage associated with the winmaster.example.com storage server.

After the backup was completed, the image was replicated from the storage server in the source
domain to the lnxmaster.example.com storage server in the target domain.

Note: As a result of the configuration for the Automatic Image Replication feature, the replicated
backup image was imported in the target. The import operation by the target domain's master
server domain (lnxmaster.example.com) caused the contents of the imported backup image to be
added to the NetBackup catalogs in the target domain. After the import was completed, the SLP for
the Automatic Image Replication feature caused a Duplication job that duplicated the imported
image to a tape volume in the target NetBackup domain.

14. Close the NetBackup Administration Console window on console.example.com that is


logged in to winmaster.example.com.

File > Exit

15. Leave the NetBackup Administration Console window on console.example.com that is


logged in to lnxmaster.example.com.
You access this Administration Console window again in the final exercise of this lab activity.

Exercise F: Viewing the status of replication jobs

Note: The nbstlutil command can be used on any master server that is configured to use storage lifecycle
policies - to display the status of SLP-managed images. In this lab environment, the command can be used on
the both master servers, winmaster.example.com and lnxmaster.example.com.

In this brief exercise, you use the NetBackup-provided nbstlutil command to view some of the types of
information that can be obtained using the command.

In the steps that follow, you use the nbstlutil command on winmaster.example.com, to view the status of
replication jobs in the source domain.

1. Access the desktop of the winmaster.example.com system, and log in using the credentials
provided in the Resources tab of the Labs on Demand Environment.

Note: You may access winmaster.example.com using either an RDP connection


from console.example.com, or by selecting the tab for winmaster.example.com that is provided
by your lab environment user interface.

2. Double-click the Command Prompt icon, located on the desktop of winmaster.example.com,


to open a Command Prompt window.
3. In the Command Prompt window, type the following command, and press Enter:

Command: nbstlutil -h

4. Observe the output of the command.

NOTE: The -h command (help) option displays a summary of the command options and arguments
for the nbstlutil command.

5. In the Command Prompt window, type the following command, and press Enter:

Command: nbstlutil repllist -U |more

6. Observe the output of the command.

NOTE: The repllist command option displays status for completed replication copies and their target
devices. It lists all image, replica, and replication destination records. It provides a way to see the
configured replication destination.

7. Press Enter in the Command Prompt window, to advance the output of the command one
page.

Note: The output of the previous command could occupy multiple pages. Pressing Enter on your
keyboard advances the command output one page. You may need to press Enter multiple times to
return to the Command Prompt.
8. Press Enter on your keyboard until the Command Prompt is returned.
9. In the Command Prompt window, type the following command, and press Enter:

Command: nbstlutil stlilist -U

Observe the output of the command.

Note: The stlilist command option displays progress status for lifecycle-managed images and
copies.

10. Feel free to experiment further with the nbstlutil command as time permits.
11. Type exit to close the Command Prompt window on winmaster.example.com.
12. Close the connection to the winmaster.example.com system.

a. Right-click the Windows icon on the task bar.

b. Click the Shut down or sign out entry.

c. Click Sign out.

Exercise G: Restoring data from a replicated and imported image

In this exercise, you perform a restore of files from a replicated and imported image in the target NetBackup
domain. The backup image used for the restore operation is the backup image that was created of Windows-
based client data in the source NetBackup domain, and then replicated and imported to the target NetBackup
domain.

You will restore files from this imported and replicated image using the master server in the target
domain, lnxmaster.example.com.

In the following steps you, use the Backup, Archive, and Restore user interface launched from within
the NetBackup Administration Console on lnxmaster.example.com to perform a restore of client data that
was backed up to storage in the source domain (managed by winmaster.example.com), and then replicated
and imported into the target domain (managed by lnxmaster.example.com).

1. Access the desktop of the console.example.com system.


2. Access the open NetBackup Administration Console on console.example.com, that is
logged in to the master server, lnxmaster.example.com.
3. View the top entry in the left pane of the NetBackup Administration Console window, and
verify that the name lnxmaster.example.com is displayed, as illustrated below.
4. Click the Backup, Archive, and Restore entry, located near the top of the left pane of
the NetBackup Administration Console to access the Backup, Archive, and Restore user
interface.

The Backup, Archive, and Restore (BAR) user interface is displayed in the right pane of the
Administration Console.

5. Verify the Restore Files tab is selected in the right pane of the Administration Console window.
6. In the Administration Console window, select the Actions drop-down menu, and then click
the Specify NetBackup Machines and Policy Type entry in the menu.

The Specify NetBackup Machines and Policy Type window is displayed.

7. Enter the parameters from the table below in the fields of the Specify NetBackup Machines
and Policy Type window, and click OK.

Parameter Value

Server to use for backups and restores: lnxmaster.example.com

Source client for restores: console.example.com

Destination client for restores: console.example.com

Policy type for restores: MS-Windows

8. In the Administration Console window, select the Actions drop-down menu, click Set Date
Range in the menu, and then click Backup History.
9. In the Backup History window, click to select only the backup image that created using
the LAB04-AIR policy, and click OK to close the Backup History window.

NOTE: The backup image that was replicated and imported was generated from
the console.example.com Windows-based client using the LAB04-AIR policy.
The policies in this lab environment have a limited retention period. After the retention period is
over, the images are deleted from the backup media and are not available for restores. If you are
unable to find the required backup image, re-run the LAB04-AIR backup job as documented in
previous exercise and then resume this exercise.

10. Verify that the Restore type is set to: Normal Backups in the right pane of the Administration
Console window.
11. If a Keyword phrase is set from a previous lab exercise, reset it to <none>.
12. Note that the Directory Structure pane of the Backup, Archive, and Restore (BAR) user
interface contains an entry for console.example.com.
13. Click to expand entry for console.example.com in the Directory Structure pane, but do
not select the check box
14. Expand the E entry, displayed below the console.example.com entry in the Directory
Structure pane, but do not select the check box.
15. Expand the entry for the data directory, displayed below the E entry in the Directory
Structure pane, but do not select the check box.
16. Click the entry for the Doc_files folder, displayed below the data folder entry in the Directory
Structure pane, but do not click the check box.
The Contents of the selected directory pane displays the contents of the Doc_files folder.

17. Expand the Name column in the Contents of the selected directory pane, to view the full
names of the file in the folder.
18. Click the check box for the entry for the NetBackup_AdminGuidel_Server.pdf file, in
the Contents of selected directory pane, to mark the file only for restore.

19. Click the Restore button, located in the lower-right corner of the right pane of the
Administration Console window.

Note: You can also select Actions > Restore.

The Restore Marked Files window is displayed.

20. In the Restore Marked Files window, make the following selections:
o Select the radio button for Restore everything to a different location (maintaining
existing structure)
o In the Destination field, type the path, E:\data\replicated\Doc_files\
o Leave all other settings at their default values
Note: Although the destination folder, E:\data\replicated\Doc_files\, does not exist
on console.example.com, NetBackup will create it during the restore operation.

21. Click Start Restore to initiate the restore operation.

You may need to resize (shrink) the Restore Marked File window to view the Start Restore button
at the bottom of the window.

22. Click Yes in the View Progress dialog box, to view the progress of the restore operation.

Within a few moments the Task Progress tab is displayed.

23. View the progress of the Restore job until the restore operation is completed.
24. Verify that the restore operation was completed successfully.
o If the job completed successfully, go to the next step.
o If the restore failed, take note of any messages in the Task Progress tab that may indicate
why the job failed (you can view the Restore job in the Activity Monitor). Attempt to
resolve the issue, and re-try the restore operation. In problems persist, seek assistance.

25. Access the desktop of the console.example.com system.


26. Double-click the File Explorer shortcut on the desktop, to open a File Explorer window.
27. Navigate to E:\data\replicated\Doc_files directory in the File Explorer window.
28. Verify that the NetBackup_AdminGuideI_Server.pdf file has been restored to that directory, as
illustrated in the figure below.

29. Close the File Explorer window on console.example.com.

File > Close

30. Close any open NetBackup Administration Console windows on console.example.com.

File > Close

End of Lab 4

You might also like