问题
I have to create a Lync bot using UCMA. I have been facing a lot of challenges in just setting up a development environment, forget the actual coding. Before I put my question, I want to be clear that I am not a server/admin guy and my expertise lies on the programming and development side more than servers.
But, I have been tasked to setup all the servers for the Lync bot development process and finally develop and test the same. After a lot of research and big help from some members of this community, I have finally come to what I would like to call a starting point.
My question is:-
I have a test domain where a Lync server is already installed in a VM. There is another VM where an ADDS server is installed. Now, as per my understanding, I have to create an application server. I will set the replication property to true and replicate the settings of the central management store into the local management store. I will create an application pool and an application endpoint for my application in the Application Server . Now the question is:-
I create the application endpoint and the application pool in the application server. But where and how am I connecting the 3 servers? I don't see a connection between my application server and the Lync Server or the ADDS server. I have not yet set up the application server. I am asking this question to clear my doubt before I jump on it.
回答1:
Now, as per my understanding, I have to create an application server. I will set the replication property to true and replicate the settings of the central management store into the local management store.
Unless you want to create a auto provisioning UCMA application, you DO NOT want to set replication property to true. If you set it to true, each server in the pool HAS to there all the time so that the Lync topology can sync correctly without errors.
I would suggest always setting replication property to false, and it will make your life a lot easier.
If you do set it to true, then you need to install the Lync server replication software (takes awhile).
I will create an application pool and an application endpoint for my application in the Application Server .
Make your life easier and create a single-computer application pool without replication.
I create the application endpoint and the application pool in the application server. But where and how am I connecting the 3 servers? I don't see a connection between my application server and the Lync Server or the ADDS server.
The application pool is created under a FE pool of a (-Registrar).
When you create a trusted application, you have to say what pool it's running on (-TrustedApplicationPoolFqdn).
So the pool ties it to a FE pool registrar and the trusted application ties it to only being allowed to run on the application pool servers.
Lync server verifies that you are running on the pool by the certificates that you provide as part of your UCMA setup data. Also the FE servers will also connect back to your applications on the "-port" and trusted application pool machine names.
I don't know what you mean by 'ADDS server'. Do you mean the AD server? There is no connection. If it's anything else, I'm guessing no connection as well.
来源:https://stackoverflow.com/questions/41959187/setting-up-development-environment-for-ucma-application