This explains how to format a database and log file. The database and log file are stored in "$DIR4" ("DB directory") allocated space for is estimated in "7.3.2 Dynamic Disk Resources".
Note
The functions for extending the TSM database and log file (extend db and extend log) cannot be used. Specify a value large enough to accommodate any future requirements of the backup operation.
For details on extending the space of the ISM database and log file, refer to "Tivoli Storage Manager for Sun Solaris Administrator's Guide" and "Tivoli Storage Manager for Sun Solaris Administrator's Reference".
The procedure is as follows.
Set up the shell and environment variables that are required in the following operations.
Shell and environment variables are required until "8.7.5 Registration of a TSM Administrative Client and TSM Server Name" completes. If a shell or environment variable is deleted by a session disconnection or a similar process, then re-execute this configuration.
The following is an example of /bin/sh or /bin/ksh command execution in prompt.
# TSMDB=DB_directory; export TSMDB
# DSMSERV_DIR=/opt/tivoli/tsm/server/bin; export DSMSERV_DIR
# DSMSERV_CONFIG=$TSMDB/dsmserv.opt; export DSMSERV_CONFIG
# |
Delete the database and log file that are created through installation.
# cat /opt/Tivoli/tsm/server/bin/dsmserv.dsk #dsk_comment#page_shadow_token:1050524192947 <- This is a comment line /opt/tivoli/tsm/server/bin/log.dsm <- This is a log file /opt/tivoli/tsm/server/bin/db.dsm <- This is a database # rm /opt/tivoli/tsm/server/bin/log.dsm # rm /opt/tivoli/tsm/server/bin/db.dsm # rm /opt/tivoli/tsm/server/bin/dsmserv.dsk # |
Refer the file that contains the database and log file (dsmserv.dsk) and locates the log.dsm and db.dsm file paths.
Delete the log.dsm and db.dsm files.
Finally, delete the file that contains the database and log file (dsmserv.dsk).
Create the database and log file and format them.
# cd $TSMDB # /opt/tivoli/tsm/server/bin/dsmfmt -m -db database_file_name database_file_size |
The meaning of the specified items is as follows.
Item | Meaning |
---|---|
database_file_name | Specifies in a full path the file name of a database to be created. For the directory, specify "DB directory". The file name is db.dsm. |
log_file_name | Specifies in a full path the file name of a log to be created. For the directory where the file is created, specify "DB directory". The file name is log.dsm. |
database_file_size | Specifies the size of a database to be created (in megabytes). Specify the value that is estimated in "7.3.2 Dynamic Disk Resources". Specify a value large enough to change the backup operation in the future. |
log_file_size | Specifies the size of a log file to be created (in megabytes). Specify a value of 129 or greater. The specified value should be a multiple of 4MB, with 1MB added. |
An example is provided below.
# cd $TSMDB # /opt/tivoli/tsm/server/bin/dsmfmt -m -db $TSMDB/db.dsm 129 # /opt/tivoli/tsm/server/bin/dsmfmt -m -log $TSMDB/log.dsm 129 # |
Format the database and log file.
# cd $TSMDB # /opt/tivoli/tsm/server/bin/dsmserv format 1 $TSMDB/log.dsm 1 $TSMDB/db.dsm # |
For log.dsm and db.dsm, specify the file names that are specified with the "dsmfmt" command.
See
For details on formatting the database and log, refer to "Tivoli Storage Manager for Sun Solaris Administrator's Guide" and "Tivoli Storage Manager for Sun Solaris Administrator's Reference".