Pausing a library from all archive and retrieval

How do we stop an entire logical library from archiving or retrieval operations?

Does this cta-admin ll ch --disable true command do it or do we mark all the drives in the DOWN state, or both?

Hi Jeff,

only one command is needed and in general both options will have almost the same result.

However, this one is simpler:

cta-admin ll ch -n LIBRARY_NAME -d true --dr 'WHO (WHEN): for what reason'

Because:

  • It is then simpler to re-enable the library with just one command -d false
  • Our script that distributes empty tapes to user tape pools takes into account only available libraries so it would skip the tapes from this library (for the duration of the disabling)

Otherwise:

  • If you put down the drives, you need to specify a reason and it may happen that some drives are already down with a different reason = you need to work around those which complicates the situation
  • In both cases, the ongoing running jobs will be left running, but the new ones will not start

Please note that if you disable a library and then run cta-admin dr ls all tape drives in that logical library will have ! in front of their names. This is to highlight that something is not normal there.

Let me know if you need more explanations. Best regards,

Vladimir