...
Login to VMware ESXi and click Create/Register VM.
Select Deploy a virtual machine from an OVF or OVA file and click Next.
Drag and drop swarmTelemetry-v12.1.0-x86_64.ova and click Next.
Select the appropriate datastore and click Next.
Select an appropriate network from ESXi, then click Next button.
VM Network – Application network
VM Demo Lab 2 Internal – Swarm Storage network
Verify settings before finalizing. If it looks correct, deploy SwarmTelemetry to ESXi.
Power on SwarmTelemetry VM.
Update IP addresses from ESXi Console to enable SwarmTelemetry. It will access Gateway and Swarm storage nodes to load metrics and to reboot SwarmTelemetry.
ens33 – 172.16.33.15/24
ens160 – 192.168.9.15/24
SSH/Putty to SwarmTelemetry using;
Username - root
Password - datacore
Modify Prometheus configure file by;
Adding gateways job (
Note: we recommend using It is recommended to use DNS names so that IP addresses are not exposed on the dashboards ).Adding Swarm Nodes job
Code Block language yaml vi /etc/prometheus/prometheus.yml # Add Gateways - job_name: 'gw77-01' static_configs: - targets: ['172.16.33.16:9100'] relabel_configs: - source_labels: [__address__] regex: "([^:]+):\\d+" target_label: instance - job_name: 'gw77-02' static_configs: - targets: ['172.16.33.17:9100'] relabel_configs: - source_labels: [__address__] regex: "([^:]+):\\d+" target_label: instance - job_name: 'swarm' scrape_interval: 30s static_configs: - targets: ['192.168.9.143:9100','192.168.9.144:9100','192.168.9.145:9100'] relabel_configs: - source_labels: [__address__] regex: "([^:]+):\\d+" target_label: instance
Restart Prometheus server using
systemctl restart prometheus
command.Browse http://172.16.33.15:9090/targets URL.
Login to SwarmTelemetry Grafana using default credentials;
Username - admin
Password - datacore