Setarchiving – FUJITSU SPARC ENTERPRISE M9000 User Manual
Page 183
setarchiving(8)
System Administration
159
NAME
setarchiving - configure the log archiving functionality
SYNOPSIS
setarchiving
[-k host-key] [-l audit-limit,non-audit-limit] [-p password|-r] [-t
user@host:directory] [-v] [-y|-n]
setarchiving
enable|disable
setarchiving -h
DESCRIPTION
setarchiving
(8) manages the log archiving configuration. Persistent storage
space on the Service Processor is limited. Some logs may grow to the point where
old log entries must be overwritten or deleted. Log archiving allows the user to set
up the Service Processor to automatically archive its log data on a remote host.
Note – Logs archived on the archive host should be rotated at regular intervals to
avoid loss of log information. Use logadm(1M) to configure log rotation on a
system that runs the Solaris OS.
Note – You must set up the archive host correctly prior to enabling the log
archiving feature. (See EXAMPLE 1.) If you attempt to enable archiving while the
configuration is invalid (for example, if the specified archive host does not exist),
setarchiving
exits with an error message. setarchiving exits with an error
message if you request invalid configuration changes while archiving is enabled.
Note – setarchiving(8) requires at least one option or operand.
Privileges
You must have platadm privileges to run this command.
Refer to setprivileges(8) for more information.