To use call admission control or location-based routing in Lync, one of the first steps is to define all the sites and subnets used in the company and to assign the sites to network regions. In larger companies, this can be a tedious process if this information is not stored in a central, easily accessible location.
One place where network site/subnet information can sometimes be centrally found is within Active Directory itself. Active Directory and other applications such as Exchange uses site/subnet information to determine where to direct clients for authentication services (among other things). Ideally, every site and subnet should be defined using the Active Directory Sites and Services snap-in. If the Active Directory administrator has diligently defined all the sites/subnets, this information can be easily parsed and used in Lync.
I've created a short script that will automate the creation of network sites and subnets using the information stored in AD Sites and Services. Again, this script is only useful if all the sites/subnets have been defined in AD. Thanks to Greig Sheridan who fixed the script to deal with AD site names that have characters that are invalid for Lync site names (such as underscore).
Copy the below script into a .PS1 file on a Lync server and run it. As always, be careful and test this in a lab first. I can't be responsible for any damage this script will cause.
The script will first check to see if a Lync network region already exists. If so, it will select the first one it sees as the base for all the subnets. If one doesn't exist, it will create one using the first Lync site as the base. If need be, you can define additional network sites later.
The script will then create all the sites/subnets based on information from AD. All the sites will be assigned to the one network region selected according to the rules in the previous paragraph. Since there is no way for the script to know which site belongs to which region, this will have to be done manually if multiple Lync network regions exist.
IMPORTANT: The script will also create the required subnets for all the Lync edge A/V public IP addresses with a 32-bit subnet mask as per the requirements for call admission control. You will have to manually assign these subnets to the sites where you deployed the edge servers.
While this script doesn't try to do everything associated with setting up call admission control, it does go a long way towards automating a good chunk of the process. A future revision of the Lync Optimizer will hopefully close the loop and help completely automate the work required to setup location-based routing.
As a final side note, one thing I don't understand is why Lync can't leverage AD Sites & Services for this information directly. Exchange versions since 2007 have used AD Sites & Services for mail routing, so its not like it hasn't been done before. Maybe a future version of Lync will add this functionality. Until then, this script should help those who have well-defined site/subnet information in Active Directory.
Senin, 01 April 2013
you just read Automatically Creating Lync Sites and Subnets using AD Sites if you feel this information is useful and want to bookmark or share it please use link https://innaz2.blogspot.com/2013/04/automatically-creating-lync-sites-and.html if you want more information please search on other pages this blog.
Tag :
Automatically Creating Lync Sites and Subnets using AD Sites
By
Anonim
di
April 01, 2013
Automatically Creating Lync Sites and Subnets using AD Sites - In the past, when I started to start blogging, many thoughts disturbed me. I want to have a blog with a nice and interesting look. I am constantly looking for basic tutorials from some web and blogs on the internet. And thankfully, one by one I started to do it, and of course have to go through some confusion process first, but the most important of a blog that is content, yes on the blog Innaz Review we will discuss a lot of information about gadgets that are very in need by you, now we will discuss first about Automatically Creating Lync Sites and Subnets using AD Sites please refer to the information we will convey until completion:
Articles : Automatically Creating Lync Sites and Subnets using AD Sites
full Link : Automatically Creating Lync Sites and Subnets using AD Sites
Articles : Automatically Creating Lync Sites and Subnets using AD Sites
full Link : Automatically Creating Lync Sites and Subnets using AD Sites
You can also see our article on:
Automatically Creating Lync Sites and Subnets using AD Sites
so much information Automatically Creating Lync Sites and Subnets using AD Sites
hopefully Automatically Creating Lync Sites and Subnets using AD Sites information can provide benefits for you in determining the gadgets that fit your needs in daily life.
you just read Automatically Creating Lync Sites and Subnets using AD Sites if you feel this information is useful and want to bookmark or share it please use link https://innaz2.blogspot.com/2013/04/automatically-creating-lync-sites-and.html if you want more information please search on other pages this blog.
Tag :
Tags :
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar