Hello,

here a quick and dirty howto.
Hope it helps.

Dennis


Am 14.02.2017 um 10:40 schrieb .Maurizio TERUZZI:
> Ciao,
>
> thanks for you reply Sasa.
> Yes, alla are goog and "pingeable" in form IP, hostname, FQDN on local and 
> also from remote host.
>
> Creers
> Maurizio
>
>
>
>
> Il 14.02.2017 09:52, Sasa Drnjevic ha scritto:
>> Hi,
>> check if your /etc/hosts file contains all of the IP addresses of the
>> host and hostnames (including localhost).
>>
>> Regards,
>>
>> --
>> Sasa Drnjevic
>> www.srce.unizg.hr
>>
>>
>>
>>
>>
>> On 13.2.2017. 23:38, .Maurizio TERUZZI wrote:
>>> hello,
>>>
>>> I'm trying to configure the TSM instance but I have trouble on the first
>>> step of the wizard, after press the first NEXT I receive the Error:
>>> Cannot start The Wizard, error establishing local connection for wizard
>>> validation.
>>>
>>> What I checked (1- 127.0.0.1; 2- hostname, 3- FQDN)
>>> - SSH connection (all 3 possibility works);
>>> - PING connection (all 3 possibility works);
>>> - instance folder right ok;
>>> - I'm logger with instance user.
>>>
>>> I was looking for the logfile without success.
>>>
>>> PrintScreen available on demand.
>>>
>>>
>>> Thansk
>>> Maurizio
>
>


IBM Spectrum Protect Server V7.1 on CentOS 7-1611 (x86_64) 


CentOS: https://www.centos.org/download/


TSM Server: http://www-01.ibm.com/support/docview.wss?uid=swg21239415
Client: 
ftp://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v7r1/Linux/LinuxX86/BA/


Files in /install

ISP_7141_LINUX_X86_64_SSA_ML.bin ( or another 7er Version with License include )
7.1.7.100-TIV-TSMSRV-Linuxx86_64.bin
7.1.6.2-TIV-TSMBAC-LinuxX86.tar



Install Centos:

choose minimal 


Internet Access needed - via Proxy 
https://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html

yum update  ( reboot if needed )

yum install net-tools compat-libstdc++-33.i686

yum groupinstall "X Window system"


Example: 

/dev/sda  for OS
/dev/sdb  for TSM-Instance   (/tsminst1)




/etc/sysctl.d/99-tsm.conf


#TSM Parameter
kernel.randomize_va_space=0
vm.swappiness=0
vm.overcommit_memory=0


http://www-01.ibm.com/support/docview.wss?uid=swg21459502
https://www.ibm.com/support/knowledgecenter/en/SSGSG7_7.1.1/com.ibm.itsm.perf.doc/t_perf_linux_server.html
http://www-01.ibm.com/support/docview.wss?uid=swg21459502


sysctl -p or reboot



User, Group, Filesystem:

 

groupadd tsmsrvrs -g 1111
useradd -m -u 2222 -g 1111 -s /bin/bash tsminst1
passwd tsminst1


mkdir /tsminst1
mount /dev/sdb1 /tsminst1
mkdir /tsminst1/db01
mkdir /tsminst1/db02
mkdir /tsminst1/db03
mkdir /tsminst1/db04
mkdir /tsminst1/tsmaclog
mkdir /tsminst1/tsmarchlog

 
chown -R tsminst1 /tsminst1/
chgrp -R tsmsrvrs /tsminst1/ 



vi /etc/hosts


192.168.1.240   testtsmsrv01


Install TSM SRV 7.1.7.100

cd /install/
./7.1.7.100-TIV-TSMSRV-Linuxx86_64.bin



./install.sh -c -acceptLicense

If not enough Memory
 
./install.sh -vmargs "-DBYPASS_TSM_REQ_CHECKS=true"




X-Server needed ( ssh -CY root@testtsmsrv01 | putty with SSH -> X11 -> Enable 
X11 forwarding )

run:

/opt/tivoli/tsm/server/bin/dsmicfgx



Install TSM Server License files (for alter Import)

delete Files/directories from 7.1.7.x


./ISP_7141_LINUX_X86_64_SSA_ML.bin


./install.sh





Install TSM Client:

tar xvf 7.1.6.2-TIV-TSMBAC-LinuxX86.tar

rpm -ivh TIVsm-API64.x86_64.rpm TIVsm-BA.x86_64.rpm







Import/acitvate License

login with dsmadmc

/opt/tivoli/tsm/server/bin/tsmdiag/dsmadmc

register license file=tsmee.lic


dsmadmc > q lic
dsmadmc > PREPARE
dsmadmc > q db

 

 

vi /opt/tivoli/tsm/client/ba/bin/dsm.sys

 

SERVERNAME       TSMDBMGR_tsminst1
  * ----------------------------------------------------------------------- *
  * This stanza was added by the TSM Instance Configuration Utility         *
  * ----------------------------------------------------------------------- *
  COMMMETHOD       TCPIP
  TCPPORT          1500
  TCPSERVERADDRESS 127.0.0.1
  NODENAME         $$_TSMDBMGR_$$
  ERRORLOGNAME     /tsminst1/tsmdbmgr.log
  PASSWORDDIR      /tsminst1



Session established with server TESTTSMSRV01: Linux/x86_64
  Server Version 7, Release 1, Level 7.100
  Server date/time: 02/14/2017 13:37:50  Last access: 02/14/2017 13:23:56


tsm: TESTTSMSRV01>
tsm: TESTTSMSRV01>register license file=tsmee.lic
 

tsm: TESTTSMSRV01>q lic


 

vi /opt/tivoli/tsm/server/bin/dsm.opt

SERVERNAME       TSMDBMGR_tsm 
* ----------------------------------------------------------------------- * 
* This stanza was added by the TSM Instance Configuration Utility         * 
* ----------------------------------------------------------------------- * 
COMMMETHOD       TCPIP   TCPPORT          1500 
TCPSERVERADDRESS 127.0.0.1 
NODENAME         $$_TSMDBMGR_$$ 
PASSWORDDIR      /tsminst1 
ERRORLOGNAME     /tsminst1/tsmdbmgr.log

 

If autostart selected at dsm...

 

cp /opt/tivoli/tsm/server/bin/dsmserv.rc /etc/rc.d/init.d/tsminst1
chkconfig --list tsminst1
chkconfig --add tsminst1

vi ~/.bash_profile

PATH=$PATH:/opt/tivoli/tsm/server/bin:/opt/tivoli/tsm/server/bin/tsmdiag:~/sqllib/userprofile
export DSMI_DIR=/opt/tivoli/tsm/client/api/bin64

 


DB-Backup

as user: tsminst1

mkdir /tsminst1/dbbackup


dsmadmc 

tsm: TESTTSMSRV01>

define devclass DBBACKUP devtype=file directory=/tsminst1/dbbackup 
maxcapacity=20G
define devclass FILE devtype=file directory=/tsminst1/dbbackup maxcapacity=2G
set dbrecovery DBBACKUP
backup db devclass=DBBACKUP type=full
backup volhist f=/tsminst1//volhist.out
backup devconfig f=/tsminst1/dbbackup/devconfig.out


 



Reply via email to