2. Install Server
At this point, the target server should be fully prepared and meet all prerequisites.
Install Local Configuration Store
To install any server role in Lync Server 2010, the
target server must first have a local configuration store installed and
populated with the topology information.
1. | Insert the Lync Server 2010 media on the server to be used as a Mediation Server and launch Setup.exe found in the Setup\amd64 folder.
|
2. | Enter a location for the installation files to be cached, and then click Continue installation without checking for updates. Click OK.
|
3. | Select I accept the terms in the licensing agreement, and then click OK.
|
4. | Click Install or Update Lync Server system.
|
5. | Under Step 1: Install Local Configuration Store, click Run.
|
6. | Select Retrieve directly from the Central Management Store and then click Next.
|
7. | Click Finish after the local store is successfully created.
|
Update and Verify Configuration Store
The following steps verify the local configuration
store has been synchronized with the Central Management Store before
any server roles are installed.
1. | Launch the Lync Server Management Shell.
|
2. | Check the CMS replication status with the following command:
Get-CSManagementStoreReplicationStatus
|
3. | Check the ReplicaFQDN for the current server and verify the UpToDate parameter reads True.
UpToDate : False ReplicaFQDN : med1.companyabc.com IsDeleted : False LastStatusReport : 7/3/2010 10:02:17 PM LastUpdateCreation : 7/3/2010 10:02:10 PM
|
4. | If the UpToDate parameter is False, initiate an update of the store data with the following command:
Invoke-CSManagementStoreReplication
|
5. | Check
the replication status again and verify it is now updated and in sync
with the Central Management Store. If the local store is not in sync
with the Central Store installation, the installation of the Lync
Server components does not proceed.
|
Install Lync Server Components
The following steps enable the server to read the
topology information from the local configuration store and then
install the server roles matching its own FQDN.
1. | Under Step 2: Setup or Remove Lync Server Components, click the Run button.
|
2. | Click Next to begin the Mediation Server installation published in the topology.
|
3. | Click Finish when the installation completes.
|
Create Certificates
Like all other roles in Lync Server, the Mediation
Server communicates to other servers in the organization using Mutual
Transport Layer Security (MTLS). To leverage MTLS, the Mediation Server
needs one certificate installed that meets a few requirements:
The subject name should contain the pool’s FQDN.
The pool name should be included as a subject alternative name.
The fully qualified name of the server should be included as a subject alternative name.
Note
The Certificate Wizard in Lync Server 2010
automatically populates the subject name and any required subject
alternative names based on the published topology, which greatly
simplifies certificate confusion created by prior versions. If only one
certificate is used for the default internal web services and external
web services, the subject alternative names must be manually added when
running the wizard.
Use the following steps to request and assign the necessary certificates:
1. | Under Step 3: Request, Install, or Assign Certificate, click the Run button.
|
2. | Highlight Default certificate and click Request.
|
3. | Click Next to begin the wizard.
|
4. | Select either Send the request immediately to an online certification authority or Prepare the request now, but send it later if an offline request will be generated. Click Next.
|
5. | If creating an online request, select a certification authority detected in the environment and click Next.
|
6. | Specify alternate credentials for the certification authority if required or click Next to use the currently logged on credentials.
|
7. | Select Use an alternate certificate template for the selected certification authority if necessary. The default is to not select this option, which will use the WebServer template. Click Next.
|
8. | Enter a Friendly Name for the certificate such as Mediation Server Pool.
|
9. | Select a key Bit Length of 1024, 2048, or 4096.
|
10. | If the certificate is exportable, select the Mark the certificate’s private key as exportable check box.
|
11. | Enter an Organization name, typically the name of the business.
|
12. | Enter an Organizational Unit name, typically the name of a division or department, and click Next.
|
13. | Select a Country, enter a State or Province, enter a City or Locality, and click Next.
|
14. | Review the automatically populated subject and subject alternative names. Click Next.
|
15. | Include additional subject alternative names if necessary. Click Next.
|
16. | Click Next to complete the request, and then click Finish to complete the wizard.
|
If the certificates are issued from an online
certificate authority, they should be installed automatically. If an
offline request is issued, the wizard must be rerun with the option to
complete an offline request.
Assign Certificates
After creating the necessary certificates, the
Mediation Server services must have certificates assigned to them. The
following steps show how to assign a certificate:
1. | Under Step 3: Request, Install, or Assign Certificate, click the Run button.
|
2. | Highlight Default certificate and click Assign an existing certificate.
|
3. | Click Next to begin the wizard.
|
4. | Highlight the certificate to be assigned and click Next.
|
5. | Click Next to confirm the selection.
|
6. | Click Finish once the wizard completes.
|
Start Services
After the necessary certificates are requested and assigned, the Lync Server Mediation Server services can be started.
1. | Below Step 4: Start Services, click the Run button.
|
2. | Click Next to start the Lync Server services.
|
3. | Click Finish to complete the wizard.
|
At this point, the Mediation Server
installation is complete and it should be functional. Be sure to
configure any IP/PSTN gateways to interoperate with the Mediation
Server pool.