среда, 3 декабря 2014 г.

Публикация / Перепубликация сервера лицензирования




Manually Publishing a License Server for Enterprise Discovery

Typical problems that cause the failure of publishing the TS License Server are:

    If during the installation of the License Server, Active Directory was down and the License Server was not published in the Catalog.
    If the License Server was installed in Enterprise mode, but without Enterprise Administrator Credentials, it will not be published in the Catalog.

In these cases, the License Server may need to be manually published. You may also have to create the TS-Enterprise-License-Server object if it does not yet exist in the Catalog Server.

Publishing a License Server

We can manually publish the Terminal Server License Server, using one of the following two methods,

Using "Active Directory Sites and Services":

    Open the "Active Directory Sites and Services" snapin; Start -> Programs -> Administrative tools -> "Active Directory Sites and Services"
    Select the Site in which you wish to publish the Terminal Server License Server
    Open the "TS-Enterprise-License-Server" Object.  If the "TS-Enterprise-License-Server" object is does not exist, you may have to create it. See below.
    Under the "Licensing Setting" tab click on the "Change" button
    Add the License Server machine name and click OK

Using ADSI Edit tool:

    Open the ADSI* Edit tool
    Select the "CN=Configuration" node
    Select the "CN=Sites"
    Open the node of the site where you wish to publish the License Server
    Open the "CN= TS-Enterprise-License-Server" Object in the right hand panel of the UI.  If the "CN=TS-Enterprise-License-Server" Object is not present use "Creating the "TS-Enterprise-License-Server" Object in the Catalog" to create the "TS-Enterprise-License-Server" Object
    Select the "siteServer" Attribute and click "Edit"
    Give the License Server machine name in the LDAP form (for example "CN=LSMachine,CN=Computers,DC=example,DC=com") and click "Add"

Creating the "TS-Enterprise-License-Server" Object in the Catalog

    Open ADSI Edit tool
    Select the "CN=Configuration" node
    Select the "CN=Sites" node
    Open the node of the site where you wish to create the "TS-Enterprise-License-Server" object.  If there is no such node then there is no License Server installed in "Enterprise mode" in that particular site
    Action -> New -> Object
    Select the "licensingSiteSettings" class
    Give the Value as "TS-Enterprise-License-Server"
    Click Finish



Manually Un-Publishing a License Server

Typical scenarios that may require manually un-publishing License Server:

    While the License Server was being uninstalled, Active Directory was down and License Server could not be un-published from the Catalog.
    If you uninstalled the License Server, but without Enterprise Administrator Credentials, in that case also License Server won't be Un-Published from the Catalog.
    If License Server machine is being moved from domain to workgroup, then License Server scope automatically changes to workgroup mode. It needs to be un-published manually from the Catalog.

In all of these cases, the entry that is left behind in the TS-Enterprise-License-Server object would cause the TS servers to still look for the License Server, even though the LS server may no longer be available or may have moved to a different network. This may lead problems in license discovery and cause the TS servers to not find the type of CAL needed for a particular user. Therefore, it is a good idea to keep the list as current as possible by manually un-publishing a removed License server from the list in the TS-Enterprise-License-Server object.

Un-Publishing  a  License Server 

We can manually Un-Publish Terminal Server License Server using ADSI Edit tool.

    Open ADSI Edit tool*
    Select the "CN=Configuration" node
    Again select the "CN=Sites"
    Open the node of the site, where one wishes to publish the License Server
    Open the "CN= TS-Enterprise-License-Server" Object in right hand panel of the UI
    Select "siteServer" Attribute and click "Edit"
    Select the License Server name under the heading "Value" and click "Remove"

Note that the "Active Directory Sites and Services" tool doesn't support removing an entry from a Catalog Server object.

White Paper on Terminal Server License Server is available at http://www.microsoft.com/windowsserver2003/techinfo/overview/termservlic.mspx

*ADSI Tool can be downloaded from

http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en

Licensing, Author: Ratnesh Yadav

0 коммент.:

Отправить комментарий