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
have just read the article titled Automatically Creating Lync Sites and Subnets using AD Sites if you feel useful information and you want to bookmark or share please use the link https://ramblingsofker.blogspot.com/2013/04/automatically-creating-lync-sites-and.html and do not forget to go back to this blog if you want to know information about the latest gadgets.
Tag :
Automatically Creating Lync Sites and Subnets using AD Sites
By
untu
di
April 01, 2013
Automatically Creating Lync Sites and Subnets using AD Sites - welcome to the blog Software Gadget the end of this much calm product information launcing, yes every day there are always products that are removed from various brands, both physical hardware products and software that need new knowledge to use it, well now we will discuss first about Automatically Creating Lync Sites and Subnets using AD Sites as you search we have collected a lot of data to make this information as complete as possible for you, please read:
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 the information Automatically Creating Lync Sites and Subnets using AD Sites that we provide can be useful for you in the set of technology products that fit your daily needs,
have just read the article titled Automatically Creating Lync Sites and Subnets using AD Sites if you feel useful information and you want to bookmark or share please use the link https://ramblingsofker.blogspot.com/2013/04/automatically-creating-lync-sites-and.html and do not forget to go back to this blog if you want to know information about the latest gadgets.
Tag :
Tags :
Langganan:
Posting Komentar (Atom)
Komentar ini telah dihapus oleh pengarang.
BalasHapus