sap.sap_operations.ssfs_sync role – Sync SAP HANA SSFS keys (for HSR)
Note
This role is part of the sap.sap_operations collection.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install sap.sap_operations
.
To use it in a playbook, specify: sap.sap_operations.ssfs_sync
.
Entry point __dependencies__
– Dependencies
Synopsis
Role has no dependencies to other roles.
Entry point __examples__
– Example Playbooks
Synopsis
name: Sync SSFS
ansible.builtin.include_role:
name: sap.sap_operations.ssfs_sync
vars:
ssfs_sync_source_host: hsr1
ssfs_sync_destination_hosts: hsr2
Entry point __license__
– License
Synopsis
GPL-3.0-only
Entry point __limitations__
– Limitations
Synopsis
Not tested with scaleout systems
Not tested in case when several SAP HANA systems are installed on single host
Entry point main
– Sync SAP HANA SSFS keys (for HSR)
Synopsis
Sync SAP HANA SSFS keys (for HSR)
Role will find all the SAP instances on source host (see role variables) and make sure that SSFS *.KEY and *.DAT files and synced from source host to destination hosts (see role variables).
Files will be synced to destination hosts only if they exist on destination hosts.
Role requires that ansible_user can sudo to root.
Role uses ansible.posix.synchronize to sync files and this implies that there should be host to hosts communication established. How to generate ssh keys for ansible host to host communication see role sap.sap_operations.ssh_keys_distribute
Parameters
Parameter |
Comments |
---|---|
Host of list of hosts that will be destination for SSFS files sync. By default - all hosts in the play (magic variable ansible_play_hosts) |
|
Host that will be sources for SSFS files sync |