
Chapter 6 Recycling 155
Configuring the recycler for a tape library involves the tasks described in the
following sections, in this order:
1. “Creating a recycler.cmd File” on page 155
2. “Editing the archiver.cmd File” on page 161 (This step is optional for recycling
tape libraries)
3. “To Run the Recycler” on page 158
4. “Creating a crontab File for the Recycler” on page 159
5. “To Remove -recycle_ignore and ignore Parameters” on page 159
6. “Creating a recycler.sh File” on page 160
Creating a recycler.cmd File
Create a recycler.cmd file if you are recycling archive copies on cartridges in a
library.
Note – Even if you are recycling by archive set, you still should configure each
library in the recycler.cmd file. This ensures that VSNs that do not fall into an
archive set can be recycled if needed.
The recycler.cmd file contains general recycling directives. It can also contain
directives for each library in the Sun StorageTek SAM environment. A typical
recycler.cmd file contains the following directive lines:
■ A logfile= directive line to specify a recycler log file. The system writes
recycling messages and recycling reports to this file.
■ One or more directive lines for each library that contains volumes to be recycled.
This line must contain the family set name (from the mcf file) for the library being
recycled. The family set name identifies the library to the recycler. For
information on the recycling directive, see “Using Recycling Directives” on
page 152.
Because you are creating the recycler.cmd line and it has not yet been tested, use
the ignore keyword. You remove the ignore keyword in a later step in this
process.
▼ To create a recycler.cmd file
1. Become superuser.
2. Use vi(1) or another editor to open file /etc/opt/SUNWsamfs/recycler.cmd.
Commenti su questo manuale