Download as pdf or txt
Download as pdf or txt
You are on page 1of 39

Lab 03: NetBackup storage

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.

This lab includes the following exercises:

• Exercise A - Viewing disk storage on a NetBackup server system


• Exercise B: Configuring a BasicDisk storage unit
• Exercise C: Identifying AdvancedDisk storage server
• Exercise D: Configuring an AdvancedDisk Disk Pool
• Exercise E: Verifying AdvancedDisk configuration
• Exercise F: Configuring a policy to write backups to AdvancedDisk storage
• Exercise G: Performing and monitoring backups to AdvancedDisk storage
• Exercise H: Monitoring and managing AdvancedDisk disk pools
• Exercise I: Configuring a storage unit group

Exercise A: Viewing disk storage on a NetBackup server system

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.

1. Access the desktop of the console.vrtsedu.lab system.

console.vrtsedu.lab UserID: VRTSEDU\Administrator Password: P@ssw0rd

2. If necessary, log in to the console.vrtsedu.lab system with the


username, VRTSEDU\Administrator, and the password, P@ssw0rd.
3. To connect to the Linux lab system, right-click the PuTTY shortcut and
select Open.

Within a moment the PuTTY Configuration window is displayed.

4. In the Saved Session pane select lnxmaster.vrtsedu.lab then click Open.


Within a moment a PuTTY window is displayed that will enable you to log in
to lnxmaster.vrtsedu.lab.

5. Log on to your Linux master server using the credentials provided in the table
below.

lnxmaster.vrtsedu.lab User name: root Password: P@ssw0rd

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.

Viewing existing BasicDisk storage unit settings

In the steps that your follow , you log into the NetBackup Administration Console and view
existing BasicDisk storage unit settings.

1. Access the desktop of the console.vrtsedu.lab system.


2. If necessary, log on to the console.vrtsedu.lab system using the credentials
provided above.
3. Access the open NetBackup Administration Console window
on console.vrtsedu.lab.

If there is no open Administration Console window, locate and right-click


the NetBackup 8.3 Administration Console shortcut, then select Open. Enter
the Host name, User name, and Password in the Administration Console login
screen to connect to your master server. See the table below.
Master server name User Name Password

lnxmaster.vrtsedu.lab root P@ssw0rd

At times, you may be unable to login to the NetBackup Administration Console,


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

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

Execute the following command on the lnxmaster server to generate a new


CRL: /usr/openv/netbackup/bin/nbcertcmd -getCRL
If you are issuing the command from the console server, then execute the
following:install_path\Veritas\Netbackup\bin\nbcertcmd –getCRL -
server lnxmaster.vrtsedu.lab

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.

4. Expand NetBackup Management in the left pane of the Administration


Console.
5. Locate and expand the Storage entry, located under NetBackup
Management in the left pane of the Administration Console.
6. 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.

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.

Storage Unit parameter: Setting /value:

Storage unit name: master_bdisk_stu

Storage unit type: Disk

On demand only: not selected

Disk type: BasicDisk


Storage Unit parameter: Setting /value:

Media server: lnxmaster.vrtsedu.lab

Absolute pathname to directory: /bdisk

Directory can exist of the root filesystem: not selected

Maximum concurrent jobs: 1

Reduce fragment size to: __ Megabytes not selected

High water mark: 98 %

Low water mark: 80 %

Enable Temporary Staging Area… not selected

8. Click Cancel to close the Change Storage Unit window without making
changes to the storage unit configuration.

Viewing a BasicDisk storage unit on media server system

In the steps that you follow, you will connect to a remote media server lab systems and then
review the disk storage information.

9. Access the desktop of the console.vrtsedu.lab system.


10. If necessary, log in to the console.vrtsedu.lab system with the
username, VRTSEDU\Administrator, and the password, P@ssw0rd.
11. To open an SSH session with the Linux system, lnxmedia.vrtsedu.lab, right-
click the Putty shortcut and select Open.

Within a few moments a PuTTY Configuration window will be displayed.

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

14. At the command prompt on lnxmedia.vrtsedu.lab, execute the ‘df’ command


to view the file systems and mount points that have been configured on the Linux
media server system.

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 .

File system and mount point for BasicDisk storage on lnxmedia.vrtsedu.lab

Linux (lnxmedia.vrtsedu.lab) /dev/sda5 (file system) -- /bdisk (mount point)

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.

Configuring a Basic Disk Storage Unit

In the steps that follow, you use the NetBackup Administration Console to configure a Basic
Disk Storage Unit associated with your media server system

17. Access the desktop of your console.vrtsedu.lab system.


18. Access the NetBackup Administration Console window that is open
on console.vrtsedu.lab.
19. Expand NetBackup Management and select Storage Units in the left pane of
the Administration Console.

NetBackup Management > Storage > Storage Units

20. Select Actions and then select the option to create a new Storage Unit in the
Administration Console tool bar.

Actions > New > Storage Unit


The New Storage Unit window is displayed.

21. Use the parameters provided in the table to create a new BasicDisk storage unit.

Storage Unit parameter: Setting / value:

Storage unit name: media_bdisk_stu

Storage unit type: Disk

On demand only: Not selected (default)

Disk type: BasicDisk

Media server: lnxmedia.vrtsedu.lab

Absolute pathname to directory: /bdisk/

Directory can exist of the root filesystem: not selected (default)

Maximum concurrent jobs: 1 (default)

Reduce fragment size to: __ Megabytes not selected (default)

High water mark: 98 % (default)

Low water mark: 80 % (default)

Enable Temporary Staging Area. not selected (default)

22. Click OK to save the new storage unit settings.


23. Verify that the new media_bdisk_stu storage unit is visible in the list of storage
units that is displayed in the right pane of the NetBackup Administration Console.

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.

1. Access the desktop of the console.vrtsedu.lab system.

console.vrtsedu.la UserID: vrtsedu\Administrato Password: P@ssw0r


b r d

2. If necessary, log in to the console.vrtsedu.lab system with the


username, vrtsedu\Administrator, and the password, P@ssw0rd.
3. To connect to the Linux lab system, double-click the Putty shortcut located on
the desktop of the console VM.
4. Locate and double-click the pre-configured entry for the Linux media
server, lnxmedia.vrtsedu.lab.

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.

lnxmedia.vrtsedu.lab UserID: root Password: P@ssw0rd

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.

Exercise D: Configuring an AdvancedDisk Disk Pool

Configuring NetBackup to enable the AdvancedDisk feature consists of three primary steps:

• Configuring an AdvancedDisk storage server.


• Configuring an AdvancedDisk disk pool.
• Configuring an AdvancedDisk storage unit.

In this exercise, you perform each of these primary steps.

Configuring an AdvancedDisk storage server

In the steps that follow, you use the Configure Disk Storage Server wizard to create an
AdvancedDisk storage server.

1. Access the desktop of the console.vrtsedu.lab system.


console.vrtsedu.la UserID: vrtsedu\Administrato Password: P@ssw0r
b r d

2. Log on (if necessary) to console.vrtsedu.lab, using the credentials provided


above.
3. Locate and double-click the NBU 8.3 Administration Console icon, located on
the desktop of the console.vrtsedu.lab system, to launch the NetBackup
Administration Console.
4. Enter the Host name, User name, and Password in the Administration Console
login screen using the information in the table below.

Master server name User Name Password

lnxmaster.vrtsedu.lab root P@ssw0rd

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.

The disk storage types are listed in the table below.

Types of disk storage that are available for selection:

AdvancedDisk

Media Server Deduplication Pool

OpenStorage

PureDisk Deduplication Pool

10. Verify the radio button is selected for AdvancedDisk.


11. Click Next to continue.

The Storage Server Configuration Wizard displays the Add Storage


Server window.

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:

Media server: lnxmedia.vrtsedu.lab

Storage server type: AdvancedDisk (default)

Storage server name: lnxmedia.vrtsedu.lab (default)

13. After entering the information in the previous table click Next to continue.

The Storage Server Summary screen is displayed, as illustrated below.

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.

17. Click Next to continue to the configuration of the disk pool.


Configuring 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.

Storage Server name First disk volume Second disk volume

lnxmedia.vrtsedu.lab /advdisk1 /advdisk2

19. After selecting the volumes indicated in the table above, click Next to continue.

The Additional Disk Pool Information screen is displayed.

20. Using the values provided in the table below, enter the information in the fields
of the Additional Disk Pool Information screen.

Storage server type: AdvancedDisk

Disk Pool name: media_advdisk_dpool

Comments: AdvancedDisk disk pool on media server

High water mark: 98% (default setting)

Low water mark: 80% (default setting)

Limit I/O streams: Selected (mark the check box)

# of streams per volume: 2 per volume

21. After entering the parameter values in the fields of the Additional Disk Pool
Information screen, click Next to continue.

The Disk Pool Configuration Summary screen is displayed.


22. 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.

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.

Configuring an AdvancedDisk storage unit

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:

Storage unit media_advdisk_stu (change from


name: the default name)

Media Server
entries:

Use any available


Not selected
media server…

Only use the


selected media Selected
server:

Media Server: Select > lnxmedia.vrtsedu.lab

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.

The Finished screen is displayed.

If successful, the message "You have successfully completed the NetBackup Disk
Pool Configuration Wizard" is displayed.

29. Verify that the "successful" message is displayed.


30. Click Finish to close the Storage Server Configuration Wizard window.

Exercise E: Verifying AdvancedDisk configuration

In this exercise, you verify the configuration of the AdvancedDisk storage server, disk pool, and
storage unit that you created in the previous exercise.

Verifying AdvancedDisk storage server configuration using the Administration


Console

1. Access the NetBackup Administration Console window


on console.vrtsedu.lab.
2. Navigate to Media and Device Management and then select Credentials and
then Storage Servers, in the left pane of the Administration Console.

Media and Device Management > Credentials > Storage Servers

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.

Media and Device Management > Devices > Disk Pools


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.

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.

12. Click the Down Disk Pool menu option.


13. Note the immediate change in the contents of the disk pool Status column, as
displayed in the right pane of the Administration Console.
14. Verify that the Status of the disk pool is "Down".
15. 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.
16. Verify that the Status of the media_advdisk_dpool is "Up".

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.

Verifying AdvancedDisk storage unit configuration using the Administration Console

17. Navigate to NetBackup Management and then Storage and select Storage
Units in the left pane of the NetBackup Administration Console.

NetBackup Management > Storage > Storage Units

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.

The Change Storage Unit window is displayed.

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

Using the nbdevquery command

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.

23. 1. Access the desktop of the console.vrtsedu.lab system.

console.vrtsedu.la UserID: vrtsedu\Administrato Password: P@ssw0r


b r d

24. If necessary, log in to the console.vrtsedu.lab system with the


username, vrtsedu\Administrator, and the password, P@ssw0rd.
25. Locate and double-click the REMOTE SYSTEM ACCESS folder on the desktop of
the console.vrtsedu.lab system, to open the folder.
26. To connect to the Linux lab system, double-click the Putty shortcut located in
the REMOTE SYSTEM ACCESS folder.

Within a moment the PuTTY Configuration window is displayed.


27. Locate and double-click the pre-configured entry for the Linux master
server, lnxmaster.vrtsedu.lab.

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.

lnxmaster.vrtsedu.lab UserID: root Password: P@ssw0rd

29. In the Command Prompt or terminal window, type the following NetBackup
command, and press Enter:

Command: nbdevquery -help

30. Note the many nbdevquery command options and arguments.

To facilitate the execution of NetBackup commands without the need to navigate to


the folder or directory that houses the command, it is recommended that you set
the PATH environment variable on NetBackup servers to include the folders and
directories that house commonly used NetBackup commands.
In this lab environment, the PATH environment variable has already been set on the
master server and media server systems.

Using nbdevquery to view storage server information

31. In the Command Prompt or terminal window, type the NetBackup command
show below and press Enter, to list the configured storage servers:

Command: nbdevquery -liststs

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.

Command: nbdevquery -liststs -U

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.

Command: nbdevquery -listdp -U

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.

Command: nbdevquery -listdp -U -dp media_advdisk_dpool

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.

The current status of the disk pool should be "UP".

Using the nbdevconfig command to change the status of a disk pool

You can use the nbdevconfig command to change the status of a specified disk
pool.

40. Use the nbdevconfig command to change the status of


the media_advdisk_dpool from "UP" to "DOWN", using the command syntax shown
below.

Command: nbdevconfig -changestate -stype AdvancedDisk -dp


media_advdisk_dpool -state DOWN

41. Note the output of the nbdevconfig command.


42. 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).

Command: nbdevquery -listdp -U -dp media_advdisk_dpool

43. Take note of the current status of the media_advdisk_dpool disk pool.

The current status of the disk pool should be "DOWN".


44. Use the nbdevconfig command to change the status of
the media_advdisk_dpool from "DOWN" to "UP". Use the command syntax shown
below.

Command: nbdevconfig -changestate -stype AdvancedDisk -dp


media_advdisk_dpool -state UP

45. Note the output of the nbdevconfig command.


46. 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).
47. Take note of the current status of the media_advdisk_dpool disk pool.

The current status of the disk pool should be "UP".

[Do not continue] until you have returned the media_advdisk_dpool to a status of
"UP".

Using nbdevquery to view mount points for disk volumes

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.

Command: nbdevquery -listmounts -U

49. Note the results of this command.


50. 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.

Command: nbdevquery -listmounts -U -dp media_advdisk_dpool

51. Note the results in the output of this command.

Using nbdevquery to view the logical disk media ID

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.

Command: nbdevquery -listdv -dp media_advdisk_dpool -stype AdvancedDisk -U


53. Note the logical Disk Media ID that NetBackup assigns for both disk volumes
associated with this disk pool.

Using bpstulist to view storage unit details

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

55. Note the results of the command.


56. Execute the bpstulist command again, using the syntax shown below, to view
configuration information for a specific NetBackup AdvancedDisk storage unit.

Command: bpstulist -label media_advdisk_stu -U

57. Note the results of the command.


58. Minimize the PuTTY session window that is connected to your master
server, lnxmaster.vrtsedu.lab. You will return to this window again in a later
exercise.

Exercise F: Configuring a policy to write backups to


AdvancedDisk storage

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.

1. Access the desktop of the console.vrtsedu.lab system.


2. Locate and access the open NetBackup Administration Console window.
3. Navigate to NetBackup Management and select Policies in the left pane of the
Administration Console.
NetBackup Management > Policies

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.

4. Select Actions and then New and then select Policy.

Actions > New > Policy

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.

The LAB03-console-to-media-advdisk policy is opened for editing in the Change


Policy window.

6. Use the information provided in the table below to enter the information in
the Attributes tab of the policy.

Policy Attribute Parameter value / setting

Policy type: MS-Windows

Policy storage: media_advdisk_stu

All other policy Attributes: Use default settings

7. Select the Schedules tab of the policy.


8. Use the information provided in the table below to create as
single Full_Backup schedule for the policy.

Schedule tab Parameter Value / setting

Attributes Name full_frequency

Type of Backup Full Backup

Schedule type Frequency


Schedule tab Parameter Value / setting

Frequency
1 weeks (default)
setting:

Retention: 1 year

All other
Use default values
Attributes:

Start Use defaults -- no start window -- enables


All parameters:
Window only manual backups

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.

Client parameter Parameter value / setting

Detect client operating system: Checked

Client name: console.vrtsedu.lab

Hardware and operating system: Windows-x64, Windows

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

Pathname or directive: E:\data\complex

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.

xercise G: Performing and monitoring backups to


AdvancedDisk storage

In this exercise, you perform a manual backup that writes to AdvancedDisk storage, and monitor
the progress and results of the backup job.

Initiating a manual backup

1. Access the NetBackup Administration Console on console.vrtsedu.lab.


2. Navigate to NetBackup Management and then select Policies in the left pane
of the Administration Console.

NetBackup Management > Policies

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. Right-click the entry for the LAB03-console-to-media-advdisk policy, located


in the All Policies pane.
4. In the resulting menu, click Manual Backup.

The Manual Backup window is displayed.

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.

Monitoring the manual backup job

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.

The Job Details window is opened for the selected job.

9. Note the information for the job (as obtained from the tabs of the Job
Details window) shown in the table below.

Job Details field Field contents

Backup type: Immediate

Client name: console.vrtsedu.lab

Job Policy: LAB03-console-to-media-advdisk

Job Schedule: full_frequency

Status: “0” – The requested operation was successful

Storage Unit: media_advdisk_stu

Media Server: lnxmedia.vrtsedu.lab

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.

11. Close the Job Details window.

Exercise H: Monitoring and managing AdvancedDisk disk pools

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.

Running NetBackup disk reports

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.

NetBackup Management > Reports > Disk Reports

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.

Disk Report names

Images on Disk

Disk Logs
Disk Report names

Disk Storage Unit Status

Disk Pool Status

4. Running the Images on Disk report

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.

Parameter Setting / value

Client: <All Clients> (default)

Disk Type: AdvancedDisk

Disk Pool: media_advdisk_dpool

Volume: <All> (default)

7. Click the Run Report button.

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.

Parameter Setting / value

Disk Pool: media_advdisk_dpool (AdvancedDisk)

10. Click the Run Report button.

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.

Running other Disk Reports

Run the Disk Logs and Disk Storage Unit Status reports as time permits.

Adding a disk volume to an AdvancedDisk disk pool

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.

Viewing the current status of the disk 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.

Command: nbdevquery -listmounts -U -dp media_advdisk_dpool


12. Note the paths (disk volumes) in the media_advdisk_dpool as shown in the
table below.

Master Server OS Type Paths

Linux /advdisk1, /advdisk2

Adding a volume to a disk pool using the nbdevconfig command

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.

Master Server OS type Path to add

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.

Command: nbdevconfig -adddv -stype AdvancedDisk -dp media_advdisk_dpool -dv


/advdisk3

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:

Command: nbdevquery -listmounts -U -dp 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.

Command: nbdevquery -listdp -U -dp media_advdisk_dpool


19. Verify that the disk pool now contains three disk volumes.
20. Close the PuTTY session window connected to your master server.

Exercise I: Configuring a storage unit group

In this lab, you will use the NetBackup Administration Console to create a storage unit group.

Configuring a storage unit group

In the steps that your follow, you log into the NetBackup Administration Console and create a
storage unit group.

1. Access the NetBackup Administration Console on console.vrtsedu.lab.


2. Navigate to Storage Unit Groups under NetBackup Management in the left
pane of the Administration Console.

NetBackup Management > Storage > Storage Unit Groups

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.

Actions > New > Storage Unit Group

The New Storage Unit Group window is displayed.

4. Use the parameters provided in the table below to configure the new storage
unit group.

Storage Unit Group


Setting / value
parameter

Storage unit group name: bdisk-tape_stugroup


Storage Unit Group
Setting / value
parameter

Storage unit group


Backup (default)
configured for:

Storage units to be used in master_bdisk_stu (first) media_bdisk_stu (second)


the group: master_tape_stu (third)

Storage unit selection: Prioritized

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.

Your results should be similar to those illustrated in the figure below.

7. Close any open windows.

End of Lab

You might also like