19
1 Installing Tiv Step1: Go to the directory wher shown below. Step 2: Select the language nu ENGLISH voli Storage Manager 6.3 S Components re you have extracted the directory and run the umber you want and and press enter as show Server e install.bin file as wn below, default is

Installing Tivoli Storage Manager 6

Embed Size (px)

DESCRIPTION

Instruction

Citation preview

Page 1: Installing Tivoli Storage Manager 6

1

Installing Tivoli Storage Manager 6.3 ServerComponents

Step1: Go to the directory where you have extracted the directory and run the install.bin file asshown below.

Step 2: Select the language number you want and and press enter as shown below, default isENGLISH

1

Installing Tivoli Storage Manager 6.3 ServerComponents

Step1: Go to the directory where you have extracted the directory and run the install.bin file asshown below.

Step 2: Select the language number you want and and press enter as shown below, default isENGLISH

1

Installing Tivoli Storage Manager 6.3 ServerComponents

Step1: Go to the directory where you have extracted the directory and run the install.bin file asshown below.

Step 2: Select the language number you want and and press enter as shown below, default isENGLISH

Page 2: Installing Tivoli Storage Manager 6

2

Step 3: Choose the product you want to install, here we have selected Tivoli Storage ManagerExtended Edition.

Step 4: Choose if you want to use LANFree Operations on your TSM Server.

Step 5: Press 1 to view the licenses and accept the licenses

2

Step 3: Choose the product you want to install, here we have selected Tivoli Storage ManagerExtended Edition.

Step 4: Choose if you want to use LANFree Operations on your TSM Server.

Step 5: Press 1 to view the licenses and accept the licenses

2

Step 3: Choose the product you want to install, here we have selected Tivoli Storage ManagerExtended Edition.

Step 4: Choose if you want to use LANFree Operations on your TSM Server.

Step 5: Press 1 to view the licenses and accept the licenses

Page 3: Installing Tivoli Storage Manager 6

3

Step 6 : Select components to install. and press enter. You can select multiple components byusing comma(,) as shown below. Then the deployment engine starts and continues for 5-10minutes.

3

Step 6 : Select components to install. and press enter. You can select multiple components byusing comma(,) as shown below. Then the deployment engine starts and continues for 5-10minutes.

3

Step 6 : Select components to install. and press enter. You can select multiple components byusing comma(,) as shown below. Then the deployment engine starts and continues for 5-10minutes.

Page 4: Installing Tivoli Storage Manager 6

4

Step 7: Choose appropriate option here relevant to your setup.

After few minutes the console should show the completion of TSM Installation as below.

4

Step 7: Choose appropriate option here relevant to your setup.

After few minutes the console should show the completion of TSM Installation as below.

4

Step 7: Choose appropriate option here relevant to your setup.

After few minutes the console should show the completion of TSM Installation as below.

Page 5: Installing Tivoli Storage Manager 6

5

Step 8 : Now, we have to check if all the required software is installed by using lslpp -l commandas shown below. Here we can see that all the TSM Server components are successfullyinstalled.

5

Step 8 : Now, we have to check if all the required software is installed by using lslpp -l commandas shown below. Here we can see that all the TSM Server components are successfullyinstalled.

5

Step 8 : Now, we have to check if all the required software is installed by using lslpp -l commandas shown below. Here we can see that all the TSM Server components are successfullyinstalled.

Page 6: Installing Tivoli Storage Manager 6

6

How to create TSM DB, log and DB2 user directories ?

Create the user ID for the Tivoli Storage Manager server instance and create the directories thatthe Tivoli Storage Manager server instance needs for database and recovery logs.

Before configuring TSM 6.3 Server instance on AIX, you have to run TSM 6.3 PrerequisiteChecker and Install TSM 6.3 Server code. You should also install Atape Device Drivers to usethe tape devices

In the user ID, only lowercase letters (a-z), numerals (0-9), and the underscore character ( _ )can be used. The user ID and group name must comply with the following rules:

The length must be 8 characters or less.

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 SQLreserved word.

Step 1: Use below commands to create TSM Server Group and TSM User

mkgroup id=1001 tsmsrvrsmkuser id=1002 pgrp=tsmsrvrs home=/home/tsminst1 tsminst1passwd tsminst1

Step 2: Create directories that the server requires. Ensure that you are logged in under the newuser ID you just created. Check the below screenshots to know how to do this.

mkdir /tsminst1mkdir /home/user_ID/tsmdb001mkdir /home/user_ID/tsmdb002mkdir /home/user_ID/tsmlogmkdir /home/user_ID/tsmarchlogmkdir /home/user_ID/tsmlogmirrormkdir /home/user_ID/tsmarchlogfailover

Page 7: Installing Tivoli Storage Manager 6

7

Step 3: Make sure that the TSMuser is the owner of the TSMDB & TSM-LOGS and also haveRead/Write Permissions. To do this check this below screen shots. Use ls -ltr command to checkback.

chown -R user:group /directorynamechmod -R 777 /directoryname

7

Step 3: Make sure that the TSMuser is the owner of the TSMDB & TSM-LOGS and also haveRead/Write Permissions. To do this check this below screen shots. Use ls -ltr command to checkback.

chown -R user:group /directorynamechmod -R 777 /directoryname

7

Step 3: Make sure that the TSMuser is the owner of the TSMDB & TSM-LOGS and also haveRead/Write Permissions. To do this check this below screen shots. Use ls -ltr command to checkback.

chown -R user:group /directorynamechmod -R 777 /directoryname

Page 8: Installing Tivoli Storage Manager 6

8

Configuring Tivoli Storage Manager 6.3 using the Configuration Wizard(dsmicfgx):

After you have installed Tivoli Storage Manager Version 6.3 or later and prepared for theconfiguration, configure the Tivoli Storage Manager server instance. You can Configure a TivoliStorage Manager server instance by selecting one of the following options:

Use the Tivoli Storage Manager configuration wizard (dsmicfgx) on your local system.

Use the Tivoli Storage Manager configuration wizard in the Administration Center.

Manually configure the new Tivoli Storage Manager instance.

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 issame both in Windows and UNIX environment.

By using the graphical user interface (GUI), you can avoid some configuration steps that arecomplex when done manually. Start the wizard on the system where you installed the TivoliStorage Manager server program.

Before beginning the configuration wizard, you must complete all preceding steps to prepare forthe configuration, including prerequisite checking, installing Tivoli Storage Manager, creating thedatabase and log directories, and creating the directories and user ID for the server instance.

Ensure that the following requirements are met:

The system where you installed Tivoli Storage Manager must have the X WindowSystem 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 thatthe protocol uses is not blocked by a firewall.

Secure Shell (SSH). Ensure that the port is set to the default value, 22. Also ensure thatthe SSH daemon service has access rights for connecting to the system by usinglocalhost.

Remote shell (RSH).

Remote Execution Protocol (REXEC).

Page 9: Installing Tivoli Storage Manager 6

9

You must be able to log in to Tivoli Storage Manager with the user ID that you created forthe 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.

Start the Configuration Wizard:

Open the dsmicfgx program in the /opt/tivoli/tsm/server/bin directory.

This wizard can only be run as a root user.

Follow the instructions to complete the configuration. The wizard can be stopped andrestarted, but the server is not operational until the entire configuration process iscomplete.

In this post I have used Xmanager as the X window system client to graphically configure theTSM Server on AIX from a windows machine. Xmanager is the leading PC X server in the marketthat brings the power of X applications to a Windows environment. You can learn and downloadXmanager here.

Step 1: Login as root and go the installation directory /opt/tivoli/tsm/server/bin directory run thedsmicfgx binary file. It will open a pop-up window, a GUI based configuration wizard as shownbelow.

9

You must be able to log in to Tivoli Storage Manager with the user ID that you created forthe 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.

Start the Configuration Wizard:

Open the dsmicfgx program in the /opt/tivoli/tsm/server/bin directory.

This wizard can only be run as a root user.

Follow the instructions to complete the configuration. The wizard can be stopped andrestarted, but the server is not operational until the entire configuration process iscomplete.

In this post I have used Xmanager as the X window system client to graphically configure theTSM Server on AIX from a windows machine. Xmanager is the leading PC X server in the marketthat brings the power of X applications to a Windows environment. You can learn and downloadXmanager here.

Step 1: Login as root and go the installation directory /opt/tivoli/tsm/server/bin directory run thedsmicfgx binary file. It will open a pop-up window, a GUI based configuration wizard as shownbelow.

9

You must be able to log in to Tivoli Storage Manager with the user ID that you created forthe 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.

Start the Configuration Wizard:

Open the dsmicfgx program in the /opt/tivoli/tsm/server/bin directory.

This wizard can only be run as a root user.

Follow the instructions to complete the configuration. The wizard can be stopped andrestarted, but the server is not operational until the entire configuration process iscomplete.

In this post I have used Xmanager as the X window system client to graphically configure theTSM Server on AIX from a windows machine. Xmanager is the leading PC X server in the marketthat brings the power of X applications to a Windows environment. You can learn and downloadXmanager here.

Step 1: Login as root and go the installation directory /opt/tivoli/tsm/server/bin directory run thedsmicfgx binary file. It will open a pop-up window, a GUI based configuration wizard as shownbelow.

Page 10: Installing Tivoli Storage Manager 6

10

Step 2: Specify the user ID and password for the new TSM Instance and click NEXT. To knowhow to create user ID and password for the new TSM Instance click here.

10

Step 2: Specify the user ID and password for the new TSM Instance and click NEXT. To knowhow to create user ID and password for the new TSM Instance click here.

10

Step 2: Specify the user ID and password for the new TSM Instance and click NEXT. To knowhow to create user ID and password for the new TSM Instance click here.

Page 11: Installing Tivoli Storage Manager 6

11

Step 3: Specify the new Instance directory where all the TSM Server configuration files will besaved and click NEXT.

Step 4: Specify the TSM Database directories and click NEXT. You should create a file with listof Database directories if you are choosing first option. To know how to create db & logdirectories click here.

11

Step 3: Specify the new Instance directory where all the TSM Server configuration files will besaved and click NEXT.

Step 4: Specify the TSM Database directories and click NEXT. You should create a file with listof Database directories if you are choosing first option. To know how to create db & logdirectories click here.

11

Step 3: Specify the new Instance directory where all the TSM Server configuration files will besaved and click NEXT.

Step 4: Specify the TSM Database directories and click NEXT. You should create a file with listof Database directories if you are choosing first option. To know how to create db & logdirectories click here.

Page 12: Installing Tivoli Storage Manager 6

12

Step 5: Specify the TSM Active log directory, Archive log directory paths. Activemirror log andArchivefailover log directories are optional but it is strongly recommended.

Step 6: Specify the TSM Server name which you want to use. Check TSM Server namingconventions before taking server name decision to avoid silly annoying issues. Also select theoption when to start the TSM Instance after completion of this configuration setup.

12

Step 5: Specify the TSM Active log directory, Archive log directory paths. Activemirror log andArchivefailover log directories are optional but it is strongly recommended.

Step 6: Specify the TSM Server name which you want to use. Check TSM Server namingconventions before taking server name decision to avoid silly annoying issues. Also select theoption when to start the TSM Instance after completion of this configuration setup.

12

Step 5: Specify the TSM Active log directory, Archive log directory paths. Activemirror log andArchivefailover log directories are optional but it is strongly recommended.

Step 6: Specify the TSM Server name which you want to use. Check TSM Server namingconventions before taking server name decision to avoid silly annoying issues. Also select theoption when to start the TSM Instance after completion of this configuration setup.

Page 13: Installing Tivoli Storage Manager 6

13

Step 7: Specify the TSM Administrator name and password which is used to login into the TSMServer.

Step 8: You dont have to change the default settings unless you have different options other thanspecified below.

13

Step 7: Specify the TSM Administrator name and password which is used to login into the TSMServer.

Step 8: You dont have to change the default settings unless you have different options other thanspecified below.

13

Step 7: Specify the TSM Administrator name and password which is used to login into the TSMServer.

Step 8: You dont have to change the default settings unless you have different options other thanspecified below.

Page 14: Installing Tivoli Storage Manager 6

14

Step 9: Review the configuration summary and click NEXT.

Step 10: The TSM instance configuration will start now and it will undergo many steps. It willapproximately take 20-30 minutes to complete the configuration. You can see the steps on thewizard screen.

14

Step 9: Review the configuration summary and click NEXT.

Step 10: The TSM instance configuration will start now and it will undergo many steps. It willapproximately take 20-30 minutes to complete the configuration. You can see the steps on thewizard screen.

14

Step 9: Review the configuration summary and click NEXT.

Step 10: The TSM instance configuration will start now and it will undergo many steps. It willapproximately take 20-30 minutes to complete the configuration. You can see the steps on thewizard screen.

Page 15: Installing Tivoli Storage Manager 6

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 IDwhich 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 &

MONITORING DB & LOG

1) You have to create and designate directories or drives that the server uses for the databaseduring TSM Server instance configuration. Afterward, the database manager, which is part of theserver, automatically manages the space available to the directories as database space.

2) Locate the database on fast reliable storage, such as Redundant Array of Independent Disks(RAID) hardware. Do not place the database in directories that might run out of space. Locatethe directories across different physical devices (separate LUNs).

3) Database size is determined by the amount of data that you store. The Database Managermanages the database space automatically. The maximum supported limit is 4 TB. Use theQUERY DBSPACE command to monitor database space usage. The size of the databasedepends on the following factors

The number of client files to store

The number of versions of backed up files that are kept

Whether you use caching

4) Caching option is available in the disk storage pool. When cache is enabled, the migrationprocess leaves behind duplicate copies of files after the server migrates these files to the nextstorage 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 tocheese this option according to your resources. Using cache can improve the speed with whichthe server retrieves some files. Consider enabling cache for space-managed files that clientsfrequently access. If space is needed to store new data in the disk storage pool, cached files areerased and the space is used for those new files.

Page 16: Installing Tivoli Storage Manager 6

16

Using cache can require more space for the server database because the servermaintains two copies of the file.

If you want to use caching, you cannot also enable shredding for that disk storage pool.

TSM Database size estimation:The size of your Tivoli Storage Manager database depends on the number of client files to storeand how Tivoli Storage Manager manages them. If you can estimate the maximum number offiles that might be in server storage at any time, you can use the following information to come upwith a useful database size estimate

Each version of a file that Tivoli Storage Manager stores requires about 400 to 600 bytesof database space.

Each cached or storage pool copy of a file requires about 100 to 200 bytes of databasespace. Caching is turned off by default. It is used only to move from one storage pool tonext.

Overhead can increase the required space by an additional 50%.

Maximum and Minimum size allowed for Database and Recovery logDatabase

Minimum size: 2.2 GB

Maximum size: 4 TB

Consider restore time when deciding how large the database should be.

Active log

Minimum size: 2 GB

Maximum size: 128 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

Cleared only in the case of a full backup

Example for Database estimation

Backed up objects

Page 17: Installing Tivoli Storage Manager 6

17

50,000,000 objects might be backed up. Storage policies call for retaining up to three copies ofbacked up files. 150,000,000 stored backed up objects.

Archived objects

10,000,000 objects might be archived copies of client files.

Space-managed objects

20,000,000 objects migrated from client workstations might be in server storage. [(50,000,000 X3 ) + 10,000,000 + 20,000,000)] x 600 bytes = 100 GB

Copy storage pool objects - All primary storage pools are backed up to the copystorage pool:

(150,000,000 + 10,000,000 + 20,000,000) x 200 bytes = 34.3 GB

Active-data pool objects - All the active client backup data in primary storage pools iscopied 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 notbased on the use of file aggregation. In general, the more that small files are aggregated, theless database space that is required.

If you cannot estimate the numbers of files, you can roughly estimate the database size as 1% to5% 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.

Increasing the TSM V7 Database Size1) You can add directories to the database by using the EXTEND DBSPACE command. Theupdates for this operation include distributing data across all database directories and thereclaiming of unused space and returning it to the system. Because redistribution operations takeconsiderable system resources, plan ahead when you want to add space to the database. Forexample

extend dbspace e:\tsm_db\dbs7 on Windows

extend dbspace /tsmdb/dbs7 on UNIX

The directories must be empty and accessible to the user ID of the database manager.

2) DSMSERV EXTEND DBSPACE, can be used to perform the same function as the EXTENDDBSPACE command, while the server is offline.

Page 18: Installing Tivoli Storage Manager 6

18

3) You should run the EXTEND DBSPACE commands while the server is not handling a heavyload.

4) You can also reduce or remove database directories if they are not required by usingREMOVE DB command

Increasing the TSM V7 Activelog sizeIf the log is running out of space, the current transaction is rolled back, and the server issues anerror message and halts. You cannot restart the server until you increase the active log size. Ifyou use the active log mirror, it will also increases to the new size. You can increase the size ofthe active log by completing the following steps

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 maximumsize of the active log. For example, to change the active log to 120 GB, enter thefollowing server option:

activelogsize 122880

If you want to use a new active log directory, update the directory name specified in theACTIVELOGDIR server option.

The changes take effect when you restart the server.

TSM Server options to monitor Database and Recovery log1) You can use server options to control some aspects of database processing. They areavailable during and after installation. The following database options are specified in the serveroptions file during installation:

ACTIVELOGDIR

ACTIVELOGSIZE

ARCHLOGDIR

ARCHFAILLOGDIR

MIRRORLOGDIR

DBMEMPERCENT

2) The ACTIVELOGDIR, ACTIVELOGSIZE, ARCHLOGDIR, ARCHFAILLOGDIR, andMIRRORLOGDIR options control the location and size of the logs and mirrors. These options areset during initial configuration.3) DBMEMPERCENT is the percentage of system memory that is dedicated to the database. IfDBMEMPERCENT is not specified, the default is applied, which is 70% - 80%.

Page 19: Installing Tivoli Storage Manager 6

19

4) You can use server options to control how Tivoli Storage Manager groups and transfersdata. Several of these options pertain to the size of the transaction and you can use them forimproving performance. Group options include the following items.

MOVEBATCHSIZE: Specifies the number of files to move and group in a batch, within atransaction (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).

TXNGROUPMAX: Specifies the number of files to transfer as a group between a clientand the server between transaction commit points (Default is 4096 objects.)