Tuesday, 27 September 2011

Installing IBM Tivoli Storage Manager (TSM) Client (V 6.2.1) on Linux Ubuntu 32-bit (i386)


Installing IBM Tivoli Storage Manager (TSM) Client (V 6.2.1)
on Linux Ubuntu 32-bit (i386)
Step 1
Download the Installation files (in our case it is CZGL9MLtar.gz)


Step 2:
We need to install an additional package for this version i.e., libstdc++5. This package contains an additional runtime library for C++ programs built with the GNU compiler.
#apt-get install ksh libstdc++5

Step 3
Gunzip and tar the downloaded file. Make sure you have root privileges.
root@ABCXYZ:~#pwd
/root
#chmod 777 CZGL9ML.tar.gz
#gunzip CZGL9ML.tar.gz
#tar -xvf /home/rizvi/CZGL9ML.tar
#cd TSMCLI_LNX/tsmcli/linux86/
Here you would see rpm files.
Step 4
Now we will unpack rpm files. For this we need alien package installed. If not then (#apt-get install alien)
#alien –g TIVsm-API.i386.rpm
#alien –g TIVsm-BA.i386.rpm
#alien -g gskcrypt32-8.0.13.3.linux.x86.rpm
 #alien -g gskssl32-8.0.13.3.linux.x86.rpm

Step 5
Now we will change directory name. This is an issue which comes when building .deb package
#mv TIVsm-API-6.2.1/debian/ TIVsm-API-6.2.1/DEBIAN
#mv TIVsm-BA-6.2.1/debian/ TIVsm-BA-6.2.1/DEBIAN
#mv gskcrypt32-8.0/debian/ gskcrypt32-8.0/DEBIAN
#mv gskssl32-8.0/debian/ gskssl32-8.0/DEBIAN

Step 6
Now, we will edit the control files as shown below. You should leave a blank line in end of file.
#nano /root/TSMCLI_LNX/tsmcli/linux86/TIVsm-API-6.2.1/DEBIAN/control

| Source: tivsm-api
| Section: alien
| Priority: extra
| Maintainer: RIZVI
| Package: tivsm-api
| Architecture: i386
| Depends:
| Description: the API IBM Tivoli Storage Manager API
| Version: 6.2.1
|
#nano /root/TSMCLI_LNX/tsmcli/linux86/TIVsm-BA-6.2.1/DEBIAN/control
| Source: tivsm-ba
| Section: alien
| Priority: extra
| Maintainer: RIZVI
| Package: tivsm-ba
| Architecture: i386
| Depends:
| Description: the Backup Archive Client IBM Tivoli Storage Manager Client
| Version: 6.2.1
|

#nano /root/TSMCLI_LNX/tsmcli/linux86/gskcrypt32-8.0/DEBIAN/control

| Source: gskcrypt32
| Section: alien
| Priority: extra
| Maintainer: RIZVI
| Package: gskcrypt32
| Architecture: i386
| Depends:
| Description: IBM GSKit Cryptography Runtime IBM GSKit Cryptography Runtime
| Version: 8.0
|

#nano  /root/TSMCLI_LNX/tsmcli/linux86/ gskssl32-8.0/DEBIAN/control


| Source: gskssl32
| Section: alien
| Priority: extra
| Maintainer: RIZVI
| Package: gskssl32
| Architecture: i386
| Depends:
| Description: IBM GSKit SSL Runtime With Acme Toolkit
| Version: 8.0
|

Step 7
Now we will create .deb packages for installation .Do not care about warnings.
#dpkg -b TIVsm-API-6.2.1

#dpkg -b TIVsm-BA-6.2.1

# dpkg -b gskcrypt32-8.0

#dpkg -b gskssl32-8.0


Step 8
Now we will install the  .deb  packages that we have just created.

#dpkg -i TIVsm-API-6.2.1.deb

#dpkg -i TIVsm-BA-6.2.1.deb

#dpkg -i gskcrypt32-8.0.deb

#dpkg -i gskssl32-8.0.deb

Step 9

Now we will add the symbolic link for shared libraries. We will create a file (e.g., tivoli.conf) in directory of /etc/ld.so.conf.d/ and add the path of library files and link the directory path as follows.

#nano /etc/ld.so.conf.d/tivoli.conf

Add following lines in this file


# TSM Server Backup agent library files
/opt/tivoli/tsm/client/api/bin/
/usr/local/ibm/gsk8/lib

-Save and Exit

#ldconfig
#ln -s /opt/tivoli/tsm/client/lang/EN_US


Step 10
Create/modify TSM configuration files
#nano /opt/tivoli/tsm/client/ba/bin/dsm.opt
| ServerName TSMServer
– Save and Exit
#nano /opt/tivoli/tsm/client/ba/bin/dsm.sys
| ServerName TSMServer
| CommMethod TCPip
| TcpPort 1500
| TcpServerAddress 10.77.77.77
| NodeName NETSYSLOG
| PasswordAccess generate
| Compression On
– Save and Exit

Step 11
You are DONE with TSM Client Installation!!! Execute following command.
#dsmc
On successful execution of following, you would see screen like shown below:
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
  Client Version 6, Release 2, Level 1.0 
  Client date/time: 09/27/2011 15:25:09
(c) Copyright by IBM Corporation and other(s) 1990, 2010. All Rights Reserved.

Node Name: NETSYSLOG
Session established with server TSMSERVER: Windows
  Server Version 5, Release 5, Level 0.0
  Server date/time: 09/27/2011 15:25:14  Last access: 09/27/2011 14:04:42

tsm>  exit

Now execute dsmcad command
#dsmcad

Step 12

Now you can accesses the Tivoli Storage Manager Back Achieve Client by entering following link in URL http://10.77.77.77:1581


Monday, 18 July 2011

Installing and Configuring Cacti (Open source network graphing tool) on Ubuntu

We will see how to install and configure
Includes:

1. Blue Coat Proxy SG graph
2. F5 BIG IP LTM
3. Cisco C6506 Switch


Will update it soon