Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Step 2: Select the language number you want and and press enter as shown below, default is
ENGLISH
Step 3: Choose the product you want to install, here we have selected Tivoli Storage Manager
Extended Edition.
Step 4: Choose if you want to use LANFree Operations on your TSM Server.
Step 6 : Select components to install. and press enter. You can select multiple components by
using comma(,) as shown below. Then the deployment engine starts and continues for 5-10
minutes.
After few minutes the console should show the completion of TSM Installation as below.
Step 8 : Now, we have to check if all the required software is installed by using lslpp -l command
as shown below. Here we can see that all the TSM Server components are successfully
installed.
The user ID and group name cannot start with ibm, sql, sys, or a numeral.
The user ID and group name cannot be user, admin, guest, public, local, or any SQL
reserved word.
Step 1: Use below commands to create TSM Server Group and TSM User
mkgroup id=1001 tsmsrvrs
mkuser id=1002 pgrp=tsmsrvrs home=/home/tsminst1 tsminst1
passwd tsminst1
Step 2: Create directories that the server requires. Ensure that you are logged in under the new
user ID you just created. Check the below screenshots to know how to do this.
mkdir /tsminst1
mkdir /home/user_ID/tsmdb001
mkdir /home/user_ID/tsmdb002
mkdir /home/user_ID/tsmlog
mkdir /home/user_ID/tsmarchlog
mkdir /home/user_ID/tsmlogmirror
mkdir /home/user_ID/tsmarchlogfailover
Step 3: Make sure that the TSMuser is the owner of the TSMDB & TSM-LOGS and also have
Read/Write Permissions. To do this check this below screen shots. Use ls -ltr command to check
back.
chown -R user:group /directoryname
chmod -R 777 /directoryname
Use the Tivoli Storage Manager configuration wizard (dsmicfgx) on your local system.
Use the Tivoli Storage Manager configuration wizard in the Administration Center.
In this post I will demonstrate how to configure using Tivoli Storage Manager configuration wizard
(dsmicfgx) which is also the best recommended method from the above three. This method is
same both in Windows and UNIX environment.
By using the graphical user interface (GUI), you can avoid some configuration steps that are
complex when done manually. Start the wizard on the system where you installed the Tivoli
Storage Manager server program.
Before beginning the configuration wizard, you must complete all preceding steps to prepare for
the configuration, including prerequisite checking, installing Tivoli Storage Manager, creating the
database and log directories, and creating the directories and user ID for the server instance.
The system where you installed Tivoli Storage Manager must have the X Window
System client. You must also be running an X Window System server on your desktop.
The system must have one of the following protocols enabled. Ensure hat the port that
the protocol uses is not blocked by a firewall.
Secure Shell (SSH). Ensure that the port is set to the default value, 22. Also ensure that
the SSH daemon service has access rights for connecting to the system by using
localhost.
You must be able to log in to Tivoli Storage Manager with the user ID that you created for
the server instance, by using the SSH, RSH, or REXEC protocol. When using the wizard,
you must provide this user ID and password to access that system.
Follow the instructions to complete the configuration. The wizard can be stopped and
restarted, but the server is not operational until the entire configuration process is
complete.
In this post I have used Xmanager as the X window system client to graphically configure the
TSM Server on AIX from a windows machine. Xmanager is the leading PC X server in the market
that brings the power of X applications to a Windows environment. You can learn and download
Xmanager here.
Step 1: Login as root and go the installation directory /opt/tivoli/tsm/server/bin directory run the
dsmicfgx binary file. It will open a pop-up window, a GUI based configuration wizard as shown
below.
10
Step 2: Specify the user ID and password for the new TSM Instance and click NEXT. To know
how to create user ID and password for the new TSM Instance click here.
11
Step 3: Specify the new Instance directory where all the TSM Server configuration files will be
saved and click NEXT.
Step 4: Specify the TSM Database directories and click NEXT. You should create a file with list
of Database directories if you are choosing first option. To know how to create db & log
directories click here.
12
Step 5: Specify the TSM Active log directory, Archive log directory paths. Activemirror log and
Archivefailover log directories are optional but it is strongly recommended.
Step 6: Specify the TSM Server name which you want to use. Check TSM Server naming
conventions before taking server name decision to avoid silly annoying issues. Also select the
option when to start the TSM Instance after completion of this configuration setup.
13
Step 7: Specify the TSM Administrator name and password which is used to login into the TSM
Server.
Step 8: You dont have to change the default settings unless you have different options other than
specified below.
14
Step 10: The TSM instance configuration will start now and it will undergo many steps. It will
approximately take 20-30 minutes to complete the configuration. You can see the steps on the
wizard screen.
15
Step 10: Now the wizard should say that configuration of TSM is successful as shown above.
Now click NEXT and click DONE.
The next step is to start the TSM Server Instance with the TSM Instance user ID:
Log in to the system where Tivoli Storage Manager is installed by using the instance user ID
which was created before.
Issue the following commands to start the TSM Server Instance
. /home/tsminst1/sqllib/db2profile
/opt/tivoli/tsm/server/bin/dsmserv
To start the server in the background, issue the following command
/opt/tivoli/tsm/server/bin/dsmserv -q &
4) Caching option is available in the disk storage pool. When cache is enabled, the migration
process leaves behind duplicate copies of files after the server migrates these files to the next
storage pool in the hierarchy. Consider using Active Data Pools instead
5) There are both advantages and disadvantages of enabling cache on disk pools. You need to
cheese this option according to your resources. Using cache can improve the speed with which
the server retrieves some files. Consider enabling cache for space-managed files that clients
frequently access. If space is needed to store new data in the disk storage pool, cached files are
erased and the space is used for those new files.
16
Using cache can require more space for the server database because the server
maintains two copies of the file.
If you want to use caching, you cannot also enable shredding for that disk storage pool.
Each version of a file that Tivoli Storage Manager stores requires about 400 to 600 bytes
of database space.
Each cached or storage pool copy of a file requires about 100 to 200 bytes of database
space. Caching is turned off by default. It is used only to move from one storage pool to
next.
Maximum and Minimum size allowed for Database and Recovery log
Database
Maximum size: 4 TB
Consider restore time when deciding how large the database should be.
Active log
Minimum size: 2 GB
Default size: 16 GB
Active log space requirements increase when you use data deduplication.
Archive log
Large enough to contain the logs that the previous full backup generates
Backed up objects
17
50,000,000 objects might be backed up. Storage policies call for retaining up to three copies of
backed up files. 150,000,000 stored backed up objects.
Archived objects
Space-managed objects
20,000,000 objects migrated from client workstations might be in server storage. [(50,000,000 X
3 ) + 10,000,000 + 20,000,000)] x 600 bytes = 100 GB
Copy storage pool objects - All primary storage pools are backed up to the copy
storage pool:
Active-data pool objects - All the active client backup data in primary storage pools is
copied to the active-data pool.
Assume that 50,000,000 versions of the backup files in the primary storage pool are active.
50,000,000 x 200 bytes = 9.5 GB
Estimated database size: 144 GB + overhead (up to 50%) = approximate 216 GB
In the above example, the computations represent probable maximums. The numbers are not
based on the use of file aggregation. In general, the more that small files are aggregated, the
less database space that is required.
If you cannot estimate the numbers of files, you can roughly estimate the database size as 1% to
5% of the required server storage space. For example, if you need 1,000 GB of server storage,
make your database between 10 GB and 50 GB.
18
3) You should run the EXTEND DBSPACE commands while the server is not handling a heavy
load.
4) You can also reduce or remove database directories if they are not required by using
REMOVE DB command
Issue the DSMSERV DISPLAY LOG offline utility to verify the size of the active log.
In the dsmserv.opt file, update the ACTIVELOGSIZE server option to the new maximum
size of the active log. For example, to change the active log to 120 GB, enter the
following server option:
activelogsize 122880
If you want to use a new active log directory, update the directory name specified in the
ACTIVELOGDIR server option.
ACTIVELOGDIR
ACTIVELOGSIZE
ARCHLOGDIR
ARCHFAILLOGDIR
MIRRORLOGDIR
DBMEMPERCENT
19
4) You can use server options to control how Tivoli Storage Manager groups and transfers
data. Several of these options pertain to the size of the transaction and you can use them for
improving performance. Group options include the following items.
MOVEBATCHSIZE: Specifies the number of files to move and group in a batch, within a
transaction (Default is 1000 files).
MOVESIZETHRESH: Specifies the threshold for the amount of data to move as a batch,
within the same server transaction (Default size is 4096 MB).