Specifying a Host Name, Directory Name, Login User Name and
Password for the Target of Log Archiving, and Enabling or Disabling the
Log Archiving
■
1.
Use the showarchiving (8) command to display log archiving settings.
<Example> No values have been set for the settings
XSCF> showarchiving
*** Archiving Configuration ***
Archiving state ---------- Disabled
Archive host ------------- Not configured
Archive directory -------- Not configured
User name for ssh login -- Not configured
:
2. Use the setarchiving (8) command to set the log archiving target.
<Example>
XSCF> setarchiving -t foo@example.com:/var/logs/xx -r
Enter ssh password for foo@example.com: xxxxxx
:
3. Use the setarchiving (8) command to make an enable or disable selection
for the log archiving function.
XSCF> setarchiving enable
2-70
SPARC Enterprise Mx000 Servers XSCF User's Guide • April 2008
Command operation
Specify a user name, host name, directory, and password