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.
To access the Archive Logs SMIT menu, enter:
smit sparchive
The fastpath invocation for the Create Archives menu is:
smit spcreate_archive
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
The fastpath invocation for the Remove Archives menu is:
smit spremove_archive
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
The fastpath invocation for the Gather Archives menu is:
smit spgather_archive
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.