Skip to content
Snippets Groups Projects
Commit f953f8e0 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:infra/ansible

parents 918b8e1e 35c5f2ff
No related branches found
No related tags found
No related merge requests found
---
dependencies:
- role: tsm7-client
---
# file: roles/tsm-archive/tasks/main.yml
- name: ensure deployment of our config
template: src=dsm.sys.j2 dest=/opt/tivoli/tsm/client/ba/bin/dsm.sys
tags:
- tsm
- config
******************************************************************
*
* dsm.sys option file for Unix Clients
*
******************************************************************
* TSM-Server und Ports ermitteln und eintragen
* z.B. TSM-Server b06.rz.rwth-aachen.de (Port 1506)
* ---------------------------------------------------------------
DEFAULTSERVER bas{{ archivenode }}.itc.rwth-aachen.de
SERVERNAME bas{{ archivenode }}.itc.rwth-aachen.de
TCPSERVERADDRESS bas{{ archivenode }}.itc.rwth-aachen.de
TCPPORT {{ archiveport }}
* Die folgenden 4 Eintrage unveraendert lassen
* ---------------------------------------------------------------
COMMMETHOD tcpip
PASSWORDACCESS generate
SCHEDMODE polling
TXNBYTELIMIT 25600
* Geben Sie mit NODENAME den Namen des Rechners an, wie er
* im TSM-Server registriert ist. Der NODENAME wird beim
* Anlegen eines neuen Knotens ueber das Backup-Portal gesetzt.
* ----------------------------------------------------------------
NODENAME {{ archivename }}
* Logfiles
* ----------------------------------------------------------------
SCHEDLOGNAME /var/log/dsm/dsmsched.log
ERRORLOGNAME /var/log/dsm/dsmerror.log
* Haltezeit (Tage) fuer Eintraege im Scheduler- und Errorlogfile
* festlegen
* Schedulerlogdatei: 90 Tage
* Errorlogdatei : 1 Jahr
* ----------------------------------------------------------------
SCHEDLOGRETENTION 90 D
ERRORLOGRETENTION 365 D
File moved
---
# file: roles/tsm-backup/handlers/main.yml
- name: reload systemd service files
command: systemctl daemon-reload
- name: restart tsm service
service: name=dsmc state=restarted
---
dependencies:
- role: tsm7-client
---
# file: roles/tsm-backup/tasks/main.yml
- name: ensure systemd service file is available
copy: src=dsmc.service dest=/etc/systemd/system/dsmc.service
notify:
- reload systemd service files
tags:
- tsm
- config
- service
- name: ensure deployment of our config
template: src=dsm.sys.j2 dest=/opt/tivoli/tsm/client/ba/bin/dsm.sys
notify:
- restart tsm service
tags:
- tsm
- config
- name: ensure tsm service is enabled and running
service: name=dsmc enabled=yes state=started
tags:
- tsm
- service
- meta: flush_handlers
File moved
...@@ -4,8 +4,3 @@ ...@@ -4,8 +4,3 @@
- name: ldconfig tsm - name: ldconfig tsm
command: ldconfig command: ldconfig
- name: reload systemd service files
command: systemctl daemon-reload
- name: restart tsm service
service: name=dsmc state=restarted
...@@ -33,15 +33,6 @@ ...@@ -33,15 +33,6 @@
- packages - packages
- deb-updates - deb-updates
- name: ensure systemd service file is available
copy: src=dsmc.service dest=/etc/systemd/system/dsmc.service
notify:
- reload systemd service files
tags:
- tsm
- config
- service
- name: ensure old tsm6 dependend packages are absent - name: ensure old tsm6 dependend packages are absent
apt: name={{ item }} state=absent apt: name={{ item }} state=absent
with_items: with_items:
...@@ -64,8 +55,6 @@ ...@@ -64,8 +55,6 @@
- name: ensure special dsmc script is in place - name: ensure special dsmc script is in place
copy: src=dsmc dest=/usr/local/bin/dsmc mode=0755 owner=root group=root copy: src=dsmc dest=/usr/local/bin/dsmc mode=0755 owner=root group=root
notify:
- restart tsm service
tags: tags:
- tsm - tsm
- config - config
...@@ -74,7 +63,6 @@ ...@@ -74,7 +63,6 @@
file: path=/etc/ld.so.conf.d/tsm-ld.so.conf state=absent file: path=/etc/ld.so.conf.d/tsm-ld.so.conf state=absent
notify: notify:
- ldconfig tsm - ldconfig tsm
- restart tsm service
tags: tags:
- tsm - tsm
- config - config
...@@ -88,8 +76,6 @@ ...@@ -88,8 +76,6 @@
- gskcrypt64 - gskcrypt64
- tivsm-ba - tivsm-ba
- tivsm-api64 - tivsm-api64
notify:
- restart tsm service
tags: tags:
- tsm - tsm
- packages - packages
...@@ -100,18 +86,4 @@ ...@@ -100,18 +86,4 @@
- tsm - tsm
- config - config
- name: ensure deployment of our config
template: src=dsm.sys.j2 dest=/opt/tivoli/tsm/client/ba/bin/dsm.sys
notify:
- restart tsm service
tags:
- tsm
- config
- name: ensure tsm service is enabled and running
service: name=dsmc enabled=yes state=started
tags:
- tsm
- service
- meta: flush_handlers - meta: flush_handlers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment