Поделиться через


Publish a Topology After a Server Role or File Share is Removed

 

Topic Last Modified: 2011-04-06

When you publish a topology, the topology commits the changes you have made in Topology Builder to the Central Management store. When you add or remove configuration objects (for example, servers or settings) to Topology Builder, changes are made to the local copy of the XML-based topology file. These changes are not available to servers in your deployment until they are committed to the Central Management store, replicated out to the local read-only copy of the Central Management store, and then used by each server in your deployment.

To publish a topology after a server role or file share is removed or modified using Topology Builder

  1. Log on to the computer where Topology Builder is installed as a member of the Domain Admins group and the RTCUniversalServerAdmins group.

  2. Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder.

  3. Select Publish Topology.

  4. Right-click the Lync Server 2010 node, and then click Publish Topology.

  5. When the publishing process is finished, review the steps and confirm that the step status is Success. Review any logs by selecting the step and then clicking View Logs.

  6. If present, review the information in Next Steps. If there is a Click here to open to-do list link, click the link and then follow the instructions.

  7. After reviewing log files and Next Steps, click Finish.

    Important

    If you are publishing a topology after making changes to file shares and:
       the file share is provisioned for a newly defined file store that does not exist, OR
       the user account publishing in Topology Builder does not have the appropriate user rights and permissions to set permissions on the share
    Then, the topology publication process fails. Review the log files, correct the errors and republish. A common error is “Method failed with unexpected error code 2310”. Typically, this means that the file share does not exist or cannot be accessed. Correct the problem and then republish the topology.

To publish a topology after a server role or file share is removed or modified using the Management Shell

  1. Log on to the computer where Lync Server Management Shell is installed as a member of the RTCUniversalServerAdmins group or with the necessary user rights as described in Delegate Setup Permissions.

  2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.

    Warning

    The following cmdlets are provided here for reference, but it is highly recommended that you use Topology Builder to publish a new topology.

  3. First, retrieve the topology. In the Lync Server Management Shell, type:

    Get-CsTopology -AsXML | Out-File C:\Topologies\Topology.xml
    
  4. Next, publish the XML file as the new topology. In the Lync Server Management Shell, type:

    Publish-CsTopology -FileName "C:\Topology\Topology.xml"
    
  5. Now that the topology has been published, enable the topology. In the Lync Server Management Shell, type:

    Enable-CsTopology