13 KiB
Installation Testumgebung
Mittwoch, 16. Januar 2019
08:20
Vorbereitungen
DB | Mindestens SQL Server 2012, Leere Datenbank, Wizdom Service Account muss DBOwner sein -> name: "SPT_Wizdom" Alias muss erstellt werden. |
---|---|
Service Account | 2 x Active Directory Service Account für Wizdom (IIS APP Pool und für den Zugriff auf die SP Suche) svc-sptWizdomSearch |
Zertifikat | Zertifikat für Wizdom IIS Web Applikation z.B. wizdom.domäne.com Zertifikatname "wizdom-spt.bkk-mobiloil.de" /Server Authentication |
DNS Eintrag | Eintrag für IIS Web Applikation z.B. wizdom.domäne.com Name "wizdom-spt" PHA 10.96.73.110 |
Installation mit HansVision:
Auf dem Wizdom Server:
-
Wizdom Packet entpackt (6.33.0.7 -- 2016).
-
Folgende Dateien wurden zusätzlich in das Verzeichnis kopiert:
-
DeployWizdom.ps1
-
DeployWizdomConfiguration-SPT.xml
-
Die PFX Datei mit dem Zertifikat und privatem Schlüssel für wizdom-spt.bkk-mobiloil.de
-
Die XML Datei DeployWizdomConfiguration-SPT.xml wurde entsprechend der Umgebung ergänzt.
-
Das PowerShell Skript wurde mit folgenden Parametern ausgeführt:
-
<!-- -->
-
CD <Pfad zum Wizdom Packet mit den Dateien>
-
DeployWizdom.ps1 -Modus WebAppSetup -- XMLPath <Pfad von DeployWizdomConfiguration-SPT.xml>
Auf dem SharePoint Server:
-
Folgende Dateien wurden in ein Verzeichnis kopiert:
-
DeployWizdom.ps1
-
DeployWizdomConfiguration-SPT.xml
-
WizdomHighTrust.cer aus dem Wizdom Packet Verzeichnis
-
Der Ordner Templates mit der App Vorlage
-
<!-- -->
-
Das PowerShell Skript wurde mit folgenden Parametern ausgeführt (AppSetup):
-
CD <Pfad zum Ordner mit den Dateien>
-
DeployWizdom.ps1 -Modus AppSetup -- XMLPath <Pfad von DeployWizdomConfiguration-SPT.xml>
-
-
Das PowerShell Skript wurde mit folgenden Parametern ausgeführt (SharePointSetup):
-
CD <Pfad zum Ordner mit den Dateien>
-
DeployWizdom.ps1 -Modus SharePointSetup -- XMLPath <Pfad von DeployWizdomConfiguration-SPT.xml>
-
-
Danach wurde die Datei Wizdom.APP in den SharePoint App Store der Web Applikation hochgeladen.
-
Als nächstes in der Websitesammlung über „App hinzufügen" hinzugefügt.
-
Im letzten Step wurde über die Wizdom Admin Oberfläche, Option Installation Wizdom auf der Websitesammlung aktiviert.
-
Log in to [[collection URL>]{.underline}]{.mark}
-
Open the Site Settings
-
In Site Collection Administration, select Site collection features
-
Click Activate on feature SharePoint Server Publishing Infrastructure
-
Go back to Site Settings
-
In Site Actions, select Manage site features
-
Click Activate on feature SharePoint Server Publishing
-
Click Deactivate on feature Mobile Browser View
{width="11.270833333333334in" height="6.833333333333333in"}
Erfasster Bildschirmausschnitt: 16.01.2019 10:16
Dateiname: DeployWizdomConfiguration-SPT.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Application pool name -->
<wizdomAppPoolName>Wizdom-SPT</wizdomAppPoolName> Klar
<!-- .NET CRL Version, do not change it -->
<wizdomAppPoolDotNetVersion>v4.0</wizdomAppPoolDotNetVersion>
<!-- Wizdom service account -->
<wizdomServiceAccount>bkk-mobiloil\svc-sptWizdom</wizdomServiceAccount> Service Account für den AppPool
<!-- Wizdom service account name -->
<wizdomServiceAccountPassword>WdSxD</wizdomServiceAccountPassword> In diesem Beispiel nur gekürzt
<!-- Web application name -->
<wizdomWebAppName>SPT_Wizdom</wizdomWebAppName> Klar
<!-- Host name for SSL binding -->
<wizdomWebAppUrl>wizdom-spt.bkk-mobiloil.de</wizdomWebAppUrl> Klar ist die URL auf dem Wizdom Server
<!-- Filename of the certificate, must be located at the root of the wizdom binaries folder -->
<wizdomWebAppCertName>wizdom.pfx</wizdomWebAppCertName> (Selbsterzeugt, ist immer gültig muss nicht erneuert werden Webzertifikat)
<!-- Password for the PFX file --> Wir nehmen hier eins von unserer CA
<wizdomWebAppCertPassword>pass@word1</wizdomWebAppCertPassword> Klar
<!-- Filename of the license, must be located at the root of the wizdom binaries folder -->
<wizdomLicenseFile>Wizdom365.Contoso.xml</wizdomLicenseFile> So lassen
<!-- Application directory -->
<wizdomDirectoryPath>C:\inetpub\Wizdom</wizdomDirectoryPath> Klar
<!-- Web.config configuration -->
<!-- SQL Server Instanz eg. server\instance -->
<SQLServerInstanz>SQLSHAREPOINTT\SQLSHAREPOINTT</SQLServerInstanz> Klar
<!-- Wizdom database name -->
<SQLServerDatabase>SPT_Wizdom</SQLServerDatabase> Klar
<!-- Local blob root path -->
<LocalBlobPath>C:\inetpub\Wizdom blob</LocalBlobPath> Temporäre Zwischenspeicherung (größe mal klären)
<!-- Url of the Wizdom web app -->
<AppUrl>https://wizdom-spt.bkk-mobiloil.de/</AppUrl> Klar
<!-- Url of the virtual blob path -->
<BlobUrl>https://wizdom-spt.bkk-mobiloil.de/blob/</BlobUrl> Klar
<!-- Url of the SharePoint Web Application -->
<TenantSiteUrl>https://kerbmobilnet-spt.bkk-mobiloil.de/</TenantSiteUrl> Klar
<!-- AD Domain -->
<AdDomain>Contoso</AdDomain>
<!-- The script generates a self signed certifcate that will not expire, do not change this value -->
<ClientSigningCertificatePath>c:\inetpub\Wizdom\Cert\HighTrustCert.pfx</ClientSigningCertificatePath> Für die Verschlüsselung zwischen den Servern, wird durch DeployWizdom.ps1 erzeugt
<!-- The password for the certificate, this value can be changed -->
<ClientSigningCertificatePassword>fcbewbcweauibcuin@fnwejcn</ClientSigningCertificatePassword> Kann man selber eintragen
<!-- Issuer ID, value can be changed, but must be a valid GUID -->
<IssuerId>dfa35cfa-592d-4753-be3d-d9a3df3260c2</IssuerId> Klären
<!-- ClientId from -->
<ClientId>48226d8e-d6a8-4311-8931-f82247bdfedb</ClientId> Klären
<!-- ClientSecret from -->
<ClientSecret>LQkIV96kY3CwHZ4Kks+I/2hkrZa9Rde5v/J3emRs+o0=</ClientSecret>
</WizdomWebConfig>
</WizdomWebApplication>
</WizdomServerConfiguration>
</Configuration>
Logging einschalten :
<add key="IOC:Wizdom365.BLL.Managers.IRequestLogger, Wizdom365.BLL" value="Wizdom365.BLL.Managers.NLogLogger, Wizdom365.BLL"/>
<add key="GlobalLogLevel" Value="Off" />
- Eingabe Lizenz PIN:
Damit dies möglich ist müssen Sie folgende Elemente zu der web.config hinzufügen (unter dem Element <appSettings>):
<add key="EnableWizdomLicensePortal" value="true" />
<add key="clientSideFeatureToggle:EnableWizdomLicensePortal" value="true"/>
Nachdem dies hinzugefügt wurde, müsste Sie einen Feld für die Eingabe des PIN auf der Administrative Seite von Wizdom unter Lizenz vorfinden.
- Konfiguration Such Account in Wizdom für SharePoint: ERLEDIGT !!!!!!
Hier müssen folgende Elemente mit einem Service Account (AD) befüllt werden. Dieser sollte per Policy „Full Read" auf der Web Applikation in SharePoint haben. Alternativ nur Leserechte auf der jeweiligen Websitesammlung:
<add key="SearchUsername" value="" />
<add key="SearchPassword" value="" />
- Loopback Check ./. Wizdom ERLEDIGT !!
Wizdom führt gelegentlich HTTP Requests gegen sich selbst aus was ohne das deaktivieren vom Loopback Check unter Windows nicht möglich ist. Daher würde ich Sie bitte dieses PowerShell Kommando auf dem Wizdom Server auszuführen:
New-ItemProperty HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0 -Name "BackConnectionHostNames" -value "wizdom-spt.bkk-mobiloil.de" -PropertyType multivalue
- Anpassen des SharePoint Search Schema für Wizdom. ERLEDIGT !!
Hierzu bitte die XML wie folgt auf der SharePoint Websitesammlung die Wizdom nutzt hochladen.
a. Öffnen Sie die Einstellungen der Websitesammlung
b. In der Such-Sektion auf „Configuration Import" klicken
c. Die XML hochladen.
Invoke-WebRequest -Uri "http://wizdomdocumentation.azurewebsites.net/api/wizdom/documentation/version/?major=6&minor=33&build=0&revision=7&company=&key=" -Method PUT
SQL- Alias nachtragen
In der web.config muss die Source in den Alias umgewandelt werden.
web.config
<connectionStrings>
<add name="Wizdom365BusinessAppEntities" connectionString="metadata=res://*/BusinessAppDataModel.csdl|res://*/BusinessAppDataModel.ssdl|res://*/BusinessAppDataModel.msl;provider=System.Data.SqlClient;provider connection string="data source=[SQLSHAREPOINTT\SQLSHAREPOINTT]{.mark};initial catalog=SPT_Wizdom;integrated security=True;multipleactiveresultsets=True;application name=EntityFramework"" providerName="System.Data.EntityClient" />
<add name="WizdomContainer" connectionString="metadata=res://*/DAL.WizdomModel.csdl|res://*/DAL.WizdomModel.ssdl|res://*/DAL.WizdomModel.msl;provider=System.Data.SqlClient;provider connection string="data source=[SQLSHAREPOINTT\SQLSHAREPOINTT]{.mark};initial catalog=SPT_Wizdom;integrated security=True;multipleactiveresultsets=True;application name=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>
DAMIT AKTUELL DER INET ZUGRIFF FUNKTIONIERT MUSSTE DIE WEB.CONFIG ANGEPASST WERDE :
<system.net>
<defaultProxy>
<proxy autoDetect="false" bypassonlocal="true" proxyaddress="http://bkkproxy001.bkk-mobiloil.de:3129" usesystemdefault="false" />
</defaultProxy>
</system.net>
{width="4.4375in" height="3.0208333333333335in"}
Erfasster Bildschirmausschnitt: 21.01.2019 15:10
Mail Herr Amenda vom 21.01.2019:
anbei eine XML aus dem früheren Lizenzaktivierungsverfahren. Könnten Sie die Datei bitte einmal auf der Lizenzseite der Wizdominstallation hochladen und mir dann Feedback geben?
Der Hersteller hat die installierte Version nochmals getestet und das Problem nicht nachvollziehen können. Wizdom selbst hat darum gebeten einmal zu prüfen ob der verwendete Service Account auf folgende URLs zugreifen kann:
Test-Aufrufe:
Invoke-WebRequest -Uri "https://wizdom-libs-one.azureedge.net/" -Method PUT -Proxy http://bkkproxy001.bkk-mobiloil.de:3129
Invoke-WebRequest -Uri "https://wizdom-libs-two.azureedge.net/" -Method PUT -Proxy http://bkkproxy001.bkk-mobiloil.de:3129
Invoke-WebRequest -Uri "https://wizdom-libs-three.azureedge.net/" -Method PUT -Proxy http://bkkproxy001.bkk-mobiloil.de:3129
Invoke-WebRequest -Uri "https://wizdom.azureedge.net/ " -Method PUT -Proxy http://bkkproxy001.bkk-mobiloil.de:3129
Invoke-WebRequest -Uri "https://az416426.vo.msecnd.net" -Method PUT -Proxy http://bkkproxy001.bkk-mobiloil.de:3129
Invoke-WebRequest -Uri "" -Method PUT -Proxy http://bkkproxy001.bkk-mobiloil.de:3129
Invoke-WebRequest -Uri "https://wizdomlicenseportal.azurewebsites.net/" -Method PUT -Proxy http://bkkproxy001.bkk-mobiloil.de:3129
Invoke-WebRequest -Uri "https://success.wizdom-intranet.com/" -Method PUT -Proxy http://bkkproxy001.bkk-mobiloil.de:3129
<<[Test] - Wizdom License.zip>>
Die AD Gruppe SG-SPT-Wizdom_Admin angelegt und in Wizdom als Admingruppe eingetragen