This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/application/config/database.php

145 lines
3.4 KiB
PHP
Raw Normal View History

2011-03-03 23:06:18 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* PTA Configuration - TSM Client
*
* @package PTA
* @subpackage TSM
* @category Configuration
* @author Deon George
* @copyright (c) 2010 phpTSMadmin Development Team
* @license http://phptsmadmin.sf.net/license.html
*/
return array
(
2011-08-31 21:36:33 +00:00
'dsmadmc' => array
2011-03-03 23:06:18 +00:00
(
2011-08-31 21:36:33 +00:00
'type' => 'tsm_dsmadmc',
2011-03-03 23:06:18 +00:00
'connection' => array(
/**
* The following options are available for MySQL:
*
* string hostname server hostname, or socket
* string database database name
* string username database username
* string password database password
* boolean persistent use persistent connections?
*
* Ports and sockets may be appended to the hostname.
*/
2011-05-23 10:01:27 +00:00
//'hostname' => 'localhost', // Unused
2011-03-03 23:06:18 +00:00
'username' => FALSE,
'password' => FALSE,
2011-05-23 10:01:27 +00:00
//'persistent' => FALSE, // Unused
2011-08-31 21:36:33 +00:00
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => TRUE,
'cache' => array(
'ASSOCIATIONS' => 1200,
'AR_COPYGROUPS' => 1200,
'BU_COPYGROUPS' => 1200,
'CLIENT_SCHEDULES' => 1200,
'CLIENTOPTS' => 1200,
'DEVCLASSES' => 1200,
'DOMAINS' => 1200,
'DRIVES' => 1200,
'EVENTS' => 1200,
'FILESPACES' => 1200,
'LIBRARIES' => 1200,
'LIBVOLUMES' => 1200,
'MEDIA' => 1200,
'MGMTCLASSES' => 1200,
'NODES' => 1200,
'OCCUPANCY' => 1200,
'PATHS' => 1200,
'SCHEMA' => 604800,
'STGPOOLS' => 1200,
'SUMMARY' => 180,
'VOLHISTORY' => 1200,
'VOLUMES' => 1200,
'VOLUMEUSAGE' => 1200,
),
'cachepreload' => array(
'DEVCLASSES' => 1200,
'DOMAINS' => 1200,
'DRIVES' => 1200,
'LIBVOLUMES' => 1200,
'LIBRARIES' => 1200,
'MEDIA' => 1200,
'NODES' => 1200,
'STGPOOLS' => 1200,
'VOLHISTORY' => 1200,
'VOLUMES' => 1200,
),
'profiling' => TRUE,
),
'db2' => array
(
'type' => 'tsm_db2',
'connection' => array(
/**
* The following options are available for DB2:
*
* string hostname server hostname, or socket
* string database database name
* string username database username
* string password database password
* boolean persistent use persistent connections?
*
* Ports and sockets may be appended to the hostname.
*/
'hostname' => 'localhost',
'port' => '60000',
'username' => FALSE,
'password' => FALSE,
'persistent' => FALSE,
'database' => 'TSMDB1',
2011-03-03 23:06:18 +00:00
),
'table_prefix' => '',
'charset' => 'utf8',
2011-05-28 09:46:46 +00:00
'caching' => TRUE,
'cache' => array(
'ASSOCIATIONS' => 1200,
'AR_COPYGROUPS' => 1200,
'BU_COPYGROUPS' => 1200,
'CLIENT_SCHEDULES' => 1200,
'CLIENTOPTS' => 1200,
'DEVCLASSES' => 1200,
2011-05-31 00:42:47 +00:00
'DOMAINS' => 1200,
2011-06-24 23:46:26 +00:00
'DRIVES' => 1200,
2011-05-28 09:46:46 +00:00
'EVENTS' => 1200,
'FILESPACES' => 1200,
2011-06-24 01:27:21 +00:00
'LIBRARIES' => 1200,
'LIBVOLUMES' => 1200,
2011-06-26 12:47:20 +00:00
'MEDIA' => 1200,
2011-05-28 09:46:46 +00:00
'MGMTCLASSES' => 1200,
'NODES' => 1200,
'OCCUPANCY' => 1200,
2011-06-24 23:46:26 +00:00
'PATHS' => 1200,
2011-05-28 09:46:46 +00:00
'SCHEMA' => 604800,
'STGPOOLS' => 1200,
2011-05-31 00:42:47 +00:00
'SUMMARY' => 180,
2011-06-24 01:27:21 +00:00
'VOLHISTORY' => 1200,
2011-05-28 09:46:46 +00:00
'VOLUMES' => 1200,
'VOLUMEUSAGE' => 1200,
),
2011-06-01 09:30:22 +00:00
'cachepreload' => array(
'DEVCLASSES' => 1200,
'DOMAINS' => 1200,
2011-06-24 23:46:26 +00:00
'DRIVES' => 1200,
2011-06-24 01:27:21 +00:00
'LIBVOLUMES' => 1200,
'LIBRARIES' => 1200,
2011-06-26 12:47:20 +00:00
'MEDIA' => 1200,
2011-06-01 09:30:22 +00:00
'NODES' => 1200,
'STGPOOLS' => 1200,
2011-06-24 01:27:21 +00:00
'VOLHISTORY' => 1200,
2011-06-01 09:30:22 +00:00
'VOLUMES' => 1200,
),
2011-03-03 23:06:18 +00:00
'profiling' => TRUE,
),
);
?>