NSR_SERVICE(5) Legato NetWorker 4.0 NSR_SERVICE(5)
NAME
NSR service - NetWorker server resource type ``NSR''
SYNOPSIS
type: NSR
DESCRIPTION
Each NetWorker server is described by a resource of type NSR. See
nsrresource(5) for general information on NetWorker resources. To
edit the NSR resource use the command:
nsradmin -c "type:NSR"
or use the networker(8) GUI. See nsradmin(8) for information on
using the NetWorker administration program.
ATTRIBUTES
The following attributes are defined for the NSR resource. The
information in parentheses describes how the attribute values are
accessed. Read-only indicates that the value cannot be changed by an
administrator. Read/write means the value can be set as well as
read. Choice list means that any number of values can be chosen from
the given list. Static attributes change values rarely, if ever.
Dynamic attributes have values which can change rapidly. Hidden
means it is an attribute of interest only to programs or experts, and
these attributes can only be seen when the hidden option is turned on
in nsradmin(8) or expert mode (-x) in networker(8). For example, an
attribute marked (read-only, static) has a value which is set when
the resource is created and never changes, or is changed only by the
server.
version (read-only, dynamic)
This is the software version of the NetWorker server daemon,
nsrd(8). This includes a slash and the number of clients cur
rently licensed.
Example: version: NetWorker 4.0 Advanced/160;
save totals (read-only, dynamic, hidden)
Save statistics. A string containing the total number of save
sessions, the number of saves with errors (if any) and the
total number of bytes saved (if any). This attribute is
updated after each save session completes.
Example: save totals: "37 sessions, 457 MB total";
recover totals (read-only, dynamic, hidden)
Recovery statistics. A string containing the total number of
recover sessions, the number of recovers with errors (if any)
and the total number of bytes recovered (if any). This
attribute is updated after each recover session completes.
Example: recover totals: "347 sessions, 48 MB total";
totals since (read-only, dynamic)
The time statistics collection started. This is usually the
last time the NetWorker server was rebooted.
Example: totals since: "Fri Jun 1 09:35:02 1992";
Licensed material--property of copyright holder(s) 1
NSR_SERVICE(5) Legato NetWorker 4.0 NSR_SERVICE(5)
NSR operation (read-only, choice list, hidden)
This attribute is currently unused and is provided for back
ward compatibility.
release state (read/write, choice list, hidden)
The state of this server, normally production. Set to test to
be ignored by clients (unless explicitly named).
parallelism (read/write, static)
This attribute sets the number of concurrent save sessions
that this server will allow. The value can be set by an
administrator. Use higher values for better performance on a
fast system with lots of main memory and swap space, and use
lower values to avoid overloading a slow system, or systems
with little main memory and/or swap space. See sessions per
device, below, for information on side-effects. Warning: due
to bugs in some versions of Unix, high values of parallelism
may cause the system to lock up.
Example: parallelism: 4;
active devices (read/write, static)
This attribute sets the number concurrent devices this server
will allow. The value can be set by an administrator. Use
higher values for better performance on a fast system, and use
lower values to avoid overloading a slow system. This value
should never be larger than the total number of devices. This
attribute is not changeable (i.e. forced to have the value
one) unless the Concurrent Device Support (CDS) add-on module
is enabled. See sessions per device, below, for information
on side-effects.
Example: active devices: 3;
sessions per device (read/write, static)
This attribute gives a target number of saves for each device.
Saves are allocated to each device in order, until this many
are assigned, then the next device is used. Once all devices
have this many assigned, they are allocated equally to each
device. The value can be set by an administrator. Use higher
values to multiplex many clients onto each tape; the value one
spreads out the clients over as many devices as possible. A
good rule of thumb is to set sessions per device, active
devices, and parallelism such that sessions per device times
active devices equals parallelism.
Example: sessions per device: 3;
message (read-only, dynamic, hidden)
The last message of any kind logged. A time stamp is included
at the start of the string.
Example: message: "Mon 12:25:51 Tape full, mount volume
mars.001 on /dev/rmt/1";
message list (read-only, dynamic, hidden)
A list of recent messages, with a ten-digit sequence number, a
time stamp, and a string message for each value.
Licensed material--property of copyright holder(s) 2
NSR_SERVICE(5) Legato NetWorker 4.0 NSR_SERVICE(5)
Example: message: "Mon 12:25:51 Tape full, mount volume
mars.001 on /dev/rmt/1";
session (read-only, dynamic, hidden)
The value of this attribute is a list of session information
strings. Each string includes the NetWorker client name, type
of operation (saving, browsing, or recovering) and information
about the save set, including name, number of bytes, and num
ber of files. All sizes and rates are in bytes per second,
Kilobytes (1024), Megabytes (a thousand Kilobytes), etc.
Example:
session: "venus:/usr saving to mars.001 20MB of 90MB",
"mars:/usr/src done saving 24MB of 244MB";
pending (read-only, dynamic, hidden)
A list of events pending with the NetWorker event notification
system (see nsrnotification(5)). The first three fields are
the time, priority, and event name.
Example: pending: "Fri 14:40:15 alert: media mount of mars.001
suggested on /dev/rmt/1";
status (read-only, dynamic, hidden)
A list of status flags for the NetWorker server. These flags
are only for use by NetWorker server-side programs (e.g.
savegroup) and list various features enabled in the running
server. The format is currently name=boolean (true or false).
The features listed, and their states, can change at any time.
statistics (read-only, dynamic, hidden)
A list of strings of the form name=number that give a number
of server statistics.
types created (read-only, static)
A list of all the other resource types this NetWorker server
can create and about which clients can query.
Example: types created: NSR device, NSR group;
administrator (read/write, static)
This is a list of names (or netgroups) of users who are
allowed to administer NetWorker. Normally this list is inher
ited by all other resources on this server, although each
administrator attribute can be explicitly changed if desired.
Administrators can change the values of attributes for the
resource which lists them. The administrator list also deter
mines who can add and delete resources of the other NSR types.
Example: administrator: root;
mm op message (read/write, dynamic, hidden)
This attribute lists the descriptive message for the most
recently completed media database operation. The NetWorker
program (such as nsrmm(8)) that requested the operation clears
this attribute as soon as it as read the result. An adminis
trator should never change this attribute manually.
Licensed material--property of copyright holder(s) 3
NSR_SERVICE(5) Legato NetWorker 4.0 NSR_SERVICE(5)
mm operation (read/write, choice list, dynamic, hidden)
This attribute is used by programs such nsrmm(8) to pass the
media database operation type currently desired to the Net
Worker server. The possible choices are: purge volume, purge
save set, delete volume, delete save set, mark volume, mark
save set, unmark volume, unmark save set, and specify volume
pool. The server serializes such operations and performs the
appropriate queries on nsrmmdbd(8). The value is automati
cally cleared when the operation completes. An administrator
should never change this attribute manually.
mm operation id (read/write, dynamic, hidden)
This attribute is used by programs such nsrmm(8) to pass the
desired media database operation identifier to the NetWorker
server. The value is automatically cleared when the operation
completes. An administrator should never change this
attribute manually.
mm operation volume pool (read/write, dynamic, hidden)
This attribute is used by programs such nsrmm(8) to pass the
name of the pool associated with the current media database
operation to the NetWorker Server. The value is automatically
cleared when the operation completes. An administrator should
never change this attribute manually.
EXAMPLE
A complete example follows:
type: NSR;
name: mars;
version: NetWorker 4.0 Advanced/160;
parallelism: 4;
active devices: 2;
sessions per device: 2;
message: \
"Mon 15:27:25 media alert event: recover waiting for 8mm tape mars.001";
pending: \
"Fri 14:40:15 media alert: recover waiting for 8mm tape mars.001";
recover totals: 1 session;
save totals: "84 sessions, 3597 MB total";
session: "mars:george browsing",
"mars:/home/mars starting recovery of 9K bytes";
totals since: "Fri Jun 1 23:43:20 PDT 1992";
types created: NSR device, NSR group, NSR directive,
NSR notification, NSR client,
NSR policy, NSR schedule, NSR pool,
NSR label, NSR license, NSR jukebox;
administrator: root;
mm op message: ;
mm operation: ;
mm operation id: ;
mm operation volume pool: ;
FILES
/nsr/res/nsr.res - this file should never be edited directly. Use
Licensed material--property of copyright holder(s) 4
NSR_SERVICE(5) Legato NetWorker 4.0 NSR_SERVICE(5)
nsradmin(8) instead.
SEE ALSO
nsrd(8), nsrdevice(5), nsrnotification(5), nsrresource(5),
nsrgroup(5), nsr(5), nsr(8), nsrmm(8), nsrmmdbd(8), save(8),
recover(8), nsradmin(8), netgroup(5).
Licensed material--property of copyright holder(s) 5