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.

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

  4. Select the appropriate datastore and click Next.

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

    1. VM Network – Application network

    2. VM Demo Lab 2 Internal – Private Swarm Storage network

  6. Verify settings before finalizing. If it looks correct, deploy SwarmTelemetry to ESXi.

  7. Power on SwarmTelemetry VM.

  8. 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

  9. SSH/Putty to SwarmTelemetry using;

    1. Username - root

    2. Password - datacore

  10. Modify Prometheus configure file by;

    1. Adding gateways job ( Note: we recommend using DNS names so that 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

...