ADSM-L

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

2017-02-01 10:34:14
Subject: Re: [ADSM-L] TSM Server on CentOS Linux
From: Paul-André Chassé <paul-andre.chasse AT USHERBROOKE DOT CA>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 1 Feb 2017 10:32:40 -0500
Hi,

If the TSM installation script haven't change since in installed 7.1.3 on CentOS 6, the attached script 'rpm.bash' should do the trick. To use the script you have to rename the program '/bin/rpm' to '/bin/rpmbin' and make the script you new '/bin/rpm' and make it executable.

Let us know if it works,

Paul-André


______________________________
*Paul-André Chassé*, B. Sc.
Analyste de l'informatique - Centre de calcul scientifique (John-S.-Bourque)
Service des technologies de l'information
Université de Sherbrooke

Tél. : 819 821-8000, poste 62582
Courriel : Paul-Andre.Chasse AT USherbrooke DOT ca


Le 2017-02-01 à 03:56, Sasa Drnjevic a écrit :
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

Attachment: rpm.bash
Description: Text document

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