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 info resource in the NSRLA database, it checks that the instance ID and certificate match the relevant 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. The '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 in the NSR database (and listed hosts), it checks client name, ID, FQDN, IP addresses, reverse lookup, port connectivity, and time sync.
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.
Syntax:
nsradmin -C -s [NetWorker server name] "type : NSR Storage Node"
What it does: For each NSR Storage Node in the NSR database, verify its DNS resolvability, connectivity, 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 usergroup in the NSR database, verify DNS entries for 'users' and 'administrator' attributes, 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: