XSCF Shell Procedures for LogArchiving

This section describes these tasks:

To Enable Log Archiving

To Disable Log Archiving

To Display Log Archiving Configuration and Status

To Display Log Archiving Error Details

To Enable Log Archiving

1.Log in to the XSCF console with platadm privileges.

2.Type the setarchiving command:

XSCF> setarchiving -t user@host:directory -r

where user@host:directory is the user name, log archive host, and directory where the logs are to be stored, and -rprompts for the password for ssh login. Refer to the setarchiving man page for additional options.

3.Type the setarchiving enable command:

XSCF> setarchiving enable

After tests indicate the archive host is set up correctly, log archiving is enabled effective immediately. If the tests fail, you receive an error message that log archiving was not enabled, and the reason why.

To Disable Log Archiving

1.Log in to the XSCF console with platadm privileges.

2.Type the setarchiving command:

XSCF> setarchiving disable

Chapter 6 Log Archiving Facility

75