Created
May 24, 2018 13:42
-
-
Save netojoa/5bfab9828582bdca56a36b70577ea862 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define parameters | |
$prefix = "sandboxsc9" | |
$PSScriptRoot = "X:\Sitecore\SIF\Sitecore 9.0.1 rev. 171219" | |
$XConnectCollectionService = "$prefix.xconnect" | |
$sitecoreSiteName = "$prefix.local" | |
$SolrUrl = "https://solr:8989/solr" | |
$SolrRoot = "X:\Solr\solr-6.6.2" | |
$SolrService = "solr-6.6.2" | |
$SqlServer = ".\SQLEXPRESS" | |
$SqlAdminUser = "sa" | |
$SqlAdminPassword="admin@jan_87" | |
#install client certificate for xconnect | |
$certParams = @{ | |
Path = "$PSScriptRoot\xconnect-createcert.json" | |
CertificateName = "$prefix.xconnect_client" | |
} | |
Install-SitecoreConfiguration @certParams -Verbose | |
#install solr cores for xdb | |
$solrParams = @{ | |
Path = "$PSScriptRoot\xconnect-solr.json" | |
SolrUrl = $SolrUrl | |
SolrRoot = $SolrRoot | |
SolrService = $SolrService | |
CorePrefix = $prefix | |
} | |
Install-SitecoreConfiguration @solrParams | |
#deploy xconnect instance | |
$xconnectParams = @{ | |
Path = "$PSScriptRoot\xconnect-xp0.json" | |
Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip" | |
LicenseFile = "$PSScriptRoot\license.xml" | |
Sitename = $XConnectCollectionService | |
XConnectCert = $certParams.CertificateName | |
SqlDbPrefix = $prefix | |
SqlServer = $SqlServer | |
SqlAdminUser = $SqlAdminUser | |
SqlAdminPassword = $SqlAdminPassword | |
SolrCorePrefix = $prefix | |
SolrURL = $SolrUrl | |
SqlCollectionUser = $prefix + "_collectionuser" | |
SqlProcessingPoolsUser = $prefix + "_poolsuser" | |
SqlReferenceDataUser = $prefix + "_referencedatauser" | |
SqlMarketingAutomationUser = $prefix + "_marketingautomationuser" | |
SqlMessagingUser = $prefix + "_messaginguser" | |
} | |
Install-SitecoreConfiguration @xconnectParams | |
#install solr cores for sitecore | |
$solrParams = @{ | |
Path = "$PSScriptRoot\sitecore-solr.json" | |
SolrUrl = $SolrUrl | |
SolrRoot = $SolrRoot | |
SolrService = $SolrService | |
CorePrefix = $prefix | |
} | |
Install-SitecoreConfiguration @solrParams | |
#install sitecore instance | |
$xconnectHostName = "$prefix.xconnect" | |
$sitecoreParams = @{ | |
Path = "$PSScriptRoot\sitecore-XP0.json" | |
Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip" | |
LicenseFile = "$PSScriptRoot\license.xml" | |
SqlDbPrefix = $prefix | |
SqlServer = $SqlServer | |
SqlAdminUser = $SqlAdminUser | |
SqlAdminPassword = $SqlAdminPassword | |
SolrCorePrefix = $prefix | |
SolrUrl = $SolrUrl | |
XConnectCert = $certParams.CertificateName | |
Sitename = $sitecoreSiteName | |
XConnectCollectionService = "https://$XConnectCollectionService" | |
SqlCoreUser = $prefix + "_coreuser" | |
SqlMasterUser = $prefix + "_masteruser" | |
SqlWebUser = $prefix + "_webuser" | |
SqlReportingUser = $prefix + "_reportinguser" | |
SqlProcessingPoolsUser = $prefix + "_poolsuser" | |
SqlProcessingTasksUser = $prefix + "_tasksuser" | |
SqlReferenceDataUser = $prefix + "_referencedatauser" | |
SqlMarketingAutomationUser = $prefix + "_marketingautomationuser" | |
SqlFormsUser = $prefix + "_formsuser" | |
SqlExmMasterUser = $prefix + "_exmmasteruser" | |
SqlMessagingUser = $prefix + "_messaginguser" | |
} | |
Install-SitecoreConfiguration @sitecoreParams |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment