Skip Headers

Oracle® VM Template Builder Installation and User's Guide Release 2.1 Part Number E14391-01 |
Home | Book List | Contents | Index | Contact Us

Previous | Next
| View PDF

# D Oracle VM Template Builder Configuration

This Appendix contains information on the Oracle VM Template Builder configuration file. The configuration file is located in:

/var/www/html/ovmtb/settings.py

The settings listed in this Appendix are specific to Oracle VM Template Builder. All other settings in this file are standard to the Django framework. For more information on the standard Django settings in the configuration file, see the Django documentation at:

`http://docs.djangoproject.com/en/dev/ref/settings/#ref-settings`

## D.1 Configuration File

The Oracle VM Template Builder configuration file options are listed below.

OVMTB_BUILD_QUEUE_DIR

  The directory that contains the temporary files for the requested template builds. The Oracle VM Template Builder service scans this directory for any files, and performs the requested builds. The default for this parameter is:

  /var/spool/ovmtb

  This directory should be used only to host the build files, any other files might be interpreted by the Oracle VM Template Builder service as a build request. If the value of this parameter is changed, the directory must be writable by the user running the httpd service. By default this is the apache user.

OVMTB_BUILD_DIR

  The directory used to perform the template builds. This directory should have sufficient space to hold all of the disk image files for the templates that are created. The default for this parameter is:

  /opt/ovmtb/builds

OVMTB_TAR_DIR

  The directory used to store the built templates in gzipped tar archives. This directory should have sufficient space to hold the tar files. The default for this parameter is:

  /opt/ovmtb/tarballs

OVMTB_UPLOAD_DIR

  The directory that holds the RPMs uploaded into template projects. The value of this parameter should be a subdirectory of the MEDIA_ROOT setting or exceptions are thrown when attempting to delete the packages. The directory should be writeable by the user that is running the httpd service. By default this is the apache user. The default for this parameter is:

  /opt/ovmtb/uploads

OVMTB_LOG_DIR

  This is the directory that holds the log files. The default for this parameter is:

  /var/log/ovmtb

OVMTB_MODIFYJEOS_DEBUG

  Controls whether template build commands log debugging information. The default for this parameter is `False`.

OVMTB_MODIFYJEOS_DEBUG_DIR

  The directory to which the debug information from the Oracle VM Template Builder build commands is written.

OVMTB_AUDIT

  Controls whether requests to the Oracle VM Template Builder application are logged for later auditing. The default for this parameter is: `False`.

OVMTB_AUDIT_LOG

  The file name in OVMTB_LOG_DIR to which requests to the Oracle VM Template Builder application are logged. Data is written each time a page is requested. The default for this parameter is `ovmtb_audit.log`.

OVMTB_SESSION_DATA_DEBUG

  Controls whether session data is dumped to a log file for debugging purposes. The default for this parameter is `False`.

OVMTB_SESSION_DATA_DEBUG_LOG

  The file name in OVMTB_LOG_DIR to which session data is dumped. Data is written each time a user requests a page. This is mostly used for debugging purposes. The default for this parameter is `session_data.log`.