TVD Backup konfiguriert

This commit is contained in:
aschwarz 2022-11-22 12:24:21 +01:00
parent c5237f75e6
commit b48ef40e6a
7 changed files with 24 additions and 6 deletions

View File

@ -12,5 +12,4 @@
[dbservers]
epolsa5510epsfe.tpolizei-bw.de #epsfe
#epolsq5702stu02.tpolizei-bw.de #RHELEDB5-7

View File

@ -14,9 +14,9 @@
CV_ASSUME_DISTID: OEL7.8
roles:
- filesystem
- ora_inst_ahf
- db1913
# - filesystem
# - ora_inst_ahf
# - db1913
- tvd
#handlers:

View File

@ -24,7 +24,7 @@
command: "/opt/ahf/oracle.ahf/bin/orachk -profile preinstall -nordbms"
responses:
'(?m)^This computer is for.*': "S"
# '(?m)^RDBMS binaries found at ': "Y"
'(?m)^orachk did not find the inventory.*': "n"
timeout: null
register: orachk_output

Binary file not shown.

View File

@ -28,12 +28,15 @@
group: dba
- name: Create a symbolic link to etc/oratab
become_user: root
become: yes
file:
src: /etc/oratab
dest: /opt/oracle/etc/oratab
force: yes
owner: oracle
group: dba
follow: no
state: link
- name: Install basenv
@ -69,3 +72,16 @@
path: /opt/oracle/trivadis/local/dba/etc/sid._DEFAULT_.conf
regexp: '^#(.*TVDPERLBIN.*)'
replace: '\1'
###################################
# Installation TVD Backup
###################################
- name: Unarchive TVD Backup
unarchive:
src: "{{ backup_install_dir }}"
dest: "{{ backup_target_Dir }}"
remote_src: yes
owner: oracle
group: dba

View File

@ -2,7 +2,7 @@ Tvdperl_Is_Perl="NO"
Be_Oracle="YES"
Oracle_Base={{ oracle_base }}
Oracle_Home={{ oracle_home }}
Tns_Admin={{ oracle_base }}/network/admin
Tns_Admin={{ oracle_home }}/network/admin
Install_Dir={{ oracle_base }}/trivadis/local
Config_Tns="2"
Names_Default_Domain="{{ ansible_fqdn }}"

View File

@ -3,3 +3,6 @@
oracle_base: /opt/oracle
oracle_home: /opt/oracle/db/19.13
install_dir: /sw/TVD/2205/dbstar_basenv_22.05.final.a
backup_install_dir: /sw/TVD/2205/dbstar_backup_22.05.final.a/tvdbackup-ee-22.05.final.a.tar.gz
backup_target_Dir: /opt/oracle/trivadis/local