Post Installation Health-Check
After the installation and configuration of Trilio for Openstack did succeed the following steps can be done to verify that the Trilio installation is healthy.
Verify the Trilio Appliance
Verify the services are up
Trilio is using 4 main services on the Trilio Appliance:
wlm-apiwlm-schedulerwlm-workloadswlm-cron
systemctl | grep wlm
wlm-api.service loaded active running workloadmanager api service
wlm-cron.service loaded active running Cluster Controlled wlm-cron
wlm-scheduler.service loaded active running Cluster Controlled wlm-scheduler
wlm-workloads.service loaded active running workloadmanager workloads serviceThose can be verified to be up and running using the systemctl status command.
systemctl status wlm-api
######
● wlm-api.service - workloadmanager api service
Loaded: loaded (/etc/systemd/system/wlm-api.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2021-11-02 19:41:19 UTC; 2 months 21 days ago
Main PID: 4688 (workloadmgr-api)
CGroup: /system.slice/wlm-api.service
├─4688 /home/stack/myansible/bin/python3 /home/stack/myansible/bin/workloadmgr-api --config-file=/etc/workloadmgr/workloadmgr.confCheck the Trilio pacemaker and nginx cluster
The second component to check the Trilio Appliance's health is the nginx and pacemaker cluster.
Verify API connectivity of the Trilio Appliance
Checking the availability of the Trilio API on the chosen endpoints is recommended.
The following example curl command lists the available workload-types and verifies that the connection is available and working:
Verify Trilio components on OpenStack
On OpenStack Ansible
Datamover-API service (dmapi)
The dmapi service has its own Keystone endpoints, which should be checked in addition to the actual service status.
In order to check the dmapi service go to dmapi container which is residing on controller nodes and run below command
Datamover service (tvault-contego)
The datamover service is running on each compute node. Logging to compute node and run below command
On Kolla Ansible OpenStack
Datamover-API service (dmapi)
The dmapi service has its own Keystone endpoints, which should be checked in addition to the actual service status.
Run the following command on “nova-api” nodes and make sure “triliovault_datamover_api” container is in started state.
Datamover service (tvault-contego)
Run the following command on "nova-compute" nodes and make sure the container is in a started state.
Trilio Horizon integration
Run the following command on horizon nodes and make sure the container is in a started state.
On Canonical OpenStack
Run the following command on MAAS nodes and make sure all trilio units like trilio-data-mover, trilio-dm-api, trilio-horizon-plugin, trilio-wlmare in active state
On Red Hat OpenStack and TripleO
On controller node
Make sure the Trilio dmapi and horizon containers (shown below) are in a running state and no other Trilio container is deployed on controller nodes. If the containers are in restarting state or not listed by the following command then your deployment is not done correctly. Please note that the 'Horizon' container is replaced with the Trilio Horizon container. This container will have the latest OpenStack horizon + Trilio's horizon plugin.
On compute node
Make sure the Trilio datamover container (shown below) is in a running state and no other Trilio container is deployed on compute nodes. If the containers are in restarting state or not listed by the following command then your deployment is not done correctly.
On overcloud
Please check dmapi endpoints on overcloud node.
Last updated
Was this helpful?
