对于基于域的命名空间,Windows Server 2008 模式包括支持执行基于访问的枚举和增强可伸缩性。
将基于域的命名空间迁移到 Windows Server 2008 模式
若要将基于域的命名空间从 Windows 2000 Server 模式迁移到 Windows Server 2008 模式,必须将该命名空间导出到文件,删除该命名空间,并在 Windows Server 2008 模式下重新创建它,然后导入命名空间字符串。 为此,请按照以下过程操作:
Open a Command Prompt window and type the following command to export the namespace to a file, where \\domain\namespace is the name of the appropriate domain, and namespace and path\filename is the path and file name of the file for export:
Dfsutil root export \\domain\namespace path\filename.xml
Write down the path ( \\server \share ) for each namespace server. 你必须将命名空间服务器手动添加到重新创建的命名空间,因为 Dfsutil 无法导入命名空间服务器。
In DFS Management, right-click the namespace and then click Delete, or type the following command at a command prompt,
where \\domain\namespace is the name of the appropriate domain and namespace:Dfsutil root remove \\domain\namespace
在 DFS 管理中,重新创建具有相同名称但使用 Windows Server 2008 模式的命名空间,或在命令提示符处键入以下命令,其中
\\server\namespace is the name of the appropriate server and share for the namespace root:Dfsutil root adddom \\server\namespace v2
若要从导出文件导入命名空间,请在命令提示符处键入以下命令,其中
\\domain\namespace is the name of the appropriate domain and namespace and path\filename is the path and file name of the file to import:Dfsutil root import merge path\filename.xml \\domain\namespace
Note
To minimize the time required to import a large namespace, run the Dfsutil root import command locally on a namespace server.
可以通过在 DFS 管理中右键单击命名空间,然后单击“添加命名空间服务器”,将剩余的命名空间服务器添加到重新创建的命名空间中,也可以在命令提示符处键入以下命令,其中
\\server\share is the name of the appropriate server and share for the namespace root:Dfsutil target add \\server\share
Note
你可以在导入命名空间前添加命名空间服务器,但是,这样做可能会导致命名空间服务器以增量方式下载该命名空间的元数据,而不是在添加为命名空间服务器后立即下载整个命名空间。