sap / sap.sap_operations / 1.25.0 / module / ha_get_failoverconfig_info Run sap host agent function HAGetFailoverConfig | "added in version" 1.16.0 of sap.sap_operations" Authors: Kirill Satarin (@kksat), Ondra Machacek (@machacekondra)sap.sap_operations.ha_get_failoverconfig_info (1.25.0) — module
Install with ansible-galaxy collection install sap.sap_operations:==1.25.0
collections: - name: sap.sap_operations version: 1.25.0
Collect information about installed SAP instances on the host
SAP start framework is used to collect information and perform actions from host level
- name: Run ha_get_failoverconfig_info sap.sap_operations.ha_get_failoverconfig_info: instance_number: "00"
ca_file: description: - I(ca_file) - path to file with CA certificate to secure the communication. if not provided system CA store is used. - Required if I(security) is set to C(custom) type: path hostname: description: - I(hostname) of the SAP system, will be used to connect to SAP host agent web services - Parameters I(username) I(password) and I(hostname) should be provided together. type: str password: description: - I(password) of the OS user that will connect to SAP host agent web services (sapadm, or <sid>adm, or any other user with necessary permissions - Parameters I(username) I(password) and I(hostname) should be provided together. type: str security: choices: - system - custom - none default: system description: - Parameter I(security) specifies how secure communication should be enforced. - By default system CA (certification authority) store is used (parameter value is C(system)). - If custom CA (certification authority) has to be used, parameter I(ca_file) should be set to path to CA public certificate. - If set to C(none) https communication is possible, but server certificate will not be checked for trust. type: str username: description: - I(username) of the OS user that will connect to SAP host agent web services (sapadm, or <sid>adm, or any other user with necessary permissions) - Parameters I(username) I(password) and I(hostname) should be provided together. type: str instance_number: default: '00' description: Instance number required: false type: str
ha_get_failoverconfig_info: contains: HAActive: description: HA active returned: success sample: 'TRUE' type: str HAActiveNode: description: HA active node returned: success sample: s4hana09 type: str HADocumentation: description: HA documentation returned: success sample: https://github.com/ClusterLabs/sap_cluster_connector type: str HAProductVersion: description: HA product version returned: success sample: Pacemaker type: str HASAPInterfaceVersion: description: HA SAP interface version returned: success sample: sap_cluster_connector type: str description: Result of HAGetFailoverConfig method execution on host with SAP HANA installed returned: success sample: HAActive: true HAActiveNode: s4hana09 HADocumentation: https://github.com/ClusterLabs/sap_cluster_connector HANodes: s4hana09 HAProductVersion: Pacemaker HASAPInterfaceVersion: sap_cluster_connector type: dict