diff --git a/application/classes/Model/STGPOOL.php b/application/classes/Model/STGPOOL.php index 0a8cc07..994ade6 100644 --- a/application/classes/Model/STGPOOL.php +++ b/application/classes/Model/STGPOOL.php @@ -24,6 +24,7 @@ class Model_STGPOOL extends TSM_ORM { 'COPYGROUP_BU'=>array('foreign_key'=>'DESTINATION','far_key'=>'STGPOOL_NAME'), 'MGMTCLASS'=>array('foreign_key'=>'MIGDESTINATION','far_key'=>'STGPOOL_NAME'), 'VOLUME'=>array('foreign_key'=>'STGPOOL_NAME','far_key'=>'STGPOOL_NAME'), + 'OCC'=>array('foreign_key'=>'STGPOOL_NAME','far_key'=>'STGPOOL_NAME'), ); // Return a list of volumes diff --git a/application/config/config.php b/application/config/config.php index 0be6738..7b2d597 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -16,7 +16,7 @@ return array( 'client_type' => 'dsmadmc', 'client_errorlogname' => '/tmp/pta-tsm-errorlog.log', 'date_format' => 'd-m-Y', - 'tsmdatatypes' => array('Bkup'=>'BACKUP','Arch'=>'ARCHIVE'), + 'tsmdatatypes' => array('Bkup'=>'BACKUP','Arch'=>'ARCHIVE','SpMg'=>'SPACE MANAGED'), 'tsmdbtypes' => array('BACKUPFULL','BACKUPINCR','DBSNAPSHOT'), 'tsmpooltypes' => array('PRIMARY','ACTIVEDATA','COPY'), 'tsmvolstatus' => array('FULL','FILLING','PENDING','EMPTY'), diff --git a/application/views/domain/detail.php b/application/views/domain/detail.php index 33edfff..a509017 100644 --- a/application/views/domain/detail.php +++ b/application/views/domain/detail.php @@ -82,7 +82,7 @@ getStoragePoolsType($btype,$type) as $spo) { ?>   - STGPOOL_NAME; ?> + STGPOOL_NAME,$spo->display('STGPOOL_NAME')); ?> display('NUMSCRATCHUSED'); ?> display('MAXSCRATCH'); ?> display('ACCESS'); ?> @@ -90,7 +90,7 @@ display('PCT_UTILIZED'); ?> display('PCT_MIGR'); ?> HIGHMIG,$spo->LOWMIG); ?> - display('NEXTSTGPOOL'); ?> + NEXTSTGPOOL ? HTML::anchor('stgpool/detail/'.$spo->NEXTSTGPOOL,$spo->display('NEXTSTGPOOL')) : ' '; ?> getStorageModeNodes($btype,$type,$spo)); ?> getStorageModeVols($ctype,$type,$spo)); ?> getStorageModeFiles($btype,$type,$spo); ?> diff --git a/application/views/node/detail_filesystem.php b/application/views/node/detail_filesystem.php index 4acb4a9..04eec55 100644 --- a/application/views/node/detail_filesystem.php +++ b/application/views/node/detail_filesystem.php @@ -107,4 +107,41 @@   + + + + + + + getStoragePools('SpMg')) { ?> + + + + + + load('config')->tsmpooltypes as $type) + if (count($pools = $node->getStoragePoolsType('SpMg',$type))) + foreach ($pools as $pool_name) { ?> + + + + FILESPACE->find_all() as $fso) { ?> + + + load('config')->tsmpooltypes as $type) + if (count($pools = $node->getStoragePoolsType('SpMg',$type))) + foreach ($pools as $pool_name) { ?> + + + + + + + +
HSM Information
 
File Space
display('FILESPACE_NAME'); ?>pool_logical_util($pool_name,'SpMg'),2); ?> (pool_numvols($pool_name,'SPACE MANAGED'); ?>)
There is NO HSM Data for this Node.
+ + +   + + diff --git a/application/views/node/detail_volumes.php b/application/views/node/detail_volumes.php index 73f5c93..49b73f2 100644 --- a/application/views/node/detail_volumes.php +++ b/application/views/node/detail_volumes.php @@ -4,7 +4,7 @@ - + volumes($ctype)) { ?> @@ -41,7 +41,7 @@ - +
diff --git a/application/views/stgpool/detail.php b/application/views/stgpool/detail.php index 9e07d80..fb819f8 100644 --- a/application/views/stgpool/detail.php +++ b/application/views/stgpool/detail.php @@ -270,4 +270,36 @@ + + + + + + + + + + + + + + + + + + + OCC->find_all() as $oo) { ?> + + + + + + + + + + +
Nodes with data in this Storage Pool
 
NodeTypeFile SpaceNum FilesPhysicalLogicalReporting
NODE_NAME,$oo->NODE_NAME); ?>display('TYPE'); ?>display('FILESPACE_NAME'); ?>display('NUM_FILES'); ?>display('PHYSICAL_MB'); ?>display('LOGICAL_MB'); ?>display('REPORTING_MB'); ?>
+ +