ADSM-L

Re: [ADSM-L] TSM Server on CentOS Linux

2017-02-01 03:59:19
Subject: Re: [ADSM-L] TSM Server on CentOS Linux
From: Sasa Drnjevic <Sasa.Drnjevic AT SRCE DOT HR>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 1 Feb 2017 09:56:51 +0100
On 31.1.2017. 23:25, .Maurizio TERUZZI wrote:
> Hello Mike,
>
> thanks for you quick reply.
>
> I'll try it tomorrow, it's time to go bed.
>
>
> Thanks Maurizio


FYI.
If...

# install.sh -g -vmargs "-DBYPASS_TSM_REQ_CHECKS=true"

...doesn't help on CentOS 6/7 (and I think it won't for the
TSM versions after 7.1.3 or higher), here is why:


https://www-01.ibm.com/support/docview.wss?uid=swg21990168&myns=swgtiv&mynp=OCSSSQWC&mync=E&cm_sp=swgtiv-_-OCSSSQWC-_-E


My solution was to make dummy packages (for CentOS 6 and 7) with the
exact following names:

redhat-release-server-6Server-6.8.0.5.el6.x86_64.rpm

redhat-release-server-7.2-7.2.9.el7.x86_64.rpm



So after installation of the dummy rpm on CentOS 6 or 7, the TSM check
returns the correct output:


centos6# rpm -qa --queryformat '%{RELEASE}\n' redhat-release* |grep \\.
6.8.0.5.el6

or

centos67# rpm -qa --queryformat '%{RELEASE}\n' redhat-release* |grep \\.
7.2.9.el7


Here are the spec files for creating the dummy rpms.


CentOS 7 "redhat-release-server.spec"
===============================================================
Summary: Empty RedHat Linux release file
Name: redhat-release-server
Version: 7.2
Release: 7.2.9.el7
License: GPLv2
Group: System Environment/Base
Source: ftp://localhost
URL: http://localhost
Packager: Santa Claus <sclaus AT northpole DOT com>
%description
Empty (dummy) IBM Tivoli Storage Manager dependency RPM package
%files
/usr/local/etc/redhat-release
===============================================================



CentOS 6 "redhat-release-server.spec"
===============================================================
Summary: Empty RedHat Linux release file
Name: redhat-release-server
Version: 6Server
Release: 6.8.0.5.el6
License: Public
Group: System Environment/Base
Source: ftp://localhost
URL: http://localhost
Packager: Santa Claus <sclaus AT northpole DOT com>
%description
Empty (dummy) IBM Tivoli Storage Manager dependency RPM package
%files
/usr/local/etc/redhat-release
===============================================================


You can put anything in /usr/local/etc/redhat-release cause it's there
just to make the rpm non-empty, and the TSM only checks if the correct
rpm is installed.

Regards,

--
Sasa Drnjevic
www.srce.unizg.hr

<Prev in Thread] Current Thread [Next in Thread>