Define TSM tape and disk storage pools
The Archive Node writes to a disk storage pool. To archive content to tape, you must configure the disk storage pool to move content to a tape storage pool.
For a TSM server, you must define a tape storage pool and a disk storage pool within Tivoli Storage Manager. After the disk pool is defined, create a disk volume and assign it to the disk pool. A tape pool is not required if your TSM server uses disk‐only storage.
You must complete several steps on your TSM server before you can create a tape storage pool. (Create a tape library and at least one drive in the tape library. Define a path from the server to the library and from the server to the drives, and then define a device class for the drives.) The details of these steps can vary depending upon the hardware configuration and storage requirements of the site. For more information, see the TSM documentation.
The following set of instructions illustrates the process. You should be aware that the requirements for your site could be different depending on the requirements of your deployment. For configuration details and for instructions, see the TSM documentation.
|
|
You must log in to the server with administrative privileges and use the dsmadmc tool to execute the following commands. |
-
Create a tape library.
define library tapelibrary libtype=scsiWhere
tapelibraryis an arbitrary name chosen for the tape library, and the value oflibtypecan vary depending upon the type of tape library. -
Define a path from the server to the tape library.
define path servername tapelibrary srctype=server desttype=library device=lib-devicename-
servernameis the name of the TSM server -
tapelibraryis the tape library name you defined -
lib-devicenameis the device name for the tape library
-
-
Define a drive for the library.
define drive tapelibrary drivename-
drivenameis the name you want to specify for the drive -
tapelibraryis the tape library name you definedYou might want to configure an additional drive or drives, depending upon your hardware configuration. (For example, if the TSM server is connected to a Fibre Channel switch that has two inputs from a tape library, you might want to define a drive for each input.)
-
-
Define a path from the server to the drive you defined.
define path servername drivename srctype=server desttype=drive library=tapelibrary device=drive-dname-
drive-dnameis the device name for the drive -
tapelibraryis the tape library name you definedRepeat for each drive that you have defined for the tape library, using a separate
drivenameanddrive-dnamefor each drive.
-
-
Define a device class for the drives.
define devclass DeviceClassName devtype=lto library=tapelibrary format=tapetype-
DeviceClassNameis the name of the device class -
ltois the type of drive connected to the server -
tapelibraryis the tape library name you defined -
tapetypeis the tape type; for example, ultrium3
-
-
Add tape volumes to the inventory for the library.
checkin libvolume tapelibrarytapelibraryis the tape library name you defined. -
Create the primary tape storage pool.
define stgpool SGWSTapePool DeviceClassName description=description collocate=filespace maxscratch=XX-
SGWSTapePoolis the name of the Archive Node's tape storage pool. You can select any name for the tape storage pool (as long as the name uses the syntax conventions expected by the TSM server). -
DeviceClassNameis the name of the device class name for the tape library. -
descriptionis a description of the storage pool that can be displayed on the TSM server using thequery stgpoolcommand. For example: "Tape storage pool for the Archive Node." -
collocate=filespacespecifies that the TSM server should write objects from the same file space into a single tape. -
XXis one of the following:-
The number of empty tapes in the tape library (in the case that the Archive Node is the only application using the library).
-
The number of tapes allocated for use by the StorageGRID system (in instances where the tape library is shared).
-
-
-
On a TSM server, create a disk storage pool. At the TSM server's administrative console, enter
define stgpool SGWSDiskPool disk description=description maxsize=maximum_file_size nextstgpool=SGWSTapePool highmig=percent_high lowmig=percent_low-
SGWSDiskPoolis the name of the Archive Node's disk pool. You can select any name for the disk storage pool (as long as the name uses the syntax conventions expected by the TSM). -
descriptionis a description of the storage pool that can be displayed on the TSM server using thequery stgpoolcommand. For example, "Disk storage pool for the Archive Node." -
maximum_file_sizeforces objects larger than this size to be written directly to tape, rather than being cached in the disk pool. It is recommended to setmaximum_file_sizeto 10 GB. -
nextstgpool=SGWSTapePoolrefers the disk storage pool to the tape storage pool defined for the Archive Node. -
percent_highsets the value at which the disk pool begins to migrate its contents to the tape pool. It is recommended to setpercent_highto 0 so that data migration begins immediately -
percent_lowsets the value at which migration to the tape pool stops. It is recommended to setpercent_lowto 0 to clear out the disk pool.
-
-
On a TSM server, create a disk volume (or volumes) and assign it to the disk pool.
define volume SGWSDiskPool volume_name formatsize=size-
SGWSDiskPoolis the disk pool name. -
volume_nameis the full path to the location of the volume (for example,/var/local/arc/stage6.dsm) on the TSM server where it writes the contents of the disk pool in preparation for transfer to tape. -
sizeis the size, in MB, of the disk volume.For example, to create a single disk volume such that the contents of a disk pool fill a single tape, set the value of size to 200000 when the tape volume has a capacity of 200 GB.
However, it might be desirable to create multiple disk volumes of a smaller size, as the TSM server can write to each volume in the disk pool. For example, if the tape size is 250 GB, create 25 disk volumes with a size of 10 GB (10000) each.
The TSM server preallocates space in the directory for the disk volume. This can take some time to complete (more than three hours for a 200 GB disk volume).
-