Skip to content

wrap the TSM (Tivoli Storage Manager) binaries from a .rpm to a .deb format, so that software like dsmc or dsmj run on ubuntu

Notifications You must be signed in to change notification settings

uib/tsm4ubuntu-12.04

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

  /!\   
 / ! \    this will only work to create deb for amd64 
/  !  \   so, if `uname -m` == 'x86_64', then go for it
-------

This script mainly rewrap the rpm file so that you can use it on ubuntu. Furtermore,
it adds:
 - tsm init script
 - create entry in the menu for dsmj and dsmc
 - dpkg-reconfigure of the "<ORG_NAME>-<TSM_NAME>-ba" package enable automatically
   tsm as daemon if dsm.sys and the tsm server are configured for schedule.
 - dsmc and dsmj works also as a normal user

prerequesite:
- apt-get install fakeroot cpio rpm2cpio bash rsync convert

usage: download the version 6.3.0.0-TIV-TSMBAC-LinuxX86.tar
 - untar eg: into ~/ubuntu/tsm/6.3.0.0
 - download this script, and save it to ~/ubuntu/tsm/6.3.0.0
 - edit the variable defined in define_var in tsm4ubuntu
 - then type
   cd ~/ubuntu/tsm/6.3.0.0
   chmod +x tsm4ubuntu
   ./tsm4ubuntu
   sudo dpkg -i *deb
 - and smile big time

The script is splitted in:
- define variable : self explanatory
- rpm2dir: extract some of the rpms to cpio_<directories>
- wrap_crypt: create the crypt package
- wrap_ssl: create the ssl package
- wrap_ba: create the Backup Agent package
- wrap_api: create the API package
- wrap_integration: this part is only needed for the University of Geneva,
  as we have developped code to automate the creation and the management of
  tsm account. So you don't need to care about this part

So why did not we wrapped other RPMs ?
Our decision is based on this document
https://publib.boulder.ibm.com/infocenter/tsminfo/v6r3/index.jsp?topic=%2Fcom.ibm.itsm.client.doc%2Ft_inst_linuxx86client.html
 - *filepath* since it brings only filepath.ko for a special kernel
 - *JBB* since it is the daemon based on the filepath.ko
 - *cit* since this looks like a real burden
 - FR since we speak english

Hope it will helps.

About

wrap the TSM (Tivoli Storage Manager) binaries from a .rpm to a .deb format, so that software like dsmc or dsmj run on ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%