Versions Compared

Key

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

For on-prem sites, customers may wish to parallel processing process using multiple proxies. For example, my :

An organization has six major data centers.

...


Each data center

...

has dozens of servers.

...


A frequent  scan of all server EventLogs is required to monitor for errors and warnings.

By deploying a proxy to each location, I can parallel process. parallel processing can be performed.

This results in a new challenge: I want this to be challenge when using a single script so that the data is merged together to have all data merged into a single view, but I somehow need to tell :

How can each proxy know for which servers it's responsible

...

? 

This article describes an approach to solve this problem.

Instructions

This is just one example but could be modified for many needsThese instructions provide general guidance and should be modified to address specific organizational needs.

Prerequisite: Each server will belong to an OU that indicates the data center in which it is located.

  1. Create a script that collects called "ServerOUs" that, for all servers from in Active Directory and shows the OU for the server. Each of the data centers will likely be organized into OU's.
    This is establishing the input for the proxiesinstall , collects:
    1. The server name; and,
    2. Its respective data center OU.
  2. Install a proxy in each data center and create .
  3. Create a corresponding ConnectID In each ConnectID, create for each proxy and for each ConnectId
    1. Create a variable called
    OU, paste a list of OU's
    1. DataCenterOU
    2. For the DataCenterOU value, list the OUs, comma separated, for which this proxy will be responsible
    for with comma separation
  4. Create a script to query the evenlogsEventLogs that:
    1. Use Uses the data query feature to query the data from your AD script, retrieving a list of serversIdeally the "ServerOUs" script
      1. restrict the query to only the servers in the target OUs listed in the ConnectId variable "ServerOUs"
      2. This will retrieve the target OUlist of servers
    2. Loop through the target list of servers collecting data from eachand for each
      1. Collect the needed EventLog data
      2. Consider using PowerShell parallel processing
  5. Data should will be returned and merged automatically by Cloudbridge

...

Page Properties
hiddentrue


Related issues