zettelkasten/OneNoteExport/Kommunikationstechnologie/Sharepoint/Wizdom/01_Installation Testumgebung.md
Ralf Koop 5a108aa2b4 .
2023-08-25 23:29:11 +02:00

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-sptWizdom

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:

 

  1. Wizdom Packet entpackt (6.33.0.7 -- 2016).

  2. 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

    1. Die XML Datei DeployWizdomConfiguration-SPT.xml wurde entsprechend der Umgebung ergänzt.

    2. 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:

  1. 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

<!-- -->
  1. 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>

  2. 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>

  3. Danach wurde die Datei Wizdom.APP in den SharePoint App Store der Web Applikation hochgeladen.

  4. Als nächstes in der Websitesammlung über „App hinzufügen" hinzugefügt.

  5. Im letzten Step wurde über die Wizdom Admin Oberfläche, Option Installation Wizdom auf der Websitesammlung aktiviert.

 

 

  1. Log in to [[collection URL>]{.underline}]{.mark}

  2. Open the Site Settings

  3. In Site Collection Administration, select Site collection features

  4. Click Activate on feature SharePoint Server Publishing Infrastructure

  5. Go back to Site Settings

  6. In Site Actions, select Manage site features

  7. Click Activate on feature SharePoint Server Publishing

  8. Click Deactivate on feature Mobile Browser View

 

Computergenerierter Alternativtext: https//kerbmcbilnet-;pt.bkk•mobilo.l.dei_layouts/l i/AppRegNew.a;px Client Id: 48226d8e-d6a8-4311-8931-f82247bdfedb Client Secret: LQk\'Vg6kY3CwHZ4Kks + 1/2hkrzagRde5v/J3emR Title: Wizdom-SPT App Domain: wizdom-sptbkk-mobiloilde Example: \'Vvww.contoso.com• Redirect URI: https:/,wizdom-sptbkk-mobiloilde Exa mple: \"https://wwwcontosocom/default.aspr• HTTP Not publishin SharePoint Jments Contents LINKS Sites Mobinet-SPT App Information Previous Next Options EDIT LINKS s informatk\'n, app id, title, hostirg and redirect Generate Generate {width="11.270833333333334in" height="6.833333333333333in"}

 

Erfasster Bildschirmausschnitt: 16.01.2019 10:16

 

 

 

 

 

Dateiname: DeployWizdomConfiguration-SPT.xml

<?xml version="1.0" encoding="UTF-8"?>

<Configuration>

<WizdomServerConfiguration>

<WizdomWebApplication>

<!-- 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 -->

<WizdomWebConfig>

<!-- 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" />

 

 

  1. 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.

 

  1. 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="" />

 

  1. 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

 

  1. 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>

 

 

 

 

Computergenerierter Alternativtext: License is valid Company: Expiration date: Number Of users: Url: Time to live: Issued: Betriebskrankenkasse Mobil Oil Dec 31, 2029 99 Jul 20, 2019 AM Jan 21, 2019 AM {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:

Type  URL 
CDN  https://wizdom-libs-one.azureedge.net/ 
CDN  https://wizdom-libs-two.azureedge.net/ 
CDN  https://wizdom-libs-three.azureedge.net/ 
CDN  https://wizdom.azureedge.net/ 
CDN  https://az416426.vo.msecnd.net 
CDN  https://ajax.aspnetcdn.com 
URL  https://wizdomlicenseportal.azurewebsites.net/  
URL  https://success.wizdom-intranet.com/ 

 

 

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