|
02.09.2018, 20:05 | #1 |
Administrator
|
Step 8: Administrator Group addition in VM
Add Local\svc-AXSF$ and Local\AXServiceUser users to the administrator group in each and Every VM To add to the administrators group follow the below steps Local\svc-AXSF$ and Local\AXServiceUser Select Local Users and Group Click Add to Group to Administrator Group If you must make changes to accounts or machines, update the ConfigTemplate.xml file in the original infrastructure folder, copy it to this machine and then run the following script. Update-D365FOGMSAAccounts -ConfigurationFilePath .\ConfigTemplate.xml Step 9: Self Signed Certificate creations
Step 10: Setting up the VMs In order to Setup the VMS for the Service Fabric Cluster Creation, Run the below scripts: .\Export-Scripts.ps1 -ConfigurationFilePath .\ConfigTemplate.xml The Script exports VM Machine Folder which has the script which has to Copied to each machine separately Step 11: Prerequsities Installation:
Step 12 :Set up a standalone Service Fabric cluster
After the cluster is created, open the Service Fabric explorer on any client machine to validate the installation. a. Install the Service Fabric client certificate in CurrentUser\My if it isn't already installed. b. Go to IE settings > Compatibility Mode, and clear the Display Intranet sites in compatibility mode check box. c. Go to https://sf.local.com:19080, where sf.local.com is the host name of the Service Fabric cluster that is specified in the zone. If DNS name resolution isn't configured, use the IP address of the machine. d. Select the client certificate. The Service Fabric explorer page appears. e. Verify that all nodes are appear as green. Step 14 : LCS Connectivity for the Tenant
Sometimes the LCS connectivity fails with an error Service Principal not found. This is because I do not have the Microsoft Dynamics ERP application in my Azure Directory. You can activate the trial version for Dynamics 365 for Operations here: Dynamics 365 for Operations Partner Trial. You need to click on the top right on W ant To add this To existing subscription? - Sign In. Step 15 : Set Up File Storage The Purpose of File Storage machine is to download the Installation File from LCS and Store the file in the Share Location to execute.Ideally the Fileshare can be done in the AOS 1 Machine On the file share machine, run the following command. Install-WindowsFeature -Name FS-FileServer -IncludeAllSubFeature -IncludeManagementTools. AOS Storage a. In Server Manager, select File and Storage Services > Shares. b. Select Tasks > New Share to create a new share. Name the share aos-storage. c. Leave Allow caching of share selected. d. Check Encrypt data access. e. Grant Modify permissions for every machine in the Service Fabric cluster except OrchestratorType. f. Grant Modify permissions for the user AOS domain user (Local\AXServiceUser) and the gMSA user (Local\svc-AXSF$). Agent a. In Server Manager, select File and Storage Services > Shares. b. Select Tasks > New Share to create a new share. Name the share agent. c. Grant Full-Control permissions to the gMSA user for the local deployment agent (Local\svc-LocalAgent$). Step 16 : Set Up SQL Server.
Self-signed certificate for a Single SQL instance New-SelfSignedCertificate -CertStoreLocation "cert:\CurrentUser\My" -DnsName "SQL1.Local.com" -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -Subject "SQL1.Local.com" Self-signed certificate for an Always-On SQL instance .\Create-SQLTestCert-AllVMs.ps1 -ConfigurationFilePath .\ConfigTemplate.xml ` -SqlMachineNames SQL1, SQL2 ` -SqlListenerName SQL.LSNR STEP 17: Enabling SSL Encryption for SQL Refer the below link for SSL Encryption for SQL https://support.microsoft.com/en-us/...er-by-using-mi STEP 18: SQL Configurations For each node of the SQL cluster, follow these steps. Make sure that you make the changes on the non-active node, and that you fail over to it after changes are made.
STEP 19: Creation of Databases 1. Sign in to LCS. 2. On the dashboard, select the Shared asset library tile. 3. On the Model tab, select the demo data for the release that you want and download the zip file. 4. The zip file contains empty and demo data .bak files. Select the .bak file, based on your requirements. For example, if you require demo data, download the AxBootstrapDB_Demodata.bak file. 5.Once the File is downloaded ,Copy the database on a separate folder in the SQL Machine. 6.Update the Config template file with the file Location of the downloaded Bak file Copy the infrastructure folder to the SQL Server machine and navigate to it in a PowerShell window with elevate privileges. Step20: Configure the OrchestratorData database Execute the following script. .\Initialize-Database.ps1 -ConfigurationFilePath .\ConfigTemplate.xml -ComponentName Orchestrator This Scripts creates the Orchestrator database for the Purpose of deploying all the applications in the Server Fabric Main Purpose of Orchestrator Database
Execute the Following Script .\Initialize-Database.ps1 -ConfigurationFilePath .\ConfigTemplate.xml -ComponentName AOS .\Configure-Database.ps1 -ConfigurationFilePath .\ConfigTemplate.xml -ComponentName AOS The Initialize-Database.ps1 script will do the following: a. Restore the database from the specified backup file. b. Create a new user that has SQL authentication enabled (axdbadmin). c. Map users to database roles based on the following table for AXDB. d. Map users to database roles based on the following table for TempDB. The Configure-Database.ps1 script will do the following: a. Set READ_COMMITTED_SNAPSHOT ON b. Set ALLOW_SNAPSHOT_ISOLATION ON c. Set the specified database file and log settings d. GRANT VIEW SERVER STATE TO axdbadmin e. GRANT VIEW SERVER STATE TO [Local\svc-AXSF$] Run the following command to reset the database users. .\Reset-DatabaseUsers.ps1 -DatabaseServer SQL.LSNR.Local -DatabaseName AXDB
__________________
Возможно сделать все. Вопрос времени Последний раз редактировалось sukhanchik; 02.09.2018 в 21:45. |
|
Теги |
d365fo, lbd |
|
|