Open njpaul opened 4 years ago
Agree that this is a huge issue with the unattended stuff. That said, we were able to peel apart the property names used in one of the DLLs and get "ExistingSearchServiceUrl" as the correct parameter to use for when you have elasticsearch running on a separate server. Here is the relevant (redacted) block from our INI file:
; Configure Search in Azure DevOps deployment. ConfigureSearch=True ExistingSearchServiceUrl= ElasticsearchUser= ElasticsearchPassword= ; To enable code search on all collections (does not impact wiki or WI search) EnableSearchOnAllCollections=True
I've finally had occasion to revisit this. Thanks @LairdWilliams for the info about looking into the DLLs to try to unravel the config options. I found a "SearchIndexFolder" backing field in Microsoft.TeamFoundation.Admin.dll. Sounds like what I want, but I get the error "Input SearchIndexFolder is not a valid input name."
I think I'll give AutoIt a try. If that doesn't work out, I guess I'll fall back to documenting configuration using our change control software instead of version control, in which case I believe I can use the "clone" option of "TfsConfig unattend" to copy configuration changes around.
Today I discovered that the search index location setting name in the unattend file is "IndexLocation".
We are trying to automate the installation of Azure DevOps Server 2019. Not all of the configuration options in the unattend INI file are documented, nor are they all generated with /create. Unlike SQL Server, the INI file does not appear to be generated as part of the installation process.
For instance, trying to configure the search and the first error I get is about the undocumented
ElasticsearchUser
andElasticsearchPassword
options not being set. It's was simple enough to add them, but then I encounter another error regarding the location of the search index. I cannot find the name of the option for configuring that location. Same with the checkbox for accepting the Azul Zulu terms of service for installing Java - although in production Java will be installed separately.Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.