3 DL-handler consists of two pods- the feeder and admin UI. It can be deployed by using cloudify blueprint. Datalake can be easily deployed through DCAE cloudify manager. The following steps guides you launch Datalake though cloudify manager.
7 - Make sure mariadb-galera from OOM is properly deployed and functional.
8 - An external database, such as Elasticsearch and MongoDB is deployed.
10 After datalake getting deployed, the admin UI can be used to configure the sink database address and credentials.
12 Log-in to the DCAE Bootstrap POD
13 ---------------------------------------------------
15 First, we should find the bootstrap pod name through the following command and make sure that DCAE coudify manager is properly deployed.
16 .. image :: .images/bootstrap-pod.png
18 Login to the DCAE bootstrap pod through the following command.
21 #kubectl exec -it <DCAE bootstrap pod> /bin/bash -n onap
25 Before the blueprints uploading to Cloudify manager, the blueprints shoule be validated first throuhg the following command.
28 #cfy blueprint validate /bluerints/k8s-datalake-feeder.yaml
29 #cfy blueprint validate /blueprints/k8s-datalake-admin-ui.yaml
31 Upload the Blueprint to Cloudify Manager.
32 -----------------------------------------
33 After validating, we can start to proceed blueprints uploading.
36 #cfy blueprint upload -b datalake-feeder /bluerints/k8s-datalake-feeder.yaml
37 #cfy blueprint upload -b datalake-admin-ui /blueprints/k8s-datalake-admin-ui.yaml
39 Verify Uploaded Blueprints
40 --------------------------
41 Using "cft blueprint list" to varify your work.
46 You can see the following returned message to show the blueprints have been correctly uploaded.
47 .. image :: ./imagesblueprint-list.png
50 Verify Plugin Versions
51 ------------------------------------------------------------------------------
52 If the version of the plugin used is different, update the blueprint import to match.
59 Here we are going to create deployments for both feeder and admin UI.
62 #cfy deployments create -b datalake-feeder feeder-deploy
63 #cfy deployments create -b datalake-admin-ui admin-ui-deploy
67 Next, we are going to launch the datalake.
70 #cfy executions start -d feeder-deploy install
71 #cfy executions start -d admin-ui-deploy install
74 Verify the Deployment Result
75 -----------------------------
76 The following command can be used to list the datalake logs.
78 #kubectl logs <datalake-pod> -n onap
80 The output should looks like.
81 .. image :: ./feeder-log.png
83 If you find any Java exception from log, make sure that the external database and datalake configuration are properly configured.
84 Admin UI can be used to configure the external database configuration.
89 Uninstall running component and delete deployment
92 #cfy uninstall feeder-deploy
93 #cfy uninstall admin-ui-deploy
99 #cfy blueprints delete datalake-feeder
100 #cfy blueprints deltet datalake-admin-ui