CLBK : Command Lama Bertemu Kembali TSM

Gimana sob, masuk ga judulnya? hahahah…

Sebelumnya gw bilangin dulu sob, ini ga ada hubungannya sama cinta-cinta an lho ya. Jadi jangan kaget kalo post ini ga nemu sisi romantis nya dimana.

Jadi ceritanya nih, di tempat gawe yang baru nih, make sistem backup yang kebetulan sama dengan sistem backup tempat gw yang dulu. Yak, make nya TSM (Tivoli Storage Manager) untuk backup ke tape backup nya.

Berasa keder pas megang nya, lupa-lupa ingat, eh, banyak lupa nya ding, hahahah… Gw kepikiran tulis disini aja, kali aja ntar pas lupa bisa buka-buka postingan lama,.. *tsaah…

Oke, mulai yak, soal install TSM server nya gw ga bahas disini, soalnya emang bukan gw yang install,.. wkwkwk, ni untuk yang client nya aja ya, trus apa aja ntar yang bisa dilakuin dari client. Kali ini gw coba dari client centos,

Pertama gw donlot dulu client buat linux nya, gw dapet dari TSM Client Linux

pindahin ke server linux misal di /opt/tsmclient , setelah itu ekstrak
tar -xvf 7.1.3.0-TIV-TSMBAC-LinuxX86.tar
di dalamnya terdiri file-file .rpm
gskcrypt64-8.0.50.44.linux.x86_64.rpm
gskssl64-8.0.50.44.linux.x86_64.rpm
TIVsm-API64.x86_64.rpm
TIVsm-APIcit.x86_64.rpm
TIVsm-BAcit.x86_64.rpm
TIVsm-BAhdw.x86_64.rpm
TIVsm-BA.x86_64.rpm
TIVsm-filepath-7.1.3-0-rhel59.x86_64.rpm
TIVsm-filepath-7.1.3-0-rhel64.x86_64.rpm
TIVsm-filepath-7.1.3-0-sles11sp2.x86_64.rpm
TIVsm-JBB.x86_64.rpm

install file-file rpm tersebut
rpm -ivh gskcrypt64-8.0.50.44.linux.x86_64.rpm gskssl64-8.0.50.44.linux.x86_64.rpm TIVsm-BA.x86_64.rpm

Setelah terinstall, folder konfigurasi client berada di /opt/tivoli/tsm/client/ba/bin. Buat dsm.opt dan dsm.sys dengan cara copy file contoh dari dsm.opt.smp dan dsm.sys.smp
cp dsm.opt.smp dsm.opt
setelah itu edit file dsm.opt nya dengan menambahkan SErvername tsmservername
************************************************************************
* Tivoli Storage Manager *
* *
* Sample Client User Options file for UNIX (dsm.opt.smp) *
************************************************************************

* This file contains an option you can use to specify the TSM
* server to contact if more than one is defined in your client
* system options file (dsm.sys). Copy dsm.opt.smp to dsm.opt.
* If you enter a server name for the option below, remove the
* leading asterisk (*).

************************************************************************

* SErvername A server name defined in the dsm.sys file
SErvername tsmserver-drc
dan file dsm.sys dengan menambahkan PASSWORDACCESS GENERATE dan ipaddress nya
************************************************************************
* Tivoli Storage Manager *
* *
* Sample Client System Options file for UNIX (dsm.sys.smp) *
************************************************************************

* This file contains the minimum options required to get started
* using TSM. Copy dsm.sys.smp to dsm.sys. In the dsm.sys file,
* enter the appropriate values for each option listed below and
* remove the leading asterisk (*) for each one.

* If your client node communicates with multiple TSM servers, be
* sure to add a stanza, beginning with the SERVERNAME option, for
* each additional server.

************************************************************************

SErvername tsmserver-drc
COMMMethod TCPip
NodeName esb-lab
PASSWORDACCESS GENERATE
TCPPort 1500
TCPServeraddress 172.16.69.69

konfigurasi di client selesai, untuk melihat apakah client esb-lab sudah terhubung atau belum dapat menggunakan command dsmc dari /opt/tivoli/tsm/client/ba/bin hasilnya
[root@esb-lab bin]# dsmc
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 7, Release 1, Level 3.0
Client date/time: 08/04/2016 09:45:50
(c) Copyright by IBM Corporation and other(s) 1990, 2015. All Rights Reserved.

Node Name: ESB-LAB
Session established with server TSMSERVER-DRC: Windows
Server Version 7, Release 1, Level 5.0
Server date/time: 08/04/2016 09:14:13 Last access: 08/04/2016 04:18:18

tsm>

Oya service yang harus jalan adalah dsmcad dan dsm sched, pastikan service nya jalan
[root@esb-lab bin]# ps -ef | grep dsm
root 16440 1 0 Aug03 ? 00:00:02 dsmc sched
root 16493 1 0 Aug03 ? 00:00:00 dsmcad

untuk bikin script running service nya, bikin file autotsmsched dengan isi
cd /opt/tivoli/tsm/client/ba/bin
nohup dsmc sched 2> /dev/null &
dsmcad

ganti permission ke 755 chmod 755 /autotsmsched
lalu masukkan ke /etc/rc.local agar ketika server restart, service langsung berjalan
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don’t
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
./autotsmsched

Selesai😀

2 thoughts on “CLBK : Command Lama Bertemu Kembali TSM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s