Pipelines/Steps/Install/OnPrem/Sitecore/XP/Scaled/9.0/Install-CollectionSearch.ps1
$ErrorActionPreference = "Stop" $prefix = $SAFConfiguration.prefix $siteName = $SAFConfiguration.xConnect.collectionSearchHostName $hostNames = @($siteName) $license = $SAFConfiguration.license $sqlServer = $SAFConfiguration.sql.serverName $sqlSitecorePassword = $SAFConfiguration.sql.sitecorePassword $installDir = $SAFConfiguration.xConnect.installDir $environment = $SAFConfiguration.xConnect.environment $logLevel = $SAFConfiguration.xConnect.logLevel $solrURL = $SAFSolrServiceURL $package = Get-ChildItem -Path "$SAFInstallPackageDir\*" -Include *collectionsearch.scwdp.zip* $sifConfiguration = GetSIFConfiguration -Name "xconnect-xp1-collectionsearch.json" -ContextPath "$PSScriptRoot" $clientCert = BuildSitecoreClientCertName -Prefix $prefix $serverCert = BuildSitecoreServerCertName -Prefix $prefix Write-Output "Install xConnect Collection Search started..." $sitecoreParams = @{ Path = $sifConfiguration Package = $package.FullName LicenseFile = $license Sitename = $siteName XConnectCert = $clientCert SSLCert = $serverCert SqlDbPrefix = $prefix SolrCorePrefix = $prefix SqlCollectionUser = "$($prefix)_collectionuser" SqlCollectionPassword = $sqlSitecorePassword SqlProcessingPoolsUser = "$($prefix)_processingpoolsuser" SqlProcessingPoolsPassword = $sqlSitecorePassword SqlMarketingAutomationUser = "$($prefix)_marketingautomationuser" SqlMarketingAutomationPassword = $sqlSitecorePassword SqlMessagingUser = "$($prefix)_messaginguser" SqlMessagingPassword = $sqlSitecorePassword SqlServer = $sqlServer SolrUrl = $solrURL XConnectEnvironment = $environment XConnectLogLevel = $logLevel InstallDirectory = $installDir } Install-SitecoreConfiguration @sitecoreParams AddWebBindings -SiteName $siteName -HostNames $hostNames AddWebBindings -SiteName $siteName -HostNames $hostNames -SSLCert $serverCert Write-Output "Install xConnect Collection Search done." |