Skip to content
Snippets Groups Projects
Commit f02afc97 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: split TSM Client config into separate configs for Rosetta and Oracle server

parent d00a21b4
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
tags: [mount, nfs] tags: [mount, nfs]
- import_tasks: install_checkmk_plugins.yml - import_tasks: install_checkmk_plugins.yml
tags: [checkmk, monitoring] tags: [checkmk, monitoring]
- import_tasks: configure_tsmclient.yml
tags: [tsm, backup]
- import_tasks: configure_iptables.yml - import_tasks: configure_iptables.yml
tags: [iptables] tags: [iptables]
- import_tasks: create_users.yml - import_tasks: create_users.yml
......
--- ---
- name: create dsmcad config directory - name: create dsmcad config directory
file: file:
path: "/opt/tivoli/tsm/client/ba/bin/" path: "/{{ tsm_path }}"
state: directory state: directory
owner: "root" owner: "root"
group: "bin" group: "bin"
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
- name: template dsmcad configuration for IBM Spectrum Protect Backup Client - name: template dsmcad configuration for IBM Spectrum Protect Backup Client
template: template:
src: "{{ item }}.j2" src: "{{tsm_path }}oracle_{{ item }}.j2"
dest: "/{{ item }}" dest: "/{{ tsm_path }}oracle_{{ item }}"
owner: "root" owner: "root"
group: "root" group: "root"
mode: "0644" mode: "0644"
loop: loop:
- "opt/tivoli/tsm/client/ba/bin/dsm.sys" - "dsm.sys"
- "opt/tivoli/tsm/client/ba/bin/dsm.opt" - "dsm.opt"
tags: [dsm] tags: [dsm]
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
tags: [users] tags: [users]
- import_tasks: oracle/configure_rman_backup.yml - import_tasks: oracle/configure_rman_backup.yml
tags: [rman, backup] tags: [rman, backup]
- import_tasks: oracle/configure_tsmclient.yml
tags: [backup]
- import_tasks: oracle/install_sql_scripts.yml - import_tasks: oracle/install_sql_scripts.yml
tags: [scripts] tags: [scripts]
- import_tasks: oracle/configure_system_limits.yml - import_tasks: oracle/configure_system_limits.yml
......
---
- name: create dsmcad config directory
file:
path: "/{{tsm_path }}"
state: directory
owner: "root"
group: "bin"
mode: "0755"
- name: template dsmcad configuration for IBM Spectrum Protect Backup Client
template:
src: "{{tsm_path }}rosetta_{{ item }}.j2"
dest: "{{tsm_path }}rosetta_{{ item }}"
owner: "root"
group: "root"
mode: "0644"
loop:
- "dsm.sys"
- "dsm.opt"
...@@ -13,3 +13,5 @@ ...@@ -13,3 +13,5 @@
tags: [packages, yum] tags: [packages, yum]
- import_tasks: rosetta/install_helper_tools.yml - import_tasks: rosetta/install_helper_tools.yml
tags: [packages, yum] tags: [packages, yum]
- import_tasks: rosetta/configure_tsmclient.yml
tags: [backup]
************************************************************************
* Tivoli Storage Manager *
* *
* Sample Client System Options file for UNIX (dsm.sys.smp) *
************************************************************************
* This file contains the minimum options required to get started
* using TSM. Copy dsm.sys.smp to dsm.sys. In the dsm.sys file,
* enter the appropriate values for each option listed below and
* remove the leading asterisk (*) for each one.
* If your client node communicates with multiple TSM servers, be
* sure to add a stanza, beginning with the SERVERNAME option, for
* each additional server.
************************************************************************
Servername {{ servername }}
COMMMethod {{ comm_method }}
TCPPort {{ tcp_port }}
TCPServeraddress {{ tcp_serveraddress }}
nodename {{ ansible_hostname }}
passwordaccess {{ passwordaccess }}
managedservices {{ managedservices }}
preschedulecmd '/bin/su - oracle -c"/home/oracle/rman_dps3_fullbackup.sh"'
Domain / /exlibris /exlibris-backup
exclude.fs /exlibris1
exclude.fs /exlibris2
exclude.fs /exlibris3
exclude.fs /exlibris-journal
exclude.fs /exlibris-log
exclude.fs /dev/shm
exclude.dir /dev
exclude.dir /proc
exclude.dir /tmp
exclude.dir /var/log/.../*
exclude.dir /exlibris/dps/d4_1/solr/server/logs/
exclude.dir /exlibris-backup/DPS3/flashback/.../*
include /exlibris-backup/DPS3/autobackup/.../*
include /exlibris-backup/DPS3/archivelog/.../*
include /exlibris-backup/DPS3/backupset/.../*
include /var/log/backup/.../*
schedlogname {{ schedlogname }}
schedlogretention {{ schedlogretention }}
errorlogname {{ errorlogname }}
errorlogretention {{ errorlogretention }}
************************************************************************
* Tivoli Storage Manager *
* *
* Sample Client User Options file for UNIX (dsm.opt.smp) *
************************************************************************
* This file contains an option you can use to specify the TSM
* server to contact if more than one is defined in your client
* system options file (dsm.sys). Copy dsm.opt.smp to dsm.opt.
* If you enter a server name for the option below, remove the
* leading asterisk (*).
************************************************************************
* Servername A server name defined in the dsm.sys file
* Servername sdvtsm1_backup
Servername {{ servername }}
--- ---
verapdf_path: "/operational_shared/software" verapdf_path: "/operational_shared/software"
tsm_path: "opt/tivoli/tsm/client/ba/bin/"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment