[Contents] [Previous Topic] [Next Topic]

nsradmin

The nsradmin program is an administrative program for the NetWorker system that uses the command line. Typically, nsradmin monitors and modifies NetWorker resources over the network. Commands are entered on standard input, and output is produced on standard output.

If you enter the nsradmin command without command options, the program opens with a command prompt for you to enter additional options as needed:

The following example describes the format and command options available for the nsradmin program:

At each nsradmin input prompt, you enter a command name and optional arguments. You can shorten command names to the smallest unique string, for example, you can enter p for the print command. You specify command arguments in the form of an attribute list. Most nsradmin commands operate on a set of resources returned by a query. The query is specified as an attribute list that is used to match resources with the following rules:

If the query has only one name and no values, the nsradmin program tries to determine the query based on the name. If the name is a hostname, the query is made for all the resources on the given host. Otherwise, the name is interpreted as a type name, and all resources of that given type are selected.

Command Options for nsradmin

The following list describes the commands available and their function:

Resources Available in the nsradmin Program

The nsradmin program provides a character-based interface to manage the same resources available through the nwadmin program. These include:

NSR client

The NSR client resource describes the files that are saved, the backup schedule, the directive used to omit files from the save, the length of time the files' index entries should be kept in the on-line file and media indexes, the users given access to back up, browse, and recover a client's files. To edit the NSR client resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR client resource has the following attributes:

The following is an example of a NSR client resource used to define a client, called saturn, backing up all of its files to the server mars:

NSR device

To edit the NSR device resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI

The NSR device resource has the following attributes:

The following is an example of a NSR device resource:

NSR directive

To edit the NSR directive resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI

The NSR directive resource has the following attributes:

The following is an example of a NSR directive resource, named "NTdirective"

NSR group

controls when a group of clients begin saving data and whether scheduled backups are started automatically each day. To edit the resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI

The resource has the following attributes:

The following is an example of a nsr_group resource:

NSR jukebox

To edit the NSR jukebox resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR jukebox resource has the following attributes:

Following is an example of a resource named Huntington:

NSR label

describes the templates for generating volume labels. To edit the NSR label resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR label resource has the following attributes:

The following is an example of a nsr_label resource:

NSR license

describes the features enabled in your NetWorker installation. To inspect the NSR license resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR license resource has the following attributes:


IMPORTANT: If a server's host id changes, all auth codes will immediately be invalidated, and the enablers must be re-registered with Legato to obtain new authorization codes.

Following is an example of a NSR license resource:

NSR migration

specifies the files to be saved, the schedule, directives to use to omit files from a save, the group files will be pre-migrated with, the high-water and low-water marks to use for migration, the minimum access time and file size for migration, a list of file owners and groups to include or exclude during migration, and a list of file name patterns to skip.

To edit the NSR migration resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR migration resource has the following attributes:

Following is an example of a NSR migration resource defining an HSM client, called elantra:

NSR notification

is used for each combination of an event, priority, and action handled by the notification system. A notification consists of a single event type, a single priority, and a message. The notification system posts each message to the action of each NSR notification resource that includes an event type and priority. To edit the NSR notification resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR notification resource has the following attributes:

Following is an example of a NSR notification resource:

NSR policy

controls how long entries remain in a client's on-line file index, and when to mark a save set as recyclable. Each NSR client resource uses two policies, a browse policy and a retention policy. Each policy defines an amount of time determined by the period and the number of periods.

To edit the NSR policy resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR policy resource has the following attributes:

Following is an example of a NSR policy resource named Quarter:

NSR pool

This resource determines where volumes save sets reside based upon their characteristics.

There are four types of pools:

There are four pre-enabled pools shipped with :

There are also a few pools shipped with that are not enabled by default:

To edit the NSR pool resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR pool resource has the following attributes:

Following is an example of a NSR pool resource:

NSR schedule

a sequence of levels controlling the amount of data saved by clients. There is one NSR schedule resource for each schedule.

To edit the NSR schedule resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR schedule resource has the following attributes:

Following is an example of a NSR schedule resource:

NSR Stage

To edit the NSR Stage resources for a NetWorker server use nsradmin or use the NetWorker Administrator GUI.

The NSR stage resource has the following attributes:

Following is an example of a NSR Stage resource:

NSR

Each resource represents a component of a system that needs administration. Resources are manipulated to control a system. The file and the resources in them are accessible through the nwadmin and nsradmin programs, and can be viewed with a text editor.

Each resource is described by a list of attributes. Each attribute consists of a name and optional list of values. The attribute name is separated from an attributes options by a colon (:), attribute values are separated by commas (,), and each attribute ends in a semicolon (;). A comma, semicolon or back-slash (\) at the end of a line continues the line.

Following is an example of a resource, with eight attributes.

Each NSR resource includes the following attributes:

defines the following types of resources:



[Contents] [Previous Topic] [Next Topic]

Legato Systems, Inc.
Copyright © 1998, Legato Systems. All rights reserved.