HP Distributed Print Service Administration Guide

Chapter 12 371
Using HPDPS Error Logs
How HPDPS Backs Up Server Error Logs
How HPDPS Backs Up Server Error Logs
What HPDPS backs up is different for a server that is shut down than
for one that is deleted.
Error Log Backup After a Server is Shutdown
Backups of server error logs occur as follows:
1. The first time the server is shut down and then restarted, HPDPS
renames the present error log for the server from
ServerName
/error.log to
ServerName
/error.log.BAK, where
ServerName
is the name of the server.
2. Then the next time that server is shut down and restarted, HPDPS
renames the error.log.BAK file to error.log.BAK.YearDateTime,
where YearDateTime is the currentyear, date, and time. For example,
error.log.BAK.19970624010807 is one such file.
3. Then HPDPS renames the error.log file to error.log.BAK, and
creates a new error.log file. HPDPS does this each time you shut
down and restart a server.
Error Log Backup After a Server is Deleted
If you use the pddelete command to delete a server:
HPDPS modifies the intact server /var/opt/pd directory entry and
renames it from
ServerName
to
ServerName
.BAK, where
ServerName
is the name of the server.
If you use the pdstartspl or pdstartsuv utilities to start a new
server with the same name, HPDPS creates a new /var/opt/pd
directory entry named after the server.
If you then use the pddelete command again to delete the new
server, HPDPS deletes the present
ServerName
.BAK directory.
Then HPDPS renames the present directory entry for the server from
ServerName
to
ServerName
.BAK.
HPDPS does this each time you delete or create a server. HPDPS only
keeps the most recent .BAK directory.