Sap
This combiner combines the following parsers for SAP instances:
insights.parsers.saphostctrl.SAPHostCtrlInstances and
insights.parsers.hostname.Hostname
- insights.combiners.sap.NETW_TYPES = ('D', 'ASCS', 'DVEBMGS', 'J', 'SCS', 'ERS', 'W', 'G', 'JC')
Tuple of the prefix string of the functional SAP instances:
D : NetWeaver (ABAP Dialog Instance) ASCS : NetWeaver (ABAP Central Services) DVEBMGS: NetWeaver (Primary Application server) J : NetWeaver (Java App Server Instance) SCS : NetWeaver (Java Central Services) ERS : NetWeaver (Enqueue Replication Server) W : NetWeaver (WebDispatcher) G : NetWeaver (Gateway) JC : NetWeaver (Java App Server Instance)
- Type:
tuple
- class insights.combiners.sap.SAPInstances(name, hostname, sid, type, full_type, number, fqdn, version)
Bases:
tuplenamedtuple: Type for storing the SAP instance.
- fqdn
- full_type
- hostname
- name
- number
- sid
- type
- version
- class insights.combiners.sap.Sap(hostname, insts)[source]
Bases:
dictIt combines the following parsers for SAP instances:
insights.parsers.saphostctrl.SAPHostCtrlInstancesandinsights.parsers.hostname.HostnameAttributes: .. rubric:: Examples
>>> type(saps) <class 'insights.combiners.sap.Sap'> >>> 'DVEBMGS12' in saps True >>> saps['DVEBMGS12'].number '12' >>> saps.sid('ASCS10') 'R4D' >>> saps.hostname('ASCS10') 'host_1' >>> len(saps.instances) 3 >>> saps.is_hana False >>> saps.is_netweaver True >>> saps.is_ascs True
- property all_instances
List of all the SAP instances listed by the command.
- Type:
list
- property daa_instances
List of the SAP Diagnostic Agent instances, e.g. Diagnostics Agents: SMDA97/SMDA98
- Type:
list
- property instances
List of the SAP instances that are NOT Diagnostic Agent instance, e.g. HANA, NetWeaver, ASCS, or other instances
- Type:
list
- property is_ascs
Is any ABAP Central Services instance detected?
- Type:
bool
- property is_hana
Is any SAP HANA instance detected?
- Type:
bool
- property is_netweaver
Is any SAP NetWeaver instance detected?
- Type:
bool