Nsrwatch Usage

6
1. Table of Contents Access Testing: Purpose & Scope................................3 Access Testing: Procedure......................................4 Access Testing: References.....................................5 1 of 6

description

how to use nsrwatch command

Transcript of Nsrwatch Usage

Table of Contents

Access Testing: Purpose & Scope3

Access Testing: Procedure4

Access Testing: References5

Purpose & Scope

This document covers nsrwatch tool usage to monitor the backup progress.

This is common to all servers.

Procedure

This tool is used to monitor the activity of NetWorker servers.

1. Usage of this commandnsrwatch [ -s server ] [ -p polltime ]

The servers name is specified by the optional -s server argument or simply mention the server name.If there is no NetWorker service on the selected machine, the command issues anerror message. The polling interval is specified by the optional -p polltime argument (in seconds). The default is two seconds.

2. The nsrwatch program gets its information via remote procedure calls to the specified server. This wayit can be used from any machine that can access the server through the network.

3. The nsrwatch display is divided into a header and several panels: the server panel, thedevice panel, the sessions panel, the messages panel, and the pending message panel.The panel sizes are adjusted depending on the size of the terminal or window beingused.

Use below command to check backup progress (tape read or write status)/usr/opt/networker/bin/nsrwatch Ex:/usr/opt/networker/bin/nsrwatch glgt034a

NsrServer name can be found from the .rman_profile or .fsys_profile

Should show something like below.# Legato server to backup files to.NsrServer=glgt031a

The server panel provides current status of the server. The first line of the panel is reserved for errormessages. This line is usually blank. The next line tells how long the server has been up, and the servers release version (which may not be the same as the clients release version). The following lines display how many saves and recovers the current server has performed.

The device panel displays the devices known to the current server. For each device, thepanel displays its name, the device type, the name of the mounted volume, or(unmounted) if no volume is mounted, and device status. The name may be followed by (J)if the device is configured as part of a jukebox device. The sessions panel providescurrent save set information for each active session (saving, recovering, or browsing).The messages panel displays a history of messages of general interest to the operator.Finally, the pending message panel displays messages that require operator intervention.

To track progress look for the server name and associated volume name from messages or sessions , use volume name to see the status of the session , it should show the current speed and amount of data read / written.

Sample screenshot from Linux machine is below.

Location of nsrwatch on Linux and AIX systems is /usr/bin/nsrwatch where as on tru64 systems it is located at /usr/opt/networker/bin/nsrwatch.

4. Typing the q character quits the program, the Control-L forces a screenclear and redraw, while any other character forces the status to be updated.

References

4 of 4