Welcome to the World of IBM Virtualization


"Everything can be virtualized except the reality!!!"


The main idea behind creating this blog is to provide profound insight into managing IT infrastructure running primarily on IBM AIX and the below technologies as well.

To show your support, become a follower of this blog.

1. Tivoli Storage Manager


2. HACMP (POWERHA)


3. VCS (Veritas Cluster Service)


4. Oracle on AIX


5. SAP (R/3, Enterprise portal, CRM, BW) on AIX


6. Informatica on AIX


7. Websphere on AIX




I'll also provide tips, techniques and best practices followed in configuring IBM VIO servers and Virtual IO client LPARS (logical partitions) and present it in a comprehensible way for system architects and AIX beginners.




Enjoy reading my posts and have intellectual fun.

Monday, January 10, 2011

TSM Configuration Steps

See below the TSM configuration steps.


1.) Defining library, Tape drives and path:

define library autolibrary libtype=scsi
define path TSMSERVERA autolibrary srctype=server desttype=library device=/dev/smc2 online=yes
define drive autolibrary LIBTAPE0
define drive autolibrary LIBTAPE1
define drive autolibrary LIBTAPE2
define drive autolibrary LIBTAPE3
define drive autolibrary LIBTAPE4
define drive autolibrary LIBTAPE5
define path TSMSERVERA LIBTAPE0 srctype=server desttype=drive library=autolibrary
device=/dev/rmt0 online=yes

define path TSMSERVERA LIBTAPE1 srctype=server desttype=drive library=autolibrary
device=/dev/rmt1 online=yes

define path TSMSERVERA LIBTAPE2 srctype=server desttype=drive library=autolibrary
device=/dev/rmt2 online=yes

define path TSMSERVERA LIBTAPE3 srctype=server desttype=drive library=autolibrary
device=/dev/rmt3 online=yes

define path TSMSERVERA LIBTAPE4 srctype=server desttype=drive library=autolibrary
device=/dev/rmt4 online=yes

define path TSMSERVERA LIBTAPE5 srctype=server desttype=drive library=autolibrary
device=/dev/rmt5 online=yes

/******Second library******/

define library AUTOLIB2 libtype=scsi
define path TSMSERVERA AUTOLIB2 srctype=server desttype=library device=/dev/smc4
online=yes
define drive AUTOLIB2 LIBTAPE6
define path TSMSERVERA LIBTAPE6 srctype=server desttype=drive library=AUTOLIB2
device=/dev/rmt6 online=yes

2) Defining device class.

define devclass 3592LIB library=autolibrary devtype=3592 format=drive MOUNTRetention=5

define devclass 3592LIB2 library=AUTOLIB2 devtype=3592 format=drive MOUNTRetention=5

define devclass FILE directory=/adsmstore devtype=FILE


3) Defining Primary Storage Pool:

define stgpool DB2DBA3592LIB 3592LIB pooltype=primary MAXSCRatch=100
define stgpool DB2DB_OFFLINEA3592LIB 3592LIB pooltype=primary MAXSCRatch=100
define stgpool DB2FSA3592LIB 3592LIB pooltype=primary MAXSCRatch=100
define stgpool DB2LOG1A3592LIB 3592LIB pooltype=primary MAXSCRatch=100
define stgpool DB2LOG2A3592LIB 3592LIB2 pooltype=primary MAXSCRatch=100


4) Defining Copy Storage Pool:


define stgpool CPDB2DBA3592LIB 3592LIB pooltype=copy MAXSCRatch=100
define stgpool CPDB2LOG1A3592LIB 3592LIB pooltype=copy MAXSCRatch=100



5) Defining Policy Domain and policy set:

define domain DB2DOM description="DB2 Policy Domain"
define policy DB2DOM DB2POL description="DB2 Policy Set"

6) Defining Management Class:

define mgmtclass DB2DOM DB2POL DB2MGDB description="Production DB Mgmt Class"
define mgmtclass DB2DOM DB2POL DB2MGDBOFFLINE description="Production DB Offline Mgmt Class"
define mgmtclass DB2DOM DB2POL DB2MGFS description="Production FS Mgmt Class "
define mgmtclass DB2DOM DB2POL DB2MGLOG1 description="Production DB Log 1 Mgmt Class"
define mgmtclass DB2DOM DB2POL DB2MGLOG2 description="Production DB Log 2 Mgmt Class"

/****assigning default management class************/
assign defmgmtclass DB2DOM DB2POL DB2MGFS


Copy Group under management class:

define copygroup DB2DOM DB2POL DB2MGDB standard type=archive destination=DB2DBA3592LIB
retver=60 retmin=90

define copygroup DB2DOM DB2POL DB2MGDBOFFLINE standard type=archive
destination=DB2DB_OFFLINEA3592LIB retver=9999

define copygroup DB2DOM DB2POL DB2MGFS standard type=backup destination=DB2FSA3592LIB
VERExists=180 RETEXTRA=10 VERDELETED=NOLIMIT VERExists=NOLIMIT SERialization=SHRDYnamic

define copygroup DB2DOM DB2POL DB2MGLOG1 standard type=archive
destination=DB2LOG1A3592LIB retver=60

define copygroup DB2DOM DB2POL DB2MGLOG2 standard type=archive
destination=DB2LOG2A3592LIB retver=60

define copygroup DB2DOM DB2POL DB2MGFS standard type=archive destination=DB2FSA3592LIB

retver=60

7) Labeling the Tapes:

Insert the scratch tapes into the library and label them.

label libv autolibrary search=yes checkin=scr labels=barcode
label libv AUTOLIB2 search=yes checkin=scr labels=barcode