Finding Machines Eligible For MaxDeletedHosts
The attached script (MaxDeletedHostsPruneScope.sql) can be used to determine the number of hosts that meet current and proposed criteria for MaxDeletedHosts. Additionally, it will include which machines would be pruned under a proposed change.
- Run SQL Server Management Studio as the Carbon Black Service Account.
- Paste the contents of the SQL Script into a new query.
- Edit line 6 accordingly, example:
DECLARE @ProposedMax INT = 1000;
- Execute the script and review the results.
Configuring MaxDeletedHosts
- Log in to the Console and navigate to https://<ServerAddress>/shepherd_config.php
- Locate the Property MaxDeletedHosts
- Change the Value accordingly (ex: 1000) and save.
- Changes will apply during the next nightly maintenance.