NetBackup81 Add-In For SCVMM Console Guide
NetBackup81 Add-In For SCVMM Console Guide
Release 8.1
Veritas NetBackup Add-in for Microsoft SCVMM
Console Guide
Legal Notice
Copyright 2017 Veritas Technologies LLC. All rights reserved.
Veritas, the Veritas Logo, and NetBackup are trademarks or registered trademarks of Veritas
Technologies LLC or its affiliates in the U.S. and other countries. Other names may be
trademarks of their respective owners.
This product may contain third party software for which Veritas is required to provide attribution
to the third party (Third Party Programs). Some of the Third Party Programs are available
under open source or free software licenses. The License Agreement accompanying the
Software does not alter any rights or obligations you may have under those open source or
free software licenses. Refer to the third party legal notices document accompanying this
Veritas product or available at:
https://www.veritas.com/about/legal/license-agreements
The product described in this document is distributed under licenses restricting its use, copying,
distribution, and decompilation/reverse engineering. No part of this document may be
reproduced in any form by any means without prior written authorization of Veritas Technologies
LLC and its licensors, if any.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, et seq.
"Commercial Computer Software and Commercial Computer Software Documentation," as
applicable, and any successor regulations, whether delivered by Veritas as on premises or
hosted services. Any use, modification, reproduction release, performance, display or disclosure
of the Licensed Software and Documentation by the U.S. Government shall be solely in
accordance with the terms of this Agreement.
http://www.veritas.com
Technical Support
Technical Support maintains support centers globally. All support services will be delivered
in accordance with your support agreement and the then-current enterprise technical support
policies. For information about our support offerings and how to contact Technical Support,
visit our website:
https://www.veritas.com/support
You can manage your Veritas account information at the following URL:
https://my.veritas.com
If you have questions regarding an existing support agreement, please email the support
agreement administration team for your region as follows:
Japan [email protected]
Documentation
Make sure that you have the current version of the documentation. Each document displays
the date of the last update on page 2. The latest documentation is available on the Veritas
website:
https://sort.veritas.com/documents
Documentation feedback
Your feedback is important to us. Suggest improvements or report errors or omissions to the
documentation. Include the document title, document version, chapter title, and section title
of the text on which you are reporting. Send feedback to:
You can also see documentation information or ask a question on the Veritas community site:
http://www.veritas.com/community/
https://sort.veritas.com/data/support/SORT_Data_Sheet.pdf
Contents
About the NetBackup Add-in for System Center Virtual Machine Manager
(SCVMM)
Virtual machines
VM VM VM
VM VM VM
Note: You can upgrade SCVMM without needing to reinstall the add-in.
Introduction and notes 8
Updates to this guide for NetBackup 8.1
Requirement Notes
SCVMM console Download the installation .zip file to the SCVMM console host, or to a
host different Windows host.
Note: The Windows host must have network connectivity to the SCVMM
server.
Additional user Additional user access may be needed in the following situation:
access
User Account Control is enabled on the SCVMM console host.
The user who installs the add-in is not the user who installed the
System Center.
5 For one of the NetBackup products in the list, click the Download Product icon
under Actions.
A list of NetBackup product versions appears.
6 For one of the NetBackup products, click the Download Product icon again.
7 Select the NetBackup_8.1_Plugins.zip file and download the file to the
SCVMM console host.
For assistance with the Veritas Entitlement Management System, see the
following article:
Veritas Entitlement Management User's Guide
8 Unzip the downloaded NetBackup_8.1_Plugins.zip file and locate the
VRTSNBUAddIn.zip file.
Note: Do not unzip the VRTSNBUAddIn.zip file. That zip file is needed for
installation of the add-in.
Zip files for other NetBackup plug-ins are also included in the downloaded
NetBackup_8.1_Plugins.zip file. Those files are not required for the
NetBackup Add-in for SCVMM.
9 Launch the SCVMM console and connect to the SCVMM server.
You need the server's host name or IP address, and its logon credentials.
10 In the SCVMM console, open the Settings workspace, then click the Import
Console Add-in option in the SCVMM ribbon.
11 In the Select an Add-in screen, click Browse and browse for the
VRTSNBUAddIn.zip file.
14 If you had logged into the SCVMM console with your own credentials, restart
the SCVMM console when prompted.
Note: If you selected the Use current Microsoft Windows session identity
option, a restart is not required.
Note: To use the NetBackup add-in, you must log on to the SCVMM console with
the Administrator role. If you log on to SCVMM with a different role, the add-in
functionality is disabled.
Note: The first time you use the NetBackup add-in, an End User License Agreement
(EULA) appears. To use the add-in, you must accept the EULA.
2 Authorize the NetBackup See Authorizing the NetBackup add-in to restore virtual
Add-in to restore virtual machines on page 23.
machines.
UNIX, Linux
/usr/openv/wmc/bin/install/manageClientCerts -create clientName
clientName is the DNS name of the SCVMM console host where the add-in is
installed. The manageClientCerts command returns the location of a
compressed file that contains the authentication token.
Note: If the SCVMM console host is a separate host from the SCVMM server,
generate the token for the SCVMM console host (not for the SCVMM server
host name).
With the master server token, the add-in can be authorized to restore virtual
machines.
See Authorizing the NetBackup add-in to restore virtual machines on page 23.
To create an authentication token (certificate) on the NetBackup appliance
as master server
1 To generate the certificate, see the "Manage > Certificates" topic in the
NetBackup Appliance Administrator's Guide, available from this location:
http://www.veritas.com/docs/000002217
2 Provide the compressed certificate file to the SCVMM administrator.
With the master server certificate, the add-in can be authorized to restore virtual
machines.
See Authorizing the NetBackup add-in to restore virtual machines on page 23.
Installing the NetBackup Add-in for SCVMM 23
Configuring the NetBackup Recovery Wizard
5 Enter the following under Add Master Server to specify a NetBackup master
server and its authentication token.
6 To verify that the SCVMM console can communicate with the master server,
click Check Status.
If the communication is successful, the Connection Status field reads
Connected.
7 To add other master servers and their authentication tokens, click Add Master
Server in the upper right and repeat step 5 and 6.
8 To delete an authorization, click the delete icon next to the master server name.
When the authorization is deleted, the add-in can no longer restore from the
backups that the master server performed.
Installing the NetBackup Add-in for SCVMM 26
Configuring the NetBackup Recovery Wizard
9 To edit an authorization, click the edit icon opposite the master server name.
You can enter a different web services port, or click Update Token to select
a different authentication token.
Installing the NetBackup Add-in for SCVMM 27
Configuring the NetBackup Recovery Wizard
10 Click Save.
11 Click Close.
For some environments, it may be necessary to allow the token to work with
additional host names or IP addresses. An example is a clustered SCVMM server:
Installing the NetBackup Add-in for SCVMM 28
Configuring the NetBackup Recovery Wizard
the request for access to the NetBackup master may come from a different host
name or IP address than the one that was provided when the token was generated.
To allow access to NetBackup from such environments, you can use the
manageClientCerts command to do the following:
Add another host name (or IP address) of the SCVMM console host for the
existing token. The added host name or IP address is referred to as an alias.
Note: You can add multiple aliases for a token.
Note that IPv4 and IPv6 addresses are supported.
Delete a host name or IP address from a token.
Allow the token to be used on any SCVMM console host.
List existing aliases for a token.
The manageClientCerts command is in the following location:
Windows:
install_path\NetBackup\wmc\bin\install\manageClientCerts.bat
UNIX, Linux:
/usr/openv/wmc/bin/install/manageClientCerts
Where host_name_used_to_generate_token is the host name that was specified when the token
was generated, and additional_host_name_for_token is the additional host name of the SCVMM
console host.
For example:
Command output:
For example:
In this example, 10.80.154.0/29 allows 6 hosts with IP addresses from 10.80.154.1 to 10.80.154.7
to use the same token.
Note: For a range of IP addresses, manageClientCerts supports IP net masking, sometimes
called Classless Inter-Domain Routing notation (CIDR).
Note: You can add multiple IP addresses for a token. If not adding a range of addresses, add one
IP address for each instance of manageClientCerts.
Caution: Use the -ANY option with care. Allowing any host to use the token may introduce a security
risk.
Where host_name_used_to_generate_token is the host name that was specified when the token
was generated, and host_name_to_delete is the name to be removed.
Installing the NetBackup Add-in for SCVMM 30
Configuring the NetBackup Recovery Wizard
Where host_name_used_to_generate_token is the host name that was specified when the token
was generated, and IP_address_to_delete is the IP address to be removed.
Table 2-5 List the host names or IP addresses (aliases) that have been
defined for a token
Command output:
In this example, the alias is SCVMM1.example.com. If the token was set with the -ANY option (to
accept connections from any host or any IP address), the -listAliases output is the following:
UNIX, Linux
/usr/openv/wmc/bin/install/manageClientCerts -delete clientName
Where clientName is the DNS name of the SCVMM console host where the
add-in is installed.
The -delete option removes the authentication token and its compressed file
from the master server. The add-in is no longer authorized to restore virtual
machines from the backups that this master server made.
UNIX, Linux
/usr/openv/wmc/bin/install/manageClientCerts -renew clientName
Where clientName is the DNS name of the SCVMM console host where the
add-in is installed.
The -renew option deletes the token and creates a new one. Any aliases that
existed for the token are retained.
See Listing all current authorization tokens on page 32.
See Adding or deleting an additional host name or IP address for an
authentication token on page 27.
2 Use the plug-in's Register Master Servers option to re-register the master
server using the renewed authentication token.
See Authorizing the NetBackup add-in to restore virtual machines on page 23.
UNIX, Linux
/usr/openv/wmc/bin/install/manageClientCerts -list
Sample output:
The command lists the SCVMM console hosts for which the tokens were created
as well as their expiration dates. It can help diagnose communication problems
between the SCVMM console host and the master server when a certificate
has expired.
For well-formatted output, set the command prompt or shell screen size to
more than 100 units.
Server names that are longer than 40 characters are truncated: Characters
beyond the first 40 are replaced with ....
Chapter 3
Recovering virtual
machines
This chapter includes the following topics:
Note: The NetBackup Recovery Wizard does not support these restore
enhancements. Use the NetBackup Administration Console or the nbrestorevm
command to generate a new GUID or set a new display name when restoring
a VM.
Note: To have access to the add-in, you must install it yourself. If you did not install
it, the NetBackup option does not appear in the SCVMM ribbon.
Table 3-1 Fields in the Virtual Machine Selection screen of the NetBackup
Recovery Wizard
Field Description
Master Server Use the drop-down list to select the master server that made the backup.
If the master server is not in the drop-down, you must add the server to
the master server list.
VM Identifier Enter the display name, host name, or GUID of the virtual machine that
you want to restore.
Note: This field is not case-sensitive.
Next When you are done, click Next to go to the next screen of the wizard.
Field Description
Backup Image Attributes Lists the information about the virtual machine backup image.
Select Another Image Click this option to select a different backup image. See the table in the following topic:
Virtual Machine Attributes Lists the information about the virtual machine at the time it was backed up.
Virtual Machine Files Lists the files that are included in the virtual machine image.
Note: To see the entire path, you can pull the Name column border to the right, or
hover over the row to display a tool tip.
Next When you are done, click Next to go to the next screen of the wizard.
Recovering virtual machines 39
Restore Virtual Machine Wizard screens
Figure 3-3 Select Another Image screen in the NetBackup Recovery Wizard
for SCVMM
Field Description
Last 7 Days Shows the backup images that were made within the last week,
last 2 weeks, last month, or within a period that you specify.
Last 14 Days
Click Custom to select the period. Use the pull-down arrows to
Last 30 Days
select a different date, and click Search. The images that fall within
Custom the search dates are displayed.
Figure 3-4 Restore Options screen in the NetBackup Recovery Wizard for
SCVMM
Fields Description
VM identifier The display name or other identifier of the virtual machine to restore.
Hyper-V server The Hyper-V server on which to restore the virtual machine. The default
is the original server.
The pull-down lists the Hyper-V servers that the SCVMM server
manages.
Recovering virtual machines 41
Restore Virtual Machine Wizard screens
Fields Description
Restore Location The directory in which to restore the virtual machine. The default is the
original directory.
Note: To create a new directory for the restore location, click the
Explore directory link at the bottom of the Select Destination Folder
dialog. Administrator privileges may be required.
Reset to Original Resets the restore location to the original Hyper-V server and original
directory.
Overwrite If a virtual machine with the same display name exists at the destination,
existing virtual that virtual machine must be deleted before the restore begins.
machine Otherwise, the restore fails.
Fields Description
Next When you are done, click Next to go to the next screen of the wizard.
Figure 3-5 Review Settings screen in the NetBackup Recovery Wizard for
SCVMM
Field Description
Virtual Machine Lists the details of the virtual machine that is selected for restore.
Details
Image Details Lists the details of the backup image from which the virtual machine is
to be restored.
Recovering virtual machines 43
Checking the status of a recovery job
Field Description
Recover Runs pre-recovery checks to validate your selections. If the checks are
successful, it starts the recovery.
When you click Recover, a pop-up shows the job ID of the recovery
job. The following topic explains how to check the status of the recovery:
For all jobs not in progress, the Status column reads Completed or Failed.
If the NetBackup master server is disconnected or goes down during the recovery,
the Status column is updated to:
Failed Lost connection with NetBackup Master Server.
Note: The Restart and Cancel buttons are not supported and are grayed out.
Chapter 4
Troubleshooting
This chapter includes the following topics:
Changing the logging level for the NetBackup Add-in for SCVMM
The pre-recovery checks in the Recovery Wizard of the NetBackup Add-in for
SCVMM return out-of-date information about the VM
Next button in the NetBackup Add-in Recovery Wizard is enabled even though
required input has not been entered
The NetBackup Add-in Recovery Wizard does not prompt to overwrite the VM,
and the recovery fails
Logging Description
details
Log location The log location depends on where SCVMM is installed and who is logged
on.
See Viewing log messages for the NetBackup Add-in for SCVMM
on page 47.
Log All log messages are written to the same log file in a 24-hour period. Each
retention log file is retained for 7 days and then is automatically deleted.
period
4 Click Settings.
5 Click View Logs.
Note: The logs are written to the directory where you installed the NetBackup
add-in.
Troubleshooting 49
Changing the logging level for the NetBackup Add-in for SCVMM
7 When you are finished, close the Logs window and click Cancel.
By default, logging is set to the minimum level of detail (Error level). The
following levels are available:
Debug Includes the information, warning, and error messages - the highest
level of detail.
6 Click Save.
A virtual machine with the same identity exists on <host> and the
overwrite option was not selected. Please review restore options and
select overwrite to continue.
To recover the VM, go back to the wizard's Restore Options screen and select
Overwrite existing virtual machine, and rerun the recovery.
Note: The wizards Next button should remain grayed out until the input for each
screen is completed. To run the restore, go back through the wizard and make the
required entries. You should also delete the invalid master server.
Troubleshooting 52
The NetBackup Add-in Recovery Wizard does not prompt to overwrite the VM, and the recovery fails
To correctly determine the problem and the corrective action, you must review the
VxUL log file. On the master server, enter the following command:
vxlogview -i nbwebservice -p nb L -E
Troubleshooting 53
Troubleshooting master server communication failures in the NetBackup Add-in for SCVMM
Error example 1
The log file includes messages similar to the following:
02/17/2017 10:03:37.831 [Error] Remote host name does not match the
name in the certificate, remote name:scvmm02.domain.com, name from
certificate:scvmm02
In the log snip shown, the name in the token is scvmm02 and the required name is
scvmm02.domain.com.
Veritas recommends that you revoke the existing token, generate a new token with
the required name, and use the new token on the SCVMM console host. If you
cannot do that, add the SCVMM console host's fully qualified domain name as an
alias for the existing token, as follows:
manageClientCerts -addAlias scvmm02 -HOST scvmm02.domain.com
-ANY allows any host or any IP address to communicate with the NetBackup server
by means of this token.
Caution: The -ANY option is not a secure method for restores. Please see the
NetBackup Commands Reference Guide for more information on the
manageClientCerts command.
Error example 2
The log file includes messages similar to the following:
02/17/2017 16:18:13.951 [Error] Remote host name does not match the
name in the certificate, remote name:10.10.10.11, name from
certificate:scvmm02
In the log snip shown, the name in the token is scvmm02 and the required name is
10.10.10.11.
Veritas recommends that you revoke the existing token, generate a new token with
the required name, and use the new token on the SCVMM console host. If you
cannot do that, add the SCVMM console host's TCP/IP address as an alias for the
existing token, as follows:
manageClientCerts -addAlias scvmm02 -IP 10.10.10.11
-ANY allows any host or any IP address to communicate with the NetBackup server
by means of this token.