1. 07 Oct, 2016 1 commit
  2. 06 Oct, 2016 3 commits
    • Eric Cano's avatar
      Implemented drive status support in drive register structure and code. · 56c4c332
      Eric Cano authored
      Added drive status reporting in scheduler
      Added drive status reporting in OStoreDB
      Added support for drive status listing in the front end
      Removed virtual functions from the Scheduler, which is never overloaded.
      Added DesiredDriveState structure to drive state.
      Removed usage of duplicate MountType, DriveStatus and DriveState structures.
      Created DriveInfo structure to allow recreation of drive register entry in all
      reporting situation (potentially with partial/assumed info).
    • Victor Kotlyar's avatar
      Ported commit fab791bc805f95d59c55cbcb554e6f218710b0dd from castor/master · 425af9d0
      Victor Kotlyar authored
      CASTOR-4836: tapeserverd should have a new time counter: delivery time
      Add two counters: deliveryTime and drainingTime. For the recall
      session deliveryTime is the total time of the disk threads and
      drainigTime is the time difference between deliveryTime and
      the total time of the tape thread or in other words how much time
      disk threads spent after the tape thread finished. For the
      migration session deliveryTime is the total time of the tape thread
      and drainingTime always equal 0.
    • Victor Kotlyar's avatar
      Ported commit 2a14c5d7ef7bb395a37454789abcbfd7266edcc2 from castor/master · a4776842
      Victor Kotlyar authored
      CASTOR-4982: tapeserverd should tolerate some non-fatal tape alerts
      before writing
      Add logic to the TapeWriteSingleThread to skip not-fatal tape
      alerts before writing to the tape. Only "Lost statistics"
      tapeAlertLostStatistics 0x32 tolerated as non-fatal.
  3. 05 Oct, 2016 1 commit
    • Victor Kotlyar's avatar
      Ported commits from castor/master: · 1797bcd6
      Victor Kotlyar authored
        ported only radosstriper part of tapserverd
        CASTOR-4739 tapeserverd should support localfile, rfio, xroot and
        rados striper access for disk files
        Implemented the support for direct rados striper support in
        The expected URL is currently: radosstriper:///user@pool:filePath
        (with no ':' in user and pool).
        Added missing test for the radosstriper URL parsing regex and fixed
        Fixed call striperPool: we now call the exception throwing version.
  4. 04 Oct, 2016 2 commits
  5. 03 Oct, 2016 2 commits
    • Victor Kotlyar's avatar
      Ported commits from castor/master: · 28c7456a
      Victor Kotlyar authored
        Removed redundant setting of the TPVID paramter while mounting the
        tape. This had the nasty side effect of removing the parameter after
        leaving the functions (for all the following logs).
        CASTOR-5323 Tapeserver logs inconsistencies
        Removed duplicate setting of a scoped TPVID parameter in the logs.
        When going out of scope, the parameter
        made TPVID disappear from following logs, which is not desired.
    • Victor Kotlyar's avatar
      Ported commits from castor/master: · 2c2f4a27
      Victor Kotlyar authored
        Add drive's serial number to logs
          ## Description
            Add the drive's serial number, as read by the SCSI Inquiry command
            to the SCSI metrics log lines.
          ## Changes
            * Add the line to the logs
            * Modify session test to check existence of the property in the log
            * line
  6. 30 Sep, 2016 1 commit
    • Victor Kotlyar's avatar
      Ported commits from castor/master for general,drive,volume SCSI statistics: · e8b4ec34
      Victor Kotlyar authored
        CASTOR-5322 RFE: Enhance tapeserverd logs with SCSI tape drive
        Fix for mhtvl scsi log sense exceptions
        CASTOR-5329 Enhance tape statistics
        CASTOR-5332 RFE: Reduce log level to INFO with MHVTL - SCSI Statistics
          could not be acquired from drive
        Move volume SCSI statistics inside the dtor of TapeCleaningMove volume
          SCSI statistics inside the dtor of TapeCleaning
        ## Description
        When first introduced volume SCSI Statistics (at the moment
        IBM-specific), we explicitly put the function after the unmount of the
        tape was done due to an invalid file descriptor error occurring during
        the SCSI query.
        This bug no longer occurs for IBM drives.
        This may be attributed to the update of firmware of the IBM drives
        Apart from the change of the position of the changes, there is no
        alteration in terms of the metrics reported from the drive to the logs.
        ## Testing
        The tests the new code has been through are:
          * Write/Read file on IBM lib0 drive *(older one)*
          * Write/Read file on IBM lib4 drive *(newer one)*
          * Write/Read file on Oracle T10k drive
  7. 28 Sep, 2016 2 commits
  8. 27 Sep, 2016 2 commits
  9. 23 Sep, 2016 1 commit
  10. 16 Sep, 2016 1 commit
  11. 15 Sep, 2016 1 commit
  12. 14 Sep, 2016 1 commit
  13. 13 Sep, 2016 2 commits
  14. 12 Sep, 2016 1 commit
  15. 09 Sep, 2016 2 commits
  16. 07 Sep, 2016 1 commit
  17. 06 Sep, 2016 2 commits
  18. 05 Sep, 2016 1 commit
  19. 01 Sep, 2016 2 commits
  20. 31 Aug, 2016 2 commits
  21. 30 Aug, 2016 6 commits
  22. 29 Aug, 2016 2 commits
    • Eric Cano's avatar
      Simplified the interface of the TapedProxy and TapeServerReporter. · 2bf36ce4
      Eric Cano authored
      The TapeServerReporter, which is the main interface for the tape thread and tasks,
      now has a simple reportState() function instead of mnay ad-hoc ones. The only ones
      remaining are reportTapeUnmountedForRetrieve() and reportDiskCompleteForRetrieve()
      as they allow managing the special case of retrieve where the session can from
      Running to either ShutingDown or DrainingToDisk depending on which order the
      threads complete.
      The actual calls to send messages to taped are now 3: reportState,
      addLog, removeLog.
    • Steven Murray's avatar
  23. 26 Aug, 2016 1 commit