142 lines
6.2 KiB
PowerShell
142 lines
6.2 KiB
PowerShell
@{
|
|
Parameters = @{
|
|
DatabasePrefix = @{
|
|
Type = 'string'
|
|
Value = 'SharePoint'
|
|
DefaultValue = 'SP'
|
|
Metadata = @{
|
|
Description = 'Prefix für alle Datenbanknamen'
|
|
}
|
|
}
|
|
ServiceDatabasePrefix = @{
|
|
Type = 'string'
|
|
DefaultValue = 'Services'
|
|
}
|
|
ContentDatabasePrefix = @{
|
|
Type = 'string'
|
|
DefaultValue = 'Content'
|
|
}
|
|
ServiceApplicationPoolDefault = @{
|
|
Type = 'string'
|
|
DefaultValue = 'SharePoint Service Applications'
|
|
}
|
|
ServiceApplicationPoolUserProfileService = @{
|
|
Type = 'string'
|
|
DefaultValue = 'SharePoint User Profile Services'
|
|
}
|
|
DatbaseInstanceName = @{
|
|
Type = 'string'
|
|
DefaultValue = 'mssqlserver'
|
|
Metadata = @{
|
|
Description = 'Instanz Name für die Standart Instanz'
|
|
}
|
|
}
|
|
}
|
|
Variables = @{
|
|
ServiceDbPrefix = "[Concat(Parameter('DatabasePrefix'),'_',Parameter('ServiceDatabasePrefix'),'_')]"
|
|
ContentDbPrefix = "[Concat(Parameter('DatabasePrefix'),'_',Parameter('ServiceDatabasePrefix'),'_')]"
|
|
ConfigDbName = "[Concat(Parameter('DatabasePrefix'),'_','Farm_Config')]"
|
|
AdminDbName = "[Concat(Parameter('DatabasePrefix'),'_','Farm_AdminContent')]"
|
|
HZDTest = "[Substring(Parameter('DatbaseInstanceName'),0,5)]"
|
|
Test = "[ToUpper(Parameter('DatbaseInstanceName'),0,5)]"
|
|
}
|
|
Resources = @{
|
|
NonNodeData = @{
|
|
Services = @{
|
|
SharePoint = @{
|
|
General = @{
|
|
ProductKey = '0000-0000-0000-0000-0000'
|
|
}
|
|
Windows = @{
|
|
Registry = @{
|
|
DisableLoopbackCheck = @{
|
|
Path = 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa'
|
|
Name = 'DisableLoopbackCheck'
|
|
Type = 'DWord'
|
|
Value = 1
|
|
}
|
|
}
|
|
}
|
|
Database = @{
|
|
SQLAlias = @{
|
|
SQLServer = @{
|
|
ServerName = ''
|
|
InstanceName = ''
|
|
TcpPort = 0
|
|
}
|
|
}
|
|
}
|
|
Farm = @{
|
|
Passphrase = 'Use-SecureString-Or-KeyVault'
|
|
ConfigDatabaseName = "[Variable('ConfigDbName')]"
|
|
AdminContentDatabase = "[Variable('AdminDbName')]"
|
|
CentralAdminPort = 2016
|
|
CentralAdminAuth = 'NTLM' # oder Kerberos
|
|
ServiceApplicationPools = @{
|
|
Default = @{
|
|
Name = "[Parameter('ServiceApplicationPoolDefault')]"
|
|
Account = 'CONTOSO\sp_services'
|
|
}
|
|
|
|
UserProfile = @{
|
|
Name = "[Parameter('ServiceApplicationPoolUserProfileService')]"
|
|
Account = 'CONTOSO\sp_ups'
|
|
}
|
|
}
|
|
ServiceApplications = @{
|
|
ManagedMetadataService = @{
|
|
Provision = $true
|
|
Name = 'Managed Metadata Service'
|
|
ApplicationPool = 'SharePoint Service Applications'
|
|
DatabaseName = "[Concat(Variable('ServiceDbPrefix'), 'ManagedMetadata')]"
|
|
}
|
|
|
|
UserProfileService = @{
|
|
Provision = $true
|
|
Name = 'User Profile Service'
|
|
ApplicationPool = 'SharePoint User Profile Services'
|
|
ProfileDBName = "[Concat(Variable('ServiceDbPrefix'), 'UserProfile_ProfileDB')]"
|
|
SocialDBName = "[Concat(Variable('ServiceDbPrefix'), 'UserProfile_SocialDB')]"
|
|
SyncDBName = "[Concat(Variable('ServiceDbPrefix'), 'UserProfile_SyncDB')]"
|
|
}
|
|
|
|
SearchService = @{
|
|
Provision = $true
|
|
Name = 'Search Service Application'
|
|
ApplicationPool = 'SharePoint Service Applications'
|
|
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'Search')]"
|
|
}
|
|
|
|
StateService = @{
|
|
Provision = $true
|
|
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'StateService')]"
|
|
}
|
|
|
|
UsageAndHealthService = @{
|
|
Provision = $true
|
|
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'UsageAndHealth')]"
|
|
}
|
|
|
|
AppManagementService = @{
|
|
Provision = $true
|
|
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'AppManagement')]"
|
|
}
|
|
|
|
SubscriptionSettingsService = @{
|
|
Provision = $true
|
|
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'SubscriptionSettings')]"
|
|
}
|
|
|
|
SecureStoreService = @{
|
|
Provision = $true
|
|
Name = 'Secure Store Service'
|
|
ApplicationPool = 'SharePoint Service Applications'
|
|
DatabaseName = "[Concat(Variable('ServiceDbPrefix'),'SecureStore')]"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |