StifleR
2.10
2.10
  • Start Here - StifleR 2.10
  • Introduction
    • StifleR Overview
      • The StifleR Solution
      • Managing Microsoft Data Transfer Services
    • Technical Overview
      • 2Pint BranchCache Administrator Guide
    • Features Overview
      • Control
      • Monitor
      • Automate
      • Other Features
      • StifleR Feature Details
    • Release Notes
  • Proof of Concept
    • Objectives and Prerequisites
    • Configure Microsoft Peer-to-Peer Components
    • Install and Configure StifleR
    • Testing and Validation
    • StifleR POC Quick Checklist
  • Planning
    • StifleR Server Considerations
    • StifleR Client Considerations
    • Firewall Ports
    • Permissions
    • Antivirus Exclusions
    • Network Topology
    • StifleR Generic Concepts
      • Client Leader Roles
        • Red Leader
        • Blue Leader
        • Green Leader
        • Examples of Leader Selection
      • Templates
      • Beacons
  • Installation
    • Overview
    • Server
      • StifleR Server Installation
      • StifleR Dashboard Installation
      • StifleR Beacon Installation
    • Client
      • StifleR Client Installation
      • Post Installation Checks
  • Configuration
    • Configuration Files
      • StifleR Server Configuration File
        • Using the AppSettings Override File
      • StifleR Client Configuration File
      • StifleR Dashboard Configuration File
    • Configuring BranchCache on Windows Server
    • Configuring Delivery Optimization
    • Configuring LEDBAT on CM DPs
    • Configuring a Beacon Server
    • Configuring StifleR SQL History
    • StifleR Network Locations
      • Automatic linking of Location, Network Groups and Networks
      • Network Topology Automation
      • Location Fields
        • Network Group Fields
          • Network Fields
    • StifleRulez.xml Configuration Guide
      • The Match – TypeData
        • When the Job Title Isn’t Suitable
        • ConfigMgr Specific Rules
      • The Setting - DownloadTypes
        • Delivery Optimization Jobs
      • Sample StifleRulez.xml
    • Securing StifleR Operations with SSL
      • Prerequisites
      • Using a Web Server Certificate
        • Requesting a Web Server Certificate
      • Using a Self-Signed Certificate
      • Preparing the StifleR Dashboard Web Site for SSL
      • Configuring StifleR to Use SSL
      • Finding the Certificate Thumbprint
    • StifleR Client Access Control Options
  • Operations
    • Dashboard
      • Overview & Navigation
        • Home Page
        • Traffic & Downloads
          • Transfers & Downloads
            • How to use query hosts search?
          • Running Sequences
          • Weekly Downloads Activity
          • History
        • Devices
          • Clients
            • Client Details
              • How to use an extended search?
          • Servers
          • StifleR Server
            • Templates Detail
        • Cache Management
        • System Resource Usage
        • Network Topology
          • Maps
          • Countries
          • Locations
            • Bandwidth Allocations and Locations
          • Network Groups
          • Networks
        • Reporting & Diagrams
    • Client Management & Remote Tools
      • Remote PowerShell Session
      • Remote Performance Counter
      • Remote WMI Browsing
      • Remote Event Log Viewer
      • Remote Netmon Session
    • Monitoring
      • StifleR server health
      • StifleR client health
      • BranchCache Testing and Monitoring
    • Maintenance tasks
    • Bandwidth Management and Allocation
      • Bandwidth Tuning Monitoring and Control
    • Backup and Recovery
      • Moving the StifleR Server Databases to a New Drive on the Same Server
    • Troubleshooting
      • StifleR Client Command Line Options
      • BranchCache across Subnets
    • StifleR WMI Provider
Powered by GitBook
On this page
  1. Planning
  2. StifleR Generic Concepts

Beacons

Beacons are not to be confused with bacon.

PreviousTemplatesNextOverview

Last updated 1 year ago

The 2Pint Software StifleR Beacon service can run on any Windows OS (talk to us if you want to run it on Linux). It acts as the end point to which the StifleR Client Red Leaders send test packets. This allows the Red Leaders to accurately measure the maximum bandwidth available between the a Subnet/Location and the content source. Typically, you will install this component on a server in a location where clients obtain the bulk of their content. If using Configuration Manager, this would be a Distribution Point. If content is mostly downloaded from the Internet, and the Internet breakout is in a major datacenter, the Beacon server can be installed on any server in the same location. The StifleR Beacon Service may be installed on the StifleR Server if desired.

Beacon Service Logic

  1. Service polls list of Beacon locations every 2 minutes, if MaxBW is configured on the server.

    1. NOTE: Server setting is different to the Location flag!!!

    2. Internal clock to bypass location poll unless 6 hours passed has a logical issue, so we poll every 2 minutes.

  2. For each location we iterate over:

    1. If set to WellConnected, we bypass and don't check it.

    2. If server throttling and location throttling is enabled, we check the following in the order of;

      • “Not enough time has passed for a retest of the maximum bandwidth for {0}” where {0} is replaced with location GUID.

      • If LastBandwidthMeasurement time is set to nothing, we flag to measure.

      • If LastBandwidthMeasurement time is less than current time - 518400 seconds AND the Red Leader latency is equal or lower than the default latency we flag to measure.

      • If LastBandwidthMeasurement time is less than current time – 518400 * 2 we flag to measure.

      • If none of the above is true, we log the following super debug entry:

    3. If we are set to measure from the flag, we then add the location ID to the list of measurements to do.

  3. For each measure flagged:

    1. If the location is linked to a parent, we do nothing.

      1. Likely cause to issue, as we check with “HasValue” which might return true for a Guid.Empty value.

    2. If the location has no beacon address, we do nothing.

    3. If the location does not have the correct flag (16 dec) we do nothing.

    4. We try to get the Red Leader for the location.

      1. We add the Red Leader to the list of ActiveMeasurement.

      2. GetBeaconIpDestination function on the client using SignalR. The following entry on the client is logged: Log.WriteDebug("iPERF", "DNS", "First DNS entry for iPerf beacon target {0} resolves to {1}", target, usedAddress).

      3. If the usedAddress is “N/A” that indicates an issue, and the client will not send up the right info but just exits.

      4. Client calls server function VerifyBeaconHostNotBusy.

      5. This adds the entry to the dnsToIps list which is required below.

  4. Wait 5 seconds.

  5. For each Active Measurement

    1. Get the valid entry for connection ID from “DNStoIP” list.

    2. Check to make sure we don't have a running test against that by checking busyTest list, ip being listed indicates test in action.

    3. If not in list, we add it to the list.

    4. We check the location beacon port and sends the resolved IP + port to the client.

  6. Client calls the iPerf executable:

    1. If return code is 0, the following log entry is written; Log.WriteInfoE("iPERF", "Measure", "The speed to {0} is measured to a speed of:{1} bps ({2}) kilobits/s", 3267, ipEntry, bits_per_second, bandwidth).

    2. In case of a non 0 return code, the following entry is written: Log.WriteError("iPERF", "Component","Failed to measure, please review the iperf log").

  7. Client returns the estimate to the server with the regular check-in intervals, which can take up to 15mins.

    1. After sending the updated speed, the value is replaced with “N/A” indicating that it has already been sent.

StifleR Beacon Installation