VietNetwork.Vn

 


Tác giả Chủ đề: Hướng dẫn cài đặt backup Tivoli Storage Manager TSM client trên Linux  (Đã xem 376 lần)

0 Thành viên và 1 Khách đang xem chủ đề.

server360

  • Administrator
  • Hero Member
  • *****
  • Bài viết: 3208
  • Số Lần: +72/-0
Khi restore lại máy chủ Linux thì phải kiểm tra Mac Addrees trong file cấu hình ở bên dưới :

/etc/udev/rules.d/70-persistent-net.rules

Trùng với Mac Address của file cấu hình card mạng  /etc/sysconfig/network-scripts/ifcfg-eth0

Chú Ý : kiểm tra MAC máy ảo trên cấu hình VM của Vmware

Centos 6.3 64-Bit :

Lenh kiem tra dung luong tren linux

————————————————————————————–

Để xem dung lượng thư mục tuandd trong /home:

$ du /home/tuandd

– Để xem tổng dung lượng thư mục tuandd,

$ cd /home/tuandd

$ du -ch | grep total

– Để xem dung lượng file và folder cụ thể, có kèm theo đơn vị tính

$ du -ah

—————————————————————-

 

Lệnh kiểm tra phiên bản Linux 32 hay 64 bit

uname -a

 

 

—————————————————————————————————————
# mkdir -p /tmp/tsminstall
# cd /tmp/tsminstall
# wget You are not allowed to view links. Register or Login
# tar xvf 6.3.1.0-TIV-TSMBAC-LinuxX86.tar

 

 

After unpacking you should see the following files :
README_enu.htm
README_api_enu.htm
TIVsm-API64.x86_64.rpm
TIVsm-BA.x86_64.rpm
TIVsm-BAhdw.x86_64.rpm
TIVsm-JBB.x86_64.rpm
TIVsm-APIcit.x86_64.rpm
TIVsm-BAcit.x86_64.rpm
TIVsm-filepath-6.3.1-0-rhel55.x86_64.rpm
TIVsm-filepath-6.3.1-0-rhel60.x86_64.rpm
TIVsm-filepath-6.3.1-0-sles10sp3.x86_64.rpm
TIVsm-filepath-6.3.1-0-sles11sp1.x86_64.rpm
gskcrypt64-8.0.14.14.linux.x86_64.rpm
gskssl64-8.0.14.14.linux.x86_64.rpm

 

The packages that are needed for installation are highlighted.

Installing TSM Client

1. Resolving Dependences

Install gskcrypt and gskssl. Normally, these libraries can be found in an archive with the TSM Client.

# rpm -ivh gskcrypt64-8.0.14.14.linux.x86_64.rpm
# rpm -ivh gskssl64-8.0.14.14.linux.x86_64.rpm

 
2. Installing TSM Client

Use yum localinstall to installing TSM client from rpm files. In this case the enabled repositories will be used to resolve dependencies.

 

If you really need to update a package and you don’t care about GPG signature, there is the ‘–nogpgcheck’ command line option.
# yum localinstall TIVsm-API64.x86_64.rpm
# yum localinstall TIVsm-BA.x86_64.rpm
You can remove the temporary folder, if the installation has completed successfully.
# rm -rf /tmp/tsminstall

                                   
TSM Client Configuration

Add the TSM client service to autostart :
# chkconfig –add dsmcad
# chkconfig dsmcad on
Create configuration files from the samples :
# cd /opt/tivoli/tsm/client/ba/bin/
# cp dsm.opt.smp dsm.opt
# cp dsm.sys.smp dsm.sys

Open configuration files and append your settings.

The content of /opt/tivoli/tsm/client/ba/bin/dsm.sys – Example :
SErvername TSM-SERVER-1
COMMMethod TCPip
TCPPort 1500
TCPServeraddress 192.168.0.5
PASSWORDAccess generate
NODename CLIENT-NODE-12345
SCHEDMODe PROMPTED
MANAGEDServices schedule
ERRORLOGName /opt/tivoli/tsm/client/ba/bin/dsmerror.log
ERRORLOGRetention 7 D
SCHEDLOGName /opt/tivoli/tsm/client/ba/bin/dsmsched.log
SCHEDLOGRetention 7 D
DEDUPLICATION yes
The content of /opt/tivoli/tsm/client/ba/bin/dsm.opt – Example :
SErvername TSM-SERVER-1

 
TSM Server Configuration

Register the new node on your TSM Server.

Perform the following steps in the TSM Server’s console, if you haven’t registered the new node yet.
1. Register the new node

tsm> register node [NODE-NAME] [NODE-PASSWORD] domain=[DOMAIN]
Example :
tsm> register node CLIENT-NODE-12345 PASSW0RD domain=STANDARD
2. Associate the new node with a schedule

tsm> define assoc [DOMAIN] [SCHEDULE] [NODE-NAME]
Example :
tsm> define assoc STANDARD INCR_20H CLIENT-NODE-12345

These step are enough. Now logout and go back to your server.
Completing the TSM Client Configuration

Establish the first connection to TSM server from the client :
# dsmc query session
Enter the ‘user id’ (the name of your node) and the ‘password’.

If the session was successfully established, the password will be stored, and you won’t need to type it anymore.

Start the TSM client service :
# service dsmcad start

In a few minutes check the last schedule logs. Verify that the next backup has been successfully scheduled.
# tail /opt/tivoli/tsm/client/ba/bin/dsmsched.log

In case of any problems check the last error logs :
# tail /opt/tivoli/tsm/client/ba/bin/dsmerror.log


Thuynhbaza

  • Newbie
  • *
  • Bài viết: 4
  • Số Lần: +0/-0
Re: Hướng dẫn cài đặt backup Tivoli Storage Manager TSM client trên Linux
« Trả lời #1 vào: Tháng Mười Hai 05, 2018, 11:16:08 AM »
:) :) :)


 

Copyright © VietNetwork.Vn