import "i_hsm.idl";


Definition at line 100 of file i_hsm.idl.
Public Member Functions | |
| i_Count_t | ForceMigration (in i_StringList_t a_fileNames) raises (i_IvdException) |
| Immediatelly starts migration of files on the list that are ready to be migrated. | |
| i_ActivateResult_t | ActivateFiles (in i_StringList_t a_fileNames) raises (i_IvdException) |
| puts dirty file to migration candidate, online file to release candidate | |
| void | MigrateByAPI (in long a_flags, in string a_fileName, in long long a_majorColId, in long long a_minorColId, out i_JobIDList_t a_jobIDs) raises (i_IvdException) |
| Interface for migration of files by hsmapi. | |
| i_Count_t | ForceRelease (in i_StringList_t a_fileNames) |
| Immediatelly starts release of files on the list that are ready to be released. | |
| void | Reconfigure (in i_ClientConf_t a_clientConf) |
| Reconfigure HSM. | |
| void | GetInfo (out i_HsmInfo_t a_hsmInfo) raises (i_IvdException) |
| Get Info about HSM. | |
| void | ShowStatus (in i_UIMessageServer a_uims, in i_BitFlag_t a_showFlags) raises (i_IvdException) |
| Dump out internal HSM status. | |
| void | GetCfg (out i_ClientConf_t a_clientConf) |
| Get configuration about HSM. | |
| void | ChangeLogLevel (in char a_lLevel) |
| void | Recall (in i_Recall_t a_file, in i_JobID_t a_pmJobId, in i_BlkSize_t a_blockSize, in i_BufType_t a_bufType, in string a_diskBufferFS, in boolean a_succeeded, in i_DownloadAgent a_download) raises (i_IvdException) |
| Recalls listed files. | |
| void | EfficientRecall (in i_RecallList_t a_seqRecallList, in i_JobID_t a_pmJobId, in i_JobID_t a_hsmJobIndexID, in i_BlkSize_t a_blockSize, in i_BufType_t a_bufType, in string a_diskBufferFS, in boolean a_succeeded, in i_DownloadAgent a_download) raises (i_IvdException) |
| void | RunScripts () |
| i_Count_t | DoMigrationJob (in i_BufType_t a_resType, in string a_diskBufferFS, in i_JobID_t a_pmJobId, in i_BlkSize_t a_blkSize, in i_Count_t a_numCopies, in i_MigID_t a_migrationID, in i_JobRequestList_t a_jobFiles, in i_UploadAgent a_upload) raises (i_IvdException) |
| void | CompleteMigration (in i_BufType_t a_resType, in i_JobID_t a_pmJobId, in i_CompletionStatus_e a_status) raises (i_IvdException) |
| void | CheckFSCvsIVDFS (in i_Count_t a_numFilesPerBatch, in short a_sysLoadPct, in i_UIMessageServer a_uims) raises (i_IvdException) |
| Check ivdfs with FSC, prepare package every a_numFilesPerBatch number of files read. | |
| boolean | IsCheckFSCvsIVDFSRunning () raises (i_IvdException) |
| void | Abort (in i_HsmTask_e a_hsmTask) |
| abort particular task | |
| i_Status_t | Suspend () |
| Suspend HSMDB. | |
| void | Continue (in i_Status_t a_status) |
| Continue with HSMDB. | |
| void | TrigRecall (in i_FileList_t a_files, in boolean a_byFileName, in i_MigID_t a_migID, in string a_into) raises (i_IvdException) |
| i_Count_t | TrigMigration () raises (i_IvdException) |
| long | IVDFSPrepareRecovery (in boolean a_fromScratch, in string a_incrementalFilePath) raises (i_IvdException) |
| Throw an ivd_Error if something wrong. | |
| void | IVDFSRecover (in i_DataBlock_t a_friBlock) raises (i_IvdException) |
| boolean | IsHSMReady () |
| i_Count_t | DoDeletion (in i_FileAgeList_t a_files, out i_Count_t a_missing) raises (i_IvdException) |
| void | SetFullAccess () |
| Reconfigure HSM to default configuration. | |
| i_Count_t i_HSM::ForceMigration | ( | in i_StringList_t | a_fileNames | ) | raises (i_IvdException) |
Immediatelly starts migration of files on the list that are ready to be migrated.
| i_ActivateResult_t i_HSM::ActivateFiles | ( | in i_StringList_t | a_fileNames | ) | raises (i_IvdException) |
puts dirty file to migration candidate, online file to release candidate
| void i_HSM::MigrateByAPI | ( | in long | a_flags, | |
| in string | a_fileName, | |||
| in long long | a_majorColId, | |||
| in long long | a_minorColId, | |||
| out i_JobIDList_t | a_jobIDs | |||
| ) | raises (i_IvdException) |
Interface for migration of files by hsmapi.
| i_Count_t i_HSM::ForceRelease | ( | in i_StringList_t | a_fileNames | ) |
Immediatelly starts release of files on the list that are ready to be released.
| void i_HSM::Reconfigure | ( | in i_ClientConf_t | a_clientConf | ) |
Reconfigure HSM.
| void i_HSM::GetInfo | ( | out i_HsmInfo_t | a_hsmInfo | ) | raises (i_IvdException) |
Get Info about HSM.
| void i_HSM::ShowStatus | ( | in i_UIMessageServer | a_uims, | |
| in i_BitFlag_t | a_showFlags | |||
| ) | raises (i_IvdException) |
Dump out internal HSM status.
| void i_HSM::GetCfg | ( | out i_ClientConf_t | a_clientConf | ) |
Get configuration about HSM.
| void i_HSM::ChangeLogLevel | ( | in char | a_lLevel | ) |
| void i_HSM::Recall | ( | in i_Recall_t | a_file, | |
| in i_JobID_t | a_pmJobId, | |||
| in i_BlkSize_t | a_blockSize, | |||
| in i_BufType_t | a_bufType, | |||
| in string | a_diskBufferFS, | |||
| in boolean | a_succeeded, | |||
| in i_DownloadAgent | a_download | |||
| ) | raises (i_IvdException) |
Recalls listed files.
| void i_HSM::EfficientRecall | ( | in i_RecallList_t | a_seqRecallList, | |
| in i_JobID_t | a_pmJobId, | |||
| in i_JobID_t | a_hsmJobIndexID, | |||
| in i_BlkSize_t | a_blockSize, | |||
| in i_BufType_t | a_bufType, | |||
| in string | a_diskBufferFS, | |||
| in boolean | a_succeeded, | |||
| in i_DownloadAgent | a_download | |||
| ) | raises (i_IvdException) |
| void i_HSM::RunScripts | ( | ) |
| i_Count_t i_HSM::DoMigrationJob | ( | in i_BufType_t | a_resType, | |
| in string | a_diskBufferFS, | |||
| in i_JobID_t | a_pmJobId, | |||
| in i_BlkSize_t | a_blkSize, | |||
| in i_Count_t | a_numCopies, | |||
| in i_MigID_t | a_migrationID, | |||
| in i_JobRequestList_t | a_jobFiles, | |||
| in i_UploadAgent | a_upload | |||
| ) | raises (i_IvdException) |
| void i_HSM::CompleteMigration | ( | in i_BufType_t | a_resType, | |
| in i_JobID_t | a_pmJobId, | |||
| in i_CompletionStatus_e | a_status | |||
| ) | raises (i_IvdException) |
| void i_HSM::CheckFSCvsIVDFS | ( | in i_Count_t | a_numFilesPerBatch, | |
| in short | a_sysLoadPct, | |||
| in i_UIMessageServer | a_uims | |||
| ) | raises (i_IvdException) |
Check ivdfs with FSC, prepare package every a_numFilesPerBatch number of files read.
After each package is checked slep so much that chack process will have only a_sysLoadPct system percetage impact. Hint: sleep for (time for last package) * (100 div a_sysLoadPct - 1) To work with int arithmetic: (time for last package) div a_sysLoadPct * 100 - (time for last package) (time for last package) must bee in proper units to fit integer in seconds if task take more than 10 s othervice in miliseconds
table: % faktor to multiply last package time 100 0 full speed 80 0.25 50 0.5 40 1.5 25 3.0 10 9.0 5 19.0 0 0 full speed
| boolean i_HSM::IsCheckFSCvsIVDFSRunning | ( | ) | raises (i_IvdException) |
| void i_HSM::Abort | ( | in i_HsmTask_e | a_hsmTask | ) |
abort particular task
| i_Status_t i_HSM::Suspend | ( | ) |
Suspend HSMDB.
| void i_HSM::Continue | ( | in i_Status_t | a_status | ) |
Continue with HSMDB.
| void i_HSM::TrigRecall | ( | in i_FileList_t | a_files, | |
| in boolean | a_byFileName, | |||
| in i_MigID_t | a_migID, | |||
| in string | a_into | |||
| ) | raises (i_IvdException) |
| i_Count_t i_HSM::TrigMigration | ( | ) | raises (i_IvdException) |
| long i_HSM::IVDFSPrepareRecovery | ( | in boolean | a_fromScratch, | |
| in string | a_incrementalFilePath | |||
| ) | raises (i_IvdException) |
Throw an ivd_Error if something wrong.
| void i_HSM::IVDFSRecover | ( | in i_DataBlock_t | a_friBlock | ) | raises (i_IvdException) |
| boolean i_HSM::IsHSMReady | ( | ) |
| i_Count_t i_HSM::DoDeletion | ( | in i_FileAgeList_t | a_files, | |
| out i_Count_t | a_missing | |||
| ) | raises (i_IvdException) |
| void i_HSM::SetFullAccess | ( | ) |
Reconfigure HSM to default configuration.
1.5.6