The Swarm Telemetry OVF for VMware ESXi is included in the latest Swarm VMware bundle packageBundle Packages. To set up time synchronization for CentOS 7, see here.
...
Log in to VMware ESXi and click Create/Register VM.
Select Deploy a virtual machine from an OVF or OVA file and click Next.
Upload the version-specific OVF file and click Next.
To determine which VMDK files to be used when deploying the Telemetry OVF, refer to the latest Swarm VMware Bundle PackagePackages.Select the appropriate datastore and click Next.
Select an appropriate network from ESXi, then click Next.
VM Network – Application network
VM Demo Lab 2 Internal – Swarm Storage network
Verify settings before finalizing. Deploy SwarmTelemetry to ESXi if correct.
Power on SwarmTelemetry VM.
Update IP addresses from ESXi Console to enable SwarmTelemetry which accesses Gateway and Swarm storage nodes to load metrics and reboots SwarmTelemetry.
ens33 – <swarm-application-network-ip>/24
ens160 – <swarm-private-network-ip>/24
SSH/Putty to SwarmTelemetry using;
Username - root
Password - datacore
Modify Prometheus configure file by;
Add a Content Gateway job
Note: It is recommended to use DNS names so IP addresses are not exposed on the dashboards.Add a Swarm Nodes job
Code Block language yaml vi /etc/prometheus/prometheus.yml # Add Gateways - job_name: 'swarmcontentgateway' static_configs: - targets: ['<gateway1-ip>:9100','<gateway2-ip>:9100'] relabel_configs: - source_labels: [__address__] regex: "([^:]+):\\d+" target_label: instance - job_name: 'swarm' scrape_interval: 30s static_configs: - targets: ['<swarmnode1-ip>:9100','<swarmnode2-ip>:9100','<swarmnode3-ip>:9100'] relabel_configs: - source_labels: [__address__] regex: "([^:]+):\\d+" target_label: instance
Restart Prometheus server using
systemctl restart prometheus
command.Browse http://<telemetry-ip>:9090/targets URL.
Log in to SwarmTelemetry Grafana (http://<ip address-Telemetry server>:80/) using default credentials;
Username - admin
Password - datacore
...