Показать сообщение отдельно
Старый 02.09.2018, 20:26   #4  
sukhanchik is offline
sukhanchik
Administrator
Аватар для sukhanchik
MCBMSS
Злыдни
Лучший по профессии 2015
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,275 / 3476 (122) ++++++++++
Регистрация: 13.06.2004
Адрес: Москва
Step 22: Configure the Financial Reporting database
Execute the following Script
.\Initialize-Database.ps1 -ConfigurationFilePath .\ConfigTemplate.xml -ComponentName MR
The script will do the following:
a. Create an empty database named FinancialReporting.
b. Map the users to database roles based on the following table.
Нажмите на изображение для увеличения
Название: 31.png
Просмотров: 454
Размер:	3.8 Кб
ID:	12058

Step 23: Encrypt Credentials:
On any client machine, install the encipherment certificate in the LocalMachine\My certificate store.
Нажмите на изображение для увеличения
Название: 32.png
Просмотров: 322
Размер:	40.1 Кб
ID:	12059
Нажмите на изображение для увеличения
Название: 33.png
Просмотров: 284
Размер:	35.9 Кб
ID:	12060
Grant the current user read access to the private key of this certificate.
Нажмите на изображение для увеличения
Название: 34.png
Просмотров: 252
Размер:	50.3 Кб
ID:	12061
Create the Credentials.json file, as shown here.
{
"AosPrincipal": {
"AccountPassword": "Dynamo@123"
},
"AosSqlAuth": {
"SqlUser": "axdbadmin",
"SqlPwd": "Dynamo@123"
}
}
Dynamo@123 is the encrypted domain user password for the AOS domain user (local\axserviceuser).
SqlUser is the encrypted SQL user (axdbadmin) that has access to the Finance and Operations database (AXDB), and Dynamo@123 is the encrypted SQL password.
Copy the .json file to the SMB file share, \\AOS1\agent\Credentials\Credentials.json.
Why this accounts and Password has to be encrypted? While deploying the Application from LCS ,the script checks the encrypted Passwords and Users.If this step is not executed Properly,the deployment will fail.
Install Install the Microsoft Azure Service Fabric SDK before executing script
Execute the below script to get encrypted Values.The Script has to executed 3 times to get the Value

For AccountPassword
Invoke-ServiceFabricEncryptText -Text Dynamo@123 -CertThumbprint 9A5A0A92E7C62CA65FF14E6F9C9ECE9F6B76FA1A -CertStore -StoreLocation LocalMachine -StoreName My | Set-Clipboard

Execute the Script and open a notepad and ctrl+V to paste the encrypted Value

For SQL USER
Invoke-ServiceFabricEncryptText -Text axdbadmin -CertThumbprint 9A5A0A92E7C62CA65FF14E6F9C9ECE9F6B76FA1A -CertStore -StoreLocation LocalMachine -StoreName My | Set-Clipboard

Execute the Script and open a notepad and ctrl+V to paste the encrypted Value

For SQLPassword
Invoke-ServiceFabricEncryptText -Text Dynamo@123 -CertThumbprint 9A5A0A92E7C62CA65FF14E6F9C9ECE9F6B76FA1A -CertStore -StoreLocation LocalMachine -StoreName My | Set-Clipboard

Execute the Script and open a notepad and ctrl+V to paste the encrypted Value
Now Update the 3 encrypted values in the Credentials.Json file
Нажмите на изображение для увеличения
Название: 35.png
Просмотров: 322
Размер:	84.3 Кб
ID:	12062

Step 24:Setup SSIS
To enable Data management and Integration workloads, SSIS must be installed on each of the AOS virtual machines. Complete the following steps on each AOS virtual machine.
  1. Verify that the machine has access to the SSIS installation and open the SSIS Setup Wizard.
  2. In the Feature Selection window, in the Features pane, select the Integration Services and SQL Client Connectivity SDK check boxes.
  3. Complete the setup and verify that the installation was successful.
Step 25:Setup SSRS
To Setup the SSRS Machine refer the MS Document below
https://docs.microsoft.com/en-us/dyn...rs-on-premises

Step26 :Configure ADFS
  • Open the ADFS Server and add the ADFS feature addition from Server Manger Roles and Features
  • Configure the AD FS identifier so that it matches the AD FS token issuer.
    Execute the Below code in Adfs machine in Powershell
    $adfsProperties = Get-AdfsProperties
    Set-AdfsProperties -Identifier $adfsProperties.IdTokenIssuer
    Set-AdfsGlobalAuthenticationPolicy -PrimaryIntranetAuthenticationProvider FormsAuthentication, MicrosoftPassportAuthentication
For sign-in, the user's email address must be an acceptable authentication input.

Add-Type -AssemblyName System.Net
$fqdn = ([System.Net.Dns]::GetHostEntry('localhost').HostName).ToLower()
$domainName = $fqdn.Substring($fqdn.IndexOf('.')+1)
Set-AdfsClaimsProviderTrust -TargetIdentifier 'AD AUTHORITY' -AlternateLoginID mail -LookupForests $domainName

Once after the ADFS necessary scripts are executed ,Application group script should be execute
.\Publish-ADFSApplicationGroup.ps1 -HostUrl https://ax.Local.com

Now after successfully deployed the ADFS ,access the url in AOStype node
https://adfs.local.com/adfs/.well-kn...-configuration

This step is highly important to complete is successfully since the Dynamics on premise user access page opens based on the ADFS redirection Configuration.
You successfully access the URL, a JavaScript Object Notation (JSON) file is returned that contains your AD FS configuration, and you will see that your AD FS URL is trusted.

Step 27: Configure a connector and install an on-premises local agent
Sign in to LCS, and open the on-premises implementation project.
Select the Project Setting Tab

Нажмите на изображение для увеличения
Название: 36.png
Просмотров: 263
Размер:	169.3 Кб
ID:	12063
Create a On Premise Connector and Edit the Configuration Details
Нажмите на изображение для увеличения
Название: 37.png
Просмотров: 292
Размер:	112.6 Кб
ID:	12064
Download the Agent Installer and Verify that the zip file is unblocked. Right-click the file, and then select Properties. In the dialog box, select Unblock.
Unzip the agent installer on one of the Service Fabric nodes of the OrchestratorType type.
Нажмите на изображение для увеличения
Название: 38.png
Просмотров: 274
Размер:	108.3 Кб
ID:	12065
Enter the Configuration Details
Нажмите на изображение для увеличения
Название: 39.png
Просмотров: 297
Размер:	113.3 Кб
ID:	12066
Execute the below script to get the configurations details
.\Get-AgentConfiguration.ps1 -ConfigurationFilePath .\ConfigTemplate.xml
Нажмите на изображение для увеличения
Название: 40.png
Просмотров: 308
Размер:	148.1 Кб
ID:	12067
Нажмите на изображение для увеличения
Название: 41.png
Просмотров: 272
Размер:	138.1 Кб
ID:	12068
Нажмите на изображение для увеличения
Название: 42.png
Просмотров: 289
Размер:	153.8 Кб
ID:	12069
Download the Configuration file and copy the file to the local agent folder
Нажмите на изображение для увеличения
Название: 43.png
Просмотров: 248
Размер:	68.7 Кб
ID:	12070
In a Command Prompt window, run the following command by navigating to the folder that contains the agent installer.
The user who runs this command must have db_owner permissions on the OrchestratorData database.
LocalAgentCLI.exe Install C:\InfrastructureScripts\Local\LocalAgent-163366\LocalAgent-163366\localagent-config.json
Нажмите на изображение для увеличения
Название: 44.png
Просмотров: 263
Размер:	16.9 Кб
ID:	12071
After the Local agent is successfully executed ,which will create 2 applications in Service Fabric
Нажмите на изображение для увеличения
Название: 45.png
Просмотров: 460
Размер:	90.0 Кб
ID:	12072
On the Validate setup tab, select Message agent to test for LCS connectivity to your local agent. When a connection is successfully established, the page will resemble the following illustration.
Нажмите на изображение для увеличения
Название: 46.png
Просмотров: 285
Размер:	33.0 Кб
ID:	12073
__________________
Возможно сделать все. Вопрос времени

Последний раз редактировалось sukhanchik; 02.09.2018 в 21:55.