summaryrefslogtreecommitdiffstats
path: root/docs/sections/healthcheck.rst
blob: 57266bbff1ca74c131858987749670bc657bff26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

HealthCheck
===========

DCAE Healthcheck .

OOM Deployment
--------------

    In OOM deployments DCAE healthcheck are reported by separate  service - dcae-healthcheck; this is deployment of org.onap.dcaegen2.deployments.healthcheck-container which is built from dcaegen2/deployment repo - healthcheck-container module. The container includes list of deployments done in DCAE  (both via helm charts and Cloudify) for which periodic health check is performed. For helm deployed component - servicename defined is charts are used and for cloudify, the deployments identified in bootstrap are prefixed with release name. The container itself is deployed via helm charts (oom/kubernetes/dcaegen2/charts/dcae-healthcheck). This polls the deployments specified periodically and reports the status. The service can be queried for status as below. 
    
curl dcae-healthcheck    
.. code-block:: json    

         
         
         {
            "type": "summary",
            "count": 11,
            "ready": 11,
            "items": [{
                "name": "dev-dcaegen2-dcae-cloudify-manager",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-config-binding-service",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-deployment-handler",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-inventory",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-service-change-handler",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-policy-handler",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-dcae-ves-collector",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-dcae-tca-analytics",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-dcae-prh",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-dcae-hv-ves-collector",
                "ready": 1,
                "unavailable": 0
            }, {
                "name": "dep-dcae-datafile-collector",
                "ready": 1,
                "unavailable": 0
            }]
        }
        
        

Heat Deployment
---------------