Creation or deletion of tape storage pools

How to create or delete tape storage pools for use with IBM Storage Archive Enterprise Edition.

Create tape storage pools by using the eeadm pool create command. Delete tape storage pools by using the eeadm pool delete command. The name of the tape pool must be specified. If there is more than one tape library, the name of the library must be specified.

For example, the following command creates the tape storage pool that is named pool3, in the tape library named lib2.
eeadm pool create pool3 -l lib2
For more information, see eeadm pool create.

To list the pools that are available, use the eeadm pool list command. For more information, see eeadm pool list.

Tape storage pools are defined, for each library, in the libresources.<library_id>.db configuration file. The configuration file is stored in the .ltfsee/config/ directory. The .ltfsee/config/ directory is in the file system that is reserved for IBM Storage Archive EE internal usage. The configuration information is imported into the multi-tape management module (MMM) in the control node when the IBM Storage Archive EE system is started. The control node manages the configuration data and physical resources of IBM Storage Archive EE.

Note: After you create or delete tape storage pools, it is recommended that you back up the pool configuration. Recall operations fail if the pool information disappears because of a corrupted configuration database.
The following script (dump_db.sh) can be used to dump all configurations. In the following example, replace <FSDIR> with the GPFS file system that you selected when you configured your IBM Storage Archive EE cluster with the /opt/ibm/ltfsee/bin/ltfsee_config -m CLUSTER command. Redirect the output to a file for your backup, such as dump_db.sh > ltfsee_backup.txt.
==== Example (dump_db.sh) ====
#!/bin/bash


EE_DIR="<FSDIR>"
TARGET_DIR="${EE_DIR}/.ltfsee/config"

if [ -d ${TARGET_DIR} ]; then
for db in ${TARGET_DIR}/*.db; do
echo "==== ${db} START ===="
sqlite3 ${db} .dump
echo "==== ${db} END ===="
done
fi