NetWorker: NMM Troubleshooting Guide
Summary: The purpose of this article is for NetWorker Module for Microsoft (NMM) users to correctly check for the most important configuration requirements necessary to support NMM.
Instructions
GATHER INFORMATION:
Minimum Information Required for ANY NetWorker support case:
- NetWorker Server name, OS
- NetWorker Client name, OS
- NetWorker Server Version and Build
- NetWorker Client Version and Build
- NetWorker Module for Microsoft (NMM) Version and Build
The following article provides instructions for collecting these details: NetWorker: Methods for Identifying NetWorker Software version
Minimum Information Required for NMM support:
- Microsoft Application to be backed up or restored
- Microsoft Application version and service pack and rollup
For backup; define the save set and client to be backed up
For restore; define database or save set to be restored and source client which was backed up
Compatibility Issues:
- Before investigating any issue, check compatibility documentation to ensure that no potential compatibility issues exist: E-Lab Interoperability Navigator 2.0-HOME (You must sign in with your Dell support account)
GATHER LOGS:
- From the NetWorker server, collect an NSRGET bundle: NetWorker: How to Use the NSRGet NetWorker Data Collection Tool
- Recommended options:
nsrget -o:elfr
- Recommended options:
- For backup related issues, collect the policy logs folder for the policies where backups failed:
- Linux:
/nsr/logs/policy/POLICY_NAME - Windows (Default):
C:\Program Files\EMC NetWorker\nsr\logs\policy\POLICY_NAME
- Linux:
- From the NetWorker client:
<Networker_install_path>\applogs\nmm.raw<Networker_install_path>\logs\daemon.raw- <Networker_install_path>\applogs
- The main NMM log file is:
nmm.raw - NetWorker: How to use nsr_render_log to render .raw log files
- Also look for files with
.traceextension which is usually indicating networking errors. <Networker_install_path>\nsr\applogs\nwsnap.rawincludes details from the Power Snap component of NMM and if there was an error with a specific part of save stream.
- Additional Logs
Get these ifnmm.rawincludes RM errors<Networker_install_path>\nsr\rmagentps\logs\clientincludes Replication Manager logs:erm_clientXXXXX_debug.logerm_clientXXXXX_detail.logerm_clientXXXXX_summary.log
Configuration Checker
NMM software includes a Config Checker which is an excellent summary report of the system, software, and configuration.
Config Checker can be run during installation of NMM, see NMM Installation Guide, or anytime after NMM installation is complete. NMM documentation is available through Support for NetWorker Module for Microsoft | Manuals & Documents
TO ENABLE DEBUGGING:
To Enable Power Snap debugging.
Add this variable to the Application Information field of the client resource.NSR_PS_DEBUG_LEVEL=level
Where level is number from 1 to 9.
To Enable NMM debugging:
Modify Backup Command in the client resource to nsrsnap_vss_save.exe -D9-D9 can generate a lot of messages and increase size of nmm.raw.
It is good practice to remove -D9 after troubleshooting data has been collected.
PERMISSIONS:
NETWORKER PERMISSIONS:
- For ALL NMM hosts Regardless of Application, or Save set being backed up, you must add to the NSR Resource's Administrator field,
group=administrators,host=nmmhostname
Example 1:
Wheresqlapp1andexmbx1are a host with NMM installed, add this to NSR resource Administrators field:group=administrators,host=sqlapp1group=administrators,host=exmbx1
Or as an alternative, add:user=system,host=sqlapp1user=system,host=exmbx1user=administrator,host=sqlapp1user=administrator,host=exmbx1
- For Clustered instances or cluster server names, add the physical nodes to the remote access field
Example 2:
For virtual SQL serversqlv1with two physical nodessqlapp1andsqlapp2,
Add this to the NSR administrators field:group=administrators,host=sqlapp1group=administrators,host=sqlapp2
Or as an alternative addLuser=system,host=sqlapp1user=system,host=sqlapp2user=administrator,host=sqlapp1user=administrator,host=sqlapp2
AND _
Add this to Remote Access field of the virtualsqlv1client,*@sqlcn1*@sqlcn2
APPLICATION PERMISSIONS:
- See: NMM 9.0 Hyper-V VSS Minimum Required CSV Privileges
- The following Microsoft Applications use VSS for backups.
- Exchange
- SQL Server
- SharePoint
- Hyper-V
- Client Resources: All use backup command:
nsrsnap_vss_save - Save Sets: See below table
The corresponding save sets for each application are listed below:
These are applications that use VSS-based backups.
| Application | Corresponding Save set. |
| SharePoint | APPLICATIONS:\Microsoft Office SharePoint Services |
| SQL Server Default instance - all databases(referred to as "top level" writer) | APPLICATIONS:\SqlServerWriter |
| SQL Server Default instance - single database | APPLICATIONS:\SqlServerWriter\DatabaseOne |
| SQL Server Named instance - all databases(for example, hostname is sqlsv1) | APPLICATIONS:\SqlServerWriter\sqlsv1%5CInstanceName |
| SQL Server Named instance - single database | APPLICATIONS:\SqlServerWriter\sqlsv1%5CInstanceName\DatabaseOne |
| Exchange - all databases | APPLICATIONS:\Microsoft Exchange YYYY |
| Exchange - single database | APPLICATIONS:\Microsoft Exchange YYYY\DBName1 |
| Hyper-V - all VMs | APPLICATIONS:\Microsoft Hyper-V |
| Hyper-V - single VM | APPLICATIONS:\Microsoft Hyper-V\VirtualMachineName |
The NMM client resource's Application Information field must have:
NSR_SNAP_TYPE=vss
Specific Microsoft applications like Exchange and Hyper-V. Require additional variables in the Application Information field. Please refer to NMM User Guides.
SQL Server VDI backups (non-VSS):
NMM uses the Microsoft SQL Server Virtual Device Interface (VDI) API to communicate with SQL Server.
SQL VDI backups use this Backup Command: nsrsqlsv
See table below for Save sets and exceptions to the backup command.
| SQL Server Instance type | Save Set Used for this type. | Backup Command used for this type | Client Resource needed |
| ** Standalone SQL Server ** | NOTE:** single SQL Server, not clustered. | Fully Qualified Domain Name (FQDN) Physical SQL host | |
| SQL Server default instance | MSSQL: |
nsrsqlsv |
|
| SQL Server default instance(single database) | MSSQL:DBName1 |
nsrsqlsv |
|
| SQL Server named instance(Namedinst). | MSSQL$Namedinst: |
nsrsqlsv |
|
| SQL Server named instance(single database) | MSSQL$Namedinst:DBName1 |
nsrsqlsv |
|
| ** Clustered SQL Server ** |
Failover Cluster is installed on two or more nodes which have:
Example: SQL Server virtual name is sqlvr1And two nodes are sqlcn1 and sqlcn2IMPORTANT: the save set does not change regardless of the name of the instance. |
IMPORTANT: You must create client resources using FQDN for the following: cluster nodes: Node 1 sqlcn1Node2 sqlcn2Virtual SQL Server, sqlvr1Schedule the Virtual SQL Server, sqlvr1 |
|
| Default Instance | MSSQL: |
nsrsqlsv -A sqlvr1 |
the backup command option -A sqlvirtualname (is optional) nsrsqlsv should be sufficient because the client resource is SQL Virtual server name, if Domain Name System (DNS) resolves correctly. |
| Named Instance | MSSQL: |
nsrsqlsv -A sqlvr1 |
The -A virtual name is optional. |
| Single Database | MSSQL:DBName1 |
nsrsqlsv -A sqlvr1 |
The -A virtual name is optional. |
| ** SQL Server Always On Availability Group ** |
NOTE: This topic is a more advanced topic for this article. Recommended read. NMM SQL Server VDI User Guide for more details. Example: AlwaysOn Availability Group called AG1Failover Cluster name is AGClusterNode1 is sqlcn1Node2 is sqlcn2. |
IMPORTANT: You must create client resources using FQDN for the following: Failover cluster name ( Agcluster)The node members of the AlwaysOn Availability Group (for example, sqlcn1, and sqlcn2)Schedule only the AGCluster client for AlwaysonSchedule the other SQL nodes in separate groups for non AG database backups. |
|
| Default Instance | MSSQL#AG1 |
nsrsqlsv |
|
| Default Instance (single database) |
MSSQL#AG1:DBName1 |
nsrsqlsv |
|
| Named Instance | MSSQL$NamedInst#AG1 |
nsrsqlsv |
|
| Named Instance(single database) | MSSQL$NamedInst#AG1:DBname1 |
nsrsqlsv |
|
Active Directory backups (non-VSS):
Client Resources is a domain controller and NMM is installed as with NetWorker Client.
Backup Command: nsradsave.exe
Save Set: Uses the Distinguished Name (DN) format:
See table for examples.
| Domain Name and Object Examples | Corresponding Distinguished Name Save |
| ** Not case sensitive without spaces ** | |
| Domain: corp.dell.com | |
| All users container |
cn=users,dc=corp,dc=dell,dc=com |
| Organizational Unit, Engineering |
ou=engineering,dc=corp,dc=dell,dc=com |
| Nested Organizational Unit, For example: Research under Engineering |
ou=research,Ou=engineering,dc=corp,dc=dell,dc=com |
| User object under an OU object CN. |
cn=engadmin,ou=engineering,dc=corp,dc=dell,dc=com |
Other Considerations:
| Topic Area | Considerations and Concerns to Note |
| File System Backups | DO NOT backup file system save sets in the same group as NMM save sets. Starting with NMM 3.0 and above, Use a normal group resource (does not have Snapshot checked) with separate client resource using the file system save set Do not backup this group simultaneously as the NMM application group. this client resource is a separate client resource instance of the same client with backup command blank (as per normal file system). |
| Permissions | All NMM clients must have NetWorker Administrator permissions regardless. of applications, VSS or non-VSS - see this article for permissions References: Admin Guide, Release Notes |
| Installations | NetWorker Client MUST be installed before NMM can be installed. Each NMM version requires a specific Client version. References: Installation Guides, Software Compatibility Guide |
| Database Versions | Each Application server (Exchange, SQL, and so forth) Has specific versions which are supported. References: Software Compatibility Guide, Installation Guide, User Guides |
| Manual Backups | Manual Client-Initiated backups of VSS save sets are NOT supported. |
| Listing VSS Save Sets | Login with a Windows local admin account to the NMM host with NMM installed Run this command and copy the output: nsrsnap_vss_save -? |
Additional Information
For issues specific to VSS failures, see: NetWorker: Troubleshooting Backup Failures Due to VSS Issues