If you want to install multiple Async Client Service in one Store
Server, you must go thru PowerShell with below steps:
1. Copy Async Client Folder Name and rename
it, edit of the ss-settings-Updated.xml (If already Install One Async Service
thru setup) file for each new instance of Async client that you are going to
deploy.
2. Edit your ss-settings-Updated.xml file
in a text editor, such as Notepad. Change the parameter in the XML File and
rename the file as service name. ex.(ss-settings-009)
3. Copy edited file(ss-settings-009)
into both folder default (async client Folder and your new copied async folder).
4. Run PowerShell Command from async client Folder (Default)
---------------------------------------------Async Client Setting
Xml---------------------------------------------------------------------
<Settings>
<Setting key="InstallDatabase"
value="true" />
<Setting key="InstallSynchClient"
value="true" />
<Setting key="ChannelMessageDatabaseServer"
value="ATKSTR" /> --------ASYNC SERVER
----
<!-- Note: Format for a SQL instance name is either the server
name or the full instance name. I.e. valid names are: "localhost",
"localhost\instance2", "server1",
"server1\instance2"-->
<Setting
key="ChannelMessageDatabaseServerNamedInstanceName" value="ATKSTR" />---ASYNC SERVER---
<Setting key="ChannelMessageDatabaseName"
value="ASYNCCLIENTDB" />--ASYNC SERVER
MSGDB--
<Setting key="ChannelDatabaseServer" value="ADC" />---------CHANNEL
DATABASE SERVER--------
<!-- Note: Format for a SQL instance name is either the server
name or the full instance name. I.e. valid names are: "localhost",
"localhost\instance2", "server1",
"server1\instance2"-->
<Setting
key="ChannelDatabaseServerNamedInstanceName" value="ADC" />--CHANNEL DATABASE
SERVER-
<Setting key="ChannelDatabaseName" value="PRODRCT009" />----CHANNEL
DATABASE-----
<Setting key="ServiceName"
value="CommerceDataExchangeAsyncClientService_PRODRCT009" /> --SERVICE NAME----
<Setting key="ServiceDisplayName"
value="Microsoft Dynamics AX for Retail Commerce Data Exchange Async
Client:PRODRCT009" /> ------------SERVICE
NAME-------------
<Setting key="SynchServiceHeadOfficeURL"
value="https://rctax.rct.in:8080/AsyncServer" /> ---ASYNC SERVER URL---
<Setting key="ServiceUser" value="RCT\AXPRODAOS" /> --------ADMIN PASSWORD
FOR SERVICE-------
<Setting key="ServiceBinarySourceFolder"
value="C:\Program Files (x86)\Microsoft Dynamics AX\60\CDX\Async Client-009\Package\"
/> ---COPIED
ASYNC CLIENT FOLDER FOR NEW SERVICE-------
<Setting key="ServiceInstallFolder"
value="C:\Program Files (x86)\Microsoft Dynamics AX\60\CDX\Async Client-009\Package\" />---COPIED ASYNC CLIENT
FOLDER FOR NEW SERVICE-------
<Setting key="ServiceExecutionFileName"
value="AsyncClientService.exe" />
<Setting key="DataStoreName" value="Rtextiles" /> -----CHANNEL DATABASE
ID FROM AX--
<Setting key="DataStoreUserName" value="rtextiles" /> -----CHANNEL DATABASE
USER NAME FROM AX-
<Setting key="UploadServiceName"
value="UploadService.svc" />
<Setting key="DownloadServiceName"
value="DownloadService.svc" />
<Setting key="StreamServiceName"
value="StreamingService.svc" />
<Setting key="CertificateValidationOff"
value="false" />
<Setting key="ChannelMessageDatabaseServerOverride"
value="[ChannelMessageDatabaseServer]" />
<Setting key="GenerateSQLiteDatabase"
value="False" />
<Setting key="SQLiteConverterConfigurationFile"
value="SQLiteConverter.Config\RetailChannelDatabase\ChannelDbCreateSchemaAndCopyData.config"
/>
</Settings>
---------------------------------------------------------------------------------------------------------------------------------------------------
5. Open the folder where the Windows
PowerShell scripts are installed by default, Go to the at C:\Program Files
(x86) \Microsoft Dynamics AX\60\CDX\ Async
Server\Tools – Go to the File Click on Open Windows PowerShell --- Open Windows
PowerShell as administrator.
6. Run below command into the PowerShell
window one by one
---------------------------------------------------------------------------------------------------------------------------------------------------
I. Set-ExecutionPolicy
-Scope Process -ExecutionPolicy RemoteSigned
II. $Cred
= @((New-Object
System.Management.Automation.PSCredential('rct\axprodaos',(ConvertTo-SecureString
'password' -AsPlainText -Force))));
III. $Cred
+= @((New-Object System.Management.Automation.PSCredential('Rtextiles',(ConvertTo-SecureString
'rtextiles' -AsPlainText
-Force))));
IV. $Cred
+= @((New-Object System.Management.Automation.PSCredential('rct\axprodaos',(ConvertTo-SecureString
'password' -AsPlainText -Force))));
V. .\DeployAsyncClient.ps1
-SettingsXmlFilePath “C:\Program Files (x86)\Microsoft Dynamics AX\60\CDX\Async Client\Tools\sc-settings-009.xml” -TopologyXmlFilePath
“C:\Program Files (x86)\Microsoft Dynamics AX\60\CDX\Async Client\Tools\sc-topology.xml” -Credentials $Cred –Verbose
$true
---------------------------------------------------------------------------------------------------------------------------------------------------