LYCN with SQL alwayson"two" rescue installed in Lync

Source: Internet
Author: User

In the previous section, we deployed the AlwaysOn availability groups for two Lync back-end database nodes. This section is the highlight, how to put Lync on top.

Let's start with a good idea:

1. Install Lync Prerequisite

2. Ad prepare, configure DNS, configure users and Groups

3. Management tool Installation

4, publish the topology----the back-end database points to LyncBE-1, publish the topology to observe its database creation structure, to confirm that Lync requires the database is all created.

5. Add the database created by Lync to the availability group and complete the initial synchronization.

6. Remove the deployment in the Topology Manager, publish the empty topology, and remove the central storage location.

7. Create a new topology, and populate the back-end database with AlwaysOn listeners.

8. Successful topology release, install front end, request certificate, enable component.

OK, do not hang appetite, I started directly from the fourth step, the previous 3 steps have been done (brain repair it!) The previous three steps are regular steps, do not need special configuration, 51cto in so many Lync deployment articles ... )

The black box is the first time I publish a topology, Topology Manager creates a good list of databases on LyncBE-1 's SQL Server.

650) this.width=650; "height=" 454 "title=" image35 "style=" border:0px; "alt=" image35 "src=" http://s3.51cto.com/ Wyfs02/m02/6d/fd/wkiol1vwgbkyv_beaad1k62te-4937.jpg "border=" 0 "/>

Repeat the two conditions for AlwaysOn high availability groups:

First: Modify the recovery model to the full recovery model second: A full backup of the database

Two points can be completed by SQL script, the first step of the script as follows, divert multiple copies, and then the inside of the [LcsLog] for the other database name, finally unified implementation can be.

650) this.width=650, "height=", "title=" Image36 "style=" border:0px; "alt=" Image36 "src=" Http://s3.51cto.com/wyfs02 /m02/6e/02/wkiom1vwgbwaofthaab-k9o7epw799.jpg "border=" 0 "/>

The second step to change the script is too cumbersome, each database to change two locations, or mouse operation faster.

650) this.width=650; "height=" 490 "title=" image37 "style=" border:0px; "alt=" Image37 "src=" Http://s3.51cto.com/wyfs02 /m00/6d/fd/wkiol1vwgblarciuaajf_xk1uwe311.jpg "border=" 0 "/>

650) this.width=650; "height=" 492 "title=" Image38 "style=" border:0px; "alt=" Image38 "src=" Http://s3.51cto.com/wyfs02 /m00/6e/02/wkiom1vwgbxa2pbkaaialwlufek082.jpg "border=" 0 "/>

A crackling, all the databases have been modified and backed up. Right-click on the already created Availability group and click Add Database.

650) this.width=650; "height=" 448 "title=" Image39 "style=" border:0px; "alt=" Image39 "src=" Http://s3.51cto.com/wyfs02 /m01/6d/fd/wkiol1vwgbptmnnwaag3xhct_8q748.jpg "border=" 0 "/>

Meet the prerequisites and continue ...

650) this.width=650; "height=" 530 "title=" Image40 "style=" border:0px; "alt=" Image40 "src=" Http://s3.51cto.com/wyfs02 /m01/6e/02/wkiom1vwgbacw8icaahd_zfglcu092.jpg "border=" 0 "/>

Fill in our pre-built shared folders for initial synchronization.

650) this.width=650; "height=" 520 "title=" image41 "style=" border:0px; "alt=" image41 "src=" Http://s3.51cto.com/wyfs02 /m02/6d/fd/wkiol1vwgboas2g4aaglkhndxem196.jpg "border=" 0 "/>

Click "Connect", fill in the credentials, connect to the LyncBE-2,

650) this.width=650; "height=" 517 "title=" Image42 "style=" border:0px; "alt=" Image42 "src=" Http://s3.51cto.com/wyfs02 /m02/6e/02/wkiom1vwgbbhbawhaaevis-eryc564.jpg "border=" 0 "/>

Oh yo, again made the same mistake, remember, there are some on the LyncBE-1, on the LyncBE-2 also have!

In other words, C:\CsData This folder, because the first topology is connected on LyncBE-1, it is built by Lync on LyncBE-1. LyncBE-2 No, how to do?

Open default share, duplicate a copy of the past to create a folder structure is it OK?

650) this.width=650; "height=" 510 "title=" image43 "style=" border:0px; "alt=" image43 "src=" Http://s3.51cto.com/wyfs02 /m02/6e/02/wkiom1vwgbfb93eqaah7_fi3zza942.jpg "border=" 0 "/>

Copy the LyncBE-1 C:\Csdata directly below the C drive of LyncBE-2, prompting for the file to be opened, do not tube, skip. We just want the folder structure.

650) this.width=650; "height=" 372 "title=" image44 "style=" border:0px; "alt=" image44 "src=" Http://s3.51cto.com/wyfs02 /m00/6d/fd/wkiol1vwgbtrbvfkaaepe8mxyqg606.jpg "border=" 0 "/>

650) this.width=650; "height=" 268 "title=" Image45 "style=" border:0px; "alt=" Image45 "src=" Http://s3.51cto.com/wyfs02 /m00/6e/02/wkiom1vwgbfifxnjaad8qfptpim474.jpg "border=" 0 "/>

Again to verify, verify through!

650) this.width=650; "height=" 535 "title=" Image46 "style=" border:0px; "alt=" Image46 "src=" Http://s3.51cto.com/wyfs02 /m01/6d/fd/wkiol1vwgbsceeeeaagzozekd2s930.jpg "border=" 0 "/>

The default database is nearly 9 GB, and the first sync looks like it's going to take a while ...

650) this.width=650; "height=" 528 "title=" Image47 "style=" border:0px; "alt=" Image47 "src=" Http://s3.51cto.com/wyfs02 /m01/6e/02/wkiom1vwgbibia4zaafxhgnx3c8397.jpg "border=" 0 "/>

650) this.width=650; "height=" 528 "title=" image48 "style=" border:0px; "alt=" image48 "src=" Http://s3.51cto.com/wyfs02 /m02/6d/fd/wkiol1vwgbxhjuuzaaiimkrcxk4172.jpg "border=" 0 "/>

After the synchronization is complete, we start killing chickens.

How to kill a chicken, the first step is to open up the topology Manager and download the current topologies. Then click Actions-Topology-delete deployment

650) this.width=650; "height=" 423 "title=" QQ20150605002127 "style=" border:0px; "alt=" QQ20150605002127 "src=" http:/ S3.51cto.com/wyfs02/m02/6e/02/wkiom1vwgbihgtigaaglwkf9qoi170.jpg "border=" 0 "/>

650) this.width=650; "height=" 465 "title=" image "style=" border:0px; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00 /6d/fd/wkiol1vwgbwbvcjtaagwu0s8lz4801.jpg "border=" 0 "/>

Click Finish to remove the deployment. Then open PowerShell (the Lync command line manager is too slow ...). ), note the black box in the picture ... At this point, the back end still points to LyncBE-1.

650) this.width=650; "height=" 251 "title=" image62 "style=" border:0px; "alt=" image62 "src=" Http://s3.51cto.com/wyfs02 /m00/6e/02/wkiom1vwgbmddu3eaagxgnpip0q499.jpg "border=" 0 "/>
650) this.width=650; "height=" 319 "title=" image49 "style=" border:0px; "alt=" image49 "src=" Http://s3.51cto.com/wyfs02 /m01/6d/fd/wkiol1vwgbag1vi7aamqfum_vo0379.jpg "border=" 0 "/>

After the removal is complete, we can publish a new topology

Where the database is connected, we fill in the AlwaysOn listener fqdn:sqlag.contoso.com. Then try to publish the topology, the release of the process will play a few dialog boxes to tell you: Ah, I want the database has been found you built, but I want to change some of this ah, you allow it. Yes, of course.

650) this.width=650; "height=" 484 "title=" Image50 "style=" border:0px; "alt=" Image50 "src=" Http://s3.51cto.com/wyfs02 /m01/6e/02/wkiom1vwgbndoqzraagiy1hspwi885.jpg "border=" 0 "/>

650) this.width=650; "height=" 466 "title=" image51 "style=" border:0px; "alt=" Image51 "src=" Http://s3.51cto.com/wyfs02 /m02/6d/fd/wkiol1vwgbftbxyfaaefgh5nucu093.jpg "border=" 0 "/>

Rescue Success! At this point, Lync has hooked up with the AlwaysOn availability Group through the listener! Hey )

650) this.width=650; "height=" 441 "title=" image52 "style=" border:0px; "alt=" image52 "src=" Http://s3.51cto.com/wyfs02 /m02/6e/02/wkiom1vwgbqqxna6aahbr6oqqwi583.jpg "border=" 0 "/>

Next we install the front-end section, install the local storage, here is involved in the database to fill things!

650) this.width=650; "height=" 502 "title=" Image53 "style=" border:0px; "alt=" Image53 "src=" Http://s3.51cto.com/wyfs02 /m00/6d/fd/wkiol1vwgbfai78jaajekufpelk301.jpg "border=" 0 "/>

Fill complete, indicating that AlwaysOn reads and writes for the Lync database are accessible!

(PowerShell in the background error is I forgot to install windows-identity-foundation ...)

650) this.width=650; "height=" 495 "title=" image54 "style=" border:0px; "alt=" image54 "src=" Http://s3.51cto.com/wyfs02 /m00/6e/02/wkiom1vwgbvgn8coaak8cmru9xy851.jpg "border=" 0 "/>

The next step is very simple, all the way smooth ~

650) this.width=650; "height=" 497 "title=" Image55 "style=" border:0px; "alt=" Image55 "src=" Http://s3.51cto.com/wyfs02 /m01/6d/fd/wkiol1vwgbjd2lataaidz57w0ui582.jpg "border=" 0 "/>

650) this.width=650; "height=" 499 "title=" image56 "style=" border:0px; "alt=" image56 "src=" Http://s3.51cto.com/wyfs02 /m01/6e/02/wkiom1vwgbvx-zixaaklrxejkum525.jpg "border=" 0 "/>

650) this.width=650; "height=", "title=" Image57 "style=" border:0px; "alt=" Image57 "src=" Http://s3.51cto.com/wyfs02 /m02/6d/fd/wkiol1vwgbii9wwqaakbr04pgp8596.jpg "border=" 0 "/>

650) this.width=650; "height=" 502 "title=" image59 "style=" border:0px; "alt=" image59 "src=" Http://s3.51cto.com/wyfs02 /m02/6e/02/wkiom1vwgbzjk8csaakjgt9jixc919.jpg "border=" 0 "/>

Start the service! Ok!

650) this.width=650; "height=" 323 "title=" Image60 "style=" border:0px; "alt=" Image60 "src=" Http://s3.51cto.com/wyfs02 /m00/6d/fd/wkiol1vwgbmgyayyaahhgr-ld-u780.jpg "border=" 0 "/>

650) this.width=650; "height=" 486 "title=" Image61 "style=" border:0px; "alt=" Image61 "src=" Http://s3.51cto.com/wyfs02 /m00/6e/02/wkiom1vwgbyasbovaaizypxalyo896.jpg "border=" 0 "/>

Then open the two users to try

650) this.width=650; "height=" "title=" image67 "style=" border:0px; "alt=" image67 "src=" Http://s3.51cto.com/wyfs02 /m00/6d/fd/wkiol1vwgbmj0hykaacte2gzc0y081.jpg "border=" 0 "/>

650) this.width=650; "height=" PNs "title=" Image63 "style=" border:0px; "alt=" Image63 "src=" http://s3.51cto.com/wyfs02/ M01/6d/fe/wkiol1vwgbqq3srlaabqfcta0b8094.jpg "border=" 0 "/>

Open Lync on the client ... Landing success!!!

650) this.width=650; "height=" 576 "title=" image82 "style=" border:0px; "alt=" image82 "src=" Http://s3.51cto.com/wyfs02 /m01/6e/02/wkiom1vwgb2bkbiqaagy5uz3xte948.jpg "border=" 0 "/>

To get here, everything proved to be the beginning of the idea, very smooth.

And yet no! In the beginning, it was said that without official support, there were some problems and risks. We'll talk about it in the next section.

This article is from the "Castamere Rainy season" blog, be sure to keep this source http://sodaxu.blog.51cto.com/8850288/1658693

LYCN with SQL alwayson"two" rescue installed in Lync

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.