sap.sap_operations.enq_admin_info module – Get information from enq_admin tool for ENSA2 systems

Note

This module 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. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: sap.sap_operations.enq_admin_info.

New in sap.sap_operations 1.29.0

Synopsis

  • Get information from enq_admin tool for ENSA2 systems

Requirements

The below requirements are needed on the host that executes this module.

  • only for ENSA2 instances with enq_admin tool installed

Parameters

Parameter

Comments

hostname

aliases: host

string

hostname where enque process is running

port

integer

Port where enque process is running

profile_filepath

aliases: pf, profile

path

A path to the profile file

Either profile_filepath or sid, hostname and port required

sid, hostname and port are required together

sid

string

SAP system id

Notes

Note

  • This module is community supported

  • Module interface (parameters, output) expected to be stable but not guaranteed

  • Module planned to be released on Ansible Automation Hub after collecting some feedback

  • There is no guarantee that this module will be officially supported by Red Hat

See Also

See also

Architecture of the Standalone Enqueue Server 2

Architecture of the Standalone Enqueue Server 2

Parameter Reference of Standalone Enqueue Server 2

Parameter Reference of Standalone Enqueue Server 2

Examples

---
- name: Get information from enq_admin tool for ENSA2 systems
  sap.sap_operations.enq_admin_info:
    pf: /usr/sap/S4H/SYS/profile/S4H_ASCS20_s4ascsa

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

stdout

string

Standard output from enq_admin tool

Returned: success

Sample: "Enqueue Server 2\nServer Status : STATUS_RUNNING\nRepl.State    : REPLICATION_ON\nRepl.Type     : REPLICATION_REPLICATOR\nProcess ID    : 17591\nStart Time    : 2024-04-30 11:12:13\nRelease       : 789\nPatch Level   : 100\nCompiled On   : Linux GNU SLES-15 x86_64  cc10.3.0 use-pr230217\nCompiled At   : Feb 17 2023 18:43:20\nNumber Clients: 38\nDev.Trc. Level: 1\nReq.Trc. Level: 0\n\n2024-05-03 15:35:11; OK; 'Process Information'; Response=281 usec\n===================================================================================================\n"

Authors

  • Kirill Satarin (@kksat)