Add the Metrics Service

Content Platform for Cloud Scale Administration Guide

Version
2.6.x
File Size
1945 KB
Audience
anonymous
Part Number
MK-HCPCS008-10
  1. Create a new pool.

    Services > Pools:

    1. Pool Name: HCPCS Metrics Services
    2. Pool Type: Static
    3. Nodes: ip_address:9191, …, ip_address:9191
    4. Monitor: Ping
    5. Click Create Pool. Your new pool appears under the Pools tab.
  2. Configure the new pool.
    1. Services > Pools > HCPCS Metrics Services > Load Balancing > Algorithm: Least Connections
    2. Click Update.
    3. Services > Pools > HCPCS Metrics Services > SSL Settings > ssl_encrypt: Yes
    4. Click Update.
  3. Create a virtual server.
    1. Services > Virtual Servers > Create a new Virtual Server:
      • Virtual Server Name: HCPCS Metrics Services
      • Protocol: HTTP
      • Port: 8000
      • Default Traffic Pool: HCPCS Metrics Services
        Note: This value will only appear if a new pool has been created.
    2. Click Create Virtual Server. Your new virtual server appears under the Virtual Servers tab.
  4. Configure the virtual server.
    1. Services > Virtual Servers > HCPCS Metrics Services > Basic Settings:
      • Enabled: Yes
      • Listening on: Traffic IP Groups
      • Traffic IP Group: Client Network
        Note: This value will only appear if a traffic IP group has been created.
    2. Click Update.
    3. Services > Virtual Servers > HCPCS Metrics Services > Protocol Settings > HTTP-Specific Settings:
      • add_cluster_ip: No
      • dd_x_forwarded_for: Yes
    4. Click Update.
    5. Services > Virtual Servers > HCPCS Metrics Services > SSL Decryption:
      • ssl_decrypt: Yes
      • certificate > Default Certificate: hcpcs
        Note: This value will only appear if a self-signed certificate has been created. See Add the HCP-CS Management Services.
    6. Click Update.
    7. Click the Home tab and verify that the HCPCS Metrics Services pool you've created is running and has a green status. If it's not running, click the play icon to start the service.
  5. Create a new monitor.
    1. Catalogs > Monitors > Create new monitors:
      • Name: Monitor for HCPCS Metrics Services
      • type: HTTP Monitor
      • scope: Node
    2. Click Create Monitor.
  6. Configure the new monitor.
    1. Catalogs > Monitors > Monitor for HCPCS Metrics Services:
      • Basic Settings > back_off: No
      • Additional Settings > use_ssl: Yes
      • Additional Settings > status_regex: 200
    2. Click Update.
  7. Add the new monitor.
    1. Services > Pools > HCPCS Metrics Services > Health Monitoring > Monitors:
      • Add monitor: Monitor for HCPCS Metrics Services
      • Ping: Remove
    2. Click Update.
    3. Navigate to Services > Pools > HCPCS Metrics Services and verify that all listed nodes match the added service. To add missing nodes, enter them into the Add Node(s) field and then click Update. To delete incorrect nodes, click the Delete box next to their names and then click Update.