Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Login to VMware ESXi and click Create/Register VM.

  2. Select Deploy a virtual machine from an OVF or OVA file and click Next.

    Image RemovedImage Added
  3. Drag and drop swarmTelemetry-v12.1.0-x86_64.ova and click Next.

    Image RemovedImage Added
  4. Select the appropriate datastore and click Next.

    Image RemovedImage Added
  5. Select an appropriate network from ESXi, then click Next button.

    1. VM Network – Application network

    2. VM Demo Lab 2 Internal – Swarm Storage network

      Image RemovedImage Added
  6. Verify settings before finalizing. Deploy SwarmTelemetry to ESXi if correct.

    Image RemovedImage Added
  7. Power on SwarmTelemetry VM.

  8. Update IP addresses from ESXi Console to enable SwarmTelemetry which accesses Gateway and Swarm storage nodes to load metrics and reboots SwarmTelemetry. 

    • ens33 – 172.16.33.15/24

    • ens160 – 192.168.9.15/24

  9. SSH/Putty to SwarmTelemetry using;

    1. Username - root

    2. Password - datacore

  10. Modify Prometheus configure file by;

    1. Adding gateways job
      Note: It is recommended to use DNS names so IP addresses are not exposed on the dashboards.

    2. Adding Swarm Nodes job

      Code Block
      languageyaml
      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

  11. Restart Prometheus server using systemctl restart prometheus command.

  12. Browse http://172.16.33.15:9090/targets URL.

    Image RemovedImage Added
  13. Login to SwarmTelemetry Grafana using default credentials;

    1. Username - admin

    2. Password - datacore

      Image RemovedImage Added