04.12.2012 Views

Windchill System Administrator's Guide

Windchill System Administrator's Guide

Windchill System Administrator's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ensuring Proper Backup and Recovery<br />

Maintaining Log Files<br />

It is important that you either implement or request appropriate backup processes,<br />

such as the following:<br />

• In a production environment, <strong>Windchill</strong>'s Oracle database should be backed<br />

up on a regular basis. Oracle documentation provides additional information<br />

about backup procedures.<br />

• At the time of installation, the <strong>Windchill</strong> installation directory must be backed<br />

up to preserve various configuration files.<br />

• A given installation of <strong>Windchill</strong> and all source code should be backed up<br />

each time the system is regenerated.<br />

• The following <strong>Windchill</strong> directories should be backed up on a regular basis:<br />

/db/sql, /codebase, and /src.<br />

You do not have to back up the entire /codebase and /src directories each time.<br />

However, you must back up the subdirectories containing Java packages that<br />

have been changed at your site.<br />

• The RetrievalWare windchill_indexes working directory should be backed up<br />

on a regular basis. The RetrievalWare documentation provides additional<br />

information about backup procedures.<br />

• Depending upon the user authentication mechanism at your site, you may<br />

need to ensure appropriate backup of files relevant to access control.<br />

• Content files stored in an external file vault must be backed up using standard<br />

operating system tools and procedures.<br />

• The Aphelion Directory should be backed up on a regular basis. How often<br />

you do this backup should be determined by how much activity is done in the<br />

solution that relates to the LDAP entries stored in the directory. For example,<br />

if user objects are stored in the directory, then you may want to back it up<br />

more often than if only group and organization objects are stored there.<br />

<strong>Windchill</strong> log files contain exception tracebacks and other information that can be<br />

used for debugging code.<br />

Each log file is enabled or disabled in the wt.properties file. If logging is enabled,<br />

you will also need to determine the appropriate settings for related properties. For<br />

example, the wt.name.log.append properties, which specify whether a log file is<br />

appended to or overwritten when the associated application is started.<br />

Log file names and locations are controlled by <strong>Windchill</strong> properties. The<br />

$DATE(format) macro can be used to construct date-dependent file names. See<br />

the Javadoc for the class wt.util.WTProperties for information about the $DATE<br />

macro.<br />

1-34 <strong>Windchill</strong> <strong>System</strong> Administrator’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!