active-directory – 如何在USN回滚后保存域控制器而不重建整个服务器?

今天我(再次……)对一个遭受了可怕的 USN rollback的域控制器进行了分类.此问题的标准解决方案是降级它然后再次将其推回,但主要问题是,降级不起作用,因为USN回滚条件阻止任何复制发生,因此不允许DC被降级执行其最终复制并优雅地死亡.通常,您最终会关闭服务器,从Active Directory中删除对它的任何引用,然后从头重新安装Windows.

但是,您可能在该服务器上有其他软件或数据;或者,如果降级就足够了,你可能根本不想完全重建它.

所以,我的问题是:如何成功降级遭受USN回滚的域控制器?

我尝试了什么:

我将服务器从网络中隔离出来,启动了降级过程,当被问到时,告诉它它是域中的最后一个DC;但它仍然抱怨这不是真的.

所以我从其Active Directory副本中删除了所有其他DC,然后执行与上面相同的操作;但是即使这次再次失败,还有一个关于无法复制目录分区的错误(对谁来说?它本来应该是唯一的DC!).

解决方法

TL; DR:dcpromo / forceremoval.

直接从AskDS博客:

To correct this situation we need to do the following on the DC that
has the roll back issue.

1) Forcefully demote the DC by running dcpromo /forceremoval. This
will remove AD from the server without attempting to replicate any
changes off. Once it is done and you reboot the server and it will be
a standalone serve in a workgroup.

2) Run a metadata cleanup of the DC that was demoted per KB article
216498 on one of the replication partners.

3) If the demoted server held any of the FSMO (Flexible Single Master
Operations) roles then use the KB article 255504 to seize the roles to
another DC.

4) Once replication has occurred end to end in your environment you
can rejoin the demoted server back to the domain then promote to a DC.

当你这样做时,你可能会在脚下开枪:

I isolated the server from the network,launched the demote process
and,when asked,told it it was the last DC in the domain; but it
still complained about this not being true.

So I removed all other DCs from its copy of the Active Directory,and
then did the same as above; but even this failed again,with an error
about being unable to replicate a directory partition (to who? It was
supposed to be the only DC around!).

如果我上面粘贴的建议不起作用,你可能应该给MS打一个支持电话(并祈祷他们在你做完之后仍会支持你.)

编辑:为了清楚,你的标题问题的答案,“如何在USN回滚后保存域控制器?”是“你没有.”

我的意思是,你不必完全重建机器,(尽管包括我在内的大多数人会建议你),但它作为DC的使用目前已经结束了.强制从中删除AD,从域中取消它,在域的剩余部分清除元数据,完全复制并确保域健康,然后重新加入,最后重新启动.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


html5中section的用法
span标签和p标签的区别
jsp文件和html文件的区别是什么
span标签和div的区别
html颜色代码表大全
span标签的作用是什么
dhtml的主要组成部分包括什么
html编辑器哪个软件好用
span标签属于什么样式标签
html文件乱码怎么办
html怎么读取json文件
html文件打开乱码怎么恢复原状
html怎么链接外部css
html文件怎么保存到本地
html怎么链接css文件
html和css怎么连接
html和css怎么关联
html文件怎么保存到一个站点
html文件怎么写
html出现乱码怎么解决