Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

NetWorker: How to Use NetWorker nsradmin -C Resource Validation

Summary: NetWorker: How to Use NetWorker nsradmin -C Resource Validation

This article applies to   This article does not apply to 

Instructions

Video: How to Use NetWorker nsradmin -C Resource Validation

Watch on YouTube

NetWorker's nsradmin can be used for validation checking of certain resources in NetWorker using the nsradmin -C option.

Here is how to use it.
Use Case 1:  Check NSR peer information resources.
Syntax: 
nsradmin -C -s [NetWorker server name] -p nsrexec "type : NSR peer information"
What it does:  For each NSR peer information resource in the NetWorker server's NSRLA database, it checks that the NetWorker instance id and certificate match those found in the relevant NetWorker client's resource.  It connects to each client to check this.

Result:
  • Failure:  The 'NSR peer information' resource for [NetWorker client] in [NetWorker server]'s NSRLA database is out of date.  Teh 'NW instance' attribute does not match the one stored in [NetWorker client]'s NSRLA resource.  To correct the problem, delete the NSR peer information resource for [NetWorker client] in [NetWorker server]'s NSRLA database.
  • Failure:  Unable to connect to [NetWorker client]'s NSRLA database….
  • Success: Matching peer information
Use Case 2:  Check all NetWorker clients.
Syntax:  
nsradmin -C -s [NetWorker server name] "type : NSR client"
What it does: For each client resource in the NetWorker server's NSR database (as well as hosts listed in their storage node fields, server network interface fields and aliases), it will check the client name; client id; client FQDN; IP addresses; reverse lookup results; client port connectivity and time synchronization.

Result Details of each client:  Name; Client ID; Canonical hostname; IP Address; Reverse lookup; Ping; Name matches NSRLA Resource; client time synchronization.
           Names checked:  Forward lookup errors; Reverse lookup errors; Ping errors.
           Clients with errors:
           Aliases checked:
           Server Network Interfaces checked:
           Storage Nodes checked:
           Total errors:

Use Case 3:  Check One NetWorker Client.

Syntax:
nsradmin -C -s [NetWorker server name] "type : NSR client; name : [NetWorker client name] "
What it does:  Same as Use Case 2, but for one client only

Result:  Same as Use Case 2, but for one client only

Use Case 4:  Check NetWorker Storage Nodes (available only from NetWorker version 8.2.1.6).
Syntax:
nsradmin -C -s [NetWorker server name] "type : NSR Storage Node"
What it does:  For each NSR Storage Node resource in this NetWorker server's NSR database, verify that its name is resolvable using DNS, that it can be connected to and list all configured devices.

Result: For each Storage Node:
  • Name
  • Version
  • Canonical hostname
  • IP Address
  • Reverse lookup
  • Ping port 7938
  • Device Name
  • Device Enabled
  • Device Type
  • Total Names checked:
  • Total RAP errors:
  • Total Forward lookup errors
  • Total Reverse lookup errors
  • Total Ping errors
  • Total Device access errors
Use Case 5:  Check NetWorker User group hosts.
Syntax:
nsradmin -C -s [NetWorker server name] "type : NSR usergroup"
What it does:  For each NSR user group resource in the NetWorker server's NSR database, verify hosts entries in the 'users' and 'administrator' attributes have properly configured DNS entries and then attempt to connect to each address on port 7938.

Result:   For each User group:
  • User group Name
  • Canonical hostname
  • IP Address
  • Host name Reverse lookup
  • Ping
  • Total hosts checked
  • Total forward lookup errors
  • Total reverse lookup errors
  • Ping errors
  • Clients with errors:

Affected Products

NetWorker

Products

NetWorker