Legato NetWorker Commands Index:
ansrdascdcode
cdi_block_limits
cdi_bsf
cdi_bsr
cdi_eod
cdi_filemark
cdi_fsf
cdi_fsr
cdi_get_config
cdi_get_status
cdi_inq
cdi_load_unload
cdi_locate
cdi_offline
cdi_rewind
cdi_set_compression
cdi_space
cdi_ta
cdi_tapesize
cdi_tur
changers
dasadmin
ddmgr
EMASS_silo
erase
generate_test_tape
hadump
hafs
hagentd
hagetconf
haprune
hascsi
hasubmit
hasys
hpflip
IBM_silo
ielem
inquire
jbconfig
jbexercise
jbverify
ldunld
lgtolic
lgtolmd
libcdi
libscsi
libsji
libstlemass
libstlibm
libstlstk
lrescan
lreset
lus_add_fp_devs
lusbinfo
lusdebug
mini_el
mm_data
mminfo
mmlocate
mmpool
mmrecov
msense
mt
ndmpjbconf
networker
nsr (1)
nsr (5)
nsr_archive_request
nsr_client
nsr_crash
nsr_data
nsr_device
nsr_directive
nsr_getdate
nsr_group
nsr_ize
nsr_jukebox
nsr_label
nsr_layout
nsr_license
nsr_migration
nsr_notification
nsr_policy
nsr_pool
nsr_regexp
nsr_resource
nsr_schedule
nsr_service
nsr_shutdown
nsr_stage
nsr_storage_node
nsr_support
nsr_usergroup
nsradmin
nsralist
nsrarchive
nsrcap
nsrcat
nsrck
nsrclone
nsrcnct
nsrd
nsrexec
nsrexecd
nsrhsmck
nsrhsmclear
nsrhsmd
nsrhsmls
nsrhsmnfs
nsrhsmrc
nsrhsmrecall
nsrib
nsriba
nsrim
nsrindexasm
nsrindexd
nsrinfo
nsrjb
nsrlic
nsrls
nsrmig
nsrmm
nsrmmd
nsrmmdbasm
nsrmmdbd
nsrmon
nsrndmp_clone
nsrndmp_recover
nsrndmp_save
nsrpmig
nsrports
nsrretrieve
nsrssc
nsrstage
nsrtrap
nsrwatch
nwadmin
nwarchive
nwbackup
nwrecover
nwretrieve
pathownerignore
pmode
preclntsave
pstclntsave
read_a_block
recover
relem
resource
save
savefs
savegrp
savepnpc
scanner
sjiielm
sjiinq
sjimm
sjirdp
sjirdtag
sjirelem
sjirjc
sjisn
sn
ssi
stk_eject
STK_silo
stli
sym2xdm
tapeexercise
tur
uasm
writebuf
* - Windows Only
* mt
* nsrlpr
* nsrperf
resource
resource descriptors - RAP resource file formatSYNOPSIS
resource ::= attribute list <blank line> attribute list ::= attribute [ ; attribute ]* attribute ::= name [ : value [ , value ]* ] name, value ::= <printable string>
DESCRIPTION
Files with the .res suffix use a common format to describe resources. Generally, a resource represents something that a system administrator might want to manage (for example, devices, backup schedules, file sys- tems), or that a user might want to locate. The encoding of the infor- mation describing a resource is called the resource descriptor. Resource description files are are accessed by applications and ser- vices that use the Resource Administration Platform (RAP), but they can also be viewed with a normal text editor. Each resource descriptor is made up of a list of attributes, and ends in a blank line. Each attribute in the attribute list has a name and an optional list of values. The attribute name is separated from the attribute values by a colon (:), attribute values are separated by com- mas (,), and attributes are separated by semicolons (;). A comma at the end of a line continues the line, as does a back-slash (\) character. The back-slash character can also be used to escape the special meaning of a single character (such as comma, semicolon, double quote, and back-slash), or the string can be included in quotes. A line beginning with a pound-sign (#) is a comment and the rest of the line is ignored. The end of a resource attribute list is marked with a blank line. The attribute name and values can contain any printable character. Upper and lower case is ignored on comparisons, and extra white space is ignored on both ends but not in the middle of names and values. For example, Name: testing 1 2; will match name : Testing 1 2 ; but is different than Name: testing 1 2; Below is an example which includes two resources. The first resource has eight attributes: type, name, server, schedule, directive, group, save set, and remote access. The group attribute has two values: mar- keting and sales. The remote access attribute has no value. The sec- ond example includes an attribute that needs quotes because it contains a colon. type: NSR client; name: venus; server: mars; schedule: Default; directive: custom; group: marketing, sales; Each resource includes the special attribute type. The type attribute defines which other attributes a resource can contain. For example, a resource with type printer might include an attribute paper size, while in a resource of type NFS filesystem this attribute makes no sense. The type attribute is case sensitive and must be used exectly as described. For example, a type "NSR group" is different from "nsr group". The name attribute is a descriptive name of the object that a resource represents. In the example above, the name of the second resource is engineering servers, which describes a group of machines to be saved together. The administrator attribute is the list of users that have permission to modify this resource. This attribute is inherited from the server resource when a new resource is created. The administrator in the server resource also controls who has permission to create new resources and delete old ones. The resource identifier is set and used internally by the RAP system. It provides a unique identification of each resource, and although it is sometimes printed like an attribute, it is stored differently. When new resources are created the resource identifier attribute should be left off. This signals the system that this is a new resource and a new identifier will be assigned.
TYPES
There are special resources that define the attributes found in a given type. They are called resource type descriptors. Type descriptors have the same syntax as other resources except that they have a type attribute with the value type and a type name attribute with the value of the type they describe. For example, the resource type descriptor for type NFS filesystem would have, among its other attributes: type:type; type name:NFS filesystem Type descriptors are used internally, and should normally never be stored in files or seen by administrators. For each of the other attributes in a type descriptor, there are three or more values. The first value gives the base type, the second value gives a list of flags separated by spaces, the third value is a string for on-line help, and any subsequent strings are default values. This type information is used by system administration tools to improve the user interface.
FILES
*.res Files that contain resource descriptors.
SEE ALSO
nsradmin(1m).
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk