Forge Home

tivolism

Install and configure Tivoli Storage Manager

9,876 downloads

9,451 latest version

2.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Nov 5th 2014
This version is compatible with:
  • Puppet Enterprise 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=2.7.20
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'elibus-tivolism', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add elibus-tivolism
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install elibus-tivolism --version 0.1.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

elibus/tivolism — version 0.1.2 Nov 5th 2014

Build Status

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with tivolism
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

##Overview

This module will install and configure BIM Tivoli Storage Managere for Linux.

##Module Description

This module will:

  • Install the IBM Tivoli Storage Manager RPMs
  • Performing a basic configuration
  • Ensure the service is running

##Setup

###What tivolism affects

  • RPMs: TIVsm-API64, TIVsm-BA
  • Dependencies compat-libstdc++-33.i686, libstdc++.i686, compat-libstdc++-33.x86_64, libstdc++.x86_64 (only on 64 bits systems)
  • Configure /opt/tivoli/tsm/client/ba/bin/dsm.sys
  • Configure /opt/tivoli/tsm/client/ba/bin/dsm.opt
  • Run the service dsmcad (by default - a different one can be specified)

###Setup Requirements OPTIONAL

Requirements:

  • puppetlabs/stdlib
  • puppetlabs/concat

###Beginning with tivolism

This is a very basic example:

include tivolism {
  tcpserveraddress    => '10.0.0.1'
}

Defaults are as follows:

  • $package_name = [ 'TIVsm-API64', 'TIVsm-BA' ]
  • $deps = [ 'compat-libstdc++-33.i686', 'compat-libstdc++-33.x86_64', 'libstdc++.x86_64','libstdc++.i686']
  • $additional_packages = []
  • $service_name = 'dsmcad'
  • $commmethod = 'TCPIP'
  • $tcpport = '1500'
  • $tcpnodelay = 'YES'
  • $tcpclientport ='1501'
  • $schedlogretention = '8'
  • $passwordaccess = 'GENERATE'
  • $errorlogretention = '8'
  • $errorlogname = "/var/log/${::hostname}.adsmerr.log"
  • $tcpbuffsize = '32'
  • $tcpwindowsize = '220'
  • $tcpnodelay = 'yes'
  • $txnbytelimit = '25600'
  • $largecommbuffers = 'yes'
  • $schedlogname = '/dev/null'
  • $schedmode = 'prompt'

##Usage

The only class worth notice is the tivolism::register. Its purpose is to allow users to concatenate arbitrary configuration to the default one. The example below will add the Inclexcl directive to the file.

# == Class: my_backup
#
# This class will configure my backup
#
# === Parameters
#
# [*inclexcl*]
#   set the Inclexcl parameter in dsm.sys
#
class my_backup (
  $inclexcl = $my_backup::params::inclexcl,
) inherits my_backup::params {

  include tivolism

  # validate parameters here
  validate_absolute_path($inclexcl)

  class { 'bankit_backup::install': } ->
  class { 'bankit_backup::config': }  ->
  Class['bankit_backup']
}

# == Class my_backup::config
#
# This class is called from my_backup
#
class my_backup::config {

  tivolism::register{ 'inclexcl':
    content => template('bankit_backup/concat_dsm.sys.erb')
  }
}

##Limitations

Test on RedHat Enterprise Linux 6-7 x86_64, should work on Centos and 32 bits systems

##Development

See: https://github.com/elibus/puppet-tivolism/blob/master/CONTRIBUTING.md