IBM Books

Administration Guide


Archiving error logs

Error log archives can be created, removed, or gathered to a central location where they can be optionally written to a tape device or mailed to another location.

From SMIT

To access the Archive Logs SMIT menu, enter:

smit sparchive

Creating archives

From SMIT

The fastpath invocation for the Create Archives menu is:

smit spcreate_archive

From the command line

To create an archive on each target node under directory /var/archives/arch_weekly.tab, enter:

splm -a archive -t /spdata/sys1/logtables/weekly.tab -c -d /var/archives

Removing archives

From SMIT

The fastpath invocation for the Remove Archives menu is:

smit spremove_archive

From the command line

To remove all files and directories under and including /var/archives/arch_weekly.tab, enter:

splm -a archive -t /spdata/sys1/logtables/weekly.tab -r -d /var/archives

Gathering archives

From SMIT

The fastpath invocation for the Gather Archives menu is:

smit spgather_archive

From the command line

To gather the compressed tar files created on each target node under directory /var/archives/arch_weekly.tab to the directory /var/logrepos on the local node.

splm -a gather -k archive -t /spdata/sys1/logtables/weekly.tab \
-d /var/archives -l /var/logrepos

For complete details on the splm command, refer to the PSSP: Command and Technical Reference.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]