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
hasubmit
hasubmit - Host Agent data submission programSYNOPSIS
hasubmit -s server [ [ -t type ] ... ] [ -c client ] [ -r | -a ] [ -L | -l log file ] [ -D debug_level ] [ -q ]
DESCRIPTION
The hasubmit program extracts Host Agent resource data from the Host Agent Client's NSRLA RAP database, and forwards it to the hagentd pro- cess (hagentd) running on the Host Agent Server. Data submission normally happens automatically based on a schedule, but it may also be performed manually if desired. For the automated submission, the hagentd Host Agent Server process contains user-defined schedules which stipulate when the server should contact the Host Agent Client's nsrexecd process and tell it to perform data submission by running the hasubmit program. Different resource types may be submitted according to different schedules.
OPTIONS
-s server_host_name The host name of the system whose Host Agent Server the results are to be submitted to. -t resource_type The name of the resource type whose data is to be sent to the Host Agent Server. If the resource type name contains any spe- cial characters (including space) then the entire resource name should be enclosed in quotes. Multiple -t resource_type argument pairs may be supplied. If -t is not supplied in the command arguments, then all known Host Agent resource data types will be submitted. -c client_host_name The name of the client. The value used for this argument must match either the client name attribute or any of the values from the aliases attribute in this client's Client Resource in the server's RAP database. -r Treat the data submission as a replacement, rather than an addi- tion, when the data is written to the server's database. Replacement means that only the new data is kept - any previous resources of this type, submitted from this client, will be removed from the server. Replacement is the default behavior. -a Treat the data submission as an addition, rather than a replace- ment. Addition means that both the new and old data will con- tinue to exist on the server, allowing a historical view to be Run hasubmit in a mode which causes debug information to be printed out. This option should only be used if Legato Techni- cal Support asks you to do so. The debug level argument controls the verbosity of debug output - higher values cause more ver- bose output. -L Tells hasubmit that any logging information should be written to the default application logfile - this file is named hasub- mit.log, and will be located in the applogs subdirectory of your NetWorker installation directory. Only one of "-L" or "-l <log_file_name>" may be specified - not both. If neither "-L" or "-l <log_file_name>" is specified in the arguments to hasub- mit then any logging information will be printed on stdout and stderr. -l log_file_name Allows you to specify the name of the file that hasubmit will write its log to. Only one of "-L" or "-l <log_file_name>" may be specified - not both. If neither "-L" or "-l <log_file_name>" is specified in the arguments to hasubmit then any logging information will be printed on stdout and stderr. -q Query Host Agent to find out which resource types may be used with the -t argument. When -q is used, no actual data submission will take place.
EXAMPLES
Send this client's file-system information (collected by the Host Agent Client Module hafs ) to the Host Agent Server called myserver hasubmit -s myserver -t "file system information"
DIAGNOSTICS
hasubmit will not succeed unless nsrexecd is running on the client sys- tem, and hagentd is running on the server system.
SEE ALSO
hagentd(1) hafs(1) hasys(1) hascsi(1) haprune(1)
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk