Start of DB2 direct connection work

This commit is contained in:
Deon George
2011-09-01 07:36:33 +10:00
parent ef4b667277
commit 9eededa37a
18 changed files with 641 additions and 226 deletions

View File

@@ -13,6 +13,7 @@
return array(
'cache_type' => 'file',
'client' => '/opt/tivoli/tsm/client/ba/bin/dsmadmc',
'client_type' => 'db2',
'client_errorlogname' => '/tmp/pta-tsm-errorlog.log',
'date_format' => 'd-m-Y',
'tsmdatatypes' => array('Bkup'=>'BACKUP','Arch'=>'ARCHIVE'),

View File

@@ -13,9 +13,9 @@
return array
(
'default' => array
'dsmadmc' => array
(
'type' => 'tsm',
'type' => 'tsm_dsmadmc',
'connection' => array(
/**
* The following options are available for MySQL:
@@ -32,7 +32,71 @@ return array
'username' => FALSE,
'password' => FALSE,
//'persistent' => FALSE, // Unused
'database' => 'local',
),
'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',
),
'table_prefix' => '',
'charset' => 'utf8',

View File

@@ -20,16 +20,16 @@ return array(
'copyright' => '© 20082011 phpTSMadmin Development Team',
),
'cache' => array(
'enabled' => FALSE,
'enabled' => TRUE,
),
'database' => array(
'enabled' => FALSE,
'enabled' => TRUE,
),
'kohana' => array(
'enabled' => FALSE,
'enabled' => TRUE,
),
'orm' => array(
'enabled' => FALSE,
'enabled' => TRUE,
),
'userguide' => array(
'enabled' => FALSE,