Professional Documents
Culture Documents
v03 NBU83ADM - Lab 03 NetBackup Storage Linux
v03 NBU83ADM - Lab 03 NetBackup Storage Linux
In this lab, you use the NetBackup Administration Console to configure a NetBackup BasicDisk
storage unit and a storage unit group. Also, you perform tasks to configure AdvancedDisk
storage, perform and monitor backups that write to AdvancedDisk storage, and use various
NetBackup-provided user interfaces to view, manage, and monitor AdvancedDisk storage.
In this exercise, you use tools provided by the operating system to view disk storage that resides
on your master server system.
In this exercise, you connect to a remote Linux master server system using the PuTTY shortcut
located on the desktop of the console system, and then review the disk storage information.
5. Log on to your Linux master server using the credentials provided in the table
below.
6. At the command prompt, type the command shown below, and press Enter.
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.
7. Take note of the /dev/sda3 file system, and its associated mount point, /bdisk.
8. Close the Putty session.
Exercise B: Configuring a BasicDisk storage unit
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.
In the steps that your follow , you log into the NetBackup Administration Console and view
existing BasicDisk storage unit settings.
Note that the CRL expires every 7 days and must be manually refreshed in these
labs.
At times, the getCRL command may fail to refresh the certificates and the following
error message is displayed:
Failed to get the latest certificate revocation list for
master server [master server name], error:[5978]
EXIT STATUS 5978: Attempt to refresh certificate revocation
list failed.
In this scenario, reboot the master server and then connect to it using
the NetBackup Administration Console.
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.
7. 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.
The table below identifies the storage unit configuration settings for this storage
unit.
8. Click Cancel to close the Change Storage Unit window without making
changes to the storage unit configuration.
In the steps that you follow, you will connect to a remote media server lab systems and then
review the disk storage information.
12. From the Saved Sessions pane select the entry for lnxmedia.vrtsedu.lab then
click Open.
13. Log on to your Linux media server using the credentials provided in the table
below.
lnxmedia.vrtsedu.lab Username: root Password: P@ssw0rd
Command: df -h
15. Take note of the information associated with the file system/mount point that
has been configured for use as the destination for BasicDisk backups .
17. The names of the mount points should enable you to identify the mount point that
is configured for use as BasicDisk storage.
18. 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.
In the steps that follow, you use the NetBackup Administration Console to configure a Basic
Disk Storage Unit associated with your media server system
20. Select Actions and then select the option to create a new Storage Unit in the
Administration Console tool bar.
21. Use the parameters provided in the table to create a new BasicDisk storage unit.
Your storage unit results should be similar to those illustrated in the figure below.
xercise C: Identifying AdvancedDisk storage server
In this exercise, you identify disk storage on your media server system that has been allocated for
use by the NetBackup AdvancedDisk feature.
Within a moment a PuTTY window is displayed that will enable you to log in
to lnxmedia.vrtsedu.lab.
5. Log on to your Linux media server using the credentials provided in the table
below.
6. At the command prompt, type the command shown below, and press Enter.
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 lnxmedia system. Many of these file
systems were pre-configured to serve as storage destinations for
NetBackup backup images.
7. Take note of the /dev/sda7, /dev/sda8, and /dev/sda9 file systems, and their
associated mount points, /advdisk1, /advdisk2, and /advdisk3.
8. Type Exit to close the PuTTY window.
Configuring NetBackup to enable the AdvancedDisk feature consists of three primary steps:
In the steps that follow, you use the Configure Disk Storage Server wizard to create an
AdvancedDisk storage server.
5. View the top entry in the left pane of the Administration Console window to
verify that you are connected to your master server, lnxmaster.vrtsedu.lab.
6. If the NetBackup Administration Console is not connected to your master
server, click the "Launch a new instance …" button to connect to your master
server.
7. 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).
The right pane of the Administration Console displays a list of the NetBackup
wizards that are available on a master server system.
8. Click the entry for the Configure Disk Storage Servers wizard, located in the
right pane of the Administration Console, as illustrated in the figure below.
A Storage Server Configuration Wizard window is displayed.
9. Identify the types of disk storage options that are available for selection.
AdvancedDisk
OpenStorage
12. Use the information provided in the table rows below to enter the information
in the fields of the Add Storage Server screen.
Parameter: Parameter setting:
13. After entering the information in the previous table click Next to continue.
14. Verify the information displayed on the summary screen, then the
click Next button, located near the bottom of the wizard window.
The configuration wizard creates the storage server. This may take a few moments.
When the creation of the storage server is completed, the Storage server
"lnxmedia.vrtsedu.lab" is successfully created message is displayed, and
the Next button becomes available for selection, as illustrated in the figure below.
15. Verify that the "storage server is successfully created" message is displayed.
16. 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.
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 figure below for illustrations of
the Volume Selection screen.
18. Using the information provided in the table below, mark the check boxes for the
disk volumes to be used for the AdvancedDisk disk pool.
19. After selecting the volumes indicated in the table above, click Next to continue.
20. Using the values provided in the table below, enter the information in the fields
of the Additional Disk Pool Information screen.
21. After entering the parameter values in the fields of the Additional Disk Pool
Information screen, 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.
23. When the creation of the disk pool is completed, the message "Disk pool
"media_advdisk_dpool" has been successfully created" is displayed, as illustrated
in the figure below.
24. 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.
25. Click Next to continue to the creation of a storage unit that is associated with
the disk pool that you have just configured.
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.
26. Verify that the Storage Unit Creation screen is displayed, and then proceed to
the next step.
27. Use the parameter values provided in the table below, to populate the fields of
the Storage Unit Creation screen.
Parameter Parameter setting
media_advdisk_dpool (cannot
Disk pool:
change)
Storage server
AdvancedDisk (cannot change)
type:
Media Server
entries:
Maximum
4 (change from the default setting)
concurrent jobs:
Maximum
524288 Megabytes (default setting)
fragment size:
28. 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.
In this exercise, you verify the configuration of the AdvancedDisk storage server, disk pool, and
storage unit that you created in the previous exercise.
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 (lnxmedia.vrtsedu.lab)
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.
Verifying AdvancedDisk disk pool configuration and status using the Administration
Console
4. Navigate to Media and Device Management and then Devices and then
select Disk Pools in the left pane of the NetBackup Administration Console.
5. 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.
6. In this case, click Cancel to close the Change Disk Pool window without making
changes to the disk pool settings.
7. Navigate to Media and Device Management and then select Device
Monitor in the left pane of the Administration Console.
Media and Device Management > Device Monitor > Disk Pool
When Device Monitor is selected in the left pane, the right pane provides two tabs
-- Drives and Disk Pool, as illustrated in the figure below.
8. 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.
9. 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.
10. Take note of the current Status of the media_advdisk_dpool.
11. 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.
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.
17. 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.
18. Locate and right-click the entry for the media_advdisk_stu in the right pane of
the Administration Console.
19. In the resulting menu, click Change.
20. See the figure below and take note of the storage unit properties and
parameters, giving special attention to the parameters that can be changed.
Only certain storage unit parameters can be modified. For an AdvancedDisk storage
unit, these include the On demand only parameter, the selection of the Media
server or servers associated with the storage unit, the Maximum concurrent jobs,
and the Maximum fragment size used by the storage unit.
21. Click Cancel to close the Change Storage Unit window without making
changes to the storage unit configuration.
22. Allow the NetBackup Administration Console window to remain open on
the console.vrtsedu.lab system. You return to window later in this lab activity.
Using NetBackup command line interfaces to verify storage servers, disk pools, and
storage units
NetBackup provides commands that can be used to verify the configuration and status of storage
servers, disk pools, and storage units.
Most NetBackup configuration is housed on the master server. When using NetBackup
commands to check configuration and status of configured entities, the commands are executed
from the command line of the master server.
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
F: Configuring a policy to write backups to AdvancedDisk storage
In the steps that follow, you will connect to a remote Linux master server system and view the
configuration and status of NetBackup entities such as storage servers, disk pools, and mount
points.
Within a moment a PuTTY window is displayed that will enable you to log in
to lnxmaster.vrtsedu.lab.
28. Log on to your Linux master server using the credentials provided in the table
below.
29. In the Command Prompt or terminal window, type the following NetBackup
command, and press Enter:
31. In the Command Prompt or terminal window, type the NetBackup command
show below and press Enter, to list the configured storage servers:
32. Note the output of the command, including the entry for the AdvancedDisk
storage server that was configured on the media server
system, lnxmedia.vrtsedu.lab.
33. Execute the nbdevquery command again, this time adding the -U command
option as shown below.
34. Scroll through the command output to locate information for the AdvancedDisk
storage server on your media server system - lnxmedia.vrtsedu.lab.
35. Take note of the types of information that are included in the command output.
Using nbdevquery to view disk pool information
You can use options of the nbdevquery command to view the configuration and
status of all disk pools or of selected disk pools.
36. Execute the nbdevquery command, using the --listdp command option to view
disk pool information. Execute the command with the syntax shown below.
37. Take note of the command results. Scroll through the command output to
locate the information for the media_advdisk_dpool disk pool.
38. 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.
39. Take note of the current status of the media_advdisk_dpool disk pool.
You can use the nbdevconfig command to change the status of a specified disk
pool.
43. Take note of the current status of the media_advdisk_dpool disk pool.
[Do not continue] until you have returned the media_advdisk_dpool to a status of
"UP".
You can use the nbdevquery command to list the mount points for disk volumes
associated with all disk pools or with a specific disk pool.
48. Use the nbdevquery command syntax shown below to list mount points for all
disk volumes associated with AdvancedDisk disk pools.
You can use the nbdevquery command to list the logical disk media IDs that
NetBackup assigns to the volumes associated with the disk pools.
52. Use the nbdevquery command syntax shown below to list detailed information
about the disk volumes in the specified disk pool.
The bpstulist command can be used to view configuration information for all
storage units or for specified storage units.
54. Execute the bpstulist command using the syntax shown below, to view
configuration information for all NetBackup storage units.
Command: bpstulist -U
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.
In this exercise you will create a NetBackup policy that backs data up to
an AdvancedDisk storage unit.
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, LAB03-
console-to-media-advdisk, in the Policy name field, and press OK.
6. Use the information provided in the table below to enter the information in
the Attributes tab of the policy.
Frequency
1 weeks (default)
setting:
Retention: 1 year
All other
Use default values
Attributes:
Exclude
All parameters: Use defaults -- no excluded dates
Dates
9. After entering the parameters for the full_frequency schedule, click OK to save
the new schedule.
10. Select the Clients tab of the policy.
11. Use the information provided in the table below to add a single client to the
policy.
12. You may wish to have NetBackup detect the Hardware and Operating System of the
client.
13. After entering the information for the client, click Add to save the client entry.
14. Click Cancel to close the Add Client window.
15. Select the Backup Selections tab of the policy.
16. Use the information provided in the table below to add a single backup
selection to the policy.
Backup Selection parameter Parameter value / setting
17. You may wish to use the Browse function to browse for the folder or folders to
include in the Backup Selections.
18. After entering the backup selection information, click OK to save the backup
selection entry, and to exit the Add Backup Selection window.
19. Select each of the policy tabs - Attributes, Schedules, Clients, and Backup
Selections - one-at-a-time, and verify the contents of each.
20. Click OK to save the policy and to close the Change Policy window.
21. Verify that the LAB03-console-to-media-advdisk policy is included in the list
of policies that is displayed in the All Policies pane of the Administration Console.
In this exercise, you perform a manual backup that writes to AdvancedDisk storage, and monitor
the progress and results of the backup job.
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
5. Click OK in the Manual Backup window, without making any other selections.
Because the LAB03-console-to-media-advdisk policy contains a single schedule
entry in the Schedules tab and a single client entry in the Clients tab, there is no
need to specify the schedule or client that will be involved in the manual backup job.
When you click OK in the Manual Backup window the window is closed and the
backup job is initiated.
6. Select the Activity Monitor entry in the left pane of the Administration
Console.
7. 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.
8. Double-click the entry for the most recent Backup job.
9. Note the information for the job (as obtained from the tabs of the Job
Details window) shown in the table below.
10. 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
storage unit that is configured on the media server system.
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.
The policies in this lab environment have a limited retention period. After the retention period is
over, the images are deleted from the backup media and are not be available for reports. If you
are not able to find the required backup images, execute the backup job as explained in Exercise
G-1.
You can run NetBackup reports to check on the status and operation of AdvancedDisk storage.
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.
Images on Disk
Disk Logs
Disk Report names
5. Click the entry for the Images on Disk report, located in the left pane of
the NetBackup Administration Console.
The right pane of the Administration Console displays the Report Settings that can
be entered in order to generate the desired report output.
6. 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.
Running the Disk Pool Status report
8. Click the entry for the Disk Pool Status report, located in the left pane of
the NetBackup Administration Console.
9. 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.
Run the Disk Logs and Disk Storage Unit Status reports as time permits.
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.
Most of the NetBackup configuration is housed in catalogs and files on the master server. Hence,
when using NetBackup commands to check or modify configuration and status of configured
entities, the commands are typically executed from the command line of the master server.
10. Access the open PuTTY session window that is connected to your master
server, lnxmaster.vrtsedu.lab.
11. Execute the following nbdevquery command to display the volumes currently
in the media_advdisk_dpool.
The nbdevconfig command provides the --adddv option to add a disk volume to a disk pool.
13. Identify the disk volume to be added to the disk pool as shown in the table
below.
Linux /advdisk3
14. At the command prompt or terminal window of your master server, type
the nbdevconfig command shown below, and press Enter, to add the new disk
volume to the media_advdisk_dpool disk pool.
Be careful with spelling when using the nbdevconfig command; some of the
command options (e.g. adddv and AdvancedDisk) are easily misspelled.
15. Verify the results of the command, as indicated in the command output.
16. Execute the following nbdevquery command to display the volumes currently
in the media_advdisk_dpool:
17. Verify the results of the command, as indicated in the command output.
18. Execute the following nbdevquery command to view the status of
the media_advdisk_dpool disk pool.
In this lab, you will use the NetBackup Administration Console to create a storage unit group.
In the steps that your follow, you log into the NetBackup Administration Console and create a
storage unit group.
With the Storage Unit Groups entry selected, the right pane of the Administration
Console displays any storage unit groups that have been configured.
By default, no storage unit groups are configured in NetBackup. One storage unit
group, master_disk-tape_stugroup has been pre-configured for this course.
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.
5. After entering the storage unit group parameters, click OK to save the storage
unit group.
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.
End of Lab