diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0001_098fc159-3ed6-58e7-91be-38fda8a833ea_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0001_098fc159-3ed6-58e7-91be-38fda8a833ea_host_discovery.json new file mode 100644 index 0000000000..02c790c97a --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0001_098fc159-3ed6-58e7-91be-38fda8a833ea_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwqas03.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwqas03","ip_addresses":["127.0.0.1","::1","10.90.1.27","10.90.1.23","fe80::6245:bdff:fe8d:5d9"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"098fc159-3ed6-58e7-91be-38fda8a833ea"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0002_098fc159-3ed6-58e7-91be-38fda8a833ea_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0002_098fc159-3ed6-58e7-91be-38fda8a833ea_saptune_discovery.json new file mode 100644 index 0000000000..7e749200cb --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0002_098fc159-3ed6-58e7-91be-38fda8a833ea_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"098fc159-3ed6-58e7-91be-38fda8a833ea"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0003_098fc159-3ed6-58e7-91be-38fda8a833ea_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0003_098fc159-3ed6-58e7-91be-38fda8a833ea_subscription_discovery.json new file mode 100644 index 0000000000..efe0fdbe3d --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0003_098fc159-3ed6-58e7-91be-38fda8a833ea_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","identifier":"SLES_SAP","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-ha","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Not Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"098fc159-3ed6-58e7-91be-38fda8a833ea"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0004_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0004_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_ha_cluster_discovery.json new file mode 100644 index 0000000000..e913699d0a --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0004_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"hana_cluster_1"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"},{"Id":"SAPHanaSR-hana_hdd_site_srHook_WDF","Name":"hana_hdd_site_srHook_WDF","Value":"PRIM"}]},"Nodes":[{"Id":"1","InstanceAttributes":[{"Id":"nodes-1-lpa_hdd_lpt","Name":"lpa_hdd_lpt","Value":"10"},{"Id":"nodes-1-hana_hdd_vhost","Name":"hana_hdd_vhost","Value":"vmhdbdev01"},{"Id":"nodes-1-hana_hdd_site","Name":"hana_hdd_site","Value":"NBG"},{"Id":"nodes-1-hana_hdd_op_mode","Name":"hana_hdd_op_mode","Value":"logreplay"},{"Id":"nodes-1-hana_hdd_srmode","Name":"hana_hdd_srmode","Value":"sync"},{"Id":"nodes-1-hana_hdd_remoteHost","Name":"hana_hdd_remoteHost","Value":"vmhdbdev02"}],"Uname":"vmhdbdev01"},{"Id":"2","InstanceAttributes":[{"Id":"nodes-2-lpa_hdd_lpt","Name":"lpa_hdd_lpt","Value":"1643125026"},{"Id":"nodes-2-hana_hdd_op_mode","Name":"hana_hdd_op_mode","Value":"logreplay"},{"Id":"nodes-2-hana_hdd_vhost","Name":"hana_hdd_vhost","Value":"vmhdbdev02"},{"Id":"nodes-2-hana_hdd_remoteHost","Name":"hana_hdd_remoteHost","Value":"vmhdbdev01"},{"Id":"nodes-2-hana_hdd_site","Name":"hana_hdd_site","Value":"WDF"},{"Id":"nodes-2-hana_hdd_srmode","Name":"hana_hdd_srmode","Value":"sync"}],"Uname":"vmhdbdev02"}],"Resources":{"Clones":[{"Id":"cln_SAPHanaTopology_HDD_HDB10","MetaAttributes":[{"Id":"cln_SAPHanaTopology_HDD_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"cln_SAPHanaTopology_HDD_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHanaTopology_HDD_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHanaTopology_HDD_HDB10-instance_attributes-SID","Name":"SID","Value":"HDD"},{"Id":"rsc_SAPHanaTopology_HDD_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHanaTopology_HDD_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDD_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDD_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"300"}],"Provider":"suse","Type":"SAPHanaTopology"}}],"Groups":[{"Id":"g_ip_HDD_HDB10","Primitives":[{"Class":"ocf","Id":"rsc_ip_HDD_HDB10","InstanceAttributes":[{"Id":"rsc_ip_HDD_HDB10-instance_attributes-ip","Name":"ip","Value":"10.100.1.13"},{"Id":"rsc_ip_HDD_HDB10-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"24"},{"Id":"rsc_ip_HDD_HDB10-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_HDD_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDD_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDD_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_socat_HDD_HDB10","InstanceAttributes":[{"Id":"rsc_socat_HDD_HDB10-instance_attributes-port","Name":"port","Value":"62510"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_HDD_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"msl_SAPHana_HDD_HDB10","MetaAttributes":[{"Id":"msl_SAPHana_HDD_HDB10-meta_attributes-clone-max","Name":"clone-max","Value":"2"},{"Id":"msl_SAPHana_HDD_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"msl_SAPHana_HDD_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHana_HDD_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-SID","Name":"SID","Value":"HDD"},{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"},{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-PREFER_SITE_TAKEOVER","Name":"PREFER_SITE_TAKEOVER","Value":"True"},{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-AUTOMATED_REGISTER","Name":"AUTOMATED_REGISTER","Value":"False"},{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT","Name":"DUPLICATE_PRIMARY_TIMEOUT","Value":"7200"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHana_HDD_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDD_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDD_HDB10-promote-0","Interval":"0","Name":"promote","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDD_HDB10-monitor-60","Interval":"60","Name":"monitor","Role":"Master","Timeout":"700"},{"Id":"rsc_SAPHana_HDD_HDB10-monitor-61","Interval":"61","Name":"monitor","Role":"Slave","Timeout":"700"}],"Provider":"suse","Type":"SAPHana"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"15"}],"MetaAttributes":null,"Operations":[{"Id":"stonith-sbd-monitor-15","Interval":"15","Name":"monitor","Role":"","Timeout":"15"}],"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"msl_SAPHana_HDD_HDB10","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":false,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDD_HDB10","Managed":true,"Node":null,"NodesRunningOn":0,"Orphaned":false,"Role":"Stopped"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cln_SAPHanaTopology_HDD_HDB10","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g_ip_HDD_HDB10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"hana_hdd_clone_state","Value":"UNDEFINED"},{"Name":"hana_hdd_op_mode","Value":"logreplay"},{"Name":"hana_hdd_remoteHost","Value":"vmhdbdev02"},{"Name":"hana_hdd_roles","Value":"1:P:master1::worker:"},{"Name":"hana_hdd_site","Value":"NBG"},{"Name":"hana_hdd_srmode","Value":"sync"},{"Name":"hana_hdd_sync_state","Value":"SFAIL"},{"Name":"hana_hdd_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdd_vhost","Value":"vmhdbdev01"},{"Name":"lpa_hdd_lpt","Value":"10"},{"Name":"master-rsc_SAPHana_HDD_HDB10","Value":"-9000"}],"Name":"vmhdbdev01"},{"Attributes":[{"Name":"hana_hdd_clone_state","Value":"PROMOTED"},{"Name":"hana_hdd_op_mode","Value":"logreplay"},{"Name":"hana_hdd_remoteHost","Value":"vmhdbdev01"},{"Name":"hana_hdd_roles","Value":"4:P:master1:master:worker:master"},{"Name":"hana_hdd_site","Value":"WDF"},{"Name":"hana_hdd_srmode","Value":"sync"},{"Name":"hana_hdd_sync_state","Value":"PRIM"},{"Name":"hana_hdd_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdd_vhost","Value":"vmhdbdev02"},{"Name":"lpa_hdd_lpt","Value":"1643125026"},{"Name":"master-rsc_SAPHana_HDD_HDB10","Value":"150"}],"Name":"vmhdbdev02"}]},"NodeHistory":{"Nodes":[{"Name":"vmhdbdev02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_ip_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDD_HDB10"}]},{"Name":"vmhdbdev01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_ip_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_HDD_HDB10"},{"FailCount":1000000,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDD_HDB10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmhdbdev01","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmhdbdev02","Online":true,"Pending":false,"ResourcesRunning":4,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 25 15:37:06 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":7}},"Version":"2.0.5"},"DC":false,"Id":"04b8f8c21f9fd8991224478e8c4362f8","Name":"hana_cluster_1","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:182cb1b1-a815-4b82-b538-7a166b9bbb4a","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:182cb1b1-a815-4b82-b538-7a166b9bbb4a","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"cc39771e-ea2f-4fb1-8968-a6176aee3d0a"},"List":[{"Id":0,"Name":"vmhdbdev01","Status":"clear"},{"Id":1,"Name":"vmhdbdev02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0005_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0005_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_host_discovery.json new file mode 100644 index 0000000000..42e3e58ee8 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0005_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":4,"fully_qualified_domain_name":"vmhdbdev02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmhdbdev02","ip_addresses":["127.0.0.1","::1","10.100.1.12","fe80::6245:bdff:fe8a:5f6b"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":32107},"discovery_type":"host_discovery","agent_id":"0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0006_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0006_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_saptune_discovery.json new file mode 100644 index 0000000000..e2f06ddc31 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0006_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0007_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0007_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_subscription_discovery.json new file mode 100644 index 0000000000..66bd8f69e7 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0007_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0008_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0008_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_host_discovery.json new file mode 100644 index 0000000000..1e09ae0399 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0008_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwprd04.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwprd04","ip_addresses":["127.0.0.1","::1","10.80.1.24","10.80.1.28","fe80::20d:3aff:fe2e:8fad"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"0fc07435-7ee2-54ca-b0de-fb27ffdc5deb"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0009_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0009_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_saptune_discovery.json new file mode 100644 index 0000000000..5a9c0ddfb6 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0009_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.1.0","saptune_installed":true,"status":{"$schema":"file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json","argv":"saptune --format json status","command":"status","exit code":4,"messages":[{"message":"actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n","priority":"NOTICE"},{"message":"sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n","priority":"WARNING"},{"message":"sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n","priority":"WARNING"},{"message":"ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n","priority":"NOTICE"}],"pid":24623,"publish time":"2023-04-24 12:41:56.612","result":{"Notes applied":["941735","1771258","2578899","2993054","1656250","900929"],"Notes applied by Solution":[{"Note list":["941735","1771258","2578899","2993054","1656250","900929"],"Solution ID":"NETWEAVER"}],"Notes enabled":["941735","1771258","2578899","2993054","1656250","900929"],"Notes enabled additionally":[],"Notes enabled by Solution":[{"Note list":["941735","1771258","2578899","2993054","1656250","900929"],"Solution ID":"NETWEAVER"}],"Solution applied":[{"Solution ID":"NETWEAVER","applied partially":false}],"Solution enabled":["NETWEAVER"],"configured version":"3","package version":"3.1.0","remember message":"\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n","services":{"sapconf":[],"saptune":["enabled","active"],"tuned":[]},"staging":{"Notes staged":[],"Solutions staged":[],"staging enabled":false},"systemd system state":"running","tuning state":"not compliant","virtualization":"oracle"}}},"discovery_type":"saptune_discovery","agent_id":"0fc07435-7ee2-54ca-b0de-fb27ffdc5deb"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0010_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0010_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_subscription_discovery.json new file mode 100644 index 0000000000..305bc10027 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0010_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"0fc07435-7ee2-54ca-b0de-fb27ffdc5deb"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0011_116d49bd-85e1-5e59-b820-83f66db8800c_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0011_116d49bd-85e1-5e59-b820-83f66db8800c_ha_cluster_discovery.json new file mode 100644 index 0000000000..e9203b05e7 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0011_116d49bd-85e1-5e59-b820-83f66db8800c_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":[{"Id":"loc_sap_NWP_failover_to_ers","Node":"","Resource":"rsc_sap_NWP_ASCS00","Role":"","Score":""}]},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"netweaver_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmnwprd01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmnwprd02"}],"Resources":{"Clones":null,"Groups":[{"Id":"grp_NWP_ASCS00","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWP_ASCS00","InstanceAttributes":[{"Id":"rsc_ip_NWP_ASCS00-instance_attributes-ip","Name":"ip","Value":"10.80.1.25"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWP_ASCS00-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWP_ASCS00","InstanceAttributes":[{"Id":"rsc_fs_NWP_ASCS00-instance_attributes-device","Name":"device","Value":"10.80.1.33:/NWP/ASCS"},{"Id":"rsc_fs_NWP_ASCS00-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWP/ASCS00"},{"Id":"rsc_fs_NWP_ASCS00-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWP_ASCS00-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWP_ASCS00-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWP_ASCS00-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWP_ASCS00","InstanceAttributes":[{"Id":"rsc_sap_NWP_ASCS00-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWP_ASCS00_sapnwpas"},{"Id":"rsc_sap_NWP_ASCS00-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWP/profile/NWP_ASCS00_sapnwpas"},{"Id":"rsc_sap_NWP_ASCS00-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"}],"MetaAttributes":[{"Id":"rsc_sap_NWP_ASCS00-meta_attributes-resource-stickiness","Name":"resource-stickiness","Value":"5000"},{"Id":"rsc_sap_NWP_ASCS00-meta_attributes-failure-timeout","Name":"failure-timeout","Value":"60"},{"Id":"rsc_sap_NWP_ASCS00-meta_attributes-migration-threshold","Name":"migration-threshold","Value":"1"},{"Id":"rsc_sap_NWP_ASCS00-meta_attributes-priority","Name":"priority","Value":"10"}],"Operations":[{"Id":"rsc_sap_NWP_ASCS00-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWP_ASCS00","InstanceAttributes":[{"Id":"rsc_socat_NWP_ASCS00-instance_attributes-port","Name":"port","Value":"62000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWP_ASCS00-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]},{"Id":"grp_NWP_ERS10","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWP_ERS10","InstanceAttributes":[{"Id":"rsc_ip_NWP_ERS10-instance_attributes-ip","Name":"ip","Value":"10.80.1.26"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWP_ERS10-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWP_ERS10","InstanceAttributes":[{"Id":"rsc_fs_NWP_ERS10-instance_attributes-device","Name":"device","Value":"10.80.1.33:/NWP/ERS"},{"Id":"rsc_fs_NWP_ERS10-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWP/ERS10"},{"Id":"rsc_fs_NWP_ERS10-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWP_ERS10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWP_ERS10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWP_ERS10-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWP_ERS10","InstanceAttributes":[{"Id":"rsc_sap_NWP_ERS10-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWP_ERS10_sapnwper"},{"Id":"rsc_sap_NWP_ERS10-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWP/profile/NWP_ERS10_sapnwper"},{"Id":"rsc_sap_NWP_ERS10-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"},{"Id":"rsc_sap_NWP_ERS10-instance_attributes-IS_ERS","Name":"IS_ERS","Value":"true"}],"MetaAttributes":[{"Id":"rsc_sap_NWP_ERS10-meta_attributes-priority","Name":"priority","Value":"1000"}],"Operations":[{"Id":"rsc_sap_NWP_ERS10-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWP_ERS10","InstanceAttributes":[{"Id":"rsc_socat_NWP_ERS10-instance_attributes-port","Name":"port","Value":"62110"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWP_ERS10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":null,"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":null,"Groups":[{"Id":"grp_NWP_ASCS00","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWP_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWP_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWP_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWP_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]},{"Id":"grp_NWP_ERS10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWP_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWP_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWP_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWP_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"runs_ers_NWP","Value":"1"}],"Name":"vmnwprd02"}]},"NodeHistory":{"Nodes":[{"Name":"vmnwprd01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWP_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWP_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_fs_NWP_ASCS00"},{"FailCount":0,"MigrationThreshold":1,"Name":"rsc_sap_NWP_ASCS00"}]},{"Name":"vmnwprd02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWP_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_fs_NWP_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_sap_NWP_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWP_ERS10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmnwprd01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmnwprd02","Online":true,"Pending":false,"ResourcesRunning":4,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 13:43:06 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":true,"Id":"8bca366a6cb7816555538092a1ddd5aa","Name":"netweaver_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_e34218cd-0d9a-4b21-b6d5-a313980baa82","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_e34218cd-0d9a-4b21-b6d5-a313980baa82","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"e0c97fe2-f63a-4fd1-83df-9a736a03b49b"},"List":[{"Id":0,"Name":"vmnwprd01","Status":"clear"},{"Id":1,"Name":"vmnwprd02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"116d49bd-85e1-5e59-b820-83f66db8800c"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0012_116d49bd-85e1-5e59-b820-83f66db8800c_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0012_116d49bd-85e1-5e59-b820-83f66db8800c_host_discovery.json new file mode 100644 index 0000000000..47b61fd737 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0012_116d49bd-85e1-5e59-b820-83f66db8800c_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwprd01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwprd01","ip_addresses":["127.0.0.1","::1","10.80.1.21","10.80.1.25","fe80::20d:3aff:fe2e:8f04"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"116d49bd-85e1-5e59-b820-83f66db8800c"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0013_116d49bd-85e1-5e59-b820-83f66db8800c_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0013_116d49bd-85e1-5e59-b820-83f66db8800c_saptune_discovery.json new file mode 100644 index 0000000000..f8ecd52a2d --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0013_116d49bd-85e1-5e59-b820-83f66db8800c_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.1.0","saptune_installed":true,"status":{"$schema":"file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json","argv":"saptune --format json status","command":"status","exit code":4,"messages":[{"message":"actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n","priority":"NOTICE"},{"message":"sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n","priority":"WARNING"},{"message":"sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n","priority":"WARNING"},{"message":"ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n","priority":"NOTICE"}],"pid":24623,"publish time":"2023-04-24 12:41:56.612","result":{"Notes applied":["941735","1771258","2578899","2993054","1656250","900929"],"Notes applied by Solution":[{"Note list":["941735","1771258","2578899","2993054","1656250","900929"],"Solution ID":"NETWEAVER"}],"Notes enabled":["941735","1771258","2578899","2993054","1656250","900929"],"Notes enabled additionally":[],"Notes enabled by Solution":[{"Note list":["941735","1771258","2578899","2993054","1656250","900929"],"Solution ID":"NETWEAVER"}],"Solution applied":[{"Solution ID":"NETWEAVER","applied partially":false}],"Solution enabled":["NETWEAVER"],"configured version":"3","package version":"3.1.0","remember message":"\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n","services":{"sapconf":[],"saptune":["enabled","active"],"tuned":[]},"staging":{"Notes staged":[],"Solutions staged":[],"staging enabled":false},"systemd system state":"running","tuning state":"not compliant","virtualization":"oracle"}}},"discovery_type":"saptune_discovery","agent_id":"116d49bd-85e1-5e59-b820-83f66db8800c"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0014_116d49bd-85e1-5e59-b820-83f66db8800c_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0014_116d49bd-85e1-5e59-b820-83f66db8800c_subscription_discovery.json new file mode 100644 index 0000000000..3dde0d4469 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0014_116d49bd-85e1-5e59-b820-83f66db8800c_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"116d49bd-85e1-5e59-b820-83f66db8800c"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0015_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0015_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_ha_cluster_discovery.json new file mode 100644 index 0000000000..fe38408944 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0015_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"hana_cluster_1"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"},{"Id":"SAPHanaSR-hana_hdd_site_srHook_WDF","Name":"hana_hdd_site_srHook_WDF","Value":"PRIM"}]},"Nodes":[{"Id":"1","InstanceAttributes":[{"Id":"nodes-1-lpa_hdd_lpt","Name":"lpa_hdd_lpt","Value":"10"},{"Id":"nodes-1-hana_hdd_vhost","Name":"hana_hdd_vhost","Value":"vmhdbdev01"},{"Id":"nodes-1-hana_hdd_site","Name":"hana_hdd_site","Value":"NBG"},{"Id":"nodes-1-hana_hdd_op_mode","Name":"hana_hdd_op_mode","Value":"logreplay"},{"Id":"nodes-1-hana_hdd_srmode","Name":"hana_hdd_srmode","Value":"sync"},{"Id":"nodes-1-hana_hdd_remoteHost","Name":"hana_hdd_remoteHost","Value":"vmhdbdev02"}],"Uname":"vmhdbdev01"},{"Id":"2","InstanceAttributes":[{"Id":"nodes-2-lpa_hdd_lpt","Name":"lpa_hdd_lpt","Value":"1643125026"},{"Id":"nodes-2-hana_hdd_op_mode","Name":"hana_hdd_op_mode","Value":"logreplay"},{"Id":"nodes-2-hana_hdd_vhost","Name":"hana_hdd_vhost","Value":"vmhdbdev02"},{"Id":"nodes-2-hana_hdd_remoteHost","Name":"hana_hdd_remoteHost","Value":"vmhdbdev01"},{"Id":"nodes-2-hana_hdd_site","Name":"hana_hdd_site","Value":"WDF"},{"Id":"nodes-2-hana_hdd_srmode","Name":"hana_hdd_srmode","Value":"sync"}],"Uname":"vmhdbdev02"}],"Resources":{"Clones":[{"Id":"cln_SAPHanaTopology_HDD_HDB10","MetaAttributes":[{"Id":"cln_SAPHanaTopology_HDD_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"cln_SAPHanaTopology_HDD_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHanaTopology_HDD_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHanaTopology_HDD_HDB10-instance_attributes-SID","Name":"SID","Value":"HDD"},{"Id":"rsc_SAPHanaTopology_HDD_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHanaTopology_HDD_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDD_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDD_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"300"}],"Provider":"suse","Type":"SAPHanaTopology"}}],"Groups":[{"Id":"g_ip_HDD_HDB10","Primitives":[{"Class":"ocf","Id":"rsc_ip_HDD_HDB10","InstanceAttributes":[{"Id":"rsc_ip_HDD_HDB10-instance_attributes-ip","Name":"ip","Value":"10.100.1.13"},{"Id":"rsc_ip_HDD_HDB10-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"24"},{"Id":"rsc_ip_HDD_HDB10-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_HDD_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDD_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDD_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_socat_HDD_HDB10","InstanceAttributes":[{"Id":"rsc_socat_HDD_HDB10-instance_attributes-port","Name":"port","Value":"62510"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_HDD_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"msl_SAPHana_HDD_HDB10","MetaAttributes":[{"Id":"msl_SAPHana_HDD_HDB10-meta_attributes-clone-max","Name":"clone-max","Value":"2"},{"Id":"msl_SAPHana_HDD_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"msl_SAPHana_HDD_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHana_HDD_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-SID","Name":"SID","Value":"HDD"},{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"},{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-PREFER_SITE_TAKEOVER","Name":"PREFER_SITE_TAKEOVER","Value":"True"},{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-AUTOMATED_REGISTER","Name":"AUTOMATED_REGISTER","Value":"False"},{"Id":"rsc_SAPHana_HDD_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT","Name":"DUPLICATE_PRIMARY_TIMEOUT","Value":"7200"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHana_HDD_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDD_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDD_HDB10-promote-0","Interval":"0","Name":"promote","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDD_HDB10-monitor-60","Interval":"60","Name":"monitor","Role":"Master","Timeout":"700"},{"Id":"rsc_SAPHana_HDD_HDB10-monitor-61","Interval":"61","Name":"monitor","Role":"Slave","Timeout":"700"}],"Provider":"suse","Type":"SAPHana"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"15"}],"MetaAttributes":null,"Operations":[{"Id":"stonith-sbd-monitor-15","Interval":"15","Name":"monitor","Role":"","Timeout":"15"}],"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"msl_SAPHana_HDD_HDB10","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":false,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDD_HDB10","Managed":true,"Node":null,"NodesRunningOn":0,"Orphaned":false,"Role":"Stopped"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cln_SAPHanaTopology_HDD_HDB10","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g_ip_HDD_HDB10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_HDD_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"hana_hdd_clone_state","Value":"UNDEFINED"},{"Name":"hana_hdd_op_mode","Value":"logreplay"},{"Name":"hana_hdd_remoteHost","Value":"vmhdbdev02"},{"Name":"hana_hdd_roles","Value":"1:P:master1::worker:"},{"Name":"hana_hdd_site","Value":"NBG"},{"Name":"hana_hdd_srmode","Value":"sync"},{"Name":"hana_hdd_sync_state","Value":"SFAIL"},{"Name":"hana_hdd_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdd_vhost","Value":"vmhdbdev01"},{"Name":"lpa_hdd_lpt","Value":"10"},{"Name":"master-rsc_SAPHana_HDD_HDB10","Value":"-9000"}],"Name":"vmhdbdev01"},{"Attributes":[{"Name":"hana_hdd_clone_state","Value":"PROMOTED"},{"Name":"hana_hdd_op_mode","Value":"logreplay"},{"Name":"hana_hdd_remoteHost","Value":"vmhdbdev01"},{"Name":"hana_hdd_roles","Value":"4:P:master1:master:worker:master"},{"Name":"hana_hdd_site","Value":"WDF"},{"Name":"hana_hdd_srmode","Value":"sync"},{"Name":"hana_hdd_sync_state","Value":"PRIM"},{"Name":"hana_hdd_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdd_vhost","Value":"vmhdbdev02"},{"Name":"lpa_hdd_lpt","Value":"1643125026"},{"Name":"master-rsc_SAPHana_HDD_HDB10","Value":"150"}],"Name":"vmhdbdev02"}]},"NodeHistory":{"Nodes":[{"Name":"vmhdbdev02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_ip_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDD_HDB10"}]},{"Name":"vmhdbdev01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_ip_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_HDD_HDB10"},{"FailCount":1000000,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDD_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDD_HDB10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmhdbdev01","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmhdbdev02","Online":true,"Pending":false,"ResourcesRunning":4,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 25 15:37:06 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":7}},"Version":"2.0.5"},"DC":true,"Id":"04b8f8c21f9fd8991224478e8c4362f8","Name":"hana_cluster_1","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:182cb1b1-a815-4b82-b538-7a166b9bbb4a","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:182cb1b1-a815-4b82-b538-7a166b9bbb4a","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"cc39771e-ea2f-4fb1-8968-a6176aee3d0a"},"List":[{"Id":0,"Name":"vmhdbdev01","Status":"clear"},{"Id":1,"Name":"vmhdbdev02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"13e8c25c-3180-5a9a-95c8-51ec38e50cfc"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0016_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0016_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_host_discovery.json new file mode 100644 index 0000000000..aef9c903bd --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0016_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":4,"fully_qualified_domain_name":"vmhdbdev01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmhdbdev01","ip_addresses":["127.0.0.1","::1","10.100.1.11","10.100.1.13","fe80::6245:bdff:fe8d:9b69"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":32107},"discovery_type":"host_discovery","agent_id":"13e8c25c-3180-5a9a-95c8-51ec38e50cfc"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0017_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0017_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_sap_system_discovery.json new file mode 100644 index 0000000000..93e56e0832 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0017_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"Databases":[{"Active":"yes","Container":"","Database":"HDD","Group":"","GroupId":"","Host":"vmhdbdev01","SqlPort":"31015","User":"","UserId":""}],"Id":"fd44c254ccb14331e54015c720c7a1f2","Instances":[{"HdbnsutilSRstate":{"hasConsumers":"true","isConsumer":"false","isPrimarySuspended":"false","isSource":"true","isTakeoverActive":"false","mapping/vmhdbdev01":["WDF/vmhdbdev02","NBG/vmhdbdev01"],"mode":"primary","online":"true","operation_mode":"primary","siteMapping/NBG":"WDF","siteOperationMode/NBG":"primary","siteOperationMode/WDF":"logreplay","siteReplicationMode/NBG":"primary","siteReplicationMode/WDF":"sync","siteTier/NBG":"1","siteTier/WDF":"2","site_id":"1","site_name":"NBG"},"Host":"vmhdbdev01","HostConfiguration":{"failoverActualGroup":"default","failoverConfigGroup":"default","failoverStatus":"","host":"vmhdbdev01","hostActive":"yes","hostActualRoles":"worker","hostConfigRoles":"worker","hostStatus":"ok","indexServerActualRole":"master","indexServerConfigRole":"worker","nameServerActualRole":"master","nameServerConfigRole":"master 1","removeStatus":"","storageActualPartition":"1","storageConfigPartition":"1","storagePartition":"1","workerActualGroups":"default","workerConfigGroups":"default"},"Name":"HDB10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"HDB|HDB_WORKER","hostname":"vmhdbdev01","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.3"}],"Processes":[{"description":"HDB Daemon","dispstatus":"SAPControl-GREEN","elapsedtime":"151:55:49","name":"hdbdaemon","pid":18862,"starttime":"2022 01 11 12:56:11","textstatus":"Running"},{"description":"HDB XSEngine-HDD","dispstatus":"SAPControl-GREEN","elapsedtime":"151:55:31","name":"hdbxsengine","pid":20257,"starttime":"2022 01 11 12:56:29","textstatus":"Running"},{"description":"HDB Nameserver","dispstatus":"SAPControl-GREEN","elapsedtime":"151:55:48","name":"hdbnameserver","pid":18893,"starttime":"2022 01 11 12:56:12","textstatus":"Running"},{"description":"HDB Indexserver-HDD","dispstatus":"SAPControl-GREEN","elapsedtime":"151:55:31","name":"hdbindexserver","pid":20254,"starttime":"2022 01 11 12:56:29","textstatus":"Running"},{"description":"HDB Preprocessor","dispstatus":"SAPControl-GREEN","elapsedtime":"151:55:31","name":"hdbpreprocessor","pid":20161,"starttime":"2022 01 11 12:56:29","textstatus":"Running"},{"description":"HDB Compileserver","dispstatus":"SAPControl-GREEN","elapsedtime":"151:55:31","name":"hdbcompileserver","pid":20158,"starttime":"2022 01 11 12:56:29","textstatus":"Running"},{"description":"HDB Web Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"151:55:02","name":"hdbwebdispatcher","pid":22620,"starttime":"2022 01 11 12:56:58","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"DBServices","propertytype":"Attribute","value":"YES"},{"property":"HANA Roles","propertytype":"Attribute","value":"worker"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"vmhdbdev01"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"HDB10"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"HDD"},{"property":"StartPriority","propertytype":"Attribute","value":"0.3"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://vmhdbdev01:51013/sapparamEN.html"}]},"SystemReplication":{"service/vmhdbdev01/31001/LAST_SAVEPOINT_LOG_POSITION":"45292482","service/vmhdbdev01/31007/SITE_ID":"1","service/vmhdbdev01/31001/SECONDARY_RECONNECT_COUNT":"0","service/vmhdbdev01/31007/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbdev01/31007/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:22.341237","service/vmhdbdev01/31007/SHIPPED_SAVEPOINT_LOG_POSITION":"0","service/vmhdbdev01/31007/SHIPPED_LOG_POSITION":"4670464","service/vmhdbdev01/31001/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbdev01/31001/LAST_SAVEPOINT_VERSION":"2831","service/vmhdbdev01/31007/SERVICE_NAME":"xsengine","service/vmhdbdev01/31001/HOST":"vmhdbdev01","service/vmhdbdev01/31003/SERVICE_NAME":"indexserver","service/vmhdbdev01/31007/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","service/vmhdbdev01/31003/SECONDARY_SITE_ID":"2","service/vmhdbdev01/31001/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:50.123508","service/vmhdbdev01/31007/REPLAYED_LOG_POSITION":"4670405","service/vmhdbdev01/31003/LAST_LOG_POSITION":"247644160","service/vmhdbdev01/31001/SECONDARY_SITE_ID":"2","service/vmhdbdev01/31001/SERVICE_NAME":"nameserver","service/vmhdbdev01/31003/SHIPPED_SAVEPOINT_START_TIME":"-","service/vmhdbdev01/31001/SECONDARY_SITE_NAME":"WDF","service/vmhdbdev01/31007/SHIPPED_FULL_REPLICA_SIZE":"0","service/vmhdbdev01/31001/SHIPPED_SAVEPOINT_LOG_POSITION":"0","service/vmhdbdev01/31007/SHIPPED_SAVEPOINT_START_TIME":"-","service/vmhdbdev01/31007/SHIPPED_LOG_BUFFERS_SIZE":"268271616","service/vmhdbdev01/31003/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:49:47.741144","service/vmhdbdev01/31001/SHIPPED_SAVEPOINT_START_TIME":"-","service/vmhdbdev01/31003/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbdev01/31001/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","service/vmhdbdev01/31007/FULL_SYNC":"DISABLED","service/vmhdbdev01/31003/HOST":"vmhdbdev01","service/vmhdbdev01/31003/SECONDARY_CONNECT_TIME":"2022-01-11 13:01:20.044302","service/vmhdbdev01/31001/VOLUME_ID":"1","service/vmhdbdev01/31001/REPLICATION_STATUS":"ACTIVE","service/vmhdbdev01/31007/SECONDARY_SITE_NAME":"WDF","service/vmhdbdev01/31003/SHIPPED_DELTA_REPLICA_SIZE":"0","service/vmhdbdev01/31001/LAST_LOG_POSITION":"45295808","service/vmhdbdev01/31001/SITE_NAME":"NBG","service/vmhdbdev01/31007/CREATION_TIME":"2022-01-11 12:56:58.348403","site/2/SITE_NAME":"WDF","service/vmhdbdev01/31007/DATABASE":"HDD","service/vmhdbdev01/31003/SHIPPED_LOG_BUFFERS_COUNT":"682002","service/vmhdbdev01/31003/VOLUME_ID":"3","service/vmhdbdev01/31007/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbdev01/31007/REPLICATION_STATUS_DETAILS":"","service/vmhdbdev01/31003/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbdev01/31007/LAST_SAVEPOINT_VERSION":"2874","service/vmhdbdev01/31003/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbdev01/31001/SHIPPED_LOG_BUFFERS_COUNT":"125075","service/vmhdbdev01/31001/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbdev01/31007/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbdev01/31003/SHIPPED_FULL_REPLICA_DURATION":"0","service/vmhdbdev01/31001/CREATION_TIME":"2022-01-11 12:56:29.020885","service/vmhdbdev01/31003/SHIPPED_DELTA_REPLICA_COUNT":"0","service/vmhdbdev01/31007/LAST_RESET_TIME":"2022-01-11 12:56:58.348403","service/vmhdbdev01/31003/SITE_NAME":"NBG","service/vmhdbdev01/31003/SHIPPED_LOG_BUFFERS_SIZE":"3481903104","service/vmhdbdev01/31003/SHIPPED_LOG_BUFFERS_DURATION":"1761449260","service/vmhdbdev01/31003/SHIPPED_SAVEPOINT_LOG_POSITION":"0","service/vmhdbdev01/31003/LAST_SAVEPOINT_VERSION":"2790","service/vmhdbdev01/31003/SHIPPED_LOG_POSITION":"247644160","service/vmhdbdev01/31007/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbdev01/31001/SHIPPED_FULL_REPLICA_SIZE":"0","site/2/REPLICATION_STATUS":"ACTIVE","service/vmhdbdev01/31001/OPERATION_MODE":"logreplay","service/vmhdbdev01/31001/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:50.123508","service/vmhdbdev01/31007/SHIPPED_FULL_REPLICA_DURATION":"0","local_site_id":"1","service/vmhdbdev01/31003/RESET_COUNT":"0","site/1/REPLICATION_MODE":"PRIMARY","service/vmhdbdev01/31007/SECONDARY_CONNECT_TIME":"2022-01-11 13:01:20.647048","service/vmhdbdev01/31001/SITE_ID":"1","service/vmhdbdev01/31001/PORT":"31001","service/vmhdbdev01/31007/VOLUME_ID":"2","service/vmhdbdev01/31001/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:48:30.381133","service/vmhdbdev01/31003/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbdev01/31003/SECONDARY_RECONNECT_COUNT":"7","service/vmhdbdev01/31001/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbdev01/31001/SECONDARY_PORT":"31001","service/vmhdbdev01/31007/RESET_COUNT":"0","service/vmhdbdev01/31003/SECONDARY_ACTIVE_STATUS":"YES","service/vmhdbdev01/31003/SECONDARY_SITE_NAME":"WDF","service/vmhdbdev01/31007/SECONDARY_SITE_ID":"2","service/vmhdbdev01/31001/SHIPPED_DELTA_REPLICA_COUNT":"0","overall_replication_status":"ACTIVE","service/vmhdbdev01/31001/SHIPPED_LOG_BUFFERS_SIZE":"555040768","service/vmhdbdev01/31007/HOST":"vmhdbdev01","service/vmhdbdev01/31007/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbdev01/31003/SECONDARY_PORT":"31003","service/vmhdbdev01/31007/LAST_SAVEPOINT_LOG_POSITION":"4669955","service/vmhdbdev01/31001/SHIPPED_LOG_BUFFERS_DURATION":"332381033","service/vmhdbdev01/31003/REPLICATION_STATUS":"ACTIVE","service/vmhdbdev01/31003/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","service/vmhdbdev01/31007/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbdev01/31001/SHIPPED_LOG_POSITION":"45295808","service/vmhdbdev01/31007/SECONDARY_ACTIVE_STATUS":"YES","service/vmhdbdev01/31007/SHIPPED_DELTA_REPLICA_SIZE":"0","service/vmhdbdev01/31007/REPLICATION_MODE":"SYNC","site/2/SOURCE_SITE_ID":"1","service/vmhdbdev01/31003/OPERATION_MODE":"logreplay","service/vmhdbdev01/31003/REPLAYED_LOG_POSITION":"247644160","service/vmhdbdev01/31003/PORT":"31003","service/vmhdbdev01/31001/REPLAYED_LOG_POSITION":"45295808","service/vmhdbdev01/31001/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbdev01/31007/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbdev01/31003/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:54.241756","service/vmhdbdev01/31007/SITE_NAME":"NBG","service/vmhdbdev01/31007/LAST_LOG_POSITION":"4670464","service/vmhdbdev01/31001/RESET_COUNT":"0","service/vmhdbdev01/31007/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbdev01/31003/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbdev01/31003/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbdev01/31001/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbdev01/31007/SHIPPED_LOG_BUFFERS_COUNT":"65496","service/vmhdbdev01/31001/REPLICATION_MODE":"SYNC","service/vmhdbdev01/31001/SHIPPED_FULL_REPLICA_DURATION":"0","service/vmhdbdev01/31001/REPLICATION_STATUS_DETAILS":"","service/vmhdbdev01/31003/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:54.241756","service/vmhdbdev01/31003/DATABASE":"HDD","service/vmhdbdev01/31001/FULL_SYNC":"DISABLED","service/vmhdbdev01/31003/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbdev01/31001/DATABASE":"SYSTEMDB","service/vmhdbdev01/31007/SHIPPED_LOG_BUFFERS_DURATION":"180172567","service/vmhdbdev01/31003/SECONDARY_HOST":"vmhdbdev02","service/vmhdbdev01/31001/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:50.123508","service/vmhdbdev01/31001/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbdev01/31003/SHIPPED_FULL_REPLICA_SIZE":"0","service/vmhdbdev01/31007/PORT":"31007","service/vmhdbdev01/31001/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbdev01/31003/REPLICATION_STATUS_DETAILS":"","service/vmhdbdev01/31003/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbdev01/31001/SECONDARY_HOST":"vmhdbdev02","service/vmhdbdev01/31003/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:54.241756","service/vmhdbdev01/31007/REPLICATION_STATUS":"ACTIVE","service/vmhdbdev01/31001/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-","service/vmhdbdev01/31007/OPERATION_MODE":"logreplay","service/vmhdbdev01/31007/SECONDARY_HOST":"vmhdbdev02","service/vmhdbdev01/31001/SECONDARY_ACTIVE_STATUS":"YES","service/vmhdbdev01/31003/SITE_ID":"1","service/vmhdbdev01/31001/LAST_RESET_TIME":"2022-01-11 12:56:29.020885","service/vmhdbdev01/31003/LAST_RESET_TIME":"2022-01-11 12:56:53.983097","service/vmhdbdev01/31001/SHIPPED_DELTA_REPLICA_SIZE":"0","service/vmhdbdev01/31007/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:50:22.414771","service/vmhdbdev01/31003/CREATION_TIME":"2022-01-11 12:56:53.983097","service/vmhdbdev01/31003/REPLICATION_MODE":"SYNC","service/vmhdbdev01/31007/SECONDARY_PORT":"31007","service/vmhdbdev01/31001/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbdev01/31007/SECONDARY_RECONNECT_COUNT":"7","site/1/SITE_NAME":"NBG","service/vmhdbdev01/31007/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:22.341237","service/vmhdbdev01/31003/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-","service/vmhdbdev01/31001/SECONDARY_CONNECT_TIME":"2022-01-11 12:57:43.205984","service/vmhdbdev01/31007/SHIPPED_DELTA_REPLICA_COUNT":"0","site/2/REPLICATION_MODE":"SYNC","service/vmhdbdev01/31003/LAST_SAVEPOINT_LOG_POSITION":"247637826","service/vmhdbdev01/31003/FULL_SYNC":"DISABLED","service/vmhdbdev01/31007/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:22.341237","service/vmhdbdev01/31007/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-"},"Type":1}],"Profile":{"HDB_LINKED_BINARIES":"yes","HDB_SHARED_BINARIES":"yes","SAPGLOBALHOST":"vmhdbdev01","SAPSYSTEMNAME":"HDD","hdbConfigType":"DEFAULT","ssl/ciphersuites":"135:PFS:HIGH::EC_P256:EC_HIGH"},"SID":"HDD","Type":1}],"discovery_type":"sap_system_discovery","agent_id":"13e8c25c-3180-5a9a-95c8-51ec38e50cfc"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0018_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0018_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_saptune_discovery.json new file mode 100644 index 0000000000..21dd192eee --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0018_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"13e8c25c-3180-5a9a-95c8-51ec38e50cfc"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0019_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0019_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_subscription_discovery.json new file mode 100644 index 0000000000..2a13c7a422 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0019_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"13e8c25c-3180-5a9a-95c8-51ec38e50cfc"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0020_1b0e9297-97dd-55d6-9874-8efde4d84c90_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0020_1b0e9297-97dd-55d6-9874-8efde4d84c90_host_discovery.json new file mode 100644 index 0000000000..1aa7769794 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0020_1b0e9297-97dd-55d6-9874-8efde4d84c90_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwdev04.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwdev04","ip_addresses":["127.0.0.1","::1","10.100.1.24","10.100.1.28","fe80::6245:bdff:fe8d:9a74"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"1b0e9297-97dd-55d6-9874-8efde4d84c90"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0021_1b0e9297-97dd-55d6-9874-8efde4d84c90_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0021_1b0e9297-97dd-55d6-9874-8efde4d84c90_sap_system_discovery.json new file mode 100644 index 0000000000..679208b1f0 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0021_1b0e9297-97dd-55d6-9874-8efde4d84c90_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.100.1.13","Databases":null,"Id":"a1e80e3e152a903662f7882fb3f8a851","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwdev04","HostConfiguration":null,"Name":"D02","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwdas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwder","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwdpas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwdaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"Gateway","dispstatus":"SAPControl-GREEN","elapsedtime":"151:47:01","name":"gwrd","pid":26496,"starttime":"2022 01 11 13:05:00","textstatus":"Running"},{"description":"ICM","dispstatus":"SAPControl-GREEN","elapsedtime":"151:47:01","name":"icman","pid":26497,"starttime":"2022 01 11 13:05:00","textstatus":"Running"},{"description":"IGS Watchdog","dispstatus":"SAPControl-GREEN","elapsedtime":"151:47:04","name":"igswd_mt","pid":26476,"starttime":"2022 01 11 13:04:57","textstatus":"Running"},{"description":"Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"151:47:04","name":"disp+work","pid":26475,"starttime":"2022 01 11 13:04:57","textstatus":"Running"}],"Properties":[{"property":"ICM","propertytype":"NodeURL","value":"HTTP://sapnwdaas1:0/sap/admin/public/index.html"},{"property":"IGS","propertytype":"NodeURL","value":"http://sapnwdaas1:40280"},{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"ICM Cache","propertytype":"NodeWebmethod","value":"ICMGetCacheEntries"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"02"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"ICM Threads","propertytype":"NodeWebmethod","value":"ICMGetThreadList"},{"property":"Open Alerts","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwdaas1"},{"property":"ABAP WP Table","propertytype":"NodeWebmethod","value":"ABAPGetWPTable"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"D02"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWD"},{"property":"StartPriority","propertytype":"Attribute","value":"3"},{"property":"Current Status","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Gateway Clients","propertytype":"NodeWebmethod","value":"GWGetClientList"},{"property":"ICM Connections","propertytype":"NodeWebmethod","value":"ICMGetConnectionList"},{"property":"Queue Statistic","propertytype":"NodeWebmethod","value":"GetQueueStatistic"},{"property":"Gateway Connections","propertytype":"NodeWebmethod","value":"GWGetConnectionList"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"ICM Proxy Connections","propertytype":"NodeWebmethod","value":"ICMGetProxyConnectionList"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwdaas1:50213/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"10.100.1.13","SAPGLOBALHOST":"sapnwdas","SAPSYSTEMNAME":"NWD","dbms/name":"HDD","dbms/type":"hdb","dbs/hdb/dbname":"HDD","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwdas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwdas","rdisp/msserv":"sapmsNWD","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWD","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"1b0e9297-97dd-55d6-9874-8efde4d84c90"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0022_1b0e9297-97dd-55d6-9874-8efde4d84c90_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0022_1b0e9297-97dd-55d6-9874-8efde4d84c90_saptune_discovery.json new file mode 100644 index 0000000000..0a24d66770 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0022_1b0e9297-97dd-55d6-9874-8efde4d84c90_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"1b0e9297-97dd-55d6-9874-8efde4d84c90"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0023_1b0e9297-97dd-55d6-9874-8efde4d84c90_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0023_1b0e9297-97dd-55d6-9874-8efde4d84c90_subscription_discovery.json new file mode 100644 index 0000000000..bb8656c6a9 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0023_1b0e9297-97dd-55d6-9874-8efde4d84c90_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"1b0e9297-97dd-55d6-9874-8efde4d84c90"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0024_21de186a-e38f-5804-b643-7f4ef22fecfd_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0024_21de186a-e38f-5804-b643-7f4ef22fecfd_ha_cluster_discovery.json new file mode 100644 index 0000000000..1402d8a3f5 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0024_21de186a-e38f-5804-b643-7f4ef22fecfd_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"drbd_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmdrbddev01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmdrbddev02"}],"Resources":{"Clones":[{"Id":"cl-nfsserver","MetaAttributes":[{"Id":"cl-nfsserver-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"systemd","Id":"nfsserver","InstanceAttributes":null,"MetaAttributes":null,"Operations":[{"Id":"nfsserver-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"","Type":"nfs-server"}}],"Groups":[{"Id":"g-nfs_sapdata","Primitives":[{"Class":"ocf","Id":"fs_sapdata","InstanceAttributes":[{"Id":"fs_sapdata-instance_attributes-device","Name":"device","Value":"/dev/drbd1"},{"Id":"fs_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWD"},{"Id":"fs_sapdata-instance_attributes-fstype","Name":"fstype","Value":"xfs"},{"Id":"fs_sapdata-instance_attributes-options","Name":"options","Value":"noatime,nodiratime"}],"MetaAttributes":null,"Operations":[{"Id":"fs_sapdata-monitor-20","Interval":"20","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"vip_sapdata_nfs","InstanceAttributes":[{"Id":"vip_sapdata_nfs-instance_attributes-ip","Name":"ip","Value":"10.100.1.33"},{"Id":"vip_sapdata_nfs-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"32"},{"Id":"vip_sapdata_nfs-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"vip_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"exportfs_work_sapdata","InstanceAttributes":[{"Id":"exportfs_work_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWD"},{"Id":"exportfs_work_sapdata-instance_attributes-fsid","Name":"fsid","Value":"1"},{"Id":"exportfs_work_sapdata-instance_attributes-options","Name":"options","Value":"rw,no_root_squash"},{"Id":"exportfs_work_sapdata-instance_attributes-clientspec","Name":"clientspec","Value":"*"},{"Id":"exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop","Name":"wait_for_leasetime_on_stop","Value":"true"}],"MetaAttributes":null,"Operations":[{"Id":"exportfs_work_sapdata-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"heartbeat","Type":"exportfs"},{"Class":"ocf","Id":"rsc_socat_sapdata_nfs","InstanceAttributes":[{"Id":"rsc_socat_sapdata_nfs-instance_attributes-port","Name":"port","Value":"61000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"ms_sapdata","MetaAttributes":[{"Id":"ms_sapdata-meta_attributes-master-max","Name":"master-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-master-node-max","Name":"master-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-0-clone-max","Name":"clone-max","Value":"2"},{"Id":"ms_sapdata-meta_attributes-0-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-1-notify","Name":"notify","Value":"true"},{"Id":"ms_sapdata-meta_attributes-1-target-role","Name":"target-role","Value":"Started"}],"Primitive":{"Class":"ocf","Id":"drbd-sapdata","InstanceAttributes":[{"Id":"drbd-sapdata-instance_attributes-drbd_resource","Name":"drbd_resource","Value":"sapdata"}],"MetaAttributes":null,"Operations":[{"Id":"drbd-sapdata-monitor-15","Interval":"15","Name":"monitor","Role":"Master","Timeout":""},{"Id":"drbd-sapdata-monitor-30","Interval":"30","Name":"monitor","Role":"Slave","Timeout":""}],"Provider":"linbit","Type":"drbd"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"ms_sapdata","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbddev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cl-nfsserver","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbddev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g-nfs_sapdata","Resources":[{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"fs_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"vip_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:exportfs","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"exportfs_work_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbddev01"},{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbddev02"}]},"NodeHistory":{"Nodes":[{"Name":"vmdrbddev01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"fs_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"vip_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"exportfs_work_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]},{"Name":"vmdrbddev02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]}]},"Nodes":[{"DC":false,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmdrbddev01","Online":true,"Pending":false,"ResourcesRunning":7,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":true,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmdrbddev02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 12:50:53 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":true,"Id":"04a81f89c847e82390e35bece2e25c9b","Name":"drbd_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:3947fa28-25e0-46d4-bbed-89ce88f977f1","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:3947fa28-25e0-46d4-bbed-89ce88f977f1","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"27016e64-5f07-4563-90d5-16cb8f9ebc2a"},"List":[{"Id":0,"Name":"vmdrbddev01","Status":"clear"},{"Id":1,"Name":"vmdrbddev02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"21de186a-e38f-5804-b643-7f4ef22fecfd"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0025_21de186a-e38f-5804-b643-7f4ef22fecfd_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0025_21de186a-e38f-5804-b643-7f4ef22fecfd_host_discovery.json new file mode 100644 index 0000000000..34385119f4 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0025_21de186a-e38f-5804-b643-7f4ef22fecfd_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"hostname":"vmdrbddev02","ip_addresses":["127.0.0.1","::1","10.100.1.32","fe80::6245:bdff:fe8d:95f1"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"21de186a-e38f-5804-b643-7f4ef22fecfd"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0026_21de186a-e38f-5804-b643-7f4ef22fecfd_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0026_21de186a-e38f-5804-b643-7f4ef22fecfd_sap_system_discovery.json new file mode 100644 index 0000000000..6783f8bb16 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0026_21de186a-e38f-5804-b643-7f4ef22fecfd_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"21de186a-e38f-5804-b643-7f4ef22fecfd"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0027_21de186a-e38f-5804-b643-7f4ef22fecfd_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0027_21de186a-e38f-5804-b643-7f4ef22fecfd_saptune_discovery.json new file mode 100644 index 0000000000..e86b451f0b --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0027_21de186a-e38f-5804-b643-7f4ef22fecfd_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"21de186a-e38f-5804-b643-7f4ef22fecfd"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0028_21de186a-e38f-5804-b643-7f4ef22fecfd_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0028_21de186a-e38f-5804-b643-7f4ef22fecfd_subscription_discovery.json new file mode 100644 index 0000000000..245ebf4854 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0028_21de186a-e38f-5804-b643-7f4ef22fecfd_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"21de186a-e38f-5804-b643-7f4ef22fecfd"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0029_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0029_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_ha_cluster_discovery.json new file mode 100644 index 0000000000..3c910fb23f --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0029_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"drbd_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmdrbddev01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmdrbddev02"}],"Resources":{"Clones":[{"Id":"cl-nfsserver","MetaAttributes":[{"Id":"cl-nfsserver-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"systemd","Id":"nfsserver","InstanceAttributes":null,"MetaAttributes":null,"Operations":[{"Id":"nfsserver-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"","Type":"nfs-server"}}],"Groups":[{"Id":"g-nfs_sapdata","Primitives":[{"Class":"ocf","Id":"fs_sapdata","InstanceAttributes":[{"Id":"fs_sapdata-instance_attributes-device","Name":"device","Value":"/dev/drbd1"},{"Id":"fs_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWD"},{"Id":"fs_sapdata-instance_attributes-fstype","Name":"fstype","Value":"xfs"},{"Id":"fs_sapdata-instance_attributes-options","Name":"options","Value":"noatime,nodiratime"}],"MetaAttributes":null,"Operations":[{"Id":"fs_sapdata-monitor-20","Interval":"20","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"vip_sapdata_nfs","InstanceAttributes":[{"Id":"vip_sapdata_nfs-instance_attributes-ip","Name":"ip","Value":"10.100.1.33"},{"Id":"vip_sapdata_nfs-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"32"},{"Id":"vip_sapdata_nfs-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"vip_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"exportfs_work_sapdata","InstanceAttributes":[{"Id":"exportfs_work_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWD"},{"Id":"exportfs_work_sapdata-instance_attributes-fsid","Name":"fsid","Value":"1"},{"Id":"exportfs_work_sapdata-instance_attributes-options","Name":"options","Value":"rw,no_root_squash"},{"Id":"exportfs_work_sapdata-instance_attributes-clientspec","Name":"clientspec","Value":"*"},{"Id":"exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop","Name":"wait_for_leasetime_on_stop","Value":"true"}],"MetaAttributes":null,"Operations":[{"Id":"exportfs_work_sapdata-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"heartbeat","Type":"exportfs"},{"Class":"ocf","Id":"rsc_socat_sapdata_nfs","InstanceAttributes":[{"Id":"rsc_socat_sapdata_nfs-instance_attributes-port","Name":"port","Value":"61000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"ms_sapdata","MetaAttributes":[{"Id":"ms_sapdata-meta_attributes-master-max","Name":"master-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-master-node-max","Name":"master-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-0-clone-max","Name":"clone-max","Value":"2"},{"Id":"ms_sapdata-meta_attributes-0-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-1-notify","Name":"notify","Value":"true"},{"Id":"ms_sapdata-meta_attributes-1-target-role","Name":"target-role","Value":"Started"}],"Primitive":{"Class":"ocf","Id":"drbd-sapdata","InstanceAttributes":[{"Id":"drbd-sapdata-instance_attributes-drbd_resource","Name":"drbd_resource","Value":"sapdata"}],"MetaAttributes":null,"Operations":[{"Id":"drbd-sapdata-monitor-15","Interval":"15","Name":"monitor","Role":"Master","Timeout":""},{"Id":"drbd-sapdata-monitor-30","Interval":"30","Name":"monitor","Role":"Slave","Timeout":""}],"Provider":"linbit","Type":"drbd"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"ms_sapdata","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbddev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cl-nfsserver","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbddev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g-nfs_sapdata","Resources":[{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"fs_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"vip_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:exportfs","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"exportfs_work_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbddev01"},{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbddev02"}]},"NodeHistory":{"Nodes":[{"Name":"vmdrbddev01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"fs_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"vip_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"exportfs_work_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]},{"Name":"vmdrbddev02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]}]},"Nodes":[{"DC":false,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmdrbddev01","Online":true,"Pending":false,"ResourcesRunning":7,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":true,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmdrbddev02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbddev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 12:50:53 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":false,"Id":"04a81f89c847e82390e35bece2e25c9b","Name":"drbd_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:3947fa28-25e0-46d4-bbed-89ce88f977f1","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:3947fa28-25e0-46d4-bbed-89ce88f977f1","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"27016e64-5f07-4563-90d5-16cb8f9ebc2a"},"List":[{"Id":0,"Name":"vmdrbddev01","Status":"clear"},{"Id":1,"Name":"vmdrbddev02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"240f96b1-8d26-53b7-9e99-ffb0f2e735bf"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0030_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0030_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_host_discovery.json new file mode 100644 index 0000000000..95b852583e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0030_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmdrbddev01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmdrbddev01","ip_addresses":["127.0.0.1","::1","10.100.1.31","10.100.1.33","fe80::6245:bdff:fe8a:5969"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"240f96b1-8d26-53b7-9e99-ffb0f2e735bf"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0031_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0031_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_sap_system_discovery.json new file mode 100644 index 0000000000..220552bac2 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0031_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"240f96b1-8d26-53b7-9e99-ffb0f2e735bf"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0032_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0032_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_saptune_discovery.json new file mode 100644 index 0000000000..bcc9453b66 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0032_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"240f96b1-8d26-53b7-9e99-ffb0f2e735bf"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0033_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0033_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_subscription_discovery.json new file mode 100644 index 0000000000..7d7128bd7d --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0033_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"240f96b1-8d26-53b7-9e99-ffb0f2e735bf"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0034_25677e37-fd33-5005-896c-9275b1284534_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0034_25677e37-fd33-5005-896c-9275b1284534_ha_cluster_discovery.json new file mode 100644 index 0000000000..0bd59362bf --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0034_25677e37-fd33-5005-896c-9275b1284534_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":[{"Id":"loc_sap_NWQ_failover_to_ers","Node":"","Resource":"rsc_sap_NWQ_ASCS00","Role":"","Score":""}]},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"netweaver_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmnwqas01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmnwqas02"}],"Resources":{"Clones":null,"Groups":[{"Id":"grp_NWQ_ASCS00","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWQ_ASCS00","InstanceAttributes":[{"Id":"rsc_ip_NWQ_ASCS00-instance_attributes-ip","Name":"ip","Value":"10.90.1.25"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWQ_ASCS00-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWQ_ASCS00","InstanceAttributes":[{"Id":"rsc_fs_NWQ_ASCS00-instance_attributes-device","Name":"device","Value":"10.90.1.33:/NWQ/ASCS"},{"Id":"rsc_fs_NWQ_ASCS00-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWQ/ASCS00"},{"Id":"rsc_fs_NWQ_ASCS00-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWQ_ASCS00-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWQ_ASCS00-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWQ_ASCS00-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWQ_ASCS00","InstanceAttributes":[{"Id":"rsc_sap_NWQ_ASCS00-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWQ_ASCS00_sapnwqas"},{"Id":"rsc_sap_NWQ_ASCS00-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWQ/profile/NWQ_ASCS00_sapnwqas"},{"Id":"rsc_sap_NWQ_ASCS00-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"}],"MetaAttributes":[{"Id":"rsc_sap_NWQ_ASCS00-meta_attributes-resource-stickiness","Name":"resource-stickiness","Value":"5000"},{"Id":"rsc_sap_NWQ_ASCS00-meta_attributes-failure-timeout","Name":"failure-timeout","Value":"60"},{"Id":"rsc_sap_NWQ_ASCS00-meta_attributes-migration-threshold","Name":"migration-threshold","Value":"1"},{"Id":"rsc_sap_NWQ_ASCS00-meta_attributes-priority","Name":"priority","Value":"10"}],"Operations":[{"Id":"rsc_sap_NWQ_ASCS00-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWQ_ASCS00","InstanceAttributes":[{"Id":"rsc_socat_NWQ_ASCS00-instance_attributes-port","Name":"port","Value":"62000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWQ_ASCS00-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]},{"Id":"grp_NWQ_ERS10","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWQ_ERS10","InstanceAttributes":[{"Id":"rsc_ip_NWQ_ERS10-instance_attributes-ip","Name":"ip","Value":"10.90.1.26"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWQ_ERS10-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWQ_ERS10","InstanceAttributes":[{"Id":"rsc_fs_NWQ_ERS10-instance_attributes-device","Name":"device","Value":"10.90.1.33:/NWQ/ERS"},{"Id":"rsc_fs_NWQ_ERS10-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWQ/ERS10"},{"Id":"rsc_fs_NWQ_ERS10-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWQ_ERS10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWQ_ERS10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWQ_ERS10-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWQ_ERS10","InstanceAttributes":[{"Id":"rsc_sap_NWQ_ERS10-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWQ_ERS10_sapnwqer"},{"Id":"rsc_sap_NWQ_ERS10-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWQ/profile/NWQ_ERS10_sapnwqer"},{"Id":"rsc_sap_NWQ_ERS10-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"},{"Id":"rsc_sap_NWQ_ERS10-instance_attributes-IS_ERS","Name":"IS_ERS","Value":"true"}],"MetaAttributes":[{"Id":"rsc_sap_NWQ_ERS10-meta_attributes-priority","Name":"priority","Value":"1000"}],"Operations":[{"Id":"rsc_sap_NWQ_ERS10-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWQ_ERS10","InstanceAttributes":[{"Id":"rsc_socat_NWQ_ERS10-instance_attributes-port","Name":"port","Value":"62110"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWQ_ERS10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":null,"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":null,"Groups":[{"Id":"grp_NWQ_ASCS00","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWQ_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWQ_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWQ_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWQ_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]},{"Id":"grp_NWQ_ERS10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWQ_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWQ_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWQ_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWQ_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"runs_ers_NWQ","Value":"1"}],"Name":"vmnwqas02"}]},"NodeHistory":{"Nodes":[{"Name":"vmnwqas02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_sap_NWQ_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWQ_ERS10"},{"FailCount":1,"MigrationThreshold":3,"Name":"rsc_fs_NWQ_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWQ_ERS10"}]},{"Name":"vmnwqas01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWQ_ASCS00"},{"FailCount":1,"MigrationThreshold":3,"Name":"rsc_fs_NWQ_ASCS00"},{"FailCount":0,"MigrationThreshold":1,"Name":"rsc_sap_NWQ_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWQ_ASCS00"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmnwqas01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmnwqas02","Online":true,"Pending":false,"ResourcesRunning":4,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Mon Jan 17 12:41:40 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":true,"Id":"acf59e7a5338f76f55d5055af3273480","Name":"netweaver_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_813ace38-2d4f-48f6-8aa2-5360252ca492","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_813ace38-2d4f-48f6-8aa2-5360252ca492","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"3365e35e-ba75-4d29-9f5a-1a0379ee7a60"},"List":[{"Id":0,"Name":"vmnwqas01","Status":"clear"},{"Id":1,"Name":"vmnwqas02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"25677e37-fd33-5005-896c-9275b1284534"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0035_25677e37-fd33-5005-896c-9275b1284534_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0035_25677e37-fd33-5005-896c-9275b1284534_host_discovery.json new file mode 100644 index 0000000000..29ae450956 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0035_25677e37-fd33-5005-896c-9275b1284534_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwqas01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwqas01","ip_addresses":["127.0.0.1","::1","10.90.1.21","10.90.1.25","fe80::6245:bdff:fe8d:a30"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"25677e37-fd33-5005-896c-9275b1284534"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0036_25677e37-fd33-5005-896c-9275b1284534_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0036_25677e37-fd33-5005-896c-9275b1284534_saptune_discovery.json new file mode 100644 index 0000000000..04bd9c7d7c --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0036_25677e37-fd33-5005-896c-9275b1284534_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"25677e37-fd33-5005-896c-9275b1284534"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0037_25677e37-fd33-5005-896c-9275b1284534_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0037_25677e37-fd33-5005-896c-9275b1284534_subscription_discovery.json new file mode 100644 index 0000000000..9d2af65f68 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0037_25677e37-fd33-5005-896c-9275b1284534_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"25677e37-fd33-5005-896c-9275b1284534"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0038_3711ea88-9ccc-5b07-8f9d-042be449d72b_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0038_3711ea88-9ccc-5b07-8f9d-042be449d72b_ha_cluster_discovery.json new file mode 100644 index 0000000000..2a011a6084 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0038_3711ea88-9ccc-5b07-8f9d-042be449d72b_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":[{"Id":"loc_sap_NWQ_failover_to_ers","Node":"","Resource":"rsc_sap_NWQ_ASCS00","Role":"","Score":""}]},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"netweaver_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmnwqas01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmnwqas02"}],"Resources":{"Clones":null,"Groups":[{"Id":"grp_NWQ_ASCS00","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWQ_ASCS00","InstanceAttributes":[{"Id":"rsc_ip_NWQ_ASCS00-instance_attributes-ip","Name":"ip","Value":"10.90.1.25"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWQ_ASCS00-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWQ_ASCS00","InstanceAttributes":[{"Id":"rsc_fs_NWQ_ASCS00-instance_attributes-device","Name":"device","Value":"10.90.1.33:/NWQ/ASCS"},{"Id":"rsc_fs_NWQ_ASCS00-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWQ/ASCS00"},{"Id":"rsc_fs_NWQ_ASCS00-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWQ_ASCS00-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWQ_ASCS00-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWQ_ASCS00-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWQ_ASCS00","InstanceAttributes":[{"Id":"rsc_sap_NWQ_ASCS00-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWQ_ASCS00_sapnwqas"},{"Id":"rsc_sap_NWQ_ASCS00-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWQ/profile/NWQ_ASCS00_sapnwqas"},{"Id":"rsc_sap_NWQ_ASCS00-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"}],"MetaAttributes":[{"Id":"rsc_sap_NWQ_ASCS00-meta_attributes-resource-stickiness","Name":"resource-stickiness","Value":"5000"},{"Id":"rsc_sap_NWQ_ASCS00-meta_attributes-failure-timeout","Name":"failure-timeout","Value":"60"},{"Id":"rsc_sap_NWQ_ASCS00-meta_attributes-migration-threshold","Name":"migration-threshold","Value":"1"},{"Id":"rsc_sap_NWQ_ASCS00-meta_attributes-priority","Name":"priority","Value":"10"}],"Operations":[{"Id":"rsc_sap_NWQ_ASCS00-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWQ_ASCS00","InstanceAttributes":[{"Id":"rsc_socat_NWQ_ASCS00-instance_attributes-port","Name":"port","Value":"62000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWQ_ASCS00-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]},{"Id":"grp_NWQ_ERS10","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWQ_ERS10","InstanceAttributes":[{"Id":"rsc_ip_NWQ_ERS10-instance_attributes-ip","Name":"ip","Value":"10.90.1.26"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWQ_ERS10-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWQ_ERS10","InstanceAttributes":[{"Id":"rsc_fs_NWQ_ERS10-instance_attributes-device","Name":"device","Value":"10.90.1.33:/NWQ/ERS"},{"Id":"rsc_fs_NWQ_ERS10-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWQ/ERS10"},{"Id":"rsc_fs_NWQ_ERS10-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWQ_ERS10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWQ_ERS10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWQ_ERS10-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWQ_ERS10","InstanceAttributes":[{"Id":"rsc_sap_NWQ_ERS10-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWQ_ERS10_sapnwqer"},{"Id":"rsc_sap_NWQ_ERS10-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWQ/profile/NWQ_ERS10_sapnwqer"},{"Id":"rsc_sap_NWQ_ERS10-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"},{"Id":"rsc_sap_NWQ_ERS10-instance_attributes-IS_ERS","Name":"IS_ERS","Value":"true"}],"MetaAttributes":[{"Id":"rsc_sap_NWQ_ERS10-meta_attributes-priority","Name":"priority","Value":"1000"}],"Operations":[{"Id":"rsc_sap_NWQ_ERS10-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWQ_ERS10","InstanceAttributes":[{"Id":"rsc_socat_NWQ_ERS10-instance_attributes-port","Name":"port","Value":"62110"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWQ_ERS10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":null,"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":null,"Groups":[{"Id":"grp_NWQ_ASCS00","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWQ_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWQ_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWQ_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWQ_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]},{"Id":"grp_NWQ_ERS10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWQ_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWQ_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWQ_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWQ_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"runs_ers_NWQ","Value":"1"}],"Name":"vmnwqas02"}]},"NodeHistory":{"Nodes":[{"Name":"vmnwqas02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_sap_NWQ_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWQ_ERS10"},{"FailCount":1,"MigrationThreshold":3,"Name":"rsc_fs_NWQ_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWQ_ERS10"}]},{"Name":"vmnwqas01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWQ_ASCS00"},{"FailCount":1,"MigrationThreshold":3,"Name":"rsc_fs_NWQ_ASCS00"},{"FailCount":0,"MigrationThreshold":1,"Name":"rsc_sap_NWQ_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWQ_ASCS00"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmnwqas01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmnwqas02","Online":true,"Pending":false,"ResourcesRunning":4,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Mon Jan 17 12:41:40 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":false,"Id":"acf59e7a5338f76f55d5055af3273480","Name":"netweaver_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_813ace38-2d4f-48f6-8aa2-5360252ca492","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_813ace38-2d4f-48f6-8aa2-5360252ca492","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"3365e35e-ba75-4d29-9f5a-1a0379ee7a60"},"List":[{"Id":0,"Name":"vmnwqas01","Status":"clear"},{"Id":1,"Name":"vmnwqas02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"3711ea88-9ccc-5b07-8f9d-042be449d72b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0039_3711ea88-9ccc-5b07-8f9d-042be449d72b_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0039_3711ea88-9ccc-5b07-8f9d-042be449d72b_host_discovery.json new file mode 100644 index 0000000000..a8bb3b5212 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0039_3711ea88-9ccc-5b07-8f9d-042be449d72b_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwqas02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwqas02","ip_addresses":["127.0.0.1","::1","10.90.1.22","10.90.1.26","fe80::6245:bdff:fe8d:6ef"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"3711ea88-9ccc-5b07-8f9d-042be449d72b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0040_3711ea88-9ccc-5b07-8f9d-042be449d72b_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0040_3711ea88-9ccc-5b07-8f9d-042be449d72b_saptune_discovery.json new file mode 100644 index 0000000000..5f673b46d8 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0040_3711ea88-9ccc-5b07-8f9d-042be449d72b_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"3711ea88-9ccc-5b07-8f9d-042be449d72b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0041_3711ea88-9ccc-5b07-8f9d-042be449d72b_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0041_3711ea88-9ccc-5b07-8f9d-042be449d72b_subscription_discovery.json new file mode 100644 index 0000000000..55703da77e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0041_3711ea88-9ccc-5b07-8f9d-042be449d72b_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"3711ea88-9ccc-5b07-8f9d-042be449d72b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0042_422686d6-b2d1-5092-93e8-a744854f5085_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0042_422686d6-b2d1-5092-93e8-a744854f5085_ha_cluster_discovery.json new file mode 100644 index 0000000000..494b33b9c2 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0042_422686d6-b2d1-5092-93e8-a744854f5085_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"drbd_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmdrbdqas01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmdrbdqas02"}],"Resources":{"Clones":[{"Id":"cl-nfsserver","MetaAttributes":[{"Id":"cl-nfsserver-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"systemd","Id":"nfsserver","InstanceAttributes":null,"MetaAttributes":null,"Operations":[{"Id":"nfsserver-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"","Type":"nfs-server"}}],"Groups":[{"Id":"g-nfs_sapdata","Primitives":[{"Class":"ocf","Id":"fs_sapdata","InstanceAttributes":[{"Id":"fs_sapdata-instance_attributes-device","Name":"device","Value":"/dev/drbd1"},{"Id":"fs_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWQ"},{"Id":"fs_sapdata-instance_attributes-fstype","Name":"fstype","Value":"xfs"},{"Id":"fs_sapdata-instance_attributes-options","Name":"options","Value":"noatime,nodiratime"}],"MetaAttributes":null,"Operations":[{"Id":"fs_sapdata-monitor-20","Interval":"20","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"vip_sapdata_nfs","InstanceAttributes":[{"Id":"vip_sapdata_nfs-instance_attributes-ip","Name":"ip","Value":"10.90.1.33"},{"Id":"vip_sapdata_nfs-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"32"},{"Id":"vip_sapdata_nfs-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"vip_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"exportfs_work_sapdata","InstanceAttributes":[{"Id":"exportfs_work_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWQ"},{"Id":"exportfs_work_sapdata-instance_attributes-fsid","Name":"fsid","Value":"1"},{"Id":"exportfs_work_sapdata-instance_attributes-options","Name":"options","Value":"rw,no_root_squash"},{"Id":"exportfs_work_sapdata-instance_attributes-clientspec","Name":"clientspec","Value":"*"},{"Id":"exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop","Name":"wait_for_leasetime_on_stop","Value":"true"}],"MetaAttributes":null,"Operations":[{"Id":"exportfs_work_sapdata-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"heartbeat","Type":"exportfs"},{"Class":"ocf","Id":"rsc_socat_sapdata_nfs","InstanceAttributes":[{"Id":"rsc_socat_sapdata_nfs-instance_attributes-port","Name":"port","Value":"61000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"ms_sapdata","MetaAttributes":[{"Id":"ms_sapdata-meta_attributes-master-max","Name":"master-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-master-node-max","Name":"master-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-0-clone-max","Name":"clone-max","Value":"2"},{"Id":"ms_sapdata-meta_attributes-0-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-1-notify","Name":"notify","Value":"true"},{"Id":"ms_sapdata-meta_attributes-1-target-role","Name":"target-role","Value":"Started"}],"Primitive":{"Class":"ocf","Id":"drbd-sapdata","InstanceAttributes":[{"Id":"drbd-sapdata-instance_attributes-drbd_resource","Name":"drbd_resource","Value":"sapdata"}],"MetaAttributes":null,"Operations":[{"Id":"drbd-sapdata-monitor-15","Interval":"15","Name":"monitor","Role":"Master","Timeout":""},{"Id":"drbd-sapdata-monitor-30","Interval":"30","Name":"monitor","Role":"Slave","Timeout":""}],"Provider":"linbit","Type":"drbd"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"ms_sapdata","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbdqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cl-nfsserver","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbdqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g-nfs_sapdata","Resources":[{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"fs_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"vip_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:exportfs","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"exportfs_work_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbdqas01"},{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbdqas02"}]},"NodeHistory":{"Nodes":[{"Name":"vmdrbdqas01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"fs_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"vip_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"exportfs_work_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]},{"Name":"vmdrbdqas02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]}]},"Nodes":[{"DC":false,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmdrbdqas01","Online":true,"Pending":false,"ResourcesRunning":7,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":true,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmdrbdqas02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 12:20:56 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":true,"Id":"a034a158905404befe08775682910ee1","Name":"drbd_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:c1c003f5-4e45-4d6f-8d81-e338f666365c","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:c1c003f5-4e45-4d6f-8d81-e338f666365c","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"f5991966-5a7f-45d6-90d1-bfcedb265df6"},"List":[{"Id":0,"Name":"vmdrbdqas01","Status":"clear"},{"Id":1,"Name":"vmdrbdqas02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"422686d6-b2d1-5092-93e8-a744854f5085"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0043_422686d6-b2d1-5092-93e8-a744854f5085_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0043_422686d6-b2d1-5092-93e8-a744854f5085_host_discovery.json new file mode 100644 index 0000000000..a986a86d7e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0043_422686d6-b2d1-5092-93e8-a744854f5085_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmdrbdqas02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmdrbdqas02","ip_addresses":["127.0.0.1","::1","10.90.1.32","fe80::6245:bdff:fe8d:523"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"422686d6-b2d1-5092-93e8-a744854f5085"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0044_422686d6-b2d1-5092-93e8-a744854f5085_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0044_422686d6-b2d1-5092-93e8-a744854f5085_sap_system_discovery.json new file mode 100644 index 0000000000..7fbdf97009 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0044_422686d6-b2d1-5092-93e8-a744854f5085_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"422686d6-b2d1-5092-93e8-a744854f5085"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0045_422686d6-b2d1-5092-93e8-a744854f5085_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0045_422686d6-b2d1-5092-93e8-a744854f5085_saptune_discovery.json new file mode 100644 index 0000000000..901027d10e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0045_422686d6-b2d1-5092-93e8-a744854f5085_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"422686d6-b2d1-5092-93e8-a744854f5085"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0046_422686d6-b2d1-5092-93e8-a744854f5085_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0046_422686d6-b2d1-5092-93e8-a744854f5085_subscription_discovery.json new file mode 100644 index 0000000000..9e33d1ef78 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0046_422686d6-b2d1-5092-93e8-a744854f5085_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"422686d6-b2d1-5092-93e8-a744854f5085"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0047_4b30a6af-4b52-5bda-bccb-f2248a12c992_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0047_4b30a6af-4b52-5bda-bccb-f2248a12c992_ha_cluster_discovery.json new file mode 100644 index 0000000000..914a6a6917 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0047_4b30a6af-4b52-5bda-bccb-f2248a12c992_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":[{"Id":"loc_sap_NWP_failover_to_ers","Node":"","Resource":"rsc_sap_NWP_ASCS00","Role":"","Score":""}]},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"netweaver_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmnwprd01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmnwprd02"}],"Resources":{"Clones":null,"Groups":[{"Id":"grp_NWP_ASCS00","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWP_ASCS00","InstanceAttributes":[{"Id":"rsc_ip_NWP_ASCS00-instance_attributes-ip","Name":"ip","Value":"10.80.1.25"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWP_ASCS00-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWP_ASCS00","InstanceAttributes":[{"Id":"rsc_fs_NWP_ASCS00-instance_attributes-device","Name":"device","Value":"10.80.1.33:/NWP/ASCS"},{"Id":"rsc_fs_NWP_ASCS00-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWP/ASCS00"},{"Id":"rsc_fs_NWP_ASCS00-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWP_ASCS00-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWP_ASCS00-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWP_ASCS00-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWP_ASCS00","InstanceAttributes":[{"Id":"rsc_sap_NWP_ASCS00-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWP_ASCS00_sapnwpas"},{"Id":"rsc_sap_NWP_ASCS00-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWP/profile/NWP_ASCS00_sapnwpas"},{"Id":"rsc_sap_NWP_ASCS00-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"}],"MetaAttributes":[{"Id":"rsc_sap_NWP_ASCS00-meta_attributes-resource-stickiness","Name":"resource-stickiness","Value":"5000"},{"Id":"rsc_sap_NWP_ASCS00-meta_attributes-failure-timeout","Name":"failure-timeout","Value":"60"},{"Id":"rsc_sap_NWP_ASCS00-meta_attributes-migration-threshold","Name":"migration-threshold","Value":"1"},{"Id":"rsc_sap_NWP_ASCS00-meta_attributes-priority","Name":"priority","Value":"10"}],"Operations":[{"Id":"rsc_sap_NWP_ASCS00-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWP_ASCS00","InstanceAttributes":[{"Id":"rsc_socat_NWP_ASCS00-instance_attributes-port","Name":"port","Value":"62000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWP_ASCS00-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]},{"Id":"grp_NWP_ERS10","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWP_ERS10","InstanceAttributes":[{"Id":"rsc_ip_NWP_ERS10-instance_attributes-ip","Name":"ip","Value":"10.80.1.26"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWP_ERS10-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWP_ERS10","InstanceAttributes":[{"Id":"rsc_fs_NWP_ERS10-instance_attributes-device","Name":"device","Value":"10.80.1.33:/NWP/ERS"},{"Id":"rsc_fs_NWP_ERS10-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWP/ERS10"},{"Id":"rsc_fs_NWP_ERS10-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWP_ERS10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWP_ERS10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWP_ERS10-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWP_ERS10","InstanceAttributes":[{"Id":"rsc_sap_NWP_ERS10-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWP_ERS10_sapnwper"},{"Id":"rsc_sap_NWP_ERS10-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWP/profile/NWP_ERS10_sapnwper"},{"Id":"rsc_sap_NWP_ERS10-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"},{"Id":"rsc_sap_NWP_ERS10-instance_attributes-IS_ERS","Name":"IS_ERS","Value":"true"}],"MetaAttributes":[{"Id":"rsc_sap_NWP_ERS10-meta_attributes-priority","Name":"priority","Value":"1000"}],"Operations":[{"Id":"rsc_sap_NWP_ERS10-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWP_ERS10","InstanceAttributes":[{"Id":"rsc_socat_NWP_ERS10-instance_attributes-port","Name":"port","Value":"62110"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWP_ERS10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":null,"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":null,"Groups":[{"Id":"grp_NWP_ASCS00","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWP_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWP_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWP_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWP_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]},{"Id":"grp_NWP_ERS10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWP_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWP_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWP_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWP_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"runs_ers_NWP","Value":"1"}],"Name":"vmnwprd02"}]},"NodeHistory":{"Nodes":[{"Name":"vmnwprd01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWP_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWP_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_fs_NWP_ASCS00"},{"FailCount":0,"MigrationThreshold":1,"Name":"rsc_sap_NWP_ASCS00"}]},{"Name":"vmnwprd02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWP_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_fs_NWP_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_sap_NWP_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWP_ERS10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmnwprd01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmnwprd02","Online":true,"Pending":false,"ResourcesRunning":4,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 13:43:06 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":false,"Id":"8bca366a6cb7816555538092a1ddd5aa","Name":"netweaver_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_e34218cd-0d9a-4b21-b6d5-a313980baa82","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_e34218cd-0d9a-4b21-b6d5-a313980baa82","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"e0c97fe2-f63a-4fd1-83df-9a736a03b49b"},"List":[{"Id":0,"Name":"vmnwprd01","Status":"clear"},{"Id":1,"Name":"vmnwprd02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"4b30a6af-4b52-5bda-bccb-f2248a12c992"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0048_4b30a6af-4b52-5bda-bccb-f2248a12c992_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0048_4b30a6af-4b52-5bda-bccb-f2248a12c992_host_discovery.json new file mode 100644 index 0000000000..a65deead57 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0048_4b30a6af-4b52-5bda-bccb-f2248a12c992_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwprd02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwprd02","ip_addresses":["127.0.0.1","::1","10.80.1.22","10.80.1.26","fe80::20d:3aff:fe2e:8038"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"4b30a6af-4b52-5bda-bccb-f2248a12c992"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0049_4b30a6af-4b52-5bda-bccb-f2248a12c992_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0049_4b30a6af-4b52-5bda-bccb-f2248a12c992_saptune_discovery.json new file mode 100644 index 0000000000..78ec750261 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0049_4b30a6af-4b52-5bda-bccb-f2248a12c992_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.1.0","saptune_installed":true,"status":{"$schema":"file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json","argv":"saptune --format json status","command":"status","exit code":4,"messages":[{"message":"actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n","priority":"NOTICE"},{"message":"sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n","priority":"WARNING"},{"message":"sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n","priority":"WARNING"},{"message":"ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n","priority":"NOTICE"}],"pid":24623,"publish time":"2023-04-24 12:41:56.612","result":{"Notes applied":["941735","1771258","2578899","2993054","1656250","900929"],"Notes applied by Solution":[{"Note list":["941735","1771258","2578899","2993054","1656250","900929"],"Solution ID":"NETWEAVER"}],"Notes enabled":["941735","1771258","2578899","2993054","1656250","900929"],"Notes enabled additionally":[],"Notes enabled by Solution":[{"Note list":["941735","1771258","2578899","2993054","1656250","900929"],"Solution ID":"NETWEAVER"}],"Solution applied":[{"Solution ID":"NETWEAVER","applied partially":false}],"Solution enabled":["NETWEAVER"],"configured version":"3","package version":"3.1.0","remember message":"\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n","services":{"sapconf":[],"saptune":["enabled","active"],"tuned":[]},"staging":{"Notes staged":[],"Solutions staged":[],"staging enabled":false},"systemd system state":"running","tuning state":"not compliant","virtualization":"oracle"}}},"discovery_type":"saptune_discovery","agent_id":"4b30a6af-4b52-5bda-bccb-f2248a12c992"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0050_4b30a6af-4b52-5bda-bccb-f2248a12c992_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0050_4b30a6af-4b52-5bda-bccb-f2248a12c992_subscription_discovery.json new file mode 100644 index 0000000000..d65f5e34dc --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0050_4b30a6af-4b52-5bda-bccb-f2248a12c992_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"4b30a6af-4b52-5bda-bccb-f2248a12c992"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0051_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0051_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_host_discovery.json new file mode 100644 index 0000000000..fa2e06c13e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0051_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":1,"fully_qualified_domain_name":"vmiscsi01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmiscsi01","ip_addresses":["127.0.0.1","::1","10.100.1.4","fe80::20d:3aff:fe2a:aabe"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":3421},"discovery_type":"host_discovery","agent_id":"69f4dcbb-efa2-5a16-8bc8-01df7dbb7384"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0052_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0052_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_sap_system_discovery.json new file mode 100644 index 0000000000..862ea81ecc --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0052_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"69f4dcbb-efa2-5a16-8bc8-01df7dbb7384"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0053_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0053_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_saptune_discovery.json new file mode 100644 index 0000000000..cf43313c3e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0053_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"69f4dcbb-efa2-5a16-8bc8-01df7dbb7384"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0054_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0054_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_subscription_discovery.json new file mode 100644 index 0000000000..50bbbad066 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0054_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"69f4dcbb-efa2-5a16-8bc8-01df7dbb7384"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0055_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0055_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_ha_cluster_discovery.json new file mode 100644 index 0000000000..90bdd22ca7 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0055_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":[{"Id":"loc_sap_NWD_failover_to_ers","Node":"","Resource":"rsc_sap_NWD_ASCS00","Role":"","Score":""}]},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"netweaver_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmnwdev01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmnwdev02"}],"Resources":{"Clones":null,"Groups":[{"Id":"grp_NWD_ASCS00","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWD_ASCS00","InstanceAttributes":[{"Id":"rsc_ip_NWD_ASCS00-instance_attributes-ip","Name":"ip","Value":"10.100.1.25"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWD_ASCS00-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWD_ASCS00","InstanceAttributes":[{"Id":"rsc_fs_NWD_ASCS00-instance_attributes-device","Name":"device","Value":"10.100.1.33:/NWD/ASCS"},{"Id":"rsc_fs_NWD_ASCS00-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWD/ASCS00"},{"Id":"rsc_fs_NWD_ASCS00-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWD_ASCS00-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWD_ASCS00-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWD_ASCS00-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWD_ASCS00","InstanceAttributes":[{"Id":"rsc_sap_NWD_ASCS00-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWD_ASCS00_sapnwdas"},{"Id":"rsc_sap_NWD_ASCS00-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWD/profile/NWD_ASCS00_sapnwdas"},{"Id":"rsc_sap_NWD_ASCS00-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"}],"MetaAttributes":[{"Id":"rsc_sap_NWD_ASCS00-meta_attributes-resource-stickiness","Name":"resource-stickiness","Value":"5000"},{"Id":"rsc_sap_NWD_ASCS00-meta_attributes-failure-timeout","Name":"failure-timeout","Value":"60"},{"Id":"rsc_sap_NWD_ASCS00-meta_attributes-migration-threshold","Name":"migration-threshold","Value":"1"},{"Id":"rsc_sap_NWD_ASCS00-meta_attributes-priority","Name":"priority","Value":"10"}],"Operations":[{"Id":"rsc_sap_NWD_ASCS00-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWD_ASCS00","InstanceAttributes":[{"Id":"rsc_socat_NWD_ASCS00-instance_attributes-port","Name":"port","Value":"62000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWD_ASCS00-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]},{"Id":"grp_NWD_ERS10","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWD_ERS10","InstanceAttributes":[{"Id":"rsc_ip_NWD_ERS10-instance_attributes-ip","Name":"ip","Value":"10.100.1.26"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWD_ERS10-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWD_ERS10","InstanceAttributes":[{"Id":"rsc_fs_NWD_ERS10-instance_attributes-device","Name":"device","Value":"10.100.1.33:/NWD/ERS"},{"Id":"rsc_fs_NWD_ERS10-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWD/ERS10"},{"Id":"rsc_fs_NWD_ERS10-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWD_ERS10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWD_ERS10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWD_ERS10-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWD_ERS10","InstanceAttributes":[{"Id":"rsc_sap_NWD_ERS10-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWD_ERS10_sapnwder"},{"Id":"rsc_sap_NWD_ERS10-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWD/profile/NWD_ERS10_sapnwder"},{"Id":"rsc_sap_NWD_ERS10-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"},{"Id":"rsc_sap_NWD_ERS10-instance_attributes-IS_ERS","Name":"IS_ERS","Value":"true"}],"MetaAttributes":[{"Id":"rsc_sap_NWD_ERS10-meta_attributes-priority","Name":"priority","Value":"1000"}],"Operations":[{"Id":"rsc_sap_NWD_ERS10-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWD_ERS10","InstanceAttributes":[{"Id":"rsc_socat_NWD_ERS10-instance_attributes-port","Name":"port","Value":"62110"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWD_ERS10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":null,"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":null,"Groups":[{"Id":"grp_NWD_ASCS00","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWD_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWD_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWD_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWD_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]},{"Id":"grp_NWD_ERS10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWD_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWD_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWD_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWD_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"runs_ers_NWD","Value":"1"}],"Name":"vmnwdev02"}]},"NodeHistory":{"Nodes":[{"Name":"vmnwdev01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":1,"Name":"rsc_sap_NWD_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWD_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWD_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_fs_NWD_ASCS00"}]},{"Name":"vmnwdev02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWD_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_fs_NWD_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_sap_NWD_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWD_ERS10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmnwdev01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmnwdev02","Online":true,"Pending":false,"ResourcesRunning":4,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 12:55:06 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":true,"Id":"057f083c3be591f4398eed816d4c8cd7","Name":"netweaver_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-36001405f01eb5f4c5c941e499beb055d","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-36001405f01eb5f4c5c941e499beb055d","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"4e8adda1-da35-4ee4-92b9-a134494861f0"},"List":[{"Id":0,"Name":"vmnwdev01","Status":"clear"},{"Id":1,"Name":"vmnwdev02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"7269ee51-5007-5849-aaa7-7c4a98b0c9ce"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0056_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0056_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_host_discovery.json new file mode 100644 index 0000000000..4817a02930 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0056_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwdev01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwdev01","ip_addresses":["127.0.0.1","::1","10.100.1.21","10.100.1.25","fe80::6245:bdff:fe8a:5ce7"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"7269ee51-5007-5849-aaa7-7c4a98b0c9ce"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0057_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0057_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_sap_system_discovery.json new file mode 100644 index 0000000000..dc48709e23 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0057_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.100.1.13","Databases":null,"Id":"a1e80e3e152a903662f7882fb3f8a851","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwdev01","HostConfiguration":null,"Name":"ASCS00","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwdas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwder","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwdpas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwdaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"EnqueueServer","dispstatus":"SAPControl-GREEN","elapsedtime":"151:56:46","name":"enserver","pid":7379,"starttime":"2022 01 11 12:55:17","textstatus":"Running"},{"description":"MessageServer","dispstatus":"SAPControl-GREEN","elapsedtime":"151:56:46","name":"msg_server","pid":7378,"starttime":"2022 01 11 12:55:17","textstatus":"Running"}],"Properties":[{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"00"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Enque Locks","propertytype":"NodeWebmethod","value":"EnqGetLockTable"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwdas"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"ASCS00"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWD"},{"property":"StartPriority","propertytype":"Attribute","value":"1"},{"property":"CentralServices","propertytype":"Attribute","value":"YES"},{"property":"Enque Statistic","propertytype":"NodeWebmethod","value":"EnqGetStatistic"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwdas:50013/sapparamEN.html"},{"property":"SupportsUpdateSCSInstance","propertytype":"Attribute","value":"YES"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"10.100.1.13","SAPGLOBALHOST":"sapnwdas","SAPSYSTEMNAME":"NWD","dbms/name":"HDD","dbms/type":"hdb","dbs/hdb/dbname":"HDD","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwdas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwdas","rdisp/msserv":"sapmsNWD","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWD","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"7269ee51-5007-5849-aaa7-7c4a98b0c9ce"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0058_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0058_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_saptune_discovery.json new file mode 100644 index 0000000000..343afd02bb --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0058_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"7269ee51-5007-5849-aaa7-7c4a98b0c9ce"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0059_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0059_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_subscription_discovery.json new file mode 100644 index 0000000000..8dc89a3ef4 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0059_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"7269ee51-5007-5849-aaa7-7c4a98b0c9ce"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0060_81e9b629-c1e7-538f-bff1-47d3a6580522_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0060_81e9b629-c1e7-538f-bff1-47d3a6580522_host_discovery.json new file mode 100644 index 0000000000..2b25cd5a89 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0060_81e9b629-c1e7-538f-bff1-47d3a6580522_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwqas04.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwqas04","ip_addresses":["127.0.0.1","::1","10.90.1.28","10.90.1.24","fe80::6245:bdff:fe8d:dca"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"81e9b629-c1e7-538f-bff1-47d3a6580522"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0061_81e9b629-c1e7-538f-bff1-47d3a6580522_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0061_81e9b629-c1e7-538f-bff1-47d3a6580522_saptune_discovery.json new file mode 100644 index 0000000000..19c23d40e8 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0061_81e9b629-c1e7-538f-bff1-47d3a6580522_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"81e9b629-c1e7-538f-bff1-47d3a6580522"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0062_81e9b629-c1e7-538f-bff1-47d3a6580522_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0062_81e9b629-c1e7-538f-bff1-47d3a6580522_subscription_discovery.json new file mode 100644 index 0000000000..20cb17d6c2 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0062_81e9b629-c1e7-538f-bff1-47d3a6580522_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","identifier":"SLES_SAP","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-ha","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Not Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Not Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"81e9b629-c1e7-538f-bff1-47d3a6580522"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0063_927901fa-2c87-524e-b18c-3ef5187f504f_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0063_927901fa-2c87-524e-b18c-3ef5187f504f_ha_cluster_discovery.json new file mode 100644 index 0000000000..6b07e87c0e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0063_927901fa-2c87-524e-b18c-3ef5187f504f_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"drbd_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmdrbdprd01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmdrbdprd02"}],"Resources":{"Clones":[{"Id":"cl-nfsserver","MetaAttributes":[{"Id":"cl-nfsserver-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"systemd","Id":"nfsserver","InstanceAttributes":null,"MetaAttributes":null,"Operations":[{"Id":"nfsserver-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"","Type":"nfs-server"}}],"Groups":[{"Id":"g-nfs_sapdata","Primitives":[{"Class":"ocf","Id":"fs_sapdata","InstanceAttributes":[{"Id":"fs_sapdata-instance_attributes-device","Name":"device","Value":"/dev/drbd1"},{"Id":"fs_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWP"},{"Id":"fs_sapdata-instance_attributes-fstype","Name":"fstype","Value":"xfs"},{"Id":"fs_sapdata-instance_attributes-options","Name":"options","Value":"noatime,nodiratime"}],"MetaAttributes":null,"Operations":[{"Id":"fs_sapdata-monitor-20","Interval":"20","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"vip_sapdata_nfs","InstanceAttributes":[{"Id":"vip_sapdata_nfs-instance_attributes-ip","Name":"ip","Value":"10.80.1.33"},{"Id":"vip_sapdata_nfs-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"32"},{"Id":"vip_sapdata_nfs-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"vip_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"exportfs_work_sapdata","InstanceAttributes":[{"Id":"exportfs_work_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWP"},{"Id":"exportfs_work_sapdata-instance_attributes-fsid","Name":"fsid","Value":"1"},{"Id":"exportfs_work_sapdata-instance_attributes-options","Name":"options","Value":"rw,no_root_squash"},{"Id":"exportfs_work_sapdata-instance_attributes-clientspec","Name":"clientspec","Value":"*"},{"Id":"exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop","Name":"wait_for_leasetime_on_stop","Value":"true"}],"MetaAttributes":null,"Operations":[{"Id":"exportfs_work_sapdata-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"heartbeat","Type":"exportfs"},{"Class":"ocf","Id":"rsc_socat_sapdata_nfs","InstanceAttributes":[{"Id":"rsc_socat_sapdata_nfs-instance_attributes-port","Name":"port","Value":"61000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"ms_sapdata","MetaAttributes":[{"Id":"ms_sapdata-meta_attributes-master-max","Name":"master-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-master-node-max","Name":"master-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-0-clone-max","Name":"clone-max","Value":"2"},{"Id":"ms_sapdata-meta_attributes-0-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-1-notify","Name":"notify","Value":"true"},{"Id":"ms_sapdata-meta_attributes-1-target-role","Name":"target-role","Value":"Started"}],"Primitive":{"Class":"ocf","Id":"drbd-sapdata","InstanceAttributes":[{"Id":"drbd-sapdata-instance_attributes-drbd_resource","Name":"drbd_resource","Value":"sapdata"}],"MetaAttributes":null,"Operations":[{"Id":"drbd-sapdata-monitor-15","Interval":"15","Name":"monitor","Role":"Master","Timeout":""},{"Id":"drbd-sapdata-monitor-30","Interval":"30","Name":"monitor","Role":"Slave","Timeout":""}],"Provider":"linbit","Type":"drbd"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"ms_sapdata","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbdprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"},{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cl-nfsserver","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbdprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g-nfs_sapdata","Resources":[{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"fs_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"vip_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:exportfs","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"exportfs_work_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbdprd01"},{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbdprd02"}]},"NodeHistory":{"Nodes":[{"Name":"vmdrbdprd02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"},{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"}]},{"Name":"vmdrbdprd01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"fs_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"vip_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"exportfs_work_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]}]},"Nodes":[{"DC":false,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmdrbdprd01","Online":true,"Pending":false,"ResourcesRunning":7,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":true,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmdrbdprd02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 13:24:06 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":true,"Id":"238a4de1239aae2aa87433eed788b3ad","Name":"drbd_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_b7b1cd3d-776e-4432-a9e5-6fe56e4b4e17","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_b7b1cd3d-776e-4432-a9e5-6fe56e4b4e17","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"28fd9d5e-3685-4cb7-85e9-76c4b140ea3c"},"List":[{"Id":0,"Name":"vmdrbdprd01","Status":"clear"},{"Id":1,"Name":"vmdrbdprd02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"927901fa-2c87-524e-b18c-3ef5187f504f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0064_927901fa-2c87-524e-b18c-3ef5187f504f_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0064_927901fa-2c87-524e-b18c-3ef5187f504f_host_discovery.json new file mode 100644 index 0000000000..fa07625afb --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0064_927901fa-2c87-524e-b18c-3ef5187f504f_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmdrbdprd02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmdrbdprd02","ip_addresses":["127.0.0.1","::1","10.80.1.32","fe80::20d:3aff:fe2e:8b91"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"927901fa-2c87-524e-b18c-3ef5187f504f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0065_927901fa-2c87-524e-b18c-3ef5187f504f_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0065_927901fa-2c87-524e-b18c-3ef5187f504f_sap_system_discovery.json new file mode 100644 index 0000000000..949b5d5fec --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0065_927901fa-2c87-524e-b18c-3ef5187f504f_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"927901fa-2c87-524e-b18c-3ef5187f504f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0066_927901fa-2c87-524e-b18c-3ef5187f504f_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0066_927901fa-2c87-524e-b18c-3ef5187f504f_saptune_discovery.json new file mode 100644 index 0000000000..0a1fa91cc4 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0066_927901fa-2c87-524e-b18c-3ef5187f504f_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.1.0","saptune_installed":true,"status":{"$schema":"file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json","argv":"saptune --format json status","command":"status","exit code":4,"messages":[],"pid":24623,"publish time":"2023-04-24 12:41:56.612","result":{"Notes applied":[],"Notes applied by Solution":[],"Notes enabled":[],"Notes enabled additionally":[],"Notes enabled by Solution":[],"Solution applied":[],"Solution enabled":[],"configured version":"3","package version":"3.1.0","remember message":"\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n","services":{"sapconf":[],"saptune":["enabled","inactive"],"tuned":[]},"staging":{"Notes staged":[],"Solutions staged":[],"staging enabled":false},"systemd system state":"running","tuning state":"not tuned","virtualization":"oracle"}}},"discovery_type":"saptune_discovery","agent_id":"927901fa-2c87-524e-b18c-3ef5187f504f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0067_927901fa-2c87-524e-b18c-3ef5187f504f_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0067_927901fa-2c87-524e-b18c-3ef5187f504f_subscription_discovery.json new file mode 100644 index 0000000000..f731b11adf --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0067_927901fa-2c87-524e-b18c-3ef5187f504f_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"927901fa-2c87-524e-b18c-3ef5187f504f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0068_99cf8a3a-48d6-57a4-b302-6e4482227ab6_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0068_99cf8a3a-48d6-57a4-b302-6e4482227ab6_ha_cluster_discovery.json new file mode 100644 index 0000000000..5614295f63 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0068_99cf8a3a-48d6-57a4-b302-6e4482227ab6_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"hana_cluster_2"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"},{"Id":"SAPHanaSR-hana_hdq_site_srHook_WDF","Name":"hana_hdq_site_srHook_WDF","Value":"SOK"}]},"Nodes":[{"Id":"1","InstanceAttributes":[{"Id":"nodes-1-lpa_hdq_lpt","Name":"lpa_hdq_lpt","Value":"1643125033"},{"Id":"nodes-1-hana_hdq_vhost","Name":"hana_hdq_vhost","Value":"vmhdbqas01"},{"Id":"nodes-1-hana_hdq_site","Name":"hana_hdq_site","Value":"NBG"},{"Id":"nodes-1-hana_hdq_op_mode","Name":"hana_hdq_op_mode","Value":"logreplay"},{"Id":"nodes-1-hana_hdq_srmode","Name":"hana_hdq_srmode","Value":"sync"},{"Id":"nodes-1-hana_hdq_remoteHost","Name":"hana_hdq_remoteHost","Value":"vmhdbqas02"}],"Uname":"vmhdbqas01"},{"Id":"2","InstanceAttributes":[{"Id":"nodes-2-lpa_hdq_lpt","Name":"lpa_hdq_lpt","Value":"30"},{"Id":"nodes-2-hana_hdq_op_mode","Name":"hana_hdq_op_mode","Value":"logreplay"},{"Id":"nodes-2-hana_hdq_vhost","Name":"hana_hdq_vhost","Value":"vmhdbqas02"},{"Id":"nodes-2-hana_hdq_remoteHost","Name":"hana_hdq_remoteHost","Value":"vmhdbqas01"},{"Id":"nodes-2-hana_hdq_site","Name":"hana_hdq_site","Value":"WDF"},{"Id":"nodes-2-hana_hdq_srmode","Name":"hana_hdq_srmode","Value":"sync"}],"Uname":"vmhdbqas02"}],"Resources":{"Clones":[{"Id":"cln_SAPHanaTopology_HDQ_HDB10","MetaAttributes":[{"Id":"cln_SAPHanaTopology_HDQ_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"cln_SAPHanaTopology_HDQ_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHanaTopology_HDQ_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-instance_attributes-SID","Name":"SID","Value":"HDQ"},{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"300"}],"Provider":"suse","Type":"SAPHanaTopology"}}],"Groups":[{"Id":"g_ip_HDQ_HDB10","Primitives":[{"Class":"ocf","Id":"rsc_ip_HDQ_HDB10","InstanceAttributes":[{"Id":"rsc_ip_HDQ_HDB10-instance_attributes-ip","Name":"ip","Value":"10.90.1.13"},{"Id":"rsc_ip_HDQ_HDB10-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"24"},{"Id":"rsc_ip_HDQ_HDB10-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_HDQ_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDQ_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDQ_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_socat_HDQ_HDB10","InstanceAttributes":[{"Id":"rsc_socat_HDQ_HDB10-instance_attributes-port","Name":"port","Value":"62510"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_HDQ_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"msl_SAPHana_HDQ_HDB10","MetaAttributes":[{"Id":"msl_SAPHana_HDQ_HDB10-meta_attributes-clone-max","Name":"clone-max","Value":"2"},{"Id":"msl_SAPHana_HDQ_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"msl_SAPHana_HDQ_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHana_HDQ_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-SID","Name":"SID","Value":"HDQ"},{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"},{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-PREFER_SITE_TAKEOVER","Name":"PREFER_SITE_TAKEOVER","Value":"True"},{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-AUTOMATED_REGISTER","Name":"AUTOMATED_REGISTER","Value":"False"},{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT","Name":"DUPLICATE_PRIMARY_TIMEOUT","Value":"7200"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHana_HDQ_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDQ_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDQ_HDB10-promote-0","Interval":"0","Name":"promote","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDQ_HDB10-monitor-60","Interval":"60","Name":"monitor","Role":"Master","Timeout":"700"},{"Id":"rsc_SAPHana_HDQ_HDB10-monitor-61","Interval":"61","Name":"monitor","Role":"Slave","Timeout":"700"}],"Provider":"suse","Type":"SAPHana"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"15"}],"MetaAttributes":null,"Operations":[{"Id":"stonith-sbd-monitor-15","Interval":"15","Name":"monitor","Role":"","Timeout":"15"}],"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"msl_SAPHana_HDQ_HDB10","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cln_SAPHanaTopology_HDQ_HDB10","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g_ip_HDQ_HDB10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"hana_hdq_clone_state","Value":"PROMOTED"},{"Name":"hana_hdq_op_mode","Value":"logreplay"},{"Name":"hana_hdq_remoteHost","Value":"vmhdbqas02"},{"Name":"hana_hdq_roles","Value":"4:P:master1:master:worker:master"},{"Name":"hana_hdq_site","Value":"NBG"},{"Name":"hana_hdq_srmode","Value":"sync"},{"Name":"hana_hdq_sync_state","Value":"PRIM"},{"Name":"hana_hdq_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdq_vhost","Value":"vmhdbqas01"},{"Name":"lpa_hdq_lpt","Value":"1643125033"},{"Name":"master-rsc_SAPHana_HDQ_HDB10","Value":"150"}],"Name":"vmhdbqas01"},{"Attributes":[{"Name":"hana_hdq_clone_state","Value":"DEMOTED"},{"Name":"hana_hdq_op_mode","Value":"logreplay"},{"Name":"hana_hdq_remoteHost","Value":"vmhdbqas01"},{"Name":"hana_hdq_roles","Value":"4:S:master1:master:worker:master"},{"Name":"hana_hdq_site","Value":"WDF"},{"Name":"hana_hdq_srmode","Value":"sync"},{"Name":"hana_hdq_sync_state","Value":"SOK"},{"Name":"hana_hdq_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdq_vhost","Value":"vmhdbqas02"},{"Name":"lpa_hdq_lpt","Value":"30"},{"Name":"master-rsc_SAPHana_HDQ_HDB10","Value":"100"}],"Name":"vmhdbqas02"}]},"NodeHistory":{"Nodes":[{"Name":"vmhdbqas01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_ip_HDQ_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_HDQ_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDQ_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDQ_HDB10"}]},{"Name":"vmhdbqas02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDQ_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDQ_HDB10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmhdbqas01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmhdbqas02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 25 15:37:13 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":7}},"Version":"2.0.5"},"DC":true,"Id":"4e905d706da85f5be14f85fa947c1e39","Name":"hana_cluster_2","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-360014058d88c7795c6a4b66bc024f4bd","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-360014058d88c7795c6a4b66bc024f4bd","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"246da75b-af59-4135-b980-90bf87815e2e"},"List":[{"Id":0,"Name":"vmhdbqas01","Status":"clear"},{"Id":1,"Name":"vmhdbqas02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"99cf8a3a-48d6-57a4-b302-6e4482227ab6"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0069_99cf8a3a-48d6-57a4-b302-6e4482227ab6_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0069_99cf8a3a-48d6-57a4-b302-6e4482227ab6_host_discovery.json new file mode 100644 index 0000000000..427eaeec17 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0069_99cf8a3a-48d6-57a4-b302-6e4482227ab6_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":4,"fully_qualified_domain_name":"vmhdbqas01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmhdbqas01","ip_addresses":["127.0.0.1","::1","10.90.1.11","10.90.1.13","fe80::6245:bdff:fe8d:1d5"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":32107},"discovery_type":"host_discovery","agent_id":"99cf8a3a-48d6-57a4-b302-6e4482227ab6"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0070_99cf8a3a-48d6-57a4-b302-6e4482227ab6_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0070_99cf8a3a-48d6-57a4-b302-6e4482227ab6_sap_system_discovery.json new file mode 100644 index 0000000000..8c3e769079 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0070_99cf8a3a-48d6-57a4-b302-6e4482227ab6_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"Databases":[{"Active":"yes","Container":"","Database":"HDQ","Group":"","GroupId":"","Host":"vmhdbqas01","SqlPort":"31015","User":"","UserId":""}],"Id":"9953878f07bb54cac20d5d5d7ff08af2","Instances":[{"HdbnsutilSRstate":{"hasConsumers":"true","isConsumer":"false","isPrimarySuspended":"false","isSource":"true","isTakeoverActive":"false","mapping/vmhdbqas01":["WDF/vmhdbqas02","NBG/vmhdbqas01"],"mode":"primary","online":"true","operation_mode":"primary","siteMapping/NBG":"WDF","siteOperationMode/NBG":"primary","siteOperationMode/WDF":"logreplay","siteReplicationMode/NBG":"primary","siteReplicationMode/WDF":"sync","siteTier/NBG":"1","siteTier/WDF":"2","site_id":"1","site_name":"NBG"},"Host":"vmhdbqas01","HostConfiguration":{"failoverActualGroup":"default","failoverConfigGroup":"default","failoverStatus":"","host":"vmhdbqas01","hostActive":"yes","hostActualRoles":"worker","hostConfigRoles":"worker","hostStatus":"ok","indexServerActualRole":"master","indexServerConfigRole":"worker","nameServerActualRole":"master","nameServerConfigRole":"master 1","removeStatus":"","storageActualPartition":"1","storageConfigPartition":"1","storagePartition":"1","workerActualGroups":"default","workerConfigGroups":"default"},"Name":"HDB10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"HDB|HDB_WORKER","hostname":"vmhdbqas01","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.3"}],"Processes":[{"description":"HDB Daemon","dispstatus":"SAPControl-GREEN","elapsedtime":"152:23:18","name":"hdbdaemon","pid":25408,"starttime":"2022 01 11 12:28:43","textstatus":"Running"},{"description":"HDB XSEngine-HDQ","dispstatus":"SAPControl-GREEN","elapsedtime":"152:22:55","name":"hdbxsengine","pid":27262,"starttime":"2022 01 11 12:29:06","textstatus":"Running"},{"description":"HDB Nameserver","dispstatus":"SAPControl-GREEN","elapsedtime":"152:23:17","name":"hdbnameserver","pid":25428,"starttime":"2022 01 11 12:28:44","textstatus":"Running"},{"description":"HDB Indexserver-HDQ","dispstatus":"SAPControl-GREEN","elapsedtime":"152:22:55","name":"hdbindexserver","pid":27259,"starttime":"2022 01 11 12:29:06","textstatus":"Running"},{"description":"HDB Preprocessor","dispstatus":"SAPControl-GREEN","elapsedtime":"152:22:55","name":"hdbpreprocessor","pid":27206,"starttime":"2022 01 11 12:29:06","textstatus":"Running"},{"description":"HDB Compileserver","dispstatus":"SAPControl-GREEN","elapsedtime":"152:22:55","name":"hdbcompileserver","pid":27203,"starttime":"2022 01 11 12:29:06","textstatus":"Running"},{"description":"HDB Web Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"152:22:24","name":"hdbwebdispatcher","pid":29632,"starttime":"2022 01 11 12:29:37","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"DBServices","propertytype":"Attribute","value":"YES"},{"property":"HANA Roles","propertytype":"Attribute","value":"worker"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"vmhdbqas01"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"HDB10"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"HDQ"},{"property":"StartPriority","propertytype":"Attribute","value":"0.3"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://vmhdbqas01:51013/sapparamEN.html"}]},"SystemReplication":{"service/vmhdbqas01/31003/SHIPPED_LOG_BUFFERS_COUNT":"684679","service/vmhdbqas01/31007/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbqas01/31007/SHIPPED_LOG_BUFFERS_SIZE":"269307904","service/vmhdbqas01/31001/SECONDARY_ACTIVE_STATUS":"YES","service/vmhdbqas01/31001/SECONDARY_RECONNECT_COUNT":"0","service/vmhdbqas01/31007/OPERATION_MODE":"logreplay","service/vmhdbqas01/31007/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbqas01/31003/SHIPPED_LOG_POSITION":"247682688","service/vmhdbqas01/31001/REPLICATION_STATUS":"ACTIVE","service/vmhdbqas01/31007/PORT":"31007","service/vmhdbqas01/31003/HOST":"vmhdbqas01","service/vmhdbqas01/31007/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbqas01/31001/SHIPPED_FULL_REPLICA_SIZE":"0","service/vmhdbqas01/31007/REPLAYED_LOG_POSITION":"4699652","service/vmhdbqas01/31003/RESET_COUNT":"0","service/vmhdbqas01/31003/DATABASE":"HDQ","service/vmhdbqas01/31007/FULL_SYNC":"DISABLED","service/vmhdbqas01/31003/CREATION_TIME":"2022-01-11 12:29:33.189016","service/vmhdbqas01/31003/SECONDARY_SITE_NAME":"WDF","service/vmhdbqas01/31007/LAST_LOG_POSITION":"4699712","service/vmhdbqas01/31007/SHIPPED_LOG_BUFFERS_DURATION":"176031371","service/vmhdbqas01/31007/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbqas01/31003/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbqas01/31003/VOLUME_ID":"3","service/vmhdbqas01/31007/REPLICATION_STATUS_DETAILS":"","service/vmhdbqas01/31001/DATABASE":"SYSTEMDB","service/vmhdbqas01/31001/SHIPPED_SAVEPOINT_START_TIME":"-","service/vmhdbqas01/31007/SITE_NAME":"NBG","service/vmhdbqas01/31003/LAST_LOG_POSITION":"247682688","service/vmhdbqas01/31001/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbqas01/31007/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbqas01/31003/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbqas01/31003/SHIPPED_SAVEPOINT_START_TIME":"-","service/vmhdbqas01/31003/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbqas01/31007/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:44.353141","service/vmhdbqas01/31007/SHIPPED_LOG_POSITION":"4699712","service/vmhdbqas01/31007/DATABASE":"HDQ","service/vmhdbqas01/31001/VOLUME_ID":"1","service/vmhdbqas01/31007/SECONDARY_HOST":"vmhdbqas02","service/vmhdbqas01/31001/LAST_SAVEPOINT_LOG_POSITION":"45363330","service/vmhdbqas01/31007/SHIPPED_DELTA_REPLICA_COUNT":"0","service/vmhdbqas01/31007/SECONDARY_SITE_NAME":"WDF","site/2/SITE_NAME":"WDF","service/vmhdbqas01/31001/LAST_LOG_POSITION":"45366976","service/vmhdbqas01/31001/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","service/vmhdbqas01/31003/LAST_SAVEPOINT_LOG_POSITION":"247663426","service/vmhdbqas01/31003/SECONDARY_CONNECT_TIME":"2022-01-11 12:35:03.347379","service/vmhdbqas01/31007/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbqas01/31001/RESET_COUNT":"0","service/vmhdbqas01/31003/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:48:26.167454","service/vmhdbqas01/31001/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:57.259967","service/vmhdbqas01/31001/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbqas01/31001/SECONDARY_PORT":"31001","service/vmhdbqas01/31007/REPLICATION_MODE":"SYNC","service/vmhdbqas01/31007/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:44.353141","service/vmhdbqas01/31007/VOLUME_ID":"2","service/vmhdbqas01/31007/SHIPPED_SAVEPOINT_START_TIME":"-","service/vmhdbqas01/31001/REPLICATION_STATUS_DETAILS":"","service/vmhdbqas01/31007/SECONDARY_ACTIVE_STATUS":"YES","service/vmhdbqas01/31003/SECONDARY_PORT":"31003","service/vmhdbqas01/31003/FULL_SYNC":"DISABLED","service/vmhdbqas01/31001/SHIPPED_LOG_POSITION":"45366976","service/vmhdbqas01/31001/SITE_NAME":"NBG","service/vmhdbqas01/31003/REPLAYED_LOG_POSITION":"247682688","service/vmhdbqas01/31001/SHIPPED_FULL_REPLICA_DURATION":"0","service/vmhdbqas01/31003/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","service/vmhdbqas01/31007/SERVICE_NAME":"xsengine","service/vmhdbqas01/31007/SHIPPED_DELTA_REPLICA_SIZE":"0","site/2/REPLICATION_STATUS":"ACTIVE","service/vmhdbqas01/31001/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-","service/vmhdbqas01/31007/SECONDARY_PORT":"31007","service/vmhdbqas01/31001/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:57.259967","service/vmhdbqas01/31007/LAST_RESET_TIME":"2022-01-11 12:29:37.637575","service/vmhdbqas01/31003/SHIPPED_LOG_BUFFERS_SIZE":"3534827520","service/vmhdbqas01/31007/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:51:44.329775","local_site_id":"1","site/1/REPLICATION_MODE":"PRIMARY","service/vmhdbqas01/31007/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbqas01/31001/SECONDARY_CONNECT_TIME":"2022-01-11 12:30:25.128075","service/vmhdbqas01/31003/SHIPPED_FULL_REPLICA_DURATION":"0","service/vmhdbqas01/31001/LAST_SAVEPOINT_VERSION":"3060","service/vmhdbqas01/31001/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbqas01/31001/PORT":"31001","service/vmhdbqas01/31001/SITE_ID":"1","service/vmhdbqas01/31007/RESET_COUNT":"0","service/vmhdbqas01/31007/LAST_SAVEPOINT_LOG_POSITION":"4699460","service/vmhdbqas01/31003/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbqas01/31003/SITE_ID":"1","service/vmhdbqas01/31003/SHIPPED_DELTA_REPLICA_COUNT":"0","service/vmhdbqas01/31007/SHIPPED_FULL_REPLICA_SIZE":"0","service/vmhdbqas01/31007/LAST_SAVEPOINT_VERSION":"2887","service/vmhdbqas01/31007/SITE_ID":"1","service/vmhdbqas01/31001/SHIPPED_DELTA_REPLICA_SIZE":"0","service/vmhdbqas01/31003/SHIPPED_SAVEPOINT_LOG_POSITION":"0","overall_replication_status":"ACTIVE","service/vmhdbqas01/31001/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:47:57.248689","service/vmhdbqas01/31007/REPLICATION_STATUS":"ACTIVE","service/vmhdbqas01/31003/PORT":"31003","service/vmhdbqas01/31007/SECONDARY_SITE_ID":"2","service/vmhdbqas01/31003/SHIPPED_FULL_REPLICA_SIZE":"0","service/vmhdbqas01/31007/CREATION_TIME":"2022-01-11 12:29:37.637575","service/vmhdbqas01/31001/SECONDARY_SITE_ID":"2","service/vmhdbqas01/31003/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:46.152250","service/vmhdbqas01/31003/SECONDARY_HOST":"vmhdbqas02","service/vmhdbqas01/31003/REPLICATION_STATUS_DETAILS":"","service/vmhdbqas01/31001/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbqas01/31007/SECONDARY_CONNECT_TIME":"2022-01-11 12:35:03.226334","site/2/SOURCE_SITE_ID":"1","service/vmhdbqas01/31007/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","service/vmhdbqas01/31001/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbqas01/31003/SHIPPED_LOG_BUFFERS_DURATION":"1782503270","service/vmhdbqas01/31001/SECONDARY_HOST":"vmhdbqas02","service/vmhdbqas01/31003/REPLICATION_STATUS":"ACTIVE","service/vmhdbqas01/31003/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbqas01/31003/OPERATION_MODE":"logreplay","service/vmhdbqas01/31003/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:46.152250","service/vmhdbqas01/31007/SHIPPED_FULL_REPLICA_DURATION":"0","service/vmhdbqas01/31007/HOST":"vmhdbqas01","service/vmhdbqas01/31001/SECONDARY_SITE_NAME":"WDF","service/vmhdbqas01/31001/LAST_RESET_TIME":"2022-01-11 12:29:06.391562","service/vmhdbqas01/31001/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:57.259967","service/vmhdbqas01/31003/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbqas01/31001/CREATION_TIME":"2022-01-11 12:29:06.391562","service/vmhdbqas01/31003/SECONDARY_RECONNECT_COUNT":"9","service/vmhdbqas01/31007/SHIPPED_LOG_BUFFERS_COUNT":"65749","service/vmhdbqas01/31001/SERVICE_NAME":"nameserver","service/vmhdbqas01/31003/LAST_SAVEPOINT_VERSION":"2866","service/vmhdbqas01/31001/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbqas01/31003/LAST_RESET_TIME":"2022-01-11 12:29:33.189016","service/vmhdbqas01/31007/SHIPPED_SAVEPOINT_LOG_POSITION":"0","service/vmhdbqas01/31003/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbqas01/31003/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbqas01/31001/SHIPPED_LOG_BUFFERS_COUNT":"125862","service/vmhdbqas01/31001/OPERATION_MODE":"logreplay","service/vmhdbqas01/31003/SHIPPED_DELTA_REPLICA_SIZE":"0","service/vmhdbqas01/31007/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-","service/vmhdbqas01/31001/FULL_SYNC":"DISABLED","service/vmhdbqas01/31001/SHIPPED_LOG_BUFFERS_DURATION":"354670113","service/vmhdbqas01/31003/SITE_NAME":"NBG","service/vmhdbqas01/31001/SHIPPED_SAVEPOINT_LOG_POSITION":"0","service/vmhdbqas01/31003/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:46.152250","service/vmhdbqas01/31003/SECONDARY_SITE_ID":"2","service/vmhdbqas01/31007/SECONDARY_RECONNECT_COUNT":"9","service/vmhdbqas01/31001/REPLAYED_LOG_POSITION":"45366976","service/vmhdbqas01/31001/SHIPPED_DELTA_REPLICA_COUNT":"0","site/1/SITE_NAME":"NBG","service/vmhdbqas01/31003/SERVICE_NAME":"indexserver","service/vmhdbqas01/31003/REPLICATION_MODE":"SYNC","service/vmhdbqas01/31001/HOST":"vmhdbqas01","service/vmhdbqas01/31001/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbqas01/31003/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-","service/vmhdbqas01/31003/SECONDARY_ACTIVE_STATUS":"YES","site/2/REPLICATION_MODE":"SYNC","service/vmhdbqas01/31007/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbqas01/31001/SHIPPED_LOG_BUFFERS_SIZE":"555925504","service/vmhdbqas01/31001/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbqas01/31007/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:44.353141","service/vmhdbqas01/31001/REPLICATION_MODE":"SYNC"},"Type":1}],"Profile":{"HDB_LINKED_BINARIES":"yes","HDB_SHARED_BINARIES":"yes","SAPGLOBALHOST":"vmhdbqas01","SAPSYSTEMNAME":"HDQ","hdbConfigType":"DEFAULT","ssl/ciphersuites":"135:PFS:HIGH::EC_P256:EC_HIGH"},"SID":"HDQ","Type":1}],"discovery_type":"sap_system_discovery","agent_id":"99cf8a3a-48d6-57a4-b302-6e4482227ab6"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0071_99cf8a3a-48d6-57a4-b302-6e4482227ab6_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0071_99cf8a3a-48d6-57a4-b302-6e4482227ab6_saptune_discovery.json new file mode 100644 index 0000000000..04d9d3d24a --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0071_99cf8a3a-48d6-57a4-b302-6e4482227ab6_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"99cf8a3a-48d6-57a4-b302-6e4482227ab6"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0072_99cf8a3a-48d6-57a4-b302-6e4482227ab6_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0072_99cf8a3a-48d6-57a4-b302-6e4482227ab6_subscription_discovery.json new file mode 100644 index 0000000000..b831b2db7d --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0072_99cf8a3a-48d6-57a4-b302-6e4482227ab6_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"99cf8a3a-48d6-57a4-b302-6e4482227ab6"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0073_9a26b6d0-6e72-597c-9fe5-152a6875f214_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0073_9a26b6d0-6e72-597c-9fe5-152a6875f214_host_discovery.json new file mode 100644 index 0000000000..c3877df683 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0073_9a26b6d0-6e72-597c-9fe5-152a6875f214_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":1,"fully_qualified_domain_name":"vmiscsi01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmiscsi01","ip_addresses":["127.0.0.1","::1","10.80.1.4","fe80::20d:3aff:fe2e:835a"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":3421},"discovery_type":"host_discovery","agent_id":"9a26b6d0-6e72-597c-9fe5-152a6875f214"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0074_9a26b6d0-6e72-597c-9fe5-152a6875f214_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0074_9a26b6d0-6e72-597c-9fe5-152a6875f214_sap_system_discovery.json new file mode 100644 index 0000000000..3c83bd22b4 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0074_9a26b6d0-6e72-597c-9fe5-152a6875f214_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"9a26b6d0-6e72-597c-9fe5-152a6875f214"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0075_9a26b6d0-6e72-597c-9fe5-152a6875f214_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0075_9a26b6d0-6e72-597c-9fe5-152a6875f214_saptune_discovery.json new file mode 100644 index 0000000000..58ef13e981 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0075_9a26b6d0-6e72-597c-9fe5-152a6875f214_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"9a26b6d0-6e72-597c-9fe5-152a6875f214"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0076_9a26b6d0-6e72-597c-9fe5-152a6875f214_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0076_9a26b6d0-6e72-597c-9fe5-152a6875f214_subscription_discovery.json new file mode 100644 index 0000000000..6ee5119286 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0076_9a26b6d0-6e72-597c-9fe5-152a6875f214_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"9a26b6d0-6e72-597c-9fe5-152a6875f214"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0077_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0077_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_host_discovery.json new file mode 100644 index 0000000000..202ee35981 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0077_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwdev03.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwdev03","ip_addresses":["127.0.0.1","::1","10.100.1.23","10.100.1.27","fe80::6245:bdff:fe8d:9ef4"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0078_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0078_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_sap_system_discovery.json new file mode 100644 index 0000000000..ef39cbe888 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0078_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.100.1.13","Databases":null,"Id":"a1e80e3e152a903662f7882fb3f8a851","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwdev03","HostConfiguration":null,"Name":"D01","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwdas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwder","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwdpas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwdaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"Gateway","dispstatus":"SAPControl-GREEN","elapsedtime":"151:48:10","name":"gwrd","pid":27224,"starttime":"2022 01 11 13:03:58","textstatus":"Running"},{"description":"ICM","dispstatus":"SAPControl-GREEN","elapsedtime":"151:48:10","name":"icman","pid":27225,"starttime":"2022 01 11 13:03:58","textstatus":"Running"},{"description":"IGS Watchdog","dispstatus":"SAPControl-GREEN","elapsedtime":"151:48:13","name":"igswd_mt","pid":26907,"starttime":"2022 01 11 13:03:55","textstatus":"Running"},{"description":"Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"151:48:13","name":"disp+work","pid":26906,"starttime":"2022 01 11 13:03:55","textstatus":"Running"}],"Properties":[{"property":"ICM","propertytype":"NodeURL","value":"HTTP://sapnwdpas:0/sap/admin/public/index.html"},{"property":"IGS","propertytype":"NodeURL","value":"http://sapnwdpas:40180"},{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"ICM Cache","propertytype":"NodeWebmethod","value":"ICMGetCacheEntries"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"01"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"ICM Threads","propertytype":"NodeWebmethod","value":"ICMGetThreadList"},{"property":"Open Alerts","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwdpas"},{"property":"ABAP WP Table","propertytype":"NodeWebmethod","value":"ABAPGetWPTable"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"D01"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWD"},{"property":"StartPriority","propertytype":"Attribute","value":"3"},{"property":"Current Status","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Gateway Clients","propertytype":"NodeWebmethod","value":"GWGetClientList"},{"property":"ICM Connections","propertytype":"NodeWebmethod","value":"ICMGetConnectionList"},{"property":"Queue Statistic","propertytype":"NodeWebmethod","value":"GetQueueStatistic"},{"property":"Gateway Connections","propertytype":"NodeWebmethod","value":"GWGetConnectionList"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"ICM Proxy Connections","propertytype":"NodeWebmethod","value":"ICMGetProxyConnectionList"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwdpas:50113/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"10.100.1.13","SAPGLOBALHOST":"sapnwdas","SAPSYSTEMNAME":"NWD","dbms/name":"HDD","dbms/type":"hdb","dbs/hdb/dbname":"HDD","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwdas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwdas","rdisp/msserv":"sapmsNWD","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWD","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0079_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0079_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_saptune_discovery.json new file mode 100644 index 0000000000..5c9fe4a793 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0079_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0080_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0080_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_subscription_discovery.json new file mode 100644 index 0000000000..58d9b15c7d --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0080_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0081_9cd46919-5f19-59aa-993e-cf3736c71053_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0081_9cd46919-5f19-59aa-993e-cf3736c71053_ha_cluster_discovery.json new file mode 100644 index 0000000000..acb1bf9e42 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0081_9cd46919-5f19-59aa-993e-cf3736c71053_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"hana_cluster_3"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"24"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"},{"Id":"SAPHanaSR-hana_hdp_site_srHook_WDF","Name":"hana_hdp_site_srHook_WDF","Value":"SOK"}]},"Nodes":[{"Id":"1","InstanceAttributes":[{"Id":"nodes-1-lpa_hdp_lpt","Name":"lpa_hdp_lpt","Value":"1643125019"},{"Id":"nodes-1-hana_hdp_vhost","Name":"hana_hdp_vhost","Value":"vmhdbprd01"},{"Id":"nodes-1-hana_hdp_site","Name":"hana_hdp_site","Value":"NBG"},{"Id":"nodes-1-hana_hdp_op_mode","Name":"hana_hdp_op_mode","Value":"logreplay"},{"Id":"nodes-1-hana_hdp_srmode","Name":"hana_hdp_srmode","Value":"sync"},{"Id":"nodes-1-hana_hdp_remoteHost","Name":"hana_hdp_remoteHost","Value":"vmhdbprd02"}],"Uname":"vmhdbprd01"},{"Id":"2","InstanceAttributes":[{"Id":"nodes-2-lpa_hdp_lpt","Name":"lpa_hdp_lpt","Value":"30"},{"Id":"nodes-2-hana_hdp_op_mode","Name":"hana_hdp_op_mode","Value":"logreplay"},{"Id":"nodes-2-hana_hdp_vhost","Name":"hana_hdp_vhost","Value":"vmhdbprd02"},{"Id":"nodes-2-hana_hdp_remoteHost","Name":"hana_hdp_remoteHost","Value":"vmhdbprd01"},{"Id":"nodes-2-hana_hdp_site","Name":"hana_hdp_site","Value":"WDF"},{"Id":"nodes-2-hana_hdp_srmode","Name":"hana_hdp_srmode","Value":"sync"}],"Uname":"vmhdbprd02"}],"Resources":{"Clones":[{"Id":"cln_SAPHanaTopology_HDP_HDB10","MetaAttributes":[{"Id":"cln_SAPHanaTopology_HDP_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"cln_SAPHanaTopology_HDP_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHanaTopology_HDP_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHanaTopology_HDP_HDB10-instance_attributes-SID","Name":"SID","Value":"HDP"},{"Id":"rsc_SAPHanaTopology_HDP_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHanaTopology_HDP_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDP_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDP_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"300"}],"Provider":"suse","Type":"SAPHanaTopology"}}],"Groups":[{"Id":"g_ip_HDP_HDB10","Primitives":[{"Class":"ocf","Id":"rsc_ip_HDP_HDB10","InstanceAttributes":[{"Id":"rsc_ip_HDP_HDB10-instance_attributes-ip","Name":"ip","Value":"10.80.1.13"},{"Id":"rsc_ip_HDP_HDB10-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"24"},{"Id":"rsc_ip_HDP_HDB10-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_HDP_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDP_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDP_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_socat_HDP_HDB10","InstanceAttributes":[{"Id":"rsc_socat_HDP_HDB10-instance_attributes-port","Name":"port","Value":"62510"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_HDP_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"msl_SAPHana_HDP_HDB10","MetaAttributes":[{"Id":"msl_SAPHana_HDP_HDB10-meta_attributes-clone-max","Name":"clone-max","Value":"2"},{"Id":"msl_SAPHana_HDP_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"msl_SAPHana_HDP_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHana_HDP_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-SID","Name":"SID","Value":"HDP"},{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"},{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-PREFER_SITE_TAKEOVER","Name":"PREFER_SITE_TAKEOVER","Value":"True"},{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-AUTOMATED_REGISTER","Name":"AUTOMATED_REGISTER","Value":"False"},{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT","Name":"DUPLICATE_PRIMARY_TIMEOUT","Value":"7200"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHana_HDP_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDP_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDP_HDB10-promote-0","Interval":"0","Name":"promote","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDP_HDB10-monitor-60","Interval":"60","Name":"monitor","Role":"Master","Timeout":"700"},{"Id":"rsc_SAPHana_HDP_HDB10-monitor-61","Interval":"61","Name":"monitor","Role":"Slave","Timeout":"700"}],"Provider":"suse","Type":"SAPHana"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"15"}],"MetaAttributes":null,"Operations":[{"Id":"stonith-sbd-monitor-15","Interval":"15","Name":"monitor","Role":"","Timeout":"15"}],"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"msl_SAPHana_HDP_HDB10","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cln_SAPHanaTopology_HDP_HDB10","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g_ip_HDP_HDB10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"hana_hdp_clone_state","Value":"PROMOTED"},{"Name":"hana_hdp_op_mode","Value":"logreplay"},{"Name":"hana_hdp_remoteHost","Value":"vmhdbprd02"},{"Name":"hana_hdp_roles","Value":"4:P:master1:master:worker:master"},{"Name":"hana_hdp_site","Value":"NBG"},{"Name":"hana_hdp_srmode","Value":"sync"},{"Name":"hana_hdp_sync_state","Value":"PRIM"},{"Name":"hana_hdp_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdp_vhost","Value":"vmhdbprd01"},{"Name":"lpa_hdp_lpt","Value":"1643125019"},{"Name":"master-rsc_SAPHana_HDP_HDB10","Value":"150"}],"Name":"vmhdbprd01"},{"Attributes":[{"Name":"hana_hdp_clone_state","Value":"DEMOTED"},{"Name":"hana_hdp_op_mode","Value":"logreplay"},{"Name":"hana_hdp_remoteHost","Value":"vmhdbprd01"},{"Name":"hana_hdp_roles","Value":"4:S:master1:master:worker:master"},{"Name":"hana_hdp_site","Value":"WDF"},{"Name":"hana_hdp_srmode","Value":"sync"},{"Name":"hana_hdp_sync_state","Value":"SOK"},{"Name":"hana_hdp_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdp_vhost","Value":"vmhdbprd02"},{"Name":"lpa_hdp_lpt","Value":"30"},{"Name":"master-rsc_SAPHana_HDP_HDB10","Value":"100"}],"Name":"vmhdbprd02"}]},"NodeHistory":{"Nodes":[{"Name":"vmhdbprd01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDP_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_HDP_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_ip_HDP_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDP_HDB10"}]},{"Name":"vmhdbprd02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDP_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDP_HDB10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmhdbprd01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmhdbprd02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 25 15:36:59 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":7}},"Version":"2.0.5"},"DC":true,"Id":"9c832998801e28cd70ad77380e82a5c0","Name":"hana_cluster_3","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b924e77","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b924e77","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"a7a18c6b-7c8e-4bda-bb77-45e4b5dc8478"},"List":[{"Id":0,"Name":"vmhdbprd01","Status":"clear"},{"Id":1,"Name":"vmhdbprd02","Status":"clear"}],"Status":"healthy"},{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b912345","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"a7a18c6b-7c8e-4bda-bb77-45e4b5dc8478"},"List":[{"Id":0,"Name":"vmhdbprd01","Status":"clear"},{"Id":1,"Name":"vmhdbprd02","Status":"clear"}],"Status":"unhealthy"},{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b954321","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"a7a18c6b-7c8e-4bda-bb77-45e4b5dc8478"},"List":[{"Id":0,"Name":"vmhdbprd01","Status":"clear"},{"Id":1,"Name":"vmhdbprd02","Status":"clear"}],"Status":"unknown"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"9cd46919-5f19-59aa-993e-cf3736c71053"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0082_9cd46919-5f19-59aa-993e-cf3736c71053_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0082_9cd46919-5f19-59aa-993e-cf3736c71053_host_discovery.json new file mode 100644 index 0000000000..614ebf031a --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0082_9cd46919-5f19-59aa-993e-cf3736c71053_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":4,"fully_qualified_domain_name":"vmhdbprd01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmhdbprd01","ip_addresses":["127.0.0.1","::1","10.80.1.11","10.80.1.13","fe80::20d:3aff:fe23:2c6b"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":32107},"discovery_type":"host_discovery","agent_id":"9cd46919-5f19-59aa-993e-cf3736c71053"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0083_9cd46919-5f19-59aa-993e-cf3736c71053_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0083_9cd46919-5f19-59aa-993e-cf3736c71053_sap_system_discovery.json new file mode 100644 index 0000000000..94e738d789 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0083_9cd46919-5f19-59aa-993e-cf3736c71053_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"Databases":[{"Active":"yes","Container":"","Database":"HDP","Group":"","GroupId":"","Host":"vmhdbprd01","SqlPort":"31015","User":"","UserId":""}],"Id":"1154f7678ac587e5f0f242830a5201f1","Instances":[{"HdbnsutilSRstate":{"hasConsumers":"true","isConsumer":"false","isPrimarySuspended":"false","isSource":"true","isTakeoverActive":"false","mapping/vmhdbprd01":["WDF/vmhdbprd02","NBG/vmhdbprd01"],"mode":"primary","online":"true","operation_mode":"primary","siteMapping/NBG":"WDF","siteOperationMode/NBG":"primary","siteOperationMode/WDF":"logreplay","siteReplicationMode/NBG":"primary","siteReplicationMode/WDF":"sync","siteTier/NBG":"1","siteTier/WDF":"2","site_id":"1","site_name":"NBG"},"Host":"vmhdbprd01","HostConfiguration":{"failoverActualGroup":"default","failoverConfigGroup":"default","failoverStatus":"","host":"vmhdbprd01","hostActive":"yes","hostActualRoles":"worker","hostConfigRoles":"worker","hostStatus":"ok","indexServerActualRole":"master","indexServerConfigRole":"worker","nameServerActualRole":"master","nameServerConfigRole":"master 1","removeStatus":"","storageActualPartition":"1","storageConfigPartition":"1","storagePartition":"1","workerActualGroups":"default","workerConfigGroups":"default"},"Name":"HDB10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"HDB|HDB_WORKER","hostname":"vmhdbprd01","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.3"}],"Processes":[{"description":"HDB Daemon","dispstatus":"SAPControl-GREEN","elapsedtime":"151:17:01","name":"hdbdaemon","pid":2186,"starttime":"2022 01 11 13:34:58","textstatus":"Running"},{"description":"HDB XSEngine-HDP","dispstatus":"SAPControl-GREEN","elapsedtime":"151:16:41","name":"hdbxsengine","pid":3720,"starttime":"2022 01 11 13:35:18","textstatus":"Running"},{"description":"HDB Nameserver","dispstatus":"SAPControl-GREEN","elapsedtime":"151:17:01","name":"hdbnameserver","pid":2245,"starttime":"2022 01 11 13:34:58","textstatus":"Running"},{"description":"HDB Indexserver-HDP","dispstatus":"SAPControl-GREEN","elapsedtime":"151:16:41","name":"hdbindexserver","pid":3717,"starttime":"2022 01 11 13:35:18","textstatus":"Running"},{"description":"HDB Preprocessor","dispstatus":"SAPControl-GREEN","elapsedtime":"151:16:42","name":"hdbpreprocessor","pid":3617,"starttime":"2022 01 11 13:35:17","textstatus":"Running"},{"description":"HDB Compileserver","dispstatus":"SAPControl-GREEN","elapsedtime":"151:16:42","name":"hdbcompileserver","pid":3614,"starttime":"2022 01 11 13:35:17","textstatus":"Running"},{"description":"HDB Web Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"151:16:12","name":"hdbwebdispatcher","pid":6387,"starttime":"2022 01 11 13:35:47","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"DBServices","propertytype":"Attribute","value":"YES"},{"property":"HANA Roles","propertytype":"Attribute","value":"worker"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"vmhdbprd01"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"HDB10"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"HDP"},{"property":"StartPriority","propertytype":"Attribute","value":"0.3"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://vmhdbprd01:51013/sapparamEN.html"}]},"SystemReplication":{"service/vmhdbprd01/31003/SITE_ID":"1","service/vmhdbprd01/31001/SECONDARY_RECONNECT_COUNT":"0","service/vmhdbprd01/31001/SHIPPED_LOG_BUFFERS_COUNT":"125120","service/vmhdbprd01/31007/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbprd01/31007/SHIPPED_FULL_REPLICA_DURATION":"0","service/vmhdbprd01/31007/CREATION_TIME":"2022-01-11 13:35:48.262371","service/vmhdbprd01/31003/VOLUME_ID":"3","service/vmhdbprd01/31003/REPLICATION_STATUS_DETAILS":"","service/vmhdbprd01/31001/LAST_RESET_TIME":"2022-01-11 13:35:17.794006","service/vmhdbprd01/31001/LAST_SAVEPOINT_LOG_POSITION":"45312962","service/vmhdbprd01/31001/SITE_ID":"1","service/vmhdbprd01/31001/SECONDARY_PORT":"31001","service/vmhdbprd01/31003/SHIPPED_FULL_REPLICA_SIZE":"0","service/vmhdbprd01/31007/REPLICATION_STATUS":"ACTIVE","service/vmhdbprd01/31001/VOLUME_ID":"1","service/vmhdbprd01/31007/SECONDARY_RECONNECT_COUNT":"7","service/vmhdbprd01/31007/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbprd01/31007/SHIPPED_FULL_REPLICA_SIZE":"0","service/vmhdbprd01/31003/SECONDARY_PORT":"31003","service/vmhdbprd01/31001/SHIPPED_SAVEPOINT_START_TIME":"-","service/vmhdbprd01/31007/SHIPPED_SAVEPOINT_LOG_POSITION":"0","service/vmhdbprd01/31001/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-","service/vmhdbprd01/31001/REPLICATION_STATUS_DETAILS":"","service/vmhdbprd01/31007/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbprd01/31003/LAST_SAVEPOINT_LOG_POSITION":"249597314","service/vmhdbprd01/31003/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:48:13.337797","service/vmhdbprd01/31001/SHIPPED_FULL_REPLICA_SIZE":"0","service/vmhdbprd01/31007/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:15.066330","service/vmhdbprd01/31003/SECONDARY_SITE_NAME":"WDF","service/vmhdbprd01/31001/SHIPPED_LOG_BUFFERS_SIZE":"554209280","site/2/SITE_NAME":"WDF","service/vmhdbprd01/31003/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:44.595948","service/vmhdbprd01/31001/FULL_SYNC":"DISABLED","service/vmhdbprd01/31007/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbprd01/31007/LAST_SAVEPOINT_LOG_POSITION":"4699655","service/vmhdbprd01/31007/PORT":"31007","service/vmhdbprd01/31001/REPLICATION_STATUS":"ACTIVE","service/vmhdbprd01/31003/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbprd01/31003/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbprd01/31007/SHIPPED_LOG_BUFFERS_SIZE":"267542528","service/vmhdbprd01/31007/REPLICATION_STATUS_DETAILS":"","service/vmhdbprd01/31003/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","service/vmhdbprd01/31001/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbprd01/31003/HOST":"vmhdbprd01","service/vmhdbprd01/31007/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-","service/vmhdbprd01/31007/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbprd01/31007/LAST_RESET_TIME":"2022-01-11 13:35:48.262371","site/2/REPLICATION_STATUS":"ACTIVE","service/vmhdbprd01/31001/SERVICE_NAME":"nameserver","service/vmhdbprd01/31001/LAST_LOG_POSITION":"45316224","service/vmhdbprd01/31001/LAST_SAVEPOINT_VERSION":"3068","service/vmhdbprd01/31007/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","local_site_id":"1","site/1/REPLICATION_MODE":"PRIMARY","service/vmhdbprd01/31001/SHIPPED_DELTA_REPLICA_SIZE":"0","service/vmhdbprd01/31003/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbprd01/31007/SECONDARY_HOST":"vmhdbprd02","service/vmhdbprd01/31003/SHIPPED_LOG_POSITION":"249613824","service/vmhdbprd01/31001/SECONDARY_HOST":"vmhdbprd02","service/vmhdbprd01/31001/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:49:08.441827","service/vmhdbprd01/31003/SECONDARY_ACTIVE_STATUS":"YES","service/vmhdbprd01/31007/LAST_LOG_POSITION":"4700160","service/vmhdbprd01/31001/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbprd01/31003/FULL_SYNC":"DISABLED","service/vmhdbprd01/31003/LAST_RESET_TIME":"2022-01-11 13:35:44.241176","service/vmhdbprd01/31003/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbprd01/31007/SHIPPED_LOG_POSITION":"4700160","service/vmhdbprd01/31001/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:48.550230","service/vmhdbprd01/31007/RESET_COUNT":"0","service/vmhdbprd01/31007/FULL_SYNC":"DISABLED","service/vmhdbprd01/31007/SECONDARY_CONNECT_TIME":"2022-01-11 13:40:08.545290","service/vmhdbprd01/31003/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbprd01/31007/LAST_SAVEPOINT_VERSION":"2862","service/vmhdbprd01/31007/SITE_NAME":"NBG","service/vmhdbprd01/31001/SHIPPED_LOG_POSITION":"45316224","service/vmhdbprd01/31003/SHIPPED_SAVEPOINT_START_TIME":"-","overall_replication_status":"ACTIVE","service/vmhdbprd01/31001/REPLAYED_LOG_POSITION":"45316224","service/vmhdbprd01/31003/SECONDARY_SITE_ID":"2","service/vmhdbprd01/31001/SHIPPED_LAST_FULL_REPLICA_START_TIME":"-","service/vmhdbprd01/31003/SHIPPED_DELTA_REPLICA_COUNT":"0","service/vmhdbprd01/31001/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbprd01/31001/SECONDARY_SITE_NAME":"WDF","service/vmhdbprd01/31001/CREATION_TIME":"2022-01-11 13:35:17.794006","service/vmhdbprd01/31003/REPLAYED_LOG_POSITION":"249613824","service/vmhdbprd01/31007/VOLUME_ID":"2","service/vmhdbprd01/31003/LAST_LOG_POSITION":"249613824","service/vmhdbprd01/31001/SHIPPED_SAVEPOINT_LOG_POSITION":"0","service/vmhdbprd01/31001/SHIPPED_FULL_REPLICA_DURATION":"0","service/vmhdbprd01/31007/OPERATION_MODE":"logreplay","service/vmhdbprd01/31001/SHIPPED_LAST_FULL_REPLICA_END_TIME":"-","service/vmhdbprd01/31001/SITE_NAME":"NBG","service/vmhdbprd01/31001/SHIPPED_DELTA_REPLICA_DURATION":"0","service/vmhdbprd01/31001/SECONDARY_ACTIVE_STATUS":"YES","site/2/SOURCE_SITE_ID":"1","service/vmhdbprd01/31007/SERVICE_NAME":"xsengine","service/vmhdbprd01/31007/SHIPPED_LAST_FULL_REPLICA_SIZE":"0","service/vmhdbprd01/31007/SECONDARY_SITE_ID":"2","service/vmhdbprd01/31003/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:44.595948","service/vmhdbprd01/31003/PORT":"31003","service/vmhdbprd01/31007/REPLICATION_MODE":"SYNC","service/vmhdbprd01/31007/SECONDARY_ACTIVE_STATUS":"YES","service/vmhdbprd01/31001/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbprd01/31003/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbprd01/31003/SITE_NAME":"NBG","service/vmhdbprd01/31003/SHIPPED_FULL_REPLICA_COUNT":"0","service/vmhdbprd01/31003/CREATION_TIME":"2022-01-11 13:35:44.241176","service/vmhdbprd01/31003/SHIPPED_SAVEPOINT_LOG_POSITION":"0","service/vmhdbprd01/31007/SECONDARY_SITE_NAME":"WDF","service/vmhdbprd01/31001/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:48.550230","service/vmhdbprd01/31003/SECONDARY_HOST":"vmhdbprd02","service/vmhdbprd01/31007/REPLAYED_LOG_POSITION_TIME":"2022-01-17 20:51:15.066330","service/vmhdbprd01/31007/SITE_ID":"1","service/vmhdbprd01/31003/SHIPPED_DELTA_REPLICA_SIZE":"0","service/vmhdbprd01/31007/REPLAYED_LOG_POSITION":"4700101","service/vmhdbprd01/31001/PORT":"31001","service/vmhdbprd01/31007/SHIPPED_DELTA_REPLICA_COUNT":"0","service/vmhdbprd01/31007/SHIPPED_DELTA_REPLICA_SIZE":"0","service/vmhdbprd01/31003/SHIPPED_FULL_REPLICA_DURATION":"0","service/vmhdbprd01/31007/SHIPPED_SAVEPOINT_START_TIME":"-","service/vmhdbprd01/31007/LAST_SAVEPOINT_START_TIME":"2022-01-17 20:51:13.839155","service/vmhdbprd01/31003/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbprd01/31003/LAST_LOG_POSITION_TIME":"2022-01-17 20:51:44.595948","service/vmhdbprd01/31001/SECONDARY_CONNECT_TIME":"2022-01-11 13:36:31.486904","service/vmhdbprd01/31007/SHIPPED_LOG_BUFFERS_COUNT":"65318","service/vmhdbprd01/31001/RESET_COUNT":"0","service/vmhdbprd01/31003/RESET_COUNT":"0","service/vmhdbprd01/31001/SHIPPED_LAST_DELTA_REPLICA_END_TIME":"-","service/vmhdbprd01/31007/SECONDARY_FAILOVER_COUNT":"0","service/vmhdbprd01/31003/SECONDARY_RECONNECT_COUNT":"7","service/vmhdbprd01/31001/SHIPPED_LOG_BUFFERS_DURATION":"357505585","service/vmhdbprd01/31001/REPLICATION_MODE":"SYNC","service/vmhdbprd01/31007/HOST":"vmhdbprd01","service/vmhdbprd01/31003/SHIPPED_LOG_BUFFERS_DURATION":"1885304582","service/vmhdbprd01/31003/SHIPPED_LAST_DELTA_REPLICA_START_TIME":"-","service/vmhdbprd01/31007/SHIPPED_LAST_DELTA_REPLICA_SIZE":"0","service/vmhdbprd01/31001/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:48.550230","service/vmhdbprd01/31003/SHIPPED_LOG_BUFFERS_COUNT":"693785","service/vmhdbprd01/31001/HOST":"vmhdbprd01","service/vmhdbprd01/31007/SHIPPED_LOG_BUFFERS_DURATION":"191364516","service/vmhdbprd01/31007/DATABASE":"HDP","service/vmhdbprd01/31003/REPLICATION_STATUS":"ACTIVE","service/vmhdbprd01/31003/SERVICE_NAME":"indexserver","service/vmhdbprd01/31003/SECONDARY_CONNECT_TIME":"2022-01-11 13:40:09.285107","service/vmhdbprd01/31003/OPERATION_MODE":"logreplay","service/vmhdbprd01/31001/DATABASE":"SYSTEMDB","service/vmhdbprd01/31003/SHIPPED_LOG_BUFFERS_SIZE":"3611877376","service/vmhdbprd01/31007/SECONDARY_PORT":"31007","site/1/SITE_NAME":"NBG","service/vmhdbprd01/31001/SHIPPED_SAVEPOINT_VERSION":"0","service/vmhdbprd01/31003/LAST_SAVEPOINT_VERSION":"2792","service/vmhdbprd01/31007/SHIPPED_LOG_POSITION_TIME":"2022-01-17 20:51:15.066330","site/2/REPLICATION_MODE":"SYNC","service/vmhdbprd01/31003/REPLICATION_MODE":"SYNC","service/vmhdbprd01/31001/OPERATION_MODE":"logreplay","service/vmhdbprd01/31003/DATABASE":"HDP","service/vmhdbprd01/31001/SECONDARY_SITE_ID":"2","service/vmhdbprd01/31001/SHIPPED_DELTA_REPLICA_COUNT":"0"},"Type":1}],"Profile":{"HDB_LINKED_BINARIES":"yes","HDB_SHARED_BINARIES":"yes","SAPGLOBALHOST":"vmhdbprd01","SAPSYSTEMNAME":"HDP","hdbConfigType":"DEFAULT","ssl/ciphersuites":"135:PFS:HIGH::EC_P256:EC_HIGH"},"SID":"HDP","Type":1}],"discovery_type":"sap_system_discovery","agent_id":"9cd46919-5f19-59aa-993e-cf3736c71053"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0084_9cd46919-5f19-59aa-993e-cf3736c71053_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0084_9cd46919-5f19-59aa-993e-cf3736c71053_saptune_discovery.json new file mode 100644 index 0000000000..d715d63646 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0084_9cd46919-5f19-59aa-993e-cf3736c71053_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.1.0","saptune_installed":true,"status":{"$schema":"file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json","argv":"saptune --format json status","command":"status","exit code":4,"messages":[{"message":"actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n","priority":"NOTICE"},{"message":"sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n","priority":"WARNING"},{"message":"sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n","priority":"WARNING"},{"message":"ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n","priority":"NOTICE"}],"pid":24623,"publish time":"2023-04-24 12:41:56.612","result":{"Notes applied":["941735","1771258","1868829","1980196","2578899","2684254","2382421","2534844","2993054","1656250"],"Notes applied by Solution":[{"Note list":["941735","1771258","1868829","1980196","2578899","2684254","2382421","2534844","2993054","1656250"],"Solution ID":"HANA"}],"Notes enabled":["941735","1771258","1868829","1980196","2578899","2684254","2382421","2534844","2993054","1656250"],"Notes enabled additionally":[],"Notes enabled by Solution":[{"Note list":["941735","1771258","1868829","1980196","2578899","2684254","2382421","2534844","2993054","1656250"],"Solution ID":"HANA"}],"Solution applied":[{"Solution ID":"HANA","applied partially":false}],"Solution enabled":["HANA"],"configured version":"3","package version":"3.1.0","remember message":"\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n","services":{"sapconf":[],"saptune":["enabled","active"],"tuned":[]},"staging":{"Notes staged":[],"Solutions staged":[],"staging enabled":false},"systemd system state":"running","tuning state":"compliant","virtualization":"oracle"}}},"discovery_type":"saptune_discovery","agent_id":"9cd46919-5f19-59aa-993e-cf3736c71053"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0085_9cd46919-5f19-59aa-993e-cf3736c71053_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0085_9cd46919-5f19-59aa-993e-cf3736c71053_subscription_discovery.json new file mode 100644 index 0000000000..9e4a78fcf9 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0085_9cd46919-5f19-59aa-993e-cf3736c71053_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"9cd46919-5f19-59aa-993e-cf3736c71053"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0086_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0086_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_ha_cluster_discovery.json new file mode 100644 index 0000000000..dd3d0332de --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0086_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"drbd_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmdrbdprd01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmdrbdprd02"}],"Resources":{"Clones":[{"Id":"cl-nfsserver","MetaAttributes":[{"Id":"cl-nfsserver-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"systemd","Id":"nfsserver","InstanceAttributes":null,"MetaAttributes":null,"Operations":[{"Id":"nfsserver-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"","Type":"nfs-server"}}],"Groups":[{"Id":"g-nfs_sapdata","Primitives":[{"Class":"ocf","Id":"fs_sapdata","InstanceAttributes":[{"Id":"fs_sapdata-instance_attributes-device","Name":"device","Value":"/dev/drbd1"},{"Id":"fs_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWP"},{"Id":"fs_sapdata-instance_attributes-fstype","Name":"fstype","Value":"xfs"},{"Id":"fs_sapdata-instance_attributes-options","Name":"options","Value":"noatime,nodiratime"}],"MetaAttributes":null,"Operations":[{"Id":"fs_sapdata-monitor-20","Interval":"20","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"vip_sapdata_nfs","InstanceAttributes":[{"Id":"vip_sapdata_nfs-instance_attributes-ip","Name":"ip","Value":"10.80.1.33"},{"Id":"vip_sapdata_nfs-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"32"},{"Id":"vip_sapdata_nfs-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"vip_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"exportfs_work_sapdata","InstanceAttributes":[{"Id":"exportfs_work_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWP"},{"Id":"exportfs_work_sapdata-instance_attributes-fsid","Name":"fsid","Value":"1"},{"Id":"exportfs_work_sapdata-instance_attributes-options","Name":"options","Value":"rw,no_root_squash"},{"Id":"exportfs_work_sapdata-instance_attributes-clientspec","Name":"clientspec","Value":"*"},{"Id":"exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop","Name":"wait_for_leasetime_on_stop","Value":"true"}],"MetaAttributes":null,"Operations":[{"Id":"exportfs_work_sapdata-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"heartbeat","Type":"exportfs"},{"Class":"ocf","Id":"rsc_socat_sapdata_nfs","InstanceAttributes":[{"Id":"rsc_socat_sapdata_nfs-instance_attributes-port","Name":"port","Value":"61000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"ms_sapdata","MetaAttributes":[{"Id":"ms_sapdata-meta_attributes-master-max","Name":"master-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-master-node-max","Name":"master-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-0-clone-max","Name":"clone-max","Value":"2"},{"Id":"ms_sapdata-meta_attributes-0-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-1-notify","Name":"notify","Value":"true"},{"Id":"ms_sapdata-meta_attributes-1-target-role","Name":"target-role","Value":"Started"}],"Primitive":{"Class":"ocf","Id":"drbd-sapdata","InstanceAttributes":[{"Id":"drbd-sapdata-instance_attributes-drbd_resource","Name":"drbd_resource","Value":"sapdata"}],"MetaAttributes":null,"Operations":[{"Id":"drbd-sapdata-monitor-15","Interval":"15","Name":"monitor","Role":"Master","Timeout":""},{"Id":"drbd-sapdata-monitor-30","Interval":"30","Name":"monitor","Role":"Slave","Timeout":""}],"Provider":"linbit","Type":"drbd"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"ms_sapdata","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbdprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"},{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cl-nfsserver","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbdprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g-nfs_sapdata","Resources":[{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"fs_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"vip_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:exportfs","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"exportfs_work_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbdprd01"},{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbdprd02"}]},"NodeHistory":{"Nodes":[{"Name":"vmdrbdprd02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"},{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"}]},{"Name":"vmdrbdprd01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"fs_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"vip_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"exportfs_work_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]}]},"Nodes":[{"DC":false,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmdrbdprd01","Online":true,"Pending":false,"ResourcesRunning":7,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":true,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmdrbdprd02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 13:24:06 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":false,"Id":"238a4de1239aae2aa87433eed788b3ad","Name":"drbd_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_b7b1cd3d-776e-4432-a9e5-6fe56e4b4e17","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_b7b1cd3d-776e-4432-a9e5-6fe56e4b4e17","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"28fd9d5e-3685-4cb7-85e9-76c4b140ea3c"},"List":[{"Id":0,"Name":"vmdrbdprd01","Status":"clear"},{"Id":1,"Name":"vmdrbdprd02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"a09d9cf3-46c1-505c-8fb8-4b0a71a9114e"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0087_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0087_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_host_discovery.json new file mode 100644 index 0000000000..42cffd5a7d --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0087_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmdrbdprd01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmdrbdprd01","ip_addresses":["127.0.0.1","::1","10.80.1.31","10.80.1.33","fe80::20d:3aff:fe25:7df0"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"a09d9cf3-46c1-505c-8fb8-4b0a71a9114e"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0088_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0088_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_sap_system_discovery.json new file mode 100644 index 0000000000..87d6f1a893 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0088_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"a09d9cf3-46c1-505c-8fb8-4b0a71a9114e"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0089_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0089_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_saptune_discovery.json new file mode 100644 index 0000000000..aa47faf810 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0089_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.1.0","saptune_installed":true,"status":{"$schema":"file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json","argv":"saptune --format json status","command":"status","exit code":4,"messages":[],"pid":24623,"publish time":"2023-04-24 12:41:56.612","result":{"Notes applied":[],"Notes applied by Solution":[],"Notes enabled":[],"Notes enabled additionally":[],"Notes enabled by Solution":[],"Solution applied":[],"Solution enabled":[],"configured version":"3","package version":"3.1.0","remember message":"\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n","services":{"sapconf":[],"saptune":["enabled","inactive"],"tuned":[]},"staging":{"Notes staged":[],"Solutions staged":[],"staging enabled":false},"systemd system state":"running","tuning state":"not tuned","virtualization":"oracle"}}},"discovery_type":"saptune_discovery","agent_id":"a09d9cf3-46c1-505c-8fb8-4b0a71a9114e"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0090_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0090_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_subscription_discovery.json new file mode 100644 index 0000000000..fd61d68c5f --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0090_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"a09d9cf3-46c1-505c-8fb8-4b0a71a9114e"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0091_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0091_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_host_discovery.json new file mode 100644 index 0000000000..45df2f0441 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0091_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwprd03.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwprd03","ip_addresses":["127.0.0.1","::1","10.80.1.23","10.80.1.27","fe80::20d:3aff:fe25:7f83"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0092_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0092_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_sap_system_discovery.json new file mode 100644 index 0000000000..6b7abec813 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0092_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.80.1.13","Databases":null,"Id":"97a1e70aeff3c0685d65c4c3d32d533b","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwprd03","HostConfiguration":null,"Name":"D01","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwpas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwper","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwppas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwpaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"Gateway","dispstatus":"SAPControl-GREEN","elapsedtime":"151:07:13","name":"gwrd","pid":9752,"starttime":"2022 01 11 13:44:51","textstatus":"Running"},{"description":"ICM","dispstatus":"SAPControl-GREEN","elapsedtime":"151:07:13","name":"icman","pid":9753,"starttime":"2022 01 11 13:44:51","textstatus":"Running"},{"description":"IGS Watchdog","dispstatus":"SAPControl-GREEN","elapsedtime":"151:07:15","name":"igswd_mt","pid":9732,"starttime":"2022 01 11 13:44:49","textstatus":"Running"},{"description":"Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"151:07:15","name":"disp+work","pid":9731,"starttime":"2022 01 11 13:44:49","textstatus":"Running"}],"Properties":[{"property":"ICM","propertytype":"NodeURL","value":"HTTP://sapnwppas:0/sap/admin/public/index.html"},{"property":"IGS","propertytype":"NodeURL","value":"http://sapnwppas:40180"},{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"ICM Cache","propertytype":"NodeWebmethod","value":"ICMGetCacheEntries"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"01"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"ICM Threads","propertytype":"NodeWebmethod","value":"ICMGetThreadList"},{"property":"Open Alerts","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwppas"},{"property":"ABAP WP Table","propertytype":"NodeWebmethod","value":"ABAPGetWPTable"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"D01"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWP"},{"property":"StartPriority","propertytype":"Attribute","value":"3"},{"property":"Current Status","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Gateway Clients","propertytype":"NodeWebmethod","value":"GWGetClientList"},{"property":"ICM Connections","propertytype":"NodeWebmethod","value":"ICMGetConnectionList"},{"property":"Queue Statistic","propertytype":"NodeWebmethod","value":"GetQueueStatistic"},{"property":"Gateway Connections","propertytype":"NodeWebmethod","value":"GWGetConnectionList"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"ICM Proxy Connections","propertytype":"NodeWebmethod","value":"ICMGetProxyConnectionList"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwppas:50113/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"10.80.1.13","SAPGLOBALHOST":"sapnwpas","SAPSYSTEMNAME":"NWP","dbms/name":"HDP","dbms/type":"hdb","dbs/hdb/dbname":"HDP","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwpas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwpas","rdisp/msserv":"sapmsNWP","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWP","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0093_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0093_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_saptune_discovery.json new file mode 100644 index 0000000000..0f120e84aa --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0093_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.1.0","saptune_installed":true,"status":{"$schema":"file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json","argv":"saptune --format json status","command":"status","exit code":4,"messages":[{"message":"actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n","priority":"NOTICE"},{"message":"sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n","priority":"WARNING"},{"message":"sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n","priority":"WARNING"},{"message":"ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n","priority":"NOTICE"}],"pid":24623,"publish time":"2023-04-24 12:41:56.612","result":{"Notes applied":["941735","1771258","2578899","2993054","1656250","900929"],"Notes applied by Solution":[{"Note list":["941735","1771258","2578899","2993054","1656250","900929"],"Solution ID":"NETWEAVER"}],"Notes enabled":["941735","1771258","2578899","2993054","1656250","900929"],"Notes enabled additionally":[],"Notes enabled by Solution":[{"Note list":["941735","1771258","2578899","2993054","1656250","900929"],"Solution ID":"NETWEAVER"}],"Solution applied":[{"Solution ID":"NETWEAVER","applied partially":false}],"Solution enabled":["NETWEAVER"],"configured version":"3","package version":"3.1.0","remember message":"\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n","services":{"sapconf":[],"saptune":["enabled","active"],"tuned":[]},"staging":{"Notes staged":[],"Solutions staged":[],"staging enabled":false},"systemd system state":"running","tuning state":"not compliant","virtualization":"oracle"}}},"discovery_type":"saptune_discovery","agent_id":"a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0094_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0094_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_subscription_discovery.json new file mode 100644 index 0000000000..9c3ddd71c6 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0094_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0095_b767b3e9-e802-587e-a442-541d093b86b9_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0095_b767b3e9-e802-587e-a442-541d093b86b9_ha_cluster_discovery.json new file mode 100644 index 0000000000..a782f8cd35 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0095_b767b3e9-e802-587e-a442-541d093b86b9_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"hana_cluster_3"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"24"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"},{"Id":"SAPHanaSR-hana_hdp_site_srHook_WDF","Name":"hana_hdp_site_srHook_WDF","Value":"SOK"}]},"Nodes":[{"Id":"1","InstanceAttributes":[{"Id":"nodes-1-lpa_hdp_lpt","Name":"lpa_hdp_lpt","Value":"1643125019"},{"Id":"nodes-1-hana_hdp_vhost","Name":"hana_hdp_vhost","Value":"vmhdbprd01"},{"Id":"nodes-1-hana_hdp_site","Name":"hana_hdp_site","Value":"NBG"},{"Id":"nodes-1-hana_hdp_op_mode","Name":"hana_hdp_op_mode","Value":"logreplay"},{"Id":"nodes-1-hana_hdp_srmode","Name":"hana_hdp_srmode","Value":"sync"},{"Id":"nodes-1-hana_hdp_remoteHost","Name":"hana_hdp_remoteHost","Value":"vmhdbprd02"}],"Uname":"vmhdbprd01"},{"Id":"2","InstanceAttributes":[{"Id":"nodes-2-lpa_hdp_lpt","Name":"lpa_hdp_lpt","Value":"30"},{"Id":"nodes-2-hana_hdp_op_mode","Name":"hana_hdp_op_mode","Value":"logreplay"},{"Id":"nodes-2-hana_hdp_vhost","Name":"hana_hdp_vhost","Value":"vmhdbprd02"},{"Id":"nodes-2-hana_hdp_remoteHost","Name":"hana_hdp_remoteHost","Value":"vmhdbprd01"},{"Id":"nodes-2-hana_hdp_site","Name":"hana_hdp_site","Value":"WDF"},{"Id":"nodes-2-hana_hdp_srmode","Name":"hana_hdp_srmode","Value":"sync"}],"Uname":"vmhdbprd02"}],"Resources":{"Clones":[{"Id":"cln_SAPHanaTopology_HDP_HDB10","MetaAttributes":[{"Id":"cln_SAPHanaTopology_HDP_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"cln_SAPHanaTopology_HDP_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHanaTopology_HDP_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHanaTopology_HDP_HDB10-instance_attributes-SID","Name":"SID","Value":"HDP"},{"Id":"rsc_SAPHanaTopology_HDP_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHanaTopology_HDP_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDP_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDP_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"300"}],"Provider":"suse","Type":"SAPHanaTopology"}}],"Groups":[{"Id":"g_ip_HDP_HDB10","Primitives":[{"Class":"ocf","Id":"rsc_ip_HDP_HDB10","InstanceAttributes":[{"Id":"rsc_ip_HDP_HDB10-instance_attributes-ip","Name":"ip","Value":"10.80.1.13"},{"Id":"rsc_ip_HDP_HDB10-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"24"},{"Id":"rsc_ip_HDP_HDB10-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_HDP_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDP_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDP_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_socat_HDP_HDB10","InstanceAttributes":[{"Id":"rsc_socat_HDP_HDB10-instance_attributes-port","Name":"port","Value":"62510"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_HDP_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"msl_SAPHana_HDP_HDB10","MetaAttributes":[{"Id":"msl_SAPHana_HDP_HDB10-meta_attributes-clone-max","Name":"clone-max","Value":"2"},{"Id":"msl_SAPHana_HDP_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"msl_SAPHana_HDP_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHana_HDP_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-SID","Name":"SID","Value":"HDP"},{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"},{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-PREFER_SITE_TAKEOVER","Name":"PREFER_SITE_TAKEOVER","Value":"True"},{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-AUTOMATED_REGISTER","Name":"AUTOMATED_REGISTER","Value":"False"},{"Id":"rsc_SAPHana_HDP_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT","Name":"DUPLICATE_PRIMARY_TIMEOUT","Value":"7200"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHana_HDP_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDP_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDP_HDB10-promote-0","Interval":"0","Name":"promote","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDP_HDB10-monitor-60","Interval":"60","Name":"monitor","Role":"Master","Timeout":"700"},{"Id":"rsc_SAPHana_HDP_HDB10-monitor-61","Interval":"61","Name":"monitor","Role":"Slave","Timeout":"700"}],"Provider":"suse","Type":"SAPHana"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"15"}],"MetaAttributes":null,"Operations":[{"Id":"stonith-sbd-monitor-15","Interval":"15","Name":"monitor","Role":"","Timeout":"15"}],"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"msl_SAPHana_HDP_HDB10","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cln_SAPHanaTopology_HDP_HDB10","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbprd02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g_ip_HDP_HDB10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_HDP_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"hana_hdp_clone_state","Value":"PROMOTED"},{"Name":"hana_hdp_op_mode","Value":"logreplay"},{"Name":"hana_hdp_remoteHost","Value":"vmhdbprd02"},{"Name":"hana_hdp_roles","Value":"4:P:master1:master:worker:master"},{"Name":"hana_hdp_site","Value":"NBG"},{"Name":"hana_hdp_srmode","Value":"sync"},{"Name":"hana_hdp_sync_state","Value":"PRIM"},{"Name":"hana_hdp_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdp_vhost","Value":"vmhdbprd01"},{"Name":"lpa_hdp_lpt","Value":"1643125019"},{"Name":"master-rsc_SAPHana_HDP_HDB10","Value":"150"}],"Name":"vmhdbprd01"},{"Attributes":[{"Name":"hana_hdp_clone_state","Value":"DEMOTED"},{"Name":"hana_hdp_op_mode","Value":"logreplay"},{"Name":"hana_hdp_remoteHost","Value":"vmhdbprd01"},{"Name":"hana_hdp_roles","Value":"4:S:master1:master:worker:master"},{"Name":"hana_hdp_site","Value":"WDF"},{"Name":"hana_hdp_srmode","Value":"sync"},{"Name":"hana_hdp_sync_state","Value":"SOK"},{"Name":"hana_hdp_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdp_vhost","Value":"vmhdbprd02"},{"Name":"lpa_hdp_lpt","Value":"30"},{"Name":"master-rsc_SAPHana_HDP_HDB10","Value":"100"}],"Name":"vmhdbprd02"}]},"NodeHistory":{"Nodes":[{"Name":"vmhdbprd01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDP_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_HDP_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_ip_HDP_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDP_HDB10"}]},{"Name":"vmhdbprd02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDP_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDP_HDB10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmhdbprd01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmhdbprd02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbprd01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 25 15:36:59 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":7}},"Version":"2.0.5"},"DC":false,"Id":"9c832998801e28cd70ad77380e82a5c0","Name":"hana_cluster_3","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b924e77","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b924e77","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"a7a18c6b-7c8e-4bda-bb77-45e4b5dc8478"},"List":[{"Id":0,"Name":"vmhdbprd01","Status":"clear"},{"Id":1,"Name":"vmhdbprd02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"b767b3e9-e802-587e-a442-541d093b86b9"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0096_b767b3e9-e802-587e-a442-541d093b86b9_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0096_b767b3e9-e802-587e-a442-541d093b86b9_host_discovery.json new file mode 100644 index 0000000000..a7225b913e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0096_b767b3e9-e802-587e-a442-541d093b86b9_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":4,"fully_qualified_domain_name":"vmhdbprd02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmhdbprd02","ip_addresses":["127.0.0.1","::1","10.80.1.12","fe80::20d:3aff:fe21:f108"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":32107},"discovery_type":"host_discovery","agent_id":"b767b3e9-e802-587e-a442-541d093b86b9"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0097_b767b3e9-e802-587e-a442-541d093b86b9_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0097_b767b3e9-e802-587e-a442-541d093b86b9_sap_system_discovery.json new file mode 100644 index 0000000000..741e8b9f7b --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0097_b767b3e9-e802-587e-a442-541d093b86b9_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"Databases":[{"Active":"yes","Container":"","Database":"HDP","Group":"","GroupId":"","Host":"vmhdbprd02","SqlPort":"31015","User":"","UserId":""}],"Id":"1154f7678ac587e5f0f242830a5201f1","Instances":[{"HdbnsutilSRstate":{"active_primary_site":"1","hasConsumers":"false","isConsumer":"true","isPrimarySuspended":"false","isSource":"false","isTakeoverActive":"false","isTimetravelEnabled":"false","mapping/vmhdbprd02":["WDF/vmhdbprd02","NBG/vmhdbprd01"],"mode":"sync","online":"true","operation_mode":"logreplay","primary_masters":"vmhdbprd01","replayMode":"auto","siteMapping/NBG":"WDF","siteOperationMode/NBG":"primary","siteOperationMode/WDF":"logreplay","siteReplicationMode/NBG":"primary","siteReplicationMode/WDF":"sync","siteTier/NBG":"1","siteTier/WDF":"2","site_id":"2","site_name":"WDF"},"Host":"vmhdbprd02","HostConfiguration":{"failoverActualGroup":"default","failoverConfigGroup":"default","failoverStatus":"","host":"vmhdbprd02","hostActive":"yes","hostActualRoles":"worker","hostConfigRoles":"worker","hostStatus":"ok","indexServerActualRole":"master","indexServerConfigRole":"worker","nameServerActualRole":"master","nameServerConfigRole":"master 1","removeStatus":"","storageActualPartition":"1","storageConfigPartition":"1","storagePartition":"1","workerActualGroups":"default","workerConfigGroups":"default"},"Name":"HDB10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"HDB|HDB_WORKER","hostname":"vmhdbprd02","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.3"}],"Processes":[{"description":"HDB Daemon","dispstatus":"SAPControl-GREEN","elapsedtime":"151:15:40","name":"hdbdaemon","pid":7464,"starttime":"2022 01 11 13:36:18","textstatus":"Running"},{"description":"HDB XSEngine-HDP","dispstatus":"SAPControl-GREEN","elapsedtime":"151:15:24","name":"hdbxsengine","pid":8467,"starttime":"2022 01 11 13:36:34","textstatus":"Running"},{"description":"HDB Nameserver","dispstatus":"SAPControl-GREEN","elapsedtime":"151:15:40","name":"hdbnameserver","pid":7484,"starttime":"2022 01 11 13:36:18","textstatus":"Running"},{"description":"HDB Indexserver-HDP","dispstatus":"SAPControl-GREEN","elapsedtime":"151:15:24","name":"hdbindexserver","pid":8460,"starttime":"2022 01 11 13:36:34","textstatus":"Running"},{"description":"HDB Preprocessor","dispstatus":"SAPControl-GREEN","elapsedtime":"151:15:25","name":"hdbpreprocessor","pid":8253,"starttime":"2022 01 11 13:36:33","textstatus":"Running"},{"description":"HDB Compileserver","dispstatus":"SAPControl-GREEN","elapsedtime":"151:15:25","name":"hdbcompileserver","pid":8250,"starttime":"2022 01 11 13:36:33","textstatus":"Running"},{"description":"HDB Web Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"151:15:15","name":"hdbwebdispatcher","pid":9083,"starttime":"2022 01 11 13:36:43","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"DBServices","propertytype":"Attribute","value":"YES"},{"property":"HANA Roles","propertytype":"Attribute","value":"worker"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"vmhdbprd02"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"HDB10"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"HDP"},{"property":"StartPriority","propertytype":"Attribute","value":"0.3"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://vmhdbprd02:51013/sapparamEN.html"}]},"SystemReplication":{"local_site_id":"2","site/2/PRIMARY_MASTERS":"vmhdbprd01","site/2/REPLICATION_MODE":"SYNC","site/2/SITE_NAME":"WDF","site/2/SOURCE_SITE_ID":"1"},"Type":1}],"Profile":{"HDB_LINKED_BINARIES":"yes","HDB_SHARED_BINARIES":"yes","SAPGLOBALHOST":"vmhdbprd02","SAPSYSTEMNAME":"HDP","hdbConfigType":"DEFAULT","ssl/ciphersuites":"135:PFS:HIGH::EC_P256:EC_HIGH"},"SID":"HDP","Type":1}],"discovery_type":"sap_system_discovery","agent_id":"b767b3e9-e802-587e-a442-541d093b86b9"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0098_b767b3e9-e802-587e-a442-541d093b86b9_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0098_b767b3e9-e802-587e-a442-541d093b86b9_saptune_discovery.json new file mode 100644 index 0000000000..d80ce56a8f --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0098_b767b3e9-e802-587e-a442-541d093b86b9_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.1.0","saptune_installed":true,"status":{"$schema":"file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json","argv":"saptune --format json status","command":"status","exit code":4,"messages":[{"message":"actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n","priority":"NOTICE"},{"message":"sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n","priority":"WARNING"},{"message":"sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n","priority":"WARNING"},{"message":"ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n","priority":"NOTICE"}],"pid":24623,"publish time":"2023-04-24 12:41:56.612","result":{"Notes applied":["941735","1771258","1868829","1980196","2578899","2684254","2382421","2534844","2993054","1656250"],"Notes applied by Solution":[{"Note list":["941735","1771258","1868829","1980196","2578899","2684254","2382421","2534844","2993054","1656250"],"Solution ID":"HANA"}],"Notes enabled":["941735","1771258","1868829","1980196","2578899","2684254","2382421","2534844","2993054","1656250"],"Notes enabled additionally":[],"Notes enabled by Solution":[{"Note list":["941735","1771258","1868829","1980196","2578899","2684254","2382421","2534844","2993054","1656250"],"Solution ID":"HANA"}],"Solution applied":[{"Solution ID":"HANA","applied partially":false}],"Solution enabled":["HANA"],"configured version":"3","package version":"3.1.0","remember message":"\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n","services":{"sapconf":[],"saptune":["enabled","active"],"tuned":[]},"staging":{"Notes staged":[],"Solutions staged":[],"staging enabled":false},"systemd system state":"running","tuning state":"compliant","virtualization":"oracle"}}},"discovery_type":"saptune_discovery","agent_id":"b767b3e9-e802-587e-a442-541d093b86b9"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0099_b767b3e9-e802-587e-a442-541d093b86b9_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0099_b767b3e9-e802-587e-a442-541d093b86b9_subscription_discovery.json new file mode 100644 index 0000000000..cf0b89bb26 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0099_b767b3e9-e802-587e-a442-541d093b86b9_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"b767b3e9-e802-587e-a442-541d093b86b9"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0100_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0100_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_ha_cluster_discovery.json new file mode 100644 index 0000000000..e1a9c17a4e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0100_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"drbd_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmdrbdqas01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmdrbdqas02"}],"Resources":{"Clones":[{"Id":"cl-nfsserver","MetaAttributes":[{"Id":"cl-nfsserver-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"systemd","Id":"nfsserver","InstanceAttributes":null,"MetaAttributes":null,"Operations":[{"Id":"nfsserver-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"","Type":"nfs-server"}}],"Groups":[{"Id":"g-nfs_sapdata","Primitives":[{"Class":"ocf","Id":"fs_sapdata","InstanceAttributes":[{"Id":"fs_sapdata-instance_attributes-device","Name":"device","Value":"/dev/drbd1"},{"Id":"fs_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWQ"},{"Id":"fs_sapdata-instance_attributes-fstype","Name":"fstype","Value":"xfs"},{"Id":"fs_sapdata-instance_attributes-options","Name":"options","Value":"noatime,nodiratime"}],"MetaAttributes":null,"Operations":[{"Id":"fs_sapdata-monitor-20","Interval":"20","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"vip_sapdata_nfs","InstanceAttributes":[{"Id":"vip_sapdata_nfs-instance_attributes-ip","Name":"ip","Value":"10.90.1.33"},{"Id":"vip_sapdata_nfs-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"32"},{"Id":"vip_sapdata_nfs-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"vip_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"exportfs_work_sapdata","InstanceAttributes":[{"Id":"exportfs_work_sapdata-instance_attributes-directory","Name":"directory","Value":"/mnt_permanent/sapdata/NWQ"},{"Id":"exportfs_work_sapdata-instance_attributes-fsid","Name":"fsid","Value":"1"},{"Id":"exportfs_work_sapdata-instance_attributes-options","Name":"options","Value":"rw,no_root_squash"},{"Id":"exportfs_work_sapdata-instance_attributes-clientspec","Name":"clientspec","Value":"*"},{"Id":"exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop","Name":"wait_for_leasetime_on_stop","Value":"true"}],"MetaAttributes":null,"Operations":[{"Id":"exportfs_work_sapdata-monitor-30s","Interval":"30s","Name":"monitor","Role":"","Timeout":""}],"Provider":"heartbeat","Type":"exportfs"},{"Class":"ocf","Id":"rsc_socat_sapdata_nfs","InstanceAttributes":[{"Id":"rsc_socat_sapdata_nfs-instance_attributes-port","Name":"port","Value":"61000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_sapdata_nfs-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"ms_sapdata","MetaAttributes":[{"Id":"ms_sapdata-meta_attributes-master-max","Name":"master-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-master-node-max","Name":"master-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-0-clone-max","Name":"clone-max","Value":"2"},{"Id":"ms_sapdata-meta_attributes-0-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"ms_sapdata-meta_attributes-1-notify","Name":"notify","Value":"true"},{"Id":"ms_sapdata-meta_attributes-1-target-role","Name":"target-role","Value":"Started"}],"Primitive":{"Class":"ocf","Id":"drbd-sapdata","InstanceAttributes":[{"Id":"drbd-sapdata-instance_attributes-drbd_resource","Name":"drbd_resource","Value":"sapdata"}],"MetaAttributes":null,"Operations":[{"Id":"drbd-sapdata-monitor-15","Interval":"15","Name":"monitor","Role":"Master","Timeout":""},{"Id":"drbd-sapdata-monitor-30","Interval":"30","Name":"monitor","Role":"Slave","Timeout":""}],"Provider":"linbit","Type":"drbd"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"ms_sapdata","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":true,"Agent":"ocf::linbit:drbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"drbd-sapdata","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbdqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cl-nfsserver","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"systemd:nfs-server","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"nfsserver","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmdrbdqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g-nfs_sapdata","Resources":[{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"fs_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"vip_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:exportfs","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"exportfs_work_sapdata","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_sapdata_nfs","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbdqas01"},{"Attributes":[{"Name":"master-drbd-sapdata","Value":"10000"}],"Name":"vmdrbdqas02"}]},"NodeHistory":{"Nodes":[{"Name":"vmdrbdqas01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"fs_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"vip_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"exportfs_work_sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_sapdata_nfs"},{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]},{"Name":"vmdrbdqas02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"drbd-sapdata"},{"FailCount":0,"MigrationThreshold":5000,"Name":"nfsserver"}]}]},"Nodes":[{"DC":false,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmdrbdqas01","Online":true,"Pending":false,"ResourcesRunning":7,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":true,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmdrbdqas02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmdrbdqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 12:20:56 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":false,"Id":"a034a158905404befe08775682910ee1","Name":"drbd_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:c1c003f5-4e45-4d6f-8d81-e338f666365c","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:c1c003f5-4e45-4d6f-8d81-e338f666365c","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"f5991966-5a7f-45d6-90d1-bfcedb265df6"},"List":[{"Id":0,"Name":"vmdrbdqas01","Status":"clear"},{"Id":1,"Name":"vmdrbdqas02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"ddcb7992-2ffb-5c10-8b39-80685f6eaaba"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0101_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0101_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_host_discovery.json new file mode 100644 index 0000000000..e81e3c7321 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0101_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmdrbdqas01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmdrbdqas01","ip_addresses":["127.0.0.1","::1","10.90.1.31","10.90.1.33","fe80::6245:bdff:fe8d:c2"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"ddcb7992-2ffb-5c10-8b39-80685f6eaaba"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0102_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0102_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_sap_system_discovery.json new file mode 100644 index 0000000000..c5e9af45e4 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0102_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"ddcb7992-2ffb-5c10-8b39-80685f6eaaba"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0103_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0103_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_saptune_discovery.json new file mode 100644 index 0000000000..68aef4a58e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0103_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"ddcb7992-2ffb-5c10-8b39-80685f6eaaba"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0104_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0104_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_subscription_discovery.json new file mode 100644 index 0000000000..eeddd8e517 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0104_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"ddcb7992-2ffb-5c10-8b39-80685f6eaaba"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0105_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0105_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_ha_cluster_discovery.json new file mode 100644 index 0000000000..6cbb906672 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0105_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":null},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"hana_cluster_2"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"},{"Id":"SAPHanaSR-hana_hdq_site_srHook_WDF","Name":"hana_hdq_site_srHook_WDF","Value":"SOK"}]},"Nodes":[{"Id":"1","InstanceAttributes":[{"Id":"nodes-1-lpa_hdq_lpt","Name":"lpa_hdq_lpt","Value":"1643125033"},{"Id":"nodes-1-hana_hdq_vhost","Name":"hana_hdq_vhost","Value":"vmhdbqas01"},{"Id":"nodes-1-hana_hdq_site","Name":"hana_hdq_site","Value":"NBG"},{"Id":"nodes-1-hana_hdq_op_mode","Name":"hana_hdq_op_mode","Value":"logreplay"},{"Id":"nodes-1-hana_hdq_srmode","Name":"hana_hdq_srmode","Value":"sync"},{"Id":"nodes-1-hana_hdq_remoteHost","Name":"hana_hdq_remoteHost","Value":"vmhdbqas02"}],"Uname":"vmhdbqas01"},{"Id":"2","InstanceAttributes":[{"Id":"nodes-2-lpa_hdq_lpt","Name":"lpa_hdq_lpt","Value":"30"},{"Id":"nodes-2-hana_hdq_op_mode","Name":"hana_hdq_op_mode","Value":"logreplay"},{"Id":"nodes-2-hana_hdq_vhost","Name":"hana_hdq_vhost","Value":"vmhdbqas02"},{"Id":"nodes-2-hana_hdq_remoteHost","Name":"hana_hdq_remoteHost","Value":"vmhdbqas01"},{"Id":"nodes-2-hana_hdq_site","Name":"hana_hdq_site","Value":"WDF"},{"Id":"nodes-2-hana_hdq_srmode","Name":"hana_hdq_srmode","Value":"sync"}],"Uname":"vmhdbqas02"}],"Resources":{"Clones":[{"Id":"cln_SAPHanaTopology_HDQ_HDB10","MetaAttributes":[{"Id":"cln_SAPHanaTopology_HDQ_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"cln_SAPHanaTopology_HDQ_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHanaTopology_HDQ_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-instance_attributes-SID","Name":"SID","Value":"HDQ"},{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"600"},{"Id":"rsc_SAPHanaTopology_HDQ_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"300"}],"Provider":"suse","Type":"SAPHanaTopology"}}],"Groups":[{"Id":"g_ip_HDQ_HDB10","Primitives":[{"Class":"ocf","Id":"rsc_ip_HDQ_HDB10","InstanceAttributes":[{"Id":"rsc_ip_HDQ_HDB10-instance_attributes-ip","Name":"ip","Value":"10.90.1.13"},{"Id":"rsc_ip_HDQ_HDB10-instance_attributes-cidr_netmask","Name":"cidr_netmask","Value":"24"},{"Id":"rsc_ip_HDQ_HDB10-instance_attributes-nic","Name":"nic","Value":"eth0"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_HDQ_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDQ_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"20"},{"Id":"rsc_ip_HDQ_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_socat_HDQ_HDB10","InstanceAttributes":[{"Id":"rsc_socat_HDQ_HDB10-instance_attributes-port","Name":"port","Value":"62510"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_HDQ_HDB10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":[{"Id":"msl_SAPHana_HDQ_HDB10","MetaAttributes":[{"Id":"msl_SAPHana_HDQ_HDB10-meta_attributes-clone-max","Name":"clone-max","Value":"2"},{"Id":"msl_SAPHana_HDQ_HDB10-meta_attributes-clone-node-max","Name":"clone-node-max","Value":"1"},{"Id":"msl_SAPHana_HDQ_HDB10-meta_attributes-interleave","Name":"interleave","Value":"true"}],"Primitive":{"Class":"ocf","Id":"rsc_SAPHana_HDQ_HDB10","InstanceAttributes":[{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-SID","Name":"SID","Value":"HDQ"},{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-InstanceNumber","Name":"InstanceNumber","Value":"10"},{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-PREFER_SITE_TAKEOVER","Name":"PREFER_SITE_TAKEOVER","Value":"True"},{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-AUTOMATED_REGISTER","Name":"AUTOMATED_REGISTER","Value":"False"},{"Id":"rsc_SAPHana_HDQ_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT","Name":"DUPLICATE_PRIMARY_TIMEOUT","Value":"7200"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_SAPHana_HDQ_HDB10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDQ_HDB10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDQ_HDB10-promote-0","Interval":"0","Name":"promote","Role":"","Timeout":"3600"},{"Id":"rsc_SAPHana_HDQ_HDB10-monitor-60","Interval":"60","Name":"monitor","Role":"Master","Timeout":"700"},{"Id":"rsc_SAPHana_HDQ_HDB10-monitor-61","Interval":"61","Name":"monitor","Role":"Slave","Timeout":"700"}],"Provider":"suse","Type":"SAPHana"}}],"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"15"}],"MetaAttributes":null,"Operations":[{"Id":"stonith-sbd-monitor-15","Interval":"15","Name":"monitor","Role":"","Timeout":"15"}],"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":[{"Failed":false,"FailureIgnored":false,"Id":"msl_SAPHana_HDQ_HDB10","Managed":true,"MultiState":true,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Master"},{"Active":true,"Agent":"ocf::suse:SAPHana","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHana_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Slave"}],"Unique":false},{"Failed":false,"FailureIgnored":false,"Id":"cln_SAPHanaTopology_HDQ_HDB10","Managed":true,"MultiState":false,"Resources":[{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::suse:SAPHanaTopology","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_SAPHanaTopology_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmhdbqas02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Unique":false}],"Groups":[{"Id":"g_ip_HDQ_HDB10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_HDQ_HDB10","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"hana_hdq_clone_state","Value":"PROMOTED"},{"Name":"hana_hdq_op_mode","Value":"logreplay"},{"Name":"hana_hdq_remoteHost","Value":"vmhdbqas02"},{"Name":"hana_hdq_roles","Value":"4:P:master1:master:worker:master"},{"Name":"hana_hdq_site","Value":"NBG"},{"Name":"hana_hdq_srmode","Value":"sync"},{"Name":"hana_hdq_sync_state","Value":"PRIM"},{"Name":"hana_hdq_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdq_vhost","Value":"vmhdbqas01"},{"Name":"lpa_hdq_lpt","Value":"1643125033"},{"Name":"master-rsc_SAPHana_HDQ_HDB10","Value":"150"}],"Name":"vmhdbqas01"},{"Attributes":[{"Name":"hana_hdq_clone_state","Value":"DEMOTED"},{"Name":"hana_hdq_op_mode","Value":"logreplay"},{"Name":"hana_hdq_remoteHost","Value":"vmhdbqas01"},{"Name":"hana_hdq_roles","Value":"4:S:master1:master:worker:master"},{"Name":"hana_hdq_site","Value":"WDF"},{"Name":"hana_hdq_srmode","Value":"sync"},{"Name":"hana_hdq_sync_state","Value":"SOK"},{"Name":"hana_hdq_version","Value":"2.00.057.00.1629894416"},{"Name":"hana_hdq_vhost","Value":"vmhdbqas02"},{"Name":"lpa_hdq_lpt","Value":"30"},{"Name":"master-rsc_SAPHana_HDQ_HDB10","Value":"100"}],"Name":"vmhdbqas02"}]},"NodeHistory":{"Nodes":[{"Name":"vmhdbqas01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_ip_HDQ_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_socat_HDQ_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDQ_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDQ_HDB10"}]},{"Name":"vmhdbqas02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHana_HDQ_HDB10"},{"FailCount":0,"MigrationThreshold":5000,"Name":"rsc_SAPHanaTopology_HDQ_HDB10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmhdbqas01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmhdbqas02","Online":true,"Pending":false,"ResourcesRunning":2,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmhdbqas01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 25 15:37:13 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":7}},"Version":"2.0.5"},"DC":false,"Id":"4e905d706da85f5be14f85fa947c1e39","Name":"hana_cluster_2","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-360014058d88c7795c6a4b66bc024f4bd","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-360014058d88c7795c6a4b66bc024f4bd","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"246da75b-af59-4135-b980-90bf87815e2e"},"List":[{"Id":0,"Name":"vmhdbqas01","Status":"clear"},{"Id":1,"Name":"vmhdbqas02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"e0c182db-32ff-55c6-a9eb-2b82dd21bc8b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0106_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0106_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_host_discovery.json new file mode 100644 index 0000000000..06cab84de7 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0106_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":4,"fully_qualified_domain_name":"vmhdbqas02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmhdbqas02","ip_addresses":["127.0.0.1","::1","10.90.1.12","fe80::6245:bdff:fe8d:8b3"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":32107},"discovery_type":"host_discovery","agent_id":"e0c182db-32ff-55c6-a9eb-2b82dd21bc8b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0107_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0107_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_sap_system_discovery.json new file mode 100644 index 0000000000..dfbb7a95be --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0107_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"Databases":[{"Active":"yes","Container":"","Database":"HDQ","Group":"","GroupId":"","Host":"vmhdbqas02","SqlPort":"31015","User":"","UserId":""}],"Id":"9953878f07bb54cac20d5d5d7ff08af2","Instances":[{"HdbnsutilSRstate":{"active_primary_site":"1","hasConsumers":"false","isConsumer":"true","isPrimarySuspended":"false","isSource":"false","isTakeoverActive":"false","isTimetravelEnabled":"false","mapping/vmhdbqas02":["WDF/vmhdbqas02","NBG/vmhdbqas01"],"mode":"sync","online":"true","operation_mode":"logreplay","primary_masters":"vmhdbqas01","replayMode":"auto","siteMapping/NBG":"WDF","siteOperationMode/NBG":"primary","siteOperationMode/WDF":"logreplay","siteReplicationMode/NBG":"primary","siteReplicationMode/WDF":"sync","siteTier/NBG":"1","siteTier/WDF":"2","site_id":"2","site_name":"WDF"},"Host":"vmhdbqas02","HostConfiguration":{"failoverActualGroup":"default","failoverConfigGroup":"default","failoverStatus":"","host":"vmhdbqas02","hostActive":"yes","hostActualRoles":"worker","hostConfigRoles":"worker","hostStatus":"ok","indexServerActualRole":"master","indexServerConfigRole":"worker","nameServerActualRole":"master","nameServerConfigRole":"master 1","removeStatus":"","storageActualPartition":"1","storageConfigPartition":"1","storagePartition":"1","workerActualGroups":"default","workerConfigGroups":"default"},"Name":"HDB10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"HDB|HDB_WORKER","hostname":"vmhdbqas02","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.3"}],"Processes":[{"description":"HDB Daemon","dispstatus":"SAPControl-GREEN","elapsedtime":"152:21:46","name":"hdbdaemon","pid":29597,"starttime":"2022 01 11 12:30:14","textstatus":"Running"},{"description":"HDB XSEngine-HDQ","dispstatus":"SAPControl-GREEN","elapsedtime":"152:21:33","name":"hdbxsengine","pid":30148,"starttime":"2022 01 11 12:30:27","textstatus":"Running"},{"description":"HDB Nameserver","dispstatus":"SAPControl-GREEN","elapsedtime":"152:21:46","name":"hdbnameserver","pid":29727,"starttime":"2022 01 11 12:30:14","textstatus":"Running"},{"description":"HDB Indexserver-HDQ","dispstatus":"SAPControl-GREEN","elapsedtime":"152:21:33","name":"hdbindexserver","pid":30145,"starttime":"2022 01 11 12:30:27","textstatus":"Running"},{"description":"HDB Preprocessor","dispstatus":"SAPControl-GREEN","elapsedtime":"152:21:34","name":"hdbpreprocessor","pid":30047,"starttime":"2022 01 11 12:30:26","textstatus":"Running"},{"description":"HDB Compileserver","dispstatus":"SAPControl-GREEN","elapsedtime":"152:21:34","name":"hdbcompileserver","pid":30044,"starttime":"2022 01 11 12:30:26","textstatus":"Running"},{"description":"HDB Web Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"152:21:25","name":"hdbwebdispatcher","pid":30855,"starttime":"2022 01 11 12:30:35","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"DBServices","propertytype":"Attribute","value":"YES"},{"property":"HANA Roles","propertytype":"Attribute","value":"worker"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"vmhdbqas02"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"HDB10"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"HDQ"},{"property":"StartPriority","propertytype":"Attribute","value":"0.3"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://vmhdbqas02:51013/sapparamEN.html"}]},"SystemReplication":{"local_site_id":"2","site/2/PRIMARY_MASTERS":"vmhdbqas01","site/2/REPLICATION_MODE":"SYNC","site/2/SITE_NAME":"WDF","site/2/SOURCE_SITE_ID":"1"},"Type":1}],"Profile":{"HDB_LINKED_BINARIES":"yes","HDB_SHARED_BINARIES":"yes","SAPGLOBALHOST":"vmhdbqas02","SAPSYSTEMNAME":"HDQ","hdbConfigType":"DEFAULT","ssl/ciphersuites":"135:PFS:HIGH::EC_P256:EC_HIGH"},"SID":"HDQ","Type":1}],"discovery_type":"sap_system_discovery","agent_id":"e0c182db-32ff-55c6-a9eb-2b82dd21bc8b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0108_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0108_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_saptune_discovery.json new file mode 100644 index 0000000000..f2c57b3d23 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0108_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"3.0.0","saptune_installed":true,"status":null},"discovery_type":"saptune_discovery","agent_id":"e0c182db-32ff-55c6-a9eb-2b82dd21bc8b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0109_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0109_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_subscription_discovery.json new file mode 100644 index 0000000000..9e2f67dba4 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0109_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"e0c182db-32ff-55c6-a9eb-2b82dd21bc8b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0110_f0c808b3-d869-5192-a944-20f66a6a8449_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0110_f0c808b3-d869-5192-a944-20f66a6a8449_host_discovery.json new file mode 100644 index 0000000000..702a359a2a --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0110_f0c808b3-d869-5192-a944-20f66a6a8449_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":1,"fully_qualified_domain_name":"vmiscsi01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmiscsi01","ip_addresses":["127.0.0.1","::1","10.90.1.4","fe80::222:48ff:fe7f:d2f9"],"netmasks":["8","128","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":3422},"discovery_type":"host_discovery","agent_id":"f0c808b3-d869-5192-a944-20f66a6a8449"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0111_f0c808b3-d869-5192-a944-20f66a6a8449_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0111_f0c808b3-d869-5192-a944-20f66a6a8449_sap_system_discovery.json new file mode 100644 index 0000000000..74b7b695d5 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0111_f0c808b3-d869-5192-a944-20f66a6a8449_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[],"discovery_type":"sap_system_discovery","agent_id":"f0c808b3-d869-5192-a944-20f66a6a8449"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0112_f0c808b3-d869-5192-a944-20f66a6a8449_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0112_f0c808b3-d869-5192-a944-20f66a6a8449_saptune_discovery.json new file mode 100644 index 0000000000..be3db66b4f --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0112_f0c808b3-d869-5192-a944-20f66a6a8449_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"f0c808b3-d869-5192-a944-20f66a6a8449"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0113_f0c808b3-d869-5192-a944-20f66a6a8449_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0113_f0c808b3-d869-5192-a944-20f66a6a8449_subscription_discovery.json new file mode 100644 index 0000000000..c9bb94222d --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0113_f0c808b3-d869-5192-a944-20f66a6a8449_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"f0c808b3-d869-5192-a944-20f66a6a8449"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0114_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0114_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_ha_cluster_discovery.json new file mode 100644 index 0000000000..5bcfc7cc56 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0114_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_ha_cluster_discovery.json @@ -0,0 +1 @@ +{"payload":{"Cib":{"Configuration":{"Constraints":{"RscLocations":[{"Id":"loc_sap_NWD_failover_to_ers","Node":"","Resource":"rsc_sap_NWD_ASCS00","Role":"","Score":""}]},"CrmConfig":{"ClusterProperties":[{"Id":"cib-bootstrap-options-have-watchdog","Name":"have-watchdog","Value":"true"},{"Id":"cib-bootstrap-options-dc-version","Name":"dc-version","Value":"2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712"},{"Id":"cib-bootstrap-options-cluster-infrastructure","Name":"cluster-infrastructure","Value":"corosync"},{"Id":"cib-bootstrap-options-cluster-name","Name":"cluster-name","Value":"netweaver_cluster"},{"Id":"cib-bootstrap-options-stonith-enabled","Name":"stonith-enabled","Value":"true"},{"Id":"cib-bootstrap-options-stonith-timeout","Name":"stonith-timeout","Value":"144s"},{"Id":"cib-bootstrap-options-maintenance-mode","Name":"maintenance-mode","Value":"false"}]},"Nodes":[{"Id":"1","InstanceAttributes":null,"Uname":"vmnwdev01"},{"Id":"2","InstanceAttributes":null,"Uname":"vmnwdev02"}],"Resources":{"Clones":null,"Groups":[{"Id":"grp_NWD_ASCS00","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWD_ASCS00","InstanceAttributes":[{"Id":"rsc_ip_NWD_ASCS00-instance_attributes-ip","Name":"ip","Value":"10.100.1.25"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWD_ASCS00-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWD_ASCS00","InstanceAttributes":[{"Id":"rsc_fs_NWD_ASCS00-instance_attributes-device","Name":"device","Value":"10.100.1.33:/NWD/ASCS"},{"Id":"rsc_fs_NWD_ASCS00-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWD/ASCS00"},{"Id":"rsc_fs_NWD_ASCS00-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWD_ASCS00-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWD_ASCS00-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWD_ASCS00-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWD_ASCS00","InstanceAttributes":[{"Id":"rsc_sap_NWD_ASCS00-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWD_ASCS00_sapnwdas"},{"Id":"rsc_sap_NWD_ASCS00-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWD/profile/NWD_ASCS00_sapnwdas"},{"Id":"rsc_sap_NWD_ASCS00-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"}],"MetaAttributes":[{"Id":"rsc_sap_NWD_ASCS00-meta_attributes-resource-stickiness","Name":"resource-stickiness","Value":"5000"},{"Id":"rsc_sap_NWD_ASCS00-meta_attributes-failure-timeout","Name":"failure-timeout","Value":"60"},{"Id":"rsc_sap_NWD_ASCS00-meta_attributes-migration-threshold","Name":"migration-threshold","Value":"1"},{"Id":"rsc_sap_NWD_ASCS00-meta_attributes-priority","Name":"priority","Value":"10"}],"Operations":[{"Id":"rsc_sap_NWD_ASCS00-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWD_ASCS00","InstanceAttributes":[{"Id":"rsc_socat_NWD_ASCS00-instance_attributes-port","Name":"port","Value":"62000"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWD_ASCS00-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]},{"Id":"grp_NWD_ERS10","Primitives":[{"Class":"ocf","Id":"rsc_ip_NWD_ERS10","InstanceAttributes":[{"Id":"rsc_ip_NWD_ERS10-instance_attributes-ip","Name":"ip","Value":"10.100.1.26"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_ip_NWD_ERS10-monitor-10s","Interval":"10s","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"IPaddr2"},{"Class":"ocf","Id":"rsc_fs_NWD_ERS10","InstanceAttributes":[{"Id":"rsc_fs_NWD_ERS10-instance_attributes-device","Name":"device","Value":"10.100.1.33:/NWD/ERS"},{"Id":"rsc_fs_NWD_ERS10-instance_attributes-directory","Name":"directory","Value":"/usr/sap/NWD/ERS10"},{"Id":"rsc_fs_NWD_ERS10-instance_attributes-fstype","Name":"fstype","Value":"nfs4"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_fs_NWD_ERS10-start-0","Interval":"0","Name":"start","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWD_ERS10-stop-0","Interval":"0","Name":"stop","Role":"","Timeout":"60s"},{"Id":"rsc_fs_NWD_ERS10-monitor-20s","Interval":"20s","Name":"monitor","Role":"","Timeout":"40s"}],"Provider":"heartbeat","Type":"Filesystem"},{"Class":"ocf","Id":"rsc_sap_NWD_ERS10","InstanceAttributes":[{"Id":"rsc_sap_NWD_ERS10-instance_attributes-InstanceName","Name":"InstanceName","Value":"NWD_ERS10_sapnwder"},{"Id":"rsc_sap_NWD_ERS10-instance_attributes-START_PROFILE","Name":"START_PROFILE","Value":"/sapmnt/NWD/profile/NWD_ERS10_sapnwder"},{"Id":"rsc_sap_NWD_ERS10-instance_attributes-AUTOMATIC_RECOVER","Name":"AUTOMATIC_RECOVER","Value":"false"},{"Id":"rsc_sap_NWD_ERS10-instance_attributes-IS_ERS","Name":"IS_ERS","Value":"true"}],"MetaAttributes":[{"Id":"rsc_sap_NWD_ERS10-meta_attributes-priority","Name":"priority","Value":"1000"}],"Operations":[{"Id":"rsc_sap_NWD_ERS10-operations-monitor-120","Interval":"120","Name":"monitor","Role":"","Timeout":"60"}],"Provider":"heartbeat","Type":"SAPInstance"},{"Class":"ocf","Id":"rsc_socat_NWD_ERS10","InstanceAttributes":[{"Id":"rsc_socat_NWD_ERS10-instance_attributes-port","Name":"port","Value":"62110"}],"MetaAttributes":null,"Operations":[{"Id":"rsc_socat_NWD_ERS10-monitor-10","Interval":"10","Name":"monitor","Role":"","Timeout":"20s"}],"Provider":"heartbeat","Type":"azure-lb"}]}],"Masters":null,"Primitives":[{"Class":"stonith","Id":"stonith-sbd","InstanceAttributes":[{"Id":"stonith-sbd-instance_attributes-pcmk_delay_max","Name":"pcmk_delay_max","Value":"30s"}],"MetaAttributes":null,"Operations":null,"Provider":"","Type":"external/sbd"}]}}},"Crmmon":{"Clones":null,"Groups":[{"Id":"grp_NWD_ASCS00","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWD_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWD_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWD_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWD_ASCS00","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]},{"Id":"grp_NWD_ERS10","Resources":[{"Active":true,"Agent":"ocf::heartbeat:IPaddr2","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_ip_NWD_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:Filesystem","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_fs_NWD_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:SAPInstance","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_sap_NWD_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"},{"Active":true,"Agent":"ocf::heartbeat:azure-lb","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"rsc_socat_NWD_ERS10","Managed":true,"Node":{"Cached":true,"Id":"2","Name":"vmnwdev02"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}]}],"NodeAttributes":{"Nodes":[{"Attributes":[{"Name":"runs_ers_NWD","Value":"1"}],"Name":"vmnwdev02"}]},"NodeHistory":{"Nodes":[{"Name":"vmnwdev01","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"stonith-sbd"},{"FailCount":0,"MigrationThreshold":1,"Name":"rsc_sap_NWD_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWD_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWD_ASCS00"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_fs_NWD_ASCS00"}]},{"Name":"vmnwdev02","ResourceHistory":[{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_ip_NWD_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_fs_NWD_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_sap_NWD_ERS10"},{"FailCount":0,"MigrationThreshold":3,"Name":"rsc_socat_NWD_ERS10"}]}]},"Nodes":[{"DC":true,"ExpectedUp":true,"Id":"1","Maintenance":false,"Name":"vmnwdev01","Online":true,"Pending":false,"ResourcesRunning":5,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false},{"DC":false,"ExpectedUp":true,"Id":"2","Maintenance":false,"Name":"vmnwdev02","Online":true,"Pending":false,"ResourcesRunning":4,"Shutdown":false,"Standby":false,"StandbyOnFail":false,"Type":"member","Unclean":false}],"Resources":[{"Active":true,"Agent":"stonith:external/sbd","Blocked":false,"Failed":false,"FailureIgnored":false,"Id":"stonith-sbd","Managed":true,"Node":{"Cached":true,"Id":"1","Name":"vmnwdev01"},"NodesRunningOn":1,"Orphaned":false,"Role":"Started"}],"Summary":{"ClusterOptions":{"StonithEnabled":true},"LastChange":{"Time":"Tue Jan 11 12:55:06 2022"},"Nodes":{"Number":2},"Resources":{"Blocked":0,"Disabled":0,"Number":9}},"Version":"2.0.5"},"DC":false,"Id":"057f083c3be591f4398eed816d4c8cd7","Name":"netweaver_cluster","Provider":"azure","SBD":{"Config":{"SBD_DELAY_START":"yes","SBD_DEVICE":"/dev/disk/by-id/scsi-36001405f01eb5f4c5c941e499beb055d","SBD_MOVE_TO_ROOT_CGROUP":"auto","SBD_OPTS":"","SBD_PACEMAKER":"yes","SBD_STARTMODE":"always","SBD_SYNC_RESOURCE_STARTUP":"no","SBD_TIMEOUT_ACTION":"flush,reboot","SBD_WATCHDOG_DEV":"/dev/watchdog","SBD_WATCHDOG_TIMEOUT":"5"},"Devices":[{"Device":"/dev/disk/by-id/scsi-36001405f01eb5f4c5c941e499beb055d","Dump":{"Header":"2.1","SectorSize":512,"Slots":255,"TimeoutAllocate":2,"TimeoutLoop":1,"TimeoutMsgwait":10,"TimeoutWatchdog":5,"Uuid":"4e8adda1-da35-4ee4-92b9-a134494861f0"},"List":[{"Id":0,"Name":"vmnwdev01","Status":"clear"},{"Id":1,"Name":"vmnwdev02","Status":"clear"}],"Status":"healthy"}]}},"discovery_type":"ha_cluster_discovery","agent_id":"fb2c6b8a-9915-5969-a6b7-8b5a42de1971"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0115_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0115_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_host_discovery.json new file mode 100644 index 0000000000..180aa57d2b --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0115_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_host_discovery.json @@ -0,0 +1 @@ +{"payload":{"agent_version":"2.1.0","cpu_count":2,"fully_qualified_domain_name":"vmnwdev02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net","hostname":"vmnwdev02","ip_addresses":["127.0.0.1","::1","10.100.1.22","10.100.1.26","fe80::6245:bdff:fe8d:9c7d"],"netmasks":["8","128","24","24","64"],"os_version":"15-SP3","socket_count":1,"total_memory_mb":7951},"discovery_type":"host_discovery","agent_id":"fb2c6b8a-9915-5969-a6b7-8b5a42de1971"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0116_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0116_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_sap_system_discovery.json new file mode 100644 index 0000000000..1a626077c5 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0116_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.100.1.13","Databases":null,"Id":"a1e80e3e152a903662f7882fb3f8a851","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwdev02","HostConfiguration":null,"Name":"ERS10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwdas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwder","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwdpas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwdaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"EnqueueReplicator","dispstatus":"SAPControl-GREEN","elapsedtime":"151:56:49","name":"enrepserver","pid":6720,"starttime":"2022 01 11 12:55:17","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwder"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"ERS10"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWD"},{"property":"StartPriority","propertytype":"Attribute","value":"0.5"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwder:51013/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"10.100.1.13","SAPGLOBALHOST":"sapnwdas","SAPSYSTEMNAME":"NWD","dbms/name":"HDD","dbms/type":"hdb","dbs/hdb/dbname":"HDD","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwdas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwdas","rdisp/msserv":"sapmsNWD","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWD","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"fb2c6b8a-9915-5969-a6b7-8b5a42de1971"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0117_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0117_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_saptune_discovery.json new file mode 100644 index 0000000000..bf56c65005 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0117_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_saptune_discovery.json @@ -0,0 +1 @@ +{"payload":{"package_version":"","saptune_installed":false,"status":null},"discovery_type":"saptune_discovery","agent_id":"fb2c6b8a-9915-5969-a6b7-8b5a42de1971"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0118_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0118_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_subscription_discovery.json new file mode 100644 index 0000000000..b26b9316f5 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0118_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_subscription_discovery.json @@ -0,0 +1 @@ +{"payload":[{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"SLES_SAP","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-basesystem","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-desktop-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-server-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","expires_at":"2026-10-18 06:23:46 UTC","identifier":"sle-ha","starts_at":"2021-10-18 06:23:46 UTC","status":"Registered","subscription_status":"ACTIVE","type":"internal","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-sap-applications","status":"Registered","version":"15.3"},{"arch":"x86_64","identifier":"sle-module-public-cloud","status":"Registered","version":"15.3"}],"discovery_type":"subscription_discovery","agent_id":"fb2c6b8a-9915-5969-a6b7-8b5a42de1971"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0119_21de186a-e38f-5804-b643-7f4ef22fecfd_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0119_21de186a-e38f-5804-b643-7f4ef22fecfd_cloud_discovery.json new file mode 100644 index 0000000000..ca574fa063 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0119_21de186a-e38f-5804-b643-7f4ef22fecfd_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmdrbddev02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmdrbddev02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Standard_LRS"},"name":"disk-vmdrbddev02-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmdrbddev02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"99ef5ab8-73b5-4ca9-8c37-6778e2d6abc1","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.32","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D95F1"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"21de186a-e38f-5804-b643-7f4ef22fecfd"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0120_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0120_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_cloud_discovery.json new file mode 100644 index 0000000000..56d0ff70ff --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0120_240f96b1-8d26-53b7-9e99-ffb0f2e735bf_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmdrbddev01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmdrbddev01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Standard_LRS"},"name":"disk-vmdrbddev01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmdrbddev01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"5e294482-9554-4989-8b9e-a0a2d3991c09","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.31","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8A5969"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"240f96b1-8d26-53b7-9e99-ffb0f2e735bf"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0121_25677e37-fd33-5005-896c-9275b1284534_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0121_25677e37-fd33-5005-896c-9275b1284534_cloud_discovery.json new file mode 100644 index 0000000000..ab22dfa764 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0121_25677e37-fd33-5005-896c-9275b1284534_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwqas01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwqas01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"2f1d001b-7ba0-49f3-afbd-c5668684a0a4","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.90.1.21","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.90.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D0A30"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"25677e37-fd33-5005-896c-9275b1284534"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0123_3711ea88-9ccc-5b07-8f9d-042be449d72b_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0123_3711ea88-9ccc-5b07-8f9d-042be449d72b_cloud_discovery.json new file mode 100644 index 0000000000..2c0c10a372 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0123_3711ea88-9ccc-5b07-8f9d-042be449d72b_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwqas02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwqas02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"173ff22d-bb92-493a-a6b2-6a269614f178","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.90.1.22","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.90.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D06EF"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"3711ea88-9ccc-5b07-8f9d-042be449d72b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0125_422686d6-b2d1-5092-93e8-a744854f5085_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0125_422686d6-b2d1-5092-93e8-a744854f5085_cloud_discovery.json new file mode 100644 index 0000000000..2c36bc62d2 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0125_422686d6-b2d1-5092-93e8-a744854f5085_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmdrbdqas02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmdrbdqas02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Standard_LRS"},"name":"disk-vmdrbdqas02-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmdrbdqas02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"cee2a7db-7fb7-4c51-928e-214966364f8f","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.90.1.32","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.90.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D0523"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"422686d6-b2d1-5092-93e8-a744854f5085"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0126_4b30a6af-4b52-5bda-bccb-f2248a12c992_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0126_4b30a6af-4b52-5bda-bccb-f2248a12c992_cloud_discovery.json new file mode 100644 index 0000000000..a4cbc9318f --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0126_4b30a6af-4b52-5bda-bccb-f2248a12c992_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwprd02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwprd02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"2c54a8bf-b71d-423b-a656-34bcc575970e","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.22","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A2E8038"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"4b30a6af-4b52-5bda-bccb-f2248a12c992"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0128_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0128_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_cloud_discovery.json new file mode 100644 index 0000000000..ec1c280bb5 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0128_69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmiscsi01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmiscsi01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"StandardSSD_LRS"},"name":"disk-iscsisrv01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-iscsisrv01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"458cb0ec-254e-4f68-873a-2d26e1e40c26","vmSize":"Standard_DS1_v2"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.4","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A2AAABE"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"69f4dcbb-efa2-5a16-8bc8-01df7dbb7384"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0129_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0129_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_cloud_discovery.json new file mode 100644 index 0000000000..19112813e3 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0129_7269ee51-5007-5849-aaa7-7c4a98b0c9ce_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwdev01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwdev01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"84e20bce-76e8-4d55-bdea-7ec3faff60f2","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.21","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8A5CE7"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"7269ee51-5007-5849-aaa7-7c4a98b0c9ce"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0131_927901fa-2c87-524e-b18c-3ef5187f504f_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0131_927901fa-2c87-524e-b18c-3ef5187f504f_cloud_discovery.json new file mode 100644 index 0000000000..55586838f0 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0131_927901fa-2c87-524e-b18c-3ef5187f504f_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmdrbdprd02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmdrbdprd02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Standard_LRS"},"name":"disk-vmdrbdprd02-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmdrbdprd02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"f89fef5e-e7e3-469d-b819-a0154be6150c","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.32","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A2E8B91"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"927901fa-2c87-524e-b18c-3ef5187f504f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0132_99cf8a3a-48d6-57a4-b302-6e4482227ab6_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0132_99cf8a3a-48d6-57a4-b302-6e4482227ab6_cloud_discovery.json new file mode 100644 index 0000000000..0c911943ae --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0132_99cf8a3a-48d6-57a4-b302-6e4482227ab6_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmhdbqas01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmhdbqas01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"1","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas01-Data02","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"2","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas01-Data03","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"3","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas01-Data04","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"4","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas01-Data05","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"5","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas01-Data06","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"6","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas01-Data07","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"f01d07fa-c7eb-477a-9de1-eef7e946fdbe","vmSize":"Standard_E4s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.90.1.11","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.90.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D01D5"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"99cf8a3a-48d6-57a4-b302-6e4482227ab6"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0133_9a26b6d0-6e72-597c-9fe5-152a6875f214_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0133_9a26b6d0-6e72-597c-9fe5-152a6875f214_cloud_discovery.json new file mode 100644 index 0000000000..119998c0e9 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0133_9a26b6d0-6e72-597c-9fe5-152a6875f214_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmiscsi01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmiscsi01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"StandardSSD_LRS"},"name":"disk-iscsisrv01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-iscsisrv01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"f57047ca-95a3-473a-8294-079c5173576a","vmSize":"Standard_DS1_v2"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.4","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A2E835A"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"9a26b6d0-6e72-597c-9fe5-152a6875f214"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0134_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0134_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_cloud_discovery.json new file mode 100644 index 0000000000..0f847ff0f0 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0134_9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwdev03","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwdev03","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Attach","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver01-App","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver03-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"14173622-8d19-4e09-9661-2bfb236b01e4","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.23","publicIpAddress":"XX.XXX.XX.XXX"},{"privateIpAddress":"10.100.1.27"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D9EF4"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0135_9cd46919-5f19-59aa-993e-cf3736c71053_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0135_9cd46919-5f19-59aa-993e-cf3736c71053_cloud_discovery.json new file mode 100644 index 0000000000..7a601ab75e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0135_9cd46919-5f19-59aa-993e-cf3736c71053_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmhdbprd01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmhdbprd01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"1","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd01-Data02","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"2","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd01-Data03","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"3","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd01-Data04","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"4","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd01-Data05","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"5","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd01-Data06","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"6","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd01-Data07","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"ee7cf44b-d202-4680-b331-1b3996f2f0e7","vmSize":"Standard_E4s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.11","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A232C6B"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"9cd46919-5f19-59aa-993e-cf3736c71053"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0136_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0136_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_cloud_discovery.json new file mode 100644 index 0000000000..1541488e5e --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0136_a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmdrbdprd01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmdrbdprd01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Standard_LRS"},"name":"disk-vmdrbdprd01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmdrbdprd01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"e9ba1f36-712a-4cbf-b279-b0801a4f6506","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.31","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A257DF0"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"a09d9cf3-46c1-505c-8fb8-4b0a71a9114e"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0137_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0137_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_cloud_discovery.json new file mode 100644 index 0000000000..8ffba77fae --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0137_a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwprd03","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwprd03","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Attach","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver01-App","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver03-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"21d17480-4282-4e38-84aa-3e14716ebc42","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.23","publicIpAddress":"XX.XXX.XX.XXX"},{"privateIpAddress":"10.80.1.27"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A257F83"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0138_b767b3e9-e802-587e-a442-541d093b86b9_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0138_b767b3e9-e802-587e-a442-541d093b86b9_cloud_discovery.json new file mode 100644 index 0000000000..f1b645b975 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0138_b767b3e9-e802-587e-a442-541d093b86b9_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmhdbprd02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmhdbprd02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd02-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"1","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd02-Data02","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"2","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd02-Data03","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"3","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd02-Data04","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"4","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd02-Data05","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"5","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd02-Data06","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"6","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd02-Data07","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbprd02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"cdec8bb8-ec3f-437a-89dd-3df677e1507e","vmSize":"Standard_E4s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.12","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A21F108"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"b767b3e9-e802-587e-a442-541d093b86b9"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0139_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0139_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_cloud_discovery.json new file mode 100644 index 0000000000..6b0f170bd4 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0139_ddcb7992-2ffb-5c10-8b39-80685f6eaaba_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmdrbdqas01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmdrbdqas01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Standard_LRS"},"name":"disk-vmdrbdqas01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmdrbdqas01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"9c5b4666-5356-4347-b688-6954027283a1","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.90.1.31","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.90.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D00C2"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"ddcb7992-2ffb-5c10-8b39-80685f6eaaba"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0140_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0140_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_cloud_discovery.json new file mode 100644 index 0000000000..00fc9dc0ce --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0140_e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmhdbqas02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmhdbqas02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas02-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"1","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas02-Data02","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"2","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas02-Data03","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"3","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas02-Data04","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"4","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas02-Data05","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"5","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas02-Data06","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"6","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas02-Data07","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbqas02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"7b21fd90-d128-4e25-8812-2fef28f94839","vmSize":"Standard_E4s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.90.1.12","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.90.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D08B3"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"e0c182db-32ff-55c6-a9eb-2b82dd21bc8b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0141_f0c808b3-d869-5192-a944-20f66a6a8449_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0141_f0c808b3-d869-5192-a944-20f66a6a8449_cloud_discovery.json new file mode 100644 index 0000000000..f4c3a37348 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0141_f0c808b3-d869-5192-a944-20f66a6a8449_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmiscsi01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmiscsi01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Empty","diskSizeGB":"10","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"StandardSSD_LRS"},"name":"disk-iscsisrv01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-iscsisrv01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"aa051519-6d23-461a-af09-8b3a2203ed04","vmSize":"Standard_DS1_v2"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.90.1.4","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.90.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"0022487FD2F9"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"f0c808b3-d869-5192-a944-20f66a6a8449"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0142_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0142_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_cloud_discovery.json new file mode 100644 index 0000000000..179d0963b6 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0142_fb2c6b8a-9915-5969-a6b7-8b5a42de1971_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwdev02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwdev02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"84f224b2-ad29-41a7-94ae-26ced84cdace","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.22","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D9C7D"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"fb2c6b8a-9915-5969-a6b7-8b5a42de1971"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0144_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0144_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_cloud_discovery.json new file mode 100644 index 0000000000..b031b793e5 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0144_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmhdbdev02","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmhdbdev02","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev02-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"1","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev02-Data02","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"2","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev02-Data03","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"3","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev02-Data04","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"4","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev02-Data05","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"5","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev02-Data06","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"6","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev02-Data07","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev02-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"90ec8d3d-71a6-42ac-83d7-abf93669c72d","vmSize":"Standard_E4s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.12","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8A5F6B"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0145_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0145_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_sap_system_discovery.json new file mode 100644 index 0000000000..8a279fb1a5 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0145_0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"Databases":[{"Active":"yes","Container":"","Database":"HDD","Group":"","GroupId":"","Host":"vmhdbdev02","SqlPort":"31015","User":"","UserId":""}],"Id":"fd44c254ccb14331e54015c720c7a1f2","Instances":[{"HdbnsutilSRstate":{"active_primary_site":"1","hasConsumers":"false","isConsumer":"true","isPrimarySuspended":"false","isSource":"false","isTakeoverActive":"false","isTimetravelEnabled":"false","mapping/vmhdbdev02":["WDF/vmhdbdev02","NBG/vmhdbdev01"],"mode":"sync","online":"true","operation_mode":"logreplay","primary_masters":"vmhdbdev01","replayMode":"auto","siteMapping/NBG":"WDF","siteOperationMode/NBG":"primary","siteOperationMode/WDF":"logreplay","siteReplicationMode/NBG":"primary","siteReplicationMode/WDF":"sync","siteTier/NBG":"1","siteTier/WDF":"2","site_id":"2","site_name":"WDF"},"Host":"vmhdbdev02","HostConfiguration":{"failoverActualGroup":"default","failoverConfigGroup":"default","failoverStatus":"","host":"vmhdbdev02","hostActive":"yes","hostActualRoles":"worker","hostConfigRoles":"worker","hostStatus":"ok","indexServerActualRole":"master","indexServerConfigRole":"worker","nameServerActualRole":"master","nameServerConfigRole":"master 1","removeStatus":"","storageActualPartition":"1","storageConfigPartition":"1","storagePartition":"1","workerActualGroups":"default","workerConfigGroups":"default"},"Name":"HDB10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"HDB|HDB_WORKER","hostname":"vmhdbdev02","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.3"}],"Processes":[{"description":"HDB Daemon","dispstatus":"SAPControl-GREEN","elapsedtime":"151:54:31","name":"hdbdaemon","pid":24133,"starttime":"2022 01 11 12:57:31","textstatus":"Running"},{"description":"HDB XSEngine-HDD","dispstatus":"SAPControl-GREEN","elapsedtime":"151:54:17","name":"hdbxsengine","pid":24925,"starttime":"2022 01 11 12:57:45","textstatus":"Running"},{"description":"HDB Nameserver","dispstatus":"SAPControl-GREEN","elapsedtime":"151:54:30","name":"hdbnameserver","pid":24153,"starttime":"2022 01 11 12:57:32","textstatus":"Running"},{"description":"HDB Indexserver-HDD","dispstatus":"SAPControl-GREEN","elapsedtime":"151:54:17","name":"hdbindexserver","pid":24916,"starttime":"2022 01 11 12:57:45","textstatus":"Running"},{"description":"HDB Preprocessor","dispstatus":"SAPControl-GREEN","elapsedtime":"151:54:18","name":"hdbpreprocessor","pid":24822,"starttime":"2022 01 11 12:57:44","textstatus":"Running"},{"description":"HDB Compileserver","dispstatus":"SAPControl-GREEN","elapsedtime":"151:54:18","name":"hdbcompileserver","pid":24819,"starttime":"2022 01 11 12:57:44","textstatus":"Running"},{"description":"HDB Web Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"151:54:09","name":"hdbwebdispatcher","pid":25653,"starttime":"2022 01 11 12:57:53","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"DBServices","propertytype":"Attribute","value":"YES"},{"property":"HANA Roles","propertytype":"Attribute","value":"worker"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"vmhdbdev02"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"HDB10"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"HDD"},{"property":"StartPriority","propertytype":"Attribute","value":"0.3"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://vmhdbdev02:51013/sapparamEN.html"}]},"SystemReplication":{"local_site_id":"2","site/2/PRIMARY_MASTERS":"vmhdbdev01","site/2/REPLICATION_MODE":"SYNC","site/2/SITE_NAME":"WDF","site/2/SOURCE_SITE_ID":"1"},"Type":1}],"Profile":{"HDB_LINKED_BINARIES":"yes","HDB_SHARED_BINARIES":"yes","SAPGLOBALHOST":"vmhdbdev02","SAPSYSTEMNAME":"HDD","hdbConfigType":"DEFAULT","ssl/ciphersuites":"135:PFS:HIGH::EC_P256:EC_HIGH"},"SID":"HDD","Type":1}],"discovery_type":"sap_system_discovery","agent_id":"0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0146_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0146_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_cloud_discovery.json new file mode 100644 index 0000000000..1c5ee06a0a --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0146_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwprd04","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwprd04","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Attach","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver02-App","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver04-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"a7321bd7-c191-4650-b368-9c0b7bf04de6","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.24","publicIpAddress":"XX.XXX.XX.XXX"},{"privateIpAddress":"10.80.1.28"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A2E8FAD"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"0fc07435-7ee2-54ca-b0de-fb27ffdc5deb"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0148_116d49bd-85e1-5e59-b820-83f66db8800c_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0148_116d49bd-85e1-5e59-b820-83f66db8800c_cloud_discovery.json new file mode 100644 index 0000000000..e408937d10 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0148_116d49bd-85e1-5e59-b820-83f66db8800c_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwprd01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwprd01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"0","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"63306bd8-a7f8-49ab-8156-5d4aa928fa7a","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.80.1.21","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.80.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"000D3A2E8F04"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"116d49bd-85e1-5e59-b820-83f66db8800c"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0150_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0150_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_cloud_discovery.json new file mode 100644 index 0000000000..d7c9cd6fe0 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0150_13e8c25c-3180-5a9a-95c8-51ec38e50cfc_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmhdbdev01","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmhdbdev01","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"1","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev01-Data01","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"1","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev01-Data02","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"2","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev01-Data03","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"3","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev01-Data04","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"4","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev01-Data05","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"5","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev01-Data06","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},{"caching":"None","createOption":"Empty","diskSizeGB":"128","image":{"uri":""},"lun":"6","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev01-Data07","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-vmhdbdev01-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"a187496f-69bd-48fa-81a4-749e51f08b8b","vmSize":"Standard_E4s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.11","publicIpAddress":"XX.XXX.XX.XXX"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D9B69"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"13e8c25c-3180-5a9a-95c8-51ec38e50cfc"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0151_1b0e9297-97dd-55d6-9874-8efde4d84c90_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0151_1b0e9297-97dd-55d6-9874-8efde4d84c90_cloud_discovery.json new file mode 100644 index 0000000000..4a7800102b --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0151_1b0e9297-97dd-55d6-9874-8efde4d84c90_cloud_discovery.json @@ -0,0 +1 @@ +{"payload":{"Metadata":{"compute":{"azEnvironment":"AzurePublicCloud","isHostCompatibilityLayerVm":"false","location":"westeurope","name":"vmnwdev04","offer":"sles-sap-15-sp3-byos","osProfile":{"adminUsername":"cloudadmin","computerName":"vmnwdev04","disablePasswordAuthentication":"true"},"osType":"Linux","plan":{},"platformFaultDomain":"1","platformUpdateDomain":"0","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-no-see","path":"ssh-no-see"}],"publisher":"SUSE","resourceGroupName":"resourceGroupName","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"gen2","storageProfile":{"dataDisks":[{"caching":"ReadWrite","createOption":"Attach","diskSizeGB":"128","image":{"uri":""},"lun":"0","managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver02-App","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}],"imageReference":{"offer":"sles-sap-15-sp3-byos","publisher":"SUSE","sku":"gen2","version":"latest"},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"30","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000","storageAccountType":"Premium_LRS"},"name":"disk-netweaver04-Os","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"}},"subscriptionId":"00000000-0000-0000-0000-000000000000","tags":"fake-tags","tagsList":[{"name":"Cost Center","value":"00000000"},{"name":"Department","value":"EI"},{"name":"Environment","value":"Development"},{"name":"Finance Business Partner","value":"John Doe"},{"name":"General Ledger Code","value":"100000000"},{"name":"Group","value":"SAP Solutions"},{"name":"Owner","value":"John Doe"},{"name":"Stakeholder","value":"John Doe"},{"name":"workspace","value":"xxxxxxx"}],"version":"2021.12.19","vmId":"48a84b30-7cfb-4b74-ad43-8382ad07ed9b","vmSize":"Standard_D2s_v3"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"10.100.1.24","publicIpAddress":"XX.XXX.XX.XXX"},{"privateIpAddress":"10.100.1.28"}],"subnet":[{"address":"10.100.1.0","prefix":"24"}]},"ipv6":{},"macAddress":"6045BD8D9A74"}]}},"Provider":"azure"},"discovery_type":"cloud_discovery","agent_id":"1b0e9297-97dd-55d6-9874-8efde4d84c90"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0152_098fc159-3ed6-58e7-91be-38fda8a833ea_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0152_098fc159-3ed6-58e7-91be-38fda8a833ea_sap_system_discovery.json new file mode 100644 index 0000000000..80ffc8ce8d --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0152_098fc159-3ed6-58e7-91be-38fda8a833ea_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.90.1.13","Databases":null,"Id":"d01fdc69aeba7bd5133b210eb2884853","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwqas03","HostConfiguration":null,"Name":"D01","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwqas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwqer","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwqpas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwqaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"Gateway","dispstatus":"SAPControl-GREEN","elapsedtime":"8:09:29","name":"gwrd","pid":17085,"starttime":"2022 01 17 12:42:04","textstatus":"Running"},{"description":"ICM","dispstatus":"SAPControl-GREEN","elapsedtime":"8:09:29","name":"icman","pid":17086,"starttime":"2022 01 17 12:42:04","textstatus":"Running"},{"description":"IGS Watchdog","dispstatus":"SAPControl-GREEN","elapsedtime":"8:09:30","name":"igswd_mt","pid":17081,"starttime":"2022 01 17 12:42:03","textstatus":"Running"},{"description":"Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"8:09:30","name":"disp+work","pid":17080,"starttime":"2022 01 17 12:42:03","textstatus":"Running"}],"Properties":[{"property":"ICM","propertytype":"NodeURL","value":"HTTP://sapnwqpas:0/sap/admin/public/index.html"},{"property":"IGS","propertytype":"NodeURL","value":"http://sapnwqpas:40180"},{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"ICM Cache","propertytype":"NodeWebmethod","value":"ICMGetCacheEntries"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"01"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"ICM Threads","propertytype":"NodeWebmethod","value":"ICMGetThreadList"},{"property":"Open Alerts","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwqpas"},{"property":"ABAP WP Table","propertytype":"NodeWebmethod","value":"ABAPGetWPTable"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"D01"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWQ"},{"property":"StartPriority","propertytype":"Attribute","value":"3"},{"property":"Current Status","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Gateway Clients","propertytype":"NodeWebmethod","value":"GWGetClientList"},{"property":"ICM Connections","propertytype":"NodeWebmethod","value":"ICMGetConnectionList"},{"property":"Queue Statistic","propertytype":"NodeWebmethod","value":"GetQueueStatistic"},{"property":"Gateway Connections","propertytype":"NodeWebmethod","value":"GWGetConnectionList"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"ICM Proxy Connections","propertytype":"NodeWebmethod","value":"ICMGetProxyConnectionList"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwqpas:50113/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"ha-cluster.suse.de","SAPGLOBALHOST":"sapnwqas","SAPSYSTEMNAME":"NWQ","dbms/name":"HDQ","dbms/type":"hdb","dbs/hdb/dbname":"HDQ","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwqas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwqas","rdisp/msserv":"sapmsNWQ","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWQ","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"098fc159-3ed6-58e7-91be-38fda8a833ea"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0153_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0153_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_sap_system_discovery.json new file mode 100644 index 0000000000..a7958850bf --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0153_0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.80.1.13","Databases":null,"Id":"97a1e70aeff3c0685d65c4c3d32d533b","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwprd04","HostConfiguration":null,"Name":"D02","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwpas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwper","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwppas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwpaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"Gateway","dispstatus":"SAPControl-GREEN","elapsedtime":"151:06:03","name":"gwrd","pid":7759,"starttime":"2022 01 11 13:46:05","textstatus":"Running"},{"description":"ICM","dispstatus":"SAPControl-GREEN","elapsedtime":"151:06:03","name":"icman","pid":7760,"starttime":"2022 01 11 13:46:05","textstatus":"Running"},{"description":"IGS Watchdog","dispstatus":"SAPControl-GREEN","elapsedtime":"151:06:05","name":"igswd_mt","pid":7741,"starttime":"2022 01 11 13:46:03","textstatus":"Running"},{"description":"Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"151:06:05","name":"disp+work","pid":7740,"starttime":"2022 01 11 13:46:03","textstatus":"Running"}],"Properties":[{"property":"ICM","propertytype":"NodeURL","value":"HTTP://sapnwpaas1:0/sap/admin/public/index.html"},{"property":"IGS","propertytype":"NodeURL","value":"http://sapnwpaas1:40280"},{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"ICM Cache","propertytype":"NodeWebmethod","value":"ICMGetCacheEntries"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"02"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"ICM Threads","propertytype":"NodeWebmethod","value":"ICMGetThreadList"},{"property":"Open Alerts","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwpaas1"},{"property":"ABAP WP Table","propertytype":"NodeWebmethod","value":"ABAPGetWPTable"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"D02"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWP"},{"property":"StartPriority","propertytype":"Attribute","value":"3"},{"property":"Current Status","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Gateway Clients","propertytype":"NodeWebmethod","value":"GWGetClientList"},{"property":"ICM Connections","propertytype":"NodeWebmethod","value":"ICMGetConnectionList"},{"property":"Queue Statistic","propertytype":"NodeWebmethod","value":"GetQueueStatistic"},{"property":"Gateway Connections","propertytype":"NodeWebmethod","value":"GWGetConnectionList"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"ICM Proxy Connections","propertytype":"NodeWebmethod","value":"ICMGetProxyConnectionList"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwpaas1:50213/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"10.80.1.13","SAPGLOBALHOST":"sapnwpas","SAPSYSTEMNAME":"NWP","dbms/name":"HDP","dbms/type":"hdb","dbs/hdb/dbname":"HDP","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwpas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwpas","rdisp/msserv":"sapmsNWP","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWP","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"0fc07435-7ee2-54ca-b0de-fb27ffdc5deb"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0154_116d49bd-85e1-5e59-b820-83f66db8800c_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0154_116d49bd-85e1-5e59-b820-83f66db8800c_sap_system_discovery.json new file mode 100644 index 0000000000..dabe023608 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0154_116d49bd-85e1-5e59-b820-83f66db8800c_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.80.1.13","Databases":null,"Id":"97a1e70aeff3c0685d65c4c3d32d533b","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwprd01","HostConfiguration":null,"Name":"ASCS00","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwpas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwper","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwppas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwpaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"EnqueueServer","dispstatus":"SAPControl-GREEN","elapsedtime":"151:08:47","name":"enserver","pid":24167,"starttime":"2022 01 11 13:43:17","textstatus":"Running"},{"description":"MessageServer","dispstatus":"SAPControl-GREEN","elapsedtime":"151:08:47","name":"msg_server","pid":24166,"starttime":"2022 01 11 13:43:17","textstatus":"Running"}],"Properties":[{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"00"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Enque Locks","propertytype":"NodeWebmethod","value":"EnqGetLockTable"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwpas"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"ASCS00"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWP"},{"property":"StartPriority","propertytype":"Attribute","value":"1"},{"property":"CentralServices","propertytype":"Attribute","value":"YES"},{"property":"Enque Statistic","propertytype":"NodeWebmethod","value":"EnqGetStatistic"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwpas:50013/sapparamEN.html"},{"property":"SupportsUpdateSCSInstance","propertytype":"Attribute","value":"YES"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"10.80.1.13","SAPGLOBALHOST":"sapnwpas","SAPSYSTEMNAME":"NWP","dbms/name":"HDP","dbms/type":"hdb","dbs/hdb/dbname":"HDP","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwpas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwpas","rdisp/msserv":"sapmsNWP","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWP","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"116d49bd-85e1-5e59-b820-83f66db8800c"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0155_25677e37-fd33-5005-896c-9275b1284534_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0155_25677e37-fd33-5005-896c-9275b1284534_sap_system_discovery.json new file mode 100644 index 0000000000..03c2c29b8a --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0155_25677e37-fd33-5005-896c-9275b1284534_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.90.1.13","Databases":null,"Id":"d01fdc69aeba7bd5133b210eb2884853","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwqas01","HostConfiguration":null,"Name":"ASCS00","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwqas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwqer","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwqpas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwqaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"EnqueueServer","dispstatus":"SAPControl-GREEN","elapsedtime":"8:11:38","name":"enserver","pid":16279,"starttime":"2022 01 17 12:40:24","textstatus":"Running"},{"description":"MessageServer","dispstatus":"SAPControl-GREEN","elapsedtime":"8:11:38","name":"msg_server","pid":16278,"starttime":"2022 01 17 12:40:24","textstatus":"Running"}],"Properties":[{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"00"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Enque Locks","propertytype":"NodeWebmethod","value":"EnqGetLockTable"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwqas"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"ASCS00"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWQ"},{"property":"StartPriority","propertytype":"Attribute","value":"1"},{"property":"CentralServices","propertytype":"Attribute","value":"YES"},{"property":"Enque Statistic","propertytype":"NodeWebmethod","value":"EnqGetStatistic"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwqas:50013/sapparamEN.html"},{"property":"SupportsUpdateSCSInstance","propertytype":"Attribute","value":"YES"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"ha-cluster.suse.de","SAPGLOBALHOST":"sapnwqas","SAPSYSTEMNAME":"NWQ","dbms/name":"HDQ","dbms/type":"hdb","dbs/hdb/dbname":"HDQ","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwqas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwqas","rdisp/msserv":"sapmsNWQ","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWQ","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"25677e37-fd33-5005-896c-9275b1284534"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0156_3711ea88-9ccc-5b07-8f9d-042be449d72b_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0156_3711ea88-9ccc-5b07-8f9d-042be449d72b_sap_system_discovery.json new file mode 100644 index 0000000000..1a2e6bf134 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0156_3711ea88-9ccc-5b07-8f9d-042be449d72b_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.90.1.13","Databases":null,"Id":"d01fdc69aeba7bd5133b210eb2884853","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwqas02","HostConfiguration":null,"Name":"ERS10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwqas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwqer","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwqpas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwqaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"EnqueueReplicator","dispstatus":"SAPControl-GREEN","elapsedtime":"8:10:52","name":"enrepserver","pid":9333,"starttime":"2022 01 17 12:41:17","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwqer"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"ERS10"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWQ"},{"property":"StartPriority","propertytype":"Attribute","value":"0.5"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwqer:51013/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"ha-cluster.suse.de","SAPGLOBALHOST":"sapnwqas","SAPSYSTEMNAME":"NWQ","dbms/name":"HDQ","dbms/type":"hdb","dbs/hdb/dbname":"HDQ","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwqas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwqas","rdisp/msserv":"sapmsNWQ","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWQ","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"3711ea88-9ccc-5b07-8f9d-042be449d72b"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0157_4b30a6af-4b52-5bda-bccb-f2248a12c992_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0157_4b30a6af-4b52-5bda-bccb-f2248a12c992_sap_system_discovery.json new file mode 100644 index 0000000000..afc9c8240a --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0157_4b30a6af-4b52-5bda-bccb-f2248a12c992_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.80.1.13","Databases":null,"Id":"97a1e70aeff3c0685d65c4c3d32d533b","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwprd02","HostConfiguration":null,"Name":"ERS10","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwpas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwper","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwppas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwpaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"EnqueueReplicator","dispstatus":"SAPControl-GREEN","elapsedtime":"151:08:42","name":"enrepserver","pid":23289,"starttime":"2022 01 11 13:43:18","textstatus":"Running"}],"Properties":[{"property":"SAPSYSTEM","propertytype":"Attribute","value":"10"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwper"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"ERS10"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWP"},{"property":"StartPriority","propertytype":"Attribute","value":"0.5"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwper:51013/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"10.80.1.13","SAPGLOBALHOST":"sapnwpas","SAPSYSTEMNAME":"NWP","dbms/name":"HDP","dbms/type":"hdb","dbs/hdb/dbname":"HDP","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwpas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwpas","rdisp/msserv":"sapmsNWP","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWP","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"4b30a6af-4b52-5bda-bccb-f2248a12c992"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0158_81e9b629-c1e7-538f-bff1-47d3a6580522_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0158_81e9b629-c1e7-538f-bff1-47d3a6580522_sap_system_discovery.json new file mode 100644 index 0000000000..1f432831c8 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0158_81e9b629-c1e7-538f-bff1-47d3a6580522_sap_system_discovery.json @@ -0,0 +1 @@ +{"payload":[{"DBAddress":"10.90.1.13","Databases":null,"Id":"d01fdc69aeba7bd5133b210eb2884853","Instances":[{"HdbnsutilSRstate":null,"Host":"vmnwqas04","HostConfiguration":null,"Name":"D02","SAPControl":{"Instances":[{"dispstatus":"SAPControl-GREEN","features":"MESSAGESERVER|ENQUE","hostname":"sapnwqas","httpPort":50013,"httpsPort":50014,"instanceNr":0,"startPriority":"1"},{"dispstatus":"SAPControl-GREEN","features":"ENQREP","hostname":"sapnwqer","httpPort":51013,"httpsPort":51014,"instanceNr":10,"startPriority":"0.5"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwqpas","httpPort":50113,"httpsPort":50114,"instanceNr":1,"startPriority":"3"},{"dispstatus":"SAPControl-GREEN","features":"ABAP|GATEWAY|ICMAN|IGS","hostname":"sapnwqaas1","httpPort":50213,"httpsPort":50214,"instanceNr":2,"startPriority":"3"}],"Processes":[{"description":"Gateway","dispstatus":"SAPControl-GREEN","elapsedtime":"8:08:39","name":"gwrd","pid":27154,"starttime":"2022 01 17 12:42:20","textstatus":"Running"},{"description":"ICM","dispstatus":"SAPControl-GREEN","elapsedtime":"8:08:39","name":"icman","pid":27155,"starttime":"2022 01 17 12:42:20","textstatus":"Running"},{"description":"IGS Watchdog","dispstatus":"SAPControl-GREEN","elapsedtime":"8:08:40","name":"igswd_mt","pid":27150,"starttime":"2022 01 17 12:42:19","textstatus":"Running"},{"description":"Dispatcher","dispstatus":"SAPControl-GREEN","elapsedtime":"8:08:40","name":"disp+work","pid":27149,"starttime":"2022 01 17 12:42:19","textstatus":"Running"}],"Properties":[{"property":"ICM","propertytype":"NodeURL","value":"HTTP://sapnwqaas1:0/sap/admin/public/index.html"},{"property":"IGS","propertytype":"NodeURL","value":"http://sapnwqaas1:40280"},{"property":"Syslog","propertytype":"NodeWebmethod","value":"ABAPReadSyslog"},{"property":"ICM Cache","propertytype":"NodeWebmethod","value":"ICMGetCacheEntries"},{"property":"SAPSYSTEM","propertytype":"Attribute","value":"02"},{"property":"Webmethods","propertytype":"Attribute","value":"Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile"},{"property":"ICM Threads","propertytype":"NodeWebmethod","value":"ICMGetThreadList"},{"property":"Open Alerts","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Process List","propertytype":"NodeWebmethod","value":"GetProcessList"},{"property":"SAPLOCALHOST","propertytype":"Attribute","value":"sapnwqaas1"},{"property":"ABAP WP Table","propertytype":"NodeWebmethod","value":"ABAPGetWPTable"},{"property":"Access Points","propertytype":"NodeWebmethod","value":"GetAccessPointList"},{"property":"INSTANCE_NAME","propertytype":"Attribute","value":"D02"},{"property":"Kernel Update","propertytype":"NodeURL","value":"https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT"},{"property":"SAPSYSTEMNAME","propertytype":"Attribute","value":"NWQ"},{"property":"StartPriority","propertytype":"Attribute","value":"3"},{"property":"Current Status","propertytype":"NodeWebmethod","value":"GetAlertTree"},{"property":"Gateway Clients","propertytype":"NodeWebmethod","value":"GWGetClientList"},{"property":"ICM Connections","propertytype":"NodeWebmethod","value":"ICMGetConnectionList"},{"property":"Queue Statistic","propertytype":"NodeWebmethod","value":"GetQueueStatistic"},{"property":"Gateway Connections","propertytype":"NodeWebmethod","value":"GWGetConnectionList"},{"property":"Protected Webmethods","propertytype":"Attribute","value":"ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata"},{"property":"ICM Proxy Connections","propertytype":"NodeWebmethod","value":"ICMGetProxyConnectionList"},{"property":"Parameter Documentation","propertytype":"NodeURL","value":"http://sapnwqaas1:50213/sapparamEN.html"}]},"SystemReplication":null,"Type":2}],"Profile":{"SAPDBHOST":"ha-cluster.suse.de","SAPGLOBALHOST":"sapnwqas","SAPSYSTEMNAME":"NWQ","dbms/name":"HDQ","dbms/type":"hdb","dbs/hdb/dbname":"HDQ","dbs/hdb/schema":"SAPABAP1","enque/deque_wait_answer":"TRUE","enque/process_location":"REMOTESA","enque/serverhost":"sapnwqas","enque/serverinst":"00","gw/acl_mode":"1","gw/sec_info":"$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)","icf/user_recheck":"1","icm/HTTP/ASJava/disable_url_session_tracking":"TRUE","is/HTTP/show_detailed_errors":"FALSE","login/password_downwards_compatibility":"0","login/system_client":"001","rdisp/autoabaptime":"0","rdisp/btctime":"0","rdisp/bufrefmode":"sendoff","rdisp/mshost":"sapnwqas","rdisp/msserv":"sapmsNWQ","rdisp/msserv_internal":"3900","rsdb/ssfs_connect":"0","rsec/ssfs_datapath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data","rsec/ssfs_keypath":"$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key","service/protectedwebmethods":"SDEFAULT","system/secure_communication":"ON","system/type":"ABAP","vmcj/enable":"off"},"SID":"NWQ","Type":2}],"discovery_type":"sap_system_discovery","agent_id":"81e9b629-c1e7-538f-bff1-47d3a6580522"} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_host_discovery.json deleted file mode 100644 index c75558e356..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "098fc159-3ed6-58e7-91be-38fda8a833ea", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwqas03", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.27", - "10.90.1.23", - "fe80::6245:bdff:fe8d:5d9" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwqas03.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_sap_system_discovery.json deleted file mode 100644 index 6646277ac3..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_sap_system_discovery.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "agent_id": "098fc159-3ed6-58e7-91be-38fda8a833ea", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "d01fdc69aeba7bd5133b210eb2884853", - "SID": "NWQ", - "Type": 2, - "DBAddress": "10.90.1.13", - "Profile": { - "SAPDBHOST": "ha-cluster.suse.de", - "dbms/name": "HDQ", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwqas", - "rdisp/msserv": "sapmsNWQ", - "SAPGLOBALHOST": "sapnwqas", - "SAPSYSTEMNAME": "NWQ", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDQ", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwqas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwqas03", - "Name": "D01", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwqas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwqer", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwqpas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwqaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 17085, - "name": "gwrd", - "starttime": "2022 01 17 12:42:04", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Gateway", - "elapsedtime": "8:09:29" - }, - { - "pid": 17086, - "name": "icman", - "starttime": "2022 01 17 12:42:04", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "ICM", - "elapsedtime": "8:09:29" - }, - { - "pid": 17081, - "name": "igswd_mt", - "starttime": "2022 01 17 12:42:03", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "IGS Watchdog", - "elapsedtime": "8:09:30" - }, - { - "pid": 17080, - "name": "disp+work", - "starttime": "2022 01 17 12:42:03", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Dispatcher", - "elapsedtime": "8:09:30" - } - ], - "Properties": [ - { - "value": "HTTP://sapnwqpas:0/sap/admin/public/index.html", - "property": "ICM", - "propertytype": "NodeURL" - }, - { - "value": "http://sapnwqpas:40180", - "property": "IGS", - "propertytype": "NodeURL" - }, - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetCacheEntries", - "property": "ICM Cache", - "propertytype": "NodeWebmethod" - }, - { - "value": "01", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetThreadList", - "property": "ICM Threads", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAlertTree", - "property": "Open Alerts", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwqpas", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "ABAPGetWPTable", - "property": "ABAP WP Table", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "D01", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWQ", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "GetAlertTree", - "property": "Current Status", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetClientList", - "property": "Gateway Clients", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetConnectionList", - "property": "ICM Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetQueueStatistic", - "property": "Queue Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetConnectionList", - "property": "Gateway Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetProxyConnectionList", - "property": "ICM Proxy Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "http://sapnwqpas:50113/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_saptune_discovery.json deleted file mode 100644 index a2a512fbda..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "098fc159-3ed6-58e7-91be-38fda8a833ea", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_subscription_discovery.json deleted file mode 100644 index 48cb0258b8..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/098fc159-3ed6-58e7-91be-38fda8a833ea_subscription_discovery.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "agent_id": "098fc159-3ed6-58e7-91be-38fda8a833ea", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "SLES_SAP" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-ha" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_cloud_discovery.json deleted file mode 100644 index eee3294ebe..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_cloud_discovery.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "90ec8d3d-71a6-42ac-83d7-abf93669c72d", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmhdbdev02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmhdbdev02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmhdbdev02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmhdbdev02-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "0" - }, - { - "name": "disk-vmhdbdev02-Data02", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "1" - }, - { - "name": "disk-vmhdbdev02-Data03", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "2" - }, - { - "name": "disk-vmhdbdev02-Data04", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "3" - }, - { - "name": "disk-vmhdbdev02-Data05", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "4" - }, - { - "name": "disk-vmhdbdev02-Data06", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "5" - }, - { - "name": "disk-vmhdbdev02-Data07", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "6" - } - ] - }, - "vmSize": "Standard_E4s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8A5F6B", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.12", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_ha_cluster_discovery.json deleted file mode 100644 index e30261a043..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_ha_cluster_discovery.json +++ /dev/null @@ -1,791 +0,0 @@ -{ - "agent_id": "0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "04b8f8c21f9fd8991224478e8c4362f8", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmhdbdev01", - "InstanceAttributes": [ - { - "Id": "nodes-1-lpa_hdd_lpt", - "Name": "lpa_hdd_lpt", - "Value": "10" - }, - { - "Id": "nodes-1-hana_hdd_vhost", - "Name": "hana_hdd_vhost", - "Value": "vmhdbdev01" - }, - { - "Id": "nodes-1-hana_hdd_site", - "Name": "hana_hdd_site", - "Value": "NBG" - }, - { - "Id": "nodes-1-hana_hdd_op_mode", - "Name": "hana_hdd_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-1-hana_hdd_srmode", - "Name": "hana_hdd_srmode", - "Value": "sync" - }, - { - "Id": "nodes-1-hana_hdd_remoteHost", - "Name": "hana_hdd_remoteHost", - "Value": "vmhdbdev02" - } - ] - }, - { - "Id": "2", - "Uname": "vmhdbdev02", - "InstanceAttributes": [ - { - "Id": "nodes-2-lpa_hdd_lpt", - "Name": "lpa_hdd_lpt", - "Value": "1643125026" - }, - { - "Id": "nodes-2-hana_hdd_op_mode", - "Name": "hana_hdd_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-2-hana_hdd_vhost", - "Name": "hana_hdd_vhost", - "Value": "vmhdbdev02" - }, - { - "Id": "nodes-2-hana_hdd_remoteHost", - "Name": "hana_hdd_remoteHost", - "Value": "vmhdbdev01" - }, - { - "Id": "nodes-2-hana_hdd_site", - "Name": "hana_hdd_site", - "Value": "WDF" - }, - { - "Id": "nodes-2-hana_hdd_srmode", - "Name": "hana_hdd_srmode", - "Value": "sync" - } - ] - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "hana_cluster_1" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - }, - { - "Id": "SAPHanaSR-hana_hdd_site_srHook_WDF", - "Name": "hana_hdd_site_srHook_WDF", - "Value": "PRIM" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cln_SAPHanaTopology_HDD_HDB10", - "Primitive": { - "Id": "rsc_SAPHanaTopology_HDD_HDB10", - "Type": "SAPHanaTopology", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "600", - "Interval": "10" - }, - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "300", - "Interval": "0" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDD" - }, - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - } - ] - }, - "MetaAttributes": [ - { - "Id": "cln_SAPHanaTopology_HDD_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "cln_SAPHanaTopology_HDD_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g_ip_HDD_HDB10", - "Primitives": [ - { - "Id": "rsc_ip_HDD_HDB10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_HDD_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDD_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDD_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_HDD_HDB10-instance_attributes-ip", - "Name": "ip", - "Value": "10.100.1.13" - }, - { - "Id": "rsc_ip_HDD_HDB10-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "24" - }, - { - "Id": "rsc_ip_HDD_HDB10-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "rsc_socat_HDD_HDB10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_HDD_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_HDD_HDB10-instance_attributes-port", - "Name": "port", - "Value": "62510" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "msl_SAPHana_HDD_HDB10", - "Primitive": { - "Id": "rsc_SAPHana_HDD_HDB10", - "Type": "SAPHana", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHana_HDD_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-promote-0", - "Name": "promote", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-monitor-60", - "Name": "monitor", - "Role": "Master", - "Timeout": "700", - "Interval": "60" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-monitor-61", - "Name": "monitor", - "Role": "Slave", - "Timeout": "700", - "Interval": "61" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDD" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-PREFER_SITE_TAKEOVER", - "Name": "PREFER_SITE_TAKEOVER", - "Value": "True" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-AUTOMATED_REGISTER", - "Name": "AUTOMATED_REGISTER", - "Value": "False" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT", - "Name": "DUPLICATE_PRIMARY_TIMEOUT", - "Value": "7200" - } - ] - }, - "MetaAttributes": [ - { - "Id": "msl_SAPHana_HDD_HDB10-meta_attributes-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "msl_SAPHana_HDD_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "msl_SAPHana_HDD_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": [ - { - "Id": "stonith-sbd-monitor-15", - "Name": "monitor", - "Role": "", - "Timeout": "15", - "Interval": "15" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "15" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:182cb1b1-a815-4b82-b538-7a166b9bbb4a", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "cc39771e-ea2f-4fb1-8968-a6176aee3d0a", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmhdbdev01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmhdbdev02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:182cb1b1-a815-4b82-b538-7a166b9bbb4a", - "Status": "healthy" - } - ] - }, - "Name": "hana_cluster_1", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmhdbdev01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - }, - { - "DC": false, - "Id": "2", - "Name": "vmhdbdev02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 4 - } - ], - "Clones": [ - { - "Id": "msl_SAPHana_HDD_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHana_HDD_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbdev02", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHana_HDD_HDB10", - "Node": null, - "Role": "Stopped", - "Agent": "ocf::suse:SAPHana", - "Active": false, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 0 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cln_SAPHanaTopology_HDD_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g_ip_HDD_HDB10", - "Resources": [ - { - "Id": "rsc_ip_HDD_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_HDD_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 7, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 25 15:37:06 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmhdbdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmhdbdev02", - "ResourceHistory": [ - { - "Name": "rsc_ip_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHana_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmhdbdev01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_ip_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHana_HDD_HDB10", - "FailCount": 1000000, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmhdbdev01", - "Attributes": [ - { - "Name": "hana_hdd_clone_state", - "Value": "UNDEFINED" - }, - { - "Name": "hana_hdd_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdd_remoteHost", - "Value": "vmhdbdev02" - }, - { - "Name": "hana_hdd_roles", - "Value": "1:P:master1::worker:" - }, - { - "Name": "hana_hdd_site", - "Value": "NBG" - }, - { - "Name": "hana_hdd_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdd_sync_state", - "Value": "SFAIL" - }, - { - "Name": "hana_hdd_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdd_vhost", - "Value": "vmhdbdev01" - }, - { - "Name": "lpa_hdd_lpt", - "Value": "10" - }, - { - "Name": "master-rsc_SAPHana_HDD_HDB10", - "Value": "-9000" - } - ] - }, - { - "Name": "vmhdbdev02", - "Attributes": [ - { - "Name": "hana_hdd_clone_state", - "Value": "PROMOTED" - }, - { - "Name": "hana_hdd_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdd_remoteHost", - "Value": "vmhdbdev01" - }, - { - "Name": "hana_hdd_roles", - "Value": "4:P:master1:master:worker:master" - }, - { - "Name": "hana_hdd_site", - "Value": "WDF" - }, - { - "Name": "hana_hdd_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdd_sync_state", - "Value": "PRIM" - }, - { - "Name": "hana_hdd_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdd_vhost", - "Value": "vmhdbdev02" - }, - { - "Name": "lpa_hdd_lpt", - "Value": "1643125026" - }, - { - "Name": "master-rsc_SAPHana_HDD_HDB10", - "Value": "150" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_host_discovery.json deleted file mode 100644 index 935eac51c0..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_host_discovery.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "agent_id": "0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmhdbdev02", - "cpu_count": 4, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.12", - "fe80::6245:bdff:fe8a:5f6b" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 32107, - "fully_qualified_domain_name": "vmhdbdev02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_sap_system_discovery.json deleted file mode 100644 index 89f43a5ed4..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_sap_system_discovery.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "agent_id": "0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "fd44c254ccb14331e54015c720c7a1f2", - "SID": "HDD", - "Type": 1, - "Profile": { - "SAPGLOBALHOST": "vmhdbdev02", - "SAPSYSTEMNAME": "HDD", - "hdbConfigType": "DEFAULT", - "ssl/ciphersuites": "135:PFS:HIGH::EC_P256:EC_HIGH", - "HDB_LINKED_BINARIES": "yes", - "HDB_SHARED_BINARIES": "yes" - }, - "Databases": [ - { - "Host": "vmhdbdev02", - "User": "", - "Group": "", - "Active": "yes", - "UserId": "", - "GroupId": "", - "SqlPort": "31015", - "Database": "HDD", - "Container": "" - } - ], - "Instances": [ - { - "Host": "vmhdbdev02", - "Name": "HDB10", - "Type": 1, - "SAPControl": { - "Instances": [ - { - "features": "HDB|HDB_WORKER", - "hostname": "vmhdbdev02", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.3" - } - ], - "Processes": [ - { - "pid": 24133, - "name": "hdbdaemon", - "starttime": "2022 01 11 12:57:31", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Daemon", - "elapsedtime": "151:54:31" - }, - { - "pid": 24925, - "name": "hdbxsengine", - "starttime": "2022 01 11 12:57:45", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB XSEngine-HDD", - "elapsedtime": "151:54:17" - }, - { - "pid": 24153, - "name": "hdbnameserver", - "starttime": "2022 01 11 12:57:32", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Nameserver", - "elapsedtime": "151:54:30" - }, - { - "pid": 24916, - "name": "hdbindexserver", - "starttime": "2022 01 11 12:57:45", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Indexserver-HDD", - "elapsedtime": "151:54:17" - }, - { - "pid": 24822, - "name": "hdbpreprocessor", - "starttime": "2022 01 11 12:57:44", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Preprocessor", - "elapsedtime": "151:54:18" - }, - { - "pid": 24819, - "name": "hdbcompileserver", - "starttime": "2022 01 11 12:57:44", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Compileserver", - "elapsedtime": "151:54:18" - }, - { - "pid": 25653, - "name": "hdbwebdispatcher", - "starttime": "2022 01 11 12:57:53", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Web Dispatcher", - "elapsedtime": "151:54:09" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "DBServices", - "propertytype": "Attribute" - }, - { - "value": "worker", - "property": "HANA Roles", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "vmhdbdev02", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "HDB10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "HDD", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://vmhdbdev02:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": { - "mode": "sync", - "online": "true", - "site_id": "2", - "isSource": "false", - "site_name": "WDF", - "isConsumer": "true", - "replayMode": "auto", - "hasConsumers": "false", - "siteTier/NBG": "1", - "siteTier/WDF": "2", - "operation_mode": "logreplay", - "primary_masters": "vmhdbdev01", - "siteMapping/NBG": "WDF", - "isTakeoverActive": "false", - "isPrimarySuspended": "false", - "mapping/vmhdbdev02": [ - "WDF/vmhdbdev02", - "NBG/vmhdbdev01" - ], - "active_primary_site": "1", - "isTimetravelEnabled": "false", - "siteOperationMode/NBG": "primary", - "siteOperationMode/WDF": "logreplay", - "siteReplicationMode/NBG": "primary", - "siteReplicationMode/WDF": "sync" - }, - "HostConfiguration": { - "host": "vmhdbdev02", - "hostActive": "yes", - "hostStatus": "ok", - "removeStatus": "", - "failoverStatus": "", - "hostActualRoles": "worker", - "hostConfigRoles": "worker", - "storagePartition": "1", - "workerActualGroups": "default", - "workerConfigGroups": "default", - "failoverActualGroup": "default", - "failoverConfigGroup": "default", - "nameServerActualRole": "master", - "nameServerConfigRole": "master 1", - "indexServerActualRole": "master", - "indexServerConfigRole": "worker", - "storageActualPartition": "1", - "storageConfigPartition": "1" - }, - "SystemReplication": { - "local_site_id": "2", - "site/2/SITE_NAME": "WDF", - "site/2/SOURCE_SITE_ID": "1", - "site/2/PRIMARY_MASTERS": "vmhdbdev01", - "site/2/REPLICATION_MODE": "SYNC" - } - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_saptune_discovery.json deleted file mode 100644 index 83146c99b0..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_subscription_discovery.json deleted file mode 100644 index 993f57cf57..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "0a055c90-4cb6-54ce-ac9c-ae3fedaf40d4", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_cloud_discovery.json deleted file mode 100644 index 4ff673201a..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_cloud_discovery.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "0fc07435-7ee2-54ca-b0de-fb27ffdc5deb", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "a7321bd7-c191-4650-b368-9c0b7bf04de6", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwprd04", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwprd04", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver04-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-netweaver02-App", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Attach", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A2E8FAD", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.24", - "publicIpAddress": "XX.XXX.XX.XXX" - }, - { - "privateIpAddress": "10.80.1.28" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_host_discovery.json deleted file mode 100644 index 6ac90fa4eb..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "0fc07435-7ee2-54ca-b0de-fb27ffdc5deb", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwprd04", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.24", - "10.80.1.28", - "fe80::20d:3aff:fe2e:8fad" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwprd04.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_sap_system_discovery.json deleted file mode 100644 index 3fcae624b6..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_sap_system_discovery.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "agent_id": "0fc07435-7ee2-54ca-b0de-fb27ffdc5deb", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "97a1e70aeff3c0685d65c4c3d32d533b", - "SID": "NWP", - "Type": 2, - "DBAddress": "10.80.1.13", - "Profile": { - "SAPDBHOST": "10.80.1.13", - "dbms/name": "HDP", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwpas", - "rdisp/msserv": "sapmsNWP", - "SAPGLOBALHOST": "sapnwpas", - "SAPSYSTEMNAME": "NWP", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDP", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwpas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwprd04", - "Name": "D02", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwpas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwper", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwppas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwpaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 7759, - "name": "gwrd", - "starttime": "2022 01 11 13:46:05", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Gateway", - "elapsedtime": "151:06:03" - }, - { - "pid": 7760, - "name": "icman", - "starttime": "2022 01 11 13:46:05", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "ICM", - "elapsedtime": "151:06:03" - }, - { - "pid": 7741, - "name": "igswd_mt", - "starttime": "2022 01 11 13:46:03", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "IGS Watchdog", - "elapsedtime": "151:06:05" - }, - { - "pid": 7740, - "name": "disp+work", - "starttime": "2022 01 11 13:46:03", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Dispatcher", - "elapsedtime": "151:06:05" - } - ], - "Properties": [ - { - "value": "HTTP://sapnwpaas1:0/sap/admin/public/index.html", - "property": "ICM", - "propertytype": "NodeURL" - }, - { - "value": "http://sapnwpaas1:40280", - "property": "IGS", - "propertytype": "NodeURL" - }, - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetCacheEntries", - "property": "ICM Cache", - "propertytype": "NodeWebmethod" - }, - { - "value": "02", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetThreadList", - "property": "ICM Threads", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAlertTree", - "property": "Open Alerts", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwpaas1", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "ABAPGetWPTable", - "property": "ABAP WP Table", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "D02", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWP", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "GetAlertTree", - "property": "Current Status", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetClientList", - "property": "Gateway Clients", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetConnectionList", - "property": "ICM Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetQueueStatistic", - "property": "Queue Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetConnectionList", - "property": "Gateway Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetProxyConnectionList", - "property": "ICM Proxy Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "http://sapnwpaas1:50213/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_saptune_discovery.json deleted file mode 100644 index c853275a54..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_saptune_discovery.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "0fc07435-7ee2-54ca-b0de-fb27ffdc5deb", - "payload": { - "saptune_installed": true, - "package_version": "3.1.0", - "status": { - "$schema": "file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json", - "publish time": "2023-04-24 12:41:56.612", - "argv": "saptune --format json status", - "pid": 24623, - "command": "status", - "exit code": 4, - "result": { - "services": { - "saptune": [ - "enabled", - "active" - ], - "sapconf": [], - "tuned": [] - }, - "systemd system state": "running", - "tuning state": "not compliant", - "virtualization": "oracle", - "configured version": "3", - "package version": "3.1.0", - "Solution enabled": [ - "NETWEAVER" - ], - "Notes enabled by Solution": [ - { - "Solution ID": "NETWEAVER", - "Note list": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ] - } - ], - "Solution applied": [ - { - "Solution ID": "NETWEAVER", - "applied partially": false - } - ], - "Notes applied by Solution": [ - { - "Solution ID": "NETWEAVER", - "Note list": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ] - } - ], - "Notes enabled additionally": [], - "Notes enabled": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ], - "Notes applied": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ], - "staging": { - "staging enabled": false, - "Notes staged": [], - "Solutions staged": [] - }, - "remember message": "\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n" - }, - "messages": [ - { - "priority": "NOTICE", - "message": "actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n" - }, - { - "priority": "NOTICE", - "message": "ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n" - } - ] - } - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_subscription_discovery.json deleted file mode 100644 index 9bae3f3971..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/0fc07435-7ee2-54ca-b0de-fb27ffdc5deb_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "0fc07435-7ee2-54ca-b0de-fb27ffdc5deb", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_cloud_discovery.json deleted file mode 100644 index c7d558202c..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_cloud_discovery.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "116d49bd-85e1-5e59-b820-83f66db8800c", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "63306bd8-a7f8-49ab-8156-5d4aa928fa7a", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwprd01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwprd01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - } - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A2E8F04", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.21", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_ha_cluster_discovery.json deleted file mode 100644 index 4ead779bf1..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_ha_cluster_discovery.json +++ /dev/null @@ -1,726 +0,0 @@ -{ - "agent_id": "116d49bd-85e1-5e59-b820-83f66db8800c", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "8bca366a6cb7816555538092a1ddd5aa", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmnwprd01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmnwprd02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "netweaver_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": null, - "Groups": [ - { - "Id": "grp_NWP_ASCS00", - "Primitives": [ - { - "Id": "rsc_ip_NWP_ASCS00", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWP_ASCS00-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWP_ASCS00-instance_attributes-ip", - "Name": "ip", - "Value": "10.80.1.25" - } - ] - }, - { - "Id": "rsc_fs_NWP_ASCS00", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWP_ASCS00-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWP_ASCS00-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWP_ASCS00-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWP_ASCS00-instance_attributes-device", - "Name": "device", - "Value": "10.80.1.33:/NWP/ASCS" - }, - { - "Id": "rsc_fs_NWP_ASCS00-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWP/ASCS00" - }, - { - "Id": "rsc_fs_NWP_ASCS00-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWP_ASCS00", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWP_ASCS00-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWP_ASCS00-meta_attributes-resource-stickiness", - "Name": "resource-stickiness", - "Value": "5000" - }, - { - "Id": "rsc_sap_NWP_ASCS00-meta_attributes-failure-timeout", - "Name": "failure-timeout", - "Value": "60" - }, - { - "Id": "rsc_sap_NWP_ASCS00-meta_attributes-migration-threshold", - "Name": "migration-threshold", - "Value": "1" - }, - { - "Id": "rsc_sap_NWP_ASCS00-meta_attributes-priority", - "Name": "priority", - "Value": "10" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWP_ASCS00-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWP_ASCS00_sapnwpas" - }, - { - "Id": "rsc_sap_NWP_ASCS00-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWP/profile/NWP_ASCS00_sapnwpas" - }, - { - "Id": "rsc_sap_NWP_ASCS00-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - } - ] - }, - { - "Id": "rsc_socat_NWP_ASCS00", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWP_ASCS00-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWP_ASCS00-instance_attributes-port", - "Name": "port", - "Value": "62000" - } - ] - } - ] - }, - { - "Id": "grp_NWP_ERS10", - "Primitives": [ - { - "Id": "rsc_ip_NWP_ERS10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWP_ERS10-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWP_ERS10-instance_attributes-ip", - "Name": "ip", - "Value": "10.80.1.26" - } - ] - }, - { - "Id": "rsc_fs_NWP_ERS10", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWP_ERS10-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWP_ERS10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWP_ERS10-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWP_ERS10-instance_attributes-device", - "Name": "device", - "Value": "10.80.1.33:/NWP/ERS" - }, - { - "Id": "rsc_fs_NWP_ERS10-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWP/ERS10" - }, - { - "Id": "rsc_fs_NWP_ERS10-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWP_ERS10", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWP_ERS10-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWP_ERS10-meta_attributes-priority", - "Name": "priority", - "Value": "1000" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWP_ERS10-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWP_ERS10_sapnwper" - }, - { - "Id": "rsc_sap_NWP_ERS10-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWP/profile/NWP_ERS10_sapnwper" - }, - { - "Id": "rsc_sap_NWP_ERS10-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - }, - { - "Id": "rsc_sap_NWP_ERS10-instance_attributes-IS_ERS", - "Name": "IS_ERS", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_NWP_ERS10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWP_ERS10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWP_ERS10-instance_attributes-port", - "Name": "port", - "Value": "62110" - } - ] - } - ] - } - ], - "Masters": null, - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": [ - { - "Id": "loc_sap_NWP_failover_to_ers", - "Node": "", - "Role": "", - "Score": "", - "Resource": "rsc_sap_NWP_ASCS00" - } - ] - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_e34218cd-0d9a-4b21-b6d5-a313980baa82", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "e0c97fe2-f63a-4fd1-83df-9a736a03b49b", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmnwprd01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmnwprd02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_e34218cd-0d9a-4b21-b6d5-a313980baa82", - "Status": "healthy" - } - ] - }, - "Name": "netweaver_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmnwprd01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmnwprd02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 4 - } - ], - "Clones": null, - "Groups": [ - { - "Id": "grp_NWP_ASCS00", - "Resources": [ - { - "Id": "rsc_ip_NWP_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWP_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWP_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWP_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - }, - { - "Id": "grp_NWP_ERS10", - "Resources": [ - { - "Id": "rsc_ip_NWP_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWP_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWP_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWP_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 13:43:06 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmnwprd01", - "ResourceHistory": [ - { - "Name": "rsc_ip_NWP_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_socat_NWP_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWP_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWP_ASCS00", - "FailCount": 0, - "MigrationThreshold": 1 - } - ] - }, - { - "Name": "vmnwprd02", - "ResourceHistory": [ - { - "Name": "rsc_ip_NWP_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWP_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWP_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_socat_NWP_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmnwprd02", - "Attributes": [ - { - "Name": "runs_ers_NWP", - "Value": "1" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_host_discovery.json deleted file mode 100644 index f54abbdf71..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "116d49bd-85e1-5e59-b820-83f66db8800c", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwprd01", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.21", - "10.80.1.25", - "fe80::20d:3aff:fe2e:8f04" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwprd01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_sap_system_discovery.json deleted file mode 100644 index bb68b9f645..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_sap_system_discovery.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "agent_id": "116d49bd-85e1-5e59-b820-83f66db8800c", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "97a1e70aeff3c0685d65c4c3d32d533b", - "SID": "NWP", - "Type": 2, - "DBAddress": "10.80.1.13", - "Profile": { - "SAPDBHOST": "10.80.1.13", - "dbms/name": "HDP", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwpas", - "rdisp/msserv": "sapmsNWP", - "SAPGLOBALHOST": "sapnwpas", - "SAPSYSTEMNAME": "NWP", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDP", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwpas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwprd01", - "Name": "ASCS00", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwpas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwper", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwppas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwpaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 24167, - "name": "enserver", - "starttime": "2022 01 11 13:43:17", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "EnqueueServer", - "elapsedtime": "151:08:47" - }, - { - "pid": 24166, - "name": "msg_server", - "starttime": "2022 01 11 13:43:17", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "MessageServer", - "elapsedtime": "151:08:47" - } - ], - "Properties": [ - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "00", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "EnqGetLockTable", - "property": "Enque Locks", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwpas", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "ASCS00", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWP", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "1", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "CentralServices", - "propertytype": "Attribute" - }, - { - "value": "EnqGetStatistic", - "property": "Enque Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://sapnwpas:50013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - }, - { - "value": "YES", - "property": "SupportsUpdateSCSInstance", - "propertytype": "Attribute" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_saptune_discovery.json deleted file mode 100644 index 9cdf51d558..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_saptune_discovery.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "116d49bd-85e1-5e59-b820-83f66db8800c", - "payload": { - "saptune_installed": true, - "package_version": "3.1.0", - "status": { - "$schema": "file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json", - "publish time": "2023-04-24 12:41:56.612", - "argv": "saptune --format json status", - "pid": 24623, - "command": "status", - "exit code": 4, - "result": { - "services": { - "saptune": [ - "enabled", - "active" - ], - "sapconf": [], - "tuned": [] - }, - "systemd system state": "running", - "tuning state": "not compliant", - "virtualization": "oracle", - "configured version": "3", - "package version": "3.1.0", - "Solution enabled": [ - "NETWEAVER" - ], - "Notes enabled by Solution": [ - { - "Solution ID": "NETWEAVER", - "Note list": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ] - } - ], - "Solution applied": [ - { - "Solution ID": "NETWEAVER", - "applied partially": false - } - ], - "Notes applied by Solution": [ - { - "Solution ID": "NETWEAVER", - "Note list": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ] - } - ], - "Notes enabled additionally": [], - "Notes enabled": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ], - "Notes applied": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ], - "staging": { - "staging enabled": false, - "Notes staged": [], - "Solutions staged": [] - }, - "remember message": "\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n" - }, - "messages": [ - { - "priority": "NOTICE", - "message": "actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n" - }, - { - "priority": "NOTICE", - "message": "ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n" - } - ] - } - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_subscription_discovery.json deleted file mode 100644 index a16adb2b3d..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/116d49bd-85e1-5e59-b820-83f66db8800c_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "116d49bd-85e1-5e59-b820-83f66db8800c", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_cloud_discovery.json deleted file mode 100644 index 3df41956b4..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_cloud_discovery.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "13e8c25c-3180-5a9a-95c8-51ec38e50cfc", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "a187496f-69bd-48fa-81a4-749e51f08b8b", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmhdbdev01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmhdbdev01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmhdbdev01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmhdbdev01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "0" - }, - { - "name": "disk-vmhdbdev01-Data02", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "1" - }, - { - "name": "disk-vmhdbdev01-Data03", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "2" - }, - { - "name": "disk-vmhdbdev01-Data04", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "3" - }, - { - "name": "disk-vmhdbdev01-Data05", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "4" - }, - { - "name": "disk-vmhdbdev01-Data06", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "5" - }, - { - "name": "disk-vmhdbdev01-Data07", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "6" - } - ] - }, - "vmSize": "Standard_E4s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D9B69", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.11", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_ha_cluster_discovery.json deleted file mode 100644 index 8af9765301..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_ha_cluster_discovery.json +++ /dev/null @@ -1,791 +0,0 @@ -{ - "agent_id": "13e8c25c-3180-5a9a-95c8-51ec38e50cfc", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "04b8f8c21f9fd8991224478e8c4362f8", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmhdbdev01", - "InstanceAttributes": [ - { - "Id": "nodes-1-lpa_hdd_lpt", - "Name": "lpa_hdd_lpt", - "Value": "10" - }, - { - "Id": "nodes-1-hana_hdd_vhost", - "Name": "hana_hdd_vhost", - "Value": "vmhdbdev01" - }, - { - "Id": "nodes-1-hana_hdd_site", - "Name": "hana_hdd_site", - "Value": "NBG" - }, - { - "Id": "nodes-1-hana_hdd_op_mode", - "Name": "hana_hdd_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-1-hana_hdd_srmode", - "Name": "hana_hdd_srmode", - "Value": "sync" - }, - { - "Id": "nodes-1-hana_hdd_remoteHost", - "Name": "hana_hdd_remoteHost", - "Value": "vmhdbdev02" - } - ] - }, - { - "Id": "2", - "Uname": "vmhdbdev02", - "InstanceAttributes": [ - { - "Id": "nodes-2-lpa_hdd_lpt", - "Name": "lpa_hdd_lpt", - "Value": "1643125026" - }, - { - "Id": "nodes-2-hana_hdd_op_mode", - "Name": "hana_hdd_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-2-hana_hdd_vhost", - "Name": "hana_hdd_vhost", - "Value": "vmhdbdev02" - }, - { - "Id": "nodes-2-hana_hdd_remoteHost", - "Name": "hana_hdd_remoteHost", - "Value": "vmhdbdev01" - }, - { - "Id": "nodes-2-hana_hdd_site", - "Name": "hana_hdd_site", - "Value": "WDF" - }, - { - "Id": "nodes-2-hana_hdd_srmode", - "Name": "hana_hdd_srmode", - "Value": "sync" - } - ] - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "hana_cluster_1" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - }, - { - "Id": "SAPHanaSR-hana_hdd_site_srHook_WDF", - "Name": "hana_hdd_site_srHook_WDF", - "Value": "PRIM" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cln_SAPHanaTopology_HDD_HDB10", - "Primitive": { - "Id": "rsc_SAPHanaTopology_HDD_HDB10", - "Type": "SAPHanaTopology", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "600", - "Interval": "10" - }, - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "300", - "Interval": "0" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDD" - }, - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - } - ] - }, - "MetaAttributes": [ - { - "Id": "cln_SAPHanaTopology_HDD_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "cln_SAPHanaTopology_HDD_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g_ip_HDD_HDB10", - "Primitives": [ - { - "Id": "rsc_ip_HDD_HDB10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_HDD_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDD_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDD_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_HDD_HDB10-instance_attributes-ip", - "Name": "ip", - "Value": "10.100.1.13" - }, - { - "Id": "rsc_ip_HDD_HDB10-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "24" - }, - { - "Id": "rsc_ip_HDD_HDB10-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "rsc_socat_HDD_HDB10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_HDD_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_HDD_HDB10-instance_attributes-port", - "Name": "port", - "Value": "62510" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "msl_SAPHana_HDD_HDB10", - "Primitive": { - "Id": "rsc_SAPHana_HDD_HDB10", - "Type": "SAPHana", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHana_HDD_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-promote-0", - "Name": "promote", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-monitor-60", - "Name": "monitor", - "Role": "Master", - "Timeout": "700", - "Interval": "60" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-monitor-61", - "Name": "monitor", - "Role": "Slave", - "Timeout": "700", - "Interval": "61" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDD" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-PREFER_SITE_TAKEOVER", - "Name": "PREFER_SITE_TAKEOVER", - "Value": "True" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-AUTOMATED_REGISTER", - "Name": "AUTOMATED_REGISTER", - "Value": "False" - }, - { - "Id": "rsc_SAPHana_HDD_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT", - "Name": "DUPLICATE_PRIMARY_TIMEOUT", - "Value": "7200" - } - ] - }, - "MetaAttributes": [ - { - "Id": "msl_SAPHana_HDD_HDB10-meta_attributes-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "msl_SAPHana_HDD_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "msl_SAPHana_HDD_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": [ - { - "Id": "stonith-sbd-monitor-15", - "Name": "monitor", - "Role": "", - "Timeout": "15", - "Interval": "15" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "15" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:182cb1b1-a815-4b82-b538-7a166b9bbb4a", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "cc39771e-ea2f-4fb1-8968-a6176aee3d0a", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmhdbdev01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmhdbdev02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:182cb1b1-a815-4b82-b538-7a166b9bbb4a", - "Status": "healthy" - } - ] - }, - "Name": "hana_cluster_1", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmhdbdev01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - }, - { - "DC": false, - "Id": "2", - "Name": "vmhdbdev02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 4 - } - ], - "Clones": [ - { - "Id": "msl_SAPHana_HDD_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHana_HDD_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbdev02", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHana_HDD_HDB10", - "Node": null, - "Role": "Stopped", - "Agent": "ocf::suse:SAPHana", - "Active": false, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 0 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cln_SAPHanaTopology_HDD_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHanaTopology_HDD_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g_ip_HDD_HDB10", - "Resources": [ - { - "Id": "rsc_ip_HDD_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_HDD_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 7, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 25 15:37:06 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmhdbdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmhdbdev02", - "ResourceHistory": [ - { - "Name": "rsc_ip_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHana_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmhdbdev01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_ip_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHana_HDD_HDB10", - "FailCount": 1000000, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDD_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmhdbdev01", - "Attributes": [ - { - "Name": "hana_hdd_clone_state", - "Value": "UNDEFINED" - }, - { - "Name": "hana_hdd_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdd_remoteHost", - "Value": "vmhdbdev02" - }, - { - "Name": "hana_hdd_roles", - "Value": "1:P:master1::worker:" - }, - { - "Name": "hana_hdd_site", - "Value": "NBG" - }, - { - "Name": "hana_hdd_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdd_sync_state", - "Value": "SFAIL" - }, - { - "Name": "hana_hdd_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdd_vhost", - "Value": "vmhdbdev01" - }, - { - "Name": "lpa_hdd_lpt", - "Value": "10" - }, - { - "Name": "master-rsc_SAPHana_HDD_HDB10", - "Value": "-9000" - } - ] - }, - { - "Name": "vmhdbdev02", - "Attributes": [ - { - "Name": "hana_hdd_clone_state", - "Value": "PROMOTED" - }, - { - "Name": "hana_hdd_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdd_remoteHost", - "Value": "vmhdbdev01" - }, - { - "Name": "hana_hdd_roles", - "Value": "4:P:master1:master:worker:master" - }, - { - "Name": "hana_hdd_site", - "Value": "WDF" - }, - { - "Name": "hana_hdd_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdd_sync_state", - "Value": "PRIM" - }, - { - "Name": "hana_hdd_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdd_vhost", - "Value": "vmhdbdev02" - }, - { - "Name": "lpa_hdd_lpt", - "Value": "1643125026" - }, - { - "Name": "master-rsc_SAPHana_HDD_HDB10", - "Value": "150" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_host_discovery.json deleted file mode 100644 index 64ede97f2e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "13e8c25c-3180-5a9a-95c8-51ec38e50cfc", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmhdbdev01", - "cpu_count": 4, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.11", - "10.100.1.13", - "fe80::6245:bdff:fe8d:9b69" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 32107, - "fully_qualified_domain_name": "vmhdbdev01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_sap_system_discovery.json deleted file mode 100644 index 55ba88d1c3..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_sap_system_discovery.json +++ /dev/null @@ -1,382 +0,0 @@ -{ - "agent_id": "13e8c25c-3180-5a9a-95c8-51ec38e50cfc", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "fd44c254ccb14331e54015c720c7a1f2", - "SID": "HDD", - "Type": 1, - "Profile": { - "SAPGLOBALHOST": "vmhdbdev01", - "SAPSYSTEMNAME": "HDD", - "hdbConfigType": "DEFAULT", - "ssl/ciphersuites": "135:PFS:HIGH::EC_P256:EC_HIGH", - "HDB_LINKED_BINARIES": "yes", - "HDB_SHARED_BINARIES": "yes" - }, - "Databases": [ - { - "Host": "vmhdbdev01", - "User": "", - "Group": "", - "Active": "yes", - "UserId": "", - "GroupId": "", - "SqlPort": "31015", - "Database": "HDD", - "Container": "" - } - ], - "Instances": [ - { - "Host": "vmhdbdev01", - "Name": "HDB10", - "Type": 1, - "SAPControl": { - "Instances": [ - { - "features": "HDB|HDB_WORKER", - "hostname": "vmhdbdev01", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.3" - } - ], - "Processes": [ - { - "pid": 18862, - "name": "hdbdaemon", - "starttime": "2022 01 11 12:56:11", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Daemon", - "elapsedtime": "151:55:49" - }, - { - "pid": 20257, - "name": "hdbxsengine", - "starttime": "2022 01 11 12:56:29", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB XSEngine-HDD", - "elapsedtime": "151:55:31" - }, - { - "pid": 18893, - "name": "hdbnameserver", - "starttime": "2022 01 11 12:56:12", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Nameserver", - "elapsedtime": "151:55:48" - }, - { - "pid": 20254, - "name": "hdbindexserver", - "starttime": "2022 01 11 12:56:29", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Indexserver-HDD", - "elapsedtime": "151:55:31" - }, - { - "pid": 20161, - "name": "hdbpreprocessor", - "starttime": "2022 01 11 12:56:29", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Preprocessor", - "elapsedtime": "151:55:31" - }, - { - "pid": 20158, - "name": "hdbcompileserver", - "starttime": "2022 01 11 12:56:29", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Compileserver", - "elapsedtime": "151:55:31" - }, - { - "pid": 22620, - "name": "hdbwebdispatcher", - "starttime": "2022 01 11 12:56:58", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Web Dispatcher", - "elapsedtime": "151:55:02" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "DBServices", - "propertytype": "Attribute" - }, - { - "value": "worker", - "property": "HANA Roles", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "vmhdbdev01", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "HDB10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "HDD", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://vmhdbdev01:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": { - "mode": "primary", - "online": "true", - "site_id": "1", - "isSource": "true", - "site_name": "NBG", - "isConsumer": "false", - "hasConsumers": "true", - "siteTier/NBG": "1", - "siteTier/WDF": "2", - "operation_mode": "primary", - "siteMapping/NBG": "WDF", - "isTakeoverActive": "false", - "isPrimarySuspended": "false", - "mapping/vmhdbdev01": [ - "WDF/vmhdbdev02", - "NBG/vmhdbdev01" - ], - "siteOperationMode/NBG": "primary", - "siteOperationMode/WDF": "logreplay", - "siteReplicationMode/NBG": "primary", - "siteReplicationMode/WDF": "sync" - }, - "HostConfiguration": { - "host": "vmhdbdev01", - "hostActive": "yes", - "hostStatus": "ok", - "removeStatus": "", - "failoverStatus": "", - "hostActualRoles": "worker", - "hostConfigRoles": "worker", - "storagePartition": "1", - "workerActualGroups": "default", - "workerConfigGroups": "default", - "failoverActualGroup": "default", - "failoverConfigGroup": "default", - "nameServerActualRole": "master", - "nameServerConfigRole": "master 1", - "indexServerActualRole": "master", - "indexServerConfigRole": "worker", - "storageActualPartition": "1", - "storageConfigPartition": "1" - }, - "SystemReplication": { - "local_site_id": "1", - "site/1/SITE_NAME": "NBG", - "site/2/SITE_NAME": "WDF", - "site/2/SOURCE_SITE_ID": "1", - "site/1/REPLICATION_MODE": "PRIMARY", - "site/2/REPLICATION_MODE": "SYNC", - "site/2/REPLICATION_STATUS": "ACTIVE", - "overall_replication_status": "ACTIVE", - "service/vmhdbdev01/31001/HOST": "vmhdbdev01", - "service/vmhdbdev01/31001/PORT": "31001", - "service/vmhdbdev01/31003/HOST": "vmhdbdev01", - "service/vmhdbdev01/31003/PORT": "31003", - "service/vmhdbdev01/31007/HOST": "vmhdbdev01", - "service/vmhdbdev01/31007/PORT": "31007", - "service/vmhdbdev01/31001/SITE_ID": "1", - "service/vmhdbdev01/31003/SITE_ID": "1", - "service/vmhdbdev01/31007/SITE_ID": "1", - "service/vmhdbdev01/31001/DATABASE": "SYSTEMDB", - "service/vmhdbdev01/31003/DATABASE": "HDD", - "service/vmhdbdev01/31007/DATABASE": "HDD", - "service/vmhdbdev01/31001/FULL_SYNC": "DISABLED", - "service/vmhdbdev01/31001/SITE_NAME": "NBG", - "service/vmhdbdev01/31001/VOLUME_ID": "1", - "service/vmhdbdev01/31003/FULL_SYNC": "DISABLED", - "service/vmhdbdev01/31003/SITE_NAME": "NBG", - "service/vmhdbdev01/31003/VOLUME_ID": "3", - "service/vmhdbdev01/31007/FULL_SYNC": "DISABLED", - "service/vmhdbdev01/31007/SITE_NAME": "NBG", - "service/vmhdbdev01/31007/VOLUME_ID": "2", - "service/vmhdbdev01/31001/RESET_COUNT": "0", - "service/vmhdbdev01/31003/RESET_COUNT": "0", - "service/vmhdbdev01/31007/RESET_COUNT": "0", - "service/vmhdbdev01/31001/SERVICE_NAME": "nameserver", - "service/vmhdbdev01/31003/SERVICE_NAME": "indexserver", - "service/vmhdbdev01/31007/SERVICE_NAME": "xsengine", - "service/vmhdbdev01/31001/CREATION_TIME": "2022-01-11 12:56:29.020885", - "service/vmhdbdev01/31003/CREATION_TIME": "2022-01-11 12:56:53.983097", - "service/vmhdbdev01/31007/CREATION_TIME": "2022-01-11 12:56:58.348403", - "service/vmhdbdev01/31001/OPERATION_MODE": "logreplay", - "service/vmhdbdev01/31001/SECONDARY_HOST": "vmhdbdev02", - "service/vmhdbdev01/31001/SECONDARY_PORT": "31001", - "service/vmhdbdev01/31003/OPERATION_MODE": "logreplay", - "service/vmhdbdev01/31003/SECONDARY_HOST": "vmhdbdev02", - "service/vmhdbdev01/31003/SECONDARY_PORT": "31003", - "service/vmhdbdev01/31007/OPERATION_MODE": "logreplay", - "service/vmhdbdev01/31007/SECONDARY_HOST": "vmhdbdev02", - "service/vmhdbdev01/31007/SECONDARY_PORT": "31007", - "service/vmhdbdev01/31001/LAST_RESET_TIME": "2022-01-11 12:56:29.020885", - "service/vmhdbdev01/31003/LAST_RESET_TIME": "2022-01-11 12:56:53.983097", - "service/vmhdbdev01/31007/LAST_RESET_TIME": "2022-01-11 12:56:58.348403", - "service/vmhdbdev01/31001/REPLICATION_MODE": "SYNC", - "service/vmhdbdev01/31003/REPLICATION_MODE": "SYNC", - "service/vmhdbdev01/31007/REPLICATION_MODE": "SYNC", - "service/vmhdbdev01/31001/LAST_LOG_POSITION": "45295808", - "service/vmhdbdev01/31001/SECONDARY_SITE_ID": "2", - "service/vmhdbdev01/31003/LAST_LOG_POSITION": "247644160", - "service/vmhdbdev01/31003/SECONDARY_SITE_ID": "2", - "service/vmhdbdev01/31007/LAST_LOG_POSITION": "4670464", - "service/vmhdbdev01/31007/SECONDARY_SITE_ID": "2", - "service/vmhdbdev01/31001/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbdev01/31003/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbdev01/31007/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbdev01/31001/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbdev01/31003/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbdev01/31007/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbdev01/31001/SHIPPED_LOG_POSITION": "45295808", - "service/vmhdbdev01/31003/SHIPPED_LOG_POSITION": "247644160", - "service/vmhdbdev01/31007/SHIPPED_LOG_POSITION": "4670464", - "service/vmhdbdev01/31001/REPLAYED_LOG_POSITION": "45295808", - "service/vmhdbdev01/31003/REPLAYED_LOG_POSITION": "247644160", - "service/vmhdbdev01/31007/REPLAYED_LOG_POSITION": "4670405", - "service/vmhdbdev01/31001/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:50.123508", - "service/vmhdbdev01/31001/LAST_SAVEPOINT_VERSION": "2831", - "service/vmhdbdev01/31001/SECONDARY_CONNECT_TIME": "2022-01-11 12:57:43.205984", - "service/vmhdbdev01/31003/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:54.241756", - "service/vmhdbdev01/31003/LAST_SAVEPOINT_VERSION": "2790", - "service/vmhdbdev01/31003/SECONDARY_CONNECT_TIME": "2022-01-11 13:01:20.044302", - "service/vmhdbdev01/31007/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:22.341237", - "service/vmhdbdev01/31007/LAST_SAVEPOINT_VERSION": "2874", - "service/vmhdbdev01/31007/SECONDARY_CONNECT_TIME": "2022-01-11 13:01:20.647048", - "service/vmhdbdev01/31001/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbdev01/31003/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbdev01/31007/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbdev01/31001/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbdev01/31001/SHIPPED_LOG_BUFFERS_SIZE": "555040768", - "service/vmhdbdev01/31003/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbdev01/31003/SHIPPED_LOG_BUFFERS_SIZE": "3481903104", - "service/vmhdbdev01/31007/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbdev01/31007/SHIPPED_LOG_BUFFERS_SIZE": "268271616", - "service/vmhdbdev01/31001/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:48:30.381133", - "service/vmhdbdev01/31001/SECONDARY_RECONNECT_COUNT": "0", - "service/vmhdbdev01/31001/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbdev01/31001/SHIPPED_LOG_BUFFERS_COUNT": "125075", - "service/vmhdbdev01/31001/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:50.123508", - "service/vmhdbdev01/31001/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbdev01/31003/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:49:47.741144", - "service/vmhdbdev01/31003/SECONDARY_RECONNECT_COUNT": "7", - "service/vmhdbdev01/31003/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbdev01/31003/SHIPPED_LOG_BUFFERS_COUNT": "682002", - "service/vmhdbdev01/31003/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:54.241756", - "service/vmhdbdev01/31003/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbdev01/31007/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:50:22.414771", - "service/vmhdbdev01/31007/SECONDARY_RECONNECT_COUNT": "7", - "service/vmhdbdev01/31007/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbdev01/31007/SHIPPED_LOG_BUFFERS_COUNT": "65496", - "service/vmhdbdev01/31007/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:22.341237", - "service/vmhdbdev01/31007/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbdev01/31001/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:50.123508", - "service/vmhdbdev01/31001/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbdev01/31001/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbdev01/31001/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbdev01/31003/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:54.241756", - "service/vmhdbdev01/31003/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbdev01/31003/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbdev01/31003/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbdev01/31007/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:22.341237", - "service/vmhdbdev01/31007/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbdev01/31007/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbdev01/31007/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbdev01/31001/LAST_SAVEPOINT_LOG_POSITION": "45292482", - "service/vmhdbdev01/31001/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbdev01/31003/LAST_SAVEPOINT_LOG_POSITION": "247637826", - "service/vmhdbdev01/31003/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbdev01/31007/LAST_SAVEPOINT_LOG_POSITION": "4669955", - "service/vmhdbdev01/31007/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbdev01/31001/SHIPPED_LOG_BUFFERS_DURATION": "332381033", - "service/vmhdbdev01/31001/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbdev01/31003/SHIPPED_LOG_BUFFERS_DURATION": "1761449260", - "service/vmhdbdev01/31003/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbdev01/31007/SHIPPED_LOG_BUFFERS_DURATION": "180172567", - "service/vmhdbdev01/31007/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbdev01/31001/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbdev01/31003/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbdev01/31007/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbdev01/31001/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbdev01/31001/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbdev01/31001/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbdev01/31003/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbdev01/31003/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbdev01/31003/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbdev01/31007/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbdev01/31007/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbdev01/31007/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbdev01/31001/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbdev01/31003/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbdev01/31007/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbdev01/31001/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbdev01/31003/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbdev01/31007/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbdev01/31001/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbdev01/31003/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbdev01/31007/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbdev01/31001/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbdev01/31003/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbdev01/31007/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbdev01/31001/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-", - "service/vmhdbdev01/31003/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-", - "service/vmhdbdev01/31007/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-" - } - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_saptune_discovery.json deleted file mode 100644 index a6b71da5cf..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "13e8c25c-3180-5a9a-95c8-51ec38e50cfc", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_subscription_discovery.json deleted file mode 100644 index cec7090a1e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/13e8c25c-3180-5a9a-95c8-51ec38e50cfc_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "13e8c25c-3180-5a9a-95c8-51ec38e50cfc", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_cloud_discovery.json deleted file mode 100644 index a5e4aa48ca..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_cloud_discovery.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "1b0e9297-97dd-55d6-9874-8efde4d84c90", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "48a84b30-7cfb-4b74-ad43-8382ad07ed9b", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwdev04", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwdev04", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver04-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-netweaver02-App", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Attach", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D9A74", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.24", - "publicIpAddress": "XX.XXX.XX.XXX" - }, - { - "privateIpAddress": "10.100.1.28" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_host_discovery.json deleted file mode 100644 index d0aaf8853a..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "1b0e9297-97dd-55d6-9874-8efde4d84c90", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwdev04", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.24", - "10.100.1.28", - "fe80::6245:bdff:fe8d:9a74" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwdev04.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_sap_system_discovery.json deleted file mode 100644 index c20d559a0e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_sap_system_discovery.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "agent_id": "1b0e9297-97dd-55d6-9874-8efde4d84c90", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "a1e80e3e152a903662f7882fb3f8a851", - "SID": "NWD", - "Type": 2, - "DBAddress": "10.100.1.13", - "Profile": { - "SAPDBHOST": "10.100.1.13", - "dbms/name": "HDD", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwdas", - "rdisp/msserv": "sapmsNWD", - "SAPGLOBALHOST": "sapnwdas", - "SAPSYSTEMNAME": "NWD", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDD", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwdas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwdev04", - "Name": "D02", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwdas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwder", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwdpas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwdaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 26496, - "name": "gwrd", - "starttime": "2022 01 11 13:05:00", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Gateway", - "elapsedtime": "151:47:01" - }, - { - "pid": 26497, - "name": "icman", - "starttime": "2022 01 11 13:05:00", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "ICM", - "elapsedtime": "151:47:01" - }, - { - "pid": 26476, - "name": "igswd_mt", - "starttime": "2022 01 11 13:04:57", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "IGS Watchdog", - "elapsedtime": "151:47:04" - }, - { - "pid": 26475, - "name": "disp+work", - "starttime": "2022 01 11 13:04:57", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Dispatcher", - "elapsedtime": "151:47:04" - } - ], - "Properties": [ - { - "value": "HTTP://sapnwdaas1:0/sap/admin/public/index.html", - "property": "ICM", - "propertytype": "NodeURL" - }, - { - "value": "http://sapnwdaas1:40280", - "property": "IGS", - "propertytype": "NodeURL" - }, - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetCacheEntries", - "property": "ICM Cache", - "propertytype": "NodeWebmethod" - }, - { - "value": "02", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetThreadList", - "property": "ICM Threads", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAlertTree", - "property": "Open Alerts", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwdaas1", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "ABAPGetWPTable", - "property": "ABAP WP Table", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "D02", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWD", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "GetAlertTree", - "property": "Current Status", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetClientList", - "property": "Gateway Clients", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetConnectionList", - "property": "ICM Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetQueueStatistic", - "property": "Queue Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetConnectionList", - "property": "Gateway Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetProxyConnectionList", - "property": "ICM Proxy Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "http://sapnwdaas1:50213/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_saptune_discovery.json deleted file mode 100644 index b966dd332e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "1b0e9297-97dd-55d6-9874-8efde4d84c90", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_subscription_discovery.json deleted file mode 100644 index 05bfda02a1..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/1b0e9297-97dd-55d6-9874-8efde4d84c90_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "1b0e9297-97dd-55d6-9874-8efde4d84c90", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_cloud_discovery.json deleted file mode 100644 index 2123dd6fc0..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "21de186a-e38f-5804-b643-7f4ef22fecfd", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "99ef5ab8-73b5-4ca9-8c37-6778e2d6abc1", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmdrbddev02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmdrbddev02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmdrbddev02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmdrbddev02-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Standard_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D95F1", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.32", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_ha_cluster_discovery.json deleted file mode 100644 index 6b7411c028..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_ha_cluster_discovery.json +++ /dev/null @@ -1,685 +0,0 @@ -{ - "agent_id": "21de186a-e38f-5804-b643-7f4ef22fecfd", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "04a81f89c847e82390e35bece2e25c9b", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmdrbddev01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmdrbddev02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "drbd_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cl-nfsserver", - "Primitive": { - "Id": "nfsserver", - "Type": "nfs-server", - "Class": "systemd", - "Provider": "", - "Operations": [ - { - "Id": "nfsserver-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": null - }, - "MetaAttributes": [ - { - "Id": "cl-nfsserver-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Primitives": [ - { - "Id": "fs_sapdata", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "fs_sapdata-monitor-20", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "fs_sapdata-instance_attributes-device", - "Name": "device", - "Value": "/dev/drbd1" - }, - { - "Id": "fs_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWD" - }, - { - "Id": "fs_sapdata-instance_attributes-fstype", - "Name": "fstype", - "Value": "xfs" - }, - { - "Id": "fs_sapdata-instance_attributes-options", - "Name": "options", - "Value": "noatime,nodiratime" - } - ] - }, - { - "Id": "vip_sapdata_nfs", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "vip_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "vip_sapdata_nfs-instance_attributes-ip", - "Name": "ip", - "Value": "10.100.1.33" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "32" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "exportfs_work_sapdata", - "Type": "exportfs", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "exportfs_work_sapdata-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "exportfs_work_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWD" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-fsid", - "Name": "fsid", - "Value": "1" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-options", - "Name": "options", - "Value": "rw,no_root_squash" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-clientspec", - "Name": "clientspec", - "Value": "*" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop", - "Name": "wait_for_leasetime_on_stop", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_sapdata_nfs-instance_attributes-port", - "Name": "port", - "Value": "61000" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "ms_sapdata", - "Primitive": { - "Id": "drbd-sapdata", - "Type": "drbd", - "Class": "ocf", - "Provider": "linbit", - "Operations": [ - { - "Id": "drbd-sapdata-monitor-15", - "Name": "monitor", - "Role": "Master", - "Timeout": "", - "Interval": "15" - }, - { - "Id": "drbd-sapdata-monitor-30", - "Name": "monitor", - "Role": "Slave", - "Timeout": "", - "Interval": "30" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "drbd-sapdata-instance_attributes-drbd_resource", - "Name": "drbd_resource", - "Value": "sapdata" - } - ] - }, - "MetaAttributes": [ - { - "Id": "ms_sapdata-meta_attributes-master-max", - "Name": "master-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-master-node-max", - "Name": "master-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-1-notify", - "Name": "notify", - "Value": "true" - }, - { - "Id": "ms_sapdata-meta_attributes-1-target-role", - "Name": "target-role", - "Value": "Started" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:3947fa28-25e0-46d4-bbed-89ce88f977f1", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "27016e64-5f07-4563-90d5-16cb8f9ebc2a", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmdrbddev01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmdrbddev02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:3947fa28-25e0-46d4-bbed-89ce88f977f1", - "Status": "healthy" - } - ] - }, - "Name": "drbd_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": false, - "Id": "1", - "Name": "vmdrbddev01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 7 - }, - { - "DC": true, - "Id": "2", - "Name": "vmdrbddev02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "ms_sapdata", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "drbd-sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "drbd-sapdata", - "Node": { - "Id": "2", - "Name": "vmdrbddev02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cl-nfsserver", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "nfsserver", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "nfsserver", - "Node": { - "Id": "2", - "Name": "vmdrbddev02", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Resources": [ - { - "Id": "fs_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "vip_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "exportfs_work_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:exportfs", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 12:50:53 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmdrbddev01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "fs_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "vip_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "exportfs_work_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmdrbddev02", - "ResourceHistory": [ - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmdrbddev01", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - }, - { - "Name": "vmdrbddev02", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_host_discovery.json deleted file mode 100644 index 59eac701d7..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_host_discovery.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "agent_id": "21de186a-e38f-5804-b643-7f4ef22fecfd", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmdrbddev02", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.32", - "fe80::6245:bdff:fe8d:95f1" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951 - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_sap_system_discovery.json deleted file mode 100644 index 42a3a8967a..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "21de186a-e38f-5804-b643-7f4ef22fecfd", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_saptune_discovery.json deleted file mode 100644 index 8c33fbda98..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "21de186a-e38f-5804-b643-7f4ef22fecfd", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_subscription_discovery.json deleted file mode 100644 index 8d646abb55..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/21de186a-e38f-5804-b643-7f4ef22fecfd_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "21de186a-e38f-5804-b643-7f4ef22fecfd", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_cloud_discovery.json deleted file mode 100644 index c780fdfb8d..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "240f96b1-8d26-53b7-9e99-ffb0f2e735bf", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "5e294482-9554-4989-8b9e-a0a2d3991c09", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmdrbddev01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmdrbddev01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmdrbddev01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmdrbddev01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Standard_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8A5969", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.31", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_ha_cluster_discovery.json deleted file mode 100644 index 8ec1d06066..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_ha_cluster_discovery.json +++ /dev/null @@ -1,685 +0,0 @@ -{ - "agent_id": "240f96b1-8d26-53b7-9e99-ffb0f2e735bf", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "04a81f89c847e82390e35bece2e25c9b", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmdrbddev01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmdrbddev02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "drbd_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cl-nfsserver", - "Primitive": { - "Id": "nfsserver", - "Type": "nfs-server", - "Class": "systemd", - "Provider": "", - "Operations": [ - { - "Id": "nfsserver-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": null - }, - "MetaAttributes": [ - { - "Id": "cl-nfsserver-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Primitives": [ - { - "Id": "fs_sapdata", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "fs_sapdata-monitor-20", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "fs_sapdata-instance_attributes-device", - "Name": "device", - "Value": "/dev/drbd1" - }, - { - "Id": "fs_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWD" - }, - { - "Id": "fs_sapdata-instance_attributes-fstype", - "Name": "fstype", - "Value": "xfs" - }, - { - "Id": "fs_sapdata-instance_attributes-options", - "Name": "options", - "Value": "noatime,nodiratime" - } - ] - }, - { - "Id": "vip_sapdata_nfs", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "vip_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "vip_sapdata_nfs-instance_attributes-ip", - "Name": "ip", - "Value": "10.100.1.33" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "32" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "exportfs_work_sapdata", - "Type": "exportfs", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "exportfs_work_sapdata-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "exportfs_work_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWD" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-fsid", - "Name": "fsid", - "Value": "1" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-options", - "Name": "options", - "Value": "rw,no_root_squash" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-clientspec", - "Name": "clientspec", - "Value": "*" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop", - "Name": "wait_for_leasetime_on_stop", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_sapdata_nfs-instance_attributes-port", - "Name": "port", - "Value": "61000" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "ms_sapdata", - "Primitive": { - "Id": "drbd-sapdata", - "Type": "drbd", - "Class": "ocf", - "Provider": "linbit", - "Operations": [ - { - "Id": "drbd-sapdata-monitor-15", - "Name": "monitor", - "Role": "Master", - "Timeout": "", - "Interval": "15" - }, - { - "Id": "drbd-sapdata-monitor-30", - "Name": "monitor", - "Role": "Slave", - "Timeout": "", - "Interval": "30" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "drbd-sapdata-instance_attributes-drbd_resource", - "Name": "drbd_resource", - "Value": "sapdata" - } - ] - }, - "MetaAttributes": [ - { - "Id": "ms_sapdata-meta_attributes-master-max", - "Name": "master-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-master-node-max", - "Name": "master-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-1-notify", - "Name": "notify", - "Value": "true" - }, - { - "Id": "ms_sapdata-meta_attributes-1-target-role", - "Name": "target-role", - "Value": "Started" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:3947fa28-25e0-46d4-bbed-89ce88f977f1", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "27016e64-5f07-4563-90d5-16cb8f9ebc2a", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmdrbddev01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmdrbddev02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:3947fa28-25e0-46d4-bbed-89ce88f977f1", - "Status": "healthy" - } - ] - }, - "Name": "drbd_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": false, - "Id": "1", - "Name": "vmdrbddev01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 7 - }, - { - "DC": true, - "Id": "2", - "Name": "vmdrbddev02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "ms_sapdata", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "drbd-sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "drbd-sapdata", - "Node": { - "Id": "2", - "Name": "vmdrbddev02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cl-nfsserver", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "nfsserver", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "nfsserver", - "Node": { - "Id": "2", - "Name": "vmdrbddev02", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Resources": [ - { - "Id": "fs_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "vip_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "exportfs_work_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:exportfs", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 12:50:53 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmdrbddev01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmdrbddev01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "fs_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "vip_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "exportfs_work_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmdrbddev02", - "ResourceHistory": [ - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmdrbddev01", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - }, - { - "Name": "vmdrbddev02", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_host_discovery.json deleted file mode 100644 index a8cc19eb98..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "240f96b1-8d26-53b7-9e99-ffb0f2e735bf", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmdrbddev01", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.31", - "10.100.1.33", - "fe80::6245:bdff:fe8a:5969" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmdrbddev01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_sap_system_discovery.json deleted file mode 100644 index 9c86f17200..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "240f96b1-8d26-53b7-9e99-ffb0f2e735bf", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_saptune_discovery.json deleted file mode 100644 index c9b567cfdc..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "240f96b1-8d26-53b7-9e99-ffb0f2e735bf", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_subscription_discovery.json deleted file mode 100644 index 14d38a94f8..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/240f96b1-8d26-53b7-9e99-ffb0f2e735bf_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "240f96b1-8d26-53b7-9e99-ffb0f2e735bf", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_cloud_discovery.json deleted file mode 100644 index 32d90a0d3d..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_cloud_discovery.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "25677e37-fd33-5005-896c-9275b1284534", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "2f1d001b-7ba0-49f3-afbd-c5668684a0a4", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwqas01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwqas01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - } - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D0A30", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.90.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.90.1.21", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_ha_cluster_discovery.json deleted file mode 100644 index 226d8a680d..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_ha_cluster_discovery.json +++ /dev/null @@ -1,726 +0,0 @@ -{ - "agent_id": "25677e37-fd33-5005-896c-9275b1284534", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "acf59e7a5338f76f55d5055af3273480", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmnwqas01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmnwqas02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "netweaver_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": null, - "Groups": [ - { - "Id": "grp_NWQ_ASCS00", - "Primitives": [ - { - "Id": "rsc_ip_NWQ_ASCS00", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWQ_ASCS00-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWQ_ASCS00-instance_attributes-ip", - "Name": "ip", - "Value": "10.90.1.25" - } - ] - }, - { - "Id": "rsc_fs_NWQ_ASCS00", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWQ_ASCS00-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWQ_ASCS00-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWQ_ASCS00-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWQ_ASCS00-instance_attributes-device", - "Name": "device", - "Value": "10.90.1.33:/NWQ/ASCS" - }, - { - "Id": "rsc_fs_NWQ_ASCS00-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWQ/ASCS00" - }, - { - "Id": "rsc_fs_NWQ_ASCS00-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWQ_ASCS00", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWQ_ASCS00-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWQ_ASCS00-meta_attributes-resource-stickiness", - "Name": "resource-stickiness", - "Value": "5000" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-meta_attributes-failure-timeout", - "Name": "failure-timeout", - "Value": "60" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-meta_attributes-migration-threshold", - "Name": "migration-threshold", - "Value": "1" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-meta_attributes-priority", - "Name": "priority", - "Value": "10" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWQ_ASCS00-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWQ_ASCS00_sapnwqas" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWQ/profile/NWQ_ASCS00_sapnwqas" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - } - ] - }, - { - "Id": "rsc_socat_NWQ_ASCS00", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWQ_ASCS00-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWQ_ASCS00-instance_attributes-port", - "Name": "port", - "Value": "62000" - } - ] - } - ] - }, - { - "Id": "grp_NWQ_ERS10", - "Primitives": [ - { - "Id": "rsc_ip_NWQ_ERS10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWQ_ERS10-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWQ_ERS10-instance_attributes-ip", - "Name": "ip", - "Value": "10.90.1.26" - } - ] - }, - { - "Id": "rsc_fs_NWQ_ERS10", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWQ_ERS10-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWQ_ERS10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWQ_ERS10-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWQ_ERS10-instance_attributes-device", - "Name": "device", - "Value": "10.90.1.33:/NWQ/ERS" - }, - { - "Id": "rsc_fs_NWQ_ERS10-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWQ/ERS10" - }, - { - "Id": "rsc_fs_NWQ_ERS10-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWQ_ERS10", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWQ_ERS10-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWQ_ERS10-meta_attributes-priority", - "Name": "priority", - "Value": "1000" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWQ_ERS10-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWQ_ERS10_sapnwqer" - }, - { - "Id": "rsc_sap_NWQ_ERS10-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWQ/profile/NWQ_ERS10_sapnwqer" - }, - { - "Id": "rsc_sap_NWQ_ERS10-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - }, - { - "Id": "rsc_sap_NWQ_ERS10-instance_attributes-IS_ERS", - "Name": "IS_ERS", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_NWQ_ERS10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWQ_ERS10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWQ_ERS10-instance_attributes-port", - "Name": "port", - "Value": "62110" - } - ] - } - ] - } - ], - "Masters": null, - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": [ - { - "Id": "loc_sap_NWQ_failover_to_ers", - "Node": "", - "Role": "", - "Score": "", - "Resource": "rsc_sap_NWQ_ASCS00" - } - ] - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_813ace38-2d4f-48f6-8aa2-5360252ca492", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "3365e35e-ba75-4d29-9f5a-1a0379ee7a60", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmnwqas01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmnwqas02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_813ace38-2d4f-48f6-8aa2-5360252ca492", - "Status": "healthy" - } - ] - }, - "Name": "netweaver_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmnwqas01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmnwqas02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 4 - } - ], - "Clones": null, - "Groups": [ - { - "Id": "grp_NWQ_ASCS00", - "Resources": [ - { - "Id": "rsc_ip_NWQ_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWQ_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWQ_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWQ_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - }, - { - "Id": "grp_NWQ_ERS10", - "Resources": [ - { - "Id": "rsc_ip_NWQ_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWQ_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWQ_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWQ_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Mon Jan 17 12:41:40 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmnwqas02", - "ResourceHistory": [ - { - "Name": "rsc_sap_NWQ_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_ip_NWQ_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWQ_ERS10", - "FailCount": 1, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_socat_NWQ_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - }, - { - "Name": "vmnwqas01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_ip_NWQ_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWQ_ASCS00", - "FailCount": 1, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWQ_ASCS00", - "FailCount": 0, - "MigrationThreshold": 1 - }, - { - "Name": "rsc_socat_NWQ_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmnwqas02", - "Attributes": [ - { - "Name": "runs_ers_NWQ", - "Value": "1" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_host_discovery.json deleted file mode 100644 index 44f57906a6..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "25677e37-fd33-5005-896c-9275b1284534", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwqas01", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.21", - "10.90.1.25", - "fe80::6245:bdff:fe8d:a30" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwqas01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_sap_system_discovery.json deleted file mode 100644 index eb5935cae1..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_sap_system_discovery.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "agent_id": "25677e37-fd33-5005-896c-9275b1284534", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "d01fdc69aeba7bd5133b210eb2884853", - "SID": "NWQ", - "Type": 2, - "DBAddress": "10.90.1.13", - "Profile": { - "SAPDBHOST": "ha-cluster.suse.de", - "dbms/name": "HDQ", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwqas", - "rdisp/msserv": "sapmsNWQ", - "SAPGLOBALHOST": "sapnwqas", - "SAPSYSTEMNAME": "NWQ", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDQ", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwqas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwqas01", - "Name": "ASCS00", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwqas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwqer", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwqpas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwqaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 16279, - "name": "enserver", - "starttime": "2022 01 17 12:40:24", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "EnqueueServer", - "elapsedtime": "8:11:38" - }, - { - "pid": 16278, - "name": "msg_server", - "starttime": "2022 01 17 12:40:24", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "MessageServer", - "elapsedtime": "8:11:38" - } - ], - "Properties": [ - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "00", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "EnqGetLockTable", - "property": "Enque Locks", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwqas", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "ASCS00", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWQ", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "1", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "CentralServices", - "propertytype": "Attribute" - }, - { - "value": "EnqGetStatistic", - "property": "Enque Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://sapnwqas:50013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - }, - { - "value": "YES", - "property": "SupportsUpdateSCSInstance", - "propertytype": "Attribute" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_saptune_discovery.json deleted file mode 100644 index ad52c1fc92..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "25677e37-fd33-5005-896c-9275b1284534", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_subscription_discovery.json deleted file mode 100644 index 86517289a1..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/25677e37-fd33-5005-896c-9275b1284534_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "25677e37-fd33-5005-896c-9275b1284534", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_cloud_discovery.json deleted file mode 100644 index fa27287a7e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_cloud_discovery.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "3711ea88-9ccc-5b07-8f9d-042be449d72b", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "173ff22d-bb92-493a-a6b2-6a269614f178", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwqas02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwqas02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - } - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D06EF", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.90.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.90.1.22", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_ha_cluster_discovery.json deleted file mode 100644 index 31e1b1c806..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_ha_cluster_discovery.json +++ /dev/null @@ -1,726 +0,0 @@ -{ - "agent_id": "3711ea88-9ccc-5b07-8f9d-042be449d72b", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "acf59e7a5338f76f55d5055af3273480", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmnwqas01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmnwqas02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "netweaver_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": null, - "Groups": [ - { - "Id": "grp_NWQ_ASCS00", - "Primitives": [ - { - "Id": "rsc_ip_NWQ_ASCS00", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWQ_ASCS00-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWQ_ASCS00-instance_attributes-ip", - "Name": "ip", - "Value": "10.90.1.25" - } - ] - }, - { - "Id": "rsc_fs_NWQ_ASCS00", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWQ_ASCS00-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWQ_ASCS00-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWQ_ASCS00-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWQ_ASCS00-instance_attributes-device", - "Name": "device", - "Value": "10.90.1.33:/NWQ/ASCS" - }, - { - "Id": "rsc_fs_NWQ_ASCS00-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWQ/ASCS00" - }, - { - "Id": "rsc_fs_NWQ_ASCS00-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWQ_ASCS00", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWQ_ASCS00-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWQ_ASCS00-meta_attributes-resource-stickiness", - "Name": "resource-stickiness", - "Value": "5000" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-meta_attributes-failure-timeout", - "Name": "failure-timeout", - "Value": "60" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-meta_attributes-migration-threshold", - "Name": "migration-threshold", - "Value": "1" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-meta_attributes-priority", - "Name": "priority", - "Value": "10" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWQ_ASCS00-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWQ_ASCS00_sapnwqas" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWQ/profile/NWQ_ASCS00_sapnwqas" - }, - { - "Id": "rsc_sap_NWQ_ASCS00-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - } - ] - }, - { - "Id": "rsc_socat_NWQ_ASCS00", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWQ_ASCS00-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWQ_ASCS00-instance_attributes-port", - "Name": "port", - "Value": "62000" - } - ] - } - ] - }, - { - "Id": "grp_NWQ_ERS10", - "Primitives": [ - { - "Id": "rsc_ip_NWQ_ERS10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWQ_ERS10-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWQ_ERS10-instance_attributes-ip", - "Name": "ip", - "Value": "10.90.1.26" - } - ] - }, - { - "Id": "rsc_fs_NWQ_ERS10", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWQ_ERS10-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWQ_ERS10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWQ_ERS10-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWQ_ERS10-instance_attributes-device", - "Name": "device", - "Value": "10.90.1.33:/NWQ/ERS" - }, - { - "Id": "rsc_fs_NWQ_ERS10-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWQ/ERS10" - }, - { - "Id": "rsc_fs_NWQ_ERS10-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWQ_ERS10", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWQ_ERS10-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWQ_ERS10-meta_attributes-priority", - "Name": "priority", - "Value": "1000" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWQ_ERS10-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWQ_ERS10_sapnwqer" - }, - { - "Id": "rsc_sap_NWQ_ERS10-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWQ/profile/NWQ_ERS10_sapnwqer" - }, - { - "Id": "rsc_sap_NWQ_ERS10-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - }, - { - "Id": "rsc_sap_NWQ_ERS10-instance_attributes-IS_ERS", - "Name": "IS_ERS", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_NWQ_ERS10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWQ_ERS10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWQ_ERS10-instance_attributes-port", - "Name": "port", - "Value": "62110" - } - ] - } - ] - } - ], - "Masters": null, - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": [ - { - "Id": "loc_sap_NWQ_failover_to_ers", - "Node": "", - "Role": "", - "Score": "", - "Resource": "rsc_sap_NWQ_ASCS00" - } - ] - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_813ace38-2d4f-48f6-8aa2-5360252ca492", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "3365e35e-ba75-4d29-9f5a-1a0379ee7a60", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmnwqas01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmnwqas02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_813ace38-2d4f-48f6-8aa2-5360252ca492", - "Status": "healthy" - } - ] - }, - "Name": "netweaver_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmnwqas01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmnwqas02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 4 - } - ], - "Clones": null, - "Groups": [ - { - "Id": "grp_NWQ_ASCS00", - "Resources": [ - { - "Id": "rsc_ip_NWQ_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWQ_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWQ_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWQ_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - }, - { - "Id": "grp_NWQ_ERS10", - "Resources": [ - { - "Id": "rsc_ip_NWQ_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWQ_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWQ_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWQ_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Mon Jan 17 12:41:40 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmnwqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmnwqas02", - "ResourceHistory": [ - { - "Name": "rsc_sap_NWQ_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_ip_NWQ_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWQ_ERS10", - "FailCount": 1, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_socat_NWQ_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - }, - { - "Name": "vmnwqas01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_ip_NWQ_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWQ_ASCS00", - "FailCount": 1, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWQ_ASCS00", - "FailCount": 0, - "MigrationThreshold": 1 - }, - { - "Name": "rsc_socat_NWQ_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmnwqas02", - "Attributes": [ - { - "Name": "runs_ers_NWQ", - "Value": "1" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_host_discovery.json deleted file mode 100644 index b941a3603d..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "3711ea88-9ccc-5b07-8f9d-042be449d72b", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwqas02", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.22", - "10.90.1.26", - "fe80::6245:bdff:fe8d:6ef" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwqas02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_sap_system_discovery.json deleted file mode 100644 index 989514954a..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_sap_system_discovery.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "agent_id": "3711ea88-9ccc-5b07-8f9d-042be449d72b", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "d01fdc69aeba7bd5133b210eb2884853", - "SID": "NWQ", - "Type": 2, - "DBAddress": "10.90.1.13", - "Profile": { - "SAPDBHOST": "ha-cluster.suse.de", - "dbms/name": "HDQ", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwqas", - "rdisp/msserv": "sapmsNWQ", - "SAPGLOBALHOST": "sapnwqas", - "SAPSYSTEMNAME": "NWQ", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDQ", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwqas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwqas02", - "Name": "ERS10", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwqas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwqer", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwqpas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwqaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 9333, - "name": "enrepserver", - "starttime": "2022 01 17 12:41:17", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "EnqueueReplicator", - "elapsedtime": "8:10:52" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwqer", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "ERS10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWQ", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.5", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://sapnwqer:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_saptune_discovery.json deleted file mode 100644 index 5d161720d6..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "3711ea88-9ccc-5b07-8f9d-042be449d72b", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_subscription_discovery.json deleted file mode 100644 index 143c79ac2b..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/3711ea88-9ccc-5b07-8f9d-042be449d72b_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "3711ea88-9ccc-5b07-8f9d-042be449d72b", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_cloud_discovery.json deleted file mode 100644 index 1950d93c04..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "422686d6-b2d1-5092-93e8-a744854f5085", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "cee2a7db-7fb7-4c51-928e-214966364f8f", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmdrbdqas02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmdrbdqas02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmdrbdqas02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmdrbdqas02-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Standard_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D0523", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.90.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.90.1.32", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_ha_cluster_discovery.json deleted file mode 100644 index 25586ef8fc..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_ha_cluster_discovery.json +++ /dev/null @@ -1,685 +0,0 @@ -{ - "agent_id": "422686d6-b2d1-5092-93e8-a744854f5085", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "a034a158905404befe08775682910ee1", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmdrbdqas01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmdrbdqas02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "drbd_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cl-nfsserver", - "Primitive": { - "Id": "nfsserver", - "Type": "nfs-server", - "Class": "systemd", - "Provider": "", - "Operations": [ - { - "Id": "nfsserver-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": null - }, - "MetaAttributes": [ - { - "Id": "cl-nfsserver-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Primitives": [ - { - "Id": "fs_sapdata", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "fs_sapdata-monitor-20", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "fs_sapdata-instance_attributes-device", - "Name": "device", - "Value": "/dev/drbd1" - }, - { - "Id": "fs_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWQ" - }, - { - "Id": "fs_sapdata-instance_attributes-fstype", - "Name": "fstype", - "Value": "xfs" - }, - { - "Id": "fs_sapdata-instance_attributes-options", - "Name": "options", - "Value": "noatime,nodiratime" - } - ] - }, - { - "Id": "vip_sapdata_nfs", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "vip_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "vip_sapdata_nfs-instance_attributes-ip", - "Name": "ip", - "Value": "10.90.1.33" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "32" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "exportfs_work_sapdata", - "Type": "exportfs", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "exportfs_work_sapdata-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "exportfs_work_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWQ" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-fsid", - "Name": "fsid", - "Value": "1" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-options", - "Name": "options", - "Value": "rw,no_root_squash" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-clientspec", - "Name": "clientspec", - "Value": "*" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop", - "Name": "wait_for_leasetime_on_stop", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_sapdata_nfs-instance_attributes-port", - "Name": "port", - "Value": "61000" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "ms_sapdata", - "Primitive": { - "Id": "drbd-sapdata", - "Type": "drbd", - "Class": "ocf", - "Provider": "linbit", - "Operations": [ - { - "Id": "drbd-sapdata-monitor-15", - "Name": "monitor", - "Role": "Master", - "Timeout": "", - "Interval": "15" - }, - { - "Id": "drbd-sapdata-monitor-30", - "Name": "monitor", - "Role": "Slave", - "Timeout": "", - "Interval": "30" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "drbd-sapdata-instance_attributes-drbd_resource", - "Name": "drbd_resource", - "Value": "sapdata" - } - ] - }, - "MetaAttributes": [ - { - "Id": "ms_sapdata-meta_attributes-master-max", - "Name": "master-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-master-node-max", - "Name": "master-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-1-notify", - "Name": "notify", - "Value": "true" - }, - { - "Id": "ms_sapdata-meta_attributes-1-target-role", - "Name": "target-role", - "Value": "Started" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:c1c003f5-4e45-4d6f-8d81-e338f666365c", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "f5991966-5a7f-45d6-90d1-bfcedb265df6", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmdrbdqas01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmdrbdqas02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:c1c003f5-4e45-4d6f-8d81-e338f666365c", - "Status": "healthy" - } - ] - }, - "Name": "drbd_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": false, - "Id": "1", - "Name": "vmdrbdqas01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 7 - }, - { - "DC": true, - "Id": "2", - "Name": "vmdrbdqas02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "ms_sapdata", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "drbd-sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "drbd-sapdata", - "Node": { - "Id": "2", - "Name": "vmdrbdqas02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cl-nfsserver", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "nfsserver", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "nfsserver", - "Node": { - "Id": "2", - "Name": "vmdrbdqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Resources": [ - { - "Id": "fs_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "vip_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "exportfs_work_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:exportfs", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 12:20:56 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmdrbdqas01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "fs_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "vip_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "exportfs_work_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmdrbdqas02", - "ResourceHistory": [ - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmdrbdqas01", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - }, - { - "Name": "vmdrbdqas02", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_host_discovery.json deleted file mode 100644 index 706364497e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_host_discovery.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "agent_id": "422686d6-b2d1-5092-93e8-a744854f5085", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmdrbdqas02", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.32", - "fe80::6245:bdff:fe8d:523" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmdrbdqas02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_sap_system_discovery.json deleted file mode 100644 index f7e2256f9e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "422686d6-b2d1-5092-93e8-a744854f5085", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_saptune_discovery.json deleted file mode 100644 index 4f1853fd03..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "422686d6-b2d1-5092-93e8-a744854f5085", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_subscription_discovery.json deleted file mode 100644 index 5d7764fb07..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/422686d6-b2d1-5092-93e8-a744854f5085_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "422686d6-b2d1-5092-93e8-a744854f5085", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_cloud_discovery.json deleted file mode 100644 index 55aa9e5deb..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_cloud_discovery.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "4b30a6af-4b52-5bda-bccb-f2248a12c992", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "2c54a8bf-b71d-423b-a656-34bcc575970e", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwprd02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwprd02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - } - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A2E8038", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.22", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_ha_cluster_discovery.json deleted file mode 100644 index 87082f91f0..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_ha_cluster_discovery.json +++ /dev/null @@ -1,726 +0,0 @@ -{ - "agent_id": "4b30a6af-4b52-5bda-bccb-f2248a12c992", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "8bca366a6cb7816555538092a1ddd5aa", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmnwprd01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmnwprd02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "netweaver_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": null, - "Groups": [ - { - "Id": "grp_NWP_ASCS00", - "Primitives": [ - { - "Id": "rsc_ip_NWP_ASCS00", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWP_ASCS00-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWP_ASCS00-instance_attributes-ip", - "Name": "ip", - "Value": "10.80.1.25" - } - ] - }, - { - "Id": "rsc_fs_NWP_ASCS00", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWP_ASCS00-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWP_ASCS00-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWP_ASCS00-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWP_ASCS00-instance_attributes-device", - "Name": "device", - "Value": "10.80.1.33:/NWP/ASCS" - }, - { - "Id": "rsc_fs_NWP_ASCS00-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWP/ASCS00" - }, - { - "Id": "rsc_fs_NWP_ASCS00-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWP_ASCS00", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWP_ASCS00-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWP_ASCS00-meta_attributes-resource-stickiness", - "Name": "resource-stickiness", - "Value": "5000" - }, - { - "Id": "rsc_sap_NWP_ASCS00-meta_attributes-failure-timeout", - "Name": "failure-timeout", - "Value": "60" - }, - { - "Id": "rsc_sap_NWP_ASCS00-meta_attributes-migration-threshold", - "Name": "migration-threshold", - "Value": "1" - }, - { - "Id": "rsc_sap_NWP_ASCS00-meta_attributes-priority", - "Name": "priority", - "Value": "10" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWP_ASCS00-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWP_ASCS00_sapnwpas" - }, - { - "Id": "rsc_sap_NWP_ASCS00-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWP/profile/NWP_ASCS00_sapnwpas" - }, - { - "Id": "rsc_sap_NWP_ASCS00-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - } - ] - }, - { - "Id": "rsc_socat_NWP_ASCS00", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWP_ASCS00-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWP_ASCS00-instance_attributes-port", - "Name": "port", - "Value": "62000" - } - ] - } - ] - }, - { - "Id": "grp_NWP_ERS10", - "Primitives": [ - { - "Id": "rsc_ip_NWP_ERS10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWP_ERS10-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWP_ERS10-instance_attributes-ip", - "Name": "ip", - "Value": "10.80.1.26" - } - ] - }, - { - "Id": "rsc_fs_NWP_ERS10", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWP_ERS10-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWP_ERS10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWP_ERS10-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWP_ERS10-instance_attributes-device", - "Name": "device", - "Value": "10.80.1.33:/NWP/ERS" - }, - { - "Id": "rsc_fs_NWP_ERS10-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWP/ERS10" - }, - { - "Id": "rsc_fs_NWP_ERS10-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWP_ERS10", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWP_ERS10-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWP_ERS10-meta_attributes-priority", - "Name": "priority", - "Value": "1000" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWP_ERS10-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWP_ERS10_sapnwper" - }, - { - "Id": "rsc_sap_NWP_ERS10-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWP/profile/NWP_ERS10_sapnwper" - }, - { - "Id": "rsc_sap_NWP_ERS10-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - }, - { - "Id": "rsc_sap_NWP_ERS10-instance_attributes-IS_ERS", - "Name": "IS_ERS", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_NWP_ERS10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWP_ERS10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWP_ERS10-instance_attributes-port", - "Name": "port", - "Value": "62110" - } - ] - } - ] - } - ], - "Masters": null, - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": [ - { - "Id": "loc_sap_NWP_failover_to_ers", - "Node": "", - "Role": "", - "Score": "", - "Resource": "rsc_sap_NWP_ASCS00" - } - ] - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_e34218cd-0d9a-4b21-b6d5-a313980baa82", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "e0c97fe2-f63a-4fd1-83df-9a736a03b49b", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmnwprd01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmnwprd02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_e34218cd-0d9a-4b21-b6d5-a313980baa82", - "Status": "healthy" - } - ] - }, - "Name": "netweaver_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmnwprd01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmnwprd02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 4 - } - ], - "Clones": null, - "Groups": [ - { - "Id": "grp_NWP_ASCS00", - "Resources": [ - { - "Id": "rsc_ip_NWP_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWP_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWP_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWP_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - }, - { - "Id": "grp_NWP_ERS10", - "Resources": [ - { - "Id": "rsc_ip_NWP_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWP_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWP_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWP_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 13:43:06 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmnwprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmnwprd01", - "ResourceHistory": [ - { - "Name": "rsc_ip_NWP_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_socat_NWP_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWP_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWP_ASCS00", - "FailCount": 0, - "MigrationThreshold": 1 - } - ] - }, - { - "Name": "vmnwprd02", - "ResourceHistory": [ - { - "Name": "rsc_ip_NWP_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWP_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWP_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_socat_NWP_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmnwprd02", - "Attributes": [ - { - "Name": "runs_ers_NWP", - "Value": "1" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_host_discovery.json deleted file mode 100644 index 01bbaeca98..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "4b30a6af-4b52-5bda-bccb-f2248a12c992", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwprd02", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.22", - "10.80.1.26", - "fe80::20d:3aff:fe2e:8038" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwprd02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_sap_system_discovery.json deleted file mode 100644 index 2d743d0221..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_sap_system_discovery.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "agent_id": "4b30a6af-4b52-5bda-bccb-f2248a12c992", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "97a1e70aeff3c0685d65c4c3d32d533b", - "SID": "NWP", - "Type": 2, - "DBAddress": "10.80.1.13", - "Profile": { - "SAPDBHOST": "10.80.1.13", - "dbms/name": "HDP", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwpas", - "rdisp/msserv": "sapmsNWP", - "SAPGLOBALHOST": "sapnwpas", - "SAPSYSTEMNAME": "NWP", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDP", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwpas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwprd02", - "Name": "ERS10", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwpas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwper", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwppas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwpaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 23289, - "name": "enrepserver", - "starttime": "2022 01 11 13:43:18", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "EnqueueReplicator", - "elapsedtime": "151:08:42" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwper", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "ERS10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWP", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.5", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://sapnwper:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_saptune_discovery.json deleted file mode 100644 index 6c1a89ebec..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_saptune_discovery.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "4b30a6af-4b52-5bda-bccb-f2248a12c992", - "payload": { - "saptune_installed": true, - "package_version": "3.1.0", - "status": { - "$schema": "file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json", - "publish time": "2023-04-24 12:41:56.612", - "argv": "saptune --format json status", - "pid": 24623, - "command": "status", - "exit code": 4, - "result": { - "services": { - "saptune": [ - "enabled", - "active" - ], - "sapconf": [], - "tuned": [] - }, - "systemd system state": "running", - "tuning state": "not compliant", - "virtualization": "oracle", - "configured version": "3", - "package version": "3.1.0", - "Solution enabled": [ - "NETWEAVER" - ], - "Notes enabled by Solution": [ - { - "Solution ID": "NETWEAVER", - "Note list": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ] - } - ], - "Solution applied": [ - { - "Solution ID": "NETWEAVER", - "applied partially": false - } - ], - "Notes applied by Solution": [ - { - "Solution ID": "NETWEAVER", - "Note list": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ] - } - ], - "Notes enabled additionally": [], - "Notes enabled": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ], - "Notes applied": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ], - "staging": { - "staging enabled": false, - "Notes staged": [], - "Solutions staged": [] - }, - "remember message": "\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n" - }, - "messages": [ - { - "priority": "NOTICE", - "message": "actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n" - }, - { - "priority": "NOTICE", - "message": "ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n" - } - ] - } - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_subscription_discovery.json deleted file mode 100644 index fe28130118..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/4b30a6af-4b52-5bda-bccb-f2248a12c992_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "4b30a6af-4b52-5bda-bccb-f2248a12c992", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_cloud_discovery.json deleted file mode 100644 index f0b817aa3e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "69f4dcbb-efa2-5a16-8bc8-01df7dbb7384", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "458cb0ec-254e-4f68-873a-2d26e1e40c26", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmiscsi01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmiscsi01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-iscsisrv01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-iscsisrv01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "StandardSSD_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_DS1_v2", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A2AAABE", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.4", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_host_discovery.json deleted file mode 100644 index 1713ed5ff4..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_host_discovery.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "agent_id": "69f4dcbb-efa2-5a16-8bc8-01df7dbb7384", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmiscsi01", - "cpu_count": 1, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.4", - "fe80::20d:3aff:fe2a:aabe" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 3421, - "fully_qualified_domain_name": "vmiscsi01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_sap_system_discovery.json deleted file mode 100644 index b34f674be6..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "69f4dcbb-efa2-5a16-8bc8-01df7dbb7384", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_saptune_discovery.json deleted file mode 100644 index 9ebffdcca3..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "agent_id": "69f4dcbb-efa2-5a16-8bc8-01df7dbb7384", - "discovery_type": "saptune_discovery", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_subscription_discovery.json deleted file mode 100644 index c3f4bdde3c..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/69f4dcbb-efa2-5a16-8bc8-01df7dbb7384_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "69f4dcbb-efa2-5a16-8bc8-01df7dbb7384", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_cloud_discovery.json deleted file mode 100644 index b6e872ca7c..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_cloud_discovery.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "7269ee51-5007-5849-aaa7-7c4a98b0c9ce", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "84e20bce-76e8-4d55-bdea-7ec3faff60f2", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwdev01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwdev01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - } - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8A5CE7", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.21", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_ha_cluster_discovery.json deleted file mode 100644 index 66fc04da1b..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_ha_cluster_discovery.json +++ /dev/null @@ -1,726 +0,0 @@ -{ - "agent_id": "7269ee51-5007-5849-aaa7-7c4a98b0c9ce", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "057f083c3be591f4398eed816d4c8cd7", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmnwdev01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmnwdev02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "netweaver_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": null, - "Groups": [ - { - "Id": "grp_NWD_ASCS00", - "Primitives": [ - { - "Id": "rsc_ip_NWD_ASCS00", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWD_ASCS00-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWD_ASCS00-instance_attributes-ip", - "Name": "ip", - "Value": "10.100.1.25" - } - ] - }, - { - "Id": "rsc_fs_NWD_ASCS00", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWD_ASCS00-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWD_ASCS00-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWD_ASCS00-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWD_ASCS00-instance_attributes-device", - "Name": "device", - "Value": "10.100.1.33:/NWD/ASCS" - }, - { - "Id": "rsc_fs_NWD_ASCS00-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWD/ASCS00" - }, - { - "Id": "rsc_fs_NWD_ASCS00-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWD_ASCS00", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWD_ASCS00-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWD_ASCS00-meta_attributes-resource-stickiness", - "Name": "resource-stickiness", - "Value": "5000" - }, - { - "Id": "rsc_sap_NWD_ASCS00-meta_attributes-failure-timeout", - "Name": "failure-timeout", - "Value": "60" - }, - { - "Id": "rsc_sap_NWD_ASCS00-meta_attributes-migration-threshold", - "Name": "migration-threshold", - "Value": "1" - }, - { - "Id": "rsc_sap_NWD_ASCS00-meta_attributes-priority", - "Name": "priority", - "Value": "10" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWD_ASCS00-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWD_ASCS00_sapnwdas" - }, - { - "Id": "rsc_sap_NWD_ASCS00-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWD/profile/NWD_ASCS00_sapnwdas" - }, - { - "Id": "rsc_sap_NWD_ASCS00-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - } - ] - }, - { - "Id": "rsc_socat_NWD_ASCS00", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWD_ASCS00-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWD_ASCS00-instance_attributes-port", - "Name": "port", - "Value": "62000" - } - ] - } - ] - }, - { - "Id": "grp_NWD_ERS10", - "Primitives": [ - { - "Id": "rsc_ip_NWD_ERS10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWD_ERS10-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWD_ERS10-instance_attributes-ip", - "Name": "ip", - "Value": "10.100.1.26" - } - ] - }, - { - "Id": "rsc_fs_NWD_ERS10", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWD_ERS10-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWD_ERS10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWD_ERS10-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWD_ERS10-instance_attributes-device", - "Name": "device", - "Value": "10.100.1.33:/NWD/ERS" - }, - { - "Id": "rsc_fs_NWD_ERS10-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWD/ERS10" - }, - { - "Id": "rsc_fs_NWD_ERS10-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWD_ERS10", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWD_ERS10-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWD_ERS10-meta_attributes-priority", - "Name": "priority", - "Value": "1000" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWD_ERS10-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWD_ERS10_sapnwder" - }, - { - "Id": "rsc_sap_NWD_ERS10-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWD/profile/NWD_ERS10_sapnwder" - }, - { - "Id": "rsc_sap_NWD_ERS10-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - }, - { - "Id": "rsc_sap_NWD_ERS10-instance_attributes-IS_ERS", - "Name": "IS_ERS", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_NWD_ERS10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWD_ERS10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWD_ERS10-instance_attributes-port", - "Name": "port", - "Value": "62110" - } - ] - } - ] - } - ], - "Masters": null, - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": [ - { - "Id": "loc_sap_NWD_failover_to_ers", - "Node": "", - "Role": "", - "Score": "", - "Resource": "rsc_sap_NWD_ASCS00" - } - ] - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-36001405f01eb5f4c5c941e499beb055d", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "4e8adda1-da35-4ee4-92b9-a134494861f0", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmnwdev01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmnwdev02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-36001405f01eb5f4c5c941e499beb055d", - "Status": "healthy" - } - ] - }, - "Name": "netweaver_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmnwdev01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmnwdev02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 4 - } - ], - "Clones": null, - "Groups": [ - { - "Id": "grp_NWD_ASCS00", - "Resources": [ - { - "Id": "rsc_ip_NWD_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWD_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWD_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWD_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - }, - { - "Id": "grp_NWD_ERS10", - "Resources": [ - { - "Id": "rsc_ip_NWD_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWD_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWD_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWD_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 12:55:06 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmnwdev01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWD_ASCS00", - "FailCount": 0, - "MigrationThreshold": 1 - }, - { - "Name": "rsc_socat_NWD_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_ip_NWD_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWD_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - }, - { - "Name": "vmnwdev02", - "ResourceHistory": [ - { - "Name": "rsc_ip_NWD_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWD_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWD_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_socat_NWD_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmnwdev02", - "Attributes": [ - { - "Name": "runs_ers_NWD", - "Value": "1" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_host_discovery.json deleted file mode 100644 index 3d234e684f..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "7269ee51-5007-5849-aaa7-7c4a98b0c9ce", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwdev01", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.21", - "10.100.1.25", - "fe80::6245:bdff:fe8a:5ce7" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwdev01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_sap_system_discovery.json deleted file mode 100644 index d4ffdc9413..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_sap_system_discovery.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "agent_id": "7269ee51-5007-5849-aaa7-7c4a98b0c9ce", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "a1e80e3e152a903662f7882fb3f8a851", - "SID": "NWD", - "Type": 2, - "DBAddress": "10.100.1.13", - "Profile": { - "SAPDBHOST": "10.100.1.13", - "dbms/name": "HDD", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwdas", - "rdisp/msserv": "sapmsNWD", - "SAPGLOBALHOST": "sapnwdas", - "SAPSYSTEMNAME": "NWD", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDD", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwdas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwdev01", - "Name": "ASCS00", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwdas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwder", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwdpas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwdaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 7379, - "name": "enserver", - "starttime": "2022 01 11 12:55:17", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "EnqueueServer", - "elapsedtime": "151:56:46" - }, - { - "pid": 7378, - "name": "msg_server", - "starttime": "2022 01 11 12:55:17", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "MessageServer", - "elapsedtime": "151:56:46" - } - ], - "Properties": [ - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "00", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "EnqGetLockTable", - "property": "Enque Locks", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwdas", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "ASCS00", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWD", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "1", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "CentralServices", - "propertytype": "Attribute" - }, - { - "value": "EnqGetStatistic", - "property": "Enque Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://sapnwdas:50013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - }, - { - "value": "YES", - "property": "SupportsUpdateSCSInstance", - "propertytype": "Attribute" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_saptune_discovery.json deleted file mode 100644 index 6071e52cfe..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "7269ee51-5007-5849-aaa7-7c4a98b0c9ce", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_subscription_discovery.json deleted file mode 100644 index 0571389009..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/7269ee51-5007-5849-aaa7-7c4a98b0c9ce_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "7269ee51-5007-5849-aaa7-7c4a98b0c9ce", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_host_discovery.json deleted file mode 100644 index 77fe036cf8..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "81e9b629-c1e7-538f-bff1-47d3a6580522", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwqas04", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.28", - "10.90.1.24", - "fe80::6245:bdff:fe8d:dca" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwqas04.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_sap_system_discovery.json deleted file mode 100644 index 1f38d492d6..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_sap_system_discovery.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "agent_id": "81e9b629-c1e7-538f-bff1-47d3a6580522", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "d01fdc69aeba7bd5133b210eb2884853", - "SID": "NWQ", - "Type": 2, - "DBAddress": "10.90.1.13", - "Profile": { - "SAPDBHOST": "ha-cluster.suse.de", - "dbms/name": "HDQ", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwqas", - "rdisp/msserv": "sapmsNWQ", - "SAPGLOBALHOST": "sapnwqas", - "SAPSYSTEMNAME": "NWQ", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDQ", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwqas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwqas04", - "Name": "D02", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwqas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwqer", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwqpas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwqaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 27154, - "name": "gwrd", - "starttime": "2022 01 17 12:42:20", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Gateway", - "elapsedtime": "8:08:39" - }, - { - "pid": 27155, - "name": "icman", - "starttime": "2022 01 17 12:42:20", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "ICM", - "elapsedtime": "8:08:39" - }, - { - "pid": 27150, - "name": "igswd_mt", - "starttime": "2022 01 17 12:42:19", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "IGS Watchdog", - "elapsedtime": "8:08:40" - }, - { - "pid": 27149, - "name": "disp+work", - "starttime": "2022 01 17 12:42:19", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Dispatcher", - "elapsedtime": "8:08:40" - } - ], - "Properties": [ - { - "value": "HTTP://sapnwqaas1:0/sap/admin/public/index.html", - "property": "ICM", - "propertytype": "NodeURL" - }, - { - "value": "http://sapnwqaas1:40280", - "property": "IGS", - "propertytype": "NodeURL" - }, - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetCacheEntries", - "property": "ICM Cache", - "propertytype": "NodeWebmethod" - }, - { - "value": "02", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetThreadList", - "property": "ICM Threads", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAlertTree", - "property": "Open Alerts", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwqaas1", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "ABAPGetWPTable", - "property": "ABAP WP Table", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "D02", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWQ", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "GetAlertTree", - "property": "Current Status", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetClientList", - "property": "Gateway Clients", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetConnectionList", - "property": "ICM Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetQueueStatistic", - "property": "Queue Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetConnectionList", - "property": "Gateway Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetProxyConnectionList", - "property": "ICM Proxy Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "http://sapnwqaas1:50213/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_saptune_discovery.json deleted file mode 100644 index 4b68a06ae4..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "81e9b629-c1e7-538f-bff1-47d3a6580522", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_subscription_discovery.json deleted file mode 100644 index 645eef6f33..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/81e9b629-c1e7-538f-bff1-47d3a6580522_subscription_discovery.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "agent_id": "81e9b629-c1e7-538f-bff1-47d3a6580522", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "SLES_SAP" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-ha" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Not Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_cloud_discovery.json deleted file mode 100644 index daa8feabab..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "927901fa-2c87-524e-b18c-3ef5187f504f", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "f89fef5e-e7e3-469d-b819-a0154be6150c", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmdrbdprd02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmdrbdprd02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmdrbdprd02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmdrbdprd02-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Standard_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A2E8B91", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.32", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_ha_cluster_discovery.json deleted file mode 100644 index c2e0455ecd..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_ha_cluster_discovery.json +++ /dev/null @@ -1,685 +0,0 @@ -{ - "agent_id": "927901fa-2c87-524e-b18c-3ef5187f504f", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "238a4de1239aae2aa87433eed788b3ad", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmdrbdprd01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmdrbdprd02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "drbd_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cl-nfsserver", - "Primitive": { - "Id": "nfsserver", - "Type": "nfs-server", - "Class": "systemd", - "Provider": "", - "Operations": [ - { - "Id": "nfsserver-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": null - }, - "MetaAttributes": [ - { - "Id": "cl-nfsserver-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Primitives": [ - { - "Id": "fs_sapdata", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "fs_sapdata-monitor-20", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "fs_sapdata-instance_attributes-device", - "Name": "device", - "Value": "/dev/drbd1" - }, - { - "Id": "fs_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWP" - }, - { - "Id": "fs_sapdata-instance_attributes-fstype", - "Name": "fstype", - "Value": "xfs" - }, - { - "Id": "fs_sapdata-instance_attributes-options", - "Name": "options", - "Value": "noatime,nodiratime" - } - ] - }, - { - "Id": "vip_sapdata_nfs", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "vip_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "vip_sapdata_nfs-instance_attributes-ip", - "Name": "ip", - "Value": "10.80.1.33" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "32" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "exportfs_work_sapdata", - "Type": "exportfs", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "exportfs_work_sapdata-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "exportfs_work_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWP" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-fsid", - "Name": "fsid", - "Value": "1" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-options", - "Name": "options", - "Value": "rw,no_root_squash" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-clientspec", - "Name": "clientspec", - "Value": "*" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop", - "Name": "wait_for_leasetime_on_stop", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_sapdata_nfs-instance_attributes-port", - "Name": "port", - "Value": "61000" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "ms_sapdata", - "Primitive": { - "Id": "drbd-sapdata", - "Type": "drbd", - "Class": "ocf", - "Provider": "linbit", - "Operations": [ - { - "Id": "drbd-sapdata-monitor-15", - "Name": "monitor", - "Role": "Master", - "Timeout": "", - "Interval": "15" - }, - { - "Id": "drbd-sapdata-monitor-30", - "Name": "monitor", - "Role": "Slave", - "Timeout": "", - "Interval": "30" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "drbd-sapdata-instance_attributes-drbd_resource", - "Name": "drbd_resource", - "Value": "sapdata" - } - ] - }, - "MetaAttributes": [ - { - "Id": "ms_sapdata-meta_attributes-master-max", - "Name": "master-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-master-node-max", - "Name": "master-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-1-notify", - "Name": "notify", - "Value": "true" - }, - { - "Id": "ms_sapdata-meta_attributes-1-target-role", - "Name": "target-role", - "Value": "Started" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_b7b1cd3d-776e-4432-a9e5-6fe56e4b4e17", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "28fd9d5e-3685-4cb7-85e9-76c4b140ea3c", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmdrbdprd01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmdrbdprd02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_b7b1cd3d-776e-4432-a9e5-6fe56e4b4e17", - "Status": "healthy" - } - ] - }, - "Name": "drbd_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": false, - "Id": "1", - "Name": "vmdrbdprd01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 7 - }, - { - "DC": true, - "Id": "2", - "Name": "vmdrbdprd02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "ms_sapdata", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "drbd-sapdata", - "Node": { - "Id": "2", - "Name": "vmdrbdprd02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "drbd-sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cl-nfsserver", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "nfsserver", - "Node": { - "Id": "2", - "Name": "vmdrbdprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "nfsserver", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Resources": [ - { - "Id": "fs_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "vip_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "exportfs_work_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:exportfs", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 13:24:06 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmdrbdprd02", - "ResourceHistory": [ - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmdrbdprd01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "fs_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "vip_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "exportfs_work_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmdrbdprd01", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - }, - { - "Name": "vmdrbdprd02", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_host_discovery.json deleted file mode 100644 index 6fe6e11185..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_host_discovery.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "agent_id": "927901fa-2c87-524e-b18c-3ef5187f504f", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmdrbdprd02", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.32", - "fe80::20d:3aff:fe2e:8b91" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmdrbdprd02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_sap_system_discovery.json deleted file mode 100644 index ed23638a3d..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "927901fa-2c87-524e-b18c-3ef5187f504f", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_saptune_discovery.json deleted file mode 100644 index af9ee351d5..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_saptune_discovery.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "927901fa-2c87-524e-b18c-3ef5187f504f", - "payload": { - "saptune_installed": true, - "package_version": "3.1.0", - "status": { - "$schema": "file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json", - "publish time": "2023-04-24 12:41:56.612", - "argv": "saptune --format json status", - "pid": 24623, - "command": "status", - "exit code": 4, - "result": { - "services": { - "saptune": [ - "enabled", - "inactive" - ], - "sapconf": [], - "tuned": [] - }, - "systemd system state": "running", - "tuning state": "not tuned", - "virtualization": "oracle", - "configured version": "3", - "package version": "3.1.0", - "Solution enabled": [], - "Notes enabled by Solution": [], - "Solution applied": [], - "Notes applied by Solution": [], - "Notes enabled additionally": [], - "Notes enabled": [], - "Notes applied": [], - "staging": { - "staging enabled": false, - "Notes staged": [], - "Solutions staged": [] - }, - "remember message": "\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n" - }, - "messages": [] - } - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_subscription_discovery.json deleted file mode 100644 index e8b3f212ad..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/927901fa-2c87-524e-b18c-3ef5187f504f_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "927901fa-2c87-524e-b18c-3ef5187f504f", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_cloud_discovery.json deleted file mode 100644 index 2803d8dc12..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_cloud_discovery.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "99cf8a3a-48d6-57a4-b302-6e4482227ab6", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "f01d07fa-c7eb-477a-9de1-eef7e946fdbe", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmhdbqas01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmhdbqas01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmhdbqas01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmhdbqas01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "0" - }, - { - "name": "disk-vmhdbqas01-Data02", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "1" - }, - { - "name": "disk-vmhdbqas01-Data03", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "2" - }, - { - "name": "disk-vmhdbqas01-Data04", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "3" - }, - { - "name": "disk-vmhdbqas01-Data05", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "4" - }, - { - "name": "disk-vmhdbqas01-Data06", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "5" - }, - { - "name": "disk-vmhdbqas01-Data07", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "6" - } - ] - }, - "vmSize": "Standard_E4s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D01D5", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.90.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.90.1.11", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_ha_cluster_discovery.json deleted file mode 100644 index 7417b1ef43..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_ha_cluster_discovery.json +++ /dev/null @@ -1,785 +0,0 @@ -{ - "agent_id": "99cf8a3a-48d6-57a4-b302-6e4482227ab6", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "4e905d706da85f5be14f85fa947c1e39", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmhdbqas01", - "InstanceAttributes": [ - { - "Id": "nodes-1-lpa_hdq_lpt", - "Name": "lpa_hdq_lpt", - "Value": "1643125033" - }, - { - "Id": "nodes-1-hana_hdq_vhost", - "Name": "hana_hdq_vhost", - "Value": "vmhdbqas01" - }, - { - "Id": "nodes-1-hana_hdq_site", - "Name": "hana_hdq_site", - "Value": "NBG" - }, - { - "Id": "nodes-1-hana_hdq_op_mode", - "Name": "hana_hdq_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-1-hana_hdq_srmode", - "Name": "hana_hdq_srmode", - "Value": "sync" - }, - { - "Id": "nodes-1-hana_hdq_remoteHost", - "Name": "hana_hdq_remoteHost", - "Value": "vmhdbqas02" - } - ] - }, - { - "Id": "2", - "Uname": "vmhdbqas02", - "InstanceAttributes": [ - { - "Id": "nodes-2-lpa_hdq_lpt", - "Name": "lpa_hdq_lpt", - "Value": "30" - }, - { - "Id": "nodes-2-hana_hdq_op_mode", - "Name": "hana_hdq_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-2-hana_hdq_vhost", - "Name": "hana_hdq_vhost", - "Value": "vmhdbqas02" - }, - { - "Id": "nodes-2-hana_hdq_remoteHost", - "Name": "hana_hdq_remoteHost", - "Value": "vmhdbqas01" - }, - { - "Id": "nodes-2-hana_hdq_site", - "Name": "hana_hdq_site", - "Value": "WDF" - }, - { - "Id": "nodes-2-hana_hdq_srmode", - "Name": "hana_hdq_srmode", - "Value": "sync" - } - ] - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "hana_cluster_2" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - }, - { - "Id": "SAPHanaSR-hana_hdq_site_srHook_WDF", - "Name": "hana_hdq_site_srHook_WDF", - "Value": "SOK" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cln_SAPHanaTopology_HDQ_HDB10", - "Primitive": { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10", - "Type": "SAPHanaTopology", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "600", - "Interval": "10" - }, - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "300", - "Interval": "0" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDQ" - }, - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - } - ] - }, - "MetaAttributes": [ - { - "Id": "cln_SAPHanaTopology_HDQ_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "cln_SAPHanaTopology_HDQ_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g_ip_HDQ_HDB10", - "Primitives": [ - { - "Id": "rsc_ip_HDQ_HDB10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_HDQ_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDQ_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDQ_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_HDQ_HDB10-instance_attributes-ip", - "Name": "ip", - "Value": "10.90.1.13" - }, - { - "Id": "rsc_ip_HDQ_HDB10-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "24" - }, - { - "Id": "rsc_ip_HDQ_HDB10-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "rsc_socat_HDQ_HDB10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_HDQ_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_HDQ_HDB10-instance_attributes-port", - "Name": "port", - "Value": "62510" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "msl_SAPHana_HDQ_HDB10", - "Primitive": { - "Id": "rsc_SAPHana_HDQ_HDB10", - "Type": "SAPHana", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHana_HDQ_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-promote-0", - "Name": "promote", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-monitor-60", - "Name": "monitor", - "Role": "Master", - "Timeout": "700", - "Interval": "60" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-monitor-61", - "Name": "monitor", - "Role": "Slave", - "Timeout": "700", - "Interval": "61" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDQ" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-PREFER_SITE_TAKEOVER", - "Name": "PREFER_SITE_TAKEOVER", - "Value": "True" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-AUTOMATED_REGISTER", - "Name": "AUTOMATED_REGISTER", - "Value": "False" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT", - "Name": "DUPLICATE_PRIMARY_TIMEOUT", - "Value": "7200" - } - ] - }, - "MetaAttributes": [ - { - "Id": "msl_SAPHana_HDQ_HDB10-meta_attributes-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "msl_SAPHana_HDQ_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "msl_SAPHana_HDQ_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": [ - { - "Id": "stonith-sbd-monitor-15", - "Name": "monitor", - "Role": "", - "Timeout": "15", - "Interval": "15" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "15" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-360014058d88c7795c6a4b66bc024f4bd", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "246da75b-af59-4135-b980-90bf87815e2e", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmhdbqas01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmhdbqas02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-360014058d88c7795c6a4b66bc024f4bd", - "Status": "healthy" - } - ] - }, - "Name": "hana_cluster_2", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmhdbqas01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmhdbqas02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "msl_SAPHana_HDQ_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHana_HDQ_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbqas02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cln_SAPHanaTopology_HDQ_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g_ip_HDQ_HDB10", - "Resources": [ - { - "Id": "rsc_ip_HDQ_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_HDQ_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 7, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 25 15:37:13 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmhdbqas01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_ip_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHana_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmhdbqas02", - "ResourceHistory": [ - { - "Name": "rsc_SAPHana_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmhdbqas01", - "Attributes": [ - { - "Name": "hana_hdq_clone_state", - "Value": "PROMOTED" - }, - { - "Name": "hana_hdq_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdq_remoteHost", - "Value": "vmhdbqas02" - }, - { - "Name": "hana_hdq_roles", - "Value": "4:P:master1:master:worker:master" - }, - { - "Name": "hana_hdq_site", - "Value": "NBG" - }, - { - "Name": "hana_hdq_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdq_sync_state", - "Value": "PRIM" - }, - { - "Name": "hana_hdq_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdq_vhost", - "Value": "vmhdbqas01" - }, - { - "Name": "lpa_hdq_lpt", - "Value": "1643125033" - }, - { - "Name": "master-rsc_SAPHana_HDQ_HDB10", - "Value": "150" - } - ] - }, - { - "Name": "vmhdbqas02", - "Attributes": [ - { - "Name": "hana_hdq_clone_state", - "Value": "DEMOTED" - }, - { - "Name": "hana_hdq_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdq_remoteHost", - "Value": "vmhdbqas01" - }, - { - "Name": "hana_hdq_roles", - "Value": "4:S:master1:master:worker:master" - }, - { - "Name": "hana_hdq_site", - "Value": "WDF" - }, - { - "Name": "hana_hdq_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdq_sync_state", - "Value": "SOK" - }, - { - "Name": "hana_hdq_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdq_vhost", - "Value": "vmhdbqas02" - }, - { - "Name": "lpa_hdq_lpt", - "Value": "30" - }, - { - "Name": "master-rsc_SAPHana_HDQ_HDB10", - "Value": "100" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_host_discovery.json deleted file mode 100644 index 57aefd3402..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "99cf8a3a-48d6-57a4-b302-6e4482227ab6", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmhdbqas01", - "cpu_count": 4, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.11", - "10.90.1.13", - "fe80::6245:bdff:fe8d:1d5" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 32107, - "fully_qualified_domain_name": "vmhdbqas01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_sap_system_discovery.json deleted file mode 100644 index 3a1d01fa11..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_sap_system_discovery.json +++ /dev/null @@ -1,382 +0,0 @@ -{ - "agent_id": "99cf8a3a-48d6-57a4-b302-6e4482227ab6", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "9953878f07bb54cac20d5d5d7ff08af2", - "SID": "HDQ", - "Type": 1, - "Profile": { - "SAPGLOBALHOST": "vmhdbqas01", - "SAPSYSTEMNAME": "HDQ", - "hdbConfigType": "DEFAULT", - "ssl/ciphersuites": "135:PFS:HIGH::EC_P256:EC_HIGH", - "HDB_LINKED_BINARIES": "yes", - "HDB_SHARED_BINARIES": "yes" - }, - "Databases": [ - { - "Host": "vmhdbqas01", - "User": "", - "Group": "", - "Active": "yes", - "UserId": "", - "GroupId": "", - "SqlPort": "31015", - "Database": "HDQ", - "Container": "" - } - ], - "Instances": [ - { - "Host": "vmhdbqas01", - "Name": "HDB10", - "Type": 1, - "SAPControl": { - "Instances": [ - { - "features": "HDB|HDB_WORKER", - "hostname": "vmhdbqas01", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.3" - } - ], - "Processes": [ - { - "pid": 25408, - "name": "hdbdaemon", - "starttime": "2022 01 11 12:28:43", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Daemon", - "elapsedtime": "152:23:18" - }, - { - "pid": 27262, - "name": "hdbxsengine", - "starttime": "2022 01 11 12:29:06", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB XSEngine-HDQ", - "elapsedtime": "152:22:55" - }, - { - "pid": 25428, - "name": "hdbnameserver", - "starttime": "2022 01 11 12:28:44", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Nameserver", - "elapsedtime": "152:23:17" - }, - { - "pid": 27259, - "name": "hdbindexserver", - "starttime": "2022 01 11 12:29:06", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Indexserver-HDQ", - "elapsedtime": "152:22:55" - }, - { - "pid": 27206, - "name": "hdbpreprocessor", - "starttime": "2022 01 11 12:29:06", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Preprocessor", - "elapsedtime": "152:22:55" - }, - { - "pid": 27203, - "name": "hdbcompileserver", - "starttime": "2022 01 11 12:29:06", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Compileserver", - "elapsedtime": "152:22:55" - }, - { - "pid": 29632, - "name": "hdbwebdispatcher", - "starttime": "2022 01 11 12:29:37", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Web Dispatcher", - "elapsedtime": "152:22:24" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "DBServices", - "propertytype": "Attribute" - }, - { - "value": "worker", - "property": "HANA Roles", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "vmhdbqas01", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "HDB10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "HDQ", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://vmhdbqas01:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": { - "mode": "primary", - "online": "true", - "site_id": "1", - "isSource": "true", - "site_name": "NBG", - "isConsumer": "false", - "hasConsumers": "true", - "siteTier/NBG": "1", - "siteTier/WDF": "2", - "operation_mode": "primary", - "siteMapping/NBG": "WDF", - "isTakeoverActive": "false", - "isPrimarySuspended": "false", - "mapping/vmhdbqas01": [ - "WDF/vmhdbqas02", - "NBG/vmhdbqas01" - ], - "siteOperationMode/NBG": "primary", - "siteOperationMode/WDF": "logreplay", - "siteReplicationMode/NBG": "primary", - "siteReplicationMode/WDF": "sync" - }, - "HostConfiguration": { - "host": "vmhdbqas01", - "hostActive": "yes", - "hostStatus": "ok", - "removeStatus": "", - "failoverStatus": "", - "hostActualRoles": "worker", - "hostConfigRoles": "worker", - "storagePartition": "1", - "workerActualGroups": "default", - "workerConfigGroups": "default", - "failoverActualGroup": "default", - "failoverConfigGroup": "default", - "nameServerActualRole": "master", - "nameServerConfigRole": "master 1", - "indexServerActualRole": "master", - "indexServerConfigRole": "worker", - "storageActualPartition": "1", - "storageConfigPartition": "1" - }, - "SystemReplication": { - "local_site_id": "1", - "site/1/SITE_NAME": "NBG", - "site/2/SITE_NAME": "WDF", - "site/2/SOURCE_SITE_ID": "1", - "site/1/REPLICATION_MODE": "PRIMARY", - "site/2/REPLICATION_MODE": "SYNC", - "site/2/REPLICATION_STATUS": "ACTIVE", - "overall_replication_status": "ACTIVE", - "service/vmhdbqas01/31001/HOST": "vmhdbqas01", - "service/vmhdbqas01/31001/PORT": "31001", - "service/vmhdbqas01/31003/HOST": "vmhdbqas01", - "service/vmhdbqas01/31003/PORT": "31003", - "service/vmhdbqas01/31007/HOST": "vmhdbqas01", - "service/vmhdbqas01/31007/PORT": "31007", - "service/vmhdbqas01/31001/SITE_ID": "1", - "service/vmhdbqas01/31003/SITE_ID": "1", - "service/vmhdbqas01/31007/SITE_ID": "1", - "service/vmhdbqas01/31001/DATABASE": "SYSTEMDB", - "service/vmhdbqas01/31003/DATABASE": "HDQ", - "service/vmhdbqas01/31007/DATABASE": "HDQ", - "service/vmhdbqas01/31001/FULL_SYNC": "DISABLED", - "service/vmhdbqas01/31001/SITE_NAME": "NBG", - "service/vmhdbqas01/31001/VOLUME_ID": "1", - "service/vmhdbqas01/31003/FULL_SYNC": "DISABLED", - "service/vmhdbqas01/31003/SITE_NAME": "NBG", - "service/vmhdbqas01/31003/VOLUME_ID": "3", - "service/vmhdbqas01/31007/FULL_SYNC": "DISABLED", - "service/vmhdbqas01/31007/SITE_NAME": "NBG", - "service/vmhdbqas01/31007/VOLUME_ID": "2", - "service/vmhdbqas01/31001/RESET_COUNT": "0", - "service/vmhdbqas01/31003/RESET_COUNT": "0", - "service/vmhdbqas01/31007/RESET_COUNT": "0", - "service/vmhdbqas01/31001/SERVICE_NAME": "nameserver", - "service/vmhdbqas01/31003/SERVICE_NAME": "indexserver", - "service/vmhdbqas01/31007/SERVICE_NAME": "xsengine", - "service/vmhdbqas01/31001/CREATION_TIME": "2022-01-11 12:29:06.391562", - "service/vmhdbqas01/31003/CREATION_TIME": "2022-01-11 12:29:33.189016", - "service/vmhdbqas01/31007/CREATION_TIME": "2022-01-11 12:29:37.637575", - "service/vmhdbqas01/31001/OPERATION_MODE": "logreplay", - "service/vmhdbqas01/31001/SECONDARY_HOST": "vmhdbqas02", - "service/vmhdbqas01/31001/SECONDARY_PORT": "31001", - "service/vmhdbqas01/31003/OPERATION_MODE": "logreplay", - "service/vmhdbqas01/31003/SECONDARY_HOST": "vmhdbqas02", - "service/vmhdbqas01/31003/SECONDARY_PORT": "31003", - "service/vmhdbqas01/31007/OPERATION_MODE": "logreplay", - "service/vmhdbqas01/31007/SECONDARY_HOST": "vmhdbqas02", - "service/vmhdbqas01/31007/SECONDARY_PORT": "31007", - "service/vmhdbqas01/31001/LAST_RESET_TIME": "2022-01-11 12:29:06.391562", - "service/vmhdbqas01/31003/LAST_RESET_TIME": "2022-01-11 12:29:33.189016", - "service/vmhdbqas01/31007/LAST_RESET_TIME": "2022-01-11 12:29:37.637575", - "service/vmhdbqas01/31001/REPLICATION_MODE": "SYNC", - "service/vmhdbqas01/31003/REPLICATION_MODE": "SYNC", - "service/vmhdbqas01/31007/REPLICATION_MODE": "SYNC", - "service/vmhdbqas01/31001/LAST_LOG_POSITION": "45366976", - "service/vmhdbqas01/31001/SECONDARY_SITE_ID": "2", - "service/vmhdbqas01/31003/LAST_LOG_POSITION": "247682688", - "service/vmhdbqas01/31003/SECONDARY_SITE_ID": "2", - "service/vmhdbqas01/31007/LAST_LOG_POSITION": "4699712", - "service/vmhdbqas01/31007/SECONDARY_SITE_ID": "2", - "service/vmhdbqas01/31001/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbqas01/31003/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbqas01/31007/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbqas01/31001/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbqas01/31003/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbqas01/31007/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbqas01/31001/SHIPPED_LOG_POSITION": "45366976", - "service/vmhdbqas01/31003/SHIPPED_LOG_POSITION": "247682688", - "service/vmhdbqas01/31007/SHIPPED_LOG_POSITION": "4699712", - "service/vmhdbqas01/31001/REPLAYED_LOG_POSITION": "45366976", - "service/vmhdbqas01/31003/REPLAYED_LOG_POSITION": "247682688", - "service/vmhdbqas01/31007/REPLAYED_LOG_POSITION": "4699652", - "service/vmhdbqas01/31001/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:57.259967", - "service/vmhdbqas01/31001/LAST_SAVEPOINT_VERSION": "3060", - "service/vmhdbqas01/31001/SECONDARY_CONNECT_TIME": "2022-01-11 12:30:25.128075", - "service/vmhdbqas01/31003/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:46.152250", - "service/vmhdbqas01/31003/LAST_SAVEPOINT_VERSION": "2866", - "service/vmhdbqas01/31003/SECONDARY_CONNECT_TIME": "2022-01-11 12:35:03.347379", - "service/vmhdbqas01/31007/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:44.353141", - "service/vmhdbqas01/31007/LAST_SAVEPOINT_VERSION": "2887", - "service/vmhdbqas01/31007/SECONDARY_CONNECT_TIME": "2022-01-11 12:35:03.226334", - "service/vmhdbqas01/31001/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbqas01/31003/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbqas01/31007/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbqas01/31001/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbqas01/31001/SHIPPED_LOG_BUFFERS_SIZE": "555925504", - "service/vmhdbqas01/31003/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbqas01/31003/SHIPPED_LOG_BUFFERS_SIZE": "3534827520", - "service/vmhdbqas01/31007/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbqas01/31007/SHIPPED_LOG_BUFFERS_SIZE": "269307904", - "service/vmhdbqas01/31001/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:47:57.248689", - "service/vmhdbqas01/31001/SECONDARY_RECONNECT_COUNT": "0", - "service/vmhdbqas01/31001/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbqas01/31001/SHIPPED_LOG_BUFFERS_COUNT": "125862", - "service/vmhdbqas01/31001/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:57.259967", - "service/vmhdbqas01/31001/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbqas01/31003/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:48:26.167454", - "service/vmhdbqas01/31003/SECONDARY_RECONNECT_COUNT": "9", - "service/vmhdbqas01/31003/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbqas01/31003/SHIPPED_LOG_BUFFERS_COUNT": "684679", - "service/vmhdbqas01/31003/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:46.152250", - "service/vmhdbqas01/31003/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbqas01/31007/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:51:44.329775", - "service/vmhdbqas01/31007/SECONDARY_RECONNECT_COUNT": "9", - "service/vmhdbqas01/31007/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbqas01/31007/SHIPPED_LOG_BUFFERS_COUNT": "65749", - "service/vmhdbqas01/31007/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:44.353141", - "service/vmhdbqas01/31007/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbqas01/31001/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:57.259967", - "service/vmhdbqas01/31001/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbqas01/31001/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbqas01/31001/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbqas01/31003/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:46.152250", - "service/vmhdbqas01/31003/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbqas01/31003/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbqas01/31003/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbqas01/31007/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:44.353141", - "service/vmhdbqas01/31007/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbqas01/31007/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbqas01/31007/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbqas01/31001/LAST_SAVEPOINT_LOG_POSITION": "45363330", - "service/vmhdbqas01/31001/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbqas01/31003/LAST_SAVEPOINT_LOG_POSITION": "247663426", - "service/vmhdbqas01/31003/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbqas01/31007/LAST_SAVEPOINT_LOG_POSITION": "4699460", - "service/vmhdbqas01/31007/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbqas01/31001/SHIPPED_LOG_BUFFERS_DURATION": "354670113", - "service/vmhdbqas01/31001/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbqas01/31003/SHIPPED_LOG_BUFFERS_DURATION": "1782503270", - "service/vmhdbqas01/31003/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbqas01/31007/SHIPPED_LOG_BUFFERS_DURATION": "176031371", - "service/vmhdbqas01/31007/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbqas01/31001/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbqas01/31003/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbqas01/31007/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbqas01/31001/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbqas01/31001/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbqas01/31001/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbqas01/31003/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbqas01/31003/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbqas01/31003/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbqas01/31007/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbqas01/31007/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbqas01/31007/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbqas01/31001/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbqas01/31003/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbqas01/31007/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbqas01/31001/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbqas01/31003/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbqas01/31007/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbqas01/31001/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbqas01/31003/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbqas01/31007/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbqas01/31001/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbqas01/31003/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbqas01/31007/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbqas01/31001/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-", - "service/vmhdbqas01/31003/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-", - "service/vmhdbqas01/31007/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-" - } - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_saptune_discovery.json deleted file mode 100644 index e18e6df72d..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "99cf8a3a-48d6-57a4-b302-6e4482227ab6", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_subscription_discovery.json deleted file mode 100644 index 21a979efbf..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/99cf8a3a-48d6-57a4-b302-6e4482227ab6_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "99cf8a3a-48d6-57a4-b302-6e4482227ab6", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_cloud_discovery.json deleted file mode 100644 index 27d57e32f2..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "9a26b6d0-6e72-597c-9fe5-152a6875f214", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "f57047ca-95a3-473a-8294-079c5173576a", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmiscsi01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmiscsi01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-iscsisrv01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-iscsisrv01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "StandardSSD_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_DS1_v2", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A2E835A", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.4", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_host_discovery.json deleted file mode 100644 index a76dfdabb0..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_host_discovery.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "agent_id": "9a26b6d0-6e72-597c-9fe5-152a6875f214", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmiscsi01", - "cpu_count": 1, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.4", - "fe80::20d:3aff:fe2e:835a" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 3421, - "fully_qualified_domain_name": "vmiscsi01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_sap_system_discovery.json deleted file mode 100644 index 65cbae7d19..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "9a26b6d0-6e72-597c-9fe5-152a6875f214", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_saptune_discovery.json deleted file mode 100644 index b18654f089..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "9a26b6d0-6e72-597c-9fe5-152a6875f214", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_subscription_discovery.json deleted file mode 100644 index 4670f81608..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a26b6d0-6e72-597c-9fe5-152a6875f214_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "9a26b6d0-6e72-597c-9fe5-152a6875f214", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_cloud_discovery.json deleted file mode 100644 index 02c86eddb3..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_cloud_discovery.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "14173622-8d19-4e09-9661-2bfb236b01e4", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwdev03", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwdev03", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver03-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-netweaver01-App", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Attach", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D9EF4", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.23", - "publicIpAddress": "XX.XXX.XX.XXX" - }, - { - "privateIpAddress": "10.100.1.27" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_host_discovery.json deleted file mode 100644 index 4a6c9139a9..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwdev03", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.23", - "10.100.1.27", - "fe80::6245:bdff:fe8d:9ef4" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwdev03.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_sap_system_discovery.json deleted file mode 100644 index c6b397668e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_sap_system_discovery.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "agent_id": "9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "a1e80e3e152a903662f7882fb3f8a851", - "SID": "NWD", - "Type": 2, - "DBAddress": "10.100.1.13", - "Profile": { - "SAPDBHOST": "10.100.1.13", - "dbms/name": "HDD", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwdas", - "rdisp/msserv": "sapmsNWD", - "SAPGLOBALHOST": "sapnwdas", - "SAPSYSTEMNAME": "NWD", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDD", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwdas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwdev03", - "Name": "D01", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwdas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwder", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwdpas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwdaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 27224, - "name": "gwrd", - "starttime": "2022 01 11 13:03:58", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Gateway", - "elapsedtime": "151:48:10" - }, - { - "pid": 27225, - "name": "icman", - "starttime": "2022 01 11 13:03:58", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "ICM", - "elapsedtime": "151:48:10" - }, - { - "pid": 26907, - "name": "igswd_mt", - "starttime": "2022 01 11 13:03:55", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "IGS Watchdog", - "elapsedtime": "151:48:13" - }, - { - "pid": 26906, - "name": "disp+work", - "starttime": "2022 01 11 13:03:55", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Dispatcher", - "elapsedtime": "151:48:13" - } - ], - "Properties": [ - { - "value": "HTTP://sapnwdpas:0/sap/admin/public/index.html", - "property": "ICM", - "propertytype": "NodeURL" - }, - { - "value": "http://sapnwdpas:40180", - "property": "IGS", - "propertytype": "NodeURL" - }, - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetCacheEntries", - "property": "ICM Cache", - "propertytype": "NodeWebmethod" - }, - { - "value": "01", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetThreadList", - "property": "ICM Threads", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAlertTree", - "property": "Open Alerts", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwdpas", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "ABAPGetWPTable", - "property": "ABAP WP Table", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "D01", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWD", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "GetAlertTree", - "property": "Current Status", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetClientList", - "property": "Gateway Clients", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetConnectionList", - "property": "ICM Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetQueueStatistic", - "property": "Queue Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetConnectionList", - "property": "Gateway Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetProxyConnectionList", - "property": "ICM Proxy Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "http://sapnwdpas:50113/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_saptune_discovery.json deleted file mode 100644 index 6600603660..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_subscription_discovery.json deleted file mode 100644 index 70c383fb54..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "9a3ec76a-dd4f-5013-9cf0-5eb4cf89898f", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_cloud_discovery.json deleted file mode 100644 index 3712c27b5f..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_cloud_discovery.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "9cd46919-5f19-59aa-993e-cf3736c71053", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "ee7cf44b-d202-4680-b331-1b3996f2f0e7", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmhdbprd01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmhdbprd01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmhdbprd01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmhdbprd01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "0" - }, - { - "name": "disk-vmhdbprd01-Data02", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "1" - }, - { - "name": "disk-vmhdbprd01-Data03", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "2" - }, - { - "name": "disk-vmhdbprd01-Data04", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "3" - }, - { - "name": "disk-vmhdbprd01-Data05", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "4" - }, - { - "name": "disk-vmhdbprd01-Data06", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "5" - }, - { - "name": "disk-vmhdbprd01-Data07", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "6" - } - ] - }, - "vmSize": "Standard_E4s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A232C6B", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.11", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_ha_cluster_discovery.json deleted file mode 100644 index d285f6498c..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_ha_cluster_discovery.json +++ /dev/null @@ -1,837 +0,0 @@ -{ - "agent_id": "9cd46919-5f19-59aa-993e-cf3736c71053", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": true, - "Provider": "azure", - "Id": "9c832998801e28cd70ad77380e82a5c0", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmhdbprd01", - "InstanceAttributes": [ - { - "Id": "nodes-1-lpa_hdp_lpt", - "Name": "lpa_hdp_lpt", - "Value": "1643125019" - }, - { - "Id": "nodes-1-hana_hdp_vhost", - "Name": "hana_hdp_vhost", - "Value": "vmhdbprd01" - }, - { - "Id": "nodes-1-hana_hdp_site", - "Name": "hana_hdp_site", - "Value": "NBG" - }, - { - "Id": "nodes-1-hana_hdp_op_mode", - "Name": "hana_hdp_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-1-hana_hdp_srmode", - "Name": "hana_hdp_srmode", - "Value": "sync" - }, - { - "Id": "nodes-1-hana_hdp_remoteHost", - "Name": "hana_hdp_remoteHost", - "Value": "vmhdbprd02" - } - ] - }, - { - "Id": "2", - "Uname": "vmhdbprd02", - "InstanceAttributes": [ - { - "Id": "nodes-2-lpa_hdp_lpt", - "Name": "lpa_hdp_lpt", - "Value": "30" - }, - { - "Id": "nodes-2-hana_hdp_op_mode", - "Name": "hana_hdp_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-2-hana_hdp_vhost", - "Name": "hana_hdp_vhost", - "Value": "vmhdbprd02" - }, - { - "Id": "nodes-2-hana_hdp_remoteHost", - "Name": "hana_hdp_remoteHost", - "Value": "vmhdbprd01" - }, - { - "Id": "nodes-2-hana_hdp_site", - "Name": "hana_hdp_site", - "Value": "WDF" - }, - { - "Id": "nodes-2-hana_hdp_srmode", - "Name": "hana_hdp_srmode", - "Value": "sync" - } - ] - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "hana_cluster_3" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "24" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - }, - { - "Id": "SAPHanaSR-hana_hdp_site_srHook_WDF", - "Name": "hana_hdp_site_srHook_WDF", - "Value": "SOK" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cln_SAPHanaTopology_HDP_HDB10", - "Primitive": { - "Id": "rsc_SAPHanaTopology_HDP_HDB10", - "Type": "SAPHanaTopology", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "600", - "Interval": "10" - }, - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "300", - "Interval": "0" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDP" - }, - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - } - ] - }, - "MetaAttributes": [ - { - "Id": "cln_SAPHanaTopology_HDP_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "cln_SAPHanaTopology_HDP_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g_ip_HDP_HDB10", - "Primitives": [ - { - "Id": "rsc_ip_HDP_HDB10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_HDP_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDP_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDP_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_HDP_HDB10-instance_attributes-ip", - "Name": "ip", - "Value": "10.80.1.13" - }, - { - "Id": "rsc_ip_HDP_HDB10-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "24" - }, - { - "Id": "rsc_ip_HDP_HDB10-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "rsc_socat_HDP_HDB10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_HDP_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_HDP_HDB10-instance_attributes-port", - "Name": "port", - "Value": "62510" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "msl_SAPHana_HDP_HDB10", - "Primitive": { - "Id": "rsc_SAPHana_HDP_HDB10", - "Type": "SAPHana", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHana_HDP_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-promote-0", - "Name": "promote", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-monitor-60", - "Name": "monitor", - "Role": "Master", - "Timeout": "700", - "Interval": "60" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-monitor-61", - "Name": "monitor", - "Role": "Slave", - "Timeout": "700", - "Interval": "61" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDP" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-PREFER_SITE_TAKEOVER", - "Name": "PREFER_SITE_TAKEOVER", - "Value": "True" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-AUTOMATED_REGISTER", - "Name": "AUTOMATED_REGISTER", - "Value": "False" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT", - "Name": "DUPLICATE_PRIMARY_TIMEOUT", - "Value": "7200" - } - ] - }, - "MetaAttributes": [ - { - "Id": "msl_SAPHana_HDP_HDB10-meta_attributes-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "msl_SAPHana_HDP_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "msl_SAPHana_HDP_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": [ - { - "Id": "stonith-sbd-monitor-15", - "Name": "monitor", - "Role": "", - "Timeout": "15", - "Interval": "15" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "15" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b924e77", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "a7a18c6b-7c8e-4bda-bb77-45e4b5dc8478", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmhdbprd01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmhdbprd02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b924e77", - "Status": "healthy" - }, - { - "Dump": { - "Uuid": "a7a18c6b-7c8e-4bda-bb77-45e4b5dc8478", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmhdbprd01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmhdbprd02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b912345", - "Status": "unhealthy" - }, - { - "Dump": { - "Uuid": "a7a18c6b-7c8e-4bda-bb77-45e4b5dc8478", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmhdbprd01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmhdbprd02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b954321", - "Status": "unknown" - } - ] - }, - "Name": "hana_cluster_3", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmhdbprd01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmhdbprd02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "msl_SAPHana_HDP_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHana_HDP_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHana_HDP_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbprd02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cln_SAPHanaTopology_HDP_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g_ip_HDP_HDB10", - "Resources": [ - { - "Id": "rsc_ip_HDP_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_HDP_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 7, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 25 15:36:59 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmhdbprd01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_ip_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHana_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmhdbprd02", - "ResourceHistory": [ - { - "Name": "rsc_SAPHana_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmhdbprd01", - "Attributes": [ - { - "Name": "hana_hdp_clone_state", - "Value": "PROMOTED" - }, - { - "Name": "hana_hdp_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdp_remoteHost", - "Value": "vmhdbprd02" - }, - { - "Name": "hana_hdp_roles", - "Value": "4:P:master1:master:worker:master" - }, - { - "Name": "hana_hdp_site", - "Value": "NBG" - }, - { - "Name": "hana_hdp_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdp_sync_state", - "Value": "PRIM" - }, - { - "Name": "hana_hdp_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdp_vhost", - "Value": "vmhdbprd01" - }, - { - "Name": "lpa_hdp_lpt", - "Value": "1643125019" - }, - { - "Name": "master-rsc_SAPHana_HDP_HDB10", - "Value": "150" - } - ] - }, - { - "Name": "vmhdbprd02", - "Attributes": [ - { - "Name": "hana_hdp_clone_state", - "Value": "DEMOTED" - }, - { - "Name": "hana_hdp_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdp_remoteHost", - "Value": "vmhdbprd01" - }, - { - "Name": "hana_hdp_roles", - "Value": "4:S:master1:master:worker:master" - }, - { - "Name": "hana_hdp_site", - "Value": "WDF" - }, - { - "Name": "hana_hdp_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdp_sync_state", - "Value": "SOK" - }, - { - "Name": "hana_hdp_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdp_vhost", - "Value": "vmhdbprd02" - }, - { - "Name": "lpa_hdp_lpt", - "Value": "30" - }, - { - "Name": "master-rsc_SAPHana_HDP_HDB10", - "Value": "100" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_host_discovery.json deleted file mode 100644 index c61b1a0ac4..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "9cd46919-5f19-59aa-993e-cf3736c71053", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmhdbprd01", - "cpu_count": 4, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.11", - "10.80.1.13", - "fe80::20d:3aff:fe23:2c6b" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 32107, - "fully_qualified_domain_name": "vmhdbprd01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_sap_system_discovery.json deleted file mode 100644 index 0e546c5339..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_sap_system_discovery.json +++ /dev/null @@ -1,382 +0,0 @@ -{ - "agent_id": "9cd46919-5f19-59aa-993e-cf3736c71053", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "1154f7678ac587e5f0f242830a5201f1", - "SID": "HDP", - "Type": 1, - "Profile": { - "SAPGLOBALHOST": "vmhdbprd01", - "SAPSYSTEMNAME": "HDP", - "hdbConfigType": "DEFAULT", - "ssl/ciphersuites": "135:PFS:HIGH::EC_P256:EC_HIGH", - "HDB_LINKED_BINARIES": "yes", - "HDB_SHARED_BINARIES": "yes" - }, - "Databases": [ - { - "Host": "vmhdbprd01", - "User": "", - "Group": "", - "Active": "yes", - "UserId": "", - "GroupId": "", - "SqlPort": "31015", - "Database": "HDP", - "Container": "" - } - ], - "Instances": [ - { - "Host": "vmhdbprd01", - "Name": "HDB10", - "Type": 1, - "SAPControl": { - "Instances": [ - { - "features": "HDB|HDB_WORKER", - "hostname": "vmhdbprd01", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.3" - } - ], - "Processes": [ - { - "pid": 2186, - "name": "hdbdaemon", - "starttime": "2022 01 11 13:34:58", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Daemon", - "elapsedtime": "151:17:01" - }, - { - "pid": 3720, - "name": "hdbxsengine", - "starttime": "2022 01 11 13:35:18", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB XSEngine-HDP", - "elapsedtime": "151:16:41" - }, - { - "pid": 2245, - "name": "hdbnameserver", - "starttime": "2022 01 11 13:34:58", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Nameserver", - "elapsedtime": "151:17:01" - }, - { - "pid": 3717, - "name": "hdbindexserver", - "starttime": "2022 01 11 13:35:18", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Indexserver-HDP", - "elapsedtime": "151:16:41" - }, - { - "pid": 3617, - "name": "hdbpreprocessor", - "starttime": "2022 01 11 13:35:17", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Preprocessor", - "elapsedtime": "151:16:42" - }, - { - "pid": 3614, - "name": "hdbcompileserver", - "starttime": "2022 01 11 13:35:17", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Compileserver", - "elapsedtime": "151:16:42" - }, - { - "pid": 6387, - "name": "hdbwebdispatcher", - "starttime": "2022 01 11 13:35:47", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Web Dispatcher", - "elapsedtime": "151:16:12" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "DBServices", - "propertytype": "Attribute" - }, - { - "value": "worker", - "property": "HANA Roles", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "vmhdbprd01", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "HDB10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "HDP", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://vmhdbprd01:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": { - "mode": "primary", - "online": "true", - "site_id": "1", - "isSource": "true", - "site_name": "NBG", - "isConsumer": "false", - "hasConsumers": "true", - "siteTier/NBG": "1", - "siteTier/WDF": "2", - "operation_mode": "primary", - "siteMapping/NBG": "WDF", - "isTakeoverActive": "false", - "isPrimarySuspended": "false", - "mapping/vmhdbprd01": [ - "WDF/vmhdbprd02", - "NBG/vmhdbprd01" - ], - "siteOperationMode/NBG": "primary", - "siteOperationMode/WDF": "logreplay", - "siteReplicationMode/NBG": "primary", - "siteReplicationMode/WDF": "sync" - }, - "HostConfiguration": { - "host": "vmhdbprd01", - "hostActive": "yes", - "hostStatus": "ok", - "removeStatus": "", - "failoverStatus": "", - "hostActualRoles": "worker", - "hostConfigRoles": "worker", - "storagePartition": "1", - "workerActualGroups": "default", - "workerConfigGroups": "default", - "failoverActualGroup": "default", - "failoverConfigGroup": "default", - "nameServerActualRole": "master", - "nameServerConfigRole": "master 1", - "indexServerActualRole": "master", - "indexServerConfigRole": "worker", - "storageActualPartition": "1", - "storageConfigPartition": "1" - }, - "SystemReplication": { - "local_site_id": "1", - "site/1/SITE_NAME": "NBG", - "site/2/SITE_NAME": "WDF", - "site/2/SOURCE_SITE_ID": "1", - "site/1/REPLICATION_MODE": "PRIMARY", - "site/2/REPLICATION_MODE": "SYNC", - "site/2/REPLICATION_STATUS": "ACTIVE", - "overall_replication_status": "ACTIVE", - "service/vmhdbprd01/31001/HOST": "vmhdbprd01", - "service/vmhdbprd01/31001/PORT": "31001", - "service/vmhdbprd01/31003/HOST": "vmhdbprd01", - "service/vmhdbprd01/31003/PORT": "31003", - "service/vmhdbprd01/31007/HOST": "vmhdbprd01", - "service/vmhdbprd01/31007/PORT": "31007", - "service/vmhdbprd01/31001/SITE_ID": "1", - "service/vmhdbprd01/31003/SITE_ID": "1", - "service/vmhdbprd01/31007/SITE_ID": "1", - "service/vmhdbprd01/31001/DATABASE": "SYSTEMDB", - "service/vmhdbprd01/31003/DATABASE": "HDP", - "service/vmhdbprd01/31007/DATABASE": "HDP", - "service/vmhdbprd01/31001/FULL_SYNC": "DISABLED", - "service/vmhdbprd01/31001/SITE_NAME": "NBG", - "service/vmhdbprd01/31001/VOLUME_ID": "1", - "service/vmhdbprd01/31003/FULL_SYNC": "DISABLED", - "service/vmhdbprd01/31003/SITE_NAME": "NBG", - "service/vmhdbprd01/31003/VOLUME_ID": "3", - "service/vmhdbprd01/31007/FULL_SYNC": "DISABLED", - "service/vmhdbprd01/31007/SITE_NAME": "NBG", - "service/vmhdbprd01/31007/VOLUME_ID": "2", - "service/vmhdbprd01/31001/RESET_COUNT": "0", - "service/vmhdbprd01/31003/RESET_COUNT": "0", - "service/vmhdbprd01/31007/RESET_COUNT": "0", - "service/vmhdbprd01/31001/SERVICE_NAME": "nameserver", - "service/vmhdbprd01/31003/SERVICE_NAME": "indexserver", - "service/vmhdbprd01/31007/SERVICE_NAME": "xsengine", - "service/vmhdbprd01/31001/CREATION_TIME": "2022-01-11 13:35:17.794006", - "service/vmhdbprd01/31003/CREATION_TIME": "2022-01-11 13:35:44.241176", - "service/vmhdbprd01/31007/CREATION_TIME": "2022-01-11 13:35:48.262371", - "service/vmhdbprd01/31001/OPERATION_MODE": "logreplay", - "service/vmhdbprd01/31001/SECONDARY_HOST": "vmhdbprd02", - "service/vmhdbprd01/31001/SECONDARY_PORT": "31001", - "service/vmhdbprd01/31003/OPERATION_MODE": "logreplay", - "service/vmhdbprd01/31003/SECONDARY_HOST": "vmhdbprd02", - "service/vmhdbprd01/31003/SECONDARY_PORT": "31003", - "service/vmhdbprd01/31007/OPERATION_MODE": "logreplay", - "service/vmhdbprd01/31007/SECONDARY_HOST": "vmhdbprd02", - "service/vmhdbprd01/31007/SECONDARY_PORT": "31007", - "service/vmhdbprd01/31001/LAST_RESET_TIME": "2022-01-11 13:35:17.794006", - "service/vmhdbprd01/31003/LAST_RESET_TIME": "2022-01-11 13:35:44.241176", - "service/vmhdbprd01/31007/LAST_RESET_TIME": "2022-01-11 13:35:48.262371", - "service/vmhdbprd01/31001/REPLICATION_MODE": "SYNC", - "service/vmhdbprd01/31003/REPLICATION_MODE": "SYNC", - "service/vmhdbprd01/31007/REPLICATION_MODE": "SYNC", - "service/vmhdbprd01/31001/LAST_LOG_POSITION": "45316224", - "service/vmhdbprd01/31001/SECONDARY_SITE_ID": "2", - "service/vmhdbprd01/31003/LAST_LOG_POSITION": "249613824", - "service/vmhdbprd01/31003/SECONDARY_SITE_ID": "2", - "service/vmhdbprd01/31007/LAST_LOG_POSITION": "4700160", - "service/vmhdbprd01/31007/SECONDARY_SITE_ID": "2", - "service/vmhdbprd01/31001/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbprd01/31003/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbprd01/31007/REPLICATION_STATUS": "ACTIVE", - "service/vmhdbprd01/31001/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbprd01/31003/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbprd01/31007/SECONDARY_SITE_NAME": "WDF", - "service/vmhdbprd01/31001/SHIPPED_LOG_POSITION": "45316224", - "service/vmhdbprd01/31003/SHIPPED_LOG_POSITION": "249613824", - "service/vmhdbprd01/31007/SHIPPED_LOG_POSITION": "4700160", - "service/vmhdbprd01/31001/REPLAYED_LOG_POSITION": "45316224", - "service/vmhdbprd01/31003/REPLAYED_LOG_POSITION": "249613824", - "service/vmhdbprd01/31007/REPLAYED_LOG_POSITION": "4700101", - "service/vmhdbprd01/31001/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:48.550230", - "service/vmhdbprd01/31001/LAST_SAVEPOINT_VERSION": "3068", - "service/vmhdbprd01/31001/SECONDARY_CONNECT_TIME": "2022-01-11 13:36:31.486904", - "service/vmhdbprd01/31003/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:44.595948", - "service/vmhdbprd01/31003/LAST_SAVEPOINT_VERSION": "2792", - "service/vmhdbprd01/31003/SECONDARY_CONNECT_TIME": "2022-01-11 13:40:09.285107", - "service/vmhdbprd01/31007/LAST_LOG_POSITION_TIME": "2022-01-17 20:51:15.066330", - "service/vmhdbprd01/31007/LAST_SAVEPOINT_VERSION": "2862", - "service/vmhdbprd01/31007/SECONDARY_CONNECT_TIME": "2022-01-11 13:40:08.545290", - "service/vmhdbprd01/31001/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbprd01/31003/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbprd01/31007/SECONDARY_ACTIVE_STATUS": "YES", - "service/vmhdbprd01/31001/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbprd01/31001/SHIPPED_LOG_BUFFERS_SIZE": "554209280", - "service/vmhdbprd01/31003/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbprd01/31003/SHIPPED_LOG_BUFFERS_SIZE": "3611877376", - "service/vmhdbprd01/31007/SECONDARY_FAILOVER_COUNT": "0", - "service/vmhdbprd01/31007/SHIPPED_LOG_BUFFERS_SIZE": "267542528", - "service/vmhdbprd01/31001/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:49:08.441827", - "service/vmhdbprd01/31001/SECONDARY_RECONNECT_COUNT": "0", - "service/vmhdbprd01/31001/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbprd01/31001/SHIPPED_LOG_BUFFERS_COUNT": "125120", - "service/vmhdbprd01/31001/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:48.550230", - "service/vmhdbprd01/31001/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbprd01/31003/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:48:13.337797", - "service/vmhdbprd01/31003/SECONDARY_RECONNECT_COUNT": "7", - "service/vmhdbprd01/31003/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbprd01/31003/SHIPPED_LOG_BUFFERS_COUNT": "693785", - "service/vmhdbprd01/31003/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:44.595948", - "service/vmhdbprd01/31003/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbprd01/31007/LAST_SAVEPOINT_START_TIME": "2022-01-17 20:51:13.839155", - "service/vmhdbprd01/31007/SECONDARY_RECONNECT_COUNT": "7", - "service/vmhdbprd01/31007/SHIPPED_FULL_REPLICA_SIZE": "0", - "service/vmhdbprd01/31007/SHIPPED_LOG_BUFFERS_COUNT": "65318", - "service/vmhdbprd01/31007/SHIPPED_LOG_POSITION_TIME": "2022-01-17 20:51:15.066330", - "service/vmhdbprd01/31007/SHIPPED_SAVEPOINT_VERSION": "0", - "service/vmhdbprd01/31001/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:48.550230", - "service/vmhdbprd01/31001/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbprd01/31001/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbprd01/31001/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbprd01/31003/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:44.595948", - "service/vmhdbprd01/31003/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbprd01/31003/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbprd01/31003/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbprd01/31007/REPLAYED_LOG_POSITION_TIME": "2022-01-17 20:51:15.066330", - "service/vmhdbprd01/31007/REPLICATION_STATUS_DETAILS": "", - "service/vmhdbprd01/31007/SHIPPED_DELTA_REPLICA_SIZE": "0", - "service/vmhdbprd01/31007/SHIPPED_FULL_REPLICA_COUNT": "0", - "service/vmhdbprd01/31001/LAST_SAVEPOINT_LOG_POSITION": "45312962", - "service/vmhdbprd01/31001/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbprd01/31003/LAST_SAVEPOINT_LOG_POSITION": "249597314", - "service/vmhdbprd01/31003/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbprd01/31007/LAST_SAVEPOINT_LOG_POSITION": "4699655", - "service/vmhdbprd01/31007/SHIPPED_DELTA_REPLICA_COUNT": "0", - "service/vmhdbprd01/31001/SHIPPED_LOG_BUFFERS_DURATION": "357505585", - "service/vmhdbprd01/31001/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbprd01/31003/SHIPPED_LOG_BUFFERS_DURATION": "1885304582", - "service/vmhdbprd01/31003/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbprd01/31007/SHIPPED_LOG_BUFFERS_DURATION": "191364516", - "service/vmhdbprd01/31007/SHIPPED_SAVEPOINT_START_TIME": "-", - "service/vmhdbprd01/31001/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbprd01/31003/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbprd01/31007/SHIPPED_FULL_REPLICA_DURATION": "0", - "service/vmhdbprd01/31001/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbprd01/31001/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbprd01/31001/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbprd01/31003/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbprd01/31003/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbprd01/31003/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbprd01/31007/SHIPPED_DELTA_REPLICA_DURATION": "0", - "service/vmhdbprd01/31007/SHIPPED_LAST_FULL_REPLICA_SIZE": "0", - "service/vmhdbprd01/31007/SHIPPED_SAVEPOINT_LOG_POSITION": "0", - "service/vmhdbprd01/31001/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbprd01/31003/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbprd01/31007/SHIPPED_LAST_DELTA_REPLICA_SIZE": "0", - "service/vmhdbprd01/31001/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbprd01/31003/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbprd01/31007/SHIPPED_LAST_FULL_REPLICA_END_TIME": "-", - "service/vmhdbprd01/31001/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbprd01/31003/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbprd01/31007/SHIPPED_LAST_DELTA_REPLICA_END_TIME": "-", - "service/vmhdbprd01/31001/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbprd01/31003/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbprd01/31007/SHIPPED_LAST_FULL_REPLICA_START_TIME": "-", - "service/vmhdbprd01/31001/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-", - "service/vmhdbprd01/31003/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-", - "service/vmhdbprd01/31007/SHIPPED_LAST_DELTA_REPLICA_START_TIME": "-" - } - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_saptune_discovery.json deleted file mode 100644 index 9ee55555cf..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_saptune_discovery.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "9cd46919-5f19-59aa-993e-cf3736c71053", - "payload": { - "saptune_installed": true, - "package_version": "3.1.0", - "status": { - "$schema": "file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json", - "publish time": "2023-04-24 12:41:56.612", - "argv": "saptune --format json status", - "pid": 24623, - "command": "status", - "exit code": 4, - "result": { - "services": { - "saptune": [ - "enabled", - "active" - ], - "sapconf": [], - "tuned": [] - }, - "systemd system state": "running", - "tuning state": "compliant", - "virtualization": "oracle", - "configured version": "3", - "package version": "3.1.0", - "Solution enabled": [ - "HANA" - ], - "Notes enabled by Solution": [ - { - "Solution ID": "HANA", - "Note list": [ - "941735", - "1771258", - "1868829", - "1980196", - "2578899", - "2684254", - "2382421", - "2534844", - "2993054", - "1656250" - ] - } - ], - "Solution applied": [ - { - "Solution ID": "HANA", - "applied partially": false - } - ], - "Notes applied by Solution": [ - { - "Solution ID": "HANA", - "Note list": [ - "941735", - "1771258", - "1868829", - "1980196", - "2578899", - "2684254", - "2382421", - "2534844", - "2993054", - "1656250" - ] - } - ], - "Notes enabled additionally": [], - "Notes enabled": [ - "941735", - "1771258", - "1868829", - "1980196", - "2578899", - "2684254", - "2382421", - "2534844", - "2993054", - "1656250" - ], - "Notes applied": [ - "941735", - "1771258", - "1868829", - "1980196", - "2578899", - "2684254", - "2382421", - "2534844", - "2993054", - "1656250" - ], - "staging": { - "staging enabled": false, - "Notes staged": [], - "Solutions staged": [] - }, - "remember message": "\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n" - }, - "messages": [ - { - "priority": "NOTICE", - "message": "actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n" - }, - { - "priority": "NOTICE", - "message": "ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n" - } - ] - } - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_subscription_discovery.json deleted file mode 100644 index 0dc0f1f75c..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "9cd46919-5f19-59aa-993e-cf3736c71053", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_cloud_discovery.json deleted file mode 100644 index 158a5875ff..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "a09d9cf3-46c1-505c-8fb8-4b0a71a9114e", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "e9ba1f36-712a-4cbf-b279-b0801a4f6506", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmdrbdprd01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmdrbdprd01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmdrbdprd01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmdrbdprd01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Standard_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A257DF0", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.31", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_ha_cluster_discovery.json deleted file mode 100644 index c860e65fbc..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_ha_cluster_discovery.json +++ /dev/null @@ -1,685 +0,0 @@ -{ - "agent_id": "a09d9cf3-46c1-505c-8fb8-4b0a71a9114e", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "238a4de1239aae2aa87433eed788b3ad", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmdrbdprd01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmdrbdprd02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "drbd_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cl-nfsserver", - "Primitive": { - "Id": "nfsserver", - "Type": "nfs-server", - "Class": "systemd", - "Provider": "", - "Operations": [ - { - "Id": "nfsserver-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": null - }, - "MetaAttributes": [ - { - "Id": "cl-nfsserver-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Primitives": [ - { - "Id": "fs_sapdata", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "fs_sapdata-monitor-20", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "fs_sapdata-instance_attributes-device", - "Name": "device", - "Value": "/dev/drbd1" - }, - { - "Id": "fs_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWP" - }, - { - "Id": "fs_sapdata-instance_attributes-fstype", - "Name": "fstype", - "Value": "xfs" - }, - { - "Id": "fs_sapdata-instance_attributes-options", - "Name": "options", - "Value": "noatime,nodiratime" - } - ] - }, - { - "Id": "vip_sapdata_nfs", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "vip_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "vip_sapdata_nfs-instance_attributes-ip", - "Name": "ip", - "Value": "10.80.1.33" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "32" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "exportfs_work_sapdata", - "Type": "exportfs", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "exportfs_work_sapdata-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "exportfs_work_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWP" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-fsid", - "Name": "fsid", - "Value": "1" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-options", - "Name": "options", - "Value": "rw,no_root_squash" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-clientspec", - "Name": "clientspec", - "Value": "*" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop", - "Name": "wait_for_leasetime_on_stop", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_sapdata_nfs-instance_attributes-port", - "Name": "port", - "Value": "61000" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "ms_sapdata", - "Primitive": { - "Id": "drbd-sapdata", - "Type": "drbd", - "Class": "ocf", - "Provider": "linbit", - "Operations": [ - { - "Id": "drbd-sapdata-monitor-15", - "Name": "monitor", - "Role": "Master", - "Timeout": "", - "Interval": "15" - }, - { - "Id": "drbd-sapdata-monitor-30", - "Name": "monitor", - "Role": "Slave", - "Timeout": "", - "Interval": "30" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "drbd-sapdata-instance_attributes-drbd_resource", - "Name": "drbd_resource", - "Value": "sapdata" - } - ] - }, - "MetaAttributes": [ - { - "Id": "ms_sapdata-meta_attributes-master-max", - "Name": "master-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-master-node-max", - "Name": "master-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-1-notify", - "Name": "notify", - "Value": "true" - }, - { - "Id": "ms_sapdata-meta_attributes-1-target-role", - "Name": "target-role", - "Value": "Started" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_b7b1cd3d-776e-4432-a9e5-6fe56e4b4e17", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "28fd9d5e-3685-4cb7-85e9-76c4b140ea3c", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmdrbdprd01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmdrbdprd02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_b7b1cd3d-776e-4432-a9e5-6fe56e4b4e17", - "Status": "healthy" - } - ] - }, - "Name": "drbd_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": false, - "Id": "1", - "Name": "vmdrbdprd01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 7 - }, - { - "DC": true, - "Id": "2", - "Name": "vmdrbdprd02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "ms_sapdata", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "drbd-sapdata", - "Node": { - "Id": "2", - "Name": "vmdrbdprd02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "drbd-sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cl-nfsserver", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "nfsserver", - "Node": { - "Id": "2", - "Name": "vmdrbdprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "nfsserver", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Resources": [ - { - "Id": "fs_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "vip_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "exportfs_work_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:exportfs", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 13:24:06 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmdrbdprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmdrbdprd02", - "ResourceHistory": [ - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmdrbdprd01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "fs_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "vip_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "exportfs_work_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmdrbdprd01", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - }, - { - "Name": "vmdrbdprd02", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_host_discovery.json deleted file mode 100644 index 8d99e6c922..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "a09d9cf3-46c1-505c-8fb8-4b0a71a9114e", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmdrbdprd01", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.31", - "10.80.1.33", - "fe80::20d:3aff:fe25:7df0" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmdrbdprd01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_sap_system_discovery.json deleted file mode 100644 index 2127c6201e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "a09d9cf3-46c1-505c-8fb8-4b0a71a9114e", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_saptune_discovery.json deleted file mode 100644 index 7f31778e0b..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_saptune_discovery.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "a09d9cf3-46c1-505c-8fb8-4b0a71a9114e", - "payload": { - "saptune_installed": true, - "package_version": "3.1.0", - "status": { - "$schema": "file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json", - "publish time": "2023-04-24 12:41:56.612", - "argv": "saptune --format json status", - "pid": 24623, - "command": "status", - "exit code": 4, - "result": { - "services": { - "saptune": [ - "enabled", - "inactive" - ], - "sapconf": [], - "tuned": [] - }, - "systemd system state": "running", - "tuning state": "not tuned", - "virtualization": "oracle", - "configured version": "3", - "package version": "3.1.0", - "Solution enabled": [], - "Notes enabled by Solution": [], - "Solution applied": [], - "Notes applied by Solution": [], - "Notes enabled additionally": [], - "Notes enabled": [], - "Notes applied": [], - "staging": { - "staging enabled": false, - "Notes staged": [], - "Solutions staged": [] - }, - "remember message": "\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n" - }, - "messages": [] - } - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_subscription_discovery.json deleted file mode 100644 index 7e19f82a86..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a09d9cf3-46c1-505c-8fb8-4b0a71a9114e_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "a09d9cf3-46c1-505c-8fb8-4b0a71a9114e", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_cloud_discovery.json deleted file mode 100644 index 479f87eff5..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_cloud_discovery.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "21d17480-4282-4e38-84aa-3e14716ebc42", - "platformFaultDomain": "1", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwprd03", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwprd03", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver03-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-netweaver01-App", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Attach", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A257F83", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.23", - "publicIpAddress": "XX.XXX.XX.XXX" - }, - { - "privateIpAddress": "10.80.1.27" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_host_discovery.json deleted file mode 100644 index a54751a3d2..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwprd03", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.23", - "10.80.1.27", - "fe80::20d:3aff:fe25:7f83" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwprd03.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_sap_system_discovery.json deleted file mode 100644 index 43835aaa00..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_sap_system_discovery.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "agent_id": "a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "97a1e70aeff3c0685d65c4c3d32d533b", - "SID": "NWP", - "Type": 2, - "DBAddress": "10.80.1.13", - "Profile": { - "SAPDBHOST": "10.80.1.13", - "dbms/name": "HDP", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwpas", - "rdisp/msserv": "sapmsNWP", - "SAPGLOBALHOST": "sapnwpas", - "SAPSYSTEMNAME": "NWP", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDP", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwpas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwprd03", - "Name": "D01", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwpas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwper", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwppas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwpaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 9752, - "name": "gwrd", - "starttime": "2022 01 11 13:44:51", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Gateway", - "elapsedtime": "151:07:13" - }, - { - "pid": 9753, - "name": "icman", - "starttime": "2022 01 11 13:44:51", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "ICM", - "elapsedtime": "151:07:13" - }, - { - "pid": 9732, - "name": "igswd_mt", - "starttime": "2022 01 11 13:44:49", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "IGS Watchdog", - "elapsedtime": "151:07:15" - }, - { - "pid": 9731, - "name": "disp+work", - "starttime": "2022 01 11 13:44:49", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "Dispatcher", - "elapsedtime": "151:07:15" - } - ], - "Properties": [ - { - "value": "HTTP://sapnwppas:0/sap/admin/public/index.html", - "property": "ICM", - "propertytype": "NodeURL" - }, - { - "value": "http://sapnwppas:40180", - "property": "IGS", - "propertytype": "NodeURL" - }, - { - "value": "ABAPReadSyslog", - "property": "Syslog", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetCacheEntries", - "property": "ICM Cache", - "propertytype": "NodeWebmethod" - }, - { - "value": "01", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetThreadList", - "property": "ICM Threads", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAlertTree", - "property": "Open Alerts", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwppas", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "ABAPGetWPTable", - "property": "ABAP WP Table", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "D01", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWP", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "GetAlertTree", - "property": "Current Status", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetClientList", - "property": "Gateway Clients", - "propertytype": "NodeWebmethod" - }, - { - "value": "ICMGetConnectionList", - "property": "ICM Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "GetQueueStatistic", - "property": "Queue Statistic", - "propertytype": "NodeWebmethod" - }, - { - "value": "GWGetConnectionList", - "property": "Gateway Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "ICMGetProxyConnectionList", - "property": "ICM Proxy Connections", - "propertytype": "NodeWebmethod" - }, - { - "value": "http://sapnwppas:50113/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_saptune_discovery.json deleted file mode 100644 index fe421365fb..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_saptune_discovery.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12", - "payload": { - "saptune_installed": true, - "package_version": "3.1.0", - "status": { - "$schema": "file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json", - "publish time": "2023-04-24 12:41:56.612", - "argv": "saptune --format json status", - "pid": 24623, - "command": "status", - "exit code": 4, - "result": { - "services": { - "saptune": [ - "enabled", - "active" - ], - "sapconf": [], - "tuned": [] - }, - "systemd system state": "running", - "tuning state": "not compliant", - "virtualization": "oracle", - "configured version": "3", - "package version": "3.1.0", - "Solution enabled": [ - "NETWEAVER" - ], - "Notes enabled by Solution": [ - { - "Solution ID": "NETWEAVER", - "Note list": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ] - } - ], - "Solution applied": [ - { - "Solution ID": "NETWEAVER", - "applied partially": false - } - ], - "Notes applied by Solution": [ - { - "Solution ID": "NETWEAVER", - "Note list": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ] - } - ], - "Notes enabled additionally": [], - "Notes enabled": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ], - "Notes applied": [ - "941735", - "1771258", - "2578899", - "2993054", - "1656250", - "900929" - ], - "staging": { - "staging enabled": false, - "Notes staged": [], - "Solutions staged": [] - }, - "remember message": "\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n" - }, - "messages": [ - { - "priority": "NOTICE", - "message": "actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n" - }, - { - "priority": "NOTICE", - "message": "ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n" - } - ] - } - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_subscription_discovery.json deleted file mode 100644 index cb52dda473..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "a3297d85-5e8b-5ac5-b8a3-55eebc2b8d12", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_cloud_discovery.json deleted file mode 100644 index a671777875..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_cloud_discovery.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "b767b3e9-e802-587e-a442-541d093b86b9", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "cdec8bb8-ec3f-437a-89dd-3df677e1507e", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmhdbprd02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmhdbprd02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmhdbprd02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmhdbprd02-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "0" - }, - { - "name": "disk-vmhdbprd02-Data02", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "1" - }, - { - "name": "disk-vmhdbprd02-Data03", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "2" - }, - { - "name": "disk-vmhdbprd02-Data04", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "3" - }, - { - "name": "disk-vmhdbprd02-Data05", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "4" - }, - { - "name": "disk-vmhdbprd02-Data06", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "5" - }, - { - "name": "disk-vmhdbprd02-Data07", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "6" - } - ] - }, - "vmSize": "Standard_E4s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "000D3A21F108", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.80.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.80.1.12", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_ha_cluster_discovery.json deleted file mode 100644 index 2573a24a06..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_ha_cluster_discovery.json +++ /dev/null @@ -1,785 +0,0 @@ -{ - "agent_id": "b767b3e9-e802-587e-a442-541d093b86b9", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "9c832998801e28cd70ad77380e82a5c0", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmhdbprd01", - "InstanceAttributes": [ - { - "Id": "nodes-1-lpa_hdp_lpt", - "Name": "lpa_hdp_lpt", - "Value": "1643125019" - }, - { - "Id": "nodes-1-hana_hdp_vhost", - "Name": "hana_hdp_vhost", - "Value": "vmhdbprd01" - }, - { - "Id": "nodes-1-hana_hdp_site", - "Name": "hana_hdp_site", - "Value": "NBG" - }, - { - "Id": "nodes-1-hana_hdp_op_mode", - "Name": "hana_hdp_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-1-hana_hdp_srmode", - "Name": "hana_hdp_srmode", - "Value": "sync" - }, - { - "Id": "nodes-1-hana_hdp_remoteHost", - "Name": "hana_hdp_remoteHost", - "Value": "vmhdbprd02" - } - ] - }, - { - "Id": "2", - "Uname": "vmhdbprd02", - "InstanceAttributes": [ - { - "Id": "nodes-2-lpa_hdp_lpt", - "Name": "lpa_hdp_lpt", - "Value": "30" - }, - { - "Id": "nodes-2-hana_hdp_op_mode", - "Name": "hana_hdp_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-2-hana_hdp_vhost", - "Name": "hana_hdp_vhost", - "Value": "vmhdbprd02" - }, - { - "Id": "nodes-2-hana_hdp_remoteHost", - "Name": "hana_hdp_remoteHost", - "Value": "vmhdbprd01" - }, - { - "Id": "nodes-2-hana_hdp_site", - "Name": "hana_hdp_site", - "Value": "WDF" - }, - { - "Id": "nodes-2-hana_hdp_srmode", - "Name": "hana_hdp_srmode", - "Value": "sync" - } - ] - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "hana_cluster_3" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "24" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - }, - { - "Id": "SAPHanaSR-hana_hdp_site_srHook_WDF", - "Name": "hana_hdp_site_srHook_WDF", - "Value": "SOK" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cln_SAPHanaTopology_HDP_HDB10", - "Primitive": { - "Id": "rsc_SAPHanaTopology_HDP_HDB10", - "Type": "SAPHanaTopology", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "600", - "Interval": "10" - }, - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "300", - "Interval": "0" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDP" - }, - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - } - ] - }, - "MetaAttributes": [ - { - "Id": "cln_SAPHanaTopology_HDP_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "cln_SAPHanaTopology_HDP_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g_ip_HDP_HDB10", - "Primitives": [ - { - "Id": "rsc_ip_HDP_HDB10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_HDP_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDP_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDP_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_HDP_HDB10-instance_attributes-ip", - "Name": "ip", - "Value": "10.80.1.13" - }, - { - "Id": "rsc_ip_HDP_HDB10-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "24" - }, - { - "Id": "rsc_ip_HDP_HDB10-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "rsc_socat_HDP_HDB10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_HDP_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_HDP_HDB10-instance_attributes-port", - "Name": "port", - "Value": "62510" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "msl_SAPHana_HDP_HDB10", - "Primitive": { - "Id": "rsc_SAPHana_HDP_HDB10", - "Type": "SAPHana", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHana_HDP_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-promote-0", - "Name": "promote", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-monitor-60", - "Name": "monitor", - "Role": "Master", - "Timeout": "700", - "Interval": "60" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-monitor-61", - "Name": "monitor", - "Role": "Slave", - "Timeout": "700", - "Interval": "61" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDP" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-PREFER_SITE_TAKEOVER", - "Name": "PREFER_SITE_TAKEOVER", - "Value": "True" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-AUTOMATED_REGISTER", - "Name": "AUTOMATED_REGISTER", - "Value": "False" - }, - { - "Id": "rsc_SAPHana_HDP_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT", - "Name": "DUPLICATE_PRIMARY_TIMEOUT", - "Value": "7200" - } - ] - }, - "MetaAttributes": [ - { - "Id": "msl_SAPHana_HDP_HDB10-meta_attributes-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "msl_SAPHana_HDP_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "msl_SAPHana_HDP_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": [ - { - "Id": "stonith-sbd-monitor-15", - "Name": "monitor", - "Role": "", - "Timeout": "15", - "Interval": "15" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "15" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b924e77", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "a7a18c6b-7c8e-4bda-bb77-45e4b5dc8478", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmhdbprd01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmhdbprd02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-SLIO-ORG_IBLOCK_8d286026-c3a6-4404-90ac-f2549b924e77", - "Status": "healthy" - } - ] - }, - "Name": "hana_cluster_3", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmhdbprd01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmhdbprd02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "msl_SAPHana_HDP_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHana_HDP_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHana_HDP_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbprd02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cln_SAPHanaTopology_HDP_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHanaTopology_HDP_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbprd02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g_ip_HDP_HDB10", - "Resources": [ - { - "Id": "rsc_ip_HDP_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_HDP_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 7, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 25 15:36:59 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmhdbprd01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmhdbprd01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_ip_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHana_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmhdbprd02", - "ResourceHistory": [ - { - "Name": "rsc_SAPHana_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDP_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmhdbprd01", - "Attributes": [ - { - "Name": "hana_hdp_clone_state", - "Value": "PROMOTED" - }, - { - "Name": "hana_hdp_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdp_remoteHost", - "Value": "vmhdbprd02" - }, - { - "Name": "hana_hdp_roles", - "Value": "4:P:master1:master:worker:master" - }, - { - "Name": "hana_hdp_site", - "Value": "NBG" - }, - { - "Name": "hana_hdp_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdp_sync_state", - "Value": "PRIM" - }, - { - "Name": "hana_hdp_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdp_vhost", - "Value": "vmhdbprd01" - }, - { - "Name": "lpa_hdp_lpt", - "Value": "1643125019" - }, - { - "Name": "master-rsc_SAPHana_HDP_HDB10", - "Value": "150" - } - ] - }, - { - "Name": "vmhdbprd02", - "Attributes": [ - { - "Name": "hana_hdp_clone_state", - "Value": "DEMOTED" - }, - { - "Name": "hana_hdp_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdp_remoteHost", - "Value": "vmhdbprd01" - }, - { - "Name": "hana_hdp_roles", - "Value": "4:S:master1:master:worker:master" - }, - { - "Name": "hana_hdp_site", - "Value": "WDF" - }, - { - "Name": "hana_hdp_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdp_sync_state", - "Value": "SOK" - }, - { - "Name": "hana_hdp_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdp_vhost", - "Value": "vmhdbprd02" - }, - { - "Name": "lpa_hdp_lpt", - "Value": "30" - }, - { - "Name": "master-rsc_SAPHana_HDP_HDB10", - "Value": "100" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_host_discovery.json deleted file mode 100644 index c09ff83859..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_host_discovery.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "agent_id": "b767b3e9-e802-587e-a442-541d093b86b9", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmhdbprd02", - "cpu_count": 4, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.80.1.12", - "fe80::20d:3aff:fe21:f108" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 32107, - "fully_qualified_domain_name": "vmhdbprd02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_sap_system_discovery.json deleted file mode 100644 index afb5b6dcd6..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_sap_system_discovery.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "agent_id": "b767b3e9-e802-587e-a442-541d093b86b9", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "1154f7678ac587e5f0f242830a5201f1", - "SID": "HDP", - "Type": 1, - "Profile": { - "SAPGLOBALHOST": "vmhdbprd02", - "SAPSYSTEMNAME": "HDP", - "hdbConfigType": "DEFAULT", - "ssl/ciphersuites": "135:PFS:HIGH::EC_P256:EC_HIGH", - "HDB_LINKED_BINARIES": "yes", - "HDB_SHARED_BINARIES": "yes" - }, - "Databases": [ - { - "Host": "vmhdbprd02", - "User": "", - "Group": "", - "Active": "yes", - "UserId": "", - "GroupId": "", - "SqlPort": "31015", - "Database": "HDP", - "Container": "" - } - ], - "Instances": [ - { - "Host": "vmhdbprd02", - "Name": "HDB10", - "Type": 1, - "SAPControl": { - "Instances": [ - { - "features": "HDB|HDB_WORKER", - "hostname": "vmhdbprd02", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.3" - } - ], - "Processes": [ - { - "pid": 7464, - "name": "hdbdaemon", - "starttime": "2022 01 11 13:36:18", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Daemon", - "elapsedtime": "151:15:40" - }, - { - "pid": 8467, - "name": "hdbxsengine", - "starttime": "2022 01 11 13:36:34", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB XSEngine-HDP", - "elapsedtime": "151:15:24" - }, - { - "pid": 7484, - "name": "hdbnameserver", - "starttime": "2022 01 11 13:36:18", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Nameserver", - "elapsedtime": "151:15:40" - }, - { - "pid": 8460, - "name": "hdbindexserver", - "starttime": "2022 01 11 13:36:34", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Indexserver-HDP", - "elapsedtime": "151:15:24" - }, - { - "pid": 8253, - "name": "hdbpreprocessor", - "starttime": "2022 01 11 13:36:33", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Preprocessor", - "elapsedtime": "151:15:25" - }, - { - "pid": 8250, - "name": "hdbcompileserver", - "starttime": "2022 01 11 13:36:33", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Compileserver", - "elapsedtime": "151:15:25" - }, - { - "pid": 9083, - "name": "hdbwebdispatcher", - "starttime": "2022 01 11 13:36:43", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Web Dispatcher", - "elapsedtime": "151:15:15" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "DBServices", - "propertytype": "Attribute" - }, - { - "value": "worker", - "property": "HANA Roles", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "vmhdbprd02", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "HDB10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "HDP", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://vmhdbprd02:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": { - "mode": "sync", - "online": "true", - "site_id": "2", - "isSource": "false", - "site_name": "WDF", - "isConsumer": "true", - "replayMode": "auto", - "hasConsumers": "false", - "siteTier/NBG": "1", - "siteTier/WDF": "2", - "operation_mode": "logreplay", - "primary_masters": "vmhdbprd01", - "siteMapping/NBG": "WDF", - "isTakeoverActive": "false", - "isPrimarySuspended": "false", - "mapping/vmhdbprd02": [ - "WDF/vmhdbprd02", - "NBG/vmhdbprd01" - ], - "active_primary_site": "1", - "isTimetravelEnabled": "false", - "siteOperationMode/NBG": "primary", - "siteOperationMode/WDF": "logreplay", - "siteReplicationMode/NBG": "primary", - "siteReplicationMode/WDF": "sync" - }, - "HostConfiguration": { - "host": "vmhdbprd02", - "hostActive": "yes", - "hostStatus": "ok", - "removeStatus": "", - "failoverStatus": "", - "hostActualRoles": "worker", - "hostConfigRoles": "worker", - "storagePartition": "1", - "workerActualGroups": "default", - "workerConfigGroups": "default", - "failoverActualGroup": "default", - "failoverConfigGroup": "default", - "nameServerActualRole": "master", - "nameServerConfigRole": "master 1", - "indexServerActualRole": "master", - "indexServerConfigRole": "worker", - "storageActualPartition": "1", - "storageConfigPartition": "1" - }, - "SystemReplication": { - "local_site_id": "2", - "site/2/SITE_NAME": "WDF", - "site/2/SOURCE_SITE_ID": "1", - "site/2/PRIMARY_MASTERS": "vmhdbprd01", - "site/2/REPLICATION_MODE": "SYNC" - } - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_saptune_discovery.json deleted file mode 100644 index ba7745a84b..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_saptune_discovery.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "b767b3e9-e802-587e-a442-541d093b86b9", - "payload": { - "saptune_installed": true, - "package_version": "3.1.0", - "status": { - "$schema": "file:///usr/share/saptune/schemas/1.0/saptune_status.schema.json", - "publish time": "2023-04-24 12:41:56.612", - "argv": "saptune --format json status", - "pid": 24623, - "command": "status", - "exit code": 4, - "result": { - "services": { - "saptune": [ - "enabled", - "active" - ], - "sapconf": [], - "tuned": [] - }, - "systemd system state": "running", - "tuning state": "compliant", - "virtualization": "oracle", - "configured version": "3", - "package version": "3.1.0", - "Solution enabled": [ - "HANA" - ], - "Notes enabled by Solution": [ - { - "Solution ID": "HANA", - "Note list": [ - "941735", - "1771258", - "1868829", - "1980196", - "2578899", - "2684254", - "2382421", - "2534844", - "2993054", - "1656250" - ] - } - ], - "Solution applied": [ - { - "Solution ID": "HANA", - "applied partially": false - } - ], - "Notes applied by Solution": [ - { - "Solution ID": "HANA", - "Note list": [ - "941735", - "1771258", - "1868829", - "1980196", - "2578899", - "2684254", - "2382421", - "2534844", - "2993054", - "1656250" - ] - } - ], - "Notes enabled additionally": [], - "Notes enabled": [ - "941735", - "1771258", - "1868829", - "1980196", - "2578899", - "2684254", - "2382421", - "2534844", - "2993054", - "1656250" - ], - "Notes applied": [ - "941735", - "1771258", - "1868829", - "1980196", - "2578899", - "2684254", - "2382421", - "2534844", - "2993054", - "1656250" - ], - "staging": { - "staging enabled": false, - "Notes staged": [], - "Solutions staged": [] - }, - "remember message": "\nRegarding the tuning state of the system please use 'saptune note verify' for detailed information.\n\n" - }, - "messages": [ - { - "priority": "NOTICE", - "message": "actions.go:85: ATTENTION: You are running a test version (3.1.0 from 2022/11/28) of saptune which is not supported for production use\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmmax' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0xffffffffffffffff), /boot/sysctl.conf-5.3.18-150300.59.93-default(0xffffffffffffffff).\n" - }, - { - "priority": "WARNING", - "message": "sysctl.go:73: Parameter 'kernel.shmall' additional defined in the following sysctl config file /boot/sysctl.conf-5.3.18-150300.59.90-default(0x0fffffffffffff00), /boot/sysctl.conf-5.3.18-150300.59.93-default(0x0fffffffffffff00).\n" - }, - { - "priority": "NOTICE", - "message": "ini.go:308: block device related section settings detected: Traversing all block devices can take a considerable amount of time.\n" - } - ] - } - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_subscription_discovery.json deleted file mode 100644 index df6ae74c71..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/b767b3e9-e802-587e-a442-541d093b86b9_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "b767b3e9-e802-587e-a442-541d093b86b9", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_cloud_discovery.json deleted file mode 100644 index 2be4b7df9f..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "ddcb7992-2ffb-5c10-8b39-80685f6eaaba", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "9c5b4666-5356-4347-b688-6954027283a1", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmdrbdqas01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmdrbdqas01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmdrbdqas01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmdrbdqas01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Standard_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D00C2", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.90.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.90.1.31", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_ha_cluster_discovery.json deleted file mode 100644 index ed909743ca..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_ha_cluster_discovery.json +++ /dev/null @@ -1,685 +0,0 @@ -{ - "agent_id": "ddcb7992-2ffb-5c10-8b39-80685f6eaaba", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "a034a158905404befe08775682910ee1", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmdrbdqas01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmdrbdqas02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "drbd_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cl-nfsserver", - "Primitive": { - "Id": "nfsserver", - "Type": "nfs-server", - "Class": "systemd", - "Provider": "", - "Operations": [ - { - "Id": "nfsserver-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": null - }, - "MetaAttributes": [ - { - "Id": "cl-nfsserver-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Primitives": [ - { - "Id": "fs_sapdata", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "fs_sapdata-monitor-20", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "fs_sapdata-instance_attributes-device", - "Name": "device", - "Value": "/dev/drbd1" - }, - { - "Id": "fs_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWQ" - }, - { - "Id": "fs_sapdata-instance_attributes-fstype", - "Name": "fstype", - "Value": "xfs" - }, - { - "Id": "fs_sapdata-instance_attributes-options", - "Name": "options", - "Value": "noatime,nodiratime" - } - ] - }, - { - "Id": "vip_sapdata_nfs", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "vip_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "vip_sapdata_nfs-instance_attributes-ip", - "Name": "ip", - "Value": "10.90.1.33" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "32" - }, - { - "Id": "vip_sapdata_nfs-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "exportfs_work_sapdata", - "Type": "exportfs", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "exportfs_work_sapdata-monitor-30s", - "Name": "monitor", - "Role": "", - "Timeout": "", - "Interval": "30s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "exportfs_work_sapdata-instance_attributes-directory", - "Name": "directory", - "Value": "/mnt_permanent/sapdata/NWQ" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-fsid", - "Name": "fsid", - "Value": "1" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-options", - "Name": "options", - "Value": "rw,no_root_squash" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-clientspec", - "Name": "clientspec", - "Value": "*" - }, - { - "Id": "exportfs_work_sapdata-instance_attributes-wait_for_leasetime_on_stop", - "Name": "wait_for_leasetime_on_stop", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_sapdata_nfs-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_sapdata_nfs-instance_attributes-port", - "Name": "port", - "Value": "61000" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "ms_sapdata", - "Primitive": { - "Id": "drbd-sapdata", - "Type": "drbd", - "Class": "ocf", - "Provider": "linbit", - "Operations": [ - { - "Id": "drbd-sapdata-monitor-15", - "Name": "monitor", - "Role": "Master", - "Timeout": "", - "Interval": "15" - }, - { - "Id": "drbd-sapdata-monitor-30", - "Name": "monitor", - "Role": "Slave", - "Timeout": "", - "Interval": "30" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "drbd-sapdata-instance_attributes-drbd_resource", - "Name": "drbd_resource", - "Value": "sapdata" - } - ] - }, - "MetaAttributes": [ - { - "Id": "ms_sapdata-meta_attributes-master-max", - "Name": "master-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-master-node-max", - "Name": "master-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "ms_sapdata-meta_attributes-0-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "ms_sapdata-meta_attributes-1-notify", - "Name": "notify", - "Value": "true" - }, - { - "Id": "ms_sapdata-meta_attributes-1-target-role", - "Name": "target-role", - "Value": "Started" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:c1c003f5-4e45-4d6f-8d81-e338f666365c", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "f5991966-5a7f-45d6-90d1-bfcedb265df6", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmdrbdqas01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmdrbdqas02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-1LIO-ORG_IBLOCK:c1c003f5-4e45-4d6f-8d81-e338f666365c", - "Status": "healthy" - } - ] - }, - "Name": "drbd_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": false, - "Id": "1", - "Name": "vmdrbdqas01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 7 - }, - { - "DC": true, - "Id": "2", - "Name": "vmdrbdqas02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "ms_sapdata", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "drbd-sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "drbd-sapdata", - "Node": { - "Id": "2", - "Name": "vmdrbdqas02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::linbit:drbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cl-nfsserver", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "nfsserver", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "nfsserver", - "Node": { - "Id": "2", - "Name": "vmdrbdqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "systemd:nfs-server", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g-nfs_sapdata", - "Resources": [ - { - "Id": "fs_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "vip_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "exportfs_work_sapdata", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:exportfs", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_sapdata_nfs", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 12:20:56 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmdrbdqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmdrbdqas01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "fs_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "vip_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "exportfs_work_sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_sapdata_nfs", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmdrbdqas02", - "ResourceHistory": [ - { - "Name": "drbd-sapdata", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "nfsserver", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmdrbdqas01", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - }, - { - "Name": "vmdrbdqas02", - "Attributes": [ - { - "Name": "master-drbd-sapdata", - "Value": "10000" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_host_discovery.json deleted file mode 100644 index f0b4c70d2a..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "ddcb7992-2ffb-5c10-8b39-80685f6eaaba", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmdrbdqas01", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.31", - "10.90.1.33", - "fe80::6245:bdff:fe8d:c2" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmdrbdqas01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_sap_system_discovery.json deleted file mode 100644 index ea3deb3b65..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "ddcb7992-2ffb-5c10-8b39-80685f6eaaba", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_saptune_discovery.json deleted file mode 100644 index 58364bad87..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "ddcb7992-2ffb-5c10-8b39-80685f6eaaba", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_subscription_discovery.json deleted file mode 100644 index c706e41091..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/ddcb7992-2ffb-5c10-8b39-80685f6eaaba_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "ddcb7992-2ffb-5c10-8b39-80685f6eaaba", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/discarded_discovery_events.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/discarded_discovery_events.json new file mode 100644 index 0000000000..0637a088a0 --- /dev/null +++ b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/discarded_discovery_events.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_cloud_discovery.json deleted file mode 100644 index c7a7e36bf9..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_cloud_discovery.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "e0c182db-32ff-55c6-a9eb-2b82dd21bc8b", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "7b21fd90-d128-4e25-8812-2fef28f94839", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmhdbqas02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmhdbqas02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-vmhdbqas02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-vmhdbqas02-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "0" - }, - { - "name": "disk-vmhdbqas02-Data02", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "1" - }, - { - "name": "disk-vmhdbqas02-Data03", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "2" - }, - { - "name": "disk-vmhdbqas02-Data04", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "3" - }, - { - "name": "disk-vmhdbqas02-Data05", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "4" - }, - { - "name": "disk-vmhdbqas02-Data06", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "5" - }, - { - "name": "disk-vmhdbqas02-Data07", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "128", - "createOption": "Empty", - "caching": "None", - "vhd": { - "uri": "" - }, - "lun": "6" - } - ] - }, - "vmSize": "Standard_E4s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D08B3", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.90.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.90.1.12", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_ha_cluster_discovery.json deleted file mode 100644 index 7d116d0c5d..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_ha_cluster_discovery.json +++ /dev/null @@ -1,785 +0,0 @@ -{ - "agent_id": "e0c182db-32ff-55c6-a9eb-2b82dd21bc8b", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "4e905d706da85f5be14f85fa947c1e39", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmhdbqas01", - "InstanceAttributes": [ - { - "Id": "nodes-1-lpa_hdq_lpt", - "Name": "lpa_hdq_lpt", - "Value": "1643125033" - }, - { - "Id": "nodes-1-hana_hdq_vhost", - "Name": "hana_hdq_vhost", - "Value": "vmhdbqas01" - }, - { - "Id": "nodes-1-hana_hdq_site", - "Name": "hana_hdq_site", - "Value": "NBG" - }, - { - "Id": "nodes-1-hana_hdq_op_mode", - "Name": "hana_hdq_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-1-hana_hdq_srmode", - "Name": "hana_hdq_srmode", - "Value": "sync" - }, - { - "Id": "nodes-1-hana_hdq_remoteHost", - "Name": "hana_hdq_remoteHost", - "Value": "vmhdbqas02" - } - ] - }, - { - "Id": "2", - "Uname": "vmhdbqas02", - "InstanceAttributes": [ - { - "Id": "nodes-2-lpa_hdq_lpt", - "Name": "lpa_hdq_lpt", - "Value": "30" - }, - { - "Id": "nodes-2-hana_hdq_op_mode", - "Name": "hana_hdq_op_mode", - "Value": "logreplay" - }, - { - "Id": "nodes-2-hana_hdq_vhost", - "Name": "hana_hdq_vhost", - "Value": "vmhdbqas02" - }, - { - "Id": "nodes-2-hana_hdq_remoteHost", - "Name": "hana_hdq_remoteHost", - "Value": "vmhdbqas01" - }, - { - "Id": "nodes-2-hana_hdq_site", - "Name": "hana_hdq_site", - "Value": "WDF" - }, - { - "Id": "nodes-2-hana_hdq_srmode", - "Name": "hana_hdq_srmode", - "Value": "sync" - } - ] - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "hana_cluster_2" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - }, - { - "Id": "SAPHanaSR-hana_hdq_site_srHook_WDF", - "Name": "hana_hdq_site_srHook_WDF", - "Value": "SOK" - } - ] - }, - "Resources": { - "Clones": [ - { - "Id": "cln_SAPHanaTopology_HDQ_HDB10", - "Primitive": { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10", - "Type": "SAPHanaTopology", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "600", - "Interval": "10" - }, - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "300", - "Interval": "0" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDQ" - }, - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - } - ] - }, - "MetaAttributes": [ - { - "Id": "cln_SAPHanaTopology_HDQ_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "cln_SAPHanaTopology_HDQ_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Groups": [ - { - "Id": "g_ip_HDQ_HDB10", - "Primitives": [ - { - "Id": "rsc_ip_HDQ_HDB10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_HDQ_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDQ_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "20", - "Interval": "0" - }, - { - "Id": "rsc_ip_HDQ_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_HDQ_HDB10-instance_attributes-ip", - "Name": "ip", - "Value": "10.90.1.13" - }, - { - "Id": "rsc_ip_HDQ_HDB10-instance_attributes-cidr_netmask", - "Name": "cidr_netmask", - "Value": "24" - }, - { - "Id": "rsc_ip_HDQ_HDB10-instance_attributes-nic", - "Name": "nic", - "Value": "eth0" - } - ] - }, - { - "Id": "rsc_socat_HDQ_HDB10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_HDQ_HDB10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_HDQ_HDB10-instance_attributes-port", - "Name": "port", - "Value": "62510" - } - ] - } - ] - } - ], - "Masters": [ - { - "Id": "msl_SAPHana_HDQ_HDB10", - "Primitive": { - "Id": "rsc_SAPHana_HDQ_HDB10", - "Type": "SAPHana", - "Class": "ocf", - "Provider": "suse", - "Operations": [ - { - "Id": "rsc_SAPHana_HDQ_HDB10-start-0", - "Name": "start", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-promote-0", - "Name": "promote", - "Role": "", - "Timeout": "3600", - "Interval": "0" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-monitor-60", - "Name": "monitor", - "Role": "Master", - "Timeout": "700", - "Interval": "60" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-monitor-61", - "Name": "monitor", - "Role": "Slave", - "Timeout": "700", - "Interval": "61" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-SID", - "Name": "SID", - "Value": "HDQ" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-InstanceNumber", - "Name": "InstanceNumber", - "Value": "10" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-PREFER_SITE_TAKEOVER", - "Name": "PREFER_SITE_TAKEOVER", - "Value": "True" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-AUTOMATED_REGISTER", - "Name": "AUTOMATED_REGISTER", - "Value": "False" - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10-instance_attributes-DUPLICATE_PRIMARY_TIMEOUT", - "Name": "DUPLICATE_PRIMARY_TIMEOUT", - "Value": "7200" - } - ] - }, - "MetaAttributes": [ - { - "Id": "msl_SAPHana_HDQ_HDB10-meta_attributes-clone-max", - "Name": "clone-max", - "Value": "2" - }, - { - "Id": "msl_SAPHana_HDQ_HDB10-meta_attributes-clone-node-max", - "Name": "clone-node-max", - "Value": "1" - }, - { - "Id": "msl_SAPHana_HDQ_HDB10-meta_attributes-interleave", - "Name": "interleave", - "Value": "true" - } - ] - } - ], - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": [ - { - "Id": "stonith-sbd-monitor-15", - "Name": "monitor", - "Role": "", - "Timeout": "15", - "Interval": "15" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "15" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": null - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-360014058d88c7795c6a4b66bc024f4bd", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "246da75b-af59-4135-b980-90bf87815e2e", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmhdbqas01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmhdbqas02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-360014058d88c7795c6a4b66bc024f4bd", - "Status": "healthy" - } - ] - }, - "Name": "hana_cluster_2", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmhdbqas01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmhdbqas02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 2 - } - ], - "Clones": [ - { - "Id": "msl_SAPHana_HDQ_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHana_HDQ_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Master", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHana_HDQ_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbqas02", - "Cached": true - }, - "Role": "Slave", - "Agent": "ocf::suse:SAPHana", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": true, - "FailureIgnored": false - }, - { - "Id": "cln_SAPHanaTopology_HDQ_HDB10", - "Failed": false, - "Unique": false, - "Managed": true, - "Resources": [ - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_SAPHanaTopology_HDQ_HDB10", - "Node": { - "Id": "2", - "Name": "vmhdbqas02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::suse:SAPHanaTopology", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "MultiState": false, - "FailureIgnored": false - } - ], - "Groups": [ - { - "Id": "g_ip_HDQ_HDB10", - "Resources": [ - { - "Id": "rsc_ip_HDQ_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_HDQ_HDB10", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 7, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 25 15:37:13 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmhdbqas01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmhdbqas01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_ip_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_socat_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHana_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - }, - { - "Name": "vmhdbqas02", - "ResourceHistory": [ - { - "Name": "rsc_SAPHana_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - }, - { - "Name": "rsc_SAPHanaTopology_HDQ_HDB10", - "FailCount": 0, - "MigrationThreshold": 5000 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmhdbqas01", - "Attributes": [ - { - "Name": "hana_hdq_clone_state", - "Value": "PROMOTED" - }, - { - "Name": "hana_hdq_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdq_remoteHost", - "Value": "vmhdbqas02" - }, - { - "Name": "hana_hdq_roles", - "Value": "4:P:master1:master:worker:master" - }, - { - "Name": "hana_hdq_site", - "Value": "NBG" - }, - { - "Name": "hana_hdq_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdq_sync_state", - "Value": "PRIM" - }, - { - "Name": "hana_hdq_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdq_vhost", - "Value": "vmhdbqas01" - }, - { - "Name": "lpa_hdq_lpt", - "Value": "1643125033" - }, - { - "Name": "master-rsc_SAPHana_HDQ_HDB10", - "Value": "150" - } - ] - }, - { - "Name": "vmhdbqas02", - "Attributes": [ - { - "Name": "hana_hdq_clone_state", - "Value": "DEMOTED" - }, - { - "Name": "hana_hdq_op_mode", - "Value": "logreplay" - }, - { - "Name": "hana_hdq_remoteHost", - "Value": "vmhdbqas01" - }, - { - "Name": "hana_hdq_roles", - "Value": "4:S:master1:master:worker:master" - }, - { - "Name": "hana_hdq_site", - "Value": "WDF" - }, - { - "Name": "hana_hdq_srmode", - "Value": "sync" - }, - { - "Name": "hana_hdq_sync_state", - "Value": "SOK" - }, - { - "Name": "hana_hdq_version", - "Value": "2.00.057.00.1629894416" - }, - { - "Name": "hana_hdq_vhost", - "Value": "vmhdbqas02" - }, - { - "Name": "lpa_hdq_lpt", - "Value": "30" - }, - { - "Name": "master-rsc_SAPHana_HDQ_HDB10", - "Value": "100" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_host_discovery.json deleted file mode 100644 index b9282800f6..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_host_discovery.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "agent_id": "e0c182db-32ff-55c6-a9eb-2b82dd21bc8b", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmhdbqas02", - "cpu_count": 4, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.12", - "fe80::6245:bdff:fe8d:8b3" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 32107, - "fully_qualified_domain_name": "vmhdbqas02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_sap_system_discovery.json deleted file mode 100644 index 8c9a94456e..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_sap_system_discovery.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "agent_id": "e0c182db-32ff-55c6-a9eb-2b82dd21bc8b", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "9953878f07bb54cac20d5d5d7ff08af2", - "SID": "HDQ", - "Type": 1, - "Profile": { - "SAPGLOBALHOST": "vmhdbqas02", - "SAPSYSTEMNAME": "HDQ", - "hdbConfigType": "DEFAULT", - "ssl/ciphersuites": "135:PFS:HIGH::EC_P256:EC_HIGH", - "HDB_LINKED_BINARIES": "yes", - "HDB_SHARED_BINARIES": "yes" - }, - "Databases": [ - { - "Host": "vmhdbqas02", - "User": "", - "Group": "", - "Active": "yes", - "UserId": "", - "GroupId": "", - "SqlPort": "31015", - "Database": "HDQ", - "Container": "" - } - ], - "Instances": [ - { - "Host": "vmhdbqas02", - "Name": "HDB10", - "Type": 1, - "SAPControl": { - "Instances": [ - { - "features": "HDB|HDB_WORKER", - "hostname": "vmhdbqas02", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.3" - } - ], - "Processes": [ - { - "pid": 29597, - "name": "hdbdaemon", - "starttime": "2022 01 11 12:30:14", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Daemon", - "elapsedtime": "152:21:46" - }, - { - "pid": 30148, - "name": "hdbxsengine", - "starttime": "2022 01 11 12:30:27", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB XSEngine-HDQ", - "elapsedtime": "152:21:33" - }, - { - "pid": 29727, - "name": "hdbnameserver", - "starttime": "2022 01 11 12:30:14", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Nameserver", - "elapsedtime": "152:21:46" - }, - { - "pid": 30145, - "name": "hdbindexserver", - "starttime": "2022 01 11 12:30:27", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Indexserver-HDQ", - "elapsedtime": "152:21:33" - }, - { - "pid": 30047, - "name": "hdbpreprocessor", - "starttime": "2022 01 11 12:30:26", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Preprocessor", - "elapsedtime": "152:21:34" - }, - { - "pid": 30044, - "name": "hdbcompileserver", - "starttime": "2022 01 11 12:30:26", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Compileserver", - "elapsedtime": "152:21:34" - }, - { - "pid": 30855, - "name": "hdbwebdispatcher", - "starttime": "2022 01 11 12:30:35", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "HDB Web Dispatcher", - "elapsedtime": "152:21:25" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "YES", - "property": "DBServices", - "propertytype": "Attribute" - }, - { - "value": "worker", - "property": "HANA Roles", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "vmhdbqas02", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "HDB10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "HDQ", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.3", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://vmhdbqas02:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": { - "mode": "sync", - "online": "true", - "site_id": "2", - "isSource": "false", - "site_name": "WDF", - "isConsumer": "true", - "replayMode": "auto", - "hasConsumers": "false", - "siteTier/NBG": "1", - "siteTier/WDF": "2", - "operation_mode": "logreplay", - "primary_masters": "vmhdbqas01", - "siteMapping/NBG": "WDF", - "isTakeoverActive": "false", - "isPrimarySuspended": "false", - "mapping/vmhdbqas02": [ - "WDF/vmhdbqas02", - "NBG/vmhdbqas01" - ], - "active_primary_site": "1", - "isTimetravelEnabled": "false", - "siteOperationMode/NBG": "primary", - "siteOperationMode/WDF": "logreplay", - "siteReplicationMode/NBG": "primary", - "siteReplicationMode/WDF": "sync" - }, - "HostConfiguration": { - "host": "vmhdbqas02", - "hostActive": "yes", - "hostStatus": "ok", - "removeStatus": "", - "failoverStatus": "", - "hostActualRoles": "worker", - "hostConfigRoles": "worker", - "storagePartition": "1", - "workerActualGroups": "default", - "workerConfigGroups": "default", - "failoverActualGroup": "default", - "failoverConfigGroup": "default", - "nameServerActualRole": "master", - "nameServerConfigRole": "master 1", - "indexServerActualRole": "master", - "indexServerConfigRole": "worker", - "storageActualPartition": "1", - "storageConfigPartition": "1" - }, - "SystemReplication": { - "local_site_id": "2", - "site/2/SITE_NAME": "WDF", - "site/2/SOURCE_SITE_ID": "1", - "site/2/PRIMARY_MASTERS": "vmhdbqas01", - "site/2/REPLICATION_MODE": "SYNC" - } - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_saptune_discovery.json deleted file mode 100644 index a931d23487..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "e0c182db-32ff-55c6-a9eb-2b82dd21bc8b", - "payload": { - "saptune_installed": true, - "package_version": "3.0.0", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_subscription_discovery.json deleted file mode 100644 index 5c1077a8ea..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/e0c182db-32ff-55c6-a9eb-2b82dd21bc8b_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "e0c182db-32ff-55c6-a9eb-2b82dd21bc8b", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_cloud_discovery.json deleted file mode 100644 index bba5abcf43..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_cloud_discovery.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "f0c808b3-d869-5192-a944-20f66a6a8449", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "aa051519-6d23-461a-af09-8b3a2203ed04", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmiscsi01", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "0", - "plan": {}, - "publisher": "SUSE", - "name": "vmiscsi01", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-iscsisrv01-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - }, - "dataDisks": [ - { - "name": "disk-iscsisrv01-Data01", - "writeAcceleratorEnabled": "false", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "StandardSSD_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "diskSizeGB": "10", - "createOption": "Empty", - "caching": "ReadWrite", - "vhd": { - "uri": "" - }, - "lun": "0" - } - ] - }, - "vmSize": "Standard_DS1_v2", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "0022487FD2F9", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.90.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.90.1.4", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_host_discovery.json deleted file mode 100644 index 0b5609ebe8..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_host_discovery.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "agent_id": "f0c808b3-d869-5192-a944-20f66a6a8449", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmiscsi01", - "cpu_count": 1, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.90.1.4", - "fe80::222:48ff:fe7f:d2f9" - ], - "netmasks": [ - "8", - "128", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 3422, - "fully_qualified_domain_name": "vmiscsi01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_sap_system_discovery.json deleted file mode 100644 index 8c20d1bb14..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_sap_system_discovery.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "agent_id": "f0c808b3-d869-5192-a944-20f66a6a8449", - "discovery_type": "sap_system_discovery", - "payload": [] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_saptune_discovery.json deleted file mode 100644 index 56e16df688..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "f0c808b3-d869-5192-a944-20f66a6a8449", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_subscription_discovery.json deleted file mode 100644 index fc01b38124..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/f0c808b3-d869-5192-a944-20f66a6a8449_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "f0c808b3-d869-5192-a944-20f66a6a8449", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_cloud_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_cloud_discovery.json deleted file mode 100644 index a531b5eaf9..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_cloud_discovery.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "discovery_type": "cloud_discovery", - "agent_id": "fb2c6b8a-9915-5969-a6b7-8b5a42de1971", - "payload": { - "Provider": "azure", - "Metadata": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000", - "vmId": "84f224b2-ad29-41a7-94ae-26ced84cdace", - "platformFaultDomain": "0", - "osType": "Linux", - "sku": "gen2", - "osProfile": { - "adminUsername": "cloudadmin", - "computerName": "vmnwdev02", - "disablePasswordAuthentication": "true" - }, - "tags": "fake-tags", - "version": "2021.12.19", - "location": "westeurope", - "provider": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "offer": "sles-sap-15-sp3-byos", - "platformUpdateDomain": "1", - "plan": {}, - "publisher": "SUSE", - "name": "vmnwdev02", - "storageProfile": { - "imageReference": { - "sku": "gen2", - "publisher": "SUSE", - "version": "latest", - "offer": "sles-sap-15-sp3-byos" - }, - "osDisk": { - "diffDiskSettings": { - "option": "" - }, - "name": "disk-netweaver02-Os", - "writeAcceleratorEnabled": "false", - "diskSizeGB": "30", - "image": { - "uri": "" - }, - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000" - }, - "encryptionSettings": { - "enabled": "false" - }, - "caching": "ReadWrite", - "createOption": "FromImage", - "osType": "Linux", - "vhd": { - "uri": "" - } - } - }, - "vmSize": "Standard_D2s_v3", - "resourceGroupName": "resourceGroupName", - "publicKeys": [ - { - "path": "ssh-no-see", - "keyData": "ssh-no-see" - } - ], - "isHostCompatibilityLayerVm": "false", - "securityProfile": { - "virtualTpmEnabled": "false", - "secureBootEnabled": "false" - }, - "tagsList": [ - { - "name": "Cost Center", - "value": "00000000" - }, - { - "name": "Department", - "value": "EI" - }, - { - "name": "Environment", - "value": "Development" - }, - { - "name": "Finance Business Partner", - "value": "John Doe" - }, - { - "name": "General Ledger Code", - "value": "100000000" - }, - { - "name": "Group", - "value": "SAP Solutions" - }, - { - "name": "Owner", - "value": "John Doe" - }, - { - "name": "Stakeholder", - "value": "John Doe" - }, - { - "name": "workspace", - "value": "xxxxxxx" - } - ] - }, - "network": { - "interface": [ - { - "macAddress": "6045BD8D9C7D", - "ipv4": { - "subnet": [ - { - "prefix": "24", - "address": "10.100.1.0" - } - ], - "ipAddress": [ - { - "privateIpAddress": "10.100.1.22", - "publicIpAddress": "XX.XXX.XX.XXX" - } - ] - }, - "ipv6": {} - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_ha_cluster_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_ha_cluster_discovery.json deleted file mode 100644 index 7e4820c444..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_ha_cluster_discovery.json +++ /dev/null @@ -1,726 +0,0 @@ -{ - "agent_id": "fb2c6b8a-9915-5969-a6b7-8b5a42de1971", - "discovery_type": "ha_cluster_discovery", - "payload": { - "DC": false, - "Provider": "azure", - "Id": "057f083c3be591f4398eed816d4c8cd7", - "Cib": { - "Configuration": { - "Nodes": [ - { - "Id": "1", - "Uname": "vmnwdev01", - "InstanceAttributes": null - }, - { - "Id": "2", - "Uname": "vmnwdev02", - "InstanceAttributes": null - } - ], - "CrmConfig": { - "ClusterProperties": [ - { - "Id": "cib-bootstrap-options-have-watchdog", - "Name": "have-watchdog", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-dc-version", - "Name": "dc-version", - "Value": "2.0.5+20201202.ba59be712-4.13.1-2.0.5+20201202.ba59be712" - }, - { - "Id": "cib-bootstrap-options-cluster-infrastructure", - "Name": "cluster-infrastructure", - "Value": "corosync" - }, - { - "Id": "cib-bootstrap-options-cluster-name", - "Name": "cluster-name", - "Value": "netweaver_cluster" - }, - { - "Id": "cib-bootstrap-options-stonith-enabled", - "Name": "stonith-enabled", - "Value": "true" - }, - { - "Id": "cib-bootstrap-options-stonith-timeout", - "Name": "stonith-timeout", - "Value": "144s" - }, - { - "Id": "cib-bootstrap-options-maintenance-mode", - "Name": "maintenance-mode", - "Value": "false" - } - ] - }, - "Resources": { - "Clones": null, - "Groups": [ - { - "Id": "grp_NWD_ASCS00", - "Primitives": [ - { - "Id": "rsc_ip_NWD_ASCS00", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWD_ASCS00-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWD_ASCS00-instance_attributes-ip", - "Name": "ip", - "Value": "10.100.1.25" - } - ] - }, - { - "Id": "rsc_fs_NWD_ASCS00", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWD_ASCS00-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWD_ASCS00-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWD_ASCS00-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWD_ASCS00-instance_attributes-device", - "Name": "device", - "Value": "10.100.1.33:/NWD/ASCS" - }, - { - "Id": "rsc_fs_NWD_ASCS00-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWD/ASCS00" - }, - { - "Id": "rsc_fs_NWD_ASCS00-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWD_ASCS00", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWD_ASCS00-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWD_ASCS00-meta_attributes-resource-stickiness", - "Name": "resource-stickiness", - "Value": "5000" - }, - { - "Id": "rsc_sap_NWD_ASCS00-meta_attributes-failure-timeout", - "Name": "failure-timeout", - "Value": "60" - }, - { - "Id": "rsc_sap_NWD_ASCS00-meta_attributes-migration-threshold", - "Name": "migration-threshold", - "Value": "1" - }, - { - "Id": "rsc_sap_NWD_ASCS00-meta_attributes-priority", - "Name": "priority", - "Value": "10" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWD_ASCS00-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWD_ASCS00_sapnwdas" - }, - { - "Id": "rsc_sap_NWD_ASCS00-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWD/profile/NWD_ASCS00_sapnwdas" - }, - { - "Id": "rsc_sap_NWD_ASCS00-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - } - ] - }, - { - "Id": "rsc_socat_NWD_ASCS00", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWD_ASCS00-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWD_ASCS00-instance_attributes-port", - "Name": "port", - "Value": "62000" - } - ] - } - ] - }, - { - "Id": "grp_NWD_ERS10", - "Primitives": [ - { - "Id": "rsc_ip_NWD_ERS10", - "Type": "IPaddr2", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_ip_NWD_ERS10-monitor-10s", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_ip_NWD_ERS10-instance_attributes-ip", - "Name": "ip", - "Value": "10.100.1.26" - } - ] - }, - { - "Id": "rsc_fs_NWD_ERS10", - "Type": "Filesystem", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_fs_NWD_ERS10-start-0", - "Name": "start", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWD_ERS10-stop-0", - "Name": "stop", - "Role": "", - "Timeout": "60s", - "Interval": "0" - }, - { - "Id": "rsc_fs_NWD_ERS10-monitor-20s", - "Name": "monitor", - "Role": "", - "Timeout": "40s", - "Interval": "20s" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_fs_NWD_ERS10-instance_attributes-device", - "Name": "device", - "Value": "10.100.1.33:/NWD/ERS" - }, - { - "Id": "rsc_fs_NWD_ERS10-instance_attributes-directory", - "Name": "directory", - "Value": "/usr/sap/NWD/ERS10" - }, - { - "Id": "rsc_fs_NWD_ERS10-instance_attributes-fstype", - "Name": "fstype", - "Value": "nfs4" - } - ] - }, - { - "Id": "rsc_sap_NWD_ERS10", - "Type": "SAPInstance", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_sap_NWD_ERS10-operations-monitor-120", - "Name": "monitor", - "Role": "", - "Timeout": "60", - "Interval": "120" - } - ], - "MetaAttributes": [ - { - "Id": "rsc_sap_NWD_ERS10-meta_attributes-priority", - "Name": "priority", - "Value": "1000" - } - ], - "InstanceAttributes": [ - { - "Id": "rsc_sap_NWD_ERS10-instance_attributes-InstanceName", - "Name": "InstanceName", - "Value": "NWD_ERS10_sapnwder" - }, - { - "Id": "rsc_sap_NWD_ERS10-instance_attributes-START_PROFILE", - "Name": "START_PROFILE", - "Value": "/sapmnt/NWD/profile/NWD_ERS10_sapnwder" - }, - { - "Id": "rsc_sap_NWD_ERS10-instance_attributes-AUTOMATIC_RECOVER", - "Name": "AUTOMATIC_RECOVER", - "Value": "false" - }, - { - "Id": "rsc_sap_NWD_ERS10-instance_attributes-IS_ERS", - "Name": "IS_ERS", - "Value": "true" - } - ] - }, - { - "Id": "rsc_socat_NWD_ERS10", - "Type": "azure-lb", - "Class": "ocf", - "Provider": "heartbeat", - "Operations": [ - { - "Id": "rsc_socat_NWD_ERS10-monitor-10", - "Name": "monitor", - "Role": "", - "Timeout": "20s", - "Interval": "10" - } - ], - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "rsc_socat_NWD_ERS10-instance_attributes-port", - "Name": "port", - "Value": "62110" - } - ] - } - ] - } - ], - "Masters": null, - "Primitives": [ - { - "Id": "stonith-sbd", - "Type": "external/sbd", - "Class": "stonith", - "Provider": "", - "Operations": null, - "MetaAttributes": null, - "InstanceAttributes": [ - { - "Id": "stonith-sbd-instance_attributes-pcmk_delay_max", - "Name": "pcmk_delay_max", - "Value": "30s" - } - ] - } - ] - }, - "Constraints": { - "RscLocations": [ - { - "Id": "loc_sap_NWD_failover_to_ers", - "Node": "", - "Role": "", - "Score": "", - "Resource": "rsc_sap_NWD_ASCS00" - } - ] - } - } - }, - "SBD": { - "Config": { - "SBD_OPTS": "", - "SBD_DEVICE": "/dev/disk/by-id/scsi-36001405f01eb5f4c5c941e499beb055d", - "SBD_PACEMAKER": "yes", - "SBD_STARTMODE": "always", - "SBD_DELAY_START": "yes", - "SBD_WATCHDOG_DEV": "/dev/watchdog", - "SBD_TIMEOUT_ACTION": "flush,reboot", - "SBD_WATCHDOG_TIMEOUT": "5", - "SBD_MOVE_TO_ROOT_CGROUP": "auto", - "SBD_SYNC_RESOURCE_STARTUP": "no" - }, - "Devices": [ - { - "Dump": { - "Uuid": "4e8adda1-da35-4ee4-92b9-a134494861f0", - "Slots": 255, - "Header": "2.1", - "SectorSize": 512, - "TimeoutLoop": 1, - "TimeoutMsgwait": 10, - "TimeoutAllocate": 2, - "TimeoutWatchdog": 5 - }, - "List": [ - { - "Id": 0, - "Name": "vmnwdev01", - "Status": "clear" - }, - { - "Id": 1, - "Name": "vmnwdev02", - "Status": "clear" - } - ], - "Device": "/dev/disk/by-id/scsi-36001405f01eb5f4c5c941e499beb055d", - "Status": "healthy" - } - ] - }, - "Name": "netweaver_cluster", - "Crmmon": { - "Nodes": [ - { - "DC": true, - "Id": "1", - "Name": "vmnwdev01", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 5 - }, - { - "DC": false, - "Id": "2", - "Name": "vmnwdev02", - "Type": "member", - "Online": true, - "Pending": false, - "Standby": false, - "Unclean": false, - "Shutdown": false, - "ExpectedUp": true, - "Maintenance": false, - "StandbyOnFail": false, - "ResourcesRunning": 4 - } - ], - "Clones": null, - "Groups": [ - { - "Id": "grp_NWD_ASCS00", - "Resources": [ - { - "Id": "rsc_ip_NWD_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWD_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWD_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWD_ASCS00", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - }, - { - "Id": "grp_NWD_ERS10", - "Resources": [ - { - "Id": "rsc_ip_NWD_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:IPaddr2", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_fs_NWD_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:Filesystem", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_sap_NWD_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:SAPInstance", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - }, - { - "Id": "rsc_socat_NWD_ERS10", - "Node": { - "Id": "2", - "Name": "vmnwdev02", - "Cached": true - }, - "Role": "Started", - "Agent": "ocf::heartbeat:azure-lb", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ] - } - ], - "Summary": { - "Nodes": { - "Number": 2 - }, - "Resources": { - "Number": 9, - "Blocked": 0, - "Disabled": 0 - }, - "LastChange": { - "Time": "Tue Jan 11 12:55:06 2022" - }, - "ClusterOptions": { - "StonithEnabled": true - } - }, - "Version": "2.0.5", - "Resources": [ - { - "Id": "stonith-sbd", - "Node": { - "Id": "1", - "Name": "vmnwdev01", - "Cached": true - }, - "Role": "Started", - "Agent": "stonith:external/sbd", - "Active": true, - "Failed": false, - "Blocked": false, - "Managed": true, - "Orphaned": false, - "FailureIgnored": false, - "NodesRunningOn": 1 - } - ], - "NodeHistory": { - "Nodes": [ - { - "Name": "vmnwdev01", - "ResourceHistory": [ - { - "Name": "stonith-sbd", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWD_ASCS00", - "FailCount": 0, - "MigrationThreshold": 1 - }, - { - "Name": "rsc_socat_NWD_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_ip_NWD_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWD_ASCS00", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - }, - { - "Name": "vmnwdev02", - "ResourceHistory": [ - { - "Name": "rsc_ip_NWD_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_fs_NWD_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_sap_NWD_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - }, - { - "Name": "rsc_socat_NWD_ERS10", - "FailCount": 0, - "MigrationThreshold": 3 - } - ] - } - ] - }, - "NodeAttributes": { - "Nodes": [ - { - "Name": "vmnwdev02", - "Attributes": [ - { - "Name": "runs_ers_NWD", - "Value": "1" - } - ] - } - ] - } - } - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_host_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_host_discovery.json deleted file mode 100644 index 4e102cc562..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_host_discovery.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "agent_id": "fb2c6b8a-9915-5969-a6b7-8b5a42de1971", - "discovery_type": "host_discovery", - "payload": { - "hostname": "vmnwdev02", - "cpu_count": 2, - "os_version": "15-SP3", - "ip_addresses": [ - "127.0.0.1", - "::1", - "10.100.1.22", - "10.100.1.26", - "fe80::6245:bdff:fe8d:9c7d" - ], - "netmasks": [ - "8", - "128", - "24", - "24", - "64" - ], - "socket_count": 1, - "agent_version": "2.1.0", - "total_memory_mb": 7951, - "fully_qualified_domain_name": "vmnwdev02.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" - } -} diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_sap_system_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_sap_system_discovery.json deleted file mode 100644 index 6415f5ebd8..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_sap_system_discovery.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "agent_id": "fb2c6b8a-9915-5969-a6b7-8b5a42de1971", - "discovery_type": "sap_system_discovery", - "payload": [ - { - "Id": "a1e80e3e152a903662f7882fb3f8a851", - "SID": "NWD", - "Type": 2, - "DBAddress": "10.100.1.13", - "Profile": { - "SAPDBHOST": "10.100.1.13", - "dbms/name": "HDD", - "dbms/type": "hdb", - "gw/acl_mode": "1", - "gw/sec_info": "$(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)", - "system/type": "ABAP", - "vmcj/enable": "off", - "rdisp/mshost": "sapnwdas", - "rdisp/msserv": "sapmsNWD", - "SAPGLOBALHOST": "sapnwdas", - "SAPSYSTEMNAME": "NWD", - "rdisp/btctime": "0", - "dbs/hdb/dbname": "HDD", - "dbs/hdb/schema": "SAPABAP1", - "enque/serverhost": "sapnwdas", - "enque/serverinst": "00", - "icf/user_recheck": "1", - "rdisp/bufrefmode": "sendoff", - "rsdb/ssfs_connect": "0", - "rsec/ssfs_keypath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key", - "rdisp/autoabaptime": "0", - "rsec/ssfs_datapath": "$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data", - "login/system_client": "001", - "rdisp/msserv_internal": "3900", - "enque/process_location": "REMOTESA", - "enque/deque_wait_answer": "TRUE", - "service/protectedwebmethods": "SDEFAULT", - "system/secure_communication": "ON", - "is/HTTP/show_detailed_errors": "FALSE", - "login/password_downwards_compatibility": "0", - "icm/HTTP/ASJava/disable_url_session_tracking": "TRUE" - }, - "Databases": null, - "Instances": [ - { - "Host": "vmnwdev02", - "Name": "ERS10", - "Type": 2, - "SAPControl": { - "Instances": [ - { - "features": "MESSAGESERVER|ENQUE", - "hostname": "sapnwdas", - "httpPort": 50013, - "httpsPort": 50014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 0, - "startPriority": "1" - }, - { - "features": "ENQREP", - "hostname": "sapnwder", - "httpPort": 51013, - "httpsPort": 51014, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 10, - "startPriority": "0.5" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwdpas", - "httpPort": 50113, - "httpsPort": 50114, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 1, - "startPriority": "3" - }, - { - "features": "ABAP|GATEWAY|ICMAN|IGS", - "hostname": "sapnwdaas1", - "httpPort": 50213, - "httpsPort": 50214, - "dispstatus": "SAPControl-GREEN", - "instanceNr": 2, - "startPriority": "3" - } - ], - "Processes": [ - { - "pid": 6720, - "name": "enrepserver", - "starttime": "2022 01 11 12:55:17", - "dispstatus": "SAPControl-GREEN", - "textstatus": "Running", - "description": "EnqueueReplicator", - "elapsedtime": "151:56:49" - } - ], - "Properties": [ - { - "value": "10", - "property": "SAPSYSTEM", - "propertytype": "Attribute" - }, - { - "value": "Start,InstanceStart,StartBypassHA,Bootstrap,Stop,InstanceStop,StopBypassHA,Shutdown,ParameterValue,GetProcessList,GetStartProfile,GetTraceFile,GetAlertTree,GetAlerts,RestartService,StopService,GetEnvironment,ListDeveloperTraces,ReadDeveloperTrace,RestartInstance,SendSignal,GetVersionInfo,GetQueueStatistic,GetInstanceProperties,OSExecute,ReadLogFile,AnalyseLogFiles,ListLogFiles,GetAccessPointList,GetSystemInstanceList,GetSystemUpdateList,StartSystem,StopSystem,RestartSystem,UpdateSystem,UpdateSCSInstance,CheckUpdateSystem,AccessCheck,GetProcessParameter,SetProcessParameter,SetProcessParameter2,CheckParameter,ShmDetach,GetNetworkId,GetSecNetworkId,RequestLogonFile,CreateSnapshot,ReadSnapshot,ListSnapshots,DeleteSnapshots,GetCallstack,ABAPReadSyslog,ABAPReadRawSyslog,ABAPGetWPTable,ABAPAcknowledgeAlerts,ABAPGetComponentList,ABAPCheckRFCDestinations,ABAPGetSystemWPTable,ABAPSetServerInactive,J2EEGetProcessList,J2EEGetProcessList2,J2EEControlProcess,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadCallStack,J2EEGetThreadTaskStack,J2EEGetSessionList,J2EEGetWebSessionList,J2EEGetWebSessionList2,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetApplicationAliasList,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetEJBSessionList,J2EEGetRemoteObjectList,J2EEGetClusterMsgList,J2EEGetSharedTableInfo,J2EEGetComponentList,J2EEControlComponents,ICMGetThreadList,ICMGetConnectionList,ICMGetCacheEntries,ICMGetProxyConnectionList,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,EnqGetLockTable,EnqRemoveLocks,EnqRemoveUserLocks,EnqGetStatistic,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,UpdateSystemPKI,UpdateInstancePSE,StorePSE,DeletePSE,CheckPSE,HACheckConfig,HACheckFailoverConfig,HAGetFailoverConfig,HAFailoverToNode,HASetMaintenanceMode,HACheckMaintenanceMode,ListConfigFiles,ReadConfigFile", - "property": "Webmethods", - "propertytype": "Attribute" - }, - { - "value": "GetProcessList", - "property": "Process List", - "propertytype": "NodeWebmethod" - }, - { - "value": "sapnwder", - "property": "SAPLOCALHOST", - "propertytype": "Attribute" - }, - { - "value": "GetAccessPointList", - "property": "Access Points", - "propertytype": "NodeWebmethod" - }, - { - "value": "ERS10", - "property": "INSTANCE_NAME", - "propertytype": "Attribute" - }, - { - "value": "https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73554900100200005858&V=MAINT", - "property": "Kernel Update", - "propertytype": "NodeURL" - }, - { - "value": "NWD", - "property": "SAPSYSTEMNAME", - "propertytype": "Attribute" - }, - { - "value": "0.5", - "property": "StartPriority", - "propertytype": "Attribute" - }, - { - "value": "ABAPAcknowledgeAlerts,ABAPCheckRFCDestinations,ABAPGetComponentList,ABAPGetSystemWPTable,ABAPGetWPTable,ABAPReadRawSyslog,ABAPReadSyslog,ABAPSetServerInactive,AnalyseLogFiles,Bootstrap,CheckParameter,CheckPSE,CheckUpdateSystem,ConfigureLogFileList,CreatePSECredential,CreateSnapshot,DeletePSE,DeleteSnapshots,EnqGetLockTable,EnqGetStatistic,EnqRemoveLocks,EnqRemoveUserLocks,GetAccessPointList,GetAlerts,GetAlertTree,GetCallstack,GetEnvironment,GetLogFileList,GetProcessParameter,GetQueueStatistic,GetStartProfile,GetSystemUpdateList,GetTraceFile,GetVersionInfo,GWCancelConnections,GWDeleteClients,GWDeleteConnections,GWGetConnectionList,GWGetClientList,HACheckConfig,HACheckFailoverConfig,HACheckMaintenanceMode,HAFailoverToNode,HAGetFailoverConfig,HASetMaintenanceMode,ICMGetCacheEntries,ICMGetConnectionList,ICMGetProxyConnectionList,ICMGetThreadList,InstanceStart,InstanceStop,J2EEControlCluster,J2EEControlComponents,J2EEControlProcess,J2EEDisableDbgSession,J2EEEnableDbgSession,J2EEGetApplicationAliasList,J2EEGetCacheStatistic,J2EEGetCacheStatistic2,J2EEGetClusterMsgList,J2EEGetComponentList,J2EEGetEJBSessionList,J2EEGetProcessList,J2EEGetProcessList2,J2EEGetRemoteObjectList,J2EEGetSessionList,J2EEGetSharedTableInfo,J2EEGetThreadCallStack,J2EEGetThreadList,J2EEGetThreadList2,J2EEGetThreadTaskStack,J2EEGetVMGCHistory,J2EEGetVMGCHistory2,J2EEGetVMHeapInfo,J2EEGetWebSessionList,J2EEGetWebSessionList2,ListConfigFiles,ListDeveloperTraces,ListLogFiles,ListSnapshots,OSExecute,ParameterValue,ReadConfigFile,ReadDeveloperTrace,ReadLogFile,ReadSnapshot,RestartInstance,RestartService,RestartSystem,SendSignal,SetProcessParameter,SetProcessParameter2,ShmDetach,Shutdown,Start,StartBypassHA,StartSystem,Stop,StopBypassHA,StopService,StopSystem,StorePSE,UpdateInstancePSE,UpdateSCSInstance,UpdateSystem,UpdateSystemPKI,WebDispGetServerList,WebDispGetGroupList,WebDispGetVirtHostList,WebDispGetUrlPrefixList,GetAgentConfig,GetListOfMaByCusGrp,GetMcInLocalMs,GetMtesByRequestTable,GetMtListByMtclass,InfoGetTree,MscCustomizeWrite,MscDeleteLines,MscReadCache,MsGetLocalMsInfo,MsGetMteclsInLocalMs,MtChangeStatus,MtCustomizeWrite,MtDbsetToWpsetByTid,MtDestroyMarkNTry,MteGetByToolRunstatus,MtGetAllToCust,MtGetAllToolsToSet,MtGetMteinfo,MtGetTidByName,MtRead,MtReset,PerfCustomizeWrite,PerfRead,PerfReadSmoothData,ReadDirectory,ReadFile,ReadProfileParameters,ReferenceRead,Register,RequestLogonFile,SnglmgsCustomizeWrite,SystemObjectSetValue,TextAttrRead,ToolGetEffective,ToolSet,ToolSetRuntimeStatus,TriggerDataCollection,Unregister,UtilAlChangeStatus,UtilMtGetAidByTid,UtilMtGetTreeLocal,UtilMtReadAll,UtilReadRawalertByAid,UtilSnglmsgReadRawdata", - "property": "Protected Webmethods", - "propertytype": "Attribute" - }, - { - "value": "http://sapnwder:51013/sapparamEN.html", - "property": "Parameter Documentation", - "propertytype": "NodeURL" - } - ] - }, - "HdbnsutilSRstate": null, - "HostConfiguration": null, - "SystemReplication": null - } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_saptune_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_saptune_discovery.json deleted file mode 100644 index 1272a2cec6..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_saptune_discovery.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "discovery_type": "saptune_discovery", - "agent_id": "fb2c6b8a-9915-5969-a6b7-8b5a42de1971", - "payload": { - "saptune_installed": false, - "package_version": "", - "status": null - } -} \ No newline at end of file diff --git a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_subscription_discovery.json b/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_subscription_discovery.json deleted file mode 100644 index 3030ca88b5..0000000000 --- a/test/fixtures/scenarios/healthy-27-node-SAP-cluster/fb2c6b8a-9915-5969-a6b7-8b5a42de1971_subscription_discovery.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "agent_id": "fb2c6b8a-9915-5969-a6b7-8b5a42de1971", - "discovery_type": "subscription_discovery", - "payload": [ - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "SLES_SAP", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-basesystem" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-desktop-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-server-applications" - }, - { - "arch": "x86_64", - "type": "internal", - "status": "Registered", - "version": "15.3", - "starts_at": "2021-10-18 06:23:46 UTC", - "expires_at": "2026-10-18 06:23:46 UTC", - "identifier": "sle-ha", - "subscription_status": "ACTIVE" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-sap-applications" - }, - { - "arch": "x86_64", - "status": "Registered", - "version": "15.3", - "identifier": "sle-module-public-cloud" - } - ] -}