Escolar Documentos
Profissional Documentos
Cultura Documentos
1:
Administration –
Lab Book
THIS PUBLICATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE
EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. VERITAS TECHNOLOGIES LLC
SHALL NOT BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE
FURNISHING, PERFORMANCE, OR USE OF THIS PUBLICATION. THE INFORMATION CONTAINED HEREIN
IS SUBJECT TO CHANGE WITHOUT NOTICE.
No part of the contents of this book may be reproduced or transmitted in any form or by any means
without the written permission of the publisher.
For specific country offices Veritas World Headquarters © 2017 Veritas Technologies LLC. All
rights reserved. Veritas and the Veritas
and contact numbers, please 500 East Middlefield Road
Logo are trademarks or registered
visit our website at Mountain View, CA 94043 USA
trademarks of Veritas Technologies LLC
www.veritas.com. +1 (650) 933 1000 or its affiliates in the U.S. and other
www.veritas.com countries. Other names may be
trademarks of their respective owners.
ii
Not for Distribution
Table of Contents
Exercise G: (Optional) Media state management using the command line ..............................9-91
Table of Contents v
In this lab, you perform tasks to become familiar with the NetBackup 8.1
Administration Console used in this lab environment. The slide lists the tasks that you
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise A: Identifying the lab delivery environment used for the class you
are attending .
Lab 1-1
Each of the lab environments that are used to deliver the labs of the course requires
slightly different steps to access and interact with the systems in the lab kit – varying
primarily in the startup of the lab kit systems.
Determine from your instructor and/or from your class registration material which
Veritas lab delivery environment is being used for this class. Then, click the appropriate
link below to access the introductory information for your lab kit:
• Click this link to go to Exercise B: Introduction to your Hatsize (VILT) lab kit.
• Click this link to go to Exercise C: Introduction to your VMware Workstation lab kit.
• Click this link to go to Exercise D: Introduction to your Nimbus/NextGen lab kit.
Lab 1-2
The Hatsize (VILT) lab environment is a Web-based lab environment that runs on a
VMware ESX platform.
When you register for the NetBackup 8.1: Administration course that is delivered as a
Virtual Instructor-Led Training (VILT) class, the registration information that you receive
will contain the information required to connect and login to the Hatsize (VILT) lab
portal.
In this exercise, you prepare and familiarize yourself with the Hatsize (VILT) lab
environment used in this NetBackup 8.1: Administration course.
When performing the lab activities of this course you must first choose whether you will
use:
OR
Time will not permit you to perform the labs using both Windows-based and
Linux-based systems.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-3
You have elected to perform the lab activities of this course using the Windows-based
NetBackup server systems, winmaster.example.com and winmedia.example.com.
The figure illustrates systems in the Windows-based lab environment for this course.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-4
In the lab kits for all Veritas Education Virtual Instructor-Led Training (VILT) classes, all
systems in the lab kits are powered on by default. Systems that are not required/not
may be powered off to conserve lab resources.
To power off the Linux-based NetBackup server systems (optional), perform the
following steps.
Great care must be used when powering off systems in the lab environment, as
powering off the wrong systems could render the lab environment inoperative.
a. In the Hatsize user interface, click the drop-down System arrow for the
lnxmaster system.
b. In the menu, click Shutdown.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-5
a. In the Hatsize user interface, click the drop-down System arrow for the lnxmedia
system.
b. In the menu, click Shutdown.
Lab 1-6
You have elected to perform the lab activities of this course using the Linux-based
NetBackup server systems, lnxmaster.example.com and lnxmedia.example.com.
The figure below illustrates systems in the Linux-based lab environment for this course.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-7
In the lab kits for all Veritas Education Virtual Instructor-Led Training (VILT) classes, all
systems in the lab kits are powered on by default. Systems that are not required/not
used may be powered off to conserve lab resources.
To power off the Windows-based NetBackup server systems (optional), perform the
following steps.
Great care must be used when powering off systems in the lab environment, as
powering off the wrong systems could render the lab environment inoperative.
a. In the Hatsize user interface, click the drop-down System arrow for the
winmaster system.
b. In the menu, click Shutdown.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-8
a. In the Hatsize user interface, click the drop-down System arrow for the
winmedia system.
b. In the menu, click Shutdown.
Lab 1-9
When attending an instructor-led (ILT) NetBackup 8.1: Administration class in which the
labs are delivered using VMware Workstation, you will use a physical Windows-based
workstation or laptop on which the lab kit for the course has been deployed.
Your instructor can answer questions you may have about using VMware Workstation.
In a VMware Workstation-based lab kit, the virtual machines that comprise the lab
environment for the course are powered off, by default. It will be necessary for either
the instructor or you to manually power up the systems in the order/sequence that is
defined in this exercise.
Before powering up the lab systems, you must first decide whether you will perform the
labs using...
OR
Time will not permit you to perform the labs using both Windows-based and
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Linux-based systems.
Lab 1-10
You have elected to perform the lab activities of this course using the Windows-based
NetBackup server systems, winmaster.example.com and winmedia.example.com.
The figure illustrates systems in the Windows-based lab environment for this course.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-11
When preparing for the labs, the virtual machines that comprise the lab kit must be
powered on manually.
1. Click the appropriate link below, depending on the current power state of the lab
systems.
̶ If the systems are already powered on (as indicated by your instructor), click the
link to go to Exercise E: Accessing remote lab systems.
̶ To power on the lab systems, continue to the next step.
2. Power on the systems of your lab kit, using the power on order/sequence described
in the table. The detailed instructions are provided in the table.
The systems must be powered on in the sequence and timing specified in the
table or you may experience problems when performing lab steps.
Lab 1-12
Lab 1-13
You have elected to perform the lab activities of this course using the Linux-based
NetBackup server systems, lnxmaster.example.com and lnxmedia.example.com.
The figure below illustrates systems in the Linux-based lab environment for this course.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-14
When preparing for the labs, the virtual machines that comprise the lab kit must be
powered on manually.
1. Click the appropriate link below, depending on the current power state of the lab
systems.
̶ If the systems are already powered on (as indicated by your instructor), click the
link to go to Exercise E: Accessing remote lab systems.
̶ To power on the lab systems, continue to the steps below.
2. Power on the systems of your lab kit, using the power on order/sequence described
in the table. The detailed steps are provided in the table.
The systems must be powered on in the sequence and timing specified in the
table or you may experience problems when performing lab steps.
Lab 1-15
Lab 1-16
When attending a class that uses the Nimbus/NextGen lab environment, you will access
your lab kit from a desktop or laptop system using a Web browser. Your instructor will
provide directions to enable you to access your lab kit.
In a Nimbus/NextGen-based lab kit, the virtual machines that comprise the lab
environment for the course are powered off, by default. It will be necessary for
either the instructor or you to manually power up the systems in the
order/sequence that is defined in this exercise.
Before powering up the lab systems, you must first decide whether you will perform the
labs using...
OR
Time will not permit you to perform the labs using both Windows-based and
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Linux-based systems.
Lab 1-17
You have elected to perform the lab activities of this course using the Windows-based
NetBackup server systems, winmaster.example.com and winmedia.example.com.
The figure illustrates systems in the Windows-based lab environment for this course.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-18
When preparing for the labs, the virtual machines that comprise the lab kit must be
powered on manually.
1. Click the appropriate link below, depending on the current power state of the lab
systems.
̶ If the systems are already powered on (as indicated by your instructor), click the
link to go to Exercise E: Accessing remote lab systems.
̶ To power on the lab systems, continue to the next page.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-19
a. In the Nimbus/NextGen user interface, locate and click the Power On All Virtual
Machines entry, located in the Power Controls for Entire Kit pane.
b. Monitor the startup of the lab kit systems until all systems have been started.
c. When the Power On Virtual Machines window displays the Close Window
button, click the button to close the window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-20
The detailed steps are provided below. (See the screenshot on the next page
for an illustration of the steps).
Lab 1-21
Lab 1-22
You have elected to perform the lab activities of this course using the Linux-based
NetBackup server systems, lnxmaster.example.com and lnxmedia.example.com.
The figure below illustrates systems in the Linux-based lab environment for this course.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-23
When preparing for the labs, the virtual machines that comprise the lab kit must be
powered on manually.
1. Click the appropriate link below, depending on the current power state of the lab
systems.
̶ If the systems are already powered on (as indicated by your instructor), click the
link to go to Exercise E: Accessing remote lab systems.
̶ To power on the lab systems, continue to the next page.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-24
The Nimbus/NextGen user interface enables the boot up of all systems (virtual
machines) to be initiated with a single mouse click. The systems in the lab kit
are powered on in a pre-determined “boot order”.
a. In the Nimbus/NextGen user interface, locate and click the Power On All Virtual
Machines entry, located in the Power Controls for Entire Kit pane.
b. Monitor the startup of the lab kit systems until all systems have been started.
c. When the Power On Virtual Machines window displays the Close Window
button, click the button to close the window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-25
The detailed steps are provided below. (See the screenshot on the next page
for an illustration of the steps).
Lab 1-26
Lab 1-27
The lab activities of this course have been written so that most tasks are performed
from the desktop of the console.example.com system.
• Option 1 - Hatsize (VILT) and VMware Workstation (ILT): Access the tab for the
system that is provided by the HatSize (VILT) and VMware Workstation (ILT) user
interfaces. The Nimbus/NextGen (ILT) user interface does not provide tabs to access
the virtual machine desktops.
• Option 1 – Nimbus/NextGen: To directly access the desktops of lab systems in
Nimbus/NextGen you must RDP or PuTTY to the systems using the IP address that is
provided on the Nimbus/NextGen user interface.
• Option 2: Remotely access a system from the console.example.com system:
̶ Accessing Linux-based systems: When a task requires access to a Linux-based
system, you can open a remote shell (SSH) to the Linux-based host from the
console system using PuTTY.
̶ Accessing Windows-based system: When a task requires access to the desktop
of a Windows-based system, you can access that system using a Remote
Desktop (RDP) connection from the console.example.com system.
1. To view the instructions to use option 2 (remotely access your NetBackup master
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
2. After testing the ability to use PuTTY or Remote Desktop (RDP) to access the master
server of your lab kit, click the link to continue to Exercise F: Launching the
NetBackup Administration Console.
Lab 1-28
The steps of this exercise will fail if you previously have powered off the
lnxmaster.example.com system. This is expected behavior – do not attempt to
connect to lnxmaster.example.com. If you are using the Windows-based
master server, winmaster.example.com, go to Exercise E-2: Connecting to a
remote Windows-based system with RDP.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. Double-click the Putty shortcut that is located in the REMOTE SYSTEM ACCESS
folder, as highlighted in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-29
5. Locate and double-click the pre-configured entry for the Linux-based system that
you wish to connect to, such as lnxmaster.example.com.
6. Within a moment a PuTTY window is displayed that will enable you to log in to the
selected Linux-based system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. When you have completed the tasks on the remote Linux-based system, close the
PuTTY window.
After testing the ability to use PuTTY to access the command prompt on the master
server of your lab kit (lnxmaster.example.com), click the link to continue to Exercise
F: Launching the NetBackup Administration Console.
Lab 1-30
The steps of this exercise will fail if you previously have powered off the
winmaster.example.com system. This is expected behavior – do not attempt to
connect to winmaster.example.com. If you are using the Linux-based master
server, lnxmaster.example.com, continue to Exercise E-1: Connecting to a
remote Linux-based system with PuTTY.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. Locate and double-click the RDP Profiles (Windows systems) sub-folder, located in
the REMOTE SYSTEM ACCESS folder, to open the folder.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment, as illustrated below.
Lab 1-31
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
7. When you have performed the desired tasks on the remote Window-based system
log out (Sign out) of the system to close the RDP session.
After testing the ability to use Remote Desktop (RDP) to access the desktop of the
master server of your lab kit (winmaster.example.com), click the link to continue to
Exercise F: Launching the NetBackup Administration Console.
Remote Desktop (RDP) can be used to access the desktop of any Windows-
based system in your lab kit (winmaster.example.com,
winmedia.example.com, vcenter2.example.com, and winvm1.example.com)
from the console.example.com system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-32
In this exercise, you perform the steps to launch the NetBackup 8.1 Administration
Console and login to your master server system.
Lab 1-33
In this exercise you will locate, launch, and log into the NetBackup Administration
Console for a master server.
Lab 1-34
For a Windows-based master server (only) you may use Active Directory
credentials to log in to the NetBackup Administration Console by marking the
“Use Active Directory login credentials” check box on the login screen. Actions
that can be performed by a user are dependent on the user permissions that
are configured in NetBackup.
The NetBackup Administration Console window title bar contains the host
name of the NetBackup master server that you have logged in to, and the
NetBackup software version running on that system.
The name of the NetBackup server you are connected to is indicated at the top of
the left pane of the Administration Console. See the figure below for an example.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-35
7. Take note of the My Recent Login Activity information that is displayed. See the
figure below for an example.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Login Activity information was added in the 8.0 version of the NetBackup
Administration Console.
Lab 1-36
• Identify the general NetBackup Administration Console layout for a master server.
• Verify NetBackup licenses in the NetBackup Administration Console.
• Verify NetBackup licenses using the NetBackup command line.
Lab 1-37
In the steps that follow, you locate and identify the tasks the can be performed using
the NetBackup Administration Console by viewing the layout of the user interface.
1. Collapse all entries in the left pane of the Administration Console – so that a
minimum number of entries are displayed.
2. Take note of the entries listed in the “tree” in the left pane.
4. Click the symbol to the left of the NetBackup Management entry in the left pane of
the Administration Console to expand the NetBackup Management entry.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Take note of the entries listed below the NetBackup Management entry. These
functions and categories are listed in the table below.
Reports
Policies
Storage
Catalog
Host Properties
Applications
6. Click the name of the master server, located at the top of the left pane of the
Administration Console. (This is the entry immediately above the Backup, Archive,
and Restore entry.)
Lab 1-38
Getting Started
Configure Storage Devices
Configure Disk Storage Servers
Configure Cloud Storage Server
Configure Disk Pool
Configure Volumes
Configure the Catalog Backup
Create a Policy
Recover the catalogs
Lab 1-39
In this training course, NetBackup evaluation licenses are used to enable all
NetBackup functionality for a limited period of time.
In the steps that follow you use the NetBackup Administration Console to view the
license key on the master server only.
Lab 1-40
In the steps that follow, you use the NetBackup Administration Console to view the
NetBackup license on your master server system.
3. In the NetBackup Administration Console window, verify that you are connected to
your preferred master server, winmaster.example.com or lnxmaster.example.com.
4. Click the Help button on the tool bar of the Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Click License Keys in the resulting menu. See the figure below for an example.
Lab 1-41
7. With the Base NetBackup license key entry highlighted, click the Properties button.
8. In the Properties window, scroll down to locate the Host, Valid, and Expiration
license key fields (the fields are not adjacent to one another).
9. Verify that the Base NetBackup license for the master server system does not expire
before the end of this training class.
Lab 1-42
In the steps that follow, you use the NetBackup-provided bpminlicense command to
view NetBackup licenses on your master and media server systems.
4. At the Command Prompt on your master server, execute the following command to
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
list the NetBackup license or licenses for your master server system:
6. Repeat the bpminlicense command, using the verbose command option, as shown
below.
7. Take note of the expiration date and the features that are enabled by the license.
Lab 1-43
8. At the Command Prompt on your master server, execute the following command to
list the NetBackup license or licenses for your media server system:
Command:
bpminlicense –list_keys –M winmedia.example.com
-verbose
or
Command:
bpminlicense –list_keys –M lnxmedia.example.com
-verbose
9. Take note of the expiration date and the features that are enabled by the license key
for your media server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
10. Close the Command Prompt window on your master server system, and log out of
the system (if necessary).
Lab 1-44
In this exercise, you perform tasks to become familiar with the layout and common
functions of the NetBackup Administration Console. Key tasks in this exercise include:
Lab 1-45
In the steps that follow you locate and identify many of the configuration-related tasks
that are performed using the NetBackup Administration Console.
2. Verify that the Administration Console is connected to your master server system.
Lab 1-46
In the steps that follow, you locate and identify the NetBackup storage units that have
been pre-configured in the lab environment for this course.
1. Click to expand Storage, located under NetBackup Management in the left pane of
the NetBackup Administration Console. The results are illustrated in the figure
below.
The storage units that are currently configured in your NetBackup environment are
displayed in the right pane of the Administration Console.
3. Click the first (top) Storage Unit entry that is listed in the right pane.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The column width will automatically be resized to make the contents more readable.
This option is available for most information presented as tables in the NetBackup
8.1 Administration Console. Feel free to experiment with this option throughout the
labs.
The Size to Data option is only available after you have selected an object in
the right pane of the console.
Lab 1-47
Storage Unit Name Media Server Storage Unit Type Disk Type
master_tape_stu xxxmaster.example.com Media Manager n/a
master_bdisk_stu xxxmaster.example.com Disk BasicDisk
master_advdisk_stu xxxmaster.example.com Disk AdvancedDisk
master_msdp_stu xxxmaster.example.com Disk PureDisk
Lab 1-48
In the steps that follow, you view the types and categories of Host Property settings
that are available for NetBackup master servers, media servers, and clients.
1. Expand the Host Properties entry, located under NetBackup Management in the left
pane of the Administration Console. The figure below illustrates the results.
The right pane of the Administration Console displays a master server entry.
3. Click the entry for the master server in the right pane of the Administration Console.
4. In the tool bar of the Administration Console, select Actions and then Properties.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Master Server Properties window for your master server is displayed.
When you click on a Properties category in the left pane of the Master Server
Properties window, the right pane of the window displays the parameters that
can be configured for that Properties category.
Lab 1-49
For now, do not change any of the Global Attributes parameter settings.
7. Click the Retention Periods entry in the left pane of the Master Server Properties
window.
8. Take note of the default Retention Periods that are associated with each standard
(default) NetBackup Retention Level.
A Retention Period is the amount of time that a backup image is retained (from
the time it was created) until it is expired. Each Retention Level is assigned a
Retention Period.
For now, do not change any of the Retention Periods parameter settings.
9. Click the Media entry in the left pane of the Master Server Properties window.
11. Take a few minutes to browse through other Master Server Properties categories
before continuing to the next step of this lab activity.
12. Click the Properties entry, located at the top of the left pane of the Master Server
Properties window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-50
14. Click the Media Servers entry, located under Host Properties in the left pane of the
Administration Console window.
The right pane of the Administration Console displays a list of media servers that
exist in your NetBackup environment, as illustrated in the figure below.
The right pane of your Administration Console contains two entries – one for your
master/media server, and another for your media server – as illustrated in the figure
above.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
15. Double-click the entry for your media server, located in the right pane of the
Administration Console – based upon your preferred operating system. See the table
below.
Lab 1-51
16. Click the Properties entry, located at the top of the left pane of the Media Server
Properties window.
The left pane of the Media Server Properties window lists the Properties categories,
as illustrated in the figure below.
The contents of the right pane of the Media Server Properties window varies,
depending upon the Properties category that is selected in the left pane.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
17. Browse the Media Server Properties categories before continuing to the next step.
18. Click the Properties entry, located at the top of the left pane of the Media Server
Properties window.
Lab 1-52
21. Click the Clients entry, located under Host Properties in the left pane of the
Administration Console.
22. Double-click the entry for one of the clients (any client) that is listed in the right
pane of the Administration Console.
23. Click the Properties entry, located at the top of the left pane of the Client Properties
window.
The figure below illustrates Properties categories that are visible in the Client
Properties window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
For now, do not change any of the parameter settings in the Client Properties.
Lab 1-53
In the steps that follow, you locate and identify the NetBackup policies that have been
pre-configured for this course, and view the general characteristics of a policy.
1. Click Policies, located under NetBackup Management in the left pane of the
NetBackup Administration Console.
The policies that have been pre-configured on the master server for this lab
environment are displayed in the All Policies pane, as illustrated in the figure at the
top of the next page.
3. Take note of the policy components that are displayed under the entry for the PRE-
clients-to-master-bdisk policy.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Policy components
Attributes
Schedules
Clients
Backup Selections
4. Double-click the entry for the PRE-clients-to-master-bdisk policy, located in the All
Policies pane, to open the policy.
The Change Policy window is opened to enable viewing and editing of the PRE-
clients-to-master-bdisk policy.
Lab 1-54
6. Take note of the large number of parameters provided in the Attributes tab,
including: Policy type, Policy storage, Policy volume pool, and many others.
7. Click the Schedules tab in the Change Policy window of the PRE-clients-to-master-
bdisk policy.
8. Take note of the schedule name and schedule type of each schedule that is listed in
the Schedules tab of the policy.
9. Click the Clients tab in the Change Policy window of the PRE-clients-to-master-bdisk
policy.
10. Take note of the client name, hardware, and operating system of each client that is
listed in the Clients tab of the policy.
11. Click the Backup Selections tab in the Change Policy window of the PRE-clients-to-
master-bdisk policy.
12. Take note of the entries that are listed in the Backup Selections tab of the policy.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
For now, do not modify the contents of the Backup Selections tab.
13. Click Cancel to close the Change Policy window without making modifications to the
PRE-clients-to-master-bdisk policy.
14. Take a few minutes to browse the other policies that have been pre-configured in
the lab environment.
Lab 1-55
In the steps that follow, you locate and identify many of the device and media related
operations that are performed using the Media and Device Management branch of the
NetBackup Administration Console.
NetBackup Devices
In the steps that follow you locate and identify the NetBackup devices and media that
have been pre-configured in the lab environment for this course.
1. Expand Media and Device Management in the left pane of the NetBackup
Administration Console. The figure below illustrates the results.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
2. Expand the Devices entry, located under Media and Device Management.
The entries listed under Devices are Drives, Robots, Media Servers, Server Groups,
SAN Clients, Topology, and Disk Pools.
Lab 1-56
The Drives entry is located under Media and Device Management > Devices.
4. Review and confirm that the information for the tape drives listed in the right pane
of the Administration Console matches the information in the table below.
NetBackup Robots
5. Click the Robots entry, located under Media and Device Management, in the left
pane of the NetBackup Administration Console.
The tape robot (robotic arm) that is pre-configured in this NetBackup environment is
listed in the right pane of the Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Confirm that the information for the robot listed in the right pane of the
Administration Console matches the information in the table below.
The robot identified in the previous step was pre-configured for this course. By
default, robots are not configured in NetBackup.
Lab 1-57
In the steps that follow, you view the NetBackup Device Monitor.
1. Click the Device Monitor entry, located in the left pane of the Administration
Console. The figure below illustrates the results.
The Device Monitor provides two tabs – the Drives tab and the Disk Pool tab.
When the Drives tab is selected, the right pane displays entries for all configured
tape drives. The drive entries contain drive status and configuration information.
2. If the tape drives displayed in the right pane are UP (as indicated by a green,
upward-pointing arrow), continue to Exercise I-9: NetBackup Media.
If one or both of the tape drives displayed in the right pane of the Administration
Console is DOWN (indicated by a downward-pointing, red arrow), take the
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-58
The steps that follow document the procedure for bringing tape drives to the UP state
on the Windows-based NetBackup server, winmaster.example.com.
2. Expand Media and Device Management in the left pane of the Administration
Console window (if necessary), and then click the Device Monitor entry.
5. Repeat the previous step for any additional tape drive that is currently DOWN.
6. Select the Refresh icon on the Administration Console tool bar to refresh the
contents of the right pane.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
It may take several moments for the status icon for the tape drive(s) to change.
It may be necessary to repeat the Refresh operation one or two additional
times before the updated status of the tape drive(s) is displayed.
Lab 1-59
There are a number of reasons that the tape drive(s) may not be brought UP
using the Administration Console. This is often due to the timing of the startup
of the virtual machines in the lab environment and is not a cause for alarm.
If the status of one or both tape drives is still DOWN (indicated by a red,
downward-pointing arrow), continue to the next steps.
10. Double-click the Command Prompt shortcut, located on the desktop to open a
Command Prompt window.
11. In the Command Prompt window, type the scan command, and press Enter.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Command: scan
The NetBackup-provided scan command displays the tape devices that are
visible to NetBackup at the operating system level. If no devices are listed in
the output of the scan command, then reboot the winmaster.example.com
system.
Lab 1-60
13. When the system has been restarted, access the Command Prompt and repeat the
scan command.
If no devices are displayed in the output of the scan command, seek assistance.
If two tape drives and a media changer (robot) are displayed in the output of
the scan command, continue to the next step.
14. In the Command Prompt window, type the tpconfig command using the command
syntax shown below, and press Enter.
Command: tpconfig -d
15. In the output of the tpconfig command, take note of the tape drive ID the STATUS of
the tape drives, and any additional messages that may be displayed about the
devices.
16. If the tape drives are DOWN, but there are no additional error messages displayed
for the drives, complete steps 17-20.
If there is an error message indicating a MISSING PATH for the tape drives, continue
to "Stopping and Starting the NetBackup services", on winmaster.example.com, on
the next page.
Lab 1-61
18. In the Command Prompt window, type the vmoprcmd command to bring the
second tape drive UP, using the command syntax shown below, and press Enter.
19. In the Command Prompt window, type the tpconfig command using the command
syntax shown below, and press Enter.
Command: tpconfig -d
20. View the STATUS of the tape drives in the output of the tpconfig command, and
verify that the drives have a status of UP.
21. If the STATUS of the tape drives is now UP, continue to Exercise I-9: NetBackup
Media.
If the tape drives are still DOWN, continue to the next step.
status, it may be necessary to stop and restart the NetBackup services on the NetBackup
server system (in this case, winmaster.example.com).
22. In the Command Prompt window, type the bpdown command, using the command
syntax shown below, and press Enter.
Command: bpdown –v -f
Lab 1-62
24. In the Command Prompt window, type the bpps command, using the command
syntax shown below, and press Enter.
Command: bpps
25. In the output of the bpps command, verify that all the NetBackup services have
been stopped.
26. In the Command Prompt window, type the bpup command, using the command
syntax shown below, and press Enter.
Command: bpup –v -f
27. Wait for the Command Prompt to be returned before continuing. It may take a
minute or more for the command execution to be completed.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
28. In the Command Prompt window, type the bpps command, using the command
syntax shown below, and press Enter.
Command: bpps
29. View the output of the bpps command, and verify that the NetBackup services have
been restarted on the master server, winmaster.example.com.
Lab 1-63
31. In the Command Prompt window, type the tpconfig command, and press Enter.
Command: tpconfig -d
32. View the output of the tpconfig command and verify that the tape drives have a
STATUS of UP.
If the tape drives are not UP, as indicated in the output of the tpconfig
command, notify your instructor. Do not continue the lab activity until the tape
drives are UP.
34. Log in (if necessary) to console.example.com using the credentials provided above.
35. Locate and double-click the NetBackup 8.1 Administration Console shortcut,
located on the desktop of console.example.com.
36. In the Administration Console login window, log in to your master server.
Lab 1-64
38. Click the Device Monitor entry in the left pane of the Administration Console.
39. Verify that the tape drives are in the UP state, as indicated by green, upward-
pointing arrows next to each of the tape drive entries.
40. If the status of one or both tape drives is DOWN, seek assistance.
Lab 1-65
The steps that follow document the procedure for bringing tape drives to the UP state
on the Linux-based NetBackup server, lnxmaster.example.com.
2. Expand Media and Device Management in the left pane of the Administration
Console window (if necessary), and then click the Device Monitor entry.
4. Repeat the previous step for any additional tape drive that is currently DOWN.
5. Select the Refresh icon on the Administration Console tool bar to refresh the
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
You could also select View > Refresh, or the Refresh icon on the Administration
Console tool bar or press the F5 key.
It may take several moments for the status icon for the tape drive(s) to change.
It may be necessary to repeat the Refresh operation one or two additional
times before the updated status of the tape drive(s) is displayed.
If the tape drive status of both tape drives is now UP (indicated by a green, upward-
pointing arrow), continue to Exercise I-9: NetBackup Media.
Lab 1-66
If the status of one or both tape drives is still DOWN (indicated by a red, downward-
pointing arrow), continue with the lab steps to bring a tape drive UP using the
NetBackup Command Line (CLI).
To do so, locate and double-click the REMOTE SYSTEM ACCESS folder, located
on the desktop of console.example.com, to open the folder. Double-click the
Putty entry, in the REMOTE SYSTEM ACCESS folder. Next, in the PuTTY
Configuration window, double-click the entry for lnxmaster.example.com.
9. In the lnxmaster PuTTY window, type the scan command, and press Enter.
Command: scan
The NetBackup-provided scan command displays the tape devices that are
visible to NetBackup at the operating system level.
Lab 1-67
When the system has been restarted, access the PuTTY (root@lnxmaster)
window and repeat the scan command. If no devices are displayed in the
output of the scan command, notify your instructor.
If two tape drives and a media changer (robot) are displayed in the output of the
scan command, continue to the next step.
11. In the PuTTY window, type the tpconfig command using the command syntax shown
below, and press Enter.
Command: tpconfig -d
12. In the output of the tpconfig command, take note of the tape drive ID (displayed in
the left column of the command output)
The STATUS of the tape drives, and any additional messages that may be
displayed about the devices.
13. If the tape drives are DOWN, but there are no additional error messages displayed
for the drives, complete steps 14-17 that follow.
If there is an error message indicating a MISSING PATH for the tape drives, continue
to "Stopping and Restarting the NetBackup services" on the next page.
Lab 1-68
15. In the PuTTY window, type the vmoprcmd command to bring the second tape drive
UP, using the command syntax shown below, and press Enter.
16. In the PuTTY window, type the tpconfig command using the command syntax shown
below, and press Enter.
Command: tpconfig -d
17. View the STATUS of the tape drives in the output of the tpconfig command, and
verify that the drives have a status of UP.
If the STATUS of the tape drives is now UP, continue to Exercise I-9: NetBackup Media.
If the tape drives are still DOWN, continue to the next lab steps to stop and restart
NetBackup.
status, it may be necessary to stop and restart the NetBackup services on the NetBackup
server system (in this case, lnxmaster.example.com).
18. In the lnxmaster PuTTY window, type the netbackup command, using the command
syntax shown below, and press Enter.
Lab 1-69
20. In the PuTTY window, type the bpps command, using the command syntax shown
below, and press Enter.
Command: bpps -a
21. In the output of the bpps command, verify that all the NetBackup processes have
been stopped.
22. In the PuTTY window, type the netbackup command, using the command syntax
shown below, and press Enter.
23. Wait for the command prompt to be returned before continuing. It may take a
minute or more for the command execution to be completed.
24. In the PuTTY window, type the bpps command, using the command syntax shown
below, and press Enter.
Command: bpps -a
25. View the output of the bpps command, and verify that the NetBackup processes
have been restarted on the master server.
Lab 1-70
27. In the PuTTY window, type the tpconfig command using the command syntax shown
below, and press Enter.
Command: tpconfig -d
28. View the output of the tpconfig command and verify that the tape drives have a
STATUS of UP.
If the tape drives are not UP, as indicated in the output of the tpconfig
command, notify your instructor. Do not continue the lab activity until the tape
drives are UP.
30. Log in (if necessary) to console.example.com using the credentials provided above.
31. Locate and double-click the NetBackup 8.1 Administration Console shortcut,
located on the desktop of console.example.com.
32. In the Administration Console login window, log in to your master server,
lnxmaster.example.com, using the Username, root, and the password, train.
33. Expand the Media and Device Management Entry in the left pane of the
Administration Console window.
Lab 1-71
35. Verify that the tape drives are in the UP state, as indicated by green, upward-
pointing arrows next to each of the tape drive entries.
36. If the tape drives are not UP, notify your instructor.
37. If the status of one or both tape drives is DOWN, seek assistance.
Lab 1-72
In the steps that follow, you view the media-related items and tasks that are available
under the Media branch of the NetBackup Administration Console.
1. Expand the Media entry, located under Media and Device Management in the left
pane of the Administration Console. The figure below illustrates the results.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The list of tapes that are currently configured in NetBackup is displayed in the right
pane of the Administration Console.
Lab 1-73
4. Click the Volume Pools entry in the left pane of the Administration Console.
Detailed information about the default volume pools is displayed in the right pane of
the Administration Console, as illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-74
In this exercise, you use pre-configured policies to initiate manual backup jobs that write
backup images to pre-configured storage unit destinations.
Lab 1-75
In the steps that follow, you use the NetBackup Administration Console to initiate
backup jobs using pre-configured policies.
4. The list of policies that were pre-configured for this course is displayed in the All
Policies pane at the center of the Administration Console user interface, as
illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Click the entry for the PRE-clients-to-master-advdisk policy entry, and then, from
the Actions menu, select Manual Backup.
You can also right-click the policy name, and click Manual Backup in the
resulting menu.
Lab 1-76
In this example, a single schedule is listed in the Schedules list, and two client names
are listed in the Clients list of the Manual Backup window.
6. In the Manual Backup window, click the OK button without making a Client
selection.
By not selecting a specific client entry in the Manual Backup window and
clicking OK, a backup job is initiated for each client that is listed in the Clients
tab of the policy.
Proceed to Exercise K: Viewing and monitoring backup jobs using the Activity
Monitor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-77
In the next steps, you access and use the NetBackup Activity Monitor to view the
progress of a backup job.
Lab 1-78
In this exercise, you will use the NetBackup Activity Monitor to view the progress of a
manual backup job.
1. Click the Activity Monitor entry in the left pane of the NetBackup Administration
Console.
The right pane displays the Activity Monitor that displays entries for jobs of all types
that have been performed recently.
By default, the Activity Monitor lists the jobs in descending numerical order,
with the most recent jobs listed first (at the top of the list).
If you click the heading of the Job ID column of the Activity Monitor, you can
change the order in which the jobs are listed. Click once to change the listing to
list jobs in ascending order – from oldest to newest. Click the Job ID column
heading again to change the job listing to descending order.
As a result of the manual backup that you initiated in the previous exercise of this
lab activity, two backup jobs were performed. These jobs are the most recent jobs
(have the highest-numbered Job IDs) listed in the Activity Monitor display.
In addition to Backup jobs, Image Cleanup jobs may also be displayed. The
Image Cleanup job type is described in more detail later in this course.
The figure below illustrates the type of entries you should see in the Activity
Monitor for the backup jobs you performed.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
2. Take note of the job Type, State, Status, Job Policy, Job Schedule, and Client
information related to each of the backup jobs that were performed.
It is necessary to scroll to the right in the Activity Monitor to see some of the
information relating to the backup jobs.
Lab 1-79
5. Double-click the entry for either of the backup jobs that were just performed – to
view detailed information about the job.
You can also access the Job Details by clicking on the entry for the job, and
then selecting Actions > Details.
The Job Details window contains three tabs – the Job Overview, Detailed
Status, and Job Hierarchy tabs.
6. Take a moment to browse the contents of the Job Details window – including the
Job Overview, Detailed Status, and Job Hierarchy tabs.
8. If time permits, you may use the pre-configured policies to perform additional
backup operations and monitor the results using the Activity Monitor.
You have completed all the intended steps for this lab activity.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 1-80
In this lab, you use the NetBackup Administration Console to configure a NetBackup
BasicDisk storage unit and a storage unit group.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 2-1
In this exercise, you use tools provided by the operating system to view disk storage that
resides on your master server system.
Continue to the Exercise A-2: Viewing disk storage on a NetBackup Linux-based master
server system if you are performing this lab on a Linux system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 2-2
In this exercise, you connect to a remote Windows-based master server lab systems and
then review the disk storage information.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment.
3. Right-click on the REMOTE SYSTEM ACCESS folder then select Open from the
shortcut menu.
4. In the REMOTE SYSTEM ACCESS folder, right-click the RDP Profiles (Windows
systems) folder and select Open.
5. In the RDP Profiles (Windows systems) folder, right-click the RDP file,
(winmaster.rdp) and select Connect.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Log on to your master server using the credentials provided in the table below.
Lab 2-3
8. Take note of the disk volumes that are configured on this NetBackup server system.
Many of these have been configured in preparation for use as storage destinations
for NetBackup backup images. Take note specifically of the disk volume F:\ drive,
labelled as BASICDISK (F:).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 2-4
In this exercise, you connect to a remote Linux-based master server system using the
PuTTY shortcut located in the REMOTE SYSTEM ACCESS folder on the console system,
and then review the disk storage information.
4. To connect to the Linux-based lab system, right-click the PuTTY shortcut and select
Open.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmaster.example.com.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Log on to your Linux master server using the credentials provided in the table below.
Lab 2-5
Command: df -h
The output of the command is similar to that illustrated in the figure below.
The output of the command identifies the file systems and their associated
mount points on the lnxmaster system. Many of these file systems were pre-
configured to serve as storage destinations for NetBackup backup images.
8. Take note of the /dev/sda6 file system, and its associated mount point, /bdisk.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 2-6
In this exercise, you view basic disk storage unit settings associated with your master
server system. You then view disk storage associated with your media server. Lastly,
you create a disk storage unit associated with your media server system.
Lab 2-7
In this exercise, you log into the NetBackup Administration Console and view existing
BasicDisk storage unit settings.
4. View the top entry in the left pane of the Administration Console window to verify
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
that you are connected to your master server. See the figure below.
Lab 2-8
6. Locate and expand the Storage entry, located under NetBackup Management in the
left pane of the Administration Console.
7. Click Storage Units, located under Storage in the left pane of the Administration
Console.
The right pane of the Administration Console displays the list of storage units that
have been pre-configured for this course, as illustrated in the figure below. All the
pre-configured storage units are associated with storage devices associated with
your master server (winmaster.example.com or lnxmaster.example.com).
8. Double-click the entry for the master_bdisk_stu to open the storage unit.
The Change Storage Unit window is opened, and displays the configuration settings
associated with the selected storage unit.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 2-9
9. Click Cancel to close the Change Storage Unit window without making changes to
the storage unit configuration.
If you are performing this lab on a Windows system, continue to the Exercise B-2:
Viewing a BasicDisk storage unit on a NetBackup Windows-based media server
system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
If you are performing this lab on a Linux system, continue to the Exercise B-3:
Viewing a BasicDisk storage unit on a NetBackup Linux-based media server system.
Lab 2-10
In this lab exercise you will connect to a remote Windows-based media server system
using Remote Desktop. An RDP profile for the system is located in the REMOTE SYSTEM
ACCESS folder on the console.example.com. Then, you review the disk storage
information on that system.
3. Locate and right-click the REMOTE SYSTEM ACCESS folder and select Open.
4. Right-click the RDP Profiles (Windows system) folder and select Open.
5. When the RDP Profiles (Windows system) folder is opened, right-click the
winmedia.rdp file, the select Connect.
Within a moment a Windows Security window is displayed, that will enable you to
log in to winmedia.example.com.
6. Log on to your Windows-based media server using the credentials provided in the
table below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 2-11
8. Take note of the information associated with the disk drive (drive letter) that has
been configured for use as the destination for BasicDisk backups. The names of the
disk volumes should enable you to identify the correct drive.
9. Use the File Explorer to view the contents of the drive listed in the table above, to
verify that the drive currently contains no data files or directories.
The disk drive or file system that is the target for a NetBackup disk-based
storage unit (such as Basic Disk or AdvancedDisk) should not be used to store
non-NetBackup data.
Lab 2-12
In this lab exercise you will connect to a remote Linux-based media server lab systems
and then review the disk storage information.
3. Locate and right-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, then select Open.
5. From the Saved Sessions pane select the entry for lnxmedia.example.com then click
Open.
6. Log on to your Linux-based media server using the credentials provided in the table
below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Command: df -h
Lab 2-13
The names of the mount points should enable you to identify the mount point
that is configured for use as BasicDisk storage.
9. Use the ‘ls’ command to view the contents of the mount point you listed in the
table above, to verify that the drive or file system currently contains no data files or
directories.
Command: ls -l /bdisk
The disk drive or file system that is the target for a NetBackup disk-based
storage unit (such as Basic Disk or AdvancedDisk) should not be used to store
non-NetBackup data.
Lab 2-14
In the steps that follow, you use the NetBackup Administration Console to configure a
Basic Disk Storage Unit associated with your media server system (either
winmedia.example.com or lnxmedia.example.com).
3. Expand NetBackup Management and select Storage Units in the left pane of the
Administration Console.
4. Select Actions and then select the option to create a new Storage Unit in the
Administration Console tool bar.
Lab 2-15
Select the storage unit parameters based on you preferred Operating System. If
you are using winmaster.example.com as your master server, use the
Windows-based parameters. If you are using lnxmaster.example.com as your
master server, use the Linux-based parameters.
7. Verify that the new media_bdisk_stu storage unit is visible in the list of storage units
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Your storage unit results should be similar to those illustrated in the figure below.
Lab 2-16
In this lab, you will use the NetBackup Administration Console to create a storage unit
group.
Lab 2-17
In this exercise, you log into the NetBackup Administration Console and create a
storage unit group.
2. Navigate to Storage Unit Groups under NetBackup Management in the left pane of
the Administration Console.
With the Storage Unit Groups entry selected, the right pane of the Administration
Console displays any storage unit groups that have been configured.
3. Select Actions and then create a new Storage Unit Group in the Administration
Console tool bar.
4. Use the parameters provided in the table below to configure the new storage unit
group.
Lab 2-18
6. Verify that the bdisk-tape_stugroup entry has been added to the list of storage unit
groups displayed in the right pane of the Administration Console.
Lab 2-19
In this lab, you use the NetBackup Administration Console to configure NetBackup
policies and schedules to perform backups of client file systems to pre-configured
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 3-1
In this exercise, you will use the NetBackup Administration Console to manually
configure a policy to perform both full and incremental backups of a client’s file
systems.
Lab 3-2
2. If necessary, log on to the console system using the userid and password,
EXAMPLE\Administrator, train.
4. View the top entry in the left pane of the Administration Console window to verify
that you are connected to your master server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 3-3
1. From the NetBackup Administration Console select the Policies entry, located
under NetBackup Management in the left pane.
1. From the All Policies pane, right-click in the white area and select New Policy.
2. Type the name of the new policy, LAB03-clients-to-master-bdisk, in the Policy name
field of the Add a New Policy dialog box.
3. Click OK to continue.
The Add a New Policy dialog box is closed, and the LAB03-clients-to-master-bdisk
policy is opened in the Change Policy window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 3-4
This policy will be used to back up the clients that reside on your master and media
server systems respectively, as identified in the table below.
1. Use the values from the appropriate column of the table below (based on your OS
preference), and enter the parameters in the Attributes tab of the policy.
The operating system of the client is what dictates the Policy type selected in
the Policy. UNIX and Windows clients should not share the same policy.
2. Review the changes you have made to the policy Attributes and verify that they are
configured as intended (based on the table above).
Lab 3-5
2. When the Schedules tab contents are displayed, click New to create a new schedule.
3. Enter the values for the schedule in the Attributes, Start Window, and Exclude
Dates tabs of the schedule, as indicated in the table below.
5. Verify that an entry for the full_frequency schedule is visible in the list of schedules
displayed in the Schedules tab.
The figure on the next page illustrates the entry for the full_frequency schedule.
Lab 3-6
7. Enter the values for the schedule in the Attributes, Start Window, and Exclude
Dates tabs, as indicated in the table below.
Retention 2 weeks
All other schedule Attribute parameters: Use default settings
Start Window parameter Setting
Start day: Use tomorrow’s day (e.g. Tuesday)
Start time: 22:00:00 (10PM)
End day: Tomorrow’s day +1: (e.g. Wednesday)
End time: 00:00:00 (midnight)
All other Start Window parameters: Use default settings
Exclude Dates parameter Setting
All Exclude Dates parameter Use default settings
Lab 3-7
The figure below illustrates entries for the full_frequency and diffincr_frequency
schedules.
You can hold the SHIFT key down and select both schedules to see a graphical
representation of both the start windows.
The colored lines (representing the start windows for various types of
schedules) in the top half of the Schedules tab may not initially appear when
you save the schedule. Click the Attributes tab, and then immediately return to
the Schedules tab. The colored lines should now be visible.
Lab 3-8
1. Double-click the entry for the diffincr_frequency schedule (or click the entry for the
schedule and then click Change), to open the schedule.
2. Click the Start Window tab of the schedule. The figure below illustrates the current
Start Window settings for the schedule.
Lab 3-9
Hint: You can use the Duplicate button to duplicate the existing start window for all
the days of the week. To remove the start window for a given day of the week,
select the start window for that day and click the Delete button. This removes the
start window for that given day. The Clear button removes all the start windows for
the entire schedule.
After modifying the schedule, the Start Window tab contents should appear as
illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 3-10
After modifying and saving the schedule, the Schedules tab should appear as illus-
trated in the figure below.
Lab 3-11
3. Enter the information for the first client – the client that resides on your master
server – using the information provided in the table below.
The Client Name field is a simple text field and will not check for validity of the name
entered. Ensure the correct FQDN of the client is entered.
Check the Detect client operating system box to cause NetBackup to discover
the operating system of the client. NetBackup can detect the operating system
if the NetBackup client software is installed on the system prior to filling out
the policy information.
4. After entering the information for the first client, click Add to add the first client,
and enable you to add the second client. Add the second client – the client on your
media server – using the information provided in the table below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. After entering the information for the second client, click OK to save the client
information and close the Add Client window.
Lab 3-12
7. Take note of the contents of the Hardware and Operating System columns in the
Clients tab. The information in these columns was automatically determined by
NetBackup by querying the client system.
Lab 3-13
3. Use the information provided in the table below to set the Pathname or directive
set.
Lab 3-14
Any available client may be browsed. In your lab environment, the sample data
is present on all systems.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Add button is initially greyed out. Entering a path in the Pathname or
directive text box activates the Add button to allow you to save the Pathname
or directive entry.
5. After selecting the Backup Selections, click OK to close the Browse window.
6. Click OK to save the backup selections, and to close the Add Backup Selections
window.
7. Select each of the policy tabs – Attributes, Schedules, Clients, and Backup
Selections – and briefly verify the contents of each tab.
Lab 3-15
9. Verify that an entry for the LAB03-clients-to-master-bdisk policy is visible in the All
Policies window of the Administration Console, as illustrated in the figure below.
Lab 3-16
In this exercise, you use the NetBackup Administration Console to configure a policy
that uses calendar-based schedules to perform client backups.
Lab 3-17
2. In the Administration Console tool bar under Actions, select the option to create a
new policy.
4. Enter the parameter values listed in the table below in the appropriate fields of the
Attributes tab of the policy.
Parameter Parameter/Setting:
Policy type: (based on OS of client) MS-Windows
Policy storage: master_advdisk_stu
--All other Attribute parameters-- Use default settings
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Review the changes you have made to the policy Attributes and verify that they are
configured as intended.
Lab 3-18
2. When the Schedules tab is displayed, click New to create a new schedule.
3. Enter the values for the schedule in the Attributes, Start Window, Exclude Dates,
and Include Dates tabs of the schedule, as indicated in the table below.
Any dates that are selected in the Exclude Dates tab are automatically
displayed with the red not symbol in the Include Dates tab of the schedule.
This is so you can see if there is a conflict of dates.
Lab 3-19
5. Enter the values for the schedule in the Attributes, Start Window, Exclude Dates,
and Include Dates tabs, as indicated in the table below.
Lab 3-20
9. Verify that the three schedules you are configured are visible in the Schedules tab of
the LAB03-console-to-master-advdisk policy.
Lab 3-21
3. Enter the information for the client, using the information provided in the table
below.
You may use the Detect client operating system checkbox to cause NetBackup
to automatically discover the hardware and operating system of the client.
4. Click OK to save the client information and close the Add Client window.
5. Verify that the entry for the console.example.com client is visible in the Clients tab
of the policy before continuing to the next step.
Lab 3-22
3. Use the information provided in the table below to add a backup selection.
4. After entering the backup selection, click OK to save the backup selection and to
close the Add Backup Selection window.
6. Click OK to save the policy and to close the Change Policy window.
7. Verify that the entry for the LAB03-console-to-master-advdisk policy is visible in the
All Policies pane of the NetBackup Administration Console.
Lab 3-23
Lab 3-24
In this exercise, you will copy an existing policy to a new policy and change the policy
parameters.
1. Right-click the entry for the LAB03-clients-to-master-bdisk policy in the All Policies
pane of the NetBackup Administration Console.
2. Select Copy to New… from the resulting menu, as illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
3. When the Copy a Policy dialog box is displayed, enter the policy name, LAB03-
clients-to-master-disk-tape-stugroup, in the New Policy field, and click OK.
4. Change the Policy Storage parameter on the Attributes tab, so that backups are
written by this policy to the master_disk-tape_stugroup.
Lab 3-25
6. After making the changes to the schedule, click OK to save the schedule.
7. Allow all other policy Attributes, Schedules, Clients, and Backup Selections
parameter settings to remain at their current settings.
You have completed all required exercises for this lab activity.
Lab 3-26
Lab 3-27
In this optional lab exercise, you test your ability to design and configure a NetBackup
policy that will achieve a set of desired outcomes.
There are many ways to meet the requirements of the scenario presented in
this challenge lab – especially with regard to the backup schedules that can be
created to meet the stated requirements. The schedules that you created may
not be identical to the possible scheduling options presented in the examples
provided.
Lab 3-28
An executive in your organization has submitted a requirement that file system data on
an important Windows 2012 R2 Server-based system (console.example.com) must be
backed up.
The request specified daily backups of the entire data volume, and the ability to recover
file system data for up to one month. The recovery point objective for the system
requires that no more than one hour of data loss can be tolerated. The rate of change of
the data on the file system is about 15 percent per day. Most of the change occurs
during business hours, 7AM-7PM, Monday-Friday. As an additional requirement, the
administrator of that system has requested the ability to initiate backups of the data on
the server during business hours only. By policy, department users cannot be given
access to the NetBackup Administration Console to initiate manual backups. Because of
the priority given by your organization to reducing disk storage used for storing backup
images, you write all production backups to deduplication storage. Your team has not
finished building out the NetBackup configuration, but the disk backup storage needed
to meet this request has already been configured. Your task is to configure NetBackup
to perform backups of the DATA volume of the server to meet these requirements –
using deduplication backup storage that has already been configured.
Lab 3-29
Lab 3-30
Policy Attributes
What we know about the policy Attributes from the provided challenge scenario:
• The critical data is stored on a file system (DATA volume) on the server.
• The client is Windows-based, so the Policy type for this file system is MS-Windows.
• Backup images must be written to deduplication storage (MSDP).
Other policy Attributes may apply, but are not defined in this example.
Lab 3-31
Policy Schedules
Various scheduling methods can satisfy the requirements of the challenge scenario.
These are a few examples of different types of schedules to accomplish the backups
necessary to meet the requirements of the LAB03-challenge policy.
The pages that follow illustrate examples of various scheduling methods that satisfy the
requirements of the LAB03-challenge scenario.
Lab 3-32
The schedules in this example are illustrated below on this and the following pages.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The schedules shown in the image could be used to meet the requirements of the
LAB03-challenge scenario.
Lab 3-33
Lab 3-34
Lab 3-35
Lab 3-36
Lab 3-37
Lab 3-38
Lab 3-39
Lab 3-40
Lab 3-41
• Daily calendar-based full backup – All days of month – 1 month retention (00-02AM)
• Hourly frequency-based incremental backup – 24 hours/day – 1 month retention
• User-backup schedule enables user backups – Monday-Friday – 7AM-7PM
The schedules in this example are illustrated below on this and the following pages.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 3-42
Lab 3-43
Lab 3-44
Lab 3-45
Lab 3-46
Lab 3-47
Lab 3-48
Lab 3-49
Lab 3-50
Lab 3-51
Policy Clients
Information about the client for this policy is provided in the challenge scenario:
The figure below illustrates the Clients tab for the policy that meets the lab challenge
requirements.
Lab 3-52
The figure below illustrates the Backup Selections tab for the policy that meets the lab
challenge requirements.
Lab 3-53
console.example.com
The list of policies that are configured on your master server is displayed in the All
Policies pane of the Administration Console.
Take note that the entry for the LAB03-challenge policy in the All Policies pane is
marked with a red X, and that the entry for the policy is greyed-out.
Lab 3-54
In this lab, you perform tasks to initiate and monitor NetBackup file system backups.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Some of the exercises in this lab contain steps that are dependent upon the
completion of LAB 03. Please make sure you have completed LAB 03 before
continuing.
Lab 4-1
Lab 4-2
3. View the top entry in the left pane of the NetBackup Administration Console, and
verify that the name of your master server is displayed there.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
In this exercise, you perform steps to become familiar with the layout and use of the
NetBackup Activity Monitor.
Lab 4-3
The Activity Monitor is displayed in the right pane of the Administration Console.
Note that there are four tabs, located at the bottom of the Activity Monitor pane.
6. Take note of the names of the additional Activity Monitor tabs as shown in the table
below.
Tab Name
Jobs
Daemons
Processes
Drives
When you access the Activity Monitor, the Jobs tab is selected by default.
7. Scroll down through the jobs that are listed in the Jobs tab of the Activity Monitor.
It is likely that the only job types that are currently displayed in the Activity Monitor
are Backup and Image Cleanup job types. However, the jobs listed in the Activity
Monitor > Jobs tab may vary substantially. This is expected.
The figure above is an example of the Activity Monitor jobs list. Your Activity
Monitor jobs list will show Image Cleanup jobs exiting with a status code of 1,
and it may or may not contain entries for failed jobs, as illustrated in the figure.
Lab 4-4
You can sort the jobs list in the Activity Monitor according to any column that is
displayed, simply by clicking on the heading for the column. You may find that sorting
jobs according to a specific column heading can be beneficial.
You can change the order in which the jobs are listed in the Activity Monitor based
upon the Job ID of the jobs. The jobs can either be sorted in ascending order (lowest-
numbered jobs listed first – at the top of the list), or in descending order.
2. Under the View tool bar option, select Columns then Size to Data.
This expands all the columns so that the full contents can be viewed.
3. Click the heading of the Job ID column to change the job listing to the ascending
order (lowest-numbered jobs listed first – at the top of the list).
5. Click the heading of the Job ID column again, to change the job listing to the
descending order – with most recent jobs listed at the top of the jobs list.
Lab 4-5
Sorting by use of the Job Policy name is done alphabetically, either in descending order
(from Z to A), or in ascending order (from A to Z). Some jobs are not controlled by a Job
Policy. Those jobs are either listed first (when sorting jobs is ascending order by the Job
Policy name), or last (when sorting jobs by descending order by the Job Policy name).
Jobs are not normally sorted according to their Job Policy name – but rather by
their Job ID. There may be situations where sorting jobs by their Job Policy
name is desirable.
7. Click the heading of the Job Policy column of the Activity Monitor to sort the job list
by the Job Policy name.
8. Click the heading of the Job Policy column again, to change the job list sort order.
Feel free to experiment with sorting the jobs list by clicking on various column
headings, and note the results.
9. Click the heading of the Job ID column to return to sorting the jobs according to
their Job IDs.
10. Click the heading of the Job ID column until the jobs are sorted in descending order
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
You can also right-click on a job in the Activity Monitor and select Sort from the
shortcut menu.
12. From the Sort window click Clear All then click OK to close the Sort window.
The Clear All button resets the sorting order of the Activity Monitor back to the
default.
Continue to Exercise A-3: Viewing and modifying the Activity Monitor column layout.
Lab 4-6
You can modify the column layout of the Activity Monitor so that the information that is
most important to you is displayed closer to the left of the column layout.
1. Use the Activity Monitor horizontal scroll bar to scroll to the right through all
columns of the Activity Monitor.
2. Take note of the large number of Activity Monitor columns that are displayed, and
the associated column headings.
Lab 4-7
4. Use the vertical scroll bar of the Column Layout window to scroll through the list of
Columns that are available for display.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Of the 40 columns that are available for display in the Activity Monitor, how many
are listed? See the answer below.
In addition to using Column > Layout to change the column layout, you can also
drag and drop the column headings to the desired column location.
Selecting the columns to display and the order in which they are displayed is a
matter of personal preference of the NetBackup Administrator.
Lab 4-8
The column layout proposed in the table above is for example purposes only.
7. When you have arranged the column layout as desired, click OK to save the column
layout and to close the Column Layout window.
8. Observe the Activity Monitor and verify that the column layout is as you intended.
Adjust the column layout as necessary to meet your preferences.
Lab 4-9
NetBackup enables backup administrators to create job filters to filter the list of jobs
that are displayed in the Activity Monitor. In the next steps, you create a simple Activity
Monitor job filter.
1. View the list of jobs that are displayed in the Activity Monitor.
At the current time, there should be two job Types that are displayed, Backup jobs
and Image Cleanup jobs.
2. Use the parameters listed in the table below to create a job filter.
3. Perform the steps described in the table below to create the filter.
4. Upon saving the filter, it is immediately applied to the list of Activity Monitor jobs,
to alter the list of jobs displayed.
Lab 4-10
The filter displays only those jobs that end in a status code that does not equal 0. As
“0” is the “successful” status code, this filter displays only the jobs that are either
partially successful (status 1), or that failed (ending with all other status codes).
6. Verify that the job filter that you created performs as expected, and that only jobs
ending in a non-zero status are displayed in the Activity Monitor.
Lab 4-11
It is important to understand that a job filter remains in use until the filter is
cleared. If you do not clear the job filter you may not be able to see jobs that
are present in the NetBackup jobs list.
5. Verify that the Activity Monitor jobs list displays the jobs that were previously not
displayed, due to the jobs filter.
If you wish to remove a filter but preserve the filter criteria for later use, click
the Remove Filter button on the toolbar of the Administration Console.
Lab 4-12
In the steps that follow, you perform steps to initiate a manual backup operation.
Lab 4-13
1. Navigate to and select NetBackup Management > Policies in the left pane of the
Administration Console.
Lab 4-14
If multiple clients are included in the policy (as displayed in the Clients section
of the Manual Backup window), and if no client entries are selected in the
Manual Backup window, then backups will be performed of each client that is
included in the policy.
In this case, NetBackup initiates backup jobs for each client that was included in the
Clients section of the Manual Backup window.
Lab 4-15
In this exercise, you will view the job details of various NetBackup jobs and job types.
Lab 4-16
In this exercise, you use the NetBackup Activity Monitor to view the job details of
various NetBackup jobs and job types.
1. Select the Activity Monitor entry in the left pane of the Administration Console.
2. Locate and click the job entry for the most recent backup job that was performed
using the PRE-clients-to-master-tape policy.
This job was initiated in Exercise B. The Job State for the job may still be Active.
3. Select Actions and then Details to open the Job Details for the job.
You can double-click the job entry to open the Job Details for a job.
The Job Details window contains three tabs: Job Overview, Detailed Status, and Job
Hierarchy tabs.
Lab 4-17
Immediate
The Status window on the Detailed Status tab provides information that is
useful when troubleshooting failed jobs. Entries posted to the Status window
track the progress of the job and identify many of the important NetBackup
processes and process IDs that are specifically used to perform the job. This
information is useful if it becomes necessary to analyze NetBackup log files.
7. Make note of the storage unit and media information provided in the Detailed
Status tab of the job.
The storage unit used to perform the backup job was the master_tape_stu.
The Media ID used for the backup job may vary. The Media ID used for the backup is
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
identified in the text contained in the Status pane of the Detailed Status tab.
The Media ID used for this job may be similar to the following:
Window-based master server (winmaster): E01002
Linux-based master server (lnxmaster): E02002
Lab 4-18
9. In the Troubleshooter window type 96, in the Status Code field, then click Lookup.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 4-19
10. Take note of the types of information that are available for the status code in the
Problem, Troubleshoot, and Veritas Technical Support tabs of the Troubleshooter
window.
If the job for which you are viewing the Job Details is part of a NetBackup job
hierarchy – consisting of a parent job and potentially multiple child jobs – the
Job Hierarchy tab displays the parent and child jobs associated with the job.
The job you are currently viewing is not part of a job hierarchy.
13. Click Close to close the Job Details window for the job.
Lab 4-20
2. Double-click the job entry for the job (that used the PRE-clients-to-master-bdisk
policy).
3. Take note of the contents of the Backup Type field for the job.
The Backup Type field is located near the top of the Job Overview tab.
The significance of a “Scheduled” Backup Type is used to identify a backup job that
was automatically initiated by the NetBackup job scheduler mechanism, based upon
the settings of a schedule contained in a backup policy.
Earlier in this exercise you looked at the Job Details for a job that used a
Backup Type of “Immediate”. It is important to understand the distinction
between “Scheduled” and “Immediate” Backup Types.
4. Click Close to close the Job Details window for the job.
Lab 4-21
Gaining an understanding about how NetBackup works with regards to Full and
Incremental backups is important. The lab steps that follow demonstrate an important
truth about Full and Incremental backup behavior.
2. Click the Activity Monitor entry in the left pane of the Administration Console.
3. Locate the entry for the first (earliest, lowest-numbered) Backup job that was
performed using the LAB03-clients-to-master-disk-tape-stugroup policy.
5. Select Actions and then Details, to open the Job Details for the job.
6. Take note of the information for the job, as recorded in the table below.
Use the Job Overview and Detailed Status tabs to confirm the information as shown
in the table.
Lab 4-22
The Policy Storage specified for use in the policy Attributes is the master_disk-
tape_stugroup storage unit. Given that the Policy Storage that was defined in
the policy, you could predict the Storage Unit that would be used to perform
the backup job.
The Policy Storage defined for the policy is a storage unit group. The storage
units included in the storage unit group all reside on the master server. The
“Storage unit selection” method is set to Prioritized for this storage unit group,
so that the storage unit that is used for backup jobs depends upon the status
and availability of the individual storage units in the group.
The backup window for the Full Backup schedule was not open at the time that
the backup job occurred – so the Full Backup schedule could not be used. The
backup window for the Differential Incremental Backup was open. That is why
the NetBackup scheduler used that schedule to perform the backup. This
assumes you are doing this lab during normal business hours. If you are doing
this lab at another time than your results may vary.
Lab 4-23
You could use the Windows Explorer (Windows) or File Manager (Linux), to examine
the contents of the client file system that was backed up by the job you examined in
the previous steps. However, it is not necessary for you to do that at this time.
If you are using the Windows-based master server, the illustration below identifies
the files and folders, and the size of the data that resides in the E:\data folder on the
Windows-based clients – winmaster.example.com and winmedia.example.com-
that were backed up by the recent backup jobs that you initiated.
If you are using the Linux-based master server, the illustration below identifies the
files and directories, and the size of the data, that resides in the /data directory on
the Linux-based clients – lnxmaster.example.com and lnxmedia.example.com - that
were backed up by the recent backup jobs that you initiated.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 4-24
The number of files and size of the files that were backed up by this job are the same
as the total size (in KB) and number of files that are resident in the DATA folder
(E:\data or /data) on the client system.
Although the schedule used to perform the backup was a Differential Incremental
Backup schedule, the entire contents of the DATA directory on the client was backed
up (as specified in the Backup Selections of the policy).
One hour from the time that the most recent backup job of the client was run using the
LAB03-clients-to-master-disk-tape-stugroup policy, another Differential Incremental
Backup job will be run for that client. The size of the data and the number of files that
are backed up by the new job will be substantially smaller than the number/size of files
that were backed up by the job you have been analyzing. This second backup job is truly
an incremental backup.
The statements above assume you are doing this lab during normal business
hours for EST (GMT -5). If you are working at other times (or in different time
zones) you may see different results based on the start window of this
schedule.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
13. Click Close to close the Job Details window for the job.
Lab 4-25
NetBackup provides the capability for a backup administrator to quickly activate and de-
activate policies, using the NetBackup Administration Console.
Lab 4-26
In this lab exercise you will de-activate policies, using the NetBackup Administration
Console.
The list of policies that are configured on your master server is displayed in the All
Policies pane of the Administration Console.
3. If the LAB03-challenge policy is not present on the master server, go directly to lab
step 8 to deactivate another policy
If you skipped the challenge exercise in lab 03, the LAB03-challenge policy does
not exist. This is no cause for concern.
4. Locate the entry for the LAB03-challenge policy, and verify that entry for the policy
is greyed out, and is marked with a red X.
If the policy name is greyed out and marked with a red X, it indicates that the
policy is deactivated. A policy that is deactivated cannot be used to perform
backup operations.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. If the entry for the LAB03-challenge policy exists, and the policy is not deactivated,
click the entry for the policy in the All Policies pane.
7. Verify the entry for the LAB03-challenge policy in the All Policies pane is marked
with a red X, and that the entry for the policy is greyed-out.
8. In the steps that follow you deactivate the PRE-clients-to-master-bdisk and LAB03-
clients-to-master-disk-tape-stugroup policies on the master server.
You are taking this step to prevent large numbers of automated (scheduled) backups
using these policies from occurring during the remainder of this course.
Lab 4-27
10. Select Actions and then select Deactivate, to deactivate the policy.
11. Verify that the entry for the PRE-clients-to-master-bdisk policy in the All Policies
pane is marked with a red X, and that the entry for the policy is greyed-out.
A deactivated policy can be activated easily by clicking on the entry for the
policy in the All Policies pane, and selecting Actions > Activate.
Lab 4-28
NetBackup user-initiated backup jobs are primarily initiated in one of two ways:
In this exercise, you use the Backup, Archive, and Restore (BAR) user interface to
initiate and monitor a user-initiated backup job.
Continue to Exercise E-1: Understanding the Backup, Archive, and Restore user interface
(for performing user-initiated backups).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 4-29
IMPORTANT CONCEPT: When using the Backup, Archive, and Restore (BAR) user
interface to perform a user-initiated backup, the user is only able to access and perform
backup operations of the local system to which the BAR user interface is connected.
Perform the steps that follow to test Backup, Archive, and Restore user interface
behavior for user-initiated backup operations.
Lab 4-30
To do so, verify that the host name of your master server is displayed as the top
entry in the left pane of the Administration Console, as illustrated in the figure
below.
Console.
The Backup, Archive, and Restore (BAR) user interface is displayed in the right pane
of the Administration Console.
When the BAR user interface is launched from the NetBackup Administration
Console, the user interface provides three tabs:
Backup Files
Restore Files
Task Progress
Lab 4-31
6. Note that the Directory Structure pane of the BAR user interface displays the
directory structure of the system to which the BAR user interface is connected.
7. Select Actions and then Specify NetBackup Machines and Policy Type.
8. Verify the Specify NetBackup Machines window is displayed and the host name of
your master server is listed in the Server to use for backups and restore field.
This entry refers to the host name of the master server to which the user-initiated
backup request will be sent (from the client system).
9. Click Cancel, to cancel the operation without making a change to the backup server
that is specified.
IMPORTANT CONCEPT REPEATED: When the Backup, Archive, and Restore (BAR)
object of the NetBackup Administration Console interface is used to perform a user-
initiated backup operation (Backup Files tab selected), the operation is performed
against the NetBackup Server that the Administration Console is connected to, NOT
the host on which the Administration Console is launch from.
IMPORTANT CONCEPT APPLIED: If the Backup, Archive, and Restore user interface is
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
A NetBackup administrator cannot use the Backup, Archive, and Restore user
interface to perform user-initiated backups of remote clients.
Lab 4-32
Continue to Exercise E-2: Accessing the Backup, Archive, and Restore user interface on
the console.example.com client system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 4-33
In the following steps, you locate and launch the Backup, Archive, and Restore user
interface on the Windows-based NetBackup client system, console.example.com.
One way to view the NetBackup configuration settings on a host is to use the
command nbgetconfig. You can also use nbsetconfig command to edit the
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 4-34
The figure below illustrates the Windows-based Backup, Archive, and Restore user
interface.
The Backup, Archive, and Restore user interface may take a few moments to
load before it is ready for use.
Continue to Exercise E-3: Configuring the Backup, Archive, and Restore (BAR) user
interface.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 4-35
A NetBackup client can be backed up by multiple master servers. The user can use the
Backup, Archive, and Restore user interface to specify the master server to which
backup and restore requests are sent.
Lab 4-36
Parameter Value
Server to use for backups and restores: winmaster.example.com
(Choose based upon your master server) OR
lnxmaster.example.com
Source client for restores: console.example.com
(Defaults to local system hostname)
Destination client for restores: console.example.com (selection is
greyed out and cannot be changed)
Policy Type for restores: MS-Windows
Date/time range:
From Date / time: greyed out (default)
Oldest available: selected (default)
To Date /time: greyed out (default)
Newest available: selected (default)
Lab 4-37
Note the following in the open Backup window of the Backup, Archive, and Restore
user interface:
The All Folders pane of the user interface displays top-level entries for disk drives
and other entities on the client system that can be selected for backup.
The “Contents of…” pane displays the detailed contents of the disk drive or other
entity that is highlighted in the All Folders pane.
1. Highlight (do not select the check box) the entry for the C drive, in the All Folders
pane.
2. Select the check box for Documents and Settings in the Contents of C:\ pane.
The check box for Documents and Settings is marked in the Contents of C:\ pane.
4. Verify that the NetBackup Server field of the Backup Files window contains the
name of your master server.
winmaster.example.com or lnxmaster.example.com
5. Leave other fields of the Backup Files window at their default settings.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Click the Start Backup button to initiate the backup of the client.
The NetBackup Message dialog box is displayed, as illustrated in the figure below.
Lab 4-38
8. Mark the check box for Verbose to view detailed information about the backup job.
The Progress pane of the View Status window indicates that a failure has occurred. The
Server status for this failure is 240.
9. Take note of the explanation of this failure, as described in the Progress pane of the
View Status window.
The user-initiated backup job failed because there was no schedule of the
correct type (User Backup) in any NetBackup policy in which this client was
listed as a client.
11. Allow the Backup, Archive, and Restore user interface to remain open.
Lab 4-39
13. Select the Activity Monitor entry in the left pane of the Administration Console.
14. Locate the entry for the failed job that is displayed in the Activity Monitor Jobs list.
The entry for the failed job should be located at or near the top of the jobs list.
15. The Activity Monitor entry for the failed job displays information, as described in
the table below.
The policy must include a schedule that has a Backup type of User Backup.
The User Backup schedule in the policy must have a Start Window that is open at
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
16. Select NetBackup Management and then Policies in the Administration Console
window.
Take note that this policy already supports the MS-Windows policy type and can be
used to support a User Backup schedule.
Lab 4-40
Set the Start day to Sunday and the Start time to 00:00:00. Then set the End
day to Monday and the end time to 00:00:00. Then select the Duplicate
button.
Note that the policy now contains four schedules, as identified in the table
below. Note the schedule type for each of these schedules.
You have now satisfied the requirements for our user backup to succeed: the client
is a member of a policy that contains a User Backup schedule with an open start
window.
23. Allow the NetBackup Administration Console window to remain open on the
console.example.com system.
Lab 4-41
25. Verify that the Documents and Settings entry in the Contents of C:\ pane of the
Backup, Archive, and Restore user interface is still selected (checked).
27. When the Backup Files window is displayed, click the Start Backup button without
making any changes to the parameters of the Backup Files window.
28. When the NetBackup Message dialog box is displayed, click Yes to view the progress
of the backup.
29. Select the entry for the newest (most recent) Backup operation in the View Status
window.
Lab 4-42
34. Select File and then Exit to close the Backup, Archive, and Restore user interface.
35. Select the Activity Monitor entry in the left pane of the Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
36. Locate the entry for the most recent Backup job in the Activity Monitor and briefly
view the Job Details for the job.
Note that the Job Schedule used for this backup should be identified as the
user_backup schedule.
Lab 4-43
In preparation for the next lab activity (Lab 5), complete the steps that follow.
1. Select NetBackup Management and then Policies in the left pane of the
Administration Console.
2. Perform a manual full backup of the console.example.com client, using the LAB03-
console-to-master-advdisk policy.
3. After initiating the manual backup, select the Activity Monitor entry in the left pane
of the Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
4. View the job entry for the most recent Backup job - that used the LAB03-console-to-
master-advdisk policy.
5. Monitor the progress of the job until it runs to successful completion (status 0).
6. If the job fails, record the status code and notify your instructor.
You have completed all tasks planned for this lab activity.
Lab 4-44
In this lab activity, you perform and monitor file system restore jobs using various
NetBackup-provided user interfaces.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Proceed to Exercise A: Becoming familiar with key restore settings in the BAR user
interface.
Lab 5-1
In this exercise, you view and become familiar with key settings of the Backup, Archive,
and Restore user interface, that are important when performing NetBackup restore
operations.
Continue to Exercise A-1: Accessing the NetBackup Administration Console BAR UI.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-2
In the following steps, you will launch the NetBackup Administration Console and access
the Backup, Archive, and Restore (BAR) user interface.
3. View the top entry in the left pane of the Administration Console, and verify that the
name of your master server is displayed there, as illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The top entry in the left pane of the Administration Console displays the name of
the NetBackup server system to which the Administration Console is connected.
Lab 5-3
4. Click the Backup, Archive, and Restore entry in the left pane of the NetBackup
Administration Console.
The Backup, Archive, and Restore window is displayed in the right pane of the
Administration Console.
Lab 5-4
In the following steps, you view selections in the Specify NetBackup Machines and
Policy Type window of the Backup, Archive, and Restore (BAR) user interface, to
become familiar with these settings.
1. Note the three main tabs of the Backup, Archive, and Restore (BAR) user interface,
located near the top of the user interface as illustrated below.
These tabs are the Backup Files, Restore Files, and Task Progress tabs.
The Restore Files tab of the BAR user interface is selected by default when first
opened. However, because you used the BAR user interface in a previous
exercise and had selected the Backup Files tab, the interface remembers the
tab you had previously selected. The Backup Files tab should currently be
selected.
Lab 5-5
The Specify NetBackup Machines and Policy Type window allows for the selection of
four key parameters:
• Server to use for backups and restores: This is the host name of the master server
to which the BAR user interface will send backup and restore related requests.
• Source client for restores: This parameter is used to specify the name of the source
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
client whose backup images will be browsed in preparation for a restore operation.
• Destination client for restores: This is the host name of the client to which files are
to be restored.
• Policy type for restores: The field specifies the Policy type that was used to back up
the source client, and is the policy type that the master server uses when searching
its backup image catalog for images to be restored from. If the policy type is not set
properly, the master server may be unable to locate backup images for the client.
Lab 5-6
The Specify NetBackup Machines and Policy Type window allows for the selection of
four key parameters:
• Server to use for backups and restores: This is the host name of the master server
to which the BAR user interface will send backup and restore related requests. A
given NetBackup client system may be backed up by more than one master server,
and so is able to (and must) specify the host name of the master to which a specific
user-backup or restore request is directed.
•
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Source client for restores: This parameter is used to specify the name of the source
client whose backup images will be browsed in preparation for a restore operation.
̶ A typical NetBackup client is allowed only to browse backup images and perform
the restore of data that was backed up from their own system. For example,
NetBackup users on clientname.example.com can only browse for and select for
restore from backup images created from clientname.example.com resident
data.
̶ In contrast, NetBackup backup administrators running the Backup, Archive, and
Restore user interface that is connected to the master server system may
browse for backup images and restore data to any client in the master server’s
NetBackup domain.
Lab 5-7
A typical NetBackup client is allowed only to restore data that is backed up from
their own client system to their own client system. The user is unable to restore files
or folders to another client system.
A NetBackup backup administrator that is running the Backup, Archive, and Restore
user interface that is connected to a NetBackup server system is allowed to restore
client data from backup images to any client in the NetBackup master server
domain, unless prevented from doing so by the configuration of the client system.
(The NetBackup client property, Allow server-directed restores, is enabled on
clients by default, but can be used to prevent the administrator from performing a
restore operation to the client.)
• Policy type for restores: The field specifies the Policy type that was used to back up
the source client, and is the policy type that the master server uses when searching
its backup image catalog for the client that can be restored from. If the policy type is
not set properly, the master server may be unable to locate backup images for the
client system.
4. Click Cancel to close the Specify NetBackup Machines and Policy Type window.
Continue to Exercise A-3: Viewing other important BAR user interface settings for
restores.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-8
In the steps that follow, you look at other important Backup, Archive, and Restore user
interface settings, related to restore operations. Each of these setting is used by the
master server when searching for backup images of the selected client that can be used
during a restore operation.
Take note of the Restore type selections that are available, as illustrated in item #1
on the figure above.
You can also change the Restore type by selecting Actions > Select Restore Type
from the tool bar of the Backup, Archive, and Restore user interface.
Lab 5-9
The Start date and End date specify the date range that the master server will use to
search its backup image catalog for backup images for the client. The results of this
search will display a listing of the backup images from which files and folders can be
selected for restore to the client.
4. From the Actions drop-down menu, select Set Date Range from the tool bar of the
Backup, Archive, and Restore user interface.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Note that two options are provided to set the date range – Calendar and Backup
History.
Lab 5-10
The Date Range window provides two tabs that enable the selection of the Start
Date and of the End Date that are used when searching for backup images from
which to restore client data.
When you use the Date Range window to set the date range, the results are
displayed in the BAR user interface, as illustrated in item #2 of the figure on the
previous page.
8. Click Cancel in the Date Range window to cancel the setting of the date range.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-11
The Backup History window shows the backup images for the selected client, and
enables you to select a backup image or set of backup images (i.e., Full Backup
image plus Incremental backup images) to use for a restore operation.
To select multiple backup images from the Backup History window, click the entry
for the first (top) backup image, and then hold the SHIFT key while clicking the entry
for the last (bottom) backup image you wish to use for the restore.
You can access the Set Date Range (item #1) and Backup History (#2) using the icons
located on the BAR user interface, as highlighted by items #1 and #2 in the figure
above.
Lab 5-12
You can also make the selection to Show Most Recent Backup or Show All Backups
in the View menu on the Backup, Archive, and Restore user interface, as illustrated
in the figure below.
11. Select View and then Show All Backups, as illustrated in the figure below.
Lab 5-13
In the following steps, you make selections in the Backup, Archive, and Restore user
interface to prepare for a restore of a client folder of the client, console.example.com,
from the most recent backup set (Full Backup and Differential Incremental) of backup
images for the client, to the original folder location on the client.
Lab 5-14
1. Select Actions and then Specify NetBackup Machines and Policy Type in the tool
bar of the Backup, Archive, and Restore user interface.
2. Enter the information provided in the table below in the fields of the Specify
NetBackup Machines and Policy Type window.
Parameter Value
Server to use for backups and winmaster.example.com
restores: (Choose based upon your OR
master server) lnxmaster.example.com
Source client for restores: console.example.com
Destination client for restores: console.example.com
Policy Type for restores: MS-Windows
The detailed steps for setting the Specify NetBackup Machines and Policy Type window
are described in the following table.
# Detailed Steps
1 Click the drop-down arrow for the Server to use for backups and restores field,
and select the entry for your master server, winmaster.example.com or
lnxmaster.example.com.
2 Click the drop-down arrow for the Source client for restores field, and select
console.example.com. Note that console.example.com is automatically
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
3. After making the selections in the Specify NetBackup Machines and Policy Type,
click OK to save the changes and to close the window.
4. In the Restore Files tab of the BAR user interface, set the Restore Type to Normal
Backups.
Lab 5-15
The Backup History window is displayed, as illustrated in the figure below. The
figure below is just an example. Your lab environment may show different backups.
6. Select the entries for the most recent Full Backup and for any Differential
Incremental Backup images that might exist for the client, as illustrated in the figure
below.
To select multiple backup images to use for the restore, click the first (top) entry,
then hold the SHIFT key on your keyboard, and click the bottom entry to be
selected.
Using the Backup History window, you can select any backup image or set of
backup images that are adjacent to each other to use for the restore operation.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
You cannot select images that are not adjacent to each other. Depending on
the order your backups were performed, this may result in the need to include
other images, such as a user backup, in your selection, which is not a cause for
concern.
Lab 5-16
As a result of selecting the backup images in the Backup History window, the
NetBackup client sends a request to the master server to retrieve a list of the
contents of the selected backup images.
The results are displayed in the Directory Structure pane of the BAR user interface,
as illustrated in the figure below (the figure shows the view of the Directory
Structure pane after its contents have been expanded).
8. Click to expand the entry for the console.example.com system in the Directory
Structure pane to view the contents of the system that were backed up in the
selected backup images, as illustrated in the previous figure.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
9. Click to expand the entry for the E drive in the Directory Structure pane.
Lab 5-17
11. Click to highlight the entry for the smallfiles folder in the Directory Structure pane
(but do not click the check box for the folder).
12. The Contents of the selected directory pane displays the contents of the smallfiles
folder that were backed up.
The contents were included in the backup images that were selected for this
restore operation.
13. Click the check box for the smallfiles folder in the Directory Structure pane.
14. Note the results, as the folder and its contents are all marked for restore, as
illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
You have prepared the BAR user interface to perform the restore operation
Lab 5-18
18. When the File Explorer window is displayed, click the entry for the DATA (E:) drive,
located in the left pane of that user interface.
The data folder is displayed in the right pane of the File Explorer.
The sub-folders of the data folder are displayed in the right pane of the File
Explorer.
20. Click the entry for the smallfiles folder, to highlight the folder.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
21. Right-click the entry for the smallfiles folder and, in the resulting menu, click Delete.
Lab 5-19
In the steps that follow you complete the normal restore of a client folder and its
contents to the original client system, console.example.com.
The Backup, Archive, and Restore user interface is currently open in the right pane
of the Administration Console window, and you have previously selected the
E:\data\smallfiles folder and its contents for restore.
2. Click the Preview button on the BAR user interface to preview the media that is
required to perform the restore (based on the storage unit that was used to write
the backup images that are used for the restore).
If the backup images to be used for the restore were written to a disk-based
storage unit, the window will contain a message, “No media required for
restore. Images are on disk”. If the backup images were written to tape, the
Media IDs that are required for the restore operation will be listed.
3. Click OK to acknowledge the contents of the Media Required window, and to close
the window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
You can also select Actions > Restore. The Restore Marked Files window is
displayed.
5. Make and verify the following selections in the Restore Marked Files window:
Continue to Exercise B-3: Viewing restore progress in the Task Progress tab.
Lab 5-20
1. Click Yes in the View Progress dialog box to view the progress of the restore.
2. When the Task Progress tab is displayed (automatically), verify that the entry for the
most recent Restore operation is highlighted, in the Tasks Performed pane of the
user interface.
The progress of the restore is displayed in the Results of the Task Selected Above
pane of the Task Progress tab.
3. Click the Full Contents check box to see more detailed message about the selected
operation in the Results of the Task Selected Above pane.
4. Monitor the progress of the restore operation until it runs to successful completion.
If the restore fails, take note of the Status information provided and notify your
instructor.
5. If the restore operation was successful, scroll to the bottom of the Results of the
Task Selected Above pane, and take note of the number of files that were restored,
as illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise B-4: Verifying the restored folder and files on the client.
Lab 5-21
In the steps that follow, you access the console.example.com client system to verify
that the folder that had been deleted previously has been restored.
2. Navigate to the E:\data folder, and verify that the smallfiles sub-folder is present in
the data folder.
3. Double-click the smallfiles folder to open the folder and view its contents.
NetBackup restored 1 directory and 1000 files. NetBackup sees these as the
same entity so therefore reports that it restored 1001 files.
Continue to Exercise B-5: Viewing the Restore job entry in the Activity Monitor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-22
In the steps that follow, you select the NetBackup Activity Monitor and view the entry
for the most recently-completed Restore job.
1. Click the entry for the Activity Monitor in the left pane of the NetBackup
Administration Console window.
2. Locate the entry for the most recently-completed Restore job in the Activity Monitor
Jobs tab.
3. Double-click the entry for the Restore job to open the Job Details for the job.
4. Browse the contents of the Job Overview, Detailed Status, and Job Hierarchy tabs
of the Job Details.
When restoring files to the same directory, you should note the following items.
From the Job Overview tab of the Job Detail window you can see the Job Type is
marked as Restore. The Client is console.example.com, the Master Server is
winmaster or lnxmaster. The Files List shows the files (/E/data/smallfiles/) being
restored.
From the Detailed Status tab note the Job PID. This is the process ID of bprd
(NetBackup Request Daemon). The Media Server used in this restore is winmaster
or lnxmaster. Notice the Storage Unit section is blank. Unlike a backup that uses a
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
specific Storage Unit, during Restores Storage Units are not utilized. From the Status
pane you can determine the data being restored was stored on Disk. Look for the
entry that states “granted resource”. This line reveals the MediaID, DiskVolume,
DiskPool, Path, StorageServer, and Media Server.
Lab 5-23
In this exercise, you use the NetBackup Backup, Archive, and Restore (BAR) user
interface to restore client file system data to an alternate folder location on the original
client system (from which the files were backed up), and monitor the restore operation
using the Task Progress user interface of the BAR user interface and the Activity
Monitor.
Lab 5-24
In the steps that follow, you prepare to perform an alternate Restore to the console
client.
1. Select the Backup, Archive, and Restore entry in the left pane of the NetBackup
Administration Console window.
2. Click the Restore Files tab in the BAR user interface, displayed in the right pane of
the Administration Console window.
3. Under Actions select Specify NetBackup Machines and Policy Type in the tool bar of
the Backup, Archive, and Restore user interface.
4. Verify the information provided in the table below in the fields of the Specify
NetBackup Machines and Policy Type window.
Parameter Value
Server to use for backups and restores: winmaster.example.com
(Choose based upon your master server) OR
lnxmaster.example.com
Source client for restores: console.example.com
Destination client for restores: console.example.com
Policy Type for restores: MS-Windows
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. After making the selections in the Specify NetBackup Machines and Policy Type
window, click OK to save the settings and to close the window.
6. In the Restore Files tab of the BAR user interface, set the Restore Type to Normal
Backups.
8. Select Actions and then select Set Date Range to select the Backup History.
Lab 5-25
To select multiple backup images to use for the restore, click the first (top) entry,
then hold the SHIFT key on your keyboard, and click the bottom entry to be
selected.
10. Click OK to save your backup image selections, and to close the Backup History
window.
As a result of the backup image selections you made in the Backup History
window, the NetBackup client sends a request to the master server to retrieve
a list of the contents of the backup images.
11. Click to expand the entry for the console.example.com system in the Directory
Structure pane to view the contents of the system that were backed up in the
selected backup images.
12. Click to expand the entry for the E drive in the Directory Structure pane.
13. Click to expand the entry for the data folder in the Directory Structure pane.
14. Click to highlight the entry for the smallfiles folder in the Directory Structure pane
(but do not click the check box for the folder).
15. Note that the Contents of the selected directory displays the contents of the
smallfiles folder that were backed up and included in the backup images that were
selected for this restore operation.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
16. Click the check box for the smallfiles folder in the Directory Structure pane.
17. Note the results, as the folder and its contents are all marked for restore.
You have prepared the BAR user interface to perform the restore operation
18. Leave the Backup, Archive, and Restore user interface window open on the
console.example.com system. You return to this window in a few moments.
Lab 5-26
21. When the File Explorer window is displayed, click the entry for the DATA (E:) drive,
located in the left pane of that user interface.
The data folder is displayed in the right pane of the File Explorer.
Currently, the data and the FILESHARE folders are the only accessible folders present
at the root of the E:\ drive on the client system. In the steps that follow, you restore
the smallfiles folder and its contents to a new folder at the root of the E:\ drive.
22. Allow the File Explorer window to remain open on console.example.com. You
return to this window in a few moments.
Lab 5-27
In the steps that follow you complete the restore of a client folder and its contents to an
alternate folder location on the original client system, console.example.com.
The Backup, Archive, and Restore user interface is currently open in the right pane
of the Administration Console window, and you have previously selected the
E:\data\smallfiles folder and its contents for restore.
3. Make and verify the following selections in the Restore Marked Files window:
Continue to Exercise C-3: Viewing the restore progress in the Task Progress tab.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-28
1. Click Yes in the View Progress dialog box to view the progress of the restore.
2. When the Task Progress tab is displayed, verify that the entry for the most recent
Restore operation is highlighted, in the Tasks Performed pane of the user interface.
The progress of the restore is displayed in the Results of the Task Selected Above
pane of the Task Progress tab.
3. Click the Full Contents check box, if it not already marked, to see more detailed
message about the selected operation in the Results of the Task Selected Above
pane.
4. Monitor the progress of the restore operation until it runs to successful completion.
If the restore fails, note the Status information provided and seek assistance.
5. If the restore operation was successful, scroll to the bottom of the Results of the
Task Selected Above pane, and take note of the number of files that were restored.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise C-4: Verifying the restored folder and files on the client.
Lab 5-29
In the steps that follow, you access the console.example.com client system to verify
that the selected folder and its contents have been restored.
2. Navigate to the E:\ drive, and verify that the alternate-directory folder is present on
the E:\ drive.
5. Double-click the smallfiles folder to open the folder and view its contents.
File Explorer can be slow to refresh. If the restored files are not immediately
visible, try closing the window and opening a new File Explorer window.
Continue to Exercise C-5: Viewing the Restore job entry in the Activity Monitor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-30
In the steps that follow, you select the NetBackup Activity Monitor and view the entry
for the most recently-completed Restore job.
1. Click the entry for the Activity Monitor in the left pane of the NetBackup
Administration Console window.
2. Locate the entry for the most recently-completed Restore job in the Activity Monitor
Jobs tab.
3. Double-click the entry for the Restore job to open the Job Details for the job.
4. Browse the contents of the Job Overview, Detailed Status, and Job Hierarchy tabs
of the Job Details.
From the Job Overview tab of the Job Detail window you can see the Job Type is
marked as Restore. The Client is console.example.com, the Master Server is
winmaster or lnxmaster. The Files List shows the files (/E/data/smallfiles/) being
restored.
From the Detailed Status tab note the Job PID. This is the process ID of bprd
(NetBackup Request Daemon). The Media Server used in this restore is winmaster
or lnxmaster. Notice the Storage Unit section is blank. Unlike a backup that uses a
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
specific Storage Unit, during Restores Storage Units are not utilized. From the Status
pane, you can determine the data being restored was stored on Disk. Look for the
entry that states “granted resource”. This line reveals the MediaID, DiskVolume,
DiskPool, Path, StorageServer, and Media Server.
Note that the Activity Monitor does not list the directory to which the data is being
restored to. This information can be seen in the Task Progress tab of the BAR GUI.
Lab 5-31
Lab 5-32
If your NetBackup master server and media server systems are the Linux-based systems,
lnxmaster.example.com and lnxmedia.example.com, proceed to Exercise E: Restoring
client files to an alternate client system – Linux (only).
Perform this exercise (Exercise D) only if your master server and media server are the
Windows-based systems, winmaster.example.com and winmedia.example.com.
In this exercise, you use the NetBackup Backup, Archive, and Restore (BAR) user
interface that is launched from the NetBackup Administration Console that is
connected to your Windows-based master server, winmaster.example.com, to restore
client file system data that was backed up from one Windows-based client system to an
alternate Windows-based client system, and monitor the restore operation using the
Task Progress user interface of the BAR user interface and the Activity Monitor.
Lab 5-33
In the steps that follow, you perform a manual full backup of the client on the system,
winmedia.example.com using the PRE-clients-to-master-advdisk policy.
2. Select NetBackup Management and then Policies in the left pane of the
Administration Console.
3. Select the entry for the PRE-clients-to-master-advdisk policy in the All Polices pane
of the Administration Console.
4. Under Actions, select Manual Backup in the Administration Console tool bar.
5. Click the entry for the client, winmedia.example.com, and then click OK, to initiate
the manual backup and to close the Manual Backup window.
6. Click the entry for the Activity Monitor in the left pane of the Administration
Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. Monitor the most recent backup job of the winmedia.example.com client that used
the PRE-clients-to-master-advdisk policy.
If the job fails, record the status code and seek assistance. Correct the problem and
re-run the manual backup job before continuing to the next step.
10. When the backup job completes successfully, continue to the next step.
Continue to Exercise D-2: Preparing the BAR user interface for an alternate client
restore.
Lab 5-34
In the steps that follow you prepare the Backup, Archive, and Restore user interface to
perform a restore of files backed up from one Windows-based client
(winmedia.example.com) to another Windows-based client (winmaster.example.com).
2. Select the entry for the Backup, Archive, and Restore (BAR) user interface in the left
pane of the Administration Console.
The Backup, Archive, and Restore (BAR) user interface is displayed in the right pane
of the Administration Console.
4. Select Actions and then Specify NetBackup Machines and Policy Type.
5. Use the information provided in the table below to select the parameters in the
Specify NetBackup Machines and Policy Type window.
Parameter Value
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Specify NetBackup Machines and Policy Type window provides the key
settings that enable an alternate client restore operation.
You have selected to browse the master server image catalog to look for backup
images of the client, winmedia.example.com that will be restored to the client,
winmaster.example.com.
Lab 5-35
7. Set the Restore type field of the BAR user interface to Normal Backups.
8. Select Actions and then select Set Date Range and Backup History.
9. Select the entry for the most recent Full Backup image that was created using the
PRE-clients-master-to-advdisk policy.
10. Click OK to save the Backup History selection, and to close the Backup History
window.
Based on your selections, the NetBackup client sends queries to the selected master
server to obtain a list of the contents of the selected backup image.
11. Note that the Directory Structure pane of the BAR user interface displays an entry
for the contents of the backup image for the source client system,
winmedia.example.com.
Lab 5-36
In the steps that follow, you select the folders and files that will be restored.
1. In the Directory Structure pane, click the symbol (located to the left of the client
name) to expand the entry for the winmedia.example.com client.
2. Click to expand the entry for the E drive in the Directory Structure pane and display
an entry for the data folder is displayed in the Directory Structure pane.
3. Click to expand the entry for the data folder in the Directory Structure pane.
The sub-folders of the data folder are displayed in the Directory Structure pane.
4. Click the entry for the Doc_files folder, located in the Directory Structure pane.
5. Note that the contents of the Doc_files folder are displayed in the Contents of the
selected directory pane of the BAR user interface.
There are ten files in the Doc_files folder that were backed up.
6. Click the check box, located to the left of the Doc_files entry in the Directory
Structure pane, to select that folder and its contents for restore.
7. Note that the Doc_files folder and all of its contents (as shown in the Contents of
the selected directory pane) are marked for restore.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
8. Click the Preview button on the BAR user interface, to preview the media that will
be required for the restore operation.
Within a moment, the Media Required dialog box is displayed, indicating that the
backup images or images that are to be used for this restore operation are housed
on disk-based storage, and that no media (tapes) are required.
10. Allow the NetBackup Administration Console window (and the BAR user interface)
to remain open on console.example.com. You return to this window in a few
moments.
Continue to Exercise D-4: Viewing the folders on the alternate client system.
Lab 5-37
In the steps that follow, you briefly view the drive and folder location on the alternate
client system to which the restore files will be written.
̶ You can locate and double-click the REMOTE SYSTEM ACCESS folder, located on
the desktop of console.example.com to open that folder. In the REMOTE
SYSTEM ACCESS folder, double-click to open the RDP Profiles (Windows
systems) folder. In the RDP Profiles (Windows systems) folder, double-click the
winmaster.rdp file to open an RDP session to winmaster.example.com.
̶ Click the winmaster tab provided on the user interface for your lab kit.
4. Double-click the entry for the DATA (E:) drive, displayed in the left pane of the File
Explorer window.
5. Note that an entry for the data folder is displayed in the right pane of the File
Explorer window.
In this restore operation, you restore data that was backed up from the Doc_files
folder on the client, winmedia.example.com, to the DATA (E:) drive of the client
system, winmaster.example.com.
Lab 5-38
In the steps that follow, you initiate the restore of the selected client files (from
winmedia.example.com) to the selected alternate client system.
The Backup, Archive, and Restore user interface is displayed in the right pane of the
Administration Console, with the Doc_files folder and its contents already selected
for restore.
5. After making the changes to the Restore Marked Files parameter settings, as
described in the previous step, click the Start Restore button.
Continue to Exercise D-6: Viewing the restore in the Task Progress tab.
Lab 5-39
1. Click Yes in the View Progress dialog box to view the progress of the restore
operation.
The Task Progress tab of the BAR user interface is automatically selected.
2. Locate and click the entry for the most recent Restore job in the Tasks Performed
pane of the Task Progress tab.
3. Mark the Full Contents check box, if it not already marked, to see detailed
information about the restore operation in the Results of the Task Selected Above
pane of the Task Progress tab.
5. Scroll through the message displayed in the Results of the Task Selected Above
pane, until you reach the bottom of the pane.
6. Take note of the messages indicating the number of files that were restored
successfully.
7. Allow the Administration Console window and the BAR user interface to remain
open on console.example.com. You return to this window in a few moments.
Continue to Exercise D-7: Viewing the restored files on the alternate client.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-40
In the steps that follow, you view the folder and files that were restored to the alternate
client system, winmaster.example.com.
winmaster.example.com is also the client system to which the files were restored in
the most recent restore operation.
Continue to Exercise D-8: Viewing the restore job in the Activity Monitor.
Lab 5-41
In the steps that follow, you view the entry for the most recent Restore job in the
NetBackup Activity Monitor.
3. Select the entry for the Activity Monitor in the left pane of the Administration
Console window.
4. Locate the Jobs tab entry for the most recent Restore job.
5. Verify that the Restore job restored data to the client, winmaster.example.com.
6. Double-click the entry for the Restore job, to open the Job Details for the job.
7. Browse the Job Details for the job, including the contents of the Job Overview,
Detailed Status, and Job Hierarchy tabs.
From the Job Overview tab of the Job Detail window you can see the Job Type is
marked as Restore. The Client is winmaster.example.com, the Master Server is
winmaster.example.com. The Files List shows the files (/E/data/Doc_files) being
restored.
From the Detailed Status tab note the Job PID. This is the process ID of bprd
(NetBackup Request Daemon). The Media Server used in this restore is
winmaster.example.com. Notice the Storage Unit section is blank. Unlike a backup
that uses a specific Storage Unit, during Restores, Storage Units are not utilized.
From the Status pane, you can determine the data being restored was stored on
Disk. Look for the entry that states “granted resource”. This line reveals the
MediaID, DiskVolume, DiskPool, Path, StorageServer, and Media Server.
Lab 5-42
Note that the Activity Monitor does not list the directory to which the data is being
restored to. This information can be seen in the Task Progress tab of the BAR GUI.
Lab 5-43
In the steps that follow, you deactivate polices that you created in the this and previous
lab activities, to prevent the automatic initiation of backup jobs by these policies.
You perform these steps to prevent writing backup jobs to NetBackup storage –
to avoid the potential of filling the limited backup storage image space that is
available.
When a NetBackup policy is de-activated, the entry for the policy is greyed-out
in the policy list, and is marked with a red x.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Exercise F is an optional exercise, providing you with exposure to the use of the
OpsCenter operational restore feature that enables the restore of client files using the
OpsCenter user interface.
Lab 5-44
If your NetBackup master server and media server systems are the Linux-based systems,
lnxmaster.example.com and lnxmedia.example.com, complete the steps of this
exercise to perform an alternate client restore for a Linux-based client. Continue to
“Backing up your Linux-based media server system” below.
If your NetBackup master server and media server systems are the Windows-based
systems, winmaster.example.com and winmedia.example.com, and you have not
performed an alternate client restore for a Windows-based client, proceed to Exercise
D: Restoring client files to an alternate client system – Windows (only).
If you have completed Exercise D, skip this exercise and proceed to Exercise F: Using the
OpsCenter Operational Restore feature.
Perform this exercise (Exercise E) only if your master server and media server are the
Linux-based systems, lnxmaster.example.com and lnxmedia.example.com.
Lab 5-45
In the steps that follow, you perform a manual full backup of the client on the system,
lnxmedia.example.com using the PRE-clients-to-master-advdisk policy.
2. Select NetBackup Management and then Policies in the left pane of the
Administration Console.
3. Select the entry for the PRE-clients-to-master-advdisk policy in the All Policies pane
of the Administration Console.
4. Select Actions and then Manual Backup in the Administration Console tool bar.
5. In the Manual Backup window, click the entry for the client,
lnxmedia.example.com. Then click OK, to initiate the manual backup.
6. Click the entry for the Activity Monitor in the left pane of the Administration
Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. Monitor the most recent backup job of the lnxmedia.example.com client that used
the PRE-clients-to-master-advdisk policy.
If the job fails, record the status code and seek assistance. Correct the problem and
re-run the manual backup job before continuing to the next step.
10. When the backup job completes successfully, continue to the next step.
Continue to Exercise E-2: Preparing the BAR user interface for an alternate client
restore.
Lab 5-46
In the steps that follow you prepare the Backup, Archive, and Restore user interface to
perform a restore of files backed up from one Linux-based client
(lnxmedia.example.com) to another Linux-based client (lnxmaster.example.com).
2. Select the entry for the Backup, Archive, and Restore (BAR) user interface in the left
pane of the Administration Console.
The Backup, Archive, and Restore (BAR) user interface is displayed in the right pane
of the Administration Console.
4. Select Actions and then Specify NetBackup Machines and Policy Type.
5. Use the information provided in the table below to select the parameters in the
Specify NetBackup Machines and Policy Type window.
Parameter Value
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Specify NetBackup Machines and Policy Type window provides the key
settings that enable an alternate client restore operation.
You have selected to browse the master server image catalog to look for backup
images of the client, lnxmedia.example.com that will be restored to the client,
lnxmaster.example.com.
Lab 5-47
8. Verify the Restore type field of the BAR user interface is set to Normal Backups.
10. Select the entry for the most recent Full Backup image that was created using the
PRE-clients-master-to-advdisk policy.
11. Click OK to save the Backup History selection, and to close the Backup History
window.
Based on your selections, the NetBackup client sends queries to the selected master
server to obtain a list of the contents of the selected backup image.
12. Note that the Directory Structure pane of the BAR user interface displays an entry
for the contents of the backup image for the source client system,
lnxmedia.example.com.
Lab 5-48
In the steps that follow, you select the directories and files that will be restored.
1. In the Directory Structure pane, click the symbol (located to the left of the root
directory (/) to expand the entry for the directory.
An entry for the data directory is displayed in the Directory Structure pane.
2. Click to expand the entry for the data directory in the Directory Structure pane.
The sub-folders of the data directory are displayed in the Directory Structure pane.
3. Click the entry for the Doc_files directory, located in the Directory Structure pane.
4. Note that the contents of the Doc_files directory are displayed in the Contents of
the selected directory pane of the BAR user interface.
There are ten files in the Doc_files directory that were backed up.
5. Click the check box, located to the left of the Doc_files entry in the Directory
Structure pane, to select that directory and its contents for restore.
6. Note that the Doc_files directory and all of its contents (as shown in the Contents of
the selected directory pane) are marked for restore.
7. Allow the NetBackup Administration Console window (and the BAR user interface)
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise E-4: Viewing the folders on the alternate client system.
Lab 5-49
In the steps that follow, you briefly view the drive and folder location on the alternate
client system to which the restore files will be written.
To do so, locate and double-click the REMOTE SYSTEM ACCESS folder on the
desktop of console.example.com. Then, in the REMOTE SYSTEM ACCESS folder,
locate and double-click the PuTTY entry. When the PuTTY Configuration window is
opened, double-click the entry for lnxmaster.example.com to open an SSH session
with the Linux-based lnxmaster.example.com master server system.
3. In the PuTTY (root@lnxmaster) window, type the command shown below, and press
Enter.
In this restore operation, you restore data that was backed up from the Doc_files
directory on the client, lnxmedia.example.com, to the /alternate-client-data
directory on the client system, lnxmaster.example.com. As you can see in the
output of the command in figure above, the /alternate-client-data directory does
not currently exist on lnxmaster.example.com.
Lab 5-50
Lab 5-51
In the steps that follow, you initiate the restore of the selected client files (from
lnxmedia.example.com) to the selected alternate client system.
The Backup, Archive, and Restore user interface is displayed in the right pane of the
Administration Console, with the Doc_files folder and its contents already selected
for restore.
5. After making the changes to the Restore Marked Files parameter settings, as
described in the previous step, click the Start Restore button.
Continue to Exercise E-6: Viewing the restore in the Task Progress tab.
Lab 5-52
1. Click Yes in the View Progress dialog box to view the progress of the restore.
The Task Progress tab of the BAR user interface is automatically selected.
2. Verify the entry for the most recent Restore job in the Tasks Performed pane of the
Task Progress tab.
3. Verify the Full Contents check box is selected. This provides detailed information
about the restore operation in the Results of the Task Selected Above pane of the
Task Progress tab.
If the Restore fails, record the status and notify your instructor.
5. Scroll through the message displayed in the Results of the Task Selected Above
pane, until you reach the bottom of the pane.
6. Take note of the messages indicating the number of files that were restored
successfully.
7. Allow the Administration Console window and the BAR user interface to remain
open on console.example.com. You return to this window in a few moments.
Continue to Exercise E-7: Viewing the restored files on the alternate client.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-53
In the steps that follow, you view the directory and files that were restored to the
alternate client system, lnxmaster.example.com.
2. In the terminal window, type the command shown below, and press Enter.
4. Note that following the most recent restore operation, the /alternate-client-data
directory is present on the lnxmaster.example.com system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. In the terminal window, type the command shown below, and press Enter.
Command: ls –R /alternate-client-data
Lab 5-54
As you can see from the output of the ls command, the Doc_files directory and its
contents have been restored to the /alternate-client-data directory on
lnxmaster.example.com.
Continue to Exercise E-8: Viewing the restore job in the Activity Monitor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-55
In the steps that follow, you view the entry for the most recent Restore job in the
NetBackup Activity Monitor.
3. Select the entry for the Activity Monitor in the left pane of the Administration
Console window.
4. Locate the Jobs tab entry for the most recent Restore job.
5. Verify that the Restore job restored data to the client, lnxmaster.example.com.
6. Double-click the entry for the Restore job, to open the Job Details for the job.
7. Browse the Job Details for the job, including the contents of the Job Overview,
Detailed Status, and Job Hierarchy tabs.
Your observations will vary, however, here are some items to make note of.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
From the Job Overview tab of the Job Detail window you can see the Job Type is
marked as Restore. The Client is lnxmaster.example.com, the Master Server is
lnxmaster.example.com. The Files List shows the files (/data/Doc_files) being
restored.
From the Detailed Status tab note the Job PID. This is the process ID of bprd
(NetBackup Request Daemon). The Media Server used in this restore is
lnxmaster.example.com. Notice the Storage Unit section is blank. Unlike a
backup that uses a specific Storage Unit, during Restores, Storage Units are not
utilized. From the Status pane, you can determine the data being restored was
stored on Disk. Look for the entry that states “granted resource”. This line
reveals the MediaID, DiskVolume, DiskPool, Path, StorageServer, and Media
Server.
Lab 5-56
Note that the Activity Monitor does not list the directory to which the data is being
restored to. This information can be seen in the Task Progress tab of the BAR GUI.
Lab 5-57
In the steps that follow, you deactivate polices that you created in the this and previous
lab activities, to prevent the automatic initiation of backup jobs by these policies.
You perform these steps to prevent writing backup jobs to NetBackup storage –
to avoid the potential of filling the limited backup storage image space that is
available.
When a NetBackup policy is de-activated, the entry for the policy is greyed-out
in the policy list, and is marked with a red x.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Exercise F is an optional exercise, providing you with exposure to the use of the
OpsCenter operational restore feature that enables the restore of client files using the
OpsCenter user interface.
If you wish to complete the optional exercise, click the link to proceed to Exercise F:
Using the OpsCenter Operational Restore feature.
Lab 5-58
In this optional exercise, you use the Operational Restore interface provided in
OpsCenter 8.0 to perform the restore of file system data to a Windows-based client
system.
Lab 5-59
In the following steps, you view the files and directories on the client system,
console.example.com, in preparation for performing a restore of client data.
3. Double-click the entry for the DATA( E:) disk drive in the File Explorer window.
̶ alternate-directory
̶ data
̶ FILESHARE
4. Allow the File Explorer window to remain open on the client. You return to this
window in a few moments to verify the results of the restore operation.
Lab 5-60
In the steps that follow you start the OpsCenter Server services on
console.example.com.
To perform OpsCenter operations, you must first start the OpsCenter Server
services.
3. In the OPSCENTER folder, locate and right-click the opsadmin start.bat file,
and then click Run as Administrator in the resulting menu, as shown in the figure.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-61
Continue to Exercise F-3: Restoring client folders and files with OpsCenter.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-62
In the steps that follow, you use the OpsCenter Web interface to browse for, select, and
restore client folders and files to a Windows-based client system.
1. Locate and double-click the OpsCenter WebUI Login shortcut, located in the
OPSCENTER folder, to launch the OpsCenter Web Interface in a Mozilla Firefox Web
browser window.
It may take a few moments for the browser to display the next screen.
2. A “This Connections is Untrusted” dialog box may be displayed. If this happens, click
the “I Understand the Risks” link, and continue to the next step.
3. Click the Add Exception button that is added to the “This Connections is Untrusted”
dialog box.
4. When the Add Security Exception window is displayed, click the Confirm Security
Exception button.
5. When the Veritas NetBackup OpsCenter Version 8.0 log on screen is displayed, log
on to OpsCenter using the following credentials:
̶ Username: admin
Password: Tra1n!ng ( Note: password is “ T r a 1 n ! n g “)
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
̶
̶ Domain: OpsCenterUsers(vx)
If the Domain field of the log on page is blank, you may be unable to log on
successfully. This can be an indication that the OpsCenter server services are
not running on the OpsCenter server system. Try restarting the OpsCenter
services. If you are still having issues, notify your instructor.
Lab 5-63
9. Under the Select files or directories tab, and the Search sub-tab (these tabs are
selected by default), click the Browse and select clients link, highlighted in the
figure.
Lab 5-64
You may only see your master server listed, which is ok. This is because the
other master server host is shutdown.
The list of clients that have been backed up by your master server is displayed in the
Browse Clients window.
11. Click the check box to the left of the entry for the console.example.com client. The
entry is displayed as below, depending on your master server (the master server
name is enclosed in parentheses following the client name):
̶ console.example.com (winmaster.example.com)
̶ console.example.com (lnxmaster.example.com)
Verify that the check box for console.example.com (your master server name) is
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
marked (checked).
Lab 5-65
14. In the File or Directory name field, illustrated as item #2 in the figure above, type
Doc_files.
Lab 5-66
When the search operation completes, OpsCenter displays the search results at the
bottom of the Select files or directories tab, as illustrated in the figure below.
Note that an entry for the Doc_files folder is displayed in the search results,
as illustrated in the figure above.
16. Click the Backup History Selection link located in the Backup History column, as
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Backup Timeline window is displayed, and provides a history of the backup
images that contain the directory or file name that you included in your search
criteria (in this example, Doc_files).
17. Note the three tabs that can be selected in the Backup Timeline screen:
Lab 5-67
As a result, OpsCenter searches its catalogs and, after a short time, updates the Backup
Timeline window contents to display a graphic representation (icon) for each of the
backup images of the selected client that were created in the last week, and that
contain the directory or file that was included in the search criteria (Doc_files), as
illustrated in the figure below.
The backup administrator can select any backup image to use as the source for
a restore operation (by clicking on the icon for the backup image on the backup
timeline).
The icon legend for the Backup Timeline identifies the type of media on which
each of the backup images is resident.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
19. Click the entry or icon for the most recent backup image of the client that is listed in
the Backup Timeline, as illustrated in the figure above.
20. Note that the Details of Selection pane, located on the bottom half of the Backup
Timeline screen, displays information about the selected backup image. The radio
buttons associated with the entries for the backup image are automatically selected.
Lab 5-68
22. Click the Restore Cart tab, as illustrated in the figure below.
The Restore Cart is displayed. The Restore Cart contains entries for all directories
and files that have been selected for restore.
The Restore Cart can contain entries selected from multiple backup images
which may originate from the same client or from multiple client systems. If
there are multiple entries in the Restore Cart and you select multiple entries
for restore, NetBackup will initiate multiple restore jobs to restore the selected
directories and files, as needed.
Entries in the Restore Cart are not selected for restore by default because the
backup administrator may wish to selectively restore the entries rather than to
initiate the restores all at one time.
The Restore Cart for this restore scenario is illustrated in the figure below. The
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-69
24. Click Restore now button, located at the bottom of the Restore Cart screen.
It may be necessary to scroll down (or resize browser window) to see the
Restore now button.
25. Click the radio button to Restore all files and directories to an alternate path
location (maintaining the existing structure) on source or alternate client.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
26. Enter the following parameters in the fields provided under the Restore all files and
directories to an alternate path location... entry:
Lab 5-70
The List of selected files or directories for restore pane is displayed in the figure.
The figure below may differ from your lab environment.
The File or Directory Restore Launch Status dialog box is displayed, as illustrated in
the figure below. The figure below may differ from your lab environment.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
29. Note the Job ID of the restore job that was initiated.
30. Click OK to close the File or Directory Restore Launch Status window.
31. Note that OpsCenter automatically takes you to the Monitor > Jobs tab.
If the entry for the Job ID is not displayed in Monitor > Jobs, refresh your Web
browser (press F5).
33. Monitor the entry for the restore Job ID until OpsCenter reports a job State of Done.
Lab 5-71
If the job fails, record the status code and notify your instructor.
35. Click Logout to log out of OpsCenter, as illustrated in the figure below.
37. You have just completed the restore of a folder and its contents to the client,
console.example.com, using the OpsCenter Web user interface.
Lab 5-72
In the following steps, you verify that the folder and files have been restored to the
specified folder location on the client system, console.example.com.
2. Access the File Explorer window on the client system. This window is open from
previous steps in this lab exercise.
Lab 5-73
File Explorer can be slow to refresh. If the restored files are not immediately
visible, try closing the window and opening a new File Explorer window.
It is anticipated that the restore operation that was initiated using the
Operational Restore capability was completed successfully. If the restore was
not successful, notify your instructor.
Continue to Exercise F-5: Viewing the restore job in the Activity Monitor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-74
In the steps that follow, you view the entry for the most recent Restore job in the
NetBackup Activity Monitor.
3. Select the entry for the Activity Monitor in the left pane of the Administration
Console window.
4. Locate the Jobs tab entry for the most recent Restore job that restored data to the
console.example.com client, and verify that the Restore job was completed
successfully (status 0).
5. Double-click the entry for the Restore job, to open the Job Details for the job.
6. Browse the Job Details for the job, including the contents of the Job Overview,
Detailed Status, and Job Hierarchy tabs.
Lab 5-75
In the steps that follow, you stop the OpsCenter Server services that are running on the
console.example.com system.
2. Locate and right-click the opsadmin stop.bat file in the OPSCENTER folder.
3. In the resulting menu, click, Run as Administrator, to run the batch file.
You have completed the optional exercise for this lab activity.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 5-76
In this lab, you perform tasks to configure AdvancedDisk storage, perform and monitor
backups that write to AdvancedDisk storage, and use various NetBackup-provided user
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 6-1
In this exercise, you identify disk storage on your media server system that has been
allocated for use by the NetBackup AdvancedDisk feature.
Lab 6-2
In this lab exercise you will connect to a remote Windows-based media server lab
systems, locate and double-click the RDP Profiles (Windows systems) sub-folder, and
then review the disk storage information.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
5. Log on to your media server using the credentials provided in the table below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 6-3
7. Take note of the disk volumes that are configured on this NetBackup server system.
Many of these have been configured in preparation for use as storage destinations
for NetBackup backup images. Take note specifically of the disk volumes labelled as
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 6-4
In this lab exercise you will connect to a remote Linux-based media server system using
the Putty shortcut located in the REMOTE SYSTEM ACCESS folder on the console, and
then review the disk storage information.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. To connect to the Linux-based lab system, double-click the Putty shortcut located in
the REMOTE SYSTEM ACCESS folder.
5. Locate and double-click the pre-configured entry for the Linux-based master server,
lnxmedia.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmedia.example.com.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Log on to your Linux media server using the credentials provided in the table below.
7. At the command prompt, type the command shown below, and press Enter.
root@lnxmedia ~]# df -h
Lab 6-5
The output of the command identifies the file systems and their associated
mount points on the lnxmedia system. Many of these file systems were pre-
configured to serve as storage destinations for NetBackup backup images.
Lab 6-6
Lab 6-7
In the steps that follow, you use the Configure Disk Storage Server wizard to create an
AdvancedDisk storage server.
4. Click the top entry in the left pane of the NetBackup Administration Console
window (the top entry should be the name of your master server).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The right pane of the Administration Console displays a list of the NetBackup wizards
that are available on a master server system.
Lab 6-8
6. Identify the types of disk storage options that are available for selection.
The Storage Server Configuration Wizard displays the Add Storage Server window.
Lab 6-9
Choose the information to enter based upon the operating system of your media
server – Windows (use top rows of the table), or Linux (bottom rows of the table).
10. After entering the information in the previous table click Next to continue.
11. Verify the information displayed on the summary screen, then the click Next button,
located near the bottom of the wizard window.
Lab 6-10
12. Verify that the “storage server is successfully created” message is displayed.
13. Note the check box on the Storage Server Configuration Status screen.
If the check box is marked, when you click Next, the wizard continues on to enable
the configuration of an AdvancedDisk disk pool.
Lab 6-11
In the steps that follow, you continue the use of the Storage Server Configuration
Wizard to create an AdvancedDisk disk pool.
When you continue from the Storage Server Configuration Wizard to the creation of a
disk pool, the wizard displays the Volume Selection screen. See the figures below for
illustrations of the Volume Selection screens.
The figure below illustrates a screen shot of the Volume Selection screen for the
Windows-based media server, winmedia.example.com.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 6-12
1. Using the information provided in the table below, mark the check boxes for the disk
volumes to be used for the AdvancedDisk disk pool.
2. After selecting the volumes indicated in the table above, click Next to continue.
Lab 6-13
4. After entering the parameter values in the fields of the Additional Disk Pool
Information screen, click Next to continue.
5. Verify the information displayed in the configuration summary is correct, and then
click Next to continue.
The Disk Pool Configuration Status screen is displayed. It may take a moment for
the creation of the disk pool to be completed.
Lab 6-14
7. Verify that the “Disk pool “media_advdisk_dpool” has been successfully created”
message is displayed before continuing.
If the check box on the Disk Pool Configuration Status screen is marked (the
default condition of the check box) – as illustrated in the figure above - when
you click Next, the Storage Server Configuration Wizard enables the
configuration of a storage unit.
8. Click Next to continue to the creation of a storage unit that is associated with the
disk pool that you have just configured.
Lab 6-15
In the next steps, you use the Storage Server Configuration Wizard to create a storage
unit that is associated with the AdvancedDisk disk pool that you configured.
After clicking Next on the Disk Pool Configuration Status screen, the Storage Server
Configuration Wizard displays the Storage Unit Creation screen, as illustrated in the
figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
1. Verify that the Storage Unit Creation screen is displayed, and then proceed to the
next step.
Lab 6-16
3. When you have entered the storage unit parameters in the Storage Unit Creation
screen, click Next to continue.
If successful, the message “You have successfully completed the NetBackup Disk
Pool Configuration Wizard” is displayed.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 6-17
In this exercise, you verify the configuration of the AdvancedDisk storage server, disk
pool, and storage unit that you created in the previous exercise.
Continue to Exercise C-1: Verifying AdvancedDisk storage server configuration using the
Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 6-18
2. Navigate to Media and Device Management and then select Credentials and then
Storage Servers, in the left pane of the Administration Console.
With the entry for Storage Servers selected in the left pane of the Administration
Console, the list of configured storage servers is displayed in the right pane of the
Administration Console.
3. Verify that the entry for the storage server you created (winmedia.example.com if
your master server is Windows-based or lnxmedia.example.com if your master
server is Linux-based) exists in the list of configured storage servers.
Two of the storage servers listed were pre-configured for this course (an
AdvancedDisk storage server on your master server, and a PureDisk storage
server on your master server).
If you right-click the entry for the new storage server (or click Actions in the
Administration Console tool bar), the Change option is greyed out.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise C-2: Verifying AdvancedDisk disk pool configuration and status
using the Administration Console.
Lab 6-19
1. Navigate to Media and Device Management and then Devices and then select Disk
Pools in the left pane of the NetBackup Administration Console.
With the Disk Pools entry selected in the left pane of the Administration Console,
the right pane displays a list of the disk pools that are configured in the NetBackup
master server environment.
2. Right-click the entry for the media_advdisk_dpool disk pool, and in the resulting
menu, click Change.
The Change Disk Pool window is displayed. This window can be used to view and
modify certain parameters of the selected disk pool.
3. In this case, click Cancel to close the Change Disk Pool window without making
changes to the disk pool settings.
Lab 6-20
When Device Monitor is selected in the left pane, the right pane provides two tabs –
Drives and Disk Pools, as illustrated in the figure below.
5. Click the Disk Pool tab, located in the right pane of the Administration Console
The right pane of the Administration Console lists the disk pools that are configured
in the master server environment.
6. Select View and then Refresh (or click the Refresh icon on the tool bar) to update
the contents of the Disk Pool pane of the Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
8. Right-click the entry for the media_advdisk_dpool, and take note of the choices that
are available in the resulting menu.
You should have the options of changing the disk pool status to either UP or Down.
10. Note the immediate change in the contents of the disk pool Status column, as
displayed in the right pane of the Administration Console.
Lab 6-21
12. Right-click the entry for the media_advdisk_dpool disk pool again, and click the Up
Disk Pool option to return the disk pool to operational status.
The status of a disk pool can also be changed by using the command
nbdevconfig.
The configuration of a disk pool cannot be changed using the Device Monitor
interface of the Administration Console.
Lab 6-22
1. Navigate to NetBackup Management and then Storage and select Storage Units in
the left pane of the NetBackup Administration Console.
With the Storage Units entry selected in the left pane of the Administration Console,
the right pane contains a list of the storage units that are currently configured in the
NetBackup environment.
2. Locate and right-click the entry for the media_advdisk_stu in the right pane of the
Administration Console.
Lab 6-23
concurrent jobs, and the Maximum fragment size used by the storage unit.
5. Click Cancel to close the Change Storage Unit window without making changes to
the storage unit configuration.
Continue to Exercise C-4: Using NetBackup command line interfaces to verify storage
servers, disk pools, and storage units.
Lab 6-24
NetBackup provides commands that can be used to verify the configuration and status
of storage servers, disk pools, and storage units.
If you do not wish to use the NetBackup command line interface to monitor and manage
AdvancedDisk entities, such as storage servers, disk pools, and mount points, proceed to
Exercise D: Configuring a policy to write backups to AdvancedDisk storage.
1. Access the desktop of your master server system using one of the two methods
listed below. Choose your master server based upon your preferred operating
system for this course.
Lab 6-25
In this lab exercise you will connect to a remote Windows-based master server lab
systems, locate and double-click the RDP Profiles (Windows systems) sub-folder, and
then review the disk storage information.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
5. Log on to your master server using the credentials provided in the table below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Click the Command Prompt shortcut, located on the desktop of the Windows 2012-
based master server, winmaster.example.com.
Lab 6-26
In this lab exercise, you connect to a remote Linux-based master server system using the
Putty shortcut located in the REMOTE SYSTEM ACCESS folder on the console, and then
review the disk storage information.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. To connect to the Linux-based lab system, double-click the Putty shortcut located in
the REMOTE SYSTEM ACCESS folder.
5. Locate and double-click the pre-configured entry for the Linux-based master server,
lnxmaster.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmaster.example.com.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Log on to your Linux master server using the credentials provided in the table below.
Lab 6-27
The NetBackup nbdevquery command can be used to view the configuration and status
of NetBackup entities such as storage servers, disk pools, and mount points.
In this lab environment, the PATH environment variable has already been set
on the master server and media server systems.
Lab 6-28
4. Note the output of the command, including the entry for the AdvancedDisk storage
server that was configured on the media server system (winmedia.example.com or
lnxmedia.example.com).
5. Execute the nbdevquery command again, this time adding the –U command option
as shown below.
6. Scroll through the command output to locate information for the AdvancedDisk
storage server on your media server system - winmedia.example.com or
lnxmedia.example.com.
7. Take note of the types of information that are included in the command output.
Lab 6-29
8. Execute the nbdevquery command, using the –listdp command option to view disk
pool information. Execute the command with the syntax shown below.
9. Take note of the command results. Scroll through the command output to locate the
information for the media_advdisk_dpool disk pool.
10. Execute the nbdevquery command using the command syntax shown below, to
obtain information on a specific disk pool name, as shown below.
The output of this command provides information about the specified disk
pool.
11. Take note of the current status of the media_advdisk_dpool disk pool.
Lab 6-30
12. Use the nbdevconfig command to change the status of the media_advdisk_dpool
from “UP” to “DOWN”, using the command syntax shown below.
14. Use the nbdevquery command with the –listdp option to view the status of the
media_advdisk_dpool disk pool (as shown in a previous step).
15. Take note of the current status of the media_advdisk_dpool disk pool.
16. Use the nbdevconfig command to change the status of the media_advdisk_dpool
from “DOWN” to “UP”. Use the command syntax shown below.
18. Use the nbdevquery command with the –listdp option to view the status of the
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
19. Take note of the current status of the media_advdisk_dpool disk pool.
Lab 6-31
20. Use the nbdevquery command syntax shown below to list mount points for all disk
volumes associated with AdvancedDisk disk pools.
22. Use the nbdevquery command syntax shown below to list mount points for the disk
volumes associated with a specific AdvancedDisk disk pool, media_advdisk_dpool,
in this case.
Lab 6-32
24. Use the nbdevquery command syntax shown below to list detailed information
about the disk volumes in the specified disk pool.
25. Note the logical Disk Media ID that NetBackup assigns for both disk volumes
associated with this disk pool.
Lab 6-33
26. Execute the bpstulist command using the syntax shown below, to view configuration
information for all NetBackup storage units.
Command: bpstulist -U
28. Execute the bpstulist command again, using the syntax shown below, to view
configuration information for a specific NetBackup AdvancedDisk storage unit.
30. Exit the command prompt and log out of the Windows master server or type Exit to
close and log out of the Linux master server.
Lab 6-34
After configuring AdvancedDisk storage, including the storage server, disk pool, and
storage unit, the final step that is required to use this storage for backup operations is to
configure a policy that directs backup images to be written to the AdvancedDisk storage,
as specified by an AdvancedDisk storage unit.
Lab 6-35
In this lab exercise you will create a NetBackup policy that backs data up to an
AdvancedDisk storage unit.
3. Navigate to NetBackup Management and select Policies in the left pane of the
Administration Console.
When the Policies entry is highlighted in the left pane of the Administration Console,
the All Polices pane displays a list of all policies that are currently configured.
5. In the Add a New Policy dialog box, type the name of the new policy, LAB06-
console-to-media-advdisk, in the Policy name field, and press OK.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Use the information provided in the table below to enter the information in the
Attributes tab of the policy.
Lab 6-36
9. After entering the parameters for the full_frequency schedule, click OK to save the
new schedule.
11. Use the information provided in the table below to add a single client to the policy.
You may wish to have NetBackup detect the Hardware and Operating System
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
of the client.
12. After entering the information for the client, click Add to save the client entry.
15. Use the information provided in the table below to add a single backup selection to
the policy.
Lab 6-37
16. After entering the backup selection information, click OK to save the backup
selection entry, and to exit the Add Backup Selection window.
17. Select each of the policy tabs - Attributes, Schedules, Clients, and Backup Selections
- one-at-a-time, and verify the contents of each.
18. Click OK to save the policy and to close the Change Policy window.
Lab 6-38
In this exercise, you perform a manual backup that writes to AdvancedDisk storage, and
monitor the progress and results of the backup job.
Lab 6-39
2. Navigate to NetBackup Management and then select Policies in the left pane of the
Administration Console.
When the Policies entry is highlighted in the left pane of the Administration Console,
the All Policies pane displays a list of all policies that are currently configured on the
NetBackup master server
3. Click OK in the Manual Backup window, without making any other selections.
When you click OK in the Manual Backup window the window is closed and the
backup job is initiated.
Lab 6-40
1. Select the Activity Monitor entry in the left pane of the Administration Console.
2. Locate and view the Activity Monitor entry for the most recent backup job (the job
with the highest-numbered Job ID) until the job is completed.
4. Note the information for the job (as obtained from the tabs of the Job Details
window) shown in the table below.
5. If the job failed, take note of the status code for the job and seek assistance.
According to the Job Details for the job, this job was written to the AdvancedDisk
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 6-41
In Exercise C of this lab activity you used the NetBackup Administration Console and
NetBackup CLIs to view and manage the configuration of NetBackup entities (storage
servers, disk pools, and storage units) related to the AdvancedDisk feature.
In this exercise, you perform additional tasks related to monitoring and managing
AdvancedDisk disk pools.
Lab 6-42
You can run NetBackup reports to check on the status and operation of AdvancedDisk
storage.
1. Navigate to NetBackup Management and then select Disk Reports from the Reports
listed in the left pane of the Administration Console.
2. Expand the Disk Reports entry in the left pane of the Administration Console.
Several disk reports are listed under the entry for Disk Reports, in the left pane of
the Administration Console.
3. Note the names of the Disk Reports as listed in the table below.
Lab 6-43
The right pane of the Administration Console displays the Report Settings that can
be entered in order to generate the desired report output.
5. Enter the report settings indicated in the table below into the fields of the Report
Settings pane.
The output of the report is displayed in the bottom half of the right pane of the
Administration Console.
The Images on Disk report lists all the active backup images for the specified Client
or all clients, and that reside on the selected Disk Type, Disk Pool, and disk Volume.
Careful examination of the output of this report reveals the specific disk
volume to which a given backup image was recorded, along with a substantial
amount of additional information.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 6-44
8. Enter the report settings indicated in the table below into the fields of the Report
Settings pane.
The output of the report is displayed in the bottom half of the right pane of the
Administration Console.
The output of the Disk Pool Status report shows the current Status of the selected
disk pool (Up or Down), along with other important information such as, Total
Capacity, Used Capacity, and Available Capacity of the disk pool.
Lab 6-45
You may add one or more additional disk volumes to an existing AdvancedDisk disk pool
in order to increase the available capacity of the disk pool.
In the steps that follow, you execute the nbdevconfig command to add a volume to the
AdvancedDisk pool.
Lab 6-46
3. Execute the following nbdevquery command to display the volumes currently in the
media_advdisk_dpool.
4. Note the paths (disk volumes) in the media_advdisk_dpool as shown in the table
below.
Linux-based /advdisk1,
/advdisk2
Continue to Exercise F-3: Adding a volume to a disk pool using the nbdevconfig
command.
Lab 6-47
The nbdevconfig command provides the –adddv option to add a disk volume to a disk
pool.
2. Identify the disk volume to be added to the disk pool as shown in the table below.
3. At the command prompt of your master server, type the appropriate nbdevconfig
command shown below, and press Enter, to add the new disk volume to the
media_advdisk_dpool disk pool.
Enter only one of the two commands listed below – the one that matches your
master server OS type.
Be careful with spelling when using the nbdevconfig command; some of the
command options (e.g. adddv and AdvancedDisk) are easily misspelled.
5. Execute the following nbdevquery command to display the volumes currently in the
media_advdisk_dpool:
Lab 6-48
8. Verify that the disk pool now contains three disk volumes.
10. Log out of (and close) any RDP sessions that may be open from
console.example.com to your master server or media server systems.
Lab 6-49
In this lab, you perform tasks to configure, monitor, and manage NetBackup Media
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Server Deduplication (MSDP) storage, configure policies and perform backup jobs that
write backup images to MSDP storage.
Lab 7-1
In this exercise, you perform the steps required to configure the NetBackup Media
Server Deduplication (MSDP) feature. MSDP configuration consists of three main tasks:
Lab 7-2
In the steps that follow, you access the media server in your lab environment to view
the disk volumes that have been allocated for use for MSDP data and catalog storage.
Lab 7-3
In this lab exercise you will connect to a remote Windows-based media server lab
systems and then review the disk storage information.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
5. Log on to your media server using the credentials provided in the table below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-4
7. Take note of the disk volumes that are configured on this NetBackup server system.
Many of these have been configured in preparation for use as storage destinations
for NetBackup backup images. The disk volumes MSDPCAT(J:) and MSDPDATA(K:),
that were created for use as MSDP storage.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-5
In this lab exercise you will connect to a remote Linux-based media server system using
the Putty shortcut located in the REMOTE SYSTEM ACCESS folder on the console, and
then review the disk storage information.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. To connect to the Linux-based lab system, double-click the Putty shortcut located in
the REMOTE SYSTEM ACCESS folder.
5. Locate and double-click the pre-configured entry for the Linux-based master server,
lnxmedia.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmedia.example.com.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Log on to your Linux media server using the credentials provided in the table below.
7. At the command prompt, type the command shown below, and press Enter.
root@lnxmedia ~]# df -h
Lab 7-6
The output of the command identifies the file systems and their associated
mount points on the lnxmedia.example.com system. Many of these file
systems were pre-configured on this media server to serve as storage
destinations for NetBackup backup images.
8. Take note of the /dev/sdb10 and /dev/sdb11 file systems, and their
associated mount points, /msdpcat and msdpdata, respectively.
Lab 7-7
In the steps that follow, you launch the NetBackup Configure Disk Storage Servers
Wizard on console.example.com to begin the configuration of the MSDP feature. The
first step is to configure the storage server that is used by the MSDP feature.
4. View the top entry in the left pane of the Administration Console window to verify
that you are connected to your master server. See the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-8
Within a few moments a list of the NetBackup wizards is displayed in the right pane
of the Administration Console, as illustrated in the figure below.
7. Click the entry for the Configure Disk Storage Servers wizard, located in the right
pane of the Administration Console, to launch the wizard.
A Storage Server Configuration Wizard window is opened. The first wizard screen
displayed enables you to select the type of storage server you want to configure.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
8. Click the radio button to select the Media Server Deduplication Pool storage server
type, as illustrated in the figure above, and click Next to continue.
Lab 7-9
Choose the settings based upon the operating system of your media server system.
10. After entering the information in the Add Storage Server screen, click Next.
In this lab scenario, you use one directory path of the MSDP data (Storage Path) and
another directory path for the MSDP catalogs.
11. Use the information in the following table to populate the Storage Server Properties
parameters.
Note that the subdirectories on Windows-based media servers do not exist yet, but
will be automatically created by the wizard at a later point in the process.
12. After entering the information on the Storage Server Properties screen, click Next.
Lab 7-10
14. Verify the information displayed in the summary screen and, if the settings are as
expected, click Next to continue.
When the storage server has been successfully created, the “Storage server
“xxxmedia.example.com” is successfully created” message is displayed, and the
Next button becomes available for selection.
15. Allow the check box for the “Create a disk pool using the storage server…” to
remain selected (the default), and click Next to continue.
The creation of the storage server for MSDP has been completed. Because you
elected to “Create a disk pool using the storage server…” in the previous step, the
Storage Server Configuration Wizard continues to the configuration of the disk pool.
Lab 7-11
The Storage Server Configuration Wizard enables you to move directly from configuring
the MSDP storage server to the configuration of the disk pool that will be used by the
Media Server Deduplication feature.
If you exit the Storage Server Configuration Wizard, you can launch the
Configure Disk Pool wizard to perform the configuration of the MSDP disk pool
In the steps that follow, you continue the use of the NetBackup Storage Server
Configuration Wizard to configure the disk pool that will be used by MSDP on the media
server system.
After completing the storage server configuration, the Storage Server Configuration
Wizard automatically displays the Volume Selection screen.
1. Make no changes on the Volume Selection screen, and click Next to continue.
2. Use the information provided in the following table to enter the values in fields of
the Additional Disk Pool Information screen.
Lab 7-12
The Disk Pool Configuration Summary screen is displayed, that displays a summary
of the disk pool configuration settings you have made.
4. Verify the information displayed in the Disk Pool Configuration Summary screen. If
the information is correct, click Next to continue.
If the disk pool was created successfully, the message “Disk pool
“media_msdp_dpool” is successfully created” is displayed.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-13
Because you elected to “Create a storage unit using the disk pool…”, the Storage
Server Configuration Wizard continues to the configuration of the storage unit.
Lab 7-14
The Storage Server Configuration Wizard enables you to move directly from configuring
the MSDP disk pool to the configuration of the MSDP storage unit.
If you exit the Storage Server Configuration Wizard, you can use the
NetBackup Administration Console to manually initiate the configuration of
the MSDP storage unit.
The Storage Server Configuration Wizard automatically displays the Storage Unit
Creation screen that enables you to configure the MSDP storage unit.
1. Use the information provided in the table below to enter the values in fields of the
Storage Unit Creation screen.
2. After entering the values indicated in the table above into the Storage Unit Creation
screen, click Next to continue
When the storage unit has been successfully created, the Storage Server
Configuration Wizard displays the Finished screen.
Lab 7-15
In the previous steps of this lab activity, you used the NetBackup Storage Server
Configuration Wizard to configure the storage server, disk pool, and storage unit that
will be used by the NetBackup Media Server Deduplication (MSDP) feature.
In the steps that follow, you view the MSDP storage server, disk pool, and storage unit
that were created using the NetBackup Administration Console.
2. Select Media and Device Management and then select Credentials, and then
Storage Servers in the left pane of the Administration Console.
With the Storage Servers entry highlighted in the left pane of the Administration
Console, the right pane displays the list of storage servers that are configured in the
master server’s backup domain.
3. Locate and right-click the storage server entry that has the Name of your media
server, xxxmedia.example.com (winmedia.example.com or
lnxmedia.example.com), and that has the Server Type, PureDisk. This is the storage
server that you created in previous steps of this exercise.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
When you right-click the entry for the storage server, a menu is displayed, as
illustrated in the figure below.
Lab 7-16
The Change Storage Server window is displayed, as illustrated in the figure below.
5. Note the three tabs that are available in the Change Storage Server window; Media
Servers, Properties, and Replication.
6. Briefly view the contents of each of the three tabs (but do not change any storage
server settings).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. What two storage server Properties can be modified using the Change Storage
Server user interface? See the answers below.
8. Note that the current value of the Storage Pool Used Space should be less than
200MB.
9. Click Cancel in the Change Storage Server window to close the window without
making changes to the storage server configuration.
Lab 7-17
With the Disk Pools entry selected in the left pane of the Administration Console,
the right pane displays the list of the disk pools that are configured in the master
server’s backup domain.
11. Locate and right-click the entry for the media_msdp_dpool disk pool. This is the disk
pool that you created earlier in this exercise.
When you right-click the entry for the disk pool, a menu is displayed.
13. Take note of the Total raw size and Total available space values for the disk pool.
14. Click Cancel in the Change Disk Pool window to close the window without making
changes to the disk pool configuration.
Lab 7-18
With the Storage Units entry selected in the left pane of the Administration Console,
the right pane displays a list of the storage units that are configured in the master
server’s backup domain.
16. Locate and right-click the entry for the media_msdp_stu storage unit. This is the
storage unit that you configured earlier in this exercise.
When you right-click the entry for the storage unit, a menu is displayed.
The Change Storage Unit window is displayed, as illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-19
19. Click Cancel to close the Change Storage Unit window without changing the storage
unit settings.
In this exercise, you used the Configure Disk Storage Servers wizard to configure the
MSDP storage server, disk pool, and storage unit for your media server system.
Then, you used the NetBackup Administration Console to review the results of the
configuration by inspecting the storage server, disk pool, and storage unit
configuration settings.
Lab 7-20
Lab 7-21
2. Select the NetBackup Management > Policies entry in the left pane of the
Administration Console.
With the Policies entry selected in the left pane of the Administration Console, the
All Policies pane displays a list of the policies that are currently configured in the
master server’s backup domain.
3. With the Policies entry selected in the left pane, select Actions > New > Policy.
Lab 7-22
1. Configure the policy Attributes to back up the client, console.example.com. Use the
information provided in the table below to set the policy attributes.
Lab 7-23
Set the Full Backup schedule Start Window to enable only manually-initiated backup
operations.
Use the information provided in the following table to complete the schedule
configuration.
4. Set the full_manual schedule settings using the values provided in previous
Table and click OK in the Add Schedule window to save the new schedule.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Verify that the entry for the full_manual schedule is displayed in the list of
schedules on the Schedules tab of the Change Policy window.
Lab 7-24
3. In the Add Client window, add the entry for the client, console.example.com client
to the client list on the Clients tab of the policy.
4. Click OK in the Add Client window to add the entry for the client.
5. Verify that the console.example.com client entry has been added to the client list
on the Clients tab.
Lab 7-25
3. Add the entry to back up the E:\data folder on the client to the Backup Selections
List of the policy.
4. Click the OK button in the Add Backup Selection window to add the backup
selection to the policy and to close the Add Backup Selection window.
5. Verify that the E:\data entry has been added to the Backup Selection List in the
Backup Selections tab of the Change Policy window.
Lab 7-26
1. Click each of the tabs in the Change Policy window, and briefly review the contents
of each tab; Backup Selections, Clients, Schedules, and Attributes.
Verify that the important policy settings are as intended, as summarized in the table
shown below.
2. Click the OK button in the Change Policy window to save the policy settings and to
close the Change Policy window.
3. Verify that the entry for the new policy, LAB07-console-to-media-msdp, is visible in
the list of policies that is displayed in the All Policies pane of the Administration
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Console.
Lab 7-27
Lab 7-28
2. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
3. Click the entry for the LAB07-console-to-media-msdp policy in the All Policies pane
of the Administration Console.
5. Click OK in the Manual Backup window without making any additional selections, to
initiate the manual backup of the console.example.com client, using the
full_manual schedule.
Continue to Exercise C-2: Monitoring the backup job and viewing the results.
Lab 7-29
In the steps that follow, you modify the Activity Monitor column layout so that the
columns are displayed in the order specified, so that the Deduplication Rate information
for jobs that write to MSDP storage is more readily visible.
1. Select the Activity Monitor entry in the left pane of the Administration Console.
2. Locate the entry for the most recent Backup job that used the LAB07-console-to-
media-msdp policy.
3. Allow the backup job to run to completion, and verify that the job was completed
successfully. If the job failed, take note of the job status and seek assistance.
4. Click the entry for any job in the Jobs (right) pane of the Administration Console.
5. Select View and then select Columns and then Layout. The Column Layout window
is displayed.
6. Adjust the column layout of the Activity Monitor, so that the columns 1-10 are
displayed, from left-to-right, in the order listed in the table below.
2 Type
3 Status
4 State
5 Job Policy
6 Job Schedule
7 Client
8 Storage Unit
9 Deduplication Rate
10 Media Server
11 and following In any order preferred
Lab 7-30
7. When you have adjusted the column layout as desired, click OK in the Column
Layout window to save your column layout settings and to close the window.
If you have not done so previously in the labs, consider selecting View >
Columns > Size to Data to improve the readability of the column information.
8. Examine the entry for the most recent Backup job that used the LAB07-console-to-
media-msdp policy.
9. Double-click the entry for the backup job (that used the LAB-7-console-to-media-
msdp policy) to view the Job Details.
10. Examine the contents of the Job Overview and Detailed Status tabs of the Job
Details window, and compare your observations with the information provided in
the table below.
11. Click Close to close the Job Details window for the backup job.
Lab 7-31
1. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
2. Initiate another full manual backup of the console.example.com client using the
LAB07-console-to-media-msdp policy.
3. After initiating the backup job, select the Activity Monitor entry in the left pane of
the Administration Console.
4. Allow the backup job to run to completion. Verify that the job was completed
successfully. If the job failed, record the job status and seek assistance.
5. Locate the entry for the most recent Backup job that used the LAB07-console-to-
media-msdp policy in the Jobs pane of the Activity Monitor.
6. View the Job Details and note the information found in the following table.
The time required to complete the job may vary (~1-2 minutes).
View the Detailed Status tab Status pane, and compare the values of the
“scanned” KB and “sent” KB to the values that follow below.
KB scanned: 825521 KB. Your observations may vary.
KB sent: 2047 KB. Your observations may vary
Take note of the Backup ID for the backup job (Detailed Status pane).
console.example.com_[xxxxxxxxxx]
[client name]_[ctimestamp]. The ctimestamp is a 10-digit integer.
The Backup ID will vary, based upon the start time of the backup job.
Lab 7-32
1. Initiate another full manual backup of the console.example.com client using the
LAB07-console-to-media-msdp policy.
2. After initiating the backup, use the Activity Monitor to monitor the backup job.
3. Allow the backup job to run to completion, and verify that the job completed
successfully. If the job failed, take note of the job status and seek assistance.
4. Locate the entry for the most recent Backup job that used the LAB07-console-to-
media-msdp policy in the Jobs pane of the Activity Monitor.
5. View the Job Details and note the information provided in the table shown below.
Lab 7-33
The backup images for these jobs were written to MSDP storage on the media
server, winmedia.example.com or lnxmedia.example.com.
̶ The first backup of a client that is written to MSDP storage achieves a lower data
deduplication rate because the MSDP server has not calculated fingerprints for
many of the data segments that are backed up. Some degree of deduplication
may occur during the first backup to MSDP storage – depending on the situation.
̶ The first backup of the client to MSDP storage is likely to take somewhat longer
than subsequent backups of the client to MSDP storage.
̶ The second backup of the client to MSDP storage – assuming the data on the
client has not changed substantially – should achieve a very high deduplication
rate, approaching 100%. The amount of data that is “backed up” is far greater
than the actual amount of data that is written to MSDP storage (as many data
segments from the client already exist in MSDP storage). It is not necessary to
write the duplicate data segments to MSDP storage again – these data segments
are deduplicated.
̶ The second backup of the client to MSDP storage should require less time,
barring changes in other factors such as network traffic loads and CPU utilization
on the client and media server systems that are beyond the control of the MSDP
feature.
̶ Performance and deduplication differences between the second backup of a
client to MSDP storage and subsequent backups of the client may obtain much
the same results, unless the data on the client changes substantially between
backup job executions.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-34
Lab 7-35
2. Select NetBackup Management and then Host Properties, and then select Master
Servers in the left pane of the Administration Console.
The right pane of the Administration Console displays a list of the NetBackup Master
Servers.
3. In the Master Servers (right) pane, right-click the entry for your master server,
winmaster.example.com or lnxmaster.example.com.
The Master Server Properties window for your master server is displayed.
5. Click the Client Attributes entry in the list of master server Properties that is
displayed in the left pane of the Master Server Properties window.
The Client Attributes screen is displayed in the right pane of the Master Server
Properties window.
Lab 7-36
If an entry for console.example.com is not already present in the Clients pane, click
the Add button, located below the Clients pane in the Client Attributes screen, as
highlighted in the figure above.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. When Add Client dialog box is displayed, type the client name,
console.example.com in the Enter Client Name field of the Add Client dialog box,
and click the Add button.
9. Verify that the entry for console.example.com is present in the Clients pane of the
Client Attributes screen.
Lab 7-37
11. With the entry for the console.example.com client highlighted, click the drop-down
arrow for the Deduplication location field, as highlighted in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
12. Verify the options for the Deduplication location in the drop-down menu are as
listed in the table below.
Lab 7-38
The default Deduplication location selection for all clients is to “Always use the
media server” (to perform deduplication of the client backup data).
16. Locate and click the Where deduplication should occur link, located near the
bottom (right) of the Help window.
17. Take note of the information regarding the options for the deduplication of client
data that is available in the Help window. Several additional links are provided to
enable you to learn more about NetBackup deduplication.
18. Select File and then Close to close the Help window.
19. Click Apply to save the changes to the Client Attribute setting changes for the
console.example.com client.
Lab 7-39
In the steps that follow, you perform a manual, full backup of the client,
console.example.com, using the LAB07-console-to-media-msdp policy, to test the
operation of NetBackup client-side deduplication.
1. Select NetBackup Management and then Policies in the left pane of the NetBackup
Administration Console.
2. Initiate a manual, full backup of the client, console.example.com, using the LAB07-
console-to-media-msdp policy.
3. After initiating the backup job, use the Activity Monitor to monitor the progress of
the job.
5. Verify that the backup job completed successfully. If the job failed, record the job
status and seek assistance.
6. Open the Job Details of the most recent backup job of the client,
console.example.com that used the LAB07-console-to-media-msdp policy.
Lab 7-40
8. Review the Job Details and locate the information that describes where the backup
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The best indication that the deduplication of the client’s backup data occurred on
the client system, console.example.com, is found in the Status pane of the Detailed
Status tab.
Look for the status message that includes: “Using OpenStorage client direct to
backup from client console.example.com to xxxmedia.example.com”.
This message indicates that deduplication occurred at the client rather than at the
media server.
Lab 7-41
From the results of the backup job, you can see that the change from
performing deduplication of the client data at the storage server (media server)
to performing the backup data deduplication at the client was the result of
setting of the Deduplication location parameter in the Client Attributes for the
client in the Master Server Host Properties.
Lab 7-42
In the steps that follow, you configure a policy Attribute that overrides the setting of the
Deduplication location setting for the client that was configured in the Master Server
Host Properties > Client Attributes.
1. Select NetBackup Management and then select Policies in the left pane of the
NetBackup Administration Console.
2. Right-click the entry for the LAB07-console-to-media-msdp policy in the All Policies
pane of the Administration Console.
6. Modify only one parameter setting in the policy Attributes tab: Click the check box
to select the Disable client-side deduplication policy attribute.
marked.
8. Make no other changes to the policy. Click OK to save the policy and to close the
Change Policy window.
Lab 7-43
In the steps that follow, you perform a fifth and final manual, full backup of the
console.example.com client, this time using the policy LAB07-console-to-media-msdp-
override policy, and view the results of that backup operation.
1. Initiate a manual, full backup of the client, console.example.com, using the LAB07-
console-to-media-msdp-override policy.
2. After initiating the backup, access the Activity Monitor to monitor the progress of
the backup job.
4. Verify that the backup job was completed successfully. If the job failed, record the
status code and seek assistance.
Lab 7-44
Continue to Exercise D-5: Disabling the use of client-side deduplication for backups
of console.example.com.
Lab 7-45
In the steps that follow, you modify the Master Server Host Properties Client
Attributes for the client, console.example.com, to disable the use of client-side
deduplication. These steps reverse the configuration that you performed earlier in this
exercise (in Exercise D-1).
Because, in this course, you direct backups jobs for the console.example.com
client to other types of NetBackup storage, it is necessary to change the
Deduplication Location parameter for the client so that future backup jobs to
AdvancedDisk storage do not fail.
2. Select NetBackup Management and then Host Properties, and then select Master
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The right pane of the Administration Console displays a list of the NetBackup Master
Servers.
3. In the Master Servers (right) pane, right-click the entry for your master server,
winmaster.example.com or lnxmaster.example.com.
The Master Server Properties window for your master server is displayed.
Lab 7-46
The Client Attributes screen is displayed in the right pane of the Master Server
Properties window.
6. Take note that the Client Attributes pane contains a Clients pane that may contain
entries for various clients.
7. Click to select the entry for console.example.com in the Clients pane of the Client
Attributes screen.
8. With the entry for the console.example.com client highlighted, click the drop-down
arrow for the Deduplication location field.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-47
10. From the drop-down menu, click the option to Always use the media server.
11. Verify that you have selected “Always use the media server” as the Deduplication
location selection for the client, console.example.com.
The Deduplication location selection made in this case applies only to the
console.example.com client.
12. Click Apply to save the changes to the Client Attribute setting changes for the
console.example.com client.
Lab 7-48
In this exercise, you use NetBackup provided user interfaces to monitor and manage
NetBackup Media Server Deduplication storage.
Continue to Exercise E-1: Monitoring disk pool capacity and status using the NetBackup
Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-49
In Exercise A of this lab activity, you used the NetBackup Administration Console to
verify the configuration of the MSDP storage server, disk pool, and storage unit that
were configured on the media server system, winmedia.example.com or
lnxmedia.example.com.
In the steps that follow, you use the NetBackup Administration Console to look briefly
at the storage server and disk pool information that is provided in the Administration
Console user interface.
3. Under Media and Device Management, select Devices, and then select Disk Pools in
the left pane of the Administration Console.
The right pane of the Administration Console displays entries for each of the disk
pools that are configured in the master server’s backup domain, as illustrated in the
figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
4. Select View and then Refresh (or click the Refresh icon on the tool bar) to update
the contents of the Disk Pools pane.
5. Take note of the Used Capacity, Available Space, Raw Size, and Usable Size column
contents, as highlighted in the figure above.
Lab 7-50
Monitoring disk pool capacity using the Disk Pool Status report
6. Select NetBackup Management in the left pane of the Administration Console.
7. Expand the Reports entry, and then click the Disk Reports entry in the left pane.
With the Disk Reports entry highlighted in the left pane of the Administration
Console, the list of available Disk Reports is displayed in the right pane of the
Administration Console, including:
̶ Images on Disk
̶ Disk Logs
̶ Disk Storage Unit Status
̶ Disk Pool Status
8. Double-click the entry for the Disk Pool Status report in the right pane of the
Administration Console.
The right pane of the Administration Console is updated to display the Report
Settings for the selected report (Disk Pool Status).
9. Select View and then Refresh (or click the Refresh icon on the tool bar) to update
the contents of the Report Settings pane.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
If the drop-down menus in the Report Settings for a given report are
constricted, and do not list choices that are easily readable, select View >
Refresh (or click the Refresh icon on the tool bar) to update the Report
Settings pane contents.
10. Use the drop-down arrow for the Disk pool parameter in the Report Settings pane
to select the entry for the media_msdp_dpool (PureDisk) disk pool.
Lab 7-51
Your available space may vary from the sample numbers presented here.
Use the Columns > Size to data function to display the full contents of the
report columns.
Continue to Exercise E-2: Using NetBackup commands to view MSDP storage server,
disk pool, and storage unit information.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-52
In the steps that follow, you use NetBackup-provided commands to view information on
MSDP-related storage servers, disk pools, and storage units.
1. Access the desktop of your master server system using one of the two methods
listed below. Choose your master server based upon your preferred operating
system for this course.
Lab 7-53
In this lab exercise you will connect to a remote Windows-based master server lab
systems, locate and double-click the RDP Profiles (Windows systems) sub-folder, and
then review the disk storage information.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
5. Log on to your master server using the credentials provided in the table below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Click the Command Prompt shortcut, located on the desktop of the Windows 2012-
based master server, winmaster.example.com.
Lab 7-54
In this lab exercise, you connect to a remote Linux-based master server system using the
Putty shortcut located in the REMOTE SYSTEM ACCESS folder on the console, and then
review the disk storage information.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. To connect to the Linux-based lab system, double-click the Putty shortcut located in
the REMOTE SYSTEM ACCESS folder.
5. Locate and double-click the pre-configured entry for the Linux-based master server,
lnxmaster.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmaster.example.com.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Log on to your Linux master server using the credentials provided in the table below.
Lab 7-55
1. Type the following command to view the configured MSDP storage servers in a
master server environment and press Enter.
The command syntax shown above lists the configured storage server(s) for a
specific storage server system (xxxmedia.example.com). If the
storage_server command option (-storage_server) is omitted, the
command lists all storage servers (of the stype specified) that are configured
on the master server system.
2. View the results of the nbdevquery command and take note of the information
provided, as illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise E-6: Using nbdevquery to view MSDP disk pool information.
Lab 7-56
1. Type the following command to view status and configuration information for the
MSDP disk pools that are configured in the master server environment and press
Enter.
2. View the results of the nbdevquery command and take note of the information
that is provided, as illustrated in the figure below. You will see that two MSDP disk
pools are configured, one MSDP disk pool is configured on the media server (the disk
pool that you configured) and another is configured on the master server (a MSDP
disk pool that was pre-configured for this course).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise E-7: Using bpstulist to view MSDP storage unit information.
Lab 7-57
1. Type the following command at the command prompt to view status and
configuration information for the storage units that are configured in the master
server environment and press Enter.
2. View the results of the bpstulist command, as illustrated in the figure below.
Take note of the information that is provided. All storage unit types that are
configured in the master server environment are listed in the output of the
command, including the media_msdp_stu that you created.
The figure below shows only the portion of the bpstulist output that
contains the media_msdp_stu information.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
3. Type the command shown below, and press Enter, to close the Command Prompt or
terminal window on the master server system.
Command: exit
4. If applicable, close (sign out) in the Remote Desktop (RDP) window from
console.example.com to winmaster.example.com.
You have completed all required tasks for this lab activity
If you wish to complete the optional lab exercise, click the link to continue to
Exercise F: Running Deduplication reports in OpsCenter.
Lab 7-58
This exercise is an optional exercise, intended for those that are interested in using
OpsCenter to monitor and manage their NetBackup environments.
• If you are not interested in OpsCenter, you have completed all tasks for this lab.
• If you are interested in OpsCenter, continue to Exercise F-1: Starting the OpsCenter
Server services.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-59
In the steps that follow you start the OpsCenter Server services on
console.example.com.
To perform OpsCenter operations, you must first start the OpsCenter Server
services.
Lab 7-60
2. Locate and double-click the OpsCenter WEBUI Login shortcut, located in the
OPSCENTER folder, to launch the OpsCenter Web Interface in a Mozilla Firefox Web
browser window.
Upon startup, it may take some time for the OpsCenter services to start, and to
become available for the Web browser connection. If you receive a connection
error, wait a few moments and attempt the browser connection again.
If this happens, click the “I Understand the Risks” link, and continue to the next
step. If this screen is not displayed, skip to step 6.
4. Click the Add Exception button that is added to the “This Connections is Untrusted”
dialog box.
5. When the Add Security Exception window is displayed, click the Confirm Security
Exception button.
6. When the Veritas NetBackup OpsCenter Version 8.0 log on screen is displayed, log
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
̶ Username: admin
̶ Password: Tra1n!ng (case sensitive)
̶ Domain: OpsCenterUsers(vx)
Within a few moments the OpsCenter Web user interface is displayed in the
browser window.
Lab 7-61
8. Under the Report Templates folder, displayed in the left column of the OpsCenter
user interface, locate and expand the entries for the Deduplication Reports and for
the Disk & Tape Device Activity Reports.
Lab 7-62
1. Click the entry for the Deduplication Size Savings report to run the report.
2. Note the output of the report that is displayed in the right pane of the OpsCenter
Web interface.
3. Click the entry for the Pre vs. Post Deduplication Size report, to run the report.
4. Note the output of the report that is displayed in the right pane of the OpsCenter
Web interface.
5. You may run other standard Deduplication Reports that are provided in OpsCenter
as time permits.
Lab 7-63
1. Under the Disk & Tape Device Activity Reports folder in the left pane of the
OpsCenter Web user interface click the entry for the Current Disk Pool Usage
report, to run the report.
2. Note the output of the report that is displayed in the right pane of the OpsCenter
Web interface.
3. Click the entry for the Storage Unit Usage report (located in the Disk & Tape Device
Activity Reports folder), to run the report.
4. Note the output of the report that is displayed in the right pane of the OpsCenter
Web interface.
5. Click the entry for the Disk Usage report (located in the Disk & Tape Device Activity
Reports folder), to run the report.
6. Note the output of the report that is displayed in the right pane of the OpsCenter
Web interface.
The reports you have run are just a few of the standard reports that are provided in
OpsCenter. Run additional OpsCenter reports as time permits.
7. Click the Logout button, located in the upper-right corner of the OpsCenter Web
user interface to log out of the OpsCenter Server.
8. Click File and then Exit to close the Mozilla Firefox browser window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-64
In the steps that follow, you stop the OpsCenter Server services that are running on the
console.example.com system.
3. In the resulting menu, click, Run as Administrator, to run the batch file.
You have completed all tasks planned for this lab activity.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 7-65
In this lab, you perform tasks to configure NetBackup tape devices and removable
media – including volumes and volume pools.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Proceed to Exercise A: Verifying tape devices are visible to the operating system of
media servers.
Lab 8-1
or
The tape drives and the robotic library have already been configured for your master
server system. However, the tape devices have not been configured for use by your
media server.
• Verify that the media server operating system can detect the attached tape devices.
• Verify that NetBackup can discover the tape devices that are visible to the media
server operating system.
• Discover that the tape devices that are visible to the media server operating system
are the same tape devices that are visible to and configured for use on the master
server system.
The procedures and tools used to verify that tape devices are visible to the operating
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise A-4: Verifying tape devices on a Linux-based system, if your media
server is the Linux-based system, lnxmedia.example.com.
Lab 8-2
If you are performing this lab activity using Linux-based master server and media server
systems, continue to Exercise A-4: Verifying tape devices on Linux-based systems.
Exercises A-1, A-2, and A-3 are related to Windows-based NetBackup servers.
If you are performing this lab activity using Windows-based master server and media
server systems, complete the steps that follow.
In the steps that follow, you access the desktop of your remote Windows-based media
server, winmedia.example.com, from console.example.com) using Remote Desktop
(RDP) to verify that your media server’s Windows-based operating system can see the
tape devices (tape drives and robotic control). These devices are not yet configured for
use by this NetBackup media server system.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
4. Locate and double-click the RDP Profiles (Windows systems) sub-folder, located in
the REMOTE SYSTEM ACCESS folder, to open the folder.
5. The RDP Profiles (Windows systems) folder contains RDP profiles for the Windows-
based systems in this lab environment.
Lab 8-3
Accessing the Windows Device Manager (to determine if the tape devices
are visible to the operating system of the media server)
8. Open the Windows Server Manager application by clicking the Windows icon,
located in the task bar at the bottom of the Windows’ desktop, and then selecting
the Server Manager tile as illustrated below.
9. In the Server Manager window, select Tools, then select Computer Management, as
illustrated below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-4
11. In the Computer Management window, verify that the top entry of the right pane
contains the hostname of your media server, as illustrated below.
12. Locate and expand the entries for Medium Changer devices and for Tape drives in
the right pane of the Computer Management window, as shown below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-5
14. Note that entries for two Tape drives are visible, as shown in the figure below.
15. View the properties of the Medium Changer device and the Tape drives, by right-
clicking the entry for each device, one-at-a-time, and then selecting Properties.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
16. As you view the Properties for each device, take note of the Bus Number, Target ID,
and LUN information for the devices as shown in the following table.
The Properties windows for the Medium Changer and Tape drives are illustrated in
the following figures.
Lab 8-6
The Properties window for one of the two Tape drives is shown below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
17. View the properties for all tape drives that are visible in the Device Manager.
18. After viewing the properties for each device and recording the requested
information, click OK to close the Properties window.
19. In the Computer Management window, click File and then Exit to close the window.
Lab 8-7
In the steps that follow, you use NetBackup-provided commands to view any tape
devices that are currently configured for use by your Windows-based media server
system, and that are discoverable by NetBackup.
2. Type the following command at the command prompt, and press Enter.
Command: tpconfig -d
The output of the “tpconfig –d” command shows that no devices – tape drives
or robotic devices – are configured on the media server system at this time.
You can verify that NetBackup will discover the tape devices associated with a
Windows-based NetBackup media server (those that are visible to the Windows
Operating System), using the NetBackup-provided scan command.
Lab 8-8
5. Type the following command, and press Enter, to view the information for the tape
drives that are detectable by the command.
Lab 8-9
If the robotic library (changer) and tape drives are visible to the NetBackup-provided
scan command of the media server system, you can be confident that the
NetBackup Device Configuration Wizard will be able to configure the devices for use
by NetBackup.
The scan command shows that the devices (changer and tape drives) are
detectable by NetBackup, however, in this scenario, (based on the output of
the tpconfig command) the devices are not yet configured for use by your
NetBackup media server, winmedia.example.com.
7. Close the Command Prompt window on the Windows-based media server system,
winmedia.example.com.
Continue to Exercise A-3: Viewing the tape devices that are configured on the
Windows-based master server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-10
For purposes of this course, tape devices (media changer and tape drives) have been
pre-configured for use by your master server system.
In the steps that follow, you access the desktop of your Windows-based master server
and use NetBackup-provided commands to view the tape devices that are configured
for use on that system.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. Locate and double-click the RDP Profiles (Windows systems) sub-folder, located in
the REMOTE SYSTEM ACCESS folder, to open the folder.
5. The RDP Profiles (Windows systems) folder contains RDP profiles for the Windows-
based systems in this lab environment.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
7. Click the hyperlink below to return to the lab steps, and log in to your master server.
Lab 8-11
10. At the Command Prompt, type the following command, and press Enter, to view the
devices that have been configured for use by NetBackup on your master server
system.
Command: tpconfig -d
The output of the tpconfig command on the master server is similar to that
illustrated on the next page.
The output of the tpconfig command on the master server indicates that two
tape drives and a robotic control device (media changer) are configured for use
by the master server.
Lab 8-12
12. Type the following command, and press Enter, to view the information for the tape
drives that are detectable by the command.
Lab 8-13
14. See the table below (for tape devices on winmaster.example.com) and compare the
tape devices that are attached to the media server (winmedia.example.com), noting
the serial numbers of the devices.
15. What did you observe after comparing the NetBackup scan command output on
the media server and master server systems?
The serial numbers of all the devices (Changer0, Tape0, and Tape1) detected by the
scan command on the media server are the same as the serial numbers of the
devices that are detected by the scan command on the master server.
Conclusion: It appears that both the master server and media server systems can
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Based on the output of commands you executed on the master and media
server systems, you have verified that the master server has tape devices that
are configured in NetBackup, and that the media server’s operating system can
“see” the tape devices, but they are not yet configured in NetBackup.
Lab 8-14
You have completed all of Exercise A for Windows-based master and media server
systems.
Lab 8-15
If you are performing this lab activity using Windows-based master and media server
systems, and have not completed Exercises A-1, A-2, and A-3, click the link to go to
Exercise A-1: Verifying tape devices on Windows-based systems. If you have already
completed Exercises A-1, A-2, and A-3, click the link to continue to Exercise B: Viewing
configured tape devices using the NetBackup Administration Console.
If you are performing this lab activity using Linux-based master server and media server
systems, complete the steps that follow to verify that your media server’s operating
system can see the tape devices (tape drives and robotic control). These devices are not
yet configured for use by this NetBackup media server system.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
4. Double-click the Putty shortcut that located in the REMOTE SYSTEM ACCESS folder.
5. Locate and double-click the pre-configured entry for the Linux-based media server
system, lnxmedia.example.com.
6. Log on to the media server system (if necessary) using the credentials provided.
Lab 8-16
You can also confirm that you are the root user by typing the id command.
Command: id
Lab 8-17
Command: ls /dev/nst*
The output of the command identifies two tape drives are visible to the
operating system of the media server, nst0 and nst1. The various letters that
follow the nst entries (l, a, m) denote various compression methods that can be
used for the tape drives.
Lab 8-18
9. Type the command shown below and press Enter, to view the tape devices that are
configured for use by the Linux-based media server system.
Command: tpconfig -d
The command output indicates that no tape devices (tape drives or media
changers) are configured for use by the Linux-based NetBackup media server,
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-19
The output of the scan command is similar to that displayed in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-20
The output of the scan command is similar to that displayed in the figure below.
Note that the output of the scan command shown is cut off, so that only a portion
of the information for the second tape drive is visible.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Take note of the information for the media changer and tape drives associated
with the media server system.
Lab 8-21
The scan command shows that the devices (changer and tape drives) are
detectable by NetBackup. However, in this scenario, (based on the output of
the tpconfig command) the devices are not yet configured for use by your
NetBackup media server, lnxmedia.example.com.
12. Close the terminal (or PuTTY) window on the Linux-based media server system,
lnxmedia.example.com.
Continue to Exercise A-5: Tape devices attached to the Linux-based master server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-22
For purposes of this course, tape devices (media changer and tape drives) have been
pre-configured for use by NetBackup on the lnxmaster.example.com master server.
In the steps that follow, you access the desktop of your Linux-based master server and
use NetBackup-provided commands to view the tape devices that are configured for use
on that system.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. Double-click the Putty shortcut that is located in the REMOTE SYSTEM ACCESS
folder.
5. Locate and double-click the pre-configured entry for the Linux-based master server,
lnxmaster.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmaster.example.com.
6. Log in (if necessary) to the master server system using credentials provided above.
7. In the PuTTY (root@lnxmaster) window, verify that you are currently the root user
by viewing the command prompt in the window (or by executing the id command).
Lab 8-23
Command: tpconfig -d
The PATH environment variable has been pre-set on your master sever to
include the sub-directories that contain commonly-used NetBackup commands,
so that you can execute the commands without the need to navigate to the
directory that houses the command.
The output of the tpconfig command is similar to the output shown below.
The output of the tpconfig command on the master server indicates that
two tape drives and a robotic control device (media changer) are configured in
NetBackup for use by the master server.
9. Type the following command, and press Enter, to view the information for the
media changer(s) that are detectable on the Linux-based master server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
10. Type the following command, and press Enter, to view the information for the tape
drives that are detectable by the command.
Lab 8-24
12. Compare the information for the tape devices that are attached to the media server,
with the tape devices that are attached to the master server. Pay special attention
to the serial numbers of the devices.
Your observations of the comparison of the scan command output on the media
server and master server systems should indicate that the serial numbers of all the
devices (changer, Tape Drive 1, and Tape Drive 2) detected by the scan command
on the media server are the same as the serial numbers of the devices that are
detected by the scan command on the master server. It appears that both the
master server and media server systems can “see” the same tape devices
Based on the commands you executed on the master server and media server,
you have verified that the master server has tape devices that are configured in
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
NetBackup, and that the media server’s operating system can “see” the tape
devices, but these devices are not yet configured in NetBackup.
The scan command on the master and media server systems shows that the
media changer and tape drives that are attached are the same devices.
The NetBackup Shared Storage Option enables tape drives and media changer
devices to be shared between NetBackup master and media servers that exist
in the same NetBackup backup domain.
13. Close the terminal or PuTTY window on the Linux-based master server system,
lnxmaster.example.com.
Lab 8-25
Lab 8-26
In this exercise, you use the NetBackup Administration Console to view the tape
devices (robots and tape drives) that have been pre-configured on the master server.
Lab 8-27
In the steps that follow, you view the tape drives and robots (media changers) that have
been configured (pre-configured for this course) in NetBackup.
4. In the Administration Console login window, enter the Host name, User name, and
Password, and click Login, to connect the NetBackup Administration Console to
your master server.
Use the information provided in the next table based upon the host name of your
master server system.
Lab 8-28
Check the top entry in the left pane of the Administration Console.
The top entry in the left pane should contain the host name of your master server,
winmaster.example.com or lnxmaster.example.com, as illustrated below.
6. If the Administration Console is not currently connected to the master server, close
the console and re-launch it, making sure to connect to the correct master server in
the login screen.
7. Select Media and Device Management and then select Devices, Drives in the left
pane of the Administration Console.
The tape drives that are currently configured in NetBackup are displayed in the right
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-29
9. Select Media and Device Management and then Devices, Robots in the left pane of
the Administration Console
10. Take note of the information for the configured robot in the table below.
In the preceding steps, you identified the robot (media changer) and tape drives that
are already configured in NetBackup (these were pre-configured for this course). All
these devices are associated with the master server, winmaster.example.com or
lnxmaster.example.com, in your lab environment.
There are currently no tape devices (robots or tape drives) configured for use by
NetBackup on your media server system, winmedia.example.com or
lnxmedia.example.com.
11. Continue to Exercise B-2: Viewing configured Media Manager storage units.
Lab 8-30
In NetBackup terms, a storage unit that uses NetBackup-configured tape drives for
backup and restore-related operations has the storage unit type of Media Manager.
In the steps that follow, you view the Media Manager storage units that have been
configured (pre-configured for this course) for use by NetBackup.
1. Select NetBackup Management and then select Storage, Storage Units in the left
pane of the NetBackup Administration Console.
The Storage Units that are currently configured in NetBackup are displayed in the
right pane of the Administration Console.
Some of the storage units listed were pre-configured for this course. You may
have created other storage units in previous lab activities.
2. Locate the Storage Unit Type column in the right pane of the Administration
Console.
3. Take note of the information for the storage unit that has a Storage Unit Type of
“Media Manager” in the following table.
4. Double-click the entry for the master_tape_stu storage unit, to open the storage
unit for editing.
The Change Storage Unit window is opened, and displays the current configuration
settings for the master_tape_stu storage unit.
Lab 8-31
In the steps on the preceding page you verified that a single Media Manager type
storage unit exists. This storage unit is associated with the master server, and uses
tape drives (two) configured on the master server to perform NetBackup-related
operations to tape storage.
The Media Manager type storage unit that currently exists was pre-configured
for use in this course.
Lab 8-32
As it currently exists, NetBackup is configured to use the tape drives and robot (media
changer) that are associated with the master sever system to perform NetBackup
operations to tape storage. To enable NetBackup operations that write to tape storage,
a Media Manager-type storage unit has been configured on the master server.
In this exercise, you use the NetBackup Device Configuration Wizard to configure tape
devices.
Lab 8-33
In this exercise, you use the NetBackup Device Configuration Wizard to configure tape
devices and a storage unit associated with the robot and tape drives for the media
server system in your lab environment.
4. Click the entry for the master server, located at the top of the left pane of the
Administration Console window.
The list of NetBackup wizards that are available on a master server is displayed in
the right pane of the Administration Console, as illustrated below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Locate and click the Configure Storage Devices entry, located in the right pane of
the Administration Console.
Lab 8-34
7. Verify that the selections for both the master server host and media server host are
selected on the Device Hosts screen (the default), and then click Next to continue.
The Scanning Hosts screen is displayed. After a few moments, the wizard displays
the number and types of devices – robots and tape drives - that were discovered on
each Device Host that was scanned.
The SAN Clients screen is displayed, that enables you to configure the SAN Client
feature. We have no SAN clients in this lab environment.
9. Click Next to continue, without making any changes on the SAN Clients screen.
The Backup Devices screen is displayed, and lists the tape devices – tape drives and
robots – that have been discovered.
The Backup Devices screen is divided into two sections. The top half of the screen
lists the backup devices (tape drives and robots) that have been discovered. The
bottom half of the screen provides the Host and path configuration for a device,
when a device entry is selected (clicked) in the Backup Devices section of the screen.
Lab 8-35
10. Click each tape drive and robot entry in the Backup Devices pane, one-at-a time, and
view the Host and path configuration information that is displayed for that device.
Lab 8-36
Lab 8-37
While viewing the information provided in the Properties windows, take note of the
following information.
The Properties window for each device identifies the device type clearly.
For a robot, the Properties window identifies the Robot number, the Robot type,
and the number of drives in the robot.
For tape drives, the Properties window provides the Drive name, Drive type, Robot
(with which the drive is associated), and the Robot drive number (drive position
within the robot).
When you view the Properties of the robot, one media server is designated as the
Device Host, while the other (or all others) is identified as a Remote Host.
IMPORTANT CONCEPT: In NetBackup, the term that is used to describe the Device
Host that controls the robotic arm is the Robot Control Host. Other media servers
(Device Hosts) in the same NetBackup environment make robotic requests (mount,
unmounts tapes) by sending them to the Robot Control Host.
In your NetBackup environment, take note of which media server (Device Host) is
acting as the Robot Control host?
Windows: winmaster.example.com
Linux: lnxmaster.example.com
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
If the Backup Devices screen shows limitations, those should first be resolved
before continuing with wizard. Seek assistance if necessary.
Lab 8-38
The Drag and Drop Configuration screen is displayed. This screen associates the
discovered tape drives with the robot (tape library and robotic control arm).
16. Click Next in the Drag and Drop Configuration screen to continue.
The Continue? window is displayed, prompting you to confirm that you wish to
commit these changes to the NetBackup database.
17. Click Continue in the Continue? window to commit the changes to the NetBackup
database.
Lab 8-39
In the next steps, you use the Device Configuration Wizard to configure a storage unit
(or storage units) that are associated with the newly configured tape hardware.
When you clicked Next on the Updating Device Configuration screen, the Device
Configuration Wizard displayed the Configure Storage Units screen.
The figure below illustrates how the Device Configuration Wizard should currently
appear with the Configure Storage Units screen being displayed.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Configure Storage Units screen of the Device Configuration Wizard lists the storage
units that it proposes to create, based on the newly configured tape devices (that were
just configured by the wizard).
Lab 8-40
1. Click the entry for the Storage Unit listed on the Configure Storage Units screen,
xxxmedia-hcart2-robot-tld-0, and then click the Properties button.
2. Change the properties for the new storage unit, using the parameter values
provided in the table below.
drive:
Reduce fragment size to Not selected (default)
(checkbox):
MB (fragment size): 1048576 (not changeable unless Reduce fragment size
checkbox is selected)
** You cannot change this setting for the storage unit
It is not required that the name of the storage unit is changed, however we
have established a storage unit naming convention for this lab environment.
The storage unit name is changed to adhere to that naming convention.
3. After making the changes to the storage unit, click OK to save the changes, and to
close the Change Storage Unit Properties window.
Lab 8-41
The Device Configuration Wizard contains the displays the Finished screen.
Continue to Exercise C-3: Viewing the new tape devices and storage unit entries.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-42
In the steps that follow, you use the NetBackup Administration Console to briefly view
the entries for the newly created robot, tape drives, and storage unit.
The right pane of the Administration Console displays the list of configured tape
drives.
2. Note that the right pane of the Administration Console is split into two panes – the
Drives pane (top pane) and the Paths for selected drives pane (bottom pane).
3. Click the entry for one of the tape drives in the top pane, and note that the bottom
pane changes to display the tape drive path information for the selected tape drive.
Note that the information in the Paths the selected drive pane (bottom pane)
contains two entries for each of the configured tape drives. One of the entries
is for the master server (xxxmaster.example.com) and the other entry is for
the media server (xxxmedia.example.com). This means that each of the tape
drives is shared by the master and media servers, and is available for use by
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
both the master and media server. This illustrates the tape drive configuration
of the NetBackup Shared Storage Option.
4. Click the entry for the other tape drive in the top pane, and note that the bottom
pane changes to display the tape drive path information for the selected tape drive.
Lab 8-43
The right pane of the Administration Console displays entries for the robots (media
changers) that are currently configured in NetBackup.
There should be two (2) robot entries are listed in the right pane of the
Administration Console.
The first Device Host listed for each of the robot entries should be the master server
and the second Device Host entry should be for the media server.
You should note that the system (Device Host) that is listed as the Robot Control
Host is the master server.
In this lab environment, there is a single tape library with two tape drives that
is shared between the master server and media server systems. The robotic
arm in the library is controlled directly by only one of the Device Hosts (media
servers). That Device Host operates in the role of Robotic Control Host. When
the other Device Host (media server) requires the mounting or unmounting of
a tape in a tape drive, it makes the request to the Robot Control Host, which
completes the requested activity.
6. Select NetBackup Management and then select Storage, Storage Units in the left
pane of the Administration Console.
The storage units that are currently configured in NetBackup are displayed in the
right pane of the Administration Console.
7. Locate the entry for the newly configured storage unit, media_tape_stu.
Lab 8-44
Lab 8-45
In this exercise, you configure volume pools that will house tape media that is allocated
for use by NetBackup for various customer-defined purposes.
Continue to Exercise D-1: Creating volume pools using the Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-46
In the steps that follow, you create NetBackup volume pools using the NetBackup
Administration Console.
2. Select Media and Device Management and then select Media, Volume Pools in the
left pane of the Administration Console.
NetBackup provides four volume pools by default. The entries for the default pools
are visible in the right pane of the Administration Console.
̶ CatalogBackup
̶ DataStore
̶ NetBackup
̶ None
Lab 8-47
Refer to the table below for the detailed steps to create a volume pool.
4. As you save each volume pool, verify that an entry for the new pool is visible in the
right pane of the Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Repeat the steps to create the new volume pools until all pools have been created.
Only one scratch pool can be created per NetBackup domain. NetBackup will
issue an error message if additional scratch pools are created.
Lab 8-48
6. Note that the scratch_tapes volume pool is designated as a Scratch pool, and that
the CatalogBackup volume pool is designated as a Catalog Backup volume pool.
Lab 8-49
In NetBackup terms, media refers to “removable media”, which most commonly takes
the form of magnetic tape. Here is a brief summary of important media details.
• Tape media comes in a variety of physical packages, based upon the type of tape
drive in which the media is used.
• The data capacity of a tape is determined by the characteristics of the tape drive
that is used to write the data.
• Tapes, or tape volumes, are identified in NetBackup by their unique Media ID.
• NetBackup media IDs are six alpha-numeric characters in length.
• Tape media often use a barcode label that is affixed to the tape cartridge, to enable
automatic identification of the tape by a tape library.
• Barcode labels can vary in length, with common barcode lengths being six or eight
alpha-numeric characters.
• Media IDs can be added manually in NetBackup, or automatically by performing an
Inventory Robot operation in NetBackup.
• In order for NetBackup to properly generate Media IDs for tapes using the Inventory
Robot operation, it is generally necessary to create rules that define how NetBackup
will interpret and apply barcodes of varying lengths.
• When NetBackup uses a tape for the first time it writes a header to the tape that
includes the Media ID that has been assigned to the tape.
Lab 8-50
In the steps that follow, you use the NetBackup Administration Console to view existing
tape volumes.
1. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
The tapes that are currently configured in NetBackup are listed in the right pane of
the Administration Console.
2. Take note of the information for the tapes that currently are defined in NetBackup
as shown in the table below.
Lab 8-51
One method of configuring tape media in NetBackup is to load tapes (with barcode
labels affixed) into the tape library, and to initiate the Inventory Robot operation to
automatically create and add entries for the tapes into the NetBackup catalog.
To enable the Inventory Robot operation to correctly identify and create media IDs for
tapes, two prerequisite tasks are generally required:
The steps that follow guide you through the process of performing these tasks in
preparation for completing the robot inventory operation.
2. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
The tapes that are currently configured in NetBackup are displayed in the right pane.
Lab 8-52
The figure below illustrates the top half of the Robot Inventory window. Keep
in mind, if your master server is lnxmaster.example.com, the EMM Server,
Device host, and Robot entries will be different than those shown in the screen
shot below.
4. Note the following elements listed below in the Robot Inventory window.
̶ Device Host: The name of the NetBackup server that directly controls the robot.
̶ Robot: The robot name (as assigned in NetBackup). If more than one robot is
configured in NetBackup, you must specify the robot that is to be inventoried.
Note the four primary operations available from the Robot Inventory window listed
below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Note that there two additional operations located under the Update volume
configuration operation that are currently greyed out (not selectable).
̶ Advanced Options
̶ Empty media access port prior to update
Lab 8-53
The figure below provides an example of the results of the Show contents
operation, as displayed in the Results pane of the Robot Inventory window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
If you are doing this lab from lnxmaster the Barcodes are slightly different.
Lab 8-54
̶ This robot (tape library) has thirty-nine (39) tape slots, numbered 1-39.
̶ Only 13 of the 39 slots are currently occupied by tapes.
̶ The barcode labels on the tapes are eight alpha-numeric characters in length.
̶ The final two characters of the barcodes of all the tapes are identical (L5).
̶ The tapes in slots 22 and 23 of the robot have different characters in the first
three positions of their barcode labels than all the other tapes. For your
information, these two tapes are cleaning tapes. The cleaning tapes used by this
customer all have barcode labels beginning with the characters CLN.
If you wish you can use the Clear Results button (located in the lower right
corner) to clear the data from the previous query.
7. Click to select the Compare contents with volume configuration radio button in the
Robot Inventory window, and then click the Start button.
The Results pane of the Robot Inventory screen is updated to show the results of
the Compare contents… operation, as illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-55
̶ The tapes that reside in slots 1, 2, and 3 of the robot are already known to
NetBackup (there are entries for these tapes in the NetBackup media database).
̶ NetBackup is using the first six digits of the barcode of the tapes in slots 1 – 3 as
the Media ID for the tapes, to uniquely identify them in NetBackup.
̶ The tapes that reside in slots 4 – 11 and 22 - 23 of the robot are not known to
NetBackup (there is no entry for any of these tapes in the NBDB). As a result, the
Robot Inventory reports a “Mismatch Detected” for these tapes. A Mismatch
Detected can be displayed for various other reasons, such as detecting a known
tape in an unexpected slot location.
9. Click the Preview volume configuration changes radio button in the Robot
Inventory window, to select that operation, and then click the Start button.
The Results pane of the Robot Inventory screen is updated to show the results of
the Preview volume configuration operation.
The Preview volume configuration operation identifies and lists the changes
that NetBackup proposes to make to the NetBackup media database – if the
Robot Inventory is allowed to proceed.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-56
̶ NetBackup proposes to add new entries to its media database for the ten (10)
tapes, located in slots 4 – 11 and 22 – 23, of the robot.
̶ NetBackup proposes to use the last six digits of the barcode for each tape to
create the Media ID that will identify the tape in NetBackup.
̶ The tapes in slot 22 – 23 are cleaning tapes and cannot be used to write backup
images.
̶ The backup administrator is aware that the barcode labels for all cleaning tapes
used by this customer begin with the characters CLN. NetBackup must use some
method to automatically identify this tape as a cleaning tape.
IMPORTANT: It is critical that the backup administrator understand whether the default
media ID generation rule used by NetBackup will reliably generate Media IDs that are
unique. Six-digit Media IDs must be unique in the NetBackup media database.
In the example, the fact that all barcode labels for the tapes end in the same two alpha-
numeric characters (L5), means that these two digits provide no value in generating
unique Media IDs. In a scenario such as this, it is important that a new Media ID
Generation Rule be created in NetBackup, so that other digits of the barcode labels
(such as the first six digits) are used during a robot inventory to automatically generate
the Media IDs for the tapes.
IMPORTANT: If a customer uses special barcode labels to identify tapes used for a
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
unique purpose (i.e., cleaning tapes, tapes of a particular media density), NetBackup
must provide a method to use the unique barcode of the tapes to identify and allocate
those tapes for their unique purpose. This capability is provided in NetBackup through
the use of Barcode Rules.
In the example shown here, the backup administrator should create a Barcode Rule
that identifies all tapes with barcode labels beginning with the characters, CLN, as ½-
inch cleaning tape cartridges.
In the steps that follow, you perform the steps to create a Media ID Generation Rule
and to create a Barcode Rule in NetBackup.
Lab 8-57
In the steps that follow, you perform a Robot Inventory to update the volume
configuration for the robotic library.
1. Click the Update volume configuration radio button in the Robot Inventory
window, to select that operation.
2. Click the Advanced Options button, located immediately below the Update volume
configuration operation entry, as illustrated.
The figure below highlights the Advanced Options button of a Robot Inventory.
Lab 8-58
The figure below illustrates the Advanced Robot Inventory Options window.
3. Click the Media ID Generation tab, located near the top of the Advanced Robot
Inventory Options window.
Lab 8-59
The table below provides detailed steps for creating a Media ID Generation Rule.
To create a Media ID Generation Rule, begin at step # 6 of the detailed steps, as you
have previously performed steps 1-5.
5. After saving the new Media ID generation rule, and closing the New Media ID
Generation Rule window, verify that the rule is visible in the Media ID Generation
tab.
You have not yet configured NetBackup barcode rules. Before you take that step,
complete the Robot Inventory operation to view the results provided by the creation of
the Media ID generation rule – as described in the steps that follow.
Lab 8-60
In the steps that follow, you perform the steps to complete the first robot inventory
operation using the NetBackup Administration Console.
2. Verify that you are returned to the Robot Inventory window, and that the Update
volume configuration radio button is still selected.
3. Click the Start button in the Robot Inventory window, to initiate the update of the
NetBackup media database to add entries for the new tapes that were discovered in
the robot (using the Media ID generation rule that you created).
The Results pane of the Robot Inventory screen is updated to show the results of
the Update volume configuration operation, as illustrated in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-61
7. Take note that new entries have been added for the Media IDs (based on the
hostname of your master server):
8. Take note of and compare the Media ID and Barcode for each of the tapes that are
listed. Record your observations and conclusions in the following table.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Media IDs were created by the Robot Inventory operation using the first six
digits of the barcode label, and excluding the last two digits of the barcode labels –
which in this scenario are always ‘L5’.
The Media ID Generation Rule that was created performed according to plan,
resulting in the generation of Media IDs that are unique for each new tape that was
inventoried. Media IDs that already existed in the NetBackup media database, and
that were listed in the Administration Console prior to the Robot Inventory, were
not affected.
Based upon your observations and conclusions in the previous step, the Media
ID Generation Rule that you created performed as expected. All tapes belong
to the NetBackup volume pool and are of Media Type ‘HCART2’.
Lab 8-62
• When new, unassigned Media IDs are added in NetBackup in this lab environment,
they should be added to the SCRATCH pool, so that as a new tape is needed for a
write operation, NetBackup can automatically move a tape from the SCRATCH pool
into the volume pool that has been requested (i.e., as identified in the Policy volume
pool parameter in the policy Attributes tab). Earlier in the lab activity, you created a
SCRATCH pool named scratch_tapes.
• Not all tapes that were inventoried in the previous Robot Inventory operation are
HCART2 (½-inch tape 2) cartridges that are appropriate for writing backup images. In
this scenario, any tape that has a barcode label that begins with the characters, CLN,
is a ½” cleaning tape.
In some production backup environments, the use of a scratch pool may not be
allowed. The implementation of a scratch pool in NetBackup is optional. In this
environment, we elect to use a scratch pool.
Lab 8-63
To correct the issues identified in the previous exercise and to prepare for a second
Robot Inventory operation, you must first delete the Media IDs that were created by the
first Robot Inventory operation.
In the steps that follow, you complete the task of deleting the Media IDs in NetBackup.
2. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
The right pane of the Administration Console displays the list of Volumes that are
currently configured in NetBackup.
4. While pressing the SHIFT key on your keyboard, click the entry for the last/bottom
Media ID, based on the hostname of your master server:
Lab 8-64
If the sort order of the tapes differs in your lab environment just make sure all 13
tapes are selected, as shown in the figure below.
7. When the Delete Volumes dialog box is displayed, verify the list of volumes to be
deleted, and click the OK button.
8. NetBackup may issue a Delete Volume message (as shown in the figure below) that
states one or more volumes cannot be deleted as it is assigned.
In a previous lab exercise, backups were performed from a policy that used a
Media Manger storage unit (tape). Therefore, NetBackup is currently tracking
data on these volumes (they are “Assigned”) and they cannot be deleted. This
is expected NetBackup behavior. The number of tapes and the Media ID’s for
which the “cannot delete…” message is displayed may differ from the figure
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
below.
9. Click the close (X) icon the close the Delete Volumes window.
Lab 8-65
Now you are ready to repeat the Robot Inventory operation, this time creating
barcode rules that address the two issues that were identified on the previous page.
Lab 8-66
In the steps that follow you create two new barcode rules, for the purposes described
below:
• The first barcode rule enables NetBackup to automatically identify a ½-inch cleaning
tape cartridge, based upon the first three characters of the barcode label that is
affixed (by the backup administrator) to this type of tape cartridge.
• The second barcode rule assigns all new, non-cleaning tapes that are discovered in
the robot during a Robot Inventory operation to be assigned to the SCRATCH volume
pool (The scratch_tapes volume pool in this scenario).
1. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
3. Verify that the robot, TLD(0) – xxxmaster.example.com is selected in the Robot field
of the Robot Inventory window.
4. Click to select the Update volume configuration radio button on the Robot
Inventory window.
5. Click the Advanced Options button, located directly below the Update volume
configuration operation on the Robot Inventory window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. Click the Barcode Rules tab in the Advanced Robot Inventory Options window.
Lab 8-67
8. Use the information provided in the table below to create a new barcode rule.
This new barcode rule will automatically identify any tape with a barcode that begins
with the characters, CLN, as a ½-inch 2 cleaning tape.
The table below provides the detailed steps for creating a Barcode Rule.
9. After saving the barcode rule, verify that the rule is visible in the Barcode Rules tab.
Lab 8-68
10. Use the information provided in the table below to create a new barcode rule.
This new barcode rule will automatically assign all new, non-cleaning tapes that are
found in the robot during a Robot Inventory to the scratch_tapes volume pool.
11. Click OK to save the new barcode rule, and to close the New Barcode Rule window.
12. Verify that the second barcode rule is visible in the list of barcode rules that are
displayed in the Advanced Robot Inventory Options window.
Lab 8-69
Having completed the creation of Media ID generation rules and barcode rules, in the
steps that follow, you complete the robot inventory operation and verify the results.
After closing the Advanced Robot Inventory Options window, you are returned
to the Robot Inventory window.
1. Verify that that the Update volume configuration radio button is still selected.
This will initiate the update of the NetBackup media database to add entries for
the new tapes discovered in the robot (using the Media ID generation rule and
the barcode rules that you created).
The Results pane of the Robot Inventory screen is updated to show the results of
the Update volume configuration operation, as illustrated below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-70
The Media IDs generated by the Robot Inventory operation differ between the
Windows-based master server and the Linux-based master server.
Lab 8-71
In the final steps of this exercise, you view the Media ID entries that were added, to
verify that the effective use of the Media ID generation and barcode rules that you
created.
2. In the right pane of the Administration Console window, note that new Media ID
entries have been added by the Robot Inventory operation:
̶ The first six digits of the barcode labels were used to create the NetBackup
Media IDs for the newly created volumes.
̶ The Media Type for volumes in slots 4-11 are HCART2 (1/2-inch cartridge tape 2)
̶ The Media Type for the CLN101 or CLN 201 volumes, located in slot 22 is
HC2_CLN (1/2-inch cleaning tape 2)
̶ The newly created HCART2 volumes belong to the scratch_tapes (the SCRATCH
pool for this NetBackup environment)
̶ The cleaning tapes (CLN101, CLN102 on Windows, or CLN201, CLN202 on Linux)
belong to the None pool (cleaning tapes are always members of the None pool.)
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 8-72
Lab 8-73
In this lab, use NetBackup-provided interfaces and tools to view, manage, and monitor
tape devices and media.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
This lab activity assumes that you have previously completed Lab 8:
Configuring Tape Storage. If you have not completed Lab 8, some of the results
you observe in this lab will differ from those documented in the steps of this
lab.
Lab 9-1
In this exercise, you use the NetBackup Administration Console to examine details of
the robot and tape drives that are configured in NetBackup.
Continue to Exercise A-1: Accessing tape device information using the NetBackup
Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-2
In this exercise, you use the NetBackup Administration Console to access the tape drive
information on your master server.
2. If you are not already logged on to the console.example.com system, log on using
the credentials provided above.
The host name listed there should be the name of your master server. If the host
name of your master server is not listed in the top entry of the left pane, use the
Change Server button to connect to your master server.
6. Select Media and Device Management and then select Devices, Drives in the left
pane of the Administration Console window.
Lab 9-3
8. Note that the right pane of the Administration Console is divided into two panes:
̶ The top pane (Drives pane) displays entries for each physical tape drive that is
configured.
̶ The bottom pane (Paths pane) displays drive path entries for the tape drive
whose entry is selected in the top pane.
9. Expand the Drive Name column in both the top pane (Drives) and bottom pane
(Paths) so that you can see the entire drive name in each pane.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
10. In the top half of the screen (Drives pane), click the top (first) tape drive entry.
11. Notice that (with the top tape drive entry selected) the bottom half of the screen
displays the drive path entries for that tape drive.
12. In the Drives pane, click the bottom (second) tape drive entry.
13. Notice that (with the bottom tape drive entry selected) the bottom half of the
screen displays the drive path entries for that tape drive.
Lab 9-4
The Device Host for the first (top) drive path listed in the lower pane should be the
Windows-based master server: winmaster.example.com, for a Windows
environment, and the Linux-based master server: lnxmaster.example.com, for a
UNIX environment.
The Device Host for the second (bottom) drive path listed in the lower pane should
be the Windows-based media server: winmedia.example.com, for a Windows
environment, and the Linux-based media server: lnxmedia.example.com, for a
UNIX environment.
Each tape drive is shared for use between the master server (which is also a
media server) and the media server. Each NetBackup server that has access to
a tape drive uses a configured drive path to access the tape drive. In this case
there are two drive paths for each configured tape drive.
Lab 9-5
In this exercise, you will use the NetBackup Administration Console to view the drive
parameters configured on your system.
1. Right-click the entry for either tape drive in the Drives pane of the Administration
Console.
4. Which of the tape drive parameters displayed in the Change Tape Drive window
cannot be changed? See the information listed below for the correct answer.
The drive Serial number is the only tape drive parameter that cannot be changed.
Manually changing the parameters for a tape drive should be approached with
caution. The preferred method for updating tape drive configuration is to use
the NetBackup Device Configuration wizard.
Lab 9-6
In this exercise, you will use the NetBackup Administration Console to examine the drive
path parameters configured on your system.
1. In the Host and path information section of the Change Drive window, select the
entry for the master server system and click the Change button.
Note that both the Enable host path and Override SCSI reserve path parameters can
be changed.
2. Click Cancel in the Change Path window to close the window without making any
changes to the drive path settings.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
3. Click Cancel in the Change Tape Drive window to close the window without making
any changes to the tape drive settings.
Lab 9-7
In the steps that follow, you examine NetBackup robotic tape library information.
2. Select the Media and Device Management and then select Devices, Robots entry in
the left pane of the Administration Console.
The right pane of the Administration Console displays robotic library entries. In this
lab environment two entries are displayed.
Both robot entries are associated with the same robot, named TLD(0). The two
entries exist because the tape drives in the robotic library are accessible by two
NetBackup servers – the master server and the media server – and therefore
each of the NetBackup servers require the ability to make requests to the
robotic control of the library.
3. Locate the robot entry in which the Device Host column displays the name of your
media server (winmedia.example.com or lnxmedia.example.com).
4. Use the scroll bar in the right pane to scroll to the right, and locate, and take note of
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-8
6. Verify that the Robot is controlled locally by this device host radio button is already
marked.
Lab 9-9
8. Click Cancel to close the Change Robot window for this device host without making
any changes to the robot settings.
9. Right-click the robot entry for the media server Device Host in the right pane of the
Administration Console and, in the resulting menu, click Change.
10. Verify that the Robot control is handled by a remote host radio button is already
marked, and note that the information represents the Robot Control parameter for
the media server Device Host.
11. Click Cancel to close the Change Robot window for this device host without making
any changes to the robot settings
The steps you have just completed confirmed the host name of the Device Host
that is acting as the Robot Control Host in this NetBackup environment. It is
important to note that any NetBackup server with access to a configured robot
has the capacity to act as the Robot Control Host.
Continue to Exercise B: Using the Device Monitor to monitor and manage tape
drives.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-10
In this exercise, you use the NetBackup Device Monitor to view and monitor tape
drives, and observe the effect that the tape drive state has on NetBackup jobs.
Continue to Exercise B-1: Investigating the relationship between the Device Monitor and
the Media and Device Manager.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-11
In the steps that follow, you use the Device Monitor to monitor tape drives and manage
their operational state – up or down.
2. Select the Media and Device Management and then select the Device Monitor
entry in the left pane of the Administration Console.
The Device Monitor user interface is displayed in the right pane of the
Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
3. Verify that the Drives tab is selected at the bottom of the Device Monitor user
interface (right pane of Administration Console).
4. Note that the Device Monitor user interface is divided into two panes.
The top pane displays an entry for the configured tape Drives, and the bottom pane
displays an entry for the drive Paths for the tape drive entry that is selected in the
top pane.
When no tape drive entry is selected in the Drives (top) pane, the Paths
(bottom) pane of the Device Monitor contains no drive path entries.
Lab 9-12
5. Take note of the Device Monitor contents, specifically the items that are identified
below.
There are Two tape drive entries displayed in the Drives (top) pane of the Device
Monitor.
When the top (first) tape drive entry is selected in the Drives pane, two drive path
entries are displayed in the Paths (bottom) pane. One of the path entries is for the
master server, and the other is for the media server.
When the bottom (second) tape drive entry is selected in the Drives pane, two drive
path entries are displayed in the Paths (bottom) pane of the Device Monitor?
6. Select Media and Device Management and then select Devices, Media Servers in
the left pane of the Administration Console.
View > Refresh or click the Refresh icon on the tool bar.
Note that can also press the F5 key on your keyboard to refresh the current view.
8. Use the information from the right pane (Hosts pane) of the Administration Console
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
to confirm the host names and Status of each of your media server systems as
shown in the table below.
Continue to Exercise B-2: Stopping the Media Manager Device Daemon on the
media server.
Lab 9-13
In the steps that follow, you stop the Media and Device Manager Daemon on your
media server system and then view tape drives and see the impact it has on drive status.
1. Select Media and Device Management and then select Devices and then Media
Servers in the left pane of the Administration Console.
The right pane of the Administration Console displays the Hosts pane, which
contains entries for each of your configured media servers.
2. Perform the steps to stop the Media and Device Manager Daemon on your media
server system, using the detailed steps below.
6 Leave all other Options in the Stop/Restart Media Manager Device Daemon
window at their default selections.
7 Click the OK button in the Stop/Restart Media Manager Device Daemon
window, to stop the NetBackup Media Manager Device Daemon on your
media server system.
Lab 9-14
3. Click the Refresh button on the tool bar to update the contents of the right pane of
the Administration Console.
4. Take note of the host names and current Status of each of your media server
systems as shown in the table below.
The updated Status of your media server should be Active for Disk.
5. Select the Media and Device Management and then select Device Monitor entry in
the left pane of the Administration Console.
Lab 9-15
7. Click the top tape drive entry in the Drives (top) pane of the Device Monitor and
note the information shown below.
When the top (first) tape drive entry is selected in the Drives pane, one drive Path
entry is listed.
The drive path is for the tape drive on the master server, winmaster.example.com
(Windows) or lnxmaster.example.com (Linux).
The second drive path is missing because the Media Manager Device Daemon is
stopped (not running) on the media server system.
8. Click the bottom tape drive entry in the Drives (top) pane of the Device Monitor and
note the information shown below.
When the bottom (second) tape drive entry is selected in the Drives pane, one drive
Path entry is listed.
The drive path is for the tape drive on the master server, winmaster.example.com
(Windows) or lnxmaster.example.com (Linux).
The second drive path is missing because the Media Manager Device Daemon is
stopped (not running) on the media server system.
At this time, the Device Monitor displays only the drive Paths that are active
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
and available for use. Because the Media Manager Device Daemon is stopped
on the media server system, the Paths for the media server tape drives are not
displayed in the Device Monitor.
9. Select Media and Device Management and then select the Devices, Drives entry in
the left pane of the Administration Console.
The right pane of the Administration Console is split into two panes – the Drives
(top) pane, and the Paths (bottom) pane.
10. Click the entry for the first (top) tape drive, located in the Drives pane, and take note
of the number of Path entries that are displayed for the drive in the Paths pane.
Lab 9-16
The Device Monitor only shows the active and usable tape drive Paths. The
Media and Device Management > Devices > Drives UI displays entries for drive
paths that are configured in NetBackup, active and usable, or not.
Continue to Exercise B-3: Restarting the Media Manager Device Daemon on your
media server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-17
In the steps that follow, you restart the Media and Device Manager Daemon on your
media server system and then view tape drives and see the impact it has on drive status.
1. Select Media and Device Management and then select Devices, Media Servers in
the left pane of the Administration Console.
The right pane of the Administration Console displays the Hosts pane.
2. Perform the steps below to start the Media and Device Manager Daemon on your
media server system (winmedia.example.com or lnxmedia.example.com).
6 Leave all other Options in the Stop/Restart Media Manager Device Daemon
window at their default selections.
7 Click the OK button in the Stop/Restart Media Manager Device Daemon
window, to start the NetBackup Media Manager Device Daemon on your
media server system.
3. Click the Refresh button on the tool bar to update the contents of the right pane of
the Administration Console.
Lab 9-18
Continue to Exercise B-4: Configuring a policy to write backup to tape storage on the
media server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-19
To prepare for the upcoming steps, create a new policy that writes backup images to
tape storage on your media server system.
1. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
2. Copy the PRE-clients-to-master-tape policy to create a new policy that has the
name, LAB09-clients-to-media-tape.
The detailed steps to copy a policy to create a new policy are shown in the table
below.
It may be necessary to scroll (up or down) through the list of configured Policy
storage destinations to locate the entry for the media_tape_stu storage unit.
Lab 9-20
After changing the full schedule to remove the start window entries, this
schedule can only be used to perform manual backups. No automated backups
will occur using the LAB09-clients-to-media-tape policy.
5. Allow all other policy configuration settings to remain at their current settings.
Continue to Exercise B-5: Using the Device Monitor to change the status of tape
drives.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-21
In the steps that follow you use the NetBackup Device Monitor UI to change the status
of the tape drives that are associated with your media server system.
1. Select the Media and Device Management and then select Device Monitor entry in
the left pane of the Administration Console.
The right pane of the Device Monitor pane is divided into two panes. The top pane
is the Drives pane. The bottom pane is the Paths pane.
2. Select View and then Refresh, or click the Refresh icon on the tool bar, to refresh
the contents of the Device Monitor.
3. In the Drives (top) pane of the Device Monitor, click the entry for the first (top) tape
drive. – IBM.ULT3580-TD5.000.
With the entry for a tape drive selected in the Drives (top) pane, the bottom pane
lists the drive Paths that are associated with the selected tape drive.
In this lab environment, two drive path entries for the selected tape drive are
listed in the Paths (bottom) pane of the Device Monitor.
4. In the Paths (bottom) pane, locate and right-click the path entry that is associated
with the Device Host for your media server.
6. In the Drives (top) pane of the Device Monitor, click the entry for the second
(bottom) tape drive – IBM.ULT3580-TD5.001.
With the entry for a tape drive selected in the Drives (top) pane, the bottom pane
lists the drive Paths that are associated with the selected tape drive.
Lab 9-22
7. In the Paths (bottom) pane, locate and right-click the path entry that is associated
with the Device Host for your media server.
9. Click the Refresh button on the Administration Console tool bar (or select View and
then Refresh), to update the contents of the Device Monitor UI.
It may take a few moments for the Device Monitor to register the change in
the Drives and Paths pane of the user interface. In some cases, it may be
necessary to click Refresh to update the Device Monitor UI more than one
time.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-23
The tape drives and drive paths associated with the master server
(winmaster.example.com or lnxmaster.example.com) are currently up and
operational; the drive paths for the media server (winmedia.example.com or
lnxmedia.example.com) are DOWN.
11. Click the entry for the Drive Name, IBM-ULT3580-TD5.001, located in the Drives
pane of the Device Monitor.
12. Right-click the entry for the drive path for that drive for the master server Device
Host in the Paths (bottom) pane of the Device Monitor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
14. Click the Refresh button on the Administration Console tool bar (or select View and
then select Refresh), to update the contents of the Device Monitor UI.
It may take a few minutes for the drive path to be reported as DOWN.
Lab 9-24
The illustration below shows the results of taking the second (and final) drive PATH
for a tape drive DOWN.
When all paths for a drive are DOWN, the “Control” column entry for the tape
drive in the Drives pane of the Device Monitor is DOWN-XXX (i.e., DOWN-TLD),
and the green “up” arrow changes to a red “down” arrow, as illustrated in the
figure above. In other situations, the “Control” contains <Mixed>, as when
some drive paths are up and others are down, or SCAN-xxx (i.e., SCAN-TLD), or
XXX (i.e., TLD), when all paths for the drive are UP.
When all drive paths for a tape drive are DOWN, the “Control” column entries
in the Paths pane of the Device Monitor contain DOWN-XXX, as illustrated in
the figure above.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
16. Select the entry for the IBM-ULT3580-TD5.001 drive in the Drives pane.
With the drive highlighted, locate and right-click the entry for the drive path for that
drive for the master server Device Host, winmaster.example.com or
lnxmaster.example.com, in the Paths (bottom) pane of the Device Monitor.
18. Click the Refresh button on the Administration Console tool bar (or select View and
then select Refresh), to update the contents of the Device Monitor UI.
Lab 9-25
20. Verify that the Control column entry for the drive path for the
xxxmaster.example.com Device Host in the Paths pane contains SCAN-TLD.
Continue to Exercise B-6: Running a manual backup that writes to master server
tape storage.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-26
In the following steps, you run a manual backup of a client using a policy that writes
backup images to tape storage controlled by the master server, and observe the results.
1. Run a full manual backup of the client, xxxmaster.example.com, using the PRE-
clients-to-master-tape policy.
The detailed steps to perform the manual backup are described in the following
table.
2. Select the entry for the Activity Monitor in the left pane of the Administration
Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
3. Locate the Backup job entry for the most recent backup job that used the PRE-
clients-to-master-tape policy.
4. Monitor the job, and verify that it runs to successful completion (status 0).
If the job fails, record the status code and seek assistance. Do not continue until you
correct the issue causing the failure, and can run the backup job successfully.
Continue to Exercise B-7: Running a manual backup that writes to media server tape
storage.
Lab 9-27
In the following steps, you run a manual backup of a client using a policy that writes
backup images to tape storage controlled by the media server, and observe the results.
1. Run a full manual backup of the client, xxxmaster.example.com, using the LAB09-
clients-to-media-tape policy.
If necessary, refer to the detailed steps described in table in the previous exercise
(Exercise B-6), to perform the manual backup. This time, however, use the LAB09-
clients-to-media-tape policy to perform the backup.
2. Access the Activity Monitor to monitor the progress of the backup job.
The backup job fails with a Status code of 2009. The State of the job (when viewing
the Activity Monitor State column) is “Waiting for Retry”.
Continue to Exercise B-8: Changing the status of a drive path using the Device
Monitor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-28
In the following steps, you use the Device Monitor to change the status of a tape drive
path.
1. Select Media and Device Management and then select Device Monitor in the left
pane of the Administration Console.
2. Select the entry for the first (top) drive, IBM-ULT358-TD5.000, in the Drives (top)
pane of the Device Monitor.
3. In the Paths (bottom) pane of the Device Monitor, right-click the drive path entry
for the IBM-ULT3580-TD5.000 drive associated with the Device Host,
xxxmedia.example.com.
5. Select the entry for the second (bottom) drive, IBM-ULT358-TD1.001, in the Drives
(top) pane of the Device Monitor.
6. In the Paths (bottom) pane of the Device Monitor, right-click the drive path entry
for the IBM-ULT3580-TD5.001 drive associated with the Device Host,
xxxmedia.example.com
Lab 9-29
It may take a few moments for the update of the Device Monitor panes to
complete. In some cases, it may be necessary to refresh the Device Monitor
more than one time.
9. Select the entry for each tape drive in the Drives pane, one-at-a-time, and verify that
the contents of the Control column of the Device and Paths panes has changed.
In the Drives pane, the Control column should contain TLD for both tape drive
entries.
In the Paths pane, the Control column for the drive path associated with the
media server, xxxmedia.example.com should contain TLD.
10. Select the entry for the Activity Monitor in the left pane of the Administration
Console.
11. Take note of the current status of the Backup job that used the LAB09-clients-to-
media-tape policy and read the information below.
There are a number of situations you may encounter in this scenario, depending
upon how quickly you UP’ed the drive after the initial backup job failed, and how
quickly you accessed the Activity Monitor. Read the description of the possible
scenarios on the next page.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-30
The original Backup job that used the LAB09-clients-to-media-tape policy failed
with a status 2009. By default, NetBackup performs two attempts every 12
hours, waiting 10 minutes between failed attempts. The first automatic retry
occurs within ten (10) minutes of the time that the initial job failed.
12. In the Activity Monitor, view the most recent entry for the Backup job that used the
LAB09-clients-to-media-tape policy and verify that the job runs to successful
completion.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-31
In this exercise, you monitor and manage media using NetBackup user interfaces.
Lab 9-32
Lab 9-33
In the following steps, you use the policy created in the previous steps to run several
manual backup jobs, and create a scenario in which you observe NetBackup behavior
when backup media is not available.
3. Select the Activity Monitor entry in the left pane of the Administration Console
window.
4. Locate the entry for the most recent Backup job that used the LAB09-small-clients-
to-media-tape policy, and monitor the progress of the job.
5. Verify that the Backup job runs to successful completion. If the job fails, record the
status of the job and seek assistance.
Lab 9-34
7. Click the Refresh button (or select View and then Refresh) to update the contents of
the right pane of the Administration Console.
8. Observe that there is one tape in the server_tapes volume pool. This is the tape to
which the most recent backup image was written.
Lab 9-35
In the following steps, you create a scenario in which there are no tapes available in the
server_tapes volume pool that is specified for use in the policy.
1. Move all tapes that are currently in the in the server_tapes volume pool out of the
robot (but do not eject the tapes).
6 Verify that the Volume is in a robotic library check box is not marked.
7 Click OK to initiate the move operation.
2. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
3. Click the Refresh button (or select View and then Refresh) to update the contents of
the right pane of the Administration Console.
Lab 9-36
These tapes are considered “non-robotic” at this time, but have not been
ejected from the tape library.
5. Move all tapes that are currently members of the scratch_tapes volume pool out of
the robot (but do not eject the tapes).
6. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
7. Click the Refresh button to update the contents of the right pane of the
Administration Console.
8. Verify that all tapes that are members of the scratch_tapes volume pool no longer
are associated with a Robot Number or Slot, and have the NONE entry in the Robot
Type column.
Lab 9-37
In the following steps, you run a backup and note the results when there are no tapes
available for use by the policy.
2. After initiating the manual backup of the xxxmaster.example.com client, select the
Activity Monitor entry for the current job, and monitor the progress of the backup
job.
4. Double-click the entry for the job to view the Job Details for the job.
The backup job failed with a status 96. The initial explanation provided in the Status
pane of the Job Overview says “(96) unable to allocate new media for backup,
storage unit has none available”. If you cancelled the job while it was “Waiting for
retry”, then the failure status would be 150 (operation cancelled by user).
The Troubleshooter entry for status 96 says, “The NetBackup Resource Broker (nbrb)
did not allocate a new volume for backups. This error indicates that the storage unit
has no more volumes available in the volume pool that is specified for this backup.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Note that NetBackup does not change storage units during the backup.”
If you cancelled the job while it was “Waiting for retry”, then the failure status
would be 150 (operation cancelled by user).
6. Click the Troubleshooter button in the Detailed Status tab of the Job Details, and
note the information relating to the failure status code for the job.
Lab 9-38
The backup job failed because there is no media in the robotic library that
meets the requirements for the job (as specified in the policy). This simulates a
scenario in which new tapes have been placed into the tape library, but the
inventory of the library (robot) has not been updated.
8. If the State of the failed job in the Activity Monitor contains Waiting for Retry,
right-click the entry for the job, and click Cancel Job in the resulting menu.
9. When the State of the failed job is displayed as Done, continue to the next step.
Continue to Exercise C-5: Resolving the problem by updating the robot inventory.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-39
In the steps that follow, you resolve the problem you encountered by updating the
inventory of the robotic tape library.
2. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
3. Click the Refresh button (or select View and then Refresh) to update the contents of
the right pane of the Administration Console.
4. Verify that all tapes that are members of the server_tapes and scratch_tapes
volume pools have an associated Slot number in the robot.
5. Verify that the Robot Type column for the tapes contains TLD.
Lab 9-40
Lab 9-41
In this exercise, you verify that the inventory of the robotic tape library you performed
in the previous exercise resolves the media problem.
1. Select the Activity Monitor entry in the left pane of the Administration Console.
2. Locate and right-click the entry for the Job ID for the most recent failed that used
the LAB09-small-clients-to-media-tape policy.
The failed Job ID is not actually re-started. A new Backup job is initiated, that
has a new Job ID.
4. Monitor the new Backup job, and verify that the job runs to successful completion.
5. If the job fails, record the status code and seek assistance. Do not continue until the
problem is resolved, and the backup job runs to successful completion.
Continue to Exercise C-7: Modifying the column layout of the Volumes pane.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-42
In the steps that follow, you will perform the steps necessary to re-arrange the order of
the tape volume information displayed for tape media.
1. In the left pane of the Administration Console, select Media and Device
Management, and then select Media.
The Volumes (right) pane of the Administration Console displays entries for all the
volumes (tapes) that are included in the NetBackup media catalog – including tapes
that are currently in a tape library and tapes that are not in a tape library.
2. Click the entry for a tape volume in the right pane of the Administration Console.
You may also right-click a tape volume entry, and select Columns > Layout from the
menu that is presented).
The Column Layout window is displayed, that enables you to re-arrange the order in
which the columns of the Volumes pane are displayed.
Lab 9-43
Arrange columns 11 and following in any order you prefer. Detailed steps to arrange
the column order are described below the following table.
The table below describes the steps to change the Volumes pane Column Layout.
Lab 9-44
Verify that the first ten columns are displayed in the following order:
Media ID, Barcode, Volume Pool, Time Assigned, Media Status, Media Owner,
Robot Number, Slot, Media Type, Images, and Valid Images.
The order in which the columns of the Volumes pane are displayed is a matter
of preference of the backup administrator, and should be arranged according
to the needs of the organization. The order presented in the preceding steps is
for example purposes only.
6. Select Media and Device Management and then select Media, Volume Pools and
then server_tapes in the left pane of the Administration Console.
7. Click the Refresh button (or select View and then Refresh) to update the contents of
the right pane of the Administration Console.
Take note of the information as identified in the table below using either paper and
pencil or the Notepad application (available on the desktop of the console host) for
the server_tapes volume pool.
Lab 9-45
2. Select the Activity Monitor entry in the left pane of the Administration Console.
3. Monitor the progress of the most recent Backup job that used the LAB09-small-
clients-to-media-tape policy.
4. Allow the backup job to run to completion, and verify that the job is completed
successfully.
If the job fails, record the status code and seek assistance. Do no proceed until the
problem is corrected, and the backup job has run successfully.
Continue to Exercise C-9: Viewing the results in the volume pool - #1.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-46
1. Select Media and Device Management and then select Media, Volume Pools, and
select server_tapes in the left pane of the Administration Console.
Media and Device Management > Media > Volume Pools > server_tapes
2. Click the Refresh button (or select View and then Refresh) to update the contents of
the right pane of the Administration Console.
It is likely there has been no change to the number of tapes that are resident in
the server_tapes volume pool. The amount of data that is backed for a single
client using the LAB09-small-clients-to-media-tape policy is relatively small, so
that it will take multiple backup images to fill the tape to capacity. However,
the Images and Valid Images column contents of the Administration Console
will reflect a change in the tape’s contents.
Lab 9-47
In the steps that follow, you use the NetBackup Administration Console to suspend all
tapes that are resident in the server_tapes volume pool.
1. With the server_tapes entry selected in the left pane of the Administration Console,
select the entries for all volumes (tapes) that are listed in the Volumes in Volume
Pool (right) pane.
Media and Device Management > Media > Volume Pools > server_tapes
̶ Click the entry for the first (top) volume listed in the pane
̶ Hold the Ctrl key down on your keyboard, and…
̶ Click the entries for each additional volume listed in the pane.
2. With the entries for all volumes in the server_tapes pool highlighted, select Actions
and then select Suspend, as illustrated below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
3. Verify that all volumes that are members of the server_tapes volume pool are listed
in the Suspend window, and click OK to suspend the tapes.
4. Click the Refresh button to update the contents of the right pane of the
Administration Console.
Lab 9-48
All tapes in the server_tapes volume pool should have a Media Status of
Suspended.
Lab 9-49
2. Select the Activity Monitor entry in the left pane of the Administration Console.
3. Monitor the progress of the most recent Backup job that used the LAB09-small-
clients-to-media-tape policy.
4. Allow the backup job to run to completion, and verify that the job is completed
successfully.
If the job fails, record the status code and notify your instructor. Do no proceed until
the problem is corrected, and the backup job has run successfully.
Continue to Exercise C-12: Viewing the results in the volume pool - #2.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-50
1. Select Media and Device Management and then select Media, Volume Pools and
then server_tapes in the left pane of the Administration Console.
2. Click the Refresh button (or select View and then select Refresh) to update the
contents of the right pane of the Administration Console.
3. Compare your observations regarding the changes in the server_tapes volume pool
to those listed below.
̶ As a result of the most recent backup job, another tape (volume) has been added
to the server_tapes volume pool.
̶ The new tape was used because the server_tapes had no tapes in it that were
usable for the backup (all tapes previously in the pool had been suspended).
̶ The tape that was added to the server_tapes pool was automatically re-assigned
by NetBackup from the scratch_tapes pool.
Lab 9-51
In the steps that follow, you suspend all Active tapes that are resident in the
server_tapes volume pool.
1. Select Media and Device Management and then select Media, Volume Pools and
then server_tapes entry selected in the left pane of the Administration Console.
2. Select the entries for all Active volumes (tapes) that are listed in the Volumes in
Volume Pool (right) pane.
̶ Click the entry for the first (top) Active volume listed in the pane
̶ Hold the Ctrl key on your keyboard, and…
̶ Click the entries for each additional Active volume listed in the pane.
3. With the entries for all Active volumes in the server_tapes pool highlighted, select
Actions and then select Suspend.
4. Verify that all Active volumes that are members of the server_tapes volume pool
are listed in the Suspend window, and click OK to suspend the tapes.
5. Click the Refresh button (or select View and then Refresh) to update the contents of
the right pane of the Administration Console.
6. Verify that all volumes in the server_tapes volume pool have a Media State of
Suspended.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. Using a pencil and paper or the Notepad application (located on the desktop), record
the information requested for tapes in the server_tapes volume pool as shown in
the table below.
Lab 9-52
Lab 9-53
In the steps that follow, you use the NetBackup Administration Console to unsuspend
the first volume listed in the table shown in the previous exercise (C-13).
1. Select server_tapes from the volume pools in the left pane of the Administration
Console.
Media and Device Management > Media > Volume Pools > server_tapes
2. Click the Refresh button to update the contents of the right pane of the
Administration Console.
3. Click the volume entry for the tape volume listed as the “first volume”.
4. With the volume entry for the tape highlighted, select Actions and then select
Unsuspend and click Unsuspend in the resulting menu.
5. Take note of the Media ID of the first volume displayed in the Unsuspend window,
and then click OK to unsuspend the volume.
6. Click the Refresh button to update the contents of the right pane of the
Administration Console.
7. Verify that the entry for the volume that is listed as the “first volume” has a Media
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-54
1. Select the Media and Device Management and then select the Media entry in the
left pane of the Administration Console.
2. Click the Refresh button to update the contents of the right pane of the
Administration Console.
5. In the Change Volumes window, click the New Pool radio button.
6. In the drop-down menu for the Volume Pool, click the entry for the server_tapes
volume pool.
7. Click OK to save the change, and to close the Change Volume window.
8. Click the Refresh button to update the contents of the right pane of the
Administration Console.
9. Verify that the Media ID that you selected (in step 3) is now resident in the
server_tapes volume pool.
Media and Device Management > Media > Volume Pools > server_tapes
11. Click the Refresh button and update the contents of the right pane of the
Administration Console.
12. Verify that the Media ID that you “changed” is visible in the list of volumes that is
displayed in the list of tapes in the right pane of the Administration Console.
The tape that you changed from the scratch_tapes pool to the server_tapes
pool is not assigned. No entry exists in the Time Assigned column for the tape.
Lab 9-55
Lab 9-56
1. Identify the Media ID of a volume in the server_tapes volume pool that has been
assigned (there is an entry in the Time Assigned column for the volume).
2. Right-click the entry for the Media ID identified in the previous step and, in the
resulting menu, click Change.
3. In the Change Volumes window, click the New Pool radio button.
4. In the drop-down menu for the Volume Pool, click the entry for the scratch_tapes
volume pool.
5. Click OK to save the change, and to close the Change Volume window.
A Change Volume message is posted in the Messages pane, located at the bottom of
the right pane of the Administration Console. The Change Volumes message says,
“Change pool of [media ID] failed (91). Cannot change media pool of an assigned
media”.
Lab 9-57
Lab 9-58
2. Select NetBackup Management and then select Reports in the left pane of the
Administration Console.
The Reports that are listed in the right pane of the Administration Console are:
̶ Status of Backups
̶ Client Backups
̶ Problems
̶ All Log Entries
̶ Images on Media
̶ Media Logs
3. Click to expand the Reports entry in the left pane of the Administration Console.
4. Note that, in addition to the reports named in the previous step, other report
categories are visible under Reports in the left pane of the Administration Console.
5. Click to expand the Tape Reports entry in the left pane of the Administration
Console, and then click the Tape Reports entry.
The list of available Tape Reports is displayed in the right pane, including:
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
̶ Images on Tape
̶ Tape Logs
̶ Tape Contents
̶ Tape Summary
̶ Tape Written
̶ Tape Lists
Lab 9-59
In the steps that follow, you use the NetBackup Administration Console to initiate the
Images on Tape report.
1. Click the entry for the Images on Tape report in the left pane of the Administration
Console.
The right pane of the Administration Console displays the Report Settings screen,
and enables you to provide the parameters to use to when running the report.
2. Select the default parameters for the Images on Tape report, as shown below:
The output of the report is displayed on the bottom half of the right pane of
the Administration Console.
You can do simple sorting of the report output by clicking the heading of a
column to sort the report according to the contents of that column – in
ascending order or descending order.
Lab 9-60
5. Set the Sort window parameters using the information provided below.
Field Value
Sort Items by: (drop down) Media Id
Sort Items by: (radio button) Ascending
First - Then by: (drop down) File Number
First - Then by (radio button): Ascending
Second - Then by: (drop down) (none)
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. After setting the parameters in the Sort window as specified in the table, click OK to
save the Sort settings, and to close the window.
7. Note the impact of the Sort settings on the output of the Images on Tape report.
As the report name implies, the Images on Tape report lists only the backup
images that were written to tape media, and displays the layout of the images
on tape. The Images on Media report lists backup images that were written to
all types of NetBackup storage – disk-based or tape.
Lab 9-61
In the steps that follow, you use the NetBackup Administration Console to initiate the
Tape Contents report.
1. Click the entry for the Tape Contents report, in the left pane of the Console.
The right pane of the Administration Console displays the Report Settings screen,
and enables you to provide the parameters to use to when running the report
2. Use the values listed below to set the parameters for the report:
The Tape Contents Report window is displayed, and provides information about
how the report is generated.
The output of the report is displayed on the bottom half of the right pane of the
Administration Console
It may take slightly longer to generate the output of the Tape Contents report,
as NetBackup mounts the tape in a tape drive and reads the backup headers
from the tape to generate the report output.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Note that the output displays entries for each backup ID (backup image) that resides
on the tape.
6. Change the Media Owner parameter setting for the report to contain the name of
your master server, xxxmaster.example.com, but leave the Media ID the same as it
was previously set.
Lab 9-62
When running the Tape Contents report, the Media Owner report setting is
simply used to determine the media server that will mount and read the tape
to generate the report output.
Lab 9-63
In the steps that follow, you use the NetBackup Administration Console to initiate the
Tape Summary report.
1. Click the entry for the Tape Summary report, located in the left pane of the
Administration Console.
The right pane of the Administration Console displays the Report Settings screen.
2. Use the default Report Settings values, and click Run Report to run the report.
4. Click the Verbose Listing check box in the Report Settings pane.
5. Click the Run Report button, to run the report a second time.
You have completed all the required labs for this lab activity.
If you wish, you can click the link to go to first optional exercise for this lab activity,
Exercise E: Using the robtest utility.
9 – Required Activities
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-64
In this optional exercise, you use the NetBackup-provided robtest (robot test) utility
to test the operation of a robotic tape library.
Continue to Exercise E-1: Running robtest from a non-Robot Control Host system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-65
In the steps that follow, you run the robtest utility from a NetBackup server that is
not the robot control host and observe the results.
2. Log in to the media server system using the userid/password combination provided
above, based upon the operating system of the media server.
or
Lab 9-66
5. Note that the output of the scan –changer command shows that the media
server can “see” the robotic control, as illustrated below.
6. Execute the tpconfig command, as shown below, to verify that the robot is
configured for use by the media server, but that the media server is not the Robot
Control Host.
In the Command Prompt (Windows) or Terminal (Linux) window, type the command
shown below, and press Enter.
Command: tpconfig -d
Lab 9-67
8. In the Command Prompt (Windows) or Terminal (Linux) window, type the command
shown below, and press Enter.
Command: robtest
As you can see from the output of the robtest command, the media server is
not the Robot Control Host for the robot. For this reason, robtest cannot be
used on this media server to test the robot operation.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
10. Close the Command Prompt window on your media server system.
Lab 9-68
In the steps that follow, you prepare to use robtest by using the NetBackup
Administration Console to identify the Media ID of a tape that is ASSIGNED in
NetBackup.
3. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
The list of Media IDs that are known to NetBackup (for which entries exist in the
NetBackup database) is displayed in the right pane of the Administration Console.
4. Click the Refresh button (or select View and then select Refresh) to update the
contents of the right pane of the Administration Console.
5. Locate the entry for a Media ID for which the Time Assigned column contains a date
and time stamp (a tape that is ASSIGNED in NetBackup), as shown below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-69
Record the Media ID, Barcode, Volume Pool, Time Assigned, Media Status, and Slot
information for the tape, along with any other information you feel is important.
A tape that is assigned contains one or more active NetBackup backup images.
You can optionally create a Filter to filter the list of Media IDs that are
displayed in the Administration Console. Filters can be created that use a wide
variety of filter criteria. To begin creating a filter, click the entry for any Media
ID (in the right column of the Administration Console), and then select View >
Filter. You use the resulting Filter window to create, modify, or delete a filter.
Lab 9-70
In the steps that follow, you use the NetBackup Administration Console to view the
status of the tape drives that are configured for use by NetBackup.
1. Select the Media and Device Management and then select Device Monitor entry in
the left pane of the Administration Console.
The Device Monitor is displayed in the right pane of the Administration Console.
2. Click the Refresh button (or select View and then Refresh) to update the contents of
the right pane of the Administration Console.
3. View the contents of the Drives (top) pane of the Device Monitor.
Take note of the Recorded Media ID, External Media ID, Ready, and Write Enabled
columns of the tape drives, as illustrated in the figure below.
Lab 9-71
In the steps that follow, you run robtest on the system that is the configured Robot
Control Host, and observe the use and behavior of this NetBackup-provided utility.
Windows-based, winmaster.example.com
a. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of
the console.example.com system, to open the folder.
b. Locate and double-click the RDP file (winmaster.rdp).
Linux-based, lnxmaster.example.com
a. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of
the console.example.com system, to open the folder.
b. To connect to the Linux-based lab system, double-click the Putty shortcut
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
c. Locate and double-click the pre-configured entry for the Linux-based master
server, lnxmaster.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmaster.example.com.
d. Log on to your Linux-based master server using the credentials provided below.
Lab 9-72
Command: robtest
If the host you run robtest on is the Robot Control Host for more than one
robotic library, then the robtest menu will show an entry for each robot the
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
host controls. You choose the robot to test by selecting the numeric value
associated with the robot from the menu.
From this point on, robtest does not display a command prompt symbol. If
you are unsure of the choices available, type ? to obtain help.
Lab 9-73
In the steps that follow, you use robtest commands to verify the operation of the
robot.
1. Type the following robtest command, and press Enter, to show the contents of
the tape slots in the robotic library.
The show slots operation pauses after displaying a small number of tape library
slots. You must press return (Enter) to continue displaying slots.
Lab 9-74
When you see the “READ_ELEMENT_STATUS complete” message, you have reached
the end of the slot listing, as illustrated on the next page.
3. Read the note below and type the following robtest command, and press Enter.
In a previous lab step (Exercise E-2, step 6) you recorded the information for a
tape that has been assigned for use by NetBackup. Use the location
information for that tape as input for the next command.
The figure below illustrates an example of the “show slot [slot number]” output.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
4. Compare the barcode of the tape listed with the barcode of the tape in the “show
slot [slot number]“ command output (s s #). The barcodes should be the same.
Lab 9-75
The output of the previous “show drives” command shows that there are
currently no tapes in the tape drives of the library.
6. Type the following robtest command, and press Enter, to move the tape from the
tape slot into tape drive 1 in the tape library.
The figure below illustrates an example of the move command (m s2 d1) output.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. Type the following robtest command, and press Enter, to show the contents of a
single tape slot in the tape library (the slot from which you moved the tape in the
previous step).
Note the results of the previous command. The tape slot that you moved the tape
from should be empty (contains cartridge = no).
Lab 9-76
Note the results of the command. The command output should show that drive 1
contains a tape with the barcode matching the barcode of the tape you recorded.
9. Allow the window in which robtest is running to remain open on your master server.
Continue to Exercise E-6: Viewing the Media ID (that was moved in robtest in the
Device Monitor).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-77
In the steps that follow, you use the NetBackup Device Monitor to view the media ID
that was moved (in the previous exercise, using robtest).
2. Select Media and Device Management and then select Device Monitor in the left
pane of the Administration Console.
The Device Monitor is displayed in the right pane of the Administration Console.
3. Click the Refresh button (or select View and then select Refresh) to update the
contents of the right pane of the Administration Console.
4. View the Drives (top) pane of the Device Monitor and note that one of the drives
contains an entry in the Recorded Media ID column, as shown below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The tape that you moved into the tape drive using robtest is shown as
loaded in the tape drive in the Device Monitor GUI. The Drive Name that is
associated with d1 (in robtest) may vary between Windows and Linux systems.
Lab 9-78
In the steps that follow, you use robtest to move the media ID back to its original slot in
the tape library.
2. Access the open Command Prompt or Terminal window on the master server.
3. Type the following robtest command, and press Enter, to move the tape from
drive 1 back into the original tape slot in the tape library.
4. Use the “show slot [slot number]” (s s #) and “show drive” (s d) commands to
verify that the tape drive has been returned to its original tape slot.
5. Allow the Command Prompt (Windows) or PuTTY (Linux) window to remain open on
your master server. You return to this window in a few moments.
Continue to Exercise E-8: Viewing the Media ID (that was moved in robtest) in the
Device Monitor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-79
In the steps that follow, you use the NetBackup Device Monitor to view the media ID
that was moved back to its original slot in the tape library (in the previous exercise,
using robtest).
2. Select Media and Device Management and then select Device Monitor in the left
pane of the Administration Console.
The Device Monitor is displayed in the right pane of the Administration Console.
3. Click the Refresh button (or select View and then select Refresh) to update the
contents of the right pane of the Administration Console.
Note that the tape drive no longer contains a tape, as evidenced by the fact that the
Recorded Media ID column is now blank for both tape drives.
Lab 9-80
In the steps that follow, you observe why it is imperative that you exit the robtest
utility when you have completed your testing of robotic operations.
Currently, you have an open robtest session running on your master server.
2. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
3. Right-click the Media entry in the left pane of the Administration Console and, in the
resulting menu click Inventory Robot.
4. Verify that the Show Contents radio button is selected, and then click the Start
button.
The “Show Contents” operation in Robot Inventory hangs. No results are generated.
This occurs because when robtest is running (with a robot selected in robtest)
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
robtest hangs on to the robotic control interface and all other requests to use the
robotic control are blocked. You must exit robtest to prevent regular NetBackup
requests to the robot from being blocked.
5. Allow the Robot Inventory (that is hung while attempting to perform a Show
Contents operation) to remain open in the Administration Console window.
Lab 9-81
The robtest utility session is ended, and you are returned to the command
prompt.
10. Type exit, and press Enter to close the Command Prompt or Terminal window.
Continue to Exercise E-10: Verifying the results in the Robot Inventory window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-82
In a previous step you initiated a Robot Inventory operation from the NetBackup
Administration Console on console.example.com. That Robot Inventory operation was
hung up, because the robtest utility was running on the Robot Control Host (the
master server).
In the steps that follow, you verify that a robot inventory can be performed after the
robtest utility has been terminated.
The Robot Inventory window, that was opened previously, should still be open.
2. View the contents of the Results pane in the Robot Inventory window.
The contents of the robot (Slot numbers with Barcodes of tapes occupying the slots)
should be displayed in the Results pane.
CONCLUSION: When robtest was running, it blocked other attempts to access the
robotic control of the tape library, including requests from NetBackup. When
robtest was exited, other pending requests to the robotic control were allowed to
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
proceed, including the request from NetBackup to show the contents of the tape
slots.
Lab 9-83
If you wish to continue with the optional exercises, click the link to go to the next
optional exercise of this lab activity, Exercise F: Running NetBackup reports from the
command line.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-84
NetBackup enables the running of its reports from the command line. In the steps that
follow, you run a few of those reports and view the results.
Lab 9-85
In this exercise, you use the NetBackup vmquery command and acquire a list all tapes
that are listed in the NetBackup media database on the master server.
Windows-based, winmaster.example.com
a. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of
the console.example.com system, to open the folder.
b. Locate and double-click the RDP file (winmaster.rdp).
Linux-based, lnxmaster.example.com
a. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of
the console.example.com system, to open the folder.
b. To connect to the Linux-based lab system, double-click the Putty shortcut
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
c. Locate and double-click the pre-configured entry for the Linux-based master
server, lnxmaster.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmaster.example.com.
d. Log on to your Linux-based master server using the credentials provided below.
Lab 9-86
Command: vmquery –a -b
3. Note the results of the command as shown in the example illustration below.
The form of the vmquery command used here displays all the tape volumes
that are known to NetBackup (are listed in the NetBackup media database on
the master server). Compare the former output to the output of the vmquery
–a command.
Lab 9-87
In this exercise, you use the NetBackup bpmedialist command to acquire a list of all
tapes assigned to the master server.
1. Use the bpmedialist command to list all the tapes that assigned to the master
server. To do so, type the command shown below, and press Enter.
2. To list all the tapes that assigned to the media server, type the command shown
below, and press Enter.
To list the tapes that are assigned to NetBackup on any media server in the
NetBackup domain of the master server use the bpmedialist command
with no command options or arguments.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise F-3: Running the Tape Summary report from the command line.
Lab 9-88
In this exercise, you use the NetBackup bpmedialist command to run a tape
summary report.
1. To run the command line version of the Tape Summary report, type the command
shown below, and press Enter.
Lab 9-89
Command: available_media
If you wish to continue with the optional exercises, click the link to go to the next
exercise, Exercise G: (Optional) Media state management using the command line.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-90
In this optional exercise, you perform media state management tasks using NetBackup-
provided command line interfaces (CLIs).
• If you are performing this lab on a Windows system, continue to the Exercise G-1:
Connecting to a NetBackup Windows-based master server system.
• If you are performing this lab on a Linux system, continue to the Exercise G-2:
Connecting to a NetBackup Linux-based master server system.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-91
In this exercise, you connect to a remote Windows-based master server lab systems,
locate and double-click the RDP Profiles (Windows systems) sub-folder, to enable you
to use commands for managing media.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment.
5. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
7. Log on to your master server using the credentials provided in the table below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
winmaster.example.com or lnxmaster.example.com
Lab 9-92
In this exercise, you connect to a remote Linux-based master server system using the
Putty shortcut, located in the REMOTE SYSTEM ACCESS folder on the console, to enable
you to use commands for managing media.
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. To connect to the Linux-based lab system, double-click the Putty shortcut located in
the REMOTE SYSTEM ACCESS folder.
5. Locate and double-click the pre-configured entry for the Linux-based master server,
lnxmaster.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmaster.example.com.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. Log on to your Linux master server using the credentials provided in the table below.
Lab 9-93
In the steps that follow, you execute the bpmedialist command and examine the
command output.
1. In the Command Prompt (Windows) or PuTTY (Linux) window, type the command
shown below, and press Enter.
Command: bpmedialist
The output of the bpmedialist command shows the volumes (tapes) that
are Assigned to NetBackup, and includes important information about each of
the tape volumes.
2. Examine the output of the bpmedialist command, and note the following
information.
̶ The output of bpmedialist indicates the Tape Owner for each tape.
̶ The output of bpmedialist lists all the tapes owned by one media server first
(under the heading of “Server Host”), and then lists the tapes owned by the next
media server (Server Host). In this case, we have two media servers, so the tapes
associated with the media server are listed first, followed by the list of tapes
owned by the master server.
̶ The output of bpmedialist indicates the Media State (Active, Full, Frozen,
Suspended) of the media listed.
̶ Tapes that are Active are simply listed, but those that are FULL, SUSPENDED, or
FROZEN are specifically indicated as such in the STATUS column of the command
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
output.
3. Record the Media ID and Media Owner of one tape that is SUSPENDED using a
pencil and paper or by using the Notepad application located on the desktop.
Lab 9-94
In the steps that follow, you execute the bpmedia command and examine the
command output.
1. In the Command Prompt (Windows) or PuTTY (Linux) window, type the command
shown below, and press Enter.
The command shown below is used to UNSUSPEND the Media ID you identified in
the previous lab exercise.
The response, “requested media id is not assigned to this host in the EMM
database” is received in response to the command.
When using the bpmedia command to change the Media State of a tape, one
of two conditions must be met: 1) You must execute the command on the
media server that is the Media Owner of the Media ID that is affected by the
command, or 2) If you are running the command on a NetBackup server that is
not the Media Owner, you must specify the Media Owner host name in the
syntax of the command. This is accomplished using the -h [Media Owner]
command option.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
2. Type the command shown below, and press Enter to UNSUSPEND the Media ID you
recorded in Answer A3 on the previous page.
This time the bpmedia command should exit without any response. There is
no indication of the success or failure of the command.
Lab 9-95
Command: bpmedialist
4. Verify that the Media ID that you “unsuspended” is no longer listed as SUSPENDED
in the output of the bpmedialist command.
Continue to Exercise G-5: Verifying the results of the unsuspend using the
Administration Console.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-96
In the steps that follow, you use the NetBackup Administration Console to examine the
results obtained by executing the bpmedia command (in the previous exercise) to
unsuspend a tape.
3. Select the Media and Device Management and then select Media entry in the left
pane of the Administration Console.
4. Click the Refresh button (or select View and then Refresh) to update the contents of
the right pane of the Administration Console
5. Verify that the Media ID that was previously in the Suspended Media State is now
shown as Active in the right pane of the Administration Console.
Lab 9-97
In the steps that follow, you attempt to use the NetBackup Administration Console to
suspend a tape that is in the unassigned state, and note the results.
1. Select Media and Device Management and then select Media entry highlighted in
the left pane of the Administration Console.
Identify a volume in the right pane that is currently not assigned. (The Media ID has
no entry in the Time Assigned column.)
2. In the right pane of the Administration Console, right-click the entry for the
(unassigned) Media ID and, in the resulting menu, click Suspend.
3. Click OK in the Suspend dialog box, and note the results of this attempt to suspend
the tape.
A notification is posted in the Message pane that appears at the bottom of the right
pane of the Administration Console. The message says, “requested media id is not
assigned to this host in the EMM database (95). Media is not assigned.”
4. Click the small X icon in the upper right corner of the Suspend message dialog to
close it.
You have completed all lab exercises for this lab activity.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 9-98
In this lab activity, you configure NetBackup to access the VMware vCenter server,
install the new NetBackup Plug-in for VMware vSphere Web Client, Configure VMware
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-1
In this exercise, you access the VMware vSphere Web Client user interface and login to
the VMware vCenter server, to view and become familiar with the VMware
environment used in this course.
The VMware environment includes the vCenter server, the ESX server, and two virtual
machines hosted by the ESX server.
• If you are familiar with the VMware vSphere Web Client and the VMware
environment used in this course, you can skip Exercise A and go directly to Exercise
B: Configuring NetBackup to perform VMware backups.
• To review the VMware environment used in this activity, continue to Exercise A-1:
Verifying the VMware environment.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-2
In this exercise, you access and log into the VMware vSphere Web Client user interface
to view the VMware environment used in this lab activity.
3. Locate and double-click the vSphere Web Client shortcut on the desktop of
console.example.com to launch the VMware vSphere Web Client user interface.
The vSphere Web Client is the VMware-provided interface for operating and
administering a VMware virtual machine environment. You use the vSphere
Web Client to observe the resources and objects that are used in this lab
activity.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Even after starting the vCenter Server Services it may take a minute or two
before you can log in using the vSphere Web Client.
Lab 10-3
4. Type the User name and Password for the vCenter server, vcenter2.example.com,
provided below, and click the Login button.
Be sure to use the above credentials when logging in to the vCenter Server. The
use of other credentials may allow you to log in, but your results will not be the
same as when the correct credentials are used.
Within a few moments, the vSphere Web Client is connected to the vCenter server.
For purposes of this training the vSphere Web Client has been pre-registered
with, and connects to the vCenter server, vcenter2.example.com.
5. Click the Home icon at the top of the vSphere Web Client user interface.
Lab 10-4
7. Click the symbol to the left of the entries in the tree-view, if needed, to expand the
view.
The left pane of the vSphere Web Client user interface is updated to display an
entry for DC1 (DC = Datacenter).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-5
Note that the resources and status of the ESX host, esx2.example.com, are
displayed in the center pane.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The Summary tab displays information about the VMware entity that is
selected in the left pane of the vSphere Web Client user interface.
Entries for the virtual machines that are hosted by the esx2.example.com ESX
server are displayed beneath the entry for esx2.example.com in the left pane
of the vSphere Web Client user interface.
In this lab environment, two VMware virtual machines exist, lnxvm2 and
winvm1. The fully-qualified domain names (FQDN) of the VMs are
winvm1.example.com and lnxvm2.example.com.
Lab 10-6
10. Click the entries for each of the virtual machines, lnxvm2 and winvm1 that are
hosted by the esx2.example.com ESX server, then view the Summary tab.
Note that the center pane of the vSphere Web Client user interface displays
detailed information about the selected virtual machine.
You may have to use the scroll bars provided by the vSphere Web Client user
interface to view information available for the selected virtual machine.
The virtual machines, winvm1 and lnxvm2, are currently powered off. Do not
power on the virtual machines at this time.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
In this exercise, you have taken a brief tour of the VMware environment provided
for this course, and been introduced to the vSphere Web Client user interface.
Lab 10-7
12. Click Logout in the drop-down menu, and then close the Web browser window.
Lab 10-8
In this exercise, you configure NetBackup to enable NetBackup systems to access the
VMware vCenter server. Configuring this access allows NetBackup to perform backup
and restore operations in the VMware environment. You will also set resource limits to
prevent backup operations from overtaxing a VMware environment.
Lab 10-9
In the steps that follow, you configure credentials that enable NetBackup systems to
access VMware systems. These steps are necessary to enable NetBackup to perform
backup and restore operations in VMware.
The name of the NetBackup server you are connected to is indicated at the top
of the left pane of the Administration Console.
Lab 10-10
The right pane of the Administration Console displays entries for any VMware
Virtual Machine Servers that are currently configured in NetBackup.
5. Right-click on Virtual Machine Server and select New Virtual Machine Server from
the short cut menu.
6. Type the IP address of the vCenter Server, 10.10.2.65, in the Virtual Machine Server
Name field of the New Virtual Machine Server dialog box, and then click OK.
In this case, be sure to use the IP address, 10.10.2.65, of the vCenter Server
system. This is important because it is the name that was used when the
vCenter Server software was installed on the vcenter2.example.com system.
7. Use the information provided in the table below to populate the fields of the New
Virtual Machine Server window.
Lab 10-11
When you click OK in the Virtual Machine Servers window, NetBackup verifies
its ability to access and login to the virtual machine server – in this case, to
VCENTER2 (10.10.2.65). There may be a short delay as the ability to connect to
the virtual machine server is verified.
Lab 10-12
When the dialog box containing the “success” message is closed, the New Virtual
Machine Server window is also closed.
10. Verify the Virtual Machine Servers entry for 10.10.2.65 is present.
Lab 10-13
In the steps that follow, you configure resource limits to limit the number of
simultaneous backup jobs that can run against a VMware resource. Proper use of these
limits will prevent your VMware environment from being overstressed by backup
activity.
1. From the NetBackup Administration Console, select Host Properties, and then click
Master Servers.
The Resource Limit tab opens in the right pane of the Master Server Properties
window.
4. Select VMWare in the Application column, located in the right pane of the Master
Server Properties window.
The resources that can be limited are displayed. Note that by default, no limits are
set.
Any values entered in the Resource Limit column indicate the maximum
number of backup jobs that use that resource that can run simultaneously.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Backup jobs that meet multiple resource limits will count against the limit for
all applicable resource types.
5. Locate ESXserver in the left (Resource Type) column. Click the associated value in
the right (Resource Limit) column.
The resource limit for ESXserver changes to a text box with a value of 0, with
up/down arrows provided to change the parameter setting.
Lab 10-14
7. Click OK to save the change and to close the Master Server Properties window.
We will not perform enough concurrent backups in this lab to reach this limit;
we are using 4 jobs per ESX server as an example of a reasonable setting. In an
actual environment there are many factors to consider when determining the
correct resource limits to set. When in doubt about the settings to use, it is
better to be conservative and increase the limit settings only after thorough
testing.
To verify the Resource Limit setting change, with NetBackup Management >
Host Properties > Master Servers selected in the left pane of the
Administration Console, double-click the hostname of your master server
(winmaster.example.com or lnxmaster.example.com) in the right pane, to
open the Master Server Properties window. Then, in the Master Server
Properties window, click the Resource Limit entry in the left pane. Finally, click
the VMware entry in the Application column to display the VMware Resource
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Limit settings.
̶ If the resource limit setting of the ESXserver resource type is set to “4”, click
Cancel to close the Master Server Properties window.
̶ If the resource limit setting of the ESXserver resource type is not currently set to
“4”, click the entry for the ESXserver in the Resource Limit column, and change
the value to “4”. Then, click OK to save the Master Server Properties and to
close the window.
Continue to Exercise C: Installing the NetBackup Plug-in for the VMware vSphere
Web Client.
Lab 10-15
In this exercise, you install the new NetBackup 8.1 Plug-in for the VMware vSphere Web
Client.
This plug-in provides the prerequisite tools necessary for performing Exercise F:
Excluding disks from a VMware virtual machine backup of this lab activity, as
well as for the Using NetBackup Instant Recovery for VMware feature exercise
in Lab 11.
Continue to Exercise C-1: Verifying the vSphere Web Client (prior to plugin installation).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-16
In the steps to follow, you briefly view the vSphere Web Client user interface prior to
the installation of the NetBackup plugin for the VMware vSphere Web Client, and take
note of the absence of NetBackup icons in the vSphere Web Client user interface.
2. Locate and double-click the vSphere Web Client shortcut on the desktop to launch
the vSphere Web Client in a Firefox browser window.
4. When the vSphere Web Client user interface is displayed, click the Home icon in the
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-17
The absence of the NetBackup icons is an indication that the NetBackup plug-in
for the vSphere Web Client is not installed or registered with the vCenter
Server, vcenter2, to which the vSphere Web Client is currently connected.
Lab 10-18
In the steps that follow, you install and register the NetBackup Plug-in for vSphere Web
Client from the master server, winmaster.example.com, for use by the VMware Virtual
Center Server (vcenter2.example.com). This task is required in order to enable the use
the Exclude Disk Wizard as well as the NetBackup Instant Recovery for VMware (IRV)
feature.
2. From the desktop, locate and double click the shortcut for File Explorer.
C:\Program Files\Veritas\NetBackup\bin\goodies
If you cannot find the vwcp_manage.exe file double check to make sure you
are logged into winmaster.example.com.
Lab 10-19
6. From the End User License Agreement window select Accept to continue with the
installation wizard.
7. From the VMware vCenter Server Details window enter the vCenter Server
password and verify the following information shown in the table below.
10.10.2.65
Hostname or IP address
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
vsphere.local\Administrator
Username
Tra1n!ng
Password
443
Port
Lab 10-20
9. From the Plug-in package location screen review the location then click Register to
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
continue.
You have completed the installation of the NetBackup Plug-in for the vSphere Web
Client on VCENTER2 (10.10.2.65), and the registration of the plug-in on the windows
master server, winmaster.example.com.
Lab 10-21
In the steps that follow, you install and register the NetBackup Plug-in for vSphere Web
Client for the master server, lnxmaster.example.com, for use by the VMware Virtual
Center Server (vcenter2.example.com). This task is required to enable the use the
Exclude Disk Wizard and the NetBackup Instant Recovery for VMware (IRV) feature.
3. Navigate to C:\Tools.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-22
In this lab environment, MobaXterm needs to be running to enable the export of the
Java display from lnxmaster.example.com to console.example.com.
6. From the desktop, locate and double click the REMOTE SYSTEM ACCESS shortcut.
7. In the Windows Explorer window, double-click the Putty shortcut to open the PuTTY
Configuration window.
9. From the Terminal window login with the following credentials: login: root
password: train.
Exporting the display enables the NetBackup plugin installation script to run.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Command: cd /usr/openv/netbackup/bin/goodies
Lab 10-23
Command: ls
13. Type the following command and press Enter, to start the NetBackup plugin
installation.
Command: ./vwcp_manage
If the NetBackup Plug-in for VMware vsphere Web Client window does not pop
up, please check the taskbar for icon show below. The plugin window may be
under other windows.
Lab 10-24
10.10.2.65
Hostname or IP address
vsphere.local\Administrator
Username
Tra1n!ng
Password
443
Port
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
If you run the NetBackup plug-in for vSphere Web Client with administrator or
root privileges, the command discovers the available vCenter Servers and
presents them in the drop-down list. Otherwise, you can provide the vCenter
Server name and credentials in this window.
17. From the Plug-in package location screen review the location then click Register to
continue.
Lab 10-25
20. Access the minimized MobaXterm window, and then close the window.
MobaXterm was only needed while running the NetBackup plugin installation
script, to export the display from lnxmaster.example.com to
console.example.com.
22. Close any File Explorer windows that may still be open on console.example.com.
You have completed the installation of the NetBackup Plug-in for the vSphere Web
Client on VCENTER2 (10.10.2.65), and the registration of the plug-in on the Linux
master server, lnxmaster.example.com.
Lab 10-26
In the steps to follow, you view the vSphere Web Client interface that is connected to
the vCenter Server, vcenter2.example.com, to verify the installation and registration of
the NetBackup vSphere Web Client plug-in.
2. Locate and double-click the vSphere Web Client shortcut, located on the desktop of
console.example.com, to launch the vSphere Web Client window.
3. When the vSphere Web Client log screen is displayed, enter the Username,
vsphere.local\Administrator, and the Password, Tra1n!ng, and click
Login.
4. When the vSphere Web Client user interface is displayed, click the Home icon in the
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-27
The Veritas NetBackup entries are only present in the vSphere Web Client user
interface when the NetBackup plugin has been successfully installed and
registered.
6. If the Veritas NetBackup entries are not present in the vSphere Web Client window,
notify your instructor.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
You have now successfully completed installing the NetBackup plug-in for vSphere
Web Client.
Lab 10-28
Lab 10-29
In the steps that follow, you begin the creation of a new policy that will be used to back
up VMware virtual machines.
The policies that are currently configured are listed in the All Policies pane of the
Administration Console.
4. Right-click, in the white space, in the All Policies pane and select New Policy from
the shortcut menu.
5. Type the name of the new policy, LAB10-vmware, in the Policy name field of the
Add a New Policy dialog box, and then click OK.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The LAB10-vmware policy is opened for editing in the Change Policy window.
Lab 10-30
In the steps that follow, you will configure the Policy type and Policy Storage in the
Attributes tab of the LAB10-vmware policy.
1. In the policy Attributes tab, select the drop-down arrow for the Policy type field
and, from the drop-down list, select VMware.
You may have to use the scroll bar in the Policy type drop-down menu to
locate the VMware policy type selection.
2. Use the information below to make the following additional changes to the policy’s
Attributes tab parameter settings.
3. Take notice that two new tabs are added to the policy as a result of changing the
Policy type to VMware.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
When the Policy type attribute is set to VMware, and the policy Attributes are
saved (applied), the VMware tab and Exclude Disks tab is added to the policy.
Lab 10-31
In the steps that follow, you will configure a full schedule for the LAB10-vmware policy.
2. Create a new schedule using the parameters provided in the table below.
3. In the Add Schedule – Policy LAB10-vmware window, click OK to save the full
schedule.
Continue to the Exercise D-4: Configuring the policy VMware tab selections.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-32
In the steps that follow, you view the parameters that are available for selection in the
VMware tab of VMware-type policy, and modify one parameter setting - to enable
successful virtual machine discovery in this lab environment.
2. Briefly view the parameters that are available for selection in the VMware tab. Take
note of the selections available for the VMware backup host parameter.
Do not change this setting from the default setting (Backup Media Server).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
By default, NetBackup uses one of the Backup media servers (that are
associated with the target storage unit for the policy) as the “backup host”. If
one of the media servers IS NOT supported as a backup host (for example,
Solaris, HP-UX, AIX), then it is necessary to configure another system, that is
running a supported OS and that has the NetBackup client software installed to
serve as the VMware backup host (VMware access host). VMware Access Hosts
are configured in the Master Server Host Properties > VMware Access Hosts
window.
Lab 10-33
4. Verify that the Primary VM identifier field is set to a value of VM display name
before continuing.
Successful identification and selection of virtual machines for backup, when the
VM hostname is the Primary VM identifier, relies upon the ability of
NetBackup to perform successful reverse name lookups from a Domain Name
Server (DNS). Because of the dynamic nature of many virtual machine
environments, it may be necessary to change the Primary VM identifier to use
another setting, such as the VM display name. Use of the VM display name as
the Primary VM identifier does not require reverse name lookups in DNS in
order to identify VMware virtual machines for backup.
Lab 10-34
7. Briefly view the parameters that can be set in the VMware - Advanced Attributes
window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
8. Click Cancel to close the VMware - Advanced Attributes window. No changes are
required.
Lab 10-35
In the steps that follow, you view and manually select VMware virtual machines for
backup.
2. Click the Select manually radio button, located in the Virtual Machines for backup
section.
When you choose the Select manually radio button, a Backup Policy
Management dialog box is displayed. This dialog box enables you to confirm
that you are changing the policy from the use of automatic virtual machine
selection to manual virtual machine selection.
3. Click Yes in the Backup Policy Management dialog box, to confirm the selection.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
4. Click the New button, located near the bottom of the Clients tab.
Lab 10-36
Within a few moments, the left pane of the Browse for Virtual Machines window is
updated to display a Hosts and Clusters entry, with an entry for the vCenter Server,
10.10.2.65, displayed beneath it.
The Hosts and Clusters entry has an entry for the vCenter Server, 10.10.2.65,
beneath it. NetBackup has obtained the structure of the VMware environment
by querying the vCenter Server.
6. Expand the entry for the vCenter Server, 10.10.2.65. Then expand the entry for the
DC1 Data Center, using the symbols located to the left of the names of these
VMware entities.
When the DC1 entry is expanded, an entry for the ESX server, esx2.example.com is
displayed.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
7. Click to highlight the entry for esx2.example.com (but do not click the check box),
located in the left pane of the Browse for Virtual Machines window.
The right pane of the Browse for Virtual Machines window displays entries for the
virtual machines that are hosted by the ESX server, esx2.example.com. The check
boxes for the VMs enable you to manually select the virtual machines that you want
to back up using this policy.
Lab 10-37
9. Click the Cancel button in the Browse for Virtual Machines window, to cancel the
manual selection of virtual machines to back up.
You are not going to select the virtual clients to back up using the manual
method.
Lab 10-38
In the steps that follow, you configure the NetBackup VMware policy to use an
automated query to identify and select virtual machines to back up. This capability uses
a NetBackup feature called VMware Intelligent Policy, or VIP.
1. Select the radio button for Select automatically through VMware Intelligent Policy
query, located near the top of the Clients tab of the Change Policy window.
When you choose the “Select Automatically…” radio button, a Backup Policy
Management dialog box is displayed, to allow you to confirm that you are
changing the policy from the use of manual virtual machine selection to
automatic virtual machine selection.
Lab 10-39
The Clients tab changes to display the Query Builder that enables you to create an
automated query to discover VMware virtual machines to back up.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
In the steps that follow, you create a two-part automated query using the Query
Builder.
̶ The first part of the query selects a virtual machine using the virtual machine
Display name.
̶ The second part of the query selects VMs that are running a particular operating
system.
Lab 10-40
4. Enter the settings for the query into the Query Builder fields and click the plus (+)
button, to Add the query (see below).
5. Verify the first part of the query is added to the Query (Basic Mode) pane of the
Clients tab.
Note that the Values for the queries are enclosed in double quotes (“).
6. Add a second part to the query using the information provided in the table below.
Join: OR (change)
Field VMGuestOS (change)
Operator Equal (change)
Value(s) “other26xLinuxGuest”
(Click on the folder icon to the right of the
Value(s): field, then select other26xLinuxGuest).
7. Enter the settings for the query into the Query Builder fields and click the plus (+)
button, to Add the query.
Lab 10-41
10. Verify the test query results show the two VMs were discovered, winvm1 and
lnxvm2, and that both VMs were Included (for backup) by the query operation.
11. Click the Close button, to close the Test Query window.
Lab 10-42
When a policy uses an automated query to discover the virtual machines to back up, the
Backup Selections tab of the policy is automatically populated with an entry that shows
the query that is used.
2. Verify the Backup Selections List contains an entry that describes the automated
query that will be used by the policy to discover the VMware virtual machines.
You cannot modify the contents of the Backup Selections tab for a VMware
policy that uses an automated query to discover VMware virtual machines to
back up. The buttons that normally enable you to change the contents of the
Backup Selections are disabled for a VMware policy that uses an Intelligent
Query to select VMs that will be backed up using the policy.
display the VIP query. If you manually browse to select VMware clients to back
up, you may specific VM contents to back up in the Backup Selections tab.
Lab 10-43
In the steps that follow, you will save all the changes that were applied to the LAB10-
vmware policy.
1. Click OK in the Change Policy window to save the LAB10-vmware policy changes,
and to close the Change Policy window.
2. Verify that the LAB10-vmware policy is added to the list of policies that is displayed
in the All Policies pane of the Administration Console.
In this exercise you created a NetBackup policy, named LAB10-vmware that enables
manual, full backups of VMware virtual machines that are discovered by NetBackup
using an automated query. The virtual machines that meet the criteria of the
automated query are backed up by the policy to AdvancedDisk storage that is
configured on the master server, xxxmaster.example.com
(winmaster.example.com or lnxmaster.example.com).
Lab 10-44
In this exercise, you use the LAB10-vmare policy that you created earlier in this lab
activity, to perform a manual backup operation. Then, you use the NetBackup Activity
Monitor to view the resulting backup jobs.
Lab 10-45
In the steps that follow, you initiate a manual backup of the LAB10-vmware policy and
monitor the backup until completion.
The policies that are currently configured are listed in the All Policies pane of the
Administration Console.
4. Right-click the entry for the LAB10-vmware policy, located in the All Policies pane,
then select Manual Backup.
The Clients pane of the Manual Backup window contains the entry,
MEDIA_SERVER. This entry denotes that the MEDIA_SERVER (BACKUP HOST)
will use the automated query of the VMware Intelligent Policy to select the
VMware virtual machines that will be backed up by the policy.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Click the OK button in the Manual Backup window without making any other
selections, to initiate the manual backup operation.
6. Select the Activity Monitor entry in the left pane of the NetBackup Administration
Console window.
Lab 10-46
8. View the Jobs tab of the Activity Monitor and take note of the number of jobs that
are added as a result of the manual backup operation that you initiated.
It may take several minutes for all the resulting jobs to be added to the Activity
Monitor.
9. Take note of the information about the jobs that were initiated, based on their Job
IDs, and as identified in the table below.
In some cases, it may take a while (10 minutes +) for all jobs to run to
completion. Please be patient. The time required to complete the jobs is
dependent upon the lab delivery environment being used to perform the lab.
11. Verify that all the jobs run to successful completion. If one or more of the jobs fail,
record the status code or status codes and notify your instructor.
Lab 10-47
A parent Backup job is launched first. The initial parent job is the parent of two
Snapshot jobs – one Snapshot job for each of the VMware virtual machines
that will be backed up in this lab environment (winvm1 and lnxvm2). The
hostname of the master server is listed as the client for the parent job. This is
because the master server is the Backup Host that uses the automated query
to discover the VMs to back up.
When viewing the VMware jobs in the hierarchical view, the jobs are not
displayed in numeric order (see the screenshot above). This is expected
behavior.
Each Snapshot job becomes the parent of a Backup job that is used to back up
a virtual machine from the snapshot that was created of the virtual machine.
The second Snapshot job remains in the Queued state until the first Snapshot
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
job and its associated Backup job run to completion. At that time, the second
Snapshot job goes Active, and the associated Backup job becomes visible in
the Activity Monitor and goes Active. The concurrency of the jobs, or the lack
thereof, is related to the number of concurrent jobs that is configured for the
target storage unit for the jobs.
Leave the NetBackup Administration Console open as you will use it in a later
exercise.
Lab 10-48
In this exercise, you configure a VMware Custom Attribute through the vSphere Web
Client to exclude a disk located on the VMware client, winvm1. Then, you configure a
policy, LAB10_excluding_disks, to apply the Custom Attribute to the policy.
Lab 10-49
In the following steps you create a Custom Attribute using the vSphere Web Client to
exclude a virtual disk on the VMware client, winvm1.
3. Log into the vSphere Web Client using the User name:
vsphere.local\Administrator and password: Tra1n!ng, click the Login
button.
Be sure to use the above credentials when logging in to the vCenter Server. The
use of other credentials may allow you to log in, but your results will not be the
same as when the correct credentials are used.
Within a few moments, the vSphere Web Client is connected to the vCenter server.
If the vSphere Web Client is not at the Home screen then click the Home icon
Lab 10-50
9. From the Search Results, select winvm1, then click the +Add Virtual Machines
button located in the lower right corner.
One virtual machine is added to the Custom Attribute as shown in the figure below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-51
12. In the Available Disks section, mark the checkbox for Hard disk 1, scsi0-0.
14. In the Virtual Machines and Excluded Disks section, select winvm1, then click the
Set Exclusions button.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
You have created a VMware Custom Attribute to exclude disk1 for the virtual
machine, winvm1.
Lab 10-52
Lab 10-53
In the steps that follow, you configure a VMware policy, LAB10-exclude_disk, to exclude
virtual disks with a custom attribute that was created in the previous exercise.
The policies that are currently configured are listed in the All Policies pane of the
Administration Console.
4. Right-click the LAB10-vmware policy and select Copy to New… from the shortcut
menu.
5. In the New Policy field, type LAB10-exclude_disk, then click OK to create a new
policy.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-54
Only the Displayname Equal “winvm1” entry remains in the Query (Basic Mode)
section.
9. Click the Test Query button, and verify that winvm1 is the only virtual machine host
to be included when this policy is used to perform a backup operation.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
12. Select the radio button for Perform custom attribute based exclusion option.
Lab 10-55
The custom attribute name in the policy must match the name of the custom
attribute that was created it in the Disk Exclusion Wizard in the vSphere Web
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-56
In the steps that follow, you initiate a manual backup of the LAB10-exclude_disk policy
and monitor the backup job until completion.
1. Access the NetBackup 8.1 Administration Console window and log into your desired
master server.
3. Right-click the entry for the LAB10-exclude_disk policy, located in the All Policies
pane, then select Manual Backup.
4. Click the OK button in the Manual Backup window without making any other
selections, to initiate the manual backup operation.
5. Select the Activity Monitor entry in the left pane of the NetBackup Administration
Console window to monitor the backup job.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
6. View the Jobs tab of the Activity Monitor and take note of the number of jobs that
are added as a result of the manual backup operation that you initiated.
It may take couple of minutes for all the resulting jobs to be added to the
Activity Monitor.
7. Double-click the backup job that has the Job Schedule of full associated with it. This
should be the job with the highest Job Id.
Lab 10-57
One way to verify that the disk exclusion worked as planned is to compare the
contents of the Current Kilobytes Written field in the Detailed Status tab of
the most recent backup job of the virtual machine, with the contents of the
same field from the previous backup job of the virtual machine (backed up in
Exercise E-1). The Current Kilobytes Written for the most recent job should be
substantially less than in the previous job (which did not exclude disks from the
virtual machine backup)>
You have completed all tasks planned for this lab activity.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 10-58
In this lab, you use various NetBackup and VMware methods to restore individual files
to VMware virtual machines, restore a disk to a VMware virtual machine, recover an
entire VMware virtual machine, and perform Instant Recovery for VMware.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
This lab activity depends upon backups of virtual machines that were
performed in Lab 10 of this course. If you have not completed Lab 10,
complete that lab activity before performing this lab activity.
To recover individual files to a Windows-based virtual machine, click the link to continue
to Exercise A: Recovering virtual machine files.
Lab 11-1
You may perform this exercise using either NetBackup master sever,
winmaster.example.com or lnxmaster.example.com. Use the same master
server as you have used in previous lab exercises in this course.
If you are not interested in performing the steps to recover individual files to a VMware
virtual machine, click the link to continue to Exercise B: Recovering a VMware Virtual
Machine disk.
To recover individual files to a VMware virtual machine, continue to the steps below.
This lab activity is dependent upon backups of virtual machines that were
performed in Lab 10 of this course. If you have not completed lab 10, you must
do so before continuing with this lab activity.
In this exercise, you perform the steps to recover individual VMware virtual machine
files to a VMware virtual machine using the Backup, Archive, and Restore user
interface. The Backup, Archive, and Restore user interface is launched from the
NetBackup Administration Console that is logged on to your NetBackup master server.
Lab 11-2
In the steps that follow you use the vSphere Web client to power on the winvm1 virtual
machine.
To recover individual files to a VMware virtual machine requires that the virtual
machine be powered on. To recover individual file and folder contents to the
VM requires the NetBackup Client software to be installed on the VM. The
NetBackup 8.1 Client software has been pre-installed on winvm1.
2. Locate and double-click the vSphere Web Client shortcut on the desktop of
console.example.com to launch the VMware vSphere Web Client.
3. When the vSphere Web Client login screen is displayed, type the User name and
password for the vCenter server, vcenter1.example.com, provided below, and click
the Login button.
Within a few moments, the VMware vSphere Web Client is connected to the
vCenter server and the VMware vSphere Web Client user interface is displayed.
4. Click the Home icon, in the blue banner of the VMware vSphere Web Client.
Lab 11-3
The left pane of the VMWare vSphere Web Client also displays the Hosts and
Clusters tree.
6. Click the symbol to the left of the entries in the tree-view, if needed, to expand the
view.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The left pane of the vSphere Web Client user interface is updated to display an
entry for DC1 (DC = Datacenter).
Lab 11-4
8. In the right pane, click the Summary tab, if it is not already displayed.
9. Monitor the Summary tab to ensure the winvm1 host is Powered On.
You may need to select the refresh button on the blue banner bar.
The virtual machine is powered on when a green arrow next to the winvm1
name in the left pane, and in the black box that represents the VM in the
Summary tab of the vSphere Web Client.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
10. Allow the VMware vSphere Web Client window to remain open on
console.example.com.
Continue to Exercise A-2: Launching Backup, Archive, and Restore from the
NetBackup Administration Console.
Lab 11-5
In this exercise, you restore virtual machine files directly to the Windows-based virtual
machine, winvm1, using the Backup, Archive, and Restore user interface which you
launch from the NetBackup Administration Console.
Restoring individual file and folder contents to a VMware virtual machine requires that:
If you are restoring individual files to a VMware virtual machine on which the
NetBackup client software is not installed, you must use a two-step process:
• Step one: Use NetBackup to restore the individual VM files to an alternate
NetBackup client system.
• Step two: Move (or copy) the restored VM files from the alternate client to the
original VMware virtual machine. This step occurs outside of NetBackup, and does
not use NetBackup.
In this lab activity you will not perform a two-stage restore of virtual machine files.
2. Click the Backup, Archive, and Restore entry, located in the left pane.
The right pane of the Administration Console displays the Backup, Archive, and
Restore user interface.
Lab 11-6
In the steps that follow, you use the Backup, Archive, and Restore user interface –
launched from the NetBackup Administration Console – to restore VMware virtual
machine files directly to the original folder location on the VM, winvm1.
1. In the Backup, Archive, and Restore pane, click the Restore Files tab.
2. Click the ‘pointing finger’ icon to access the Specify NetBackup Machines and Policy
Type window.
You can also select Actions > Specify NetBackup Machines and Policy Type to
access this screen.
3. In Specify NetBackup Machines and Policy Type window, change the Policy type to
VMware.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-7
5. When the Browse and Search Virtual Machines for Restore screen is displayed, click
the Browse virtual machines and vSphere view radio buttons.
7. On the Browse and Search Virtual Machines for Restore screen, expand the entries
for 10.10.2.65 (vCenter server) and the /DC1 data center.
8. Click to select the esx2.example.com entry which reveals entries for the virtual
machines that have been backed up – winvm1 and lnxvm2.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
winvm1 and lnxvm2 were backed up during the previous lab activity (lab 10) of
this course. You must complete Lab 10 before performing this lab activity.
9. Click the entry for the virtual machine, winvm1 and click Select to continue.
You are returned to the Specify NetBackup Machines and Policy Type window.
Lab 11-8
If winvm1 is not present in the Destination client for restores drop-down list, see
the Note below.
If an entry for winvm1 is not present in the drop-down list for the Destination
client for restores field, click the Edit Client List button, and then add an entry
for winvm1 to the client list.
11. Check the values that you have specified in the Specify NetBackup Machines and
Policy Type window as described below.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
̶ Server to use for backups and restores: field should contain the name of your
master server, either winmaster.example.com or lnxmaster.example.com
̶ Source client for restores: winvm1
̶ Destination client for restores: winvm1
̶ Policy type for restores: VMware
12. Click OK to save the Specify NetBackup Machines and Policy Type window entries.
13. If a message appears that says ‘no files are found’, click OK to acknowledge the
message and continue.
Lab 11-9
15. If / (forward slash) is not already present in the Browse Directory field, type a / in
the Browse directory field, and press Enter.
16. Expand the contents of the Directory Structure pane so that C/data/smallfiles
folder is visible in the directory structure of the backup image.
17. In the Directory Structure pane, click the entry for the smallfiles folder (but do not
select the check box for the folder).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Note that the contents of the folder are displayed in the Contents of selected
directory pane (the right pane of the Backup, Archive, and Restore user interface).
Lab 11-10
20. When the Restore Marked Files screen is displayed, verify that the Restore
everything to its original location radio button is selected.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
21. In the Options area of the Restore Marked Files window, click the check box for the
Overwrite existing files parameter.
Lab 11-11
23. Click the Yes button in the View Progress dialog box to observe the progress of the
restore operation.
24. Monitor the progress of the restore operation in the Task Progress tab of the
Backup, Archive, and Restore user interface.
You can also use the NetBackup Activity Monitor to monitor the restore
progress.
25. Verify that the restore operation is completed successfully before continuing.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-12
At this point, you have restored ten (10) files that were backed up from the
winvm1 virtual machine to the original folder location of the files on the client.
You will access the NetBackup Administration Console window again in a later
exercise.
27. Allow the VMware virtual machine, winvm1, to remain powered on.
In the next exercise of this lab, you restore a virtual disk to the VMware virtual
machine, winvm1. Steps performed in that exercise require that the VM be
powered on.
Lab 11-13
In this exercise, you use the new Restore Virtual Machine Disks wizard to restore an
individual virtual disk for the VMware virtual machine, winvm1, from a backup that was
performed in Lab 10: Protecting Virtual Machines.
Lab 11-14
In the steps that follow, you first delete data on the virtual host, winvm1, then you
perform an individual virtual disk restore. In order to perform this exercise, you must
have completed Lab 10: Exercise B: Excluding disks from VMware backups.
1. Access the desktop of the console.example.com system a log in (if necessary) using
the credentials provided below.
The vSphere Web Client window may be open from a previous exercise.
3. Log in to the vCenter Server, vcenter2, if necessary, using the credentials provided.
a. Right-click the winvm1entry in the left pane of the vSphere Web Client window.
b. In the menu, click Power, and then click Power On, as illustrated below.
Lab 11-15
6. After verifying that winvm1 is powered on, minimize the vSphere Web Client
window.
8. In the window that is displayed, double-click the RDP Profiles (Windows systems)
folder.
9. In the RDP Profiles (Windows systems) folder, double-click the winvm1.rdp profile
to launch a remote session to winvm1.
After the power on of winvm1, it may take several minutes before the system
is ready to accept the RDP connection. If the initial connection attempt is
unsuccessful, wait a minute and try again.
10. When the Windows Security window is displayed, verify the logon account is set to
EXAMPLE\Administrator and, in the Password field, type train. Then click OK.
13. Click the entry for the smallfiles directory in the left pane.
Lab 11-16
15. Click Yes to confirm the deletion, and verify that the smallfiles directory has been
deleted.
When you log out of the winvm1 system, the RDP session and window from
console.example.com to winvm1 is closed.
18. On the desktop of console.example.com, close the RDP Profiles (Windows systems)
window.
21. Click Actions, then Specify NetBackup Machines and Policy Type.
22. In the Specify NetBackup Machines and Policy Type window, from the Policy type
for restores drop-down menu, select VMware.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-17
24. In the Selection Method section verify Search virtual machines is selected, then
click Next.
25. Type winvm in the Browse and Search Virtual Machines for Restore, then click
Next.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
26. From the resulting search, select the winvm1 host, then click Select.
Lab 11-18
28. Click the Actions menu, then Set Date Range, then Backup History.
29. Select the most recent backup that belongs to the LAB10-exclude_disk policy, then
click OK.
Lab 11-19
31. From the Contents of winvm1 pane locate the Policy column.
You may need to scroll to the right to locate the Policy column.
32. Click the Policy heading until a right side up triangle appears.
The sort order for the data in the Policy Column should be from A-Z.
33. Drag the Policy column to the right of the Name column.
The Directory Structure pane only lists the hostname, winvm1, and the
Contents pane lists 3 VMDK files: winvm1_1.vmdk, winvm1_2.vmdk and
winvm1.vmdk. You may need to expand the Name column to see the full
name.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
34. In the Directory Structure pane, mark the checkbox for winvm1 then click Restore….
35. In the Select Virtual Disks window, take note that there are three (3) Virtual Disks
listed.
Lab 11-20
The disk with the yellow caution symbol indicates this virtual disk has no
data to be restored. In Lesson 10: Protecting Virtual Machines a VMware
Custom Attribute was created that excluded this disk, scsi0-0. Then a policy
was created to exclude any disks that were associated with that Custom
Attribute.
37. Review the Recovery Destination screen options, but leave all settings at their
default values.
39. Review the Virtual Disk Destination screen options, then click Next to continue.
40. From the Storage Destination screen, mark the checkbox to overwrite the existing
data.
The dropdown menu for Overwrite all virtual disks changes from the default of
No to Yes when the checkbox is selected.
The Restored virtual disks provisioning is set to Original and the Provisioning
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
column associated with the virtual disk is set to Thin. This tells NetBackup to
restore the virtual disks to their original provisioned state - thin.
Lab 11-21
42. Review the Recovery Summary screen contents, then click Start Recovery.
44. On the Task Progress tab, mark the Full Contents checkbox, and monitor the restore
operation until it completes successfully.
DO NOT proceed until the restore job is successful. If the restore job fails, review any
failure information that is provided, and attempt to correct the problem. Then
repeat the steps to perform the restore (Exercise B-1). If failures persist, seek
technical assistance.
You can also view progress of the restore job using the Activity Monitor.
45. Open a new Remote Desktop (RDP) session from console.example.com to winvm1.
a. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of
console.example.com.
b. Double-click the RDP Profiles (Windows systems) folder in the REMOTE SYSTEM
ACCESS folder.
c. Double-click the winvm1.rdp file, to open an RDP session to winvm1.
d. Log in to winvm1, with the username, EXAMPLE\Administrator, and the
password, train.
47. Navigate to F\:data3 directory and verify the smallfiles directory and its contents
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
When you log off the winvm1 system, the Remote Desktop (RDP) session from
console.example.com to winvm1 will be closed, and you will be returned to
the desktop of console.example.com.
Lab 11-22
In the steps below, you power off the virtual machine, winvm1.
Due to the limited lab environment resources it is important to power off the
nested virtual machines when it is not required that they are powered on.
2. Right-click the winvm1 virtual machine entry in the left pane, click the Power entry
in the menu, followed by Shut Down Guest OS.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
3. When the Confirm Shut Down dialog box is displayed, click Yes to continue.
4. From the Summary tab, monitor the winvm1 VM to verify the state of the VM
changes to Powered Off.
You may need to click the Refresh icon to update the status of the VM.
Lab 11-23
In this exercise, you use the NetBackup Administration Console to recover an entire
VMware virtual machine to its original datastore location on a VMware ESX server.
You can perform this exercise using either the Windows-based master server,
winmaster.example.com or the Linux-based master server,
lnxmaster.example.com.
This lab activity is dependent upon backups of virtual machines that were
performed in Lab 10 of this course. If you have not completed lab 10, you must
do so before continuing with this lab activity.
Lab 11-24
In the next steps you delete a VM from the VMware ESX server, esx1.example.com.
1. From the desktop of console.example.com access the vSphere Web Client user
interface.
If a VMware vSphere Web Client window is not open, use the shortcut on the
desktop of console.example.com to open a Web browser window and log in to
the vCenter Server, running on the system, vcenter2.example.com.
If you have previously logged in to the vCenter Server using the vSphere Web
Client and have not accessed the user interface for a while, the connection will
time out, and display the login screen. It will be necessary to log in to the
vSphere Web Client again.
3. Expand the DC1 and esx2.example.com entries in the left pane, as necessary, to
view the entries for the 2 virtual machines, lnxvm2 and winvm1.
Lab 11-25
VMware only allows the deletion of virtual machines that are powered off.
6. When the Confirm Delete dialog box is displayed, click the Yes button to confirm the
delete operation.
7. Verify that the entry for the lnxvm2 virtual machine is no longer visible in the left
pane of the vSphere Web Client.
Lab 11-26
You return to the vSphere Web Client window later in this exercise.
Continue to Exercise C-2: Preparing to recover a virtual machine using the Backup,
Archive and Restore (BAR) user interface.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-27
In the following steps, you select the virtual machine, lnxvm2, to initiate the recovery of
the virtual machine.
3. Click the ‘pointing finger’ icon to access the Specify NetBackup Machines and Policy
Type window.
You can also select Actions > Specify NetBackup Machines and Policy Type to
access this user interface.)
The right pane of the Administration Console displays the Backup, Archive, and
Restore user interface, as shown below.
as the NetBackup master server. If you are using the Linux-based master
server, the master server is lnxmaster.example.com.
Lab 11-28
6. When the Browse and Search Virtual Machines for Restore screen is displayed, click
the Browse virtual machines and vSphere view radio buttons.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
8. When the next Browse and Search Virtual Machines for Restore screen is displayed,
expand the entries for 10.10.2.65 (vCenter Server) and /DC1.
Lab 11-29
The VMware virtual machines, winvm1 and lnxvm2, were backed up in Lab 10:
Protecting Virtual Machines.
10. Click the entry for the virtual machine, lnxvm2 (the VM that you deleted earlier in
this exercise), then click Select.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
11. Verify that lnxvm2 is selected in the Destination client for restores field of the
Specify NetBackup Machines and Policy Type window.
12. Verify that the Specify NetBackup Machines and Policy Type window contains the
following entries:
̶ Server to use for backups and restores: Your master server, either
winmaster.example.com or lnxmaster.example.com.
̶ Source client for restores: lnxvm2
̶ Destination client for restores: lnxvm2
̶ Policy type for restores: VMware
Lab 11-30
The Specify NetBackup Machines and Policy Type window closes and the Backup,
Archive, and Restore user interface is displayed.
14. From the Restore type field, use the drop-down menu to select Virtual Machine
Backups.
After making the Restore Type selection, note that the Directory Structure
pane contains the list of VMs that meet the criteria you have established for
the restore.
15. Click the Actions drop-down menu, and from the menu select Set Date Range, and
then select Backup History.
16. In the Backup History window, click the entry for the most recent backup image,
that was created using the LAB10-vmware policy.
18. From the Directory Structure pane mark the check box to the left of the entry for
lnxvm2 to select that virtual machine for recovery.
File selection choices are no longer visible in the Directory Structure pane.
Entries for entire virtual machines that have been backed up and that meet the
selection criteria are listed.
Lab 11-31
In the following steps you use the Virtual Machine Recovery wizard to restore the
virtual machine, lnxvm2.
1. In the Recovery Destination screen of the wizard, leave the Original Location radio
button (default) selected, and click Next.
2. In Recovery Options screen of the wizard, in the Transport mode section, clear the
check boxes for san, hotadd, and nbdssl options.
Lab 11-32
6. When the Perform Recovery screen of the wizard is displayed, click the Run Pre-
Recovery Check button to run the mandatory pre-recovery check.
Lab 11-33
If pre-recovery check errors are encountered, take note of the errors and notify
your instructor.
8. Click the Start Recovery button to start the virtual machine recovery operation.
9. When the View Progress dialog box is displayed, click Yes to view the progress of
the virtual machine recovery operation in the Task Progress tab.
10. Monitor the most recent Restore operation and verify the job completes
successfully.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
You may also view the virtual machine recovery operation using the NetBackup
Activity Monitor.
Continue to Exercise C-4: Verifying the VM recovery using the VMware vSphere Web
Client.
Lab 11-34
In the following steps you, verify the virtual machine, lnxvm2, is restored.
2. From the Home tab click Hosts and Clusters in the vSphere Web Client window.
3. Click the Refresh icon located in the blue banner bar to update the vSphere Web
Client user interface.
4. Verify that the lnxvm2 virtual machine has been recovered to the
esx2.example.com ESX server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-35
These tasks have been pre-performed in this lab environment in order to save time in
the lab. However, the tasks are documented in this lab guide for your reference.
While the non-NetBackup steps described in the exercise have been pre-
performed for your convenience, it is important to understand that the steps
are NOT OPTIONAL. These steps must be performed in a production
NetBackup environment, to enable the use of the NetBackup Instant Recovery
for VMware feature.
Lab 11-36
There are four primary non-NetBackup requirements to enable the use of the
NetBackup Instant Recovery for VMware (IRV) feature in this lab environment:
The tasks listed above have been pre-performed in this lab environment.
• If you are not interested in reviewing the detailed steps to perform the non-
NetBackup pre-requisite tasks, click the link to skip to Exercise E: Performing
NetBackup pre-requisite tasks for IRV on the next page.
• Click the link to view the steps in Exercise X: Detailed non-NetBackup prerequisite
steps to enable Instant Recovery for VMware (IRV).
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-37
There are several NetBackup-related tasks that must be performed to enable the
Instant Recovery for VMware (IRV) feature, using the NetBackup plugin for the vSphere
Web Client user interface.
These tasks and the instructions for performing each task are found in the following
exercises:
• Exercise E-1: Verifying the vSphere Web Client plugin installation and registration
(the plugin was installed in Lab 10).
• Exercise E-2: Creating security certificates for NetBackup master server – Windows
• Exercise E-3: Creating security certificates for NetBackup master server - Linux
• Exercise E-4: Registering the NetBackup master server (or servers) with the vCenter
Server to enable Instant Recovery for VMware (IRV) operations.
Each of the tasks listed above is a required task to enable the NetBackup
Instant Recovery for VMware feature. Do not skip any of these steps.
Continue to the next page to begin the steps to perform the pre-requisite NetBackup
tasks to enable Instant Recovery for VMware (IRV). The first task is: Exercise E-1:
Verifying the vSphere Web Client plugin installation and registration.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-38
In this task, you view the vSphere Web Client UI that is connected to the vCenter
Server, vcenter1.example.com, to verify the installation and registration of the
NetBackup vSphere Web Client plug-in.
Password: Tra1n!ng
2. Click the Home icon in the blue title bar of the VMware vSphere Web Client, and
then click the Home entry in the menu.
Lab 11-39
The Veritas NetBackup entries are only present in the vSphere Web Client user
interface when the NetBackup plugin has been successfully installed and
registered.
If the Veritas NetBackup entries are not present in the vSphere Web Client
window, please refer to Lab 10: Exercise C: installing the NetBackup Plug-in
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
4. Click the link to continue to the next exercise, depending upon the Operating System
of your preferred master server:
Lab 11-40
To enable a NetBackup master server to access the vCenter Server (10.10.2.65, in this
lab environment) and to use the NetBackup plugin for the vSphere Web Client to
perform Instant Recovery for VMware (IRV) operations, it is necessary to create a
security certificate for each master server that will access the vCenter Server, and then
to register the master server with the vCenter Server (by providing the security
certificate).
In the steps that follow, you perform the steps necessary to create a security certificate
for your NetBackup master server.
Complete the steps below to create a security certificate for the Windows-based
NetBackup master server, winmaster.example.com.
Command: cd C:\Pro*\Ve*\Net*\wmc\bin\install
Lab 11-41
In this lab environment you use the IP address, 10.10.2.65, of the vCenter
Server system, VCENTER2, when creating the security certificate. This is
important, because 10.10.2.65 is the name that was used when this vCenter
Server was installed.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-42
environment because the IP address was used as the vCenter Server’s host
name during the installation.
10. In the Command Prompt window, execute the manageClientCerts command using
the syntax below, to list the newly created aliases.
Lab 11-43
14. Right-click on the 10.10.2.65.zip file, and select Copy from the menu.
15. Click the Run icon in the Windows’ task bar on desktop of winmaster.example.com.
16. In the Open field, type \\vcenter2\winmaster-token, and then click OK.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-44
Continue to Exercise E-4: Registering the master server with the vCenter Server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-45
To enable a NetBackup master server to access the vCenter Server (10.10.2.65, in this
lab environment) and to use the NetBackup plugin for the vSphere Web Client to
perform Instant Recovery for VMware (IRV) operations, it is necessary to create a
security certificate for each master server that will access the vCenter Server, and then
to register the master server with the vCenter Server (by providing the security
certificate).
In the steps that follow, you perform the steps necessary to create a security certificate
for your NetBackup master server.
Lab 11-46
You may want to adjust the size of the PuTTY window to fit your screen.
Command: cd /usr/openv/wmc/bin/install
5. Execute the manageClientCerts command using the syntax below, to list any
existing security certificates.
6. Execute the manageClientCerts command, using the syntax below, to create a new
security certificate for the vCenter Server, 10.10.2.65.
In this lab environment you use the IP address, 10.10.2.65, of the vCenter
Server system, VCENTER2, when creating the security certificate. This is
important, because 10.10.2.65 is the name that was used when this vCenter
Server was installed.
Lab 11-47
8. Execute the manageClientCerts command using the syntax below, to list any
existing security certificates.
9. Execute the manageClientCerts command two times, using the syntax shown below,
to add two aliases for the vCenter Server, one for vcenter2 and another for
vcenter2.example.com.
vcenter2
Lab 11-48
10. Execute the manageClientCerts command using the syntax below, to list the aliases
for the vCenter Server, 10.10.2.65.
11. View the output of the manageClientCerts command and verify that vcenter2
and vcenter2.example.com have been set as aliases for the vCenter server,
10.10.2.65.
12. Execute the following command to change directory to the location of the
10.10.2.65.zip certificate.
Command: cd /usr/openv/var/global/wsl/credentials/clients
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
13. Execute the following command to list the contents of the clients directory.
Command: ls -l
Lab 11-49
18. In the Windows Security window that is displayed, verify the logon account is set to
EXAMPLE\Administrator and, in the Password field, type train. Then click OK.
19. On the desktop of vcenter2, locate and double-click the lnxmaster-token folder.
Continue to Exercise E-4: Registering the master server with the vCenter Server.
Lab 11-50
In the steps that follow, you perform the steps necessary to register the NetBackup
master server or master servers with the vCenter Server, vcenter2. These steps are
necessary to enable the master server to perform Instant Recovery for VMware (IRV)
operations.
1. If necessary, log into and access the desktop of the vcenter2.example.com system.
You perform these steps on vcenter2 because the security certificate files are
present locally (and can be browsed for) on this system. Verify that you are
accessing the desktop of vcenter2.example.com before continuing.
2. Locate and double-click the vSphere Web Client shortcut, located on the desktop of
vcenter2.example.com.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
• Username: vsphere.local\Administrator
• Password: Tra1n!ng
Lab 11-51
5. From the Home screen of the vSphere Web Client click the entry for Veritas
NetBackup.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-52
̶ If you are performing this lab using the Windows-based master server,
winmaster.example.com, type the name of that server in the NetBackup Master
Server field: winmaster.example.com.
̶ If you are performing this lab using the Linux-based master server,
lnxmaster.example.com, type the name of that server in the NetBackup Master
Server field: lnxmaster.example.com.
Leave the Port for the NetBackup Web Services setting at the default, port
8443.
8. Click the Browse button for the Upload Authentication Token field, to browse for
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-53
̶ If you are performing this lab using the Windows-based master server,
winmaster.example.com, browse to the folder: Desktop\winmaster-token.
̶ If you are performing this lab using the Linux-based master server,
lnxmaster.example.com, browse to the folder: Desktop\lnxmaster-token.
10. Click the certificate file, 10.10.2.65.zip, to select the file for upload, and then click
Open.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
After selecting the security token zip file (10.10.2.65.zip) for upload (to the vCenter
Server), you are returned to the Add NetBackup Master Server window.
Lab 11-54
12. Verify that the dialog box containing the “Successfully added NetBackup master
server, xxxmaster.example.com” is displayed.
The master server name displayed will vary, depending upon the master server
name that you entered.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
The example shown in the screen shot above shows that the NetBackup Master
Server, winmaster.example.com, was added. If you are using the Linux master
server, you should expect to see the “Successfully added NetBackup master
server, lnxmaster.example.com” message, as illustrated below.
Lab 11-55
You can select the entry for a master server from the drop-down menu in the
Validate/Remove NetBackup Master Server section of the window, and click
the Validate button to validate the registration of the master server, or you can
click the Remove button to unregister the master server. If you unregister a
master server, that master server will be unable to perform instant recovery of
VMware virtual machines.
16. Verify your master server has been successfully validated, then click OK.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
17. Click the X in the upper right corner to close the Add NetBackup Master Servers
window.
19. Close all open windows on console.example.com - except to the vSphere Web
Client.
You will use the vSphere Web Client window in the next exercise.
Continue to the Exercise F: Performing Instant Recovery for VMware (IRV) using the
vSphere Web Client.
Lab 11-56
In this exercise, you use the NetBackup Instant Recovery for VMware (IRV) feature of
the NetBackup plug-in for vSphere Web Client to recover a VMware virtual machine.
After recovering the virtual machine to a NetBackup-provided NFS datastore, VMware
vMotion is used to migrate the recovered virtual machine from the NFS datastore on
the NetBackup server to a ‘production’ datastore on the esx1.example.com virtual
machine server.
Continue to Exercise F-1: Deleting the lnxvm2 VM from the ESX Server.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-57
In the steps that follow, you delete the lnxvm2 virtual machine from the ESX Server in
preparation for recovering it using the NetBackup Instant Recovery for VMware feature.
If a vSphere Web Client window is not open, open a new window using the
shortcut on the desktop of console.example.com, and log in to the
vcenter2.example.com vCenter server.
3. Click the Home icon in the blue banner bar then Hosts and Clusters.
4. Select the entry for the lnxvm2 virtual machine, located in the left pane of the
vSphere Web Client window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. In the right pane select the Related Objects tab then select Datastores.
6. Take note of the name of the Datastore, INT_ESX2_DS1, that lnxvm2 is currently
located on.
Lab 11-58
VMware only allows the deletion of virtual machines that are powered off.
8. When the Confirm Delete dialog box is displayed, click Yes to confirm the delete
operation.
Lab 11-59
It may be necessary to refresh the contents of the vSphere Web Client window
to see that the lnxvm2 VM has been deleted. Click the Refresh icon in the blue
banner bar of the vSphere Web Client window to update the window contents.
Continue to Exercise F-2: Using Instant Recovery for VMware (IRV) to recover a VM.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-60
In the steps that follow, you use the NetBackup Instant Recovery for VMware (IRV)
feature to recover a VMware virtual machine.
If a vSphere Web Client window is not open, open a new window using the
shortcut on the desktop of console.example.com, and log in to the
vcenter2.example.com vCenter server using the User name,
vsphere.local\Administrator and the password Tra1n!ng
3. Access the Home tab of the vSphere Web Client, and the click the Veritas
NetBackup icon, located under the Administration pane.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
4. When the Veritas NetBackup pane is displayed, click the Instant Recovery Wizard
entry.
Lab 11-61
6. Verify the NetBackup Master Server field shows the name of your master server,
either winmaster.example.com or lnxmaster.example.com.
7. In the search field, type lnxvm2 and click the Search button to search for the VM.
The search results are displayed. The lnxvm2 host should be visible in the Search
Results.
8. Click the entry for lnxvm2 in the search results and click the Add Virtual Machines
button.
The Add Virtual Machines button is located in the lower right corner of the Instant
Recovery Wizard screen.
9. Note in the Virtual Machines Added pane at the top of the window that the count
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
10. Click the View Details link to see the details about the added virtual machine, and
then click the Close button to close the details page.
Lab 11-62
Note that NetBackup has selected the most recent full backup image of the virtual
machine, by default.
13. Click the Change link in the Date and Time of Backup column.
14. If you receive a message about no images are available for the instant recovery
during the selected time period, click OK.
15. From the top of the Search Images window, click the Select Date Range option.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
16. In the Start Date field enter 12/01/2017 then select the Search Images button.
Lab 11-63
18. From the Images Available for Instant Recovery screen verify the Date and Time of
Backup is Monday, December 11, 2017.
21. Click the Select button next to the Data center/ESX Server.
22. Expand the DC1 datacenter, select esx2.example.com and click the Select ESX
Server button.
Lab 11-64
24. Select INT_ESX2_DS2 and click the Select Datastore/Datastore Cluster button.
25. Verify the following selections on the Instant Recovery Destination screen:
26. Click the Next button on the Instant Recovery Destination screen to continue.
27. Make the following selections on the Virtual Machine Options page:
28. Click the Next button on the Virtual Machine Options page to continue.
Lab 11-65
You may click the Show More Details link in the pre-recovery check pane to
see additional details about the pre-recovery check results.
30. Click the Finish button to initiate the instant recovery of lnxvm2.
See the Note on the Instant Recovery Jobs Initiated dialog box that warns that
the Instant Recovery operation fails if the NFS services are not enabled on the
NetBackup media server/recovery host. This task (enabling NFS) was pre-
performed in this lab environment for your convenience (and is documented in
Exercise D-1: Summary of non-NetBackup requirements for IRV.
Note that it may take a few minutes for the OK button to appear.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
32. Allow the vSphere Web Client window to remain open on console.example.com.
Lab 11-66
In the steps that follow, you access the NetBackup Administration Console to view the
jobs that were initiated as a result of the Instant Recovery of the VMware virtual
machine.
4. Monitor the jobs until the Activate Instant Recovery job is completed successfully.
The recovered virtual machine (lnxvm2, in this case) is ready for use as soon as the
Activate Instant Recovery job is done. Note that the VM Instant Recovery job
remains in the Active state until a deactivation or completion request is received.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
5. Access the open vSphere Web Client window on console.example.com, and click
the Home button.
8. In the left pane, expand the tree to show the entries under esx2.example.com.
Lab 11-67
Details about the lnxvm2 VM are displayed. Note that the VM is powered off,
due to the options selected in the Instant Recovery wizard.
10. Click the Related Objects tab, and then click Datastores, to locate the temporary
datastore to which the lnxvm2 VM was restored.
Lab 11-68
In this the steps that follow, you use VMware vMotion to migrate the virtual machine,
lnxvm2, from the temporary datastore to a production datastore on the ESX Server,
esx2.example.com.
2. Click lnxvm2 in the left pane and click the Summary tab in the right pane.
Details about the lnxvm2 VM are displayed. Note that the VM is powered off, due to
the options selected in the Instant Recovery wizard. Also note the storage that
lnxvm2 is using.
3. Right-click the entry for lnxvm2 and, in the menu, click Migrate.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-69
When you select the datastore, VMware checks the compatibility of the virtual
machine to the new datastore.
Lab 11-70
12. Click the Refresh icon in the blue banner bar to refresh the screen.
Lab 11-71
14. Monitor the migration of the virtual machine, as displayed in the Recent Tasks pane
(bottom of vSphere Web Client window), until the operation is completed.
The virtual machine migration (relocation) to the new datastore may take a
few minutes to complete.
15. From the left Navigator pane make sure lnxvm2 is selected then click the Related
Objects tab.
16. Click Datastores and verify the lnxvm2 is now on the original datastore,
INT_ESX2_DS1.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise F-5: Ending the Instant Recovery for VMware session.
Lab 11-72
In the steps that follow, you terminate the IRV session, and the VM backup image is un-
mounted from the NFS disk volume.
4. Click the entry for lnxvm2 in the Instant Recovery Cleanup window.
Lab 11-73
8. Wait a few moments, and then click the Refresh button on the Instant Recovery
Cleanup window.
The table in the Instant Recovery Cleanup window should now be empty – as the
entry for the lnxvm2 virtual machine has been removed.
The Active instant Recovery Virtual Machines count should now be 0. If it is not,
wait another minute and then click Refresh again.
9. Click the Close button to close the Instant Recovery Cleanup window.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Continue to Exercise F-6: Verifying the end of the Instant Recovery jobs.
Lab 11-74
In the following steps, you verify that the jobs that were initiated to perform the Instant
Recovery of the VMware VM, and to clean up the Instant Recovery jobs, have been
completed.
3. Note that a Stop Instant Recovery job is displayed and is in the Done state, and that
the Activate Instant Recovery and VM Instant Recovery jobs, created earlier, have
completed successfully.
You have completed all intended tasks for this lab activity.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
11 – Required Exercises
You have completed all steps for this lab activity.
Lab 11-75
This section of the lab contains the detailed steps used to perform operations in
NetBackup.
This section is accessed only by following hyperlinks from the main section of the lab.
Copyright @ 2018 Veritas Technologies LLC. All rights reserved.
Lab 11-76
The detailed procedures provided on this and the following pages are required pre-
requisite steps to enable the NetBackup Instant Recovery for VMware (IRV) feature.
While these steps are required to enable in a NetBackup environment, they have been
pre-performed in this lab environment, but are document here for your reference.
There are four primary non-NetBackup requirements to enable the use of the
NetBackup Instant Recovery for VMware (IRV) feature:
To skip the non-NetBackup prerequisite details (which have been pre-performed in this
lab environment) and return to the required tasks of this lab activity, click the link to go
to Exercise E: Performing NetBackup prerequisite tasks for IRV.
Lab 11-77
These steps have been pre-performed on the console.example.com system in this lab
environment. There is no requirement for you to perform the steps. The procedure is
provided below for your reference only.
The steps that follow document the installation of the Web Server (IIS) role on the
console.example.com system.
3. Click the Windows button , located on the left end of the Windows’ task bar.
5. When the Server Manager window is opened, click Add roles and features.
Lab 11-78
6. In the Before you begin screen, click Next.
7. In the Installation Type, verify the radio button for Role-based or feature-based
installation is selected.
Lab 11-79
9. In the Server Roles screen, click the check box next to the Web Server (IIS) entry.
10. In the Add Roles and Features Wizard click the Add Features button.
Lab 11-80
11. Click the Next button on the Select Server Roles screen.
13. When the Web Server (IIS) screen is displayed, click Next.
14. When the Select Role Services screen is displayed, click Next without making any
changes to the screen contents.
Lab 11-81
15. When the Confirm Installation Services window is displayed, click the Install button,
to begin the installation.
16. Monitor the progress of the installation in the Installation Progress screen.
The installation of the Web Server (IIS) will take a few minutes to complete.
18. Click the Close button to close the Add Roles Wizard screen.
You have completed the installation of the Web Server (IIS) role on
console.example.com.
Lab 11-82
Continue to the Install JAVA on console.example.com steps or return to the
Summary of non-NetBackup pre-requisite tasks.
OR
Click the link to skip the remainder of the non-NetBackup prerequisite task details
and go to Exercise E: Performing NetBackup prerequisite tasks for IRV.
Lab 11-83
Exercise X-2: Installing Java on console.example.com
These steps have been pre-performed on the console.example.com system in this lab
environment. There is no requirement for you to perform the steps. The procedure is
provided below for your reference only.
The steps that follow document the installation of JAVA on the console.example.com
system. JAVA is required to enable the registration of the NetBackup plugin for the
vSphere Web Client.
Downloading JAVA
3. Double-click the Mozilla Firefox icon, located on the desktop, to open a Firefox
browser window.
5. When the Firefox Web browser window is opened, in the address bar, type:
https://java.com/en/download, and press Enter.
Important: For your convenience, the JAVA installation file has been previously
downloaded, and is present in the C:\Downloads folder on console.example.com.
The filename is jxpiinstall.exe.
If the Java installation file had not been previously downloaded and saved, you
would proceed with the download of the Java installation file. For now,
proceed to the next step.
Lab 11-84
6. Open a File Explorer window on console.example.com.
8. Locate and double-click the jxpiinstall.exe file, to initiate the installation of JAVA on
console.example.com.
9. When the Open File – Security Warning dialog box is displayed, click the Run
button.
10. De-select any promotional offers to install additional software that may be
presented by the Java installer.
11. When the Java Setup – Welcome dialog box is displayed, click the Install button.
Lab 11-85
12. When the Java Setup dialog box is displayed, click the “Do not update browser
settings” radio button and click the Next button.
13. Monitor the installation of Java in the Status bar of the Java Setup – Progress dialog
box.
Lab 11-86
14. When the installation of Java has been completed, the Java Setup – Complete dialog
box is displayed.
15. Click the Close button in the Java Setup – Complete dialog box.
A Web browser window that enables you to “Verify Java version” may be
displayed. Close the Web browser window without making any selections (File
> Exit).
Lab 11-87
16. Close any open Firefox Web browser windows on console.example.com (File > Exit).
19. Log in to console.example.com (if necessary) using the credentials shown above.
20. Click the Windows button , located on the left end of the Windows’ task bar.
Lab 11-88
23. When the Java Control Panel is displayed, click the Update tab.
24. On the Java Control Panel window, uncheck (to deselect) the Check for Updates
Automatically check box (to disable automatic updates of Java).
When you uncheck the checkbox, the Java Update – Warning dialog box is
displayed
25. Click the Do Not Check button in the Java Update – Warning dialog box.
26. Click the Apply button to apply the Java configuration changes.
OR
Click the link to skip the remainder of the non-NetBackup prerequisite task
details and go to Exercise E: Performing NetBackup prerequisite tasks for IRV.
Lab 11-89
Exercise X-3: Installing NFS on winmaster.example.com
These steps have been pre-performed on the Windows-based NetBackup master server,
winmaster.example.com system in this lab environment. There is no requirement for
you to perform the steps. The procedure is provided below for your reference only.
The steps that follow document the installation of the Network File System (NFS) role
on the winmaster.example.com system – which is a NetBackup master/media server in
this lab environment. NFS is required on any NetBackup server system that is used as
the recovery host in Instant Recovery for VMware (IRV) operations. For example, if the
media server, winmedia.example.com, were to be used as the recovery host for IRV
operations, this procedure would have to be performed on that system.
2. Click the Windows icon located at the left end of the Windows’ task bar.
3. When the tiles are displayed on the desktop, click the Server Manager.
Lab 11-90
5. When the Add Roles and Features Wizard displays the Before you Begin screen,
click Next to continue.
6. When the Select installation type screen is displayed, verify the Role-based or
feature-based installation radio button is selected then click Next.
7. When the Select destination server screen is displayed, verify that the Select a
server from the server pool radio button is selected, and the entry for
winmaster.example.com in the Server Pool pane is highlighted.
Lab 11-91
9. When the Select server roles screen of the wizard is displayed, click the arrow to
expand the entry for File and Storage Services (x of 12 installed), then File and iSCSI
Services.
10. Scroll down to locate and click the check box for Server for NFS.
When you select the Server for NFS check box, an Add Roles and Features
Wizard window is displayed, indicating the need for other features that are
required to support the Server for NFS feature.
Lab 11-92
11. Click the Add Features button in the Add Roles and Features Wizard window, while
making no additional changes to the window contents.
12. The Server for NFS check box is now selected, click the Next button.
13. On the Select features screen, locate and click the check box for Client for NFS.
15. When the Confirm installation selections screen is displayed, click the Install button
to start the installation of the selected features.
Lab 11-93
16. Observe the progress of the installation in the Installation progress window.
17. Click Close to close the Add Roles and Features Wizard window.
Click the link to continue to the Enabling vMotion on the ESX Server
(esx1.example.com) steps, or return to the Summary of non-NetBackup pre-
requisite tasks.
OR
Click the link to skip the remainder of the non-NetBackup prerequisite task details
and go to Exercise E: Performing NetBackup prerequisite tasks for IRV.
Lab 11-94
Exercise X-4: Enabling vMotion on the ESX Server
(esx1.example.com)
As related to NetBackup’s Instant Recovery for VMware (IRV) feature, vMotion can be
used by a VMware administrator to move a recovered virtual machine from a
NetBackup-provided NFS datastore (to which the VM was recovered) to a production
VMware datastore. Storage vMotion is enabled in the VMware ESX Server.
These steps have been pre-performed on the VMware ESX Server, esx1.example.com,
system in this lab environment. There is no requirement for you to perform the steps.
The procedure is provided below for your reference only.
3. Locate and double-click the vSphere Web Client shortcut, located on the desktop of
console.example.com, to launch the vSphere Web Client in a Firefox browser
window.
4. When the vSphere Web Client log screen is displayed, enter the Username,
vsphere.local\Administrator, and the Password, Tra1n!ng, and click
Login.
Lab 11-95
5. When the vSphere Web Client user interface is displayed, click the Home icon
located in the blue banner bar.
6. Click Hosts and Clusters in the VMware vSphere Web Client window.
7. In the left pane, expand the DC1 (data center) entry then select esx2.example.com.
10. Click the entry for the vmk0 device then click the Edit Settings icon (the pencil icon).
Lab 11-96
11. In the resulting vmk0 – Edit Settings window, in the Available services settings, click
to mark the check box for the vMotion traffic parameter.
12. Click OK to save the setting changes, and to close the vmk0 – Edit Settings window.
You have enabled the vMotion feature on the ESX Server, esx1.example.com.
13. Allow the vSphere Web Client window to remain open on console.example.com.
You use this window in the next section of this lab activity.
14. Click the link to return to the Summary of non-NetBackup pre-requisite tasks.
OR
Click the link to go to Exercise E: Performing NetBackup prerequisite tasks for IRV.
11 – Detailed steps
You have completed all steps for this lab activity.
Lab 11-97
Lab 12: Duplicating Backups
In this lab, you configure and use a NetBackup Storage Lifecycle Policy to manage
NetBackup backup jobs and backup image duplication activities.
Lab 12-1
Exercise A: Configuring a Storage Lifecycle Policy
In this exercise, you configure a Storage Lifecycle Policy (SLP) that performs the
following operations:
Lab 12-2
Exercise A-1: Configuring a Storage Lifecycle Policy
In the following steps, you configure a Storage Lifecycle Policy (SLP) to perform three
operations:
̶ A backup to MSDP storage. The backup images created by the backup operation
are retained for one month.
̶ A backup to AdvancedDisk storage. The backup images created by this backup
operation are retained until they have been successfully duplicated to tape, and
are then deleted.
̶ A duplication of the second backup image to tape storage. The copies of the
backup images that are written to tape are retained for three (3) months.
Lab 12-3
Exercise A-2: Creating a Storage Lifecycle Policy
1. Select NetBackup Management and then select Storage, Storage Lifecycle Policies
in the left pane of the Administration Console.
The list of currently configured Storage Lifecycle Policies is displayed in the right
pane of the Administration Console.
2. Select Actions and from the resulting menu, select New, and then Storage Lifecycle
Policy.
3. Enter the information provided in the table below in the New Storage Lifecycle
Policy window.
Lab 12-4
Exercise A-3: Adding the first operation to the SLP
In this exercise, you will add the properties for the first operation to be performed by
the new Storage Lifecycle Policy.
1. Click the Add button to add the first operation to the SLP.
2. Enter the information provided in the table below to complete the configuration of
the first storage operation for the SLP.
Verify that the Backup operation entry is added to the Operation list of the
LAB12_SLP1_test Storage Lifecycle Policy.
Verify that an entry for the LAB12_SLP1_test storage lifecycle policy is displayed in
the right pane of the Administration Console.
Lab 12-5
Exercise A-4: Adding the second operation to the SLP
In this exercise, you will add the properties for the second operation to be performed by
the new Storage Lifecycle Policy.
1. Right click the entry for the LAB12_SLP1_test storage lifecycle policy, located in the
right pane of the Administration Console, and select Change.
2. Click the Add button to add the second operation to the SLP.
3. Use the information in the table below to configure the second SLP operation.
Verify that the second Backup operation entry is added to the Operation list of the
LAB12_SLP1_test Storage Lifecycle Policy.
The left margins of the first and second Backup operation entries are aligned,
as illustrated in the illustration below. This orientation indicates that the
operations are independent of one another.
Lab 12-6
Exercise A-5: Adding a third operation to the SLP
In this exercise, you will add the properties for the third operation to be performed by
the new Storage Lifecycle Policy.
1. Click the entry for the second Backup operation entry in the SLP, to highlight the
entry.
Verify that the entry for the second Backup operation is highlighted.
3. Use the information provided in the table below to complete the configuration of
the third SLP operation.
Verify that the Duplication operation entry is added to the Operation list of the
LAB12_SLP1_test Storage Lifecycle Policy, as illustrated in the figure below.
This figure illustrates the LAB12_SLP1_test SLP with three operations included.
Lab 12-7
The left margin of the Duplication operation is indented from the entry for the
second Backup operation, as illustrated in the figure above, indicating that the
Duplication operation is derived from the second Backup operation.
5. Click OK in the Change Storage Lifecycle Policy window, to save the changes to the
LAB12_SLP1_test SLP, and to close the Change Storage Lifecycle Policy window.
6. Verify that entry for the LAB12_SLP1_test storage lifecycle policy is visible in the list
of SLPs that is displayed in the right pane of the Administration Console.
8. Take note of the options that are displayed in the resulting menu.
9. Click anywhere outside of the menu to close the menu without making a selection.
Lab 12-8
Exercise B: Configuring a policy to use an SLP
In this exercise, you configure a policy that uses the LAB12_SLP1_test SLP to
automatically perform the operations specified in the SLP.
Lab 12-9
Exercise B-1: Creating a new SLP policy.
In this exercise, you will create a new backup policy that will use your new SLP.
1. Select NetBackup Management and then select Policies, New Policy in the left pane
of the Administration Console.
2. Type the policy name, LAB12-console-test-slp1 in the Add a New Policy dialog box,
and click OK.
3. Use the information provided in the table below to configure the policy Attribute
settings.
6. Configure the Schedule Attributes using the information provided in the table
below.
Lab 12-10
7. Click OK to save the full_slp schedule.
No start window has been setup for this schedule. Only manual backups can be
run using this schedule.
8. Verify that the entry for the full_slp schedule is displayed in the Schedules tab.
10. Add an entry for console.example.com client to the Clients list for this policy. The
console.example.com system is a Windows-x64, Windows client.
Use the method of your choice to enter the Hardware and Operating System
of the client.
11. Verify that an entry for console.example.com is added to the Clients tab.
13. Add an entry for E:\data\smallfiles to the Backup Selections of the policy.
14. Verify that the E:\data\smallfiles entry is displayed in the list of Backup
Selections of the policy.
16. Verify that the LAB12-console-test-slp1 policy is included in the list of policies
displayed in the All Policies pane of the Administration Console.
Lab 12-11
Exercise C: SLP Host Properties
Lab 12-12
Exercise C-1: Modifying SLP Host Properties.
In this exercise, you modify Storage Lifecycle parameter settings, located in the master
server Host Properties of the NetBackup Administration Console.
1. Select NetBackup Management and then select Host Properties, Master Servers in
the left pane of the Administration Console.
An entry for the master server is displayed in the right pane of the Administration
Console.
2. Click the entry for your master server, located in the right pane of the Administration
Console, and then select Actions and then select Properties.
3. Locate and click the SLP Parameters entry in the left pane (Properties) of the Master
Server Properties window.
The SLP Parameters entry is located near the bottom of the left pane of the
Master Server Properties window. You may have to scroll down to see this
entry.
The SLP Parameters are displayed in the right pane of the Master Server
Properties window. The default values for all SLP parameters are shown.
To save time in this lab activity, you modify some of the SLP Parameter values to
minimize the wait time that would normally occur between the Backup and automatic
Duplication operations (controlled by the Storage Lifecycle Policy).
4. Select the Value entry for the Force interval for small jobs parameter, and modify
the value to 1 (minute).
The default setting for the Force interval for small jobs is 30 minutes. This
parameter prevents small duplication jobs from running too frequently.
Lab 12-13
5. Verify that the Master Server Properties Force interval for small jobs parameter is
set to value to 1 (minute) – as illustrated in the figure below.
6. Select the Value entry for the Job Submission Interval parameter, and modify the
value to 1 (minute).
The default setting for the Job Submission Interval parameter is 5 minutes.
This parameter controls how often SLP processing jobs are submitted for
execution.
7. Verify that the Job Submission Interval parameter is set to value to 1 (minute).
8. Select the Value entry for the Image processing interval parameter, and modify the
value to 1 (minute).
The default setting for the Image processing interval parameter is 5 minutes.
This parameter controls how often new SLP-managed images are recognized
and set up for SLP processing.
Lab 12-14
9. Verify that the Image processing interval parameter is set to value to 1 (minute).
A restart of the master server daemons is not required to implement the SLP
parameter changes that you have made.
12. Click OK in the Restart Daemons warning message to close the dialog box.
Lab 12-15
Exercise D: Viewing and monitoring SLP operations
In this exercise, you use the LAB12-console-test-slp1 policy to initiate the operations
indicated in the LAB12_SLP1_test Storage Lifecycle Policy. Then, you monitor the SLP
operations using the NetBackup Activity Monitor.
Lab 12-16
Exercise D-1: Performing a manual backup that uses an
SLP
1. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
2. Right-click the entry for the LAB12-console-test-slp1 policy in the All Policies pane,
and then select Actions, and then select Manual Backup.
4. Immediately click the Activity Monitor in the left pane of the Administration
Console.
Note the most recent job entries in the Activity Monitor that use the LAB12-
console-test-slp1 policy.
5. View the Job Details of the jobs that are run by the LAB12-console-test-slp1 policy
and take note of the following.
The first job is a parent Backup job. The next two jobs are child Backup jobs that
perform the backup operations specified in the LAB12_SLP1_test SLP.
All three (3) of the initial jobs that use the LAB12-console-test-slp1 policy have a Job
Type of Backup.
The first child Backup job uses the master_msdp_stu storage unit.
The second child Backup job uses the master_advdisk_stu storage unit.
A few minutes after the Backup jobs to run to completion, a Duplication job is run
using the master_tape_stu storage unit.
6. Allow the Duplication job to run to completion, and then wait another few minutes.
You should find that an Image Cleanup job has now run.
7. View the Job Details of the Image Cleanup jobs that ran soon after the completion
of the Duplication job.
Lab 12-17
8. In the Status pane of the Detailed Status tab of the job, take note of the disk volume
that is identified, and the activity that is being performed on that disk volume.
One task performed by the Image Cleanup job (that ran after the completion of the
Duplication job) was to expire and delete the backup image that had been written to
the master_advdisk_stu by the second child Backup job (controlled by the SLP). This
image was duplicated from the master_advdisk_stu to the master_tape_stu during
the Duplication operation (under the control of the SLP). The Retention of the
backup image of the second Backup operation (in the SLP) was set to Expire after
copy. This retention setting caused the backup image to be expired and then deleted
from the master_advdisk_stu storage unit after the successful duplication of the
backup image.
The Duplication job was initiated a few minutes after the backup jobs were completed.
By default, NetBackup uses the storage lifecycle parameters configured in host
properties to determine the interval at which the SLP manager process is called. The SLP
manager looks for images to be duplicated and initiates Duplication jobs as needed. To
save time in this lab environment, the interval was changed to 1 minute in an earlier lab
exercise. Despite this change, it is likely that it will take a few minutes for the
Duplication job to start. Remember that your lab servers are virtual machines that share
resources with other virtual servers; it is not unusual for this to add a few minutes to the
processing time.
Lab 12-18
Exercise D-2: SLP operations summary
The following jobs were initiated by the LAB12-console-test-slp1 policy, using the
operations defined in the LAB12_SLP1_test Storage Lifecycle Policy (SLP):
Lab 12-19
You have completed all planned tasks for this lab activity.
Lab 12-20
Lab 13: Managing and Protecting the
NetBackup Catalog
In this lab, you perform tasks related to the management of NetBackup backup images
and the protection and recovery of the NetBackup catalogs.
Lab 13-1
Exercise A: Running NetBackup reports
In this exercise, you configure a policy to write backup images that you use when
performing several important NetBackup catalog-related tasks in this lab activity.
Lab 13-2
Exercise A-1: Creating and modifying a new policy
In the NetBackup Administration Console log in screen, log in to your master server
using the credentials provided in the table below.
Lab 13-3
4. Copy the PRE-clients-to-master-tape policy to create a new policy named LAB13-
small-clients-to-media-tape. The table below provides the detailed steps for copying
a policy to create a new policy.
Lab 13-4
6. Modify the full schedule of the LAB13-small-clients-to-media-tape policy to remove
the start window – so that the schedule can only be run manually.
After changing the full schedule to remove the start window entries, this
schedule can only be used to perform manual backups. No automated backups
will occur using the LAB13-small-clients-to-media-tape policy.
7. After making the changes to the policy Attributes, Schedules, and Backup Selections
click OK in the Change Policy window to save the policy.
Lab 13-5
Exercise A-2: Performing preliminary steps
In the steps that follow, you perform a few preliminary steps to prepare for activities
you perform later in this exercise.
You can access the desktop or command prompt of systems in your lab kit in
either of two ways:
1) By selecting the ‘tab’ that is provided for the system that is provided on the user
interface in your lab delivery environment (VMware Workstation, Hatsize), or
2) By access the system remotely from the console.example.com system in your lab
kit. The Remote System Access folder on the desktop of console.example.com
provides access to Windows-based systems using Remote Desktop (RDP), and to
Linux-based systems using PuTTY.
The use of either of the methods listed above is acceptable for accessing your
master server system.
winmaster.example.com or lnxmaster.example.com
Command: available_media
Lab 13-6
5. Using Notepad++, or a pen and paper, record the Media IDs and status of any tapes
that are assigned to the server_tapes volume pool (status other than AVAILABLE).
The number of tapes that are assigned to the server_tapes volume pool may vary
from the results observed by others.
6. For each Media ID you listed, execute the bpexpdate command, using the
command syntax shown below to expire all images on the tape.
Expiring the tapes will force the tapes to return them to the AVAILABLE status.
7. Repeat the bpexpdate command for each Media ID that you recorded.
8. Run the available_media command again to verify that no tapes reside in the
server_tapes volume pool, or that all Media IDs have a status of AVAILABLE.
If necessary, repeat the use of the bpexpdate command until all Media IDs of
tapes in the server_tapes volume pool have become un-assigned (AVAILABLE),
and then continue to the next step.
Lab 13-7
Exercise A-3: Running backup jobs
In the steps that follow, you initiate multiple manual backup requests using the LAB13-
small-clients-to-media-tape policy.
4. When the Manual Backup window is displayed, click OK to start manual backup jobs
for each of the clients listed in the Manual Backup window.
5. Access the Activity Monitor, and monitor the progress of the two backup jobs that
are initiated.
There should be one job for each of the two clients listed in the Backup Selections
tab of the LAB13-small-clients-to-media-tape policy.
6. Allow the backup jobs to run to completion, and verify that the jobs run successfully.
If one or both backup jobs fail - ends with any non-zero (0) status – view the
detailed status for the job (by double-clicking the entry for the Job ID), and view
the information for the failed job. Perform basic troubleshooting and attempt to
resolve the problem. Then, repeat the backup operation. If the job continues to
fail then notify your instructor.
Lab 13-8
8. Use the Activity Monitor to monitor the progress of the two resulting Backup jobs,
and verify that the jobs run to successful completion.
If one or both backup jobs fail - ends with any non-zero (0) status – view the detailed
status for the job (by double-clicking the entry for the Job ID), and view the
information for the failed job. Perform basic troubleshooting and attempt to resolve
the problem. Then, repeat the backup operation. If the job continues to fail then
notify your instructor.
10. Use the Activity Monitor to monitor the progress of the two resulting Backup jobs,
and verify that the jobs run to successful completion.
If one or both backup jobs fail - ends with any non-zero (0) status – view the detailed
status for the job (by double-clicking the entry for the Job ID), and view the
information for the failed job. Perform basic troubleshooting and attempt to resolve
the problem. Then, repeat the backup operation. If the job continues to fail then
notify your instructor.
As of now, six backup jobs have been run – three for each of the clients that
are backed up using the LAB13-small-clients-to-media-tape policy.
11. Select and expand Media and Device Management then Media then Volume Pools
from the left pane.
With the server_tapes volume pool entry highlighted in the left pane of the
Administration Console, the right pane displays a list of NetBackup Volumes (by
their Media IDs) that are members of the server_tapes volume pool.
13. Click the Refresh icon on the tool bar to update the contents of the Volumes in
Volume Pool display.
14. Using Notepad++ or a pen and paper record the Media IDs that are currently
assigned to the server_tapes volume pool.
There should currently be two tapes in the server_tapes volume pool. The
Media IDs of the tapes may vary from those observed by others.
Lab 13-9
Exercise A-4: Using NetBackup Reports to view catalog
data
In the following steps, you will use the Report feature in the NetBackup Administration
Console to view detailed information about the contents of the NetBackup catalogs and
observe the results.
1. Select and expand NetBackup Management, and then click Reports, in the left pane
of the Administration Console window on console.example.com.
The right pane of the Administration Console lists some of the reports that are
available:
̶ Status of Backups
̶ Client Backups
̶ Problems
̶ All Log Entries
̶ Images on Media
̶ Media Logs
3. Accept the default settings for the report and click the Run Report button.
The output of the report is displayed in the bottom half of the right pane of the
Administration Console.
4. Expand the width of the Backup_ID, Policy, and Media Type columns, so that you
can see the contents of the columns.
You can alter the Column Layout of the report, as desired by dragging and dropping
the column headings in a different order so you can see the Backup_ID, Policy, and
Media Type columns without scrolling. You can also right-click on the first row of
the results and select Columns > Size to Data to increase the width of all the
columns in the report.
Lab 13-10
5. Refer to the output of the Images on Media report to answer the questions below.
6. Change the Report Settings for the Images on Media report to show only on backup
images that were created for the Client, xxxmaster.example.com
(winmaster.example.com or lnxmaster.example.com).
You may have to click twice on the dropdown arrow to get a list of client host names
to appear.
8. Note that the new output of the report shows entries only for Backup_IDs (backup
images) that were created for the client, xxxmaster.example.com
(winmaster.example.com or lnxmaster.example.com).
The NetBackup command that creates the equivalent of the Images on Media
report is the bpimmedia command.
Lab 13-11
10. In a Command Prompt window on winmaster.example.com, or the terminal
window on lnxmaster.example.com, type the command shown below.
This command output shows the same information as the Images on Media report
for the client.
In the examples provided above, the master server system is also the client, for
which backup images are being searched.
11. Keep the RDP or terminal window open to your master server.
13. From the Reports entry, click to expand the Tape Reports entry in the left pane of
the Administration Console.
The following Tape Reports are listed beneath the Tape Reports entry:
̶ Images on Tape
̶ Tape Logs
̶ Tape Contents
̶ Tape Summary
̶ Tape Written
̶ Tape Lists
14. Click the entry for the Images on Tape report in the left pane of the Administration
Console.
15. Use the default Report Settings and click the Run Report button.
The report output is displayed at the bottom of the right pane of the Administration
Console.
Lab 13-12
16. Scroll to the right in the Images on Tape report output, and record the highest
numbered Media ID listed in the report output.
̶ You can click the column heading for Media IDs to sort from high to low.
̶ You can use Notepad++ or a pen and paper to record the Media ID.
17. Run the Images on Tape report again, but modify the Media ID report setting
parameter to search for images on the Media ID recorded in step 16.
You may have to click the dropdown arrow twice to view the individual Media ID’s.
Note that the report output lists the Backup_IDs for only the backup images
that reside on the specified Media ID.
You may note that the drop-down list is very small. It is a good idea to refresh
the Report Settings display (select View > Refresh, or click the Refresh icon on
the tool bar) to refresh the contents of the report’s drop-down lists.
The NetBackup command that provides the output equivalent to the output of
the Images on Tape report is the bpimmedia command, used with the
-mediaid <mediaid of tape> command option.
winmaster.example.com or lnxmaster.example.com
Lab 13-13
20. Take note of how many images were written to the Media ID from the output of the
bpimmedia –mediaid command.
21. Allow the RDP or terminal window to remain open to your master server.
23. From the Reports entry select Disk Reports in the left pane of the Administration
Console.
The following Disk Reports are listed beneath the Disk Reports entry:
̶ Images on Disk
̶ Disk Logs
̶ Disk Storage Unit Status
̶ Disk Pool Status
The Report Settings for the report are displayed in the right pane.
26. Click the Refresh icon on the tool bar to update the contents of the Report Settings
drop-down lists.
27. Use the Report Settings to select the Disk Type = BasicDisk, and to set the Path field
to the path used by the master_bdisk_stu storage unit, as identified in the table
below.
You can examine the master_bdisk_stu storage unit configuration to verify the
disk path used by the storage unit.
Lab 13-14
28. After selecting the Report Settings, click the Run Report button to run the report.
The output of the report is displayed in the bottom half of the right pane of the
Administration Console.
29. Take note of the contents of the Path column in the Images on Disk report output.
The Path column of the Images on Disk report output shows the path used by
the storage unit, and appends to it the actual backup image file name that was
recorded to the disk volume used by the storage unit. The backup image name
has the format [Backup ID]_Cx_Fx, where Cx is the copy number and Fx is the
fragment number of the backup image.
Example 1: winmaster.example.com_1526382799_C1_F1
Example 2: lnxmaster.example.com_1526382799_C1_F1
The NetBackup command that provides the output equivalent to the output of
the Images on Tape report is the bpimmedia command, used with the –
disk command option.
30. Feel free to run any other reports and review the output.
31. When finished collapse the Reports entry in the NetBackup Administration Console.
Lab 13-15
Exercise B: Verifying, expiring, and importing
backup images
In this exercise, you use the Catalog interface provided by the NetBackup Administration
Console to view and manage NetBackup backup images.
Lab 13-16
Exercise B-1: Populating the NetBackup catalogs
In the following steps, you run a backup job to populate the NetBackup catalogs.
a. Select the Policies entry in the left pane of the Administration Console window.
b. Locate and right-click the PRE-clients-to-master-bdisk policy entry.
c. Click Activate in the menu.
d. Verify that the PRE-clients-to-master-bdisk policy has been activated.
For detailed steps on how to initiate the manual backup please use the table below.
4. Select the Activity Monitor and view the progress of the two, most recent backup
jobs that used the PRE-clients-to-master-bdisk policy.
Lab 13-17
5. Allow the jobs to run to completion, and verify that the jobs were completed
successfully (status 0).
If one or both backup jobs fail - ends with any non-zero (0) status – view the detailed
status for the job (by double-clicking the entry for the Job ID), and view the
information for the failed job. Perform basic troubleshooting and attempt to resolve
the problem. Then, repeat the backup operation. If the job continues to fail then
notify your instructor.
Continue to Exercise B-2: Searching for backup images in the Catalog user interface.
Lab 13-18
Exercise B-2: Searching for backup images in the Catalog
user interface
In the steps that follow, you use the Catalog interface of the NetBackup Administration
Console to search the contents of the NetBackup catalog.
1. Select the Catalog entry, located under NetBackup Management in the left pane of
the Administration Console.
2. Click the Refresh icon on the tool bar to update the drop-down menus of the
Catalog pane.
The Catalog interface provides two tabs: Search and Results. The Search tab of
the Catalog interface is selected by default.
3. Use the Catalog utility to search FULL backup images created by the PRE-clients-to-
master-bdisk policy that were created in the first week of last month. The table
below provides parameters to use to perform the search.
Parameter Value
Action: Verify (default)
Media ID: <All> (default)
Media host: (greyed out)
Copies: Primary Copy (default)
Policy name: (drop down) PRE-clients-to-master-bdisk
Type of backup: drop down Full Backup
Time/Date Range From: The first day of the previous month/any time.
Note: Use the Calendar icon for the From:
Date/Time Range field to select the month and
day.
Time/Date Range To: The 7th day of the previous month/any time.
Note: Use the Calendar icon for the To:
Date/Time Range field to select the month and
day.
4. After entering the parameters for the Verify operation, click the Search Now button
to perform the search of the NetBackup catalog.
Lab 13-19
The Messages pane, located at the bottom of the Catalog interface, below the
Search Results pane, displays messages relating to the most recent operation.
5. You may need to increase the size of the Messages pane to view any messages.
6. Note that the Messages pane contains a Catalog Search Information dialog box with
the message: “INF – Status=found no images or media matching
the selection criteria”.
This message appears because no backups were run in this environment during
this time. Therefore, there were no images, matching the search criteria, in the
NetBackup catalog to display.
8. Change the search criteria to change the Date/Time Range to include the From:
date to the first day of this class, and the To: date of the ending date of this class.
Lab 13-20
10. Note the Search Results that are displayed in the bottom pane of the Catalog
interface.
The Search Results pane should include entries for at least two Backup IDs.
These were created by the backup jobs you performed in Exercise A of this lab
activity. Depending upon other backup jobs you have performed to this point
in the course there may be entries for additional Backup IDs.
The two most recent backup images were written to the disk volume/file
system specified by the master_bdisk_stu storage unit configuration.
11. From the Search Results pane, sort the contents so that the backup images are in
descending order by the Date they were created.
To sort in descending order, click the Date column heading until a downward
pointing arrow is displayed.
12. Verify that the first (top) two entries listed in the Search Results pane are those that
were created by the most recent backup jobs that used the PRE-clients-to-master-
bdisk policy.
Verify the backup images were written today and to the master_bdisk_stu
storage unit.
Continue to Exercise B-3: Verifying backup images using the Catalog interface.
Lab 13-21
Exercise B-3: Verifying backup images using the Catalog
interface
In the steps that follow, you use the Catalog interface of the NetBackup Administration
Console to Verify the contents of selected backup images.
1. From the Search Results pane, click to select the entry for the first (top) Backup ID.
2. With the top entry highlighted, hold the SHIFT key on your keyboard, and click the
entry for the second Backup ID that is listed.
The entries for the top two Backup IDs should be highlighted in the Search
Results pane.
3. Right-click the highlighted entries and select Verify in the shortcut menu.
You can also select Actions (from the toolbar menu) then Verify. Be careful to
select the Actions (plural) from the toolbar menu at the top of the console and
not the Action (singular) combo box at the top of the Search tab in the right
pane of the catalog tool. It is easy to confuse these two similar-sounding
controls. Read the lab steps carefully.
4. Verify that the Log all files found in the verified image(s) check box is not selected,
and then click OK to proceed with the Verify operation.
Lab 13-22
5. Click the Results tab, located at the top of the right pane (Catalog pane) of the
Administration Console.
̶ The top pane is labelled as the Results pane, and lists entries for various
operations that have been initiated in the Catalog interface.
̶ The bottom pane shows the contents of the Log File that is associated with
the entry that is selected in the top (Results) pane.
Example: jbpVerify-20180112114009.log
7. Verify the bottom pane contains the contents of the Log File that is associated with
the verify operation that is highlighted in the top pane.
8. Select Help > Help Topics in the Administration Console tool bar.
Lab 13-23
9. When the Documentation window is displayed, locate and click the link for Verifying
backup images, located under More Information in the right pane of the window.
10. Read the information provided under the heading, Verifying Backup Images, that is
displayed in the Documentation window.
During a Verify operation, NetBackup reads the contents of the backup image
(recorded on the backup media), and compares the backup image contents to
the records contained for the backup image in the NetBackup catalog.
Lab 13-24
12. Verify that the Log File pane displays the message, Status=successfully verified 2 of
2 images.
Click View > Refresh or the Refresh icon on the toolbar to refresh the results
displayed. You can also set the Refresh rate at the bottom of the window.
Lab 13-25
Exercise B-4: Viewing Verification jobs in the Activity
Monitor
In the steps that follow, you use the Activity Monitor to view the verification job that
was performed in the last exercise.
1. Click the Activity Monitor entry in the left pane of the Administration Console.
2. Locate and double-click the entry for the most recent Media Verify job.
3. Select the Detailed Status tab to examine the log message in the Status pane.
4. Close the Job Details window when you are finished reviewing the log messages for
the Media Verify job.
5. Select the Catalog entry, located under NetBackup Management in the left pane of
the Administration Console..
The right pane should still display the Results tab, with the jbpVerify operation
highlighted in the top (Results) pane, and the contents of the verify Log File
displayed in the bottom pane.
6. Click the Search tab in the right (Catalog) pane of the Administration console.
7. In the Search Results pane (at the bottom of the right pane), click the first (top)
Backup ID that is listed.
8. Right-click the entry for the Backup ID and select Verify in the shortcut menu.
Lab 13-26
9. When the Confirm Verify dialog box is displayed, this time mark the check box to
Log all files found in the verified image(s), and click OK to initiate the verify
operation.
10. Click the Results tab, at the top of the Catalog pane of the Administration Console.
11. Click the Refresh icon, if necessary, to update the contents of the Results tab.
12. Verify the Results (top) pane now displays entries for two jbpVerify operations.
13. Identify and click the entry for the most recent jbpVerify operation, as indicated by
the contents of the Time Requested column.
You can change the sort order of the Results pane by clicking the column
headings. By doing so in the Time Requested column, you can display the
entries for the most recent jobs first (in descending order by date).
14. Note that by selecting the Log all files found in the verified image(s), that the Log
File for the verify operation lists all the files that are present in the verified backup
image.
Lab 13-27
Exercise B-5: Expiring NetBackup disk-based backup
images
In the steps that follow, you use the NetBackup Administration Console’s Catalog
interface and the NetBackup command-line interface to expire backup images from the
NetBackup catalog and view the effect of these operations.
2. Click the Search tab in the right (Catalog) pane of the Administration Console.
The Search Results pane should contain the results from the most recent search for
backup images that were created using the PRE-clients-to-master-bdisk policy and
the Full Backup schedule – which you performed earlier in this exercise.
3. Using Notepad++ or pen and paper, record the Backup ID for the backup image of
the most recent backup of your master server system (winmaster.example.com or
lnxmaster.example.com) that used the PRE-clients-to-master-bdisk policy.
Example: winmaster.example.com_1515744068
Example: lnxmaster.example.com_1515744000
winmaster.example.com or lnxmaster.example.com
Lab 13-28
6. Access the open File Explorer window on winmaster.example.com, or the command
prompt on lnxmaster.example.com, and navigate to the disk volume or directory
that is the target for the master_bdisk_stu storage unit.
Lab 13-29
You should find four files containing the Backup ID that you recorded in step 3.
7. Allow the RDP or terminal window to remain open to your master server.
9. Select Catalog, if necessary, in the left pane of the open NetBackup Administration
Console window.
10. Verify that the Search tab is selected at the top of the right pane.
The Search Results (bottom) pane of the right pane contains the results of the most
recent search operation that you performed.
11. Click the entry for the Backup ID for the most recent backup of your master server
(xxxmaster.example.com) that was performed using the PRE-clients-to-master-
bdisk policy.
This is the Backup ID for which you identified the backup images files on the
master_bdisk_stu storage unit disk volume in previous steps.
Lab 13-30
12. Right-click on the Backup IDs and select Expire.
The Expire Images dialog box is displayed, and with the warning “The expiration of
backup images is irrevocable… Would you like to expire the selected images?”
Expiring backup images that are written to disk-based backups requires extra
caution, as expiring of the images is permanent. There is no ability to import an
image after it has been expired from disk-based storage.
14. Verify the image entry is no longer listed in the Search Results (bottom) pane of the
Administration Console:
The entry for the image that you expired should have disappeared from the Search
Results pane.
15. Access the open RDP window to your Windows-based master server system,
winmaster.example.com, or the terminal (SSH) window that is open to your Linux-
based master server, lnxmaster.example.com.
winmaster.example.com or lnxmaster.example.com
16. Search for backup image files in the F:\bdisk folder on winmaster.example.com
or type the following command to on lnxmaster.example.com, to verify the entry is
removed for the Backup_ID that you expired.
Command: ls -l
17. Are the backup image files for the Backup ID that you expired present on the disk
volume for the master_bdisk_stu storage unit?
The files that comprise the backup image on the storage unit are no longer
present on the disk volume for the storage unit.
Lab 13-31
18. Allow the RDP or terminal window to remain open to your master server.
Lab 13-32
Exercise B-6: Expiring tape-based backup images
In the steps that follow you use the NetBackup Catalog user interface to identify backup
images that have been written to tape media. Then, you expire the backup images using
the NetBackup Catalog user interface. In the process, you observe the contents of the
NetBackup catalogs, and of the physical tape to see the impact of image expiration on
tape-based backup images.
2. Select the Catalog entry, located under NetBackup Management in the left pane of
the Administration Console.
The right pane of the Administration Console displays the Catalog user interface.
The top pane contains two tabs, the Search tab and the Results tab.
3. Verify that the Search tab is selected at the top of the right pane of the
Administration Console.
When the Search tab is selected, the bottom pane of the Catalog interface displays
the Search Results pane.
In Exercise A of this lab activity you initiated three manual backup jobs that
used the LAB13-small-clients-to-media-tape policy.
4. Click the Refresh icon on the tool bar to update the contents of the drop-down
menus of the Catalog interface.
Lab 13-33
5. In the Search tab of the Catalog interface, set the search parameters as indicated in
the table below.
Parameter Value
Action: Verify (default)
Media: Media ID: <All>
Media host: (greyed out)
Copies: Primary Copy (default)
Policy name: (drop down) LAB13-small-clients-to-media-tape
Type of backup: drop down <All Backup Types> (default)
Time/Date Range From: Set the Date/Time Range From: date of the first
day of this course.
Time/Date Range To: Set the Date/Time Range To: date of the last day
of the course.
6. Click Search Now to initiate the search of the NetBackup catalogs for backup images
that meet the search criteria.
Within a few moments the Search Results (bottom) pane of the Catalog interface
displays a list of the backup images that meet the search criteria – that were created
using the LAB13-small-clients-to-media-tape policy, in the time frame provided.
Entries for at least six Backup IDs should be listed in the Search Results pane.
All these images were written to two (2) Media IDs – three images to one tape,
and three images to another tape.
Lab 13-34
7. Using Notepad++ or a pen and paper record the Backup ID, and Media ID for the
three Backup IDs that were written to the tape having the lowest (numerical) Media
ID.
Also record the order in which the images were written to the tape, for example:
first (oldest), second, third (newest).
For Example: If Media ID 1004L5 and 1005L5 were used to perform the 6 backup
jobs then media 1004L5 is the lowest Media ID. Only record lowest Media ID and
the Backup ID in the order of image creation for the backup jobs.
9. In the NetBackup Administration Console window, select File, and then New
Console.
10. In the second Administration Console window, select Media and Device
Management then Media.
With the Media entry selected in the left pane of the Administration Console
window, the Volumes (tapes) that are configured in NetBackup (and for which
entries exist in the NetBackup media catalog) are displayed in the right pane of the
Administration Console.
Lab 13-35
11. Change the Column Layout of the Volumes pane (in the second Administration
Console window) to display the first five (5) columns in the order listed below.
From the left side of the Volume pane to the right. The order of the remaining
columns can be set in any order, according to your preference.
̶ Media ID
̶ Time Assigned
̶ Images
̶ Valid Images
̶ Volume Pool
̶ Remaining columns – in any order of your preference.
You can change the layout of the columns by dragging and dropping a label
(header) for a column to its desired column position.
12. Click the Refresh icon in the toolbar to update the Volumes display.
13. In the Volume pane (of the second Administration Console window), locate the
entry for the Media ID that you recorded from Step 7.
14. Using Notepad++ or pen and paper record the how many Images and Valid Images
are on the Media ID.
The Images and Valid Images columns contain information for the tapes that
were used to write the backup images for the LAB13-small-clients-to-master-
tape policy. The Media IDs used in your lab environment may vary.
The figure above is for example purposes only, and intended to highlight the
contents of the Images and Valid Images columns. Do not be concerned that
the specific information represented in the figure does not match your lab
environment.
Lab 13-36
16. The Search Results pane of this window is currently displaying the backup images
that were written by the LAB13-small-clients-to-media-tape policy.
17. Click the entry for the oldest Backup ID that was written to the Media ID identified
in Step 7.
This was the first backup image that was written to the tape.
19. Click the Yes button to dismiss the dialog box and to expire the image.
20. Verify that within a few moments the entry for the Backup ID that you expired is
removed from the list of backup images that is displayed in the Search Results pane.
The right pane of the second Administration Console window is currently displaying
the list of Volumes that are configured in NetBackup.
22. Click the Refresh icon on the tool bar to update the contents of the Volumes pane.
Lab 13-37
23. Using Notepad++ or a pen and paper, record the current contents of the Images and
Valid Images columns for the Media ID.
You should observe that the Images column for the Media ID remains the same as
prior to the backup image expiration, but the Valid Images column has been
decremented by one. There are three images on the tape, however, NetBackup is
currently only tracking two of those three images.
Continue to Exercise B-7: View the Media ID contents in the Tape Contents report.
Lab 13-38
Exercise B-7: View the Media ID contents in the Tape
Contents report
In the steps that follow, you use the NetBackup Tape Contents report to view the
contents of the tape from which the backup images were expired.
The right pane of the Administration Console displays the Report Settings for the
Tape Contents report.
3. Click the Refresh icon on the tool bar to update the contents of the drop-down
menus for the Report Settings fields.
6. When the Tape Contents Report dialog box is displayed, click OK to acknowledge
the dialog box and to run the report.
Lab 13-39
The Tape Contents report mounts the tape and reads the tape contents (file
headers) to generate the report output. It may take a few moments for the
report output to be displayed.
7. Review the output of the report. Why are there three files on the tape when you
expired one in a previous exercise?
When a backup image is expired from a tape, the actual backup on the tape is not
affected. Expiration of the backup image that resides on a tape only removes the
information for the backup image from the NetBackup catalogs. This enables
NetBackup to import the image – which is the act of re-creating the catalog
information for the backup image in the NetBackup catalogs. However, when all
backup images are expired from a tape, the tape becomes de-assigned. When that
happens, NetBackup can reassign the tape at any time for use to record other
backup images. After the tape has been re-assigned, and use to record new backup
images, the ability to import the overwritten backup images no longer exists.
The behavior you have observed here is important. When an image is expired
from disk-based storage it is immediately and irrevocably deleted from the
storage media. When a backup image is expired from tape media, the entries
for the image are removed from the NetBackup catalog, but the image itself is
still resident on the tape to which it was written – providing the capability to
import the image. Importing the image is the operation that results in the
recreation of the NetBackup catalog information for the image.
Lab 13-40
Exercise B-8: Importing NetBackup backup images
In the previous steps of Exercise B, you used the image expiration capability of the
NetBackup Catalog user interface to expire an image from a tape, and you observed the
results in the NetBackup Administration Console, using the Media and Device
Management > Media user interface and the Tape Contents report.
In the steps that follow, you use the Import capability of the Catalog interface to import
an expired image from a tape to rebuild the catalog entries for the image in the
NetBackup catalogs.
2. Select the Catalog entry, located under NetBackup Management in the left pane of
the Administration Console.
3. Verify that the Search tab is selected at the top of the right pane of the
Administration Console.
4. Click Refresh in the toolbar to update the contents of the drop-down menus in the
right pane of the Administration Console.
Lab 13-41
6. From the Initialize Import window, enter the parameters specified below.
*In step 7 of Exercise: Expiring tape-based backup images, you noted that
information for a tape from which you expired an image.
7. Click OK in the Initialize Import window, to start phase 1 of the import operation,
and to close the window.
10. Verify there is an entry for a jbpImport1 operation displayed in the Results pane at
the top of the Catalog.
Lab 13-42
The figure above is for example purposes only. Do not be concerned about the
specific information represented in the table.
11. Click the entry for the jbpImport1 operation, and note that the bottom pane of the
Results tab, changes to show the contents of the Log File for the import operation.
12. Carefully review the contents of the Log File pane to observe what this part of the
import operation is doing.
The first phase of the import operation reads the image headers that are
present on the tape and compares them to backup image headers that exist in
the NetBackup catalogs. If an image header is detected on the tape that is not
present in the NetBackup catalogs, the backup image header is recreated in the
NetBackup catalogs. If image headers that are read from the tape are present
in the NetBackup catalog, those headers are skipped (they represent unexpired
backup images in the NetBackup catalogs).
13. Verify that the first phase of the import operation (jbpImport1) was successful
before continuing.
If the operation failed, view the log file for the failed job. Perform basic
troubleshooting and attempt to resolve the problem. Then, repeat the import
operation. If the job continues to fail then notify your instructor.
14. Click the Search tab in the right pane of the Administration Console.
15. Click the Refresh icon in the toolbar to update the contents of the drop-down menus
in the right pane of the Administration Console.
Lab 13-43
16. Set the parameters in the Search tab using the values provided in the table below.
Parameter Value
Action: Import
Media ID:
Media host: <All Media Hosts> (default)
Copies: <All Copies> (default)
Policy name: (drop down) <All policies> (Change parameter)
Policy type: <All Policy Types> (default)
Type of backup: drop down <All Backup Types> (default)
Client: <All Clients> (default)
Job Priority: Accept default setting
Time/Date Range From: Set the Date/Time Range From: date of the first
day of this course.
Time/Date Range To: Set the Date/Time Range To: date of the last day
of the course.
17. Click Search Now to begin the search operation for backup images that meet the
criteria provided.
The Search Results pane displays a list of backup images that have been
discovered during phase one import process, and that are eligible for the phase
two of the import operation. Note that only a single backup image is identified.
18. Click to select the entry for the Backup ID that is listed in the Search Results pane.
19. Right-click on the Backup image and select Import. (NOT Initiate Import).
21. Click the Results tab in the right pane of the Administration Console.
22. Refresh in the toolbar to update the contents of the Results pane.
You can also increase the Refresh rate, located at the bottom of the windows, to 5
seconds.
Lab 13-44
23. Verify there is an entry for a jbpImport2 operation is displayed in the Results pane.
The figure above is for example purposes only. Do not be concerned about the
specific information represented in the table.
24. Click to highlight the entry for the jbpImport2 operation in the Results pane
25. Review the contents of the Log File for the import (phase two) operation.
Note that the Log File specifically identifies this as phase two of an import
operation. Phase two of the import operation mounts the tape from which the
backup image is being imported, reads the contents of the NetBackup backup
image on the tape, and uses the data that is read from the backup image to
reconstruct the backup image file contents in the NetBackup catalog.
There are other image import scenarios that are more complex than the one
you have performed here. An example is a situation where all the backup
images on a tape have been expired, and the tape has been moved back into
the scratch_tapes volume pool. If an import operation is required from such a
tape, immediate action is required so that the tape will not be re-assigned for
use by NetBackup. A best practice in this case is to move the tape into a new
volume pool that will not be used by any existing policy. Then, you can safely
perform phase one and phase two of the import operation without the concern
that the tape will be re-assigned and overwritten. Also, Import phases will not
work on volumes in a SCRATCH pool.
Lab 13-45
Exercise B-9: Viewing Import jobs in the Activity Monitor
In the steps that follow, you briefly access the NetBackup Activity Monitor to view
information for Import jobs.
2. Select the Activity Monitor entry in the left pane of the Administration Console.
3. Locate and double-click the entry for the Image Import job Type that has the lowest-
numbered Job ID, to open the Job Details for the job.
4. From the Job Overview, view the File List pane entry.
create_db_info [Media_ID]
The File List contains the same Media ID that you expired the Backup image from.
5. Click the Detailed Status tab for the job, and briefly view the contents of the tab.
7. Locate and double-click the entry for the Import job Type that has the highest-
numbered Job ID, to open the Job Details for the job.
There should only be two Import jobs that have recently been performed.
8. From the Job Overview, view the File List pane entry.
xxxmaster.example.com_[Backup_ID]
or
xxxmedia.example.com_[Backup_ID]
Lab 13-46
9. Click the Detailed Status tab for the job, and briefly view the contents of the tab.
Note that the Status pane identifies the Media ID that is read to perform the import
(phase two) job.
Lab 13-47
Exercise B-10: Preparing for the next exercise
At this point in the lab activities you may be running out of tapes that can be used for
future activities. In the steps that follow you will expire all the images on two tapes to
return those tapes to the scratch_tapes volume pool, making them available for use.
winmaster.example.com or lnxmaster.example.com
4. In the Command Prompt or terminal window, type the command below then press
Enter.
Command: available_media
Lab 13-48
5. Using Notepad++ or a pen and paper, record the Media IDs and status of any tapes
that are assigned (status other than AVAILABLE) to the server_tapes volume pool.
The number of tapes that are assigned to the server_tapes volume pool in your lab
environment will most likely vary from what is displayed in the figure below. The
figure shown below is only an example.
6. For each Media ID you recorded, execute the bpexpdate command, using the
command shown below.
This command expires all images on the tape and returns the tape to the AVAILABLE
status.
Lab 13-49
7. Repeat the bpexpdate command for each Media ID that you recorded in the table
above.
8. Run the available_media command again to verify that no tapes reside in the
server_tapes volume pool, or that all Media IDs have a status of AVAILABLE.
A tape may still be resident in the server_tapes pool if you manually moved a
tape from the scratch_tapes pool to the server_tapes pool. Tapes that are
manually moved out of the scratch pool will not be automatically returned to
the scratch pool.
Lab 13-50
9. If necessary, repeat the use of the bpexpdate command until all Media IDs of
tapes in the server_tapes volume pool have become un-assigned (AVAILABLE), and
then continue to the next step.
A tape may still be resident in the server_tapes pool if you manually moved a
tape from the scratch_tapes pool to the server_tapes pool. Tapes that are
manually moved out of the scratch pool will not be automatically returned to
the scratch pool.
10. Allow the RDP window (to winmaster.example.com) or terminal window (to
lnxmaster.example.com) to remain open.
Lab 13-51
Exercise C: Configuring and running NetBackup
catalog backups
In this exercise, you configure a policy to enable NetBackup to perform a catalog backup
operation. Then, you perform catalog backup and catalog restore operations, and
monitor the results of each operation.
Lab 13-52
Exercise C-1: Creating a Disaster Recovery passphrase
In the steps that follow, you create a NetBackup Disaster Recovery passphrase. This
passphrase can be used to recovery the security certificate identity of the master server
during a re-installation of the NetBackup server software.
2. Select Security Management in the left pane of the Administration Console, and
then select Global Security Settings.
3. Select the Disaster Recovery tab at the bottom of the Administration Console.
Lab 13-53
Exercise C-2: Creating a Catalog Backup policy
In the steps that follow, you create a catalog backup policy, LAB13-catalog-to-master-
tape, to protect the NetBackup catalog configuration.
3. Right-click in the white space of All Policies and select New Policy.
4. In the Policy name field, of the Add a New Policy dialog box, type LAB13-catalog-to-
master-tape, and click OK.
5. In the Change Policy window, configure the policy Attributes using the information
provided in the table below.
A policy with a Policy type of NBU-Catalog has only three tabs: the Attributes,
Schedules, and Disaster Recovery tabs.
7. Create a Full Backup schedule using the parameters described in the table below.
Lab 13-54
8. Create a Differential Incremental Backup schedule using the parameters described
in the table below.
10. Verify all three schedules you have created are visible in the Schedules tab of the
policy.
Lab 13-55
12. Enter the Disaster Recovery parameters as provided in the table that is appropriate
for your master server – winmaster.example.com or lnxmaster.example.com.
In this lab environment, the Disaster Recovery Path listed in the tables point to
a shared folder on console.example.com, F:\dr_files.
Setting the “Send in an E-mail attachment” parameter, and including the email
address, causes NetBackup to send an email message at the end of the backup
of the catalog. In this lab kit, the email message can be viewed using Notepad,
to open the mail message file (*.eml) that will be written to the DR email
folder on the desktop of console.example.com.
Any time you need to re-save the catalog policy you must re-type the Password
for the DR Path or an authentication failure message is displayed.
13. Click OK to save the changes to the Disaster Recovery tab parameters.
14. Verify that an entry for the LAB13-catalog-to-master-tape policy is displayed in the
All Policies pane of the Administration Console.
Lab 13-56
Exercise C-3: Performing manual NetBackup catalog
backups
In the steps that follow, you initiate manual backups of the NetBackup catalogs using
the LAB13-catalog-to-master-tape policy, and monitor the results.
3. Access the Activity Monitor to view the backup jobs that occur as a result of the
manual backup request that used the LAB13-catalog-to-master-tape policy.
It may take a few minutes for all the Backup jobs to be displayed in the Activity
Monitor Jobs pane.
If any of the backup jobs fail - ends with any non-zero (0) status – view the detailed
status for the job (by double-clicking the entry for the Job ID), and view the
information for the failed job. Perform basic troubleshooting and attempt to resolve
the problem. Then, repeat the backup operation. If the job continues to fail then
notify your instructor.
Lab 13-57
4. Using Notepad++ or a pen and paper answer the questions listed in the table below.
6. Verify that all the Catalog Backup jobs run to successful completion.
Lab 13-58
Exercise C-4: Viewing the Disaster Recovery directory
contents
In the steps to follow, you access the disaster recovery directory to verify the contents
of the catalog backup job.
Currently, the directory contains two files. Both these files have the file name with
the format, [policy_name]_[ctimestamp}_[schedule type}.
Example: LAB13-catalog-to-master-tape_1515794398_FULL
Lab 13-59
4. Using Notepad++ or a pen and paper, record the file name of the DR file that is
located in the dr_files directory.
You will need the name of the DR file in the next exercise.
The DR file is an ASCII text file that can be opened in a text editor. Do not
modify the contents of the file.
5. Keep the File Explorer window open as you need to access it in the next exercise.
Lab 13-60
Exercise D: Recovering the catalogs using the
NetBackup Catalog Recovery wizard
In this exercise, you will perform a NetBackup catalog recovery operation using the
DR_FILE that was written by the most recent Catalog Backup job and the NetBackup
Catalog Recovery Wizard.
Lab 13-61
Exercise D-1: Using the Catalog Recovery Wizard
In the steps that follow, you use the NetBackup Catalog Recovery wizard to recover the
NetBackup catalogs.
2. From the File Explorer window right-click on the DR file (the file without the file
extension) then select Properties.
3. From the General tab of the Properties window, highlight the name of the file.
Lab 13-62
7. In the NetBackup Administration Console, click the NetBackup Management entry
in the left pane.
Lab 13-63
10. Use the table below to fill in the path for the Specify the full pathname to the
disaster recovery file field, then press CTRL + v to paste the DR file name.
After typing the folder location (\\dr_files\), use the Paste function
(CTRL + v), to paste the DR filename (that you copied in a previous step – step
4), into the field.
The Retrieving Disaster Recovery File screen displays a message in the Action
Required pane, such as the message shown below.
Lab 13-64
If you did not receive a message like the one shown here, click the Back button,
and verify you have entered the correct location to the file and copied the
correct file name in the Catalog Disaster Recovery File screen. If problems
persist, contact your instructor.
12. Click Next on the Retrieving Disaster Recovery File screen to continue.
13. When the Disaster Recovery Method screen is displayed, accept the default entries
(to Recover entire NetBackup catalog), and click Next to continue.
The NetBackup catalog recovery process is initiated. This may take several minutes
to complete.
14. Take note of the contents of the Logs pane of the Recovering Catalog screen as the
catalog recovery process continues.
When the Next button becomes available for selection, the Catalog Recovery
operation is complete. Before continuing, scroll through the Log File pane to
observe key activities that occur during the restore and recovery operation.
15. After the catalog recovery is complete, click Next in the Recovering Catalog screen.
18. Click the appropriate link below, based on the master server you are using for this
lab activity.
Lab 13-65
Exercise D-2: Stop/Restart NetBackup on the master
server (winmaster)
To complete the catalog recovery of the NetBackup catalogs on the master server it is
necessary to stop and restart the NetBackup services on the master server.
1. Access the open RDP window to your Windows-based master server system,
winmaster.example.com.
3. In the Command Prompt, type the command to stop the NetBackup services on the
master server.
Command: bpdown –v –f
The –v is for verbose so that you can see the name of each process that is being
stopped. The –f is for force.
4. When the Command Prompt is returned, type the following command to verify that
all the NetBackup services have been shut down.
Command: bpps
5. When the Command Prompt is returned, type the following command to start all
the NetBackup services.
Command: bpup –v -f
6. When the Command Prompt is returned, type the following command to verify that
all the NetBackup services have been started.
Command: bpps
Lab 13-66
Exercise D-3: Stop/Restart NetBackup on the master
server (lnxmaster)
To complete the catalog recovery of the NetBackup catalogs on the master server it is
necessary to stop and restart the NetBackup daemons on the master server.
1. Access the terminal (SSH) window that is open to your Linux-based master server,
lnxmaster.example.com.
2. In the Terminal window, type the following command to stop the NetBackup
daemons on the master server.
The –v is for verbose so that you can see the name of each process that is being
stopped. The –f is for force.
3. When the Command Prompt is returned, type the following command to verify that
the NetBackup daemons have been shut down.
Command: bpps –x
4. When the Command Prompt is returned, type the following command to start the
NetBackup daemons.
5. When the Command Prompt is returned, type the following command to verify that
all the NetBackup daemons have been started.
Command: bpps -x
Lab 13-67
It has been observed in this virtualized lab environment, that after
recovering the NetBackup catalogs on the Linux-based master server,
lnxmaster.example.com, that the NetBackup Web Management Console
(nbwmc) may not start reliably, leaving NetBackup in a non-operational
state.
If you encounter this situation, stop the NetBackup services on the master
server, and then perform a reboot of the lnxmaster.example.com system,
using the commands shown below.
Lab 13-68
Exercise D-4: Final recovery procedures
In the steps that follow, you initiate the NetBackup Administration Console on
console.example.com and verify the operation of the NetBackup environment and
perform a few final tasks as a follow-up to the recovery of the NetBackup catalogs.
3. Briefly navigate through the various panes of the Administration Console to verify
that the NetBackup configuration is intact following the catalog recovery:
̶ Activity Monitor
̶ NetBackup Management > Policies
̶ NetBackup Management > Storage > Storage Units
̶ NetBackup Management > Storage > Storage Unit Groups
̶ NetBackup Management > Storage > Storage Lifecycle Policies
̶ Media and Device Management > Device Monitor
̶ Media and Device Management > Media
̶ Media and Device Management > Devices > Drives
̶ Media and Device Management > Devices > Robots
̶ Media and Device Management > Devices > Media Servers
̶ Media and Device Management > Devices > Disk Pools
̶ Media and Device Management > Credentials > Storage Servers
̶ Media and Device Management > Credentials > Virtual Machine Servers
Lab 13-69
5. Click the Refresh icon in the tool bar to update the Volumes information that is
displayed in the right pane of the Administration Console.
6. Scroll to the right in the Volumes pane to locate the Media Status column.
7. Click and drag the Media Status heading column so that it is to the right of the
Media ID heading column.
You can also right-click in the white area of the right pane and select Columns >
Layout. Locate and click the Media Status column. Use the Move Up button to
move the Media Status column just below Media ID. Click OK to keep the changes.
9. Take note of the Volume Pool of which the Frozen Media ID is a member.
The tape that was used to perform the Catalog Recovery operation was frozen
to prevent the over-write of the catalog backup images that reside on the tape
(that Media ID is a member of the CatalogBackup volume pool).
10. Right-click the entry for the Frozen Media ID and, in the menu that is displayed, click
Unfreeze.
11. When the Unfreeze dialog box is displayed, click OK to unfreeze the tape.
12. Verify that the Media Status of the tape is changed to Active.
Lab 13-70
Exercise D-5: Deactivating policies
In the steps that follow, you deactivate NetBackup policies that were created and used
in previous exercises of this course.
You take these steps to prevent excessive numbers of automated backup jobs
from being performed.
When no active NetBackup catalog backup schedule exists, Image Cleanup jobs
that NetBackup performs automatically end with “status 1” (incomplete). This
is expected, and not a cause for concern.
a. Select the Policies entry in the left pane of the Administration Console window.
b. Locate and right-click the PRE-clients-to-master-bdisk policy entry.
c. Click Deactivate in the menu.
d. Verify that the PRE-clients-to-master-bdisk policy has been de-activated.
Lab 13-71
Lab 14: Optimizing File System Backups
In this lab, you perform tasks to optimize NetBackup 8.1 file system backup
performance using NetBackup Accelerator, multiple data streams, and multiplexed
backups.
Lab 14-1
Exercise A: Optimizing backups using the NetBackup
Accelerator
In this exercise, you configure the NetBackup Accelerator feature, and perform client
backups with and without the Accelerator feature to observe the impact of this feature
on backup performance.
Lab 14-2
Exercise A-1: Configuring a policy for NetBackup
Accelerator
In the steps that follow you configure a policy that will be used first to observe the
performance of a backup job that does not use the Accelerator feature. Then you will
modify the policy to enable the Accelerator feature, and run backup jobs to observe the
results.
2. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
Lab 14-3
4. Modify the LAB14-test-accelerator using the information provided in the table
below.
5. After making the changes to the LAB14-test-accelerator policy, click OK to save the
policy, and to close the Change Policy window.
6. Verify that the LAB14-test-accelerator policy is included in the list of policies that is
displayed in the All Policies pane of the Administration Console.
Lab 14-4
Exercise A-2: Performing a non-Accelerator backup of the
client
In the steps that follow, you use the new LAB14-test-accelerator policy to perform a full
backup of the client, winmedia.example.com or lnxmedia.example.com.
1. Perform a Full Backup of your media server using the LAB14-test-accelerator policy
and the detailed steps described in the following table.
2. After initiating the backup job, select the Activity Monitor entry in the left pane of
the Administration Console.
3. Locate the job for the most recent Backup job that used the LAB14-test-accelerator
policy.
NOTE: It has been observed intermittently that backups written may run more slowly
than expected. This may be due to conditions such as high usage of the lab kits in the
lab delivery environment. If you encounter slow backups do not be alarmed, as the
backup jobs will run to successful completion. Please be patient.
If the job fails, record the status code and seek assistance.
Lab 14-5
6. Access the Job Details for the backup job, and view the contents of the Detailed
Status tab, taking note of the information shown in the table below.
Lab 14-6
Exercise A-3: Enabling NetBackup Accelerator in a policy
In the steps that follow, you modify a policy to enable the NetBackup Accelerator
feature.
2. Navigate to NetBackup Management and then select Policies in the left pane of the
Administration Console.
3. Locate and double-click the entry for the LAB14-test-accelerator policy, to open the
policy for editing.
4. In the policy Attributes tab, click the Use Accelerator check box, to enable the
Accelerator feature.
5. Click OK to save the policy changes, and to close the Change Policy window.
Lab 14-7
Exercise A-4: Performing and monitoring Accelerator-
enabled backups
In the steps that follow, you initiate a manual backup of the client,
winmedia.example.com or lnxmedia.example.com using the LAB14-test-accelerator
policy. This backup uses the NetBackup Accelerator feature.
1. Click the entry for the LAB14-test-accelerator policy, located in the All Policies pane
of the Administration Console.
3. Click OK in the Manual Backup window, without making any other selections, to
initiate the manual backup operation.
4. Select the Activity Monitor entry in the left pane of the Administration Console.
5. Locate the entry for the most recent Backup job that used the LAB14-test-
accelerator policy.
6. Monitor the Backup job, and verify that it runs to successful completion (status 0).
If the job fails, record the status code and seek assistance.
NOTE: It has been observed intermittently that backups written may run more slowly
than expected. This may be due to conditions such as high usage of the lab kits in the
lab delivery environment. If you encounter slow backups do not be alarmed, as the
backup jobs will run to successful completion. Please be patient.
7. Double-click the entry for the Backup job to open the Job Details window.
8. Access the Detailed Status tab for the job, and view the contents of the Status pane.
Lab 14-8
9. Locate the entries in the Detailed Status pane that contain:
10. Close the Job Details window for the Backup job.
11. Scroll to the right in the Activity Monitor, to locate the Accelerator Optimization
column for the Backup job.
12. Take note the Accelerator Optimization percentage for the job.
The first Accelerator-enabled backup of the client using the policy will achieve
an Accelerator Optimization of zero percent. This is expected.
Lab 14-9
Exercise A-5: Performing a second Accelerator-enabled
backup
1. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
2. Initiate a manual Full Backup of the media server client using the LAB14-test-
accelerator policy using the detailed steps provided in the following table.
3. Select the Activity Monitor entry in the left pane of the Administration Console.
4. Locate the entry for the most recent Backup job that used the LAB14-test-
accelerator policy.
5. Monitor the Backup job, and verify that the job runs to successful completion.
If the job fails, record the status code and seek assistance.
NOTE: It has been observed intermittently that backups written may run more slowly
than expected. This may be due to conditions such as high usage of the lab kits in the
lab delivery environment. If you encounter slow backups do not be alarmed, as the
backup jobs will run to successful completion. Please be patient.
6. Scroll to the right in the Activity Monitor, to locate the Accelerator Optimization
column for this Backup job.
7. Take note of the Accelerator Optimization percentage for the second job.
The second Accelerator-enabled backup of the client using the policy will
achieve an Accelerator Optimization of 100% percent. This is expected.
Lab 14-10
8. Double-click the entry for the Backup job to open the Job Details window.
10. Scroll through the contents of the Status pane, and locate the entry that is similar to
the one shown below.
11. Take note of the number of bytes sent by the accelerator, as described in the
previous message in the Status pane.
12. Compare the Current Kilobytes Written and the number of bytes sent by the
accelerator from the client to the NetBackup media server.
The number of Current Kilobytes Written far exceeds the number of bytes sent (as
indicated in the Status pane of the Detailed Status)Linu for the job. This indicates
that the backup image that was written to the storage unit was created using the
contents of previous backup images of the client plus only the changed files that
were transferred by the Accelerator from the client system to the media server.
Because no changes were made to the files in client file system between the
two accelerator-enabled backup jobs, very little data had to be sent to the
storage unit on the media server. This resulted in a faster backup. However, the
resulting Full Backup image recorded to the media server storage unit still
includes all the files in the client file system. Had files been changed on the
client, the amount of data transferred would have been greater, but still less
than would have been transferred during a full, non-accelerator backup
operation.
Lab 14-11
Exercise A-6: Viewing the Accelerator-enabled backup
image contents
As a final step in this exercise, you use the Backup, Archive, and Restore (BAR) user
interface to view the contents of the second Accelerator-enabled backup image for the
client.
1. Click the Backup, Archive, and Restore entry in the left pane of the Administration
Console.
The Backup, Archive, and Restore (BAR) user interface is displayed in the right pane
of the Administration Console.
The settings used for the most recent restore job (performed using the BAR user
interface) are visible in the Restore Files tab.
3. Click Actions and then select Specify NetBackup Machines and Policy Type.
4. Verify the Specify NetBackup Machines and Policy Type settings, based upon the
operating system of your master server as shown in the tables below.
Lab 14-12
5. After verifying the Specify NetBackup Machines and Policy Type settings, click OK to
close the window.
6. If you receive a dialog box titled No Files Found, click OK and continue to the next
step.
7. Set the Restore type field (in the Restore Files tab) to a value of Normal Backups.
You can also select Actions and then select Set Keyword.
It may be necessary to change the Browse directory to “/” (no quotes) in order
for contents of a backup image to be displayed in the Directory Structure pane.
9. Select Actions and then select Set Date Range and then select Backup History. The
Backup History window is displayed.
10. In the Backup History window select the entry for the most recently created backup
image that was created using the LAB14-test-accelerator policy, as shown below.
11. Take note of the Size (KB) of the selected backup image, as indicated in the Backup
History window.
This Size (KB) is far greater than the number of bytes that were transferred
from the client to the media server during the most recent Accelerator-enabled
backup job.
12. After selecting the backup image, click OK to close the Backup History window.
Lab 14-13
13. Expand the entries in the Directory Structure pane of the BAR user interface, until
the data folder or directory is displayed.
14. Click the entry for the data directory, located in the Directory Structure pane of the
BAR user interface.
The Contents of selected directory pane displays the contents of the data
folder that are present in the selected backup image.
15. Note that the Contents of the selected directory pane includes all the files and
directories that were present in the client’s file system at the time of the most
recent Accelerator-enabled backup job.
Lab 14-14
Exercise B: Configuring and using multiple data
streams
In this exercise, you configure a NetBackup policy to enable the Allow multiple data
streams feature and then modify the Backup selections list prior to a backup in order to
investigate the impact these two settings have on the way backups are performed.
It should not be presumed that the use of the NetBackup multiple data streams
feature will always result in improved backup performance when performing
client file system backups. Planning and testing of the performance benefits is
required based upon the disk layout on the client systems.
Lab 14-15
Exercise B-1: Accessing your master server
At this point in the lab activities you may be running out of tapes that can be used for
future activities. To make more tapes available for use, you will log into your master
server and expire tapes so that the scratch_tapes pool will contain enough media for
this lab exercise.
You can access the desktop or command prompt of systems in your lab kit in
either of two ways:
• By selecting the ‘tab’ that is provided for the system that is provided on the user
interface in your lab delivery environment (VMware Workstation, Nimbus,
Hatsize), or
• By access the system remotely from the console.example.com system in your
lab kit. The Remote System Access folder on the desktop of
console.example.com provides access to Windows-based systems using Remote
Desktop (RDP), and to Linux-based systems using PuTTY.
Either of the methods listed above is acceptable for accessing your master server
system.
2. If you are already familiar with the methods to access the desktop of your master
server, click the link to continue to Exercise B-4: Preparing the client to test multiple
data streams.
Lab 14-16
Exercise B-2: Opening a terminal window (SSH) to
lnxmaster.example.com using PuTTY
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. Double-click the PuTTY shortcut that is located in the REMOTE SYSTEM ACCESS
folder.
5. Locate and double-click the pre-configured entry for the Linux-based master server,
lnxmaster.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmaster.example.com.
Continue to Exercise B-4: Preparing the client to test multiple data streams.
Lab 14-17
Exercise B-3: Opening an RDP session to
winmaster.example.com
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. Locate and double-click the RDP Profiles (Windows systems) sub-folder, located in
the REMOTE SYSTEM ACCESS folder, to open the folder.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
Continue to Exercise B-4: Preparing the Windows client to test multiple data
streams.
Lab 14-18
Exercise B-4: Preparing the client to test multiple data
streams
At this point in the lab activities you may be running out of tapes that can be used for
future activities. In the steps that follow you will expire all the images on three (3) tapes
to return those tapes to the scratch_tapes volume pool, making them available for use.
winmaster.example.com or lnxmaster.example.com
Command: available_media
4. Record the Media IDs and status of any tapes that are assigned to the server_tapes
volume pool using pencil and paper or the Notepad++ application on the desktop.
These would be the tapes with a status other than AVAILABLE, as displayed in the
output of the available_media command.
The number of tapes that are assigned to the server_tapes volume pool may vary
from the results observed by others.
Lab 14-19
5. For each Media ID you identified, execute the bpexpdate command, using the
command syntax shown below.
The command that follows will expire all images on the tape, and to return the tape
to the AVAILABLE status.
6. Repeat the bpexpdate command for each Media ID that you identified.
7. Run the available_media command again to verify that no tapes reside in the
server_tapes volume pool, or that all Media IDs have a status of AVAILABLE.
8. If necessary, repeat the use of the bpexpdate command until all Media IDs of
tapes in the server_tapes volume pool have become un-assigned (AVAILABLE).
Do not continue to the next step until you have confirmed that all Media IDs of
tapes in the server_tapes volume pool have become un-assigned (AVAILABLE).
9. Allow the RDP connection (Windows) or your PuTTY session (Linux) to your master
server to remain open.
Lab 14-20
10. Access the desktop of your Windows-based media server, winmedia.example.com,
or a command prompt on your Linux-based media server, lnxmedia.example.com.
You can access the desktop or command prompt of systems in your lab kit in
either of two ways:
i. By selecting the ‘tab’ that is provided for the system that is provided on the
user interface in your lab delivery environment (VMware Workstation,
Nimbus, Hatsize), or
ii. By access the system remotely from the console.example.com system in
your lab kit. The Remote System Access folder on the desktop of
console.example.com provides access to Windows-based systems using
Remote Desktop (RDP), and to Linux-based systems using PuTTY.
Either of the methods listed above is acceptable for accessing your master server
system.
11. If you are already familiar with the methods to access the desktop of your master
server, click the link to continue to Exercise B-7: Preparing the client to test multiple
data streams.
Lab 14-21
Exercise B-5: opening a terminal window (SSH) to
lnxmedia.example.com using PuTTY
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. Double-click the PuTTY shortcut that is located in the REMOTE SYSTEM ACCESS
folder.
5. Locate and double-click the pre-configured entry for the Linux-based master server,
lnxmedia.example.com.
Within a moment a PuTTY window is displayed that will enable you to log in to
lnxmedia.example.com.
Continue to Exercise B-7: Preparing the client to test multiple data streams.
Lab 14-22
Exercise B-6: Opening an RDP session to
winmedia.example.com
3. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of the
console.example.com system, to open the folder.
4. Locate and double-click the RDP Profiles (Windows systems) sub-folder, located in
the REMOTE SYSTEM ACCESS folder, to open the folder.
The RDP Profiles (Windows systems) folder contains RDP profiles for the
Windows-based systems in this lab environment.
Within a few moments a Windows Security dialog box will be displayed, prompting
you to enter the login credentials for the system.
Continue to Exercise B-7: Preparing the Windows client to test multiple data
streams.
Lab 14-23
Exercise B-7: Preparing the client to test multiple data
streams
In this exercise, your media server system will serve as the client that will be backed up
using the multiple data streams feature.
2. View the drives (names/letters) or file systems/mount points that have been
configured on your media server, using the appropriate method, as described in the
tables below.
The following table provides details for viewing configured disk volumes on the
Windows-based media server, winmedia.example.com.
# Step details
1 Click File Explorer icon on the Windows’ task bar on winmedia.example.com.
A File Explorer window is opened.
2 Take note of the configured drives on the media server system.
The following table provides details for viewing configured file systems and mount
points on the Linux-based media server, lnxmedia.example.com.
# Step details
1 Access the open Terminal window on lnxmedia.example.com.
2 In the Terminal window, execute the command: df -h
3 Take note of the configured file systems and their associated mount points on
the lnxmedia.example.com system.
Continue to Exercise B-8: Copying data to use for testing the multiple data streams
feature.
Lab 14-24
Exercise B-8: Copying data to use for testing the multiple
data streams feature
In the steps that follow, you copy the data folder or directory on the media server to
additional drive and folder or directory locations on the media server, in preparation for
testing the NetBackup multiple data streams feature.
1. Copy the data folder or directory on the media server to an additional drive or file
system locations on the media server using the steps provided in the tables below.
̶ The following table provides the detailed steps to perform on the Windows-
based media server, winmedia.example.com.
̶ The table on the next page provides the detailed steps to perform on the
Linux-based media server, lnxmedia.example.com. Click the link to go to that
table.
Lab 14-25
The following table provides the detailed steps to perform on the Linux-based media
server, lnxmedia.example.com.
The same data resides in three different directories: /data, /data2, and
/data3.
7 Close the Terminal window on lnxmedia.example.com.
Lab 14-26
Exercise B-9: Configuring a policy to use multiple data
streams
In the steps that follow you configure a policy to use the NetBackup multiple data
streams feature.
3. Select NetBackup Management and then select Policies in the left pane of the
Administration Console window.
Lab 14-27
5. Modify the LAB14-test-multiple-data-streams policy Attributes using the parameter
settings provided in the table below.
6. From the Schedules tab select the full schedule then click Change
10. Modify the contents of the Clients tab using the information provided in the table
below.
Use the entries that are appropriate for your lab environment – either for
Windows or for Linux - based upon the operating system of your master server.
11. After making the changes to the Clients tab, click the Backup Selections tab.
12. Modify the contents of the Backup Selections tab of the policy to add two new
entries, using the information provided in the table below.
Use the entries in the table that are appropriate to your lab environment –
either for Windows or Linux.
Lab 14-28
13. After making the changes to the Backup Selections of the policy, click OK to save the
policy and to close the Change Policy window.
14. Verify that the LAB14-test-multiple-data-streams policy is visible in the All Policies
pane of the Administration Console.
If the Allow Multiple Data Streams policy attribute is selected, the number of
backup streams used to back up a client that is included in the policy is
determined by the makeup of the Backup Selections of the policy.
Lab 14-29
Exercise B-10: Performing a multiple data streams backup
In the steps that follow, you perform a manual backup of a client using the LAB14-test-
multiple-data-streams policy, and monitor the results of that backup operation.
2. Initiate a manual Full Backup operation of your media server system using the
LAB14-test-multiple-data-streams policy using the steps in the table below.
Lab 14-30
Exercise B-11: Monitoring the resulting backup jobs
1. Select the entry for the Activity Monitor in the left pane of the Administration
Console, and take note of the most recent Backup job entries added to the Jobs list.
Four Backup jobs were added as a result of the manual backup operation. One
parent job was generated - which controlled each of the three child jobs. Each
of the child jobs was used to back up one stream of data generated by the
client.
2. Locate and double-click the entry for the lowest-numbered of the four jobs that
were initiated, to open the Job Details for the job.
3. Note the contents of the File List pane that is displayed on the Job Overview tab of
the Job Details.
Files List for Windows-based client Files List for Linux-based client
E:\data\smallfiles /data/smallfiles
C:\data\smallfiles /data2/smallfiles
C:\Temp\data\smallfiles /data3/smallfiles
4. Click the Job Hierarchy tab in the Job Details window, and note the contents of that
tab.
The Job Hierarchy tab shows that the lowest-numbered job is a parent job to
the other three jobs.
5. Take note of the Job IDs for parent job and the three child jobs, as indicated in the
Job Hierarchy tab of the parent job.
6. Close the Job Details window for the parent Job ID.
7. Double-click the entry for the Job ID of the first child job to open the Job Details for
the job.
Lab 14-31
8. Note the contents of the Files List for the first child job as shown in the table below.
9. Click the UP arrow button located near the bottom of the Job Details window to
view the Job Details for the second child job.
10. Note the contents of the Files List for the second child job as shown in the table
below.
11. Click the UP arrow button to view the Job Details for the third child job.
12. Take note of the contents of the Files List for the third child job as shown in the
table below.
13. Close the Job Details window for the third child job.
Lab 14-32
14. Observe the jobs and the behavior of the multiple stream backup, and answer the
question below.
• If the Allow multiple data streams policy attribute is selected, the contents of
the Backup Selections tab of the policy determines the number of data streams
that will be used to back up each of the clients listed in the policy. NetBackup will
initiate one backup job for each backup selection list item plus an additional job
that serves as a parent job to control the child jobs for each client.
• The parent job does not back up any client data. It is the first job to start and
exits after the last of the child jobs has completed.
• If multiple clients are backed up using the policy, there will be multiple jobs
(parent job + child jobs) for each client that is backed up.
Lab 14-33
Exercise B-12: Examining factors that impact job
concurrency
In the steps that follow, you initiate a second manual backup of the client, and observe
characteristics relating to job concurrency. Then, you examine various NetBackup
settings that impact the number of jobs that can be active simultaneously.
1. Perform a second manual Full Backup of the media server client using the LAB14-
test-multiple-data-streams policy.
2. Immediately after initiating the manual backup, select the Activity Monitor entry in
the left pane of the Administration Console window.
3. Pay close attention to the Job State column contents for the new backup jobs in the
Activity Monitor.
4. Take note of the following information regarding how and when each of the backup
jobs become Active.
Four jobs were initiated. A parent job, and three child jobs.
The first job (lowest numbered job) and the second job become Active immediately.
These are the parent job and the first child job.
The State Details for the jobs that are in the Queued jobs says “Limit has been
reached for requested resource…”
When the second job (the first child job) reaches the Done state, the third job
(second child job) goes Active.
When the third job (the second child job) reaches the Done state, the fourth job
(third child job) goes Active.
If one or more of the backup jobs fail, record the failure status and seek assistance.
In previous steps, you observed that only one child backup job is Active at a
time - the child jobs are the jobs that perform the actual backup of client data.
Continue to Exercise B-13: Factors that impact job concurrency – Maximum jobs per
client.
Lab 14-34
Exercise B-13: Factors that impact job concurrency –
Maximum jobs per client
In the steps that follow you examine one factor that impacts whether backup jobs from
a client run concurrently – the master server Host Property, Maximum jobs per client.
1. Select NetBackup Management and the select Host Properties, Master Servers in
the left pane of the NetBackup Administration Console window.
2. Click the entry for the master server in the right pane of the Administration Console.
4. Click the Global Attributes entry in the left pane of the Master Server Properties.
The Global Attributes for the selected master server are displayed in the right pane
of the Administration Console.
5. Record the current setting of the Maximum jobs per client parameter using pencil
and paper or the Notepad++ application located on the desktop.
6. Change the value of the Maximum jobs per client parameter to “3”, and record the
new parameter setting using pencil and paper or Notepad++.
9. When the Restart Daemons dialog box is displayed, click OK to acknowledge the
message, and to close the dialog box.
Continue to Exercise B-14: Testing the Maximum jobs per client parameter change.
Lab 14-35
Exercise B-14: Testing the Maximum jobs per client
parameter change
In the steps that follow, you initiate another manual backup request using the LAB14-
test-multiple-data-streams policy, to test and observe the results of changing the
Maximum jobs per client parameter setting.
1. Perform a third manual Full Backup of the media server client using the LAB14-test-
multiple-data-streams policy.
2. Immediately after initiating the manual backup, select the Activity Monitor entry in
the left pane of the Administration Console window.
3. Give close attention to the Job State column contents for the new backup jobs in the
Activity Monitor.
After changing the Maximum jobs per client parameter to a value of “3”, when
a backup is performed using the policy that allows multiple data streams from
the client, four backup jobs are still initiated – a parent job, and three child
jobs.
However, now two of the child jobs are Active at the same time, while the third
child job is Queued. The Maximum jobs per client parameter was set to a value
of “3”? Why was the third child job Queued, instead of Active? Continue with
the lab steps to investigate further.
4. Allow all the backup jobs to run to successful completion. Then, proceed to the next
step.
If one or more of the backup jobs fail, record the failure status and seek assistance.
In the previous steps, you observed that changing the Maximum jobs per client
Global Attribute setting allowed two child jobs from the client to run
concurrently. You may have expected all three child jobs to run concurrently.
Continue to Exercise B-15: Factors that impact job concurrency – Storage unit
configuration.
Lab 14-36
Exercise B-15: Factors that impact job concurrency –
Storage unit configuration
In the steps that follow, you investigate another aspect of NetBackup configuration that
can determine whether backup jobs run concurrently – the configuration of the storage
unit to which the backup jobs sends the backup image data.
1. Examine the job entries for the most recent backup jobs that used the LAB14-test-
multiple-data-streams policy.
Note that the master_tape_stu storage unit was used to write the backup images for
the backup jobs.
2. Select NetBackup Management and then select Storage, Storage Units in the left
pane of the Administration Console.
The right pane of the Administration Console displays the configured storage units.
3. Double-click the entry for the master_tape_stu storage unit, to open the storage
unit for editing.
The master_tape_stu is opened for editing in the Change Storage Unit window.
Lab 14-37
4. Note the storage unit parameter settings for the master_tape_stu as shown in the
table below.
Because there are two tape drives in the master_tape_stu, and because
multiplexing is not enabled for the storage unit, the maximum number of
concurrently Active backup jobs for the storage unit is two (2).
5. Click Cancel to close the Change Storage Unit window, without making any changes
to the master_tape_stu settings.
Lab 14-38
Exercise B-16: Modifying policy Backup Selections to
affect backup streams
In the steps that follow, you use NEW_STREAM entries in the Backup Selections of a
policy to change the number of backup streams that are generated from the client
during a backup operation.
3. Modify the contents of the Backup Selections tab to add the NEW_STREAM
directive using the instructions in the table below.
The figure below illustrates the Backup Selections for a Windows-based client after
adding the NEW_STREAMS entries.
The figure below illustrates the Backup Selections for a Linux-based client after
adding the NEW_STREAMS entries.
Add one NEW_STREAM directive entry at the top of the Backup Selections list,
and another NEW_STREAM directive entry between the
E:\data\smallfiles and C:\data\smallfiles on Windows, or
between the /data/smallfiles and /data2/smallfiles entries on
Linux.
Lab 14-39
The detailed steps to perform this task are described below.
# Step description
1 Click the entry E:\data\smallfiles or /data/smallfiles.
2 Click the Insert button.
3 In the Insert Backup Selection window, select the drop-down arrow for
the Pathname or directive field.
4 In the drop-down list, click NEW_STREAM.
5 Click OK in the Insert Backup Selection window
6 Click the entry C\data\smallfiles or /data2/smallfiles.
7 Click the Insert button (in the Backup Selections tab).
8 In the Insert Backup Selection window, select the drop-down arrow for
the Pathname or directive field.
9 In the drop-down list, click NEW_STREAM.
10 Click OK in the Insert Backup Selection window
One parent and two child backup jobs will be generated. The first child job will
back up the entry between the first NEW_STREAM and second NEW_STREAM
entry in the Backup Selections tab. The second child job will back up the
entries that exists after the second NEW_STREAM entry in the Backup
Selections tab.
4. Click OK to save the policy and to close the Change Policy window.
Lab 14-40
Exercise B-17: Performing a manual backup to test the
NEW_STREAM directive
In the steps that follow, you initiate a manual full backup of the client, using the LAB14-
test-multiple-data-streams policy, to observe the impact of the use of the
NEW_STREAM directive.
1. Initiate a manual full backup of the media server client using the LAB14-test-
multiple-data-streams policy.
2. Immediately after initiating the manual backup, select the Activity Monitor entry in
the left pane of the Administration Console window and note the following.
• Three backup jobs were initiated as a result of the manual backup request, a
parent job, and two child jobs.
• All the backup jobs run concurrently, because we have previously set the
Maximum jobs per client to a higher value (3), and that there are two tape
drives available in the destination storage unit.
Windows: E:\data\smallfiles
Linux: /data/smallfiles
You have completed all required exercises for this lab activity.
- Required Exercises
The remaining exercise in this lab activity is optional. Continue to the optional exercise,
based on your interest in the NetBackup multiplexing backup images to tape feature.
Lab 14-41
Exercise C: (Optional) Configuring and performing
multiplexed backups
Lab 14-42
Exercise C-1: Preparing to perform a non-multiplexed
manual backup
In the steps that follow, you modify a policy to perform non-multiplexed backups.
2. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
The list of policies is displayed in the All Policies pane of the Administration Console.
5. In the Backup Selections tab, remove (delete) the NEW_STREAM entries, so that the
resulting Backup Selections entries appear as illustrated in the following table.
6. After making the changes to the Backup Selections of the policy, click OK to save the
policy, and to close the Change Policy window.
Lab 14-43
Exercise C-2: Performing a non-multiplexed manual
backup
In the steps that follow, you use the LAB14-test-multiple-data-streams policy to initiate
a backup operation.
1. Initiate a manual full backup of the media server client using the LAB14-test-
multiple-data-streams policy.
2. Immediately after initiating the manual backup, select the Activity Monitor entry in
the left pane of the Administration Console window.
3. Take note of the information for the backup jobs as listed below.
The Activity Monitor Jobs tab appears immediately after the manual backup request is
submitted as shown below.
Four Backup jobs were initiated as a result of the manual backup request – one
parent job, and three child jobs.
Three jobs are Active concurrently (simultaneously). The parent job and the first two
child jobs went Active immediately.
The third and final child job were initially in the Queued state until the first of the
child jobs was completed, and then the third child job went Active.
You can also use the hierarchical view option in the Activity Monitor to view
the parent and child jobs.
4. Verify that all backup jobs run to successful completion before continuing.
If one or more of the backup jobs fail, record the status code and seek assistance.
Lab 14-44
5. Open the Job Details for each of the child jobs, one-at-a-time, selecting the Detailed
Status tab for each job, and then view the Status pane.
The Status pane identifies the Media ID of the tape that was mounted to perform
the backup job, the Drive Index for the tape drive on which the tape was mounted,
and the file number on the tape where the backup image was recorded.
6. Record the Media ID, Drive Index number, and file number for each of the three
child backup jobs using paper and pencil or the Notepad++ application located on
the desktop.
The three child backup jobs performed were not multiplexed onto the same
tape. The backup image for the first child job was written to a Media ID
mounted on one tape drive, and the backup image for the second child job was
written to a different Media ID that was mounted on the other tape drive in the
storage unit. When the first child job completed, the backup image for the third
child backup job was written onto the same tape as the backup image for the
first child job, but was written to the next, sequentially-higher file number on
the tape.
Lab 14-45
Exercise C-3: Enabling multiplexed backups in the storage
unit
In the steps that follow, you configure NetBackup to enable multiplexed backups for a
Media Manager (tape) storage unit.
1. Select NetBackup Management and then select Storage, Storage Units in the left
pane of the Administration Console.
The right pane of the Administration Console displays the list of configured storage
units.
2. Double-click the entry for the master_tape_stu storage unit, to open the storage
unit for editing.
The master_tape_stu is opened for editing in the Change Storage Unit window.
3. Click the Enable multiplexing check box, to enable the multiplexing feature.
6. Click OK to save the changes to the master_tape_stu storage unit, and to close the
Change Storage Unit window.
You have enabled multiplexed backups for the master_tape_stu storage unit.
Lab 14-46
Exercise C-4: Enabling multiplexed backups in the policy
schedule
In addition to enabling multiplexing in the Media Manager storage unit, you must also
enable multiplexing in the schedules of policies that you wish to use to control
multiplexed backups.
1. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
3. Click the Schedules tab of the policy, in the Change Policy window.
The Schedules tab lists the schedules for the policy. The only schedule that currently
exists is the FULL schedule.
4. Click the entry for the FULL schedule, then click Change.
The Change Schedule window is opened, enabling you to modify the schedule
parameter settings.
5. Modify the Media multiplexing parameter setting to select a value of “2”, on the
schedule Attributes tab.
8. Click OK, to save the policy and to close the Change Policy window.
Lab 14-47
Exercise C-5: Performing a multiplexed manual backup
In the steps that follow, you perform a manual full backup of the client using a policy,
schedule, and storage unit that are configured to enable multiplexed backups.
1. Initiate a manual full backup of the media server client using the LAB14-test-
multiple-data-streams policy.
2. Immediately after initiating the manual backup, select the Activity Monitor entry in
the left pane of the Administration Console window
The Activity Monitor should display job entries such as those illustrated below.
You can also use the hierarchical view option in the Activity Monitor to view
the parent and child jobs.
3. Note that all four backup jobs (one parent job, and three child jobs) are Active at the
same time.
4. Allow all the backup jobs to run to successful completion, and then proceed to the
next step.
If one or more of the backup jobs fail, record the status code and seek assistance.
Lab 14-48
5. Open the Job Details for each of the child jobs, one-at-a-time. Select the Detailed
Status tab for each job, and view the Status pane.
The Status pane identifies the Media ID of the tape that was mounted to perform the
backup job, the Drive Index for the tape drive on which the tape was mounted, and the
file number on the tape where the backup image was recorded.
6. Using paper and pencil, or the Notepad++ application, record the Media ID, Drive
Index number, and file number for each of the three child backup jobs.
Your backup job results may vary from the results observed by others.
You should note that the first two child backup jobs were written to the same
tape (Media ID) by the same tape drive (Drive index), and to the same file
number on the tape. These backups were multiplexed onto the tape. The Drive
index field for the second job is empty, because the tape used is mounted on
the same drive as is used for the first job.
Because the Media Multiplexing setting for the schedule that was used to
perform the backup was set to a value of “2”, only two of the backup jobs could
be multiplexed onto the first tape. The third child job was written onto another
tape (Media ID) by a different tape drive (Drive index).
Lab 14-49
Exercise C-6: Changing the multiplexing settings
In the steps that follow, you change the Media Manager (tape) storage unit and policy
schedule multiplexing setting to increase the number of data streams that can be
multiplexed onto a tape.
1. Select NetBackup Management and then select Storage, Storage Units in the left
pane of the Administration Console.
The right pane of the Administration Console displays the list of configured storage
units.
2. Double-click the entry for the master_tape_stu storage unit, to open the storage
unit for editing.
The master_tape_stu is opened for editing in the Change Storage Unit window.
5. Click OK to save the changes to the master_tape_stu storage unit, and to close the
Change Storage Unit window.
Lab 14-50
Exercise C-7: Modifying the policy schedule
1. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
The Schedules tab list the schedules for the policy. The only schedule that currently
exists is the FULL schedule.
4. Click the entry for the FULL schedule, then click Change.
The Change Schedule window is opened, enabling you to modify the schedule
parameter settings.
5. Modify the Media multiplexing parameter setting to select a value of “3”, on the
schedule Attributes tab, as illustrated below.
6. After changing the Media multiplexing setting to “3”, click OK to save the change to
the schedule, and to close the Change Schedule window.
8. Click OK in the Change Policy window, to save the policy and to close the Change
Policy window.
Lab 14-51
Exercise C-8: Performing another multiplexed manual
backup
In the steps that follow, you perform another manual full backup of the client using a
policy, schedule, and storage unit that are configured to enable multiplexed backups.
1. Initiate a manual full backup of the media server client using the LAB14-test-
multiple-data-streams policy.
2. Immediately after initiating the manual backup, select the Activity Monitor entry in
the left pane of the Administration Console window
The Activity Monitor should display job entries for the most recently-initiated
backup job.
Note that all four backup jobs (one parent job, and three child jobs) are Active
at the same time.
3. Allow all the backup jobs to run to successful completion before continuing.
If one or more of the backup jobs fail, record the status code and seek assistance.
4. Open the Job Details for each of the child jobs, one-at-a-time.
Select the Detailed Status tab for each job, and view the Status pane.
The Status pane identifies the Media ID of the tape that was mounted to perform
the backup job, the Drive Index for the tape drive on which the tape was mounted,
and the file number on the tape where the backup image was recorded.
Lab 14-52
5. Use a pencil and paper or Notepad++ to identify the Media ID, Drive Index number,
and file number for each of the three child backup jobs use the information
provided in the table below.
If configured properly, you should observe that all three child backup jobs that
were initiated by the most recent manual backup request were written to the
same Media ID (tape), by the same tape drive (drive index), and to the same
file number on the tape. The backup images were multiplexed to the tape.
Lab 14-53
Exercise C-9: Viewing media multiplexing in NetBackup
In the steps that follow, you use the NetBackup Tape Contents report to observe how
media multiplexing writes backup images to tape.
2. Select Media and Device Management and then select Media in the left pane of the
Administration Console.
3. With the Media entry highlighted in the left pane, select View, and then select
Refresh, to update the contents of the right pane of the Administration Console.
4. Use the horizontal scroll bar in the right pane to scroll to the right until the Media
Status column contents are visible, as illustrated below.
5. Take note of the Media ID, from the last backup, which has a Media Status of Full
Multiplexed or Active Multiplexed.
6. Select NetBackup Management and then select Reports, Tape Reports in the left
pane of the NetBackup Administration Console.
The available NetBackup Tape Reports are listed in the right pane of the
Administration Console.
Lab 14-54
7. Double-click the entry for the Tape Contents report in the right pane of the
Administration Console.
The default Report Settings for the report are displayed in the right pane of the
Administration Console, as illustrated below.
8. Click the Refresh icon on the tool bar to update the contents of the Report Settings
pane.
9. Use the drop-down menu for the Media Owner field to select the name of your
master server – winmaster.example.com or lnxmaster.example.com.
10. Use the drop-down menu to select the Media ID, which was recorded earlier, from
the last multiplex backup.
12. Take note of the message posted in the Tape Contents Report window, and then OK
to run the report.
When you run the Tape Contents report, NetBackup mounts the tape in a tape
drive to read the contents of the tape.
Lab 14-55
13. Note the results of the Tape Contents report, as illustrated in the figure below.
14. Observe the File Number and Backup ID column contents of the report output.
̶ Backup IDs that share the same File Number were multiplexed to that file
number on the tape.
̶ If a client system has more data to back up than will fit in a single tape fragment,
the backup image (Backup ID) will span multiple File Numbers on the tape.
̶ The fragment size used by the tape drive is defined in the storage unit settings.
15. Compare the output of your Tape Contents report, to those in the previous
illustration, and take a moment to consider the information that is provided by the
report.
If the Tape Contents report does not show any multiplexed images, meaning
you cannot identify any Backup IDs that share the same File Number, run the
Tape Contents report again using a different Media ID that you noted having a
Media Status of Active Multiplexed or Full Multiplexed.
Repeat this process until you are able to view the expected results. If you are
unable to view the expected multiplexed results in the Tape Contents report,
seek assistance.
Lab 14-56
You have completed this optional lab exercise.
- Optional Exercise
You have completed all exercises of this lab activity.
Lab 14-57
Lab 15: Collecting Logs and Diagnostic
Information
In this lab, you perform tasks related to the support and maintenance of a NetBackup
environment, including tasks to enable logging and the collection of logs and other
diagnostic information.
Lab 15-1
Exercise A: Viewing the NetBackup services
In this exercise, you use NetBackup-provided interfaces to view NetBackup services and
processes.
Continue to Exercise A-1: Viewing the NetBackup services in the Activity Monitor.
Lab 15-2
Exercise A-1: Viewing the NetBackup services in the
Activity Monitor
In the steps that follow, you use the Activity Monitor to view the status of NetBackup
services on NetBackup server systems.
3. In the NetBackup Administration Console login screen, log in to your master server
using the User name and Password information provided in the table below.
4. When the NetBackup Administration Console window is displayed, click the Activity
Monitor entry in the left pane of the Administration Console.
The Activity Monitor is displayed in the right pane of the Administration Console
and provides four tabs, as illustrated below.
Lab 15-3
5. Click the Daemons tab, located at the bottom of the Activity Monitor screen.
The NetBackup Activity Monitor allows you to stop and start NetBackup
services and daemons. Use this capability with caution. Stopping NetBackup
daemons while jobs are running may prevent the jobs from completing
successfully. Contact Veritas Technical Support if you have questions.
Some daemons listed may have a status of Stopped or Disabled. This may be
normal, as some daemons are enabled only when a particular NetBackup
feature is licensed or enabled. Also remember that some daemons run only on
the master server and will always be shown as Disabled on media servers.
You can also use the NetBackup-provided command, bpps, to view the
NetBackup processes and services that are running on a NetBackup server or
client system. On Linux-based systems, the bpps -x command syntax is
useful, and on Windows-based systems, simply use the command, bpps.
Lab 15-4
Exercise B: Running NetBackup reports for
troubleshooting
In this exercise, you run several NetBackup reports that can provide useful information
for troubleshooting NetBackup-related problems. These reports include the:
Lab 15-5
Exercise B-1: Running the Status of Backups report
In the steps that follow, you initiate the Status of Backups report from the NetBackup
Administration Console and view the report output.
3. Select NetBackup Management and then select Reports in the left pane of the
Administration Console.
4. Expand the Reports entry in the left pane of the Administration Console.
The following reports are listed below the expanded reports object:
̶ Status of Backups
̶ Client Backups
̶ Problems
̶ All Log Entries
̶ Images on Media
̶ Media Logs
5. Click the entry for the Status of Backups report in the left pane of the
Administration Console.
The right pane of the Administration Console displays the Report Settings that can
be used to filter the output of the report.
6. Do not modify the report settings, and click the Run Report button to run the Status
of Backups report using the default settings.
The output of the report is displayed on the bottom half of the right pane of the
Administration Console.
7. View the output of the report, and take note of the information that is provided by
the report
Lab 15-6
8. If you wish, change the Report Settings for the report, and run the report again to
see impact on the report output.
9. Note that you can change the report settings to obtain output such as:
Lab 15-7
Exercise B-2: Running the Client Backups report
In the steps that follow, you initiate the Client Backups report from the NetBackup
Administration Console and view the report output.
1. Select the entry for the Client Backups report in the left pane of the Administration
Console.
The right pane of the Administration Console displays the Report Settings that can
be used to filter the output of the report.
2. In the Date/Time Range section, check the Earliest available check box.
3. Leave the rest of the report settings at their defaults, and click the Run Report
button to run the Client Backups report.
4. View the output of the report, and take note of the information that is provided by
the report.
Lab 15-8
Exercise B-3: Running the Problems report
In the steps that follow, you initiate the Problems report from the NetBackup
Administration Console and view the report output.
1. Select the entry for the Problems report in the left pane of the Administration
Console.
The right pane of the Administration Console displays the Report Settings that can
be used to filter the output of the report.
2. Click the Run Report button to run the Problems report using the default settings.
3. View the output of the report, and take note of the information that is provided by
the report. If you have had jobs fail in earlier labs, it is possible there may be
messages associated with those jobs. Most of the entries are probably warnings and
not serious problems.
Lab 15-9
Exercise B-4: Running the All Log Entries report
In the steps that follow, you initiate the All Log Entries report from the NetBackup
Administration Console and view the report output.
1. Select the entry for the All Log Entries report in the left pane of the Administration
Console.
The right pane of the Administration Console displays the Report Settings that can
be used to filter the output of the report.
2. Click the Run Report button to run the All Log Entries report using the default
settings.
3. View the output of the report, and take note of the information that is provided by
the report.
Lab 15-10
Exercise B-5: Running the Media Logs report
In the steps that follow, you initiate the Media Logs report from the NetBackup
Administration Console and view the report output.
1. Select the entry for the Media Logs report in the left pane of the Administration
Console.
The right pane of the Administration Console displays the Report Settings that can
be used to filter the output of the report.
2. Click the Run Report button to run the Media Logs report using the default settings.
3. View the output of the report, and take note of the information that is provided by
the report.
Lab 15-11
Exercise C: Using the nbsu and nbcplogs
commands
In this exercise, you use the NetBackup Support Utility (nbsu) and NetBackup Copy
Logs (nbcplogs) commands to collect troubleshooting information and NetBackup log
files.
The output files generated by these NetBackup utilities can be uploaded to Veritas, for
analysis by NetBackup technical support representatives to assist you in solving
NetBackup and NetBackup-related problems.
Lab 15-12
Exercise C-1: Running nbsu
In the following steps, you run the nbsu command to gather troubleshooting
information for the NetBackup master server system.
The NetBackup Support Utility (nbsu) queries the system on which it is executed and
gathers NetBackup and operating system diagnostic information. The nbsu utility
provides a wide range of control over the types of diagnostic information gathered.
3. Type the command shown below and press Enter, to display help information on the
use of the nbsu utility.
nbsu -help displays an extensive description of the utility and of the options
that are available when performing the command.
4. To page downward through the help information, use the Enter key to advance one
line at-a-time, or the Space bar to advance one page-at-a-time.
In this lab environment, the PATH environment variable has already been set
on the master server and media server systems to include the folder location to
the nbsu and nbcplogs utilities.
Lab 15-13
The following table provides a brief description of the phases that are
performed during the execution of the nbsu utility.
Phase Description
Phase I Determine operating system environment information
Phase II Determine NetBackup environment information
Phase III Gather diagnostic lists
Phase IV Select the diagnostic commands or procedures to execute
Phase V Execute the selected diagnostic commands or procedures
Phase VI nbsu final processing
By default, nbsu writes the information it gathers to a cab file (on Windows-
based systems) or a gzipped tar file (on UNIX/Linux-based systems) located in
an output directory located directly below the folder/directory in which you
run the command.
5. What nbsu command line option can you use to see a list of diagnostic commands
that nbsu will run? See the answer below.
6. What nbsu command line option can you use to run only commands or procedures
that are related to the Net Backup configuration? See the answer below.
7. What nbsu command option can be used to choose the role of the system on which
the diagnostic commands or procedures are to run? See the answer below.
Lab 15-14
9. Type the command shown below, and press Enter to display a list of the diagnostic
commands that nbsu will select to run on this system.
Advance the output of the command one page at-a-time using the space bar.
10. When the command prompt is returned, take note of the end of the nbsu –l
command output on the screen, which describes the location of the nbsu output file
on the local system.
11. Verify the current folder or directory location in the Command Prompt
(winmaster.example.com) or Terminal (lnxmaster.example.com) window. (C:\ on
Windows) (/tmp –on Linux)
Lab 15-15
12. Run the nbsu utility with no command options or arguments, as shown below.
Command: nbsu
13. Monitor the nbsu command output that is displayed in the Command Prompt or
Terminal window.
It may take several minutes (5-10 minutes) for the command to complete, and
for the command prompt to be returned.
15. List the contents of the current directory in the Command Prompt or Terminal
window.
18. Take note of the contents of the folder or directory. There will be one or more
subdirectories (one for each time you have run nbsu):
19. Change directory into the most recent (highest numbered) folder or directory:
Lab 15-16
20. List the contents of the current folder or directory, and verify that it contains the
output file that was created by nbsu, as illustrated in the figures below.
The figure below illustrates the nbsu output cab file on a Windows-based system.
The figure below illustrates the nbsu output tar.gz file on a Linux-based system.
In a troubleshooting situation, you would provide the output file (cab file or
tar.gz file) to Veritas technical support for analysis.
Lab 15-17
Exercise C-2: Using nbcplogs
In the steps that follow, you use the nbcplogs (NetBackup log gatherer) to gather logs
files and troubleshooting information in preparation for transfer to Veritas technical
support for analysis.
nbcplogs gathers log files generated by NetBackup and its components on the
system on which the command is initiated, and creates a package that can be
transferred to Veritas technical support for analysis.
Because nbcplogs includes nbsu data collection, there is no need to use both
commands. Run nbcplogs to gather the troubleshooting information and log
files.
3. In the Command Prompt or Terminal window, type the command shown below, and
press Enter.
Lab 15-18
The figure below illustrates the help information for the nbcplogs command.
The command output explains the usage of the nbcplogs command. Additional
information and examples about the command can be found in the NetBackup
Commands Reference Guide.
4. Type the following command and press Enter to gather troubleshooting information
(using nbsu), and to gather log files for the last 15 minutes of the current day.
Lab 15-19
5. Monitor the progress of the nbcplogs command execution in the Command Prompt
window.
When the command is ready to write its output file, it prompts: is there at
least XX.X M (MB) disk space available on C:\support (or
/support)? (Y/N)
nbcplogs proceeds to gather and write its output file, including the output of the
nbsu command. This may take several minutes, depending upon the size of the log
files that are gathered. When the creation of the command output is completed,
you are returned to the command prompt.
8. Examine the names of the log directories that have been collected by nbcplogs, and
the name of the large tar file that is present in the folder.
Lab 15-20
The nbcplogs utility gathers troubleshooting and log information only from the
system on which it was executed. In a NetBackup production environment, it is
often necessary to collect troubleshooting and log information from other
NetBackup systems, from media servers and clients, in addition to collecting
the information from the master server.
9. Close the Command Prompt or Terminal window on your master server system
Feel free to experiment further with the use of the nbsu and nbcplogs commands to
gather troubleshooting information.
You have completed all required exercises for this lab activity.
If you wish to continue with the optional exercises of this lab activity, click the link to
proceed to Exercise D: (Optional) Viewing and setting debug log properties.
- Required Exercises
Lab 15-21
Exercise D: (Optional) Viewing and setting debug
logging properties
In this optional exercise, you view the NetBackup configuration parameters that are
used to configure NetBackup log files.
Lab 15-22
Exercise D-1: Setting debug log properties
For many problems, the default log verbosity may be sufficient to gather the
log entries needed to identify a problem. In some cases, NetBackup support
personnel may request that you increase the logging levels of all logs, or for the
logs of a specific service, daemon, or process.
3. Select NetBackup Management and then select Host Properties, Master Servers in
the left pane of the Administration Console.
The host name of your master server is displayed in the list of master servers in the
right pane of the Administration Console.
4. Click the entry for the master server in the right pane, and then select Actions and
then select Properties.
5. Locate and click the Logging entry, located in the left pane of Master Server Host
Properties window.
The right pane of the Master Server Host Properties window displays the Logging
parameters that can be set for the selected master server.
Lab 15-23
6. The default logging level settings are currently displayed in the Logging pane of the
Master Server Host Properties window.
̶ The Global logging level setting, located near the top of the Logging window
affects the debug logging levels for both legacy-style and unified-style logs.
̶ The Process specific overrides section of the Logging pane contains logging level
settings for some of the most important master server services and daemons
that use legacy-style debug logging. If altered, these settings override the Global
logging level for the specified service or daemon.
̶ The Debug logging levels for NetBackup services section of the Logging pane
contains debug logging level settings for some of the most important master
server services and daemons that use unified logging. If altered, these settings
override the Global logging level for the specified service.
7. For now, allow all the settings in the Logging pane to remain at the default settings.
8. Leave the Master Server Host Properties window open for use in the next exercise.
When gathering information and log files to send to technical support, the
NetBackup technical support representative may direct you to change the
logging levels. Due to the amount of log information that may be captured, the
size of the log files can grow very quickly. You are advised not to increase the
logging levels unless directed to do so by a NetBackup technical support
representative.
Refer to the Veritas NetBackup Logging Reference Guide for complete details
on setting logging verbosity.
Lab 15-24
Exercise D-2: Logging for critical processes
In this steps that follow you use the Administration Console to enable the most critical
logs and to manage the amount of disk space they consume. Unlike the logging
assistant, which is usually used as part of troubleshooting a specific problem, these
settings can be used to enable the most critical logs to be enabled at all times, reducing
the amount of time it takes to get logs to Veritas support.
1. From the Master Server Host Properties window, locate the Logging for critical
processes: label and click the Enable button.
The Alert: Logging for critical processes window opens. Review the information in
this window before proceeding.
2. Click Yes to enable logging and to close the Alert: Logging for critical processes
window.
From the Master Server Host Properties window, note that the Enable button is no
longer present and the label has changed to Logging for critical processes: Enabled.
3. From the Master Server Host Properties window, review the settings for Keep Logs
for: and Keep logs up to: in the Retention area.
The Keep logs up to: setting was automatically enabled when we activated
logging for critical processes. This setting does not require critical logging to be
enabled, but it is especially useful with critical logging enabled. Proper use of
these settings, along with verbosity, allows critical legacy logs to be on at all
times without consuming excessive disk space.
Lab 15-25
winmaster.example.com User ID: EXAMPLE\Administrator Password: train
10. Check to see if the critical log bpbrm currently exists using the appropriate
command:
The bpbrm directory may not exist. Because bpbrm is not a service, it does not
run all the time; it runs only when a Media or Master/Media server is actively
running jobs. We will explore this log in more detail in the next exercise.
The bpbrm directory will be created the next time a job runs that uses the
master server as a media server (e.g., a backup or restore job). It is expected
that no backup or restore jobs have run in the time since critical logging was
enabled. If the directory does exist there is no cause for concern; it will not
interfere with the rest of the lab.
11. Leave the Command Prompt window or Terminal window open on your master
server system. You access this window again in the next exercise.
If you wish to continue with another optional exercise, click the link to proceed to
Exercise E: (Optional) Enabling NetBackup legacy logging.
Lab 15-26
Exercise E: (Optional) Enabling NetBackup legacy
debug logging
In this optional exercise, you enable legacy logging for a legacy service and a legacy
process on the master server system. This exercise illustrates the principals of legacy
logging.
Lab 15-27
Exercise E-1: Enabling NetBackup legacy logging
3. Change directory to the NetBackup logs folder or directory using the appropriate
command, as described below.
̶ Windows: dir
̶ Linux: ls -al
The logs folder may contain several sub-folders, including: ALTPATH, bmrd,
bmrsetup, nbars, nbaudit, nbemm, and many others – depending on the
Operating System of the NetBackup server. UNIX/Linux-based NetBackup
servers store unified log files in a different directory location than Windows-
based servers.
These folders house the unified log files on the Windows-based master server and
other configuration information. UNIX/Linux-based master servers house the unified
logs in /usr/openv/logs.
Lab 15-28
Exercise E-2: Viewing the mklogdir.bat file
The mklogdir.bat file (Windows) or mklogdir ((UNIX/Linux) is a script that can be used
to create log folders for all NetBackup processes that use legacy-style logs. In the steps
that follow, you briefly view the contents of the mklogdir.bat or mklogdir script.
1. In the Command Prompt or Terminal window, view the contents of the mklogdir
(or mklogdir.bat) file using the appropriate command as shown below.
2. Use the space bar to advance the display of the file contents one screen-at-a-time.
Briefly examine the file contents.
Enabling logging for the large number of processes that use legacy logging
indiscriminately will consume disk space and impact performance
unnecessarily. Troubleshooting should generally use and enable logging in a
more targeted manner, as directed by Veritas NetBackup Technical Support.
The mklogdir script file can be used to create a large number of log directories
for the legacy processes. If that is your intent, you can run the batch file with no
additional arguments to create all possible logging directories. Or, if you only
wish to create directories for specific logs, you can add the names of the logs
you wish to create as arguments when you enter the mklogdir command. In
either case, the next time the service or process for which a log directory is
created is active, it will start logging to a log file in its log directory.
Lab 15-29
An excerpt of the contents of the mklogdir.bat file is illustrated in the figures
below – for Windows and Linux based systems.
3. Type Ctrl +C on your keyboard to close the mklogdir file, and return to the command
prompt.
Lab 15-30
4. Allow the Command Prompt window (on winmaster.example.com) or Terminal
window (on lnxmaster.example.com) to remain open.
Lab 15-31
Exercise E-3: Creating log folders for legacy-style logging
In the steps that follow, you use mklogdir to selectively create a log folder for a
NetBackup service that uses legacy-style debug logging.
NetBackup uses the logs directory tree not only for the recording of
troubleshooting information, but for progress and communication updates to
users and other NetBackup applications. Restrictive permissions on these
directories can not only disable the collection of troubleshooting data, but also
prevent the application itself from functioning correctly. Backup and restore
operations fail when permissions are too restrictive. In a production
environment, Veritas recommends the use of the mklogdir script to ensure
permissions are set correctly. If you do create directories manually instead of
using the script make sure that any directories you create in the logs directory
are readable and writeable by all users (777 permissions). If security
requirements prohibit global read-write access, you can run the mklogdir script
and specify directories that already exist and the script will set permissions on
the directory to the minimum necessary settings.
1. From the Command Prompt window or the Terminal window, use mklogdir to
create the bpjobd directory in the logs directory on your master server:
2. Verify that you have successfully created the bpjobd directory using the appropriate
command:
Lab 15-32
The new bpjobd directory is currently empty. When logging commences for the
bpjobd service, a file is created each day that has the file name format,
user_name.mmddyy.log (i.e., All_Admins.101216.log). All legacy
log files are ASCII text files.
Lab 15-33
Exercise E-4: Running a backup job
In the steps that follow, you perform a manual backup that writes to tape storage on
the master server system.
When the NetBackup Administration Console log in window is displayed, enter the
credentials for your preferred master server, and click the Login button.
3. Select NetBackup Management and then select Policies in the left pane of the
Administration Console.
4. Click the entry for the PRE-clients-to-master-tape policy, located in the All Policies
pane of the Administration Console window.
6. In the Clients pane of the Manual Backup window, click the entry for
winmaster.example.com (Windows) or lnxmaster.example.com (Linux), and click
OK.
7. Click the Activity Monitor entry in the left pane of the Administration Console, and
monitor the progress of the most recent backup job that used the PRE-clients-to-
master-tape policy.
8. Verify that the job runs to successful completion. If the job fails, record the status
code and seek assistance.
Lab 15-34
Exercise E-5: Verifying the creation of the log files
In previous steps of this exercise, you created log folders for the bpbrm and bpjobd
services on your master server. In the steps that follow, you view the results in the log
file folders.
A log file is present in the folder. The filename of the file is user_name.mddyy.log
(e.g., ALL_ADMINS.021217.log). The user name will be ALL_ADMINS for
Windows and root for Linux.
Lab 15-35
5. List the contents of the bpbrm directory using the appropriate command:
A log file is present in the folder – unless a problem occurred on the master server
that prevented the bpbrm process from being initiated.
The date of the file corresponds to today’s date (assuming you complete all parts of
this lab on the same day).
Because a backup, restore, or other operation that requires the bpbrm process has
been directed to this media server, the bpbrm log file should have been created on
the system – even in most situations where the job failed.
When a backup job is performed on the master server, the backup job requires
the use of the bpbrm process on that system. In the steps that follow, you
verify that the bpbrm log file has been created on the master server system.
The bpbrm log was enabled in the previous exercise: Logging for critical
processes. If you skipped that exercise, the log will not be present and you
should proceed to Exercise F: (Optional) Viewing debug logging levels for
unified logs.
bpbrm (Backup and Restore Manager) is a media server process that only runs
during backup and restore jobs. Your master server is configured as a media
server so this process will also run on the master server when a backup or
restore operation directs backup activity to backup storage on that system.
Lab 15-36
7. Examine the bpbrm log file contents briefly.
In a real-world environment, use of a more robust text editor will enhance the
reading of log files.
If you wish to continue with the optional exercises, proceed to Exercise F: (Optional)
Viewing debug logging levels for unified logs.
Lab 15-37
Exercise F: (Optional) Viewing debug logging levels
for unified logs
Unified logging is enabled by default for all NetBackup services and daemons that use
unified logging. There is no need to manually enable or initiate unified logging.
In this optional exercise, you view the configuration file for unified logs, set the unified
logging levels for unified log debug and diagnostic messages, and observe the results.
• If you are performing this lab activity on a Windows-based master server, click the
link to continue to Exercise F-1: Unified logging on Windows. Exercise F-1 through
Exercise F-6 are for Linux-based systems.
• If you are performing this lab activity on a Linux-based master server, click the link to
continue to Exercise F-7: Unified Logging on Linux. Exercise F-7 through Exercise F-12
are for Linux-based systems.
Lab 15-38
Exercise F-1: Unified logging on Windows
If you are performing this lab activity on a Linux-based master server, click the link to
continue to Exercise F-7: Unified logging on UNIX/Linux. Exercise F-7 through Exercise F-
12 are for Linux-based systems.
In this exercise, you perform the following tasks on your Windows-based master server,
winmaster.example.com:
Continue to the steps below to perform tasks related to Unified logging on Windows.
Lab 15-39
4. Locate and open the nbpem (Policy Execution Manager) folder in the File Explorer
window, and examine the contents of the folder.
You should see a list of files similar to the list illustrated in the figure below.
The log files in the nbpem folder are the nbpem (OID=116) log files. The log
naming convention for unified logs is as shown in the figure below.
Continue to Exercise F-2: Viewing default logging settings for unified logs
(Windows).
Lab 15-40
Exercise F-2: Viewing default logging settings for unified
logs (Windows)
In the steps that follow, you view and modify the default logging settings for NetBackup
unified debug logs.
Pay attention to message at the top of the nblog.conf file, as shown below.
Do not edit the nblog.conf file to change its contents. Unified logging
configuration changes are made using the vxlogcfg command.
Lab 15-41
4. Scroll through the contents of the nblog.conf file contents to locate the section that
is highlighted in the following figure.
The highlighted section in the previous figure defines the default logging
verbosity settings for the unified logs. The key words DiagnosticLevel and
DebugLevel (case is significant) define the logging levels for diagnostic and
debug messages. The default DiagnosticLevel is set to 6 (maximum) and the
default DebugLevel is set to 1 (minimum).
5. Close the nblog.conf configuration file without making changes to the file.
7. In the Command Prompt window, type the following command, and press Enter.
Lab 15-42
8. After entering the first vxlogcfg command successfully, type the following command,
and press Enter.
The command output displays the default settings for unified logging on the master
server, as shown below.
Both the DebugLevel and the DiagnosticLevel are now set to 6, as a result of
the first vxlogcfg command that you executed.
Continue to Exercise F-3: Setting unified logging levels using the Administration
Console (Windows).
Lab 15-43
Exercise F-3: Setting unified logging levels using the
Administration Console (Windows)
In the steps that follow, you use the NetBackup Administration Console to set the
debug logging levels for specific NetBackup master server services that use unified
logging.
2. Select NetBackup Management and then select Host Properties, Master Servers in
the left pane of the Administration Console.
4. Click the Logging entry, located in the left pane of the Master Server Host
Properties window.
5. Set the logging levels for the Policy Execution Manager (nbpem), the Job Manager
(nbjm), and Resource Broker (nbrb) services to Debug logging level = 2.
6. Click the OK button in the Logging pane of the Master Server Host Properties
window, to save the settings.
7. When the Restart Daemons dialog box is displayed, click the OK button to
acknowledge the message and to close the dialog box.
Lab 15-44
Exercise F-4: Verifying the unified logging settings
(Windows)
After changing the debug logging levels for nbpem, nbjm, and nbrb using the
NetBackup Administration Console, in the steps that follow you verify the settings for
those services in the nblog.conf file.
4. Scroll through the contents of the nblog.conf file until you find the section that is
illustrated in the figure below.
Lab 15-45
The section of the nblog.conf configuration file illustrated in the figure on the
previous page identifies the logging level settings for the individual NetBackup
services (OIDs) that use unified logging. Notice that the DebugLevel for each of
the three processes (nbpem, nbjm and nbrb) has been set to 3. In the
Administration Console, you set the logging levels to 2. However, legacy logs
use a 0-5 scale and unified logs use a 1-6 scale. Therefore, a logging level
setting of 2 for a legacy log equates to a logging level setting of 3 for a unified
log.
The individual logging level setting for a service overrides the default logging
level setting. As logging is currently configured, nbpem, nbjm, and nbrb will log
debug messages at level 3. All other processes will log debug messages at the
default setting of level 6.
Continue to Exercise F-5: Changing the diagnostic logging level settings (Windows).
Lab 15-46
Exercise F-5: Changing the diagnostic logging level
settings (Windows)
The next steps describe the method for changing the diagnostic logging levels for
services that use unified logging.
1. In a Command Prompt window on the master server, type the command shown
below, and press Enter.
If you do not see the message: “The configuration settings were added
successfully”, check your typing and try the command again.
Lab 15-47
4. Take note of the logging level settings for debug and diagnostic messages for nbpem
in the vxlogcfg command output.
This command is entered in preparation for a later exercise and will reset the default
DebugLevel and DiagnosticLevel logging levels to their original values.
6. Verify that the message, “The configuration settings were added successfully” is
returned in response to the command before continuing.
If necessary, check the command syntax and try the command again.
Continue to Exercise F-6: Resetting unified logging levels for nbpem, nbjm, nbrb
(Windows).
Lab 15-48
Exercise F-6: Resetting unified logging levels for nbpem,
nbjm, nbrb (Windows)
In the steps that follow, you use the NetBackup Master Server Host Properties to set
the Debug logging levels for the Policy Execution Manager (nbpem), Job Manager
(nbjm), and Resource Broker (nbrb) services back to their default settings – the same as
the Global logging level.
2. Select NetBackup Management and then select Host Properties, Master Servers in
the left pane of the Administration Console.
3. Double-click the entry for your Windows-based master server, to open the Master
Server Host Properties window.
4. Click the Logging entry, located in the left pane of the Master Server Host
Properties window.
5. Set the Debug logging levels for the Policy Execution Manager, the Job Manager,
and Resource Broker services to “Same as global”.
6. Click the OK button in the Logging pane of the Master Server Host Properties
window, to save the settings.
7. When the Restart Daemons dialog box is displayed, click the OK button to
acknowledge the message and to close the dialog box.
You have completed all Windows-based steps intended for this exercise, and all
exercises of this lab activity.
Lab 15-49
Exercise F-7: Unified logging on UNIX/Linux
If you are performing this lab activity on a Windows-based master server, click the link
to continue to Exercise F-1: Unified logging on Windows. Exercise F-1 through Exercise F-
6 are for Windows-based systems.
In this exercise, you perform the following tasks on your Linux-based master server,
lnxmaster.example.com:
Continue to the steps below to perform tasks related to Unified logging on Linux.
1. Access the Terminal window (opened using PuTTY) from the console.example.com
system to your Linux-based master server, lnxmaster.example.com.
Command: cd /usr/openv/logs
The logs directory contains the unified logs that most directly affect NetBackup.
3. Type the command shown below, and press Enter, to view the contents of the log
directory.
Command: ls –al
These are the logging directories for the NetBackup services; Policy Execution
Manager (nbpem), the Job Manager (nbjm), and the Resource Broker (nbrb),
respectively.
5. Type the command shown below, and press Enter, to change to the nbpem
directory.
Command: cd nbpem
Lab 15-50
6. Examine the contents of the directory.
The contents of the directory will be similar to those illustrated in the figure below.
The log files in the nbpem folder are the nbpem (OID=116) log files. The log
naming convention for unified logs is as illustrated in the figure below.
In the commands that that require the entry of the NetBackup Product ID, the
Product ID can be entered as 51216 or nb.
Continue to Exercise F-8: Viewing default logging settings for unified logs
(UNIX/Linux).
Lab 15-51
Exercise F-8: Viewing default logging settings for unified
logs (UNIX/Linux)
In the steps that follow, you view and modify the default logging settings for NetBackup
unified debug logs.
Command: cd /usr/openv/netbackup
Locate the nblog.conf file. This is the configuration file for unified logging.
Take note of the message located at the top of the nblog.conf file.
Do not edit the nblog.conf file to change its contents. Unified logging
configuration changes are made using the vxlogcfg command.
Lab 15-52
3. Press the Enter key to move downward through the nblog.conf file one page at-a-
time until you locate the DiagnosticLevel and DebugLevel entries.
This section defines the default settings for the unified logs. The key words
DiagnosticLevel and DebugLevel (case is significant) define the logging levels
for diagnostic and debug messages. By default, the DiagnosticLevel is set to 6
(maximum) and the DebugLevel is set to 1 (minimum).
The command above sets the default DebugLevel for NetBackup unified
logging to 6.
Lab 15-53
6. After entering the first vxlogcfg command successfully, type the following command,
and press Enter.
The command output displays the default DebugLevel and DiagnosticLevel settings
for unified logging on the master server, as shown below.
Continue to Exercise F-9: Setting unified logging levels using the Administration
Console (UNIX/Linux).
Lab 15-54
Exercise F-9: Setting unified logging levels using the
Administration Console (UNIX/Linux)
In the steps that follow, you use the NetBackup Administration Console to set the
debug logging levels for specific NetBackup master server services that use unified
logging.
2. Select NetBackup Management and then select Host Properties, Master Servers in
the left pane of the Administration Console window.
4. Click the Logging entry in the left pane In the Master Server Host Properties
window.
5. Set the Debug logging levels for the Policy Execution Manager (nbpem), the Job
Manager (nbjm), and the Resource Broker (nbrb) to a value of 2.
6. Click the OK button to save the settings, and to close the Master Server Host
Properties window.
Lab 15-55
Exercise F-10: Verifying the unified logging settings
(UNIX/Linux)
After changing the debug logging levels for nbpem, nbjm, and nbrb using the
NetBackup Administration Console, in the steps that follow you verify the settings for
those services in the nblog.conf file.
Command: cd /usr/openv/netbackup
3. Use the more command to view the contents of the nblog.conf file.
4. Scroll downward through the nblog.conf file until you find the entries for the Policy
Execution Manager, Job Manager, and Resource Broker services, as illustrated in
the figure below.
Lab 15-56
The portion of the nblog.conf file illustrated above identifies the logging level
settings for the individual NetBackup services (OIDs) that use unified logging.
5. Observe that the DebugLevel for each of the three processes (nbpem, nbjm and
nbrb) has been set to 3.
You set the logging levels to 2. However, legacy logs use a 0-5 scale and unified
logs use a 1-6 scale. Therefore, a logging level setting of 2 for a legacy log
equates to a logging level setting of 3 for a unified log.
The individual logging level setting for a service overrides the default logging
level setting. As logging is currently configured, nbpem, nbjm, and nbrb will log
debug messages at level 3. All other processes will log debug messages at the
default setting of level 6.
Lab 15-57
Exercise F-11: Changing the diagnostic logging level
settings (UNIX/Linux)
The next steps describe the method for changing the diagnostic logging levels for
services that use unified logging.
1. Type the command shown below, and press Enter, to change the DiagnosticLevel
setting for the nbpem service to 3.
Wait for the command prompt to be returned. If you do not see the message: “The
configuration settings were added successfully”, check your typing and try the
command again.
This command displays the settings for the Policy Execution Manager (nbpem), as
illustrated in the figure below.
3. Take note of the settings for DebugLevel and DiagnosticLevel parameters for
nbpem. Both settings should be set to level 3.
Lab 15-58
5. Reset the default DebugLevel and DiagnosticLevel logging levels to their original
values.
To accomplish this, type the command shown below, and press Enter.
6. Reset the DiagnosticLevel setting for the nbpem service back to 6, by executing the
command show below.
7. Verify that the message, “The configuration settings were added successfully” is
returned in response to the command before continuing. If necessary, check the
command syntax and try the command again.
Continue to Exercise F-12: Resetting unified logging levels for nbpem, nbjm, nbrb
(UNIX/Linux).
Lab 15-59
Exercise F-12: Resetting unified logging levels for nbpem,
nbjm, nbrb (UNIX/Linux)
In the steps that follow, you use the NetBackup Master Server Host Properties to set
the Debug logging levels for the Policy Execution Manager (nbpem), Job Manager
(nbjm), and Resource Broker (nbrb) services back to their default settings.
2. Select NetBackup Management and then select Host Properties, Master Servers in
the left pane of the NetBackup Administration Console.
4. Click the Logging entry, located in the left pane of the Master Server Host
Properties window.
5. Set the Debug logging levels for the Policy Execution Manager, the Job Manager,
and Resource Broker services to Same as global.
6. Click the OK button in the Logging pane of the Master Server Host Properties
window, to save the settings.
7. When the Restart Daemons dialog box is displayed, click the OK button to
acknowledge the message and to close the dialog box.
You have completed all Linux-based steps intended for this exercise, and all
exercises of this lab activity.
Lab 15-60