HP VMA SAN Gateway Users Guide For Release G5.5.1
156 HP VMA SAN Gateway User’s Guide AM456-9026A
Force Log File Rotation
logging files rotation force
Force an immediate rotation of the log files. This does not affect the schedule of auto-rotation if it
was done based on time: the next automatic rotation will still occur at the same time it was
previously scheduled for. Naturally, if the auto-rotation was based on size, this will delay it
somewhat as it reduces the size of the active log file to zero.
Force Deletion of Oldest Log Files
logging files delete oldest [<number of files to delete>]
Force the immediate deletion of the specified number of the oldest log files.
Upload Logs to a Remote Host
logging files upload {current, <file number>} <URL>
Upload a log file to a remote host. The word current specifies the current log file. To specify an
archived log file, give its number instead, as displayed by
show log files.
The current log file will have the name
messages if you don’t specify a new name for it in the
upload URL. The archived log files will have the name
messages.<n>.gz if you don’t specify a
new name in the URL, and will be compressed with gzip regardless.
Note: Files are uploaded from all gateways simultaneously. Therefore, care should be taken to allow
that many simultaneous connections on the server accepting the files (for example, increase the
maximum open ftp connections parameter).
Enable Automatic Log Upload to Remote Host
logging files upload-auto <control parameter>
Enable automatic upload of log files to a remote host. The control parameters are used to control
interval and information gathered. Control parameters are:
enable
Enable automatic log gathering.
immediate
{current, <file
number>}
One-shot upload of logs to the configured site.
include-dump
Enable inclusion of sysdump information during log gathering.