The files are listed below:
FileName | Purpose |
MinionProfile.ps1 | Sets the initial path for the scripts to run. |
ServerConn.ps1 | Sets variables for dates, culture, and more. |
SQLConn.ps1 | Declares SQL connection functions. |
UserConfig.ps1 | Sets user configurable variables used to customize your environment. See below for details. |
*Of the above files, only the UserConfig is to be altered by end users.
Here's a list of the parameters that are user configurable in this file, and what they mean.
Variable | Purpose |
$Server | Variable that holds the name of the Minion repository instance. If installed on a local standalone instance, this can be 'localhost'. If this is a clustered instance, you need to put in the SQL cluster name. Basically, put in whatever connection string you'd use in SSMS to connect to the Minion instance. |
$StatsDB | Variable that holds the name of the Minion repository database. Currently this can't be changed. However, we made this a variable so that it can be changed in the future if we decide to allow you to change the Minion database name. |
$StatsDBUser | Variable that holds the username used to connect to Minion. By default this will be 'SSPI', which means that the scripts will connect using the Agent account, or the account the collector jobs are running under. |
$StatsDBPword | Variable that holds the password for the above username. This doesn't need to be set unless you change the above username. |
$CommonScriptPath | Variable that holds the path where the collector scripts are held. Currently users shouldn't change this. |
$DBScriptBasePath | Variable that holds the location where the schema and jobs are scripted to files. |
$BulkCopy.BulkCopyTimeout | While technically a property, this defines how long the collector scripts will allow a bulk copy to run before timing out. The default is 500 and is defined in seconds. There usually shouldn't be a reason to change this. |
$Zone | Variable that holds the collection zone for the current collection server. For more information on collections zones, click here. The default is zero and should be left unchanged unless you're actually defining different collection zones. If you have the wrong collection zone defined, the collectors will not run. *The value for this variable should match the value in dbo.Servers.CollectionZone. If not, the collectors will not run. |