{"id":209613,"date":"2021-01-25T09:08:58","date_gmt":"2021-01-25T01:08:58","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=209613"},"modified":"2021-01-20T15:09:20","modified_gmt":"2021-01-20T07:09:20","slug":"ad-transfer-roles","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/ad-transfer-roles.html","title":{"rendered":"AD\u57df\u63a7\u4e2d\u5982\u4f55\u8f6c\u79fb\u4e94\u5927\u89d2\u8272"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u672c\u6587\u4e2d\u5c06\u63a2\u8ba8\u5982\u4f55\u5c06FSMO\u89d2\u8272\u4ece\u4e00\u53f0\u670d\u52a1\u5668\u8f6c\u79fb\u5230\u53e6\u4e00\u53f0\u670d\u52a1\u5668\u3002\u6211\u5c06\u5728cmd\u547d\u4ee4\u884c\u548cPowerShell\u547d\u4ee4\u884c\u4e2d\u8fdb\u884c\u6b64\u64cd\u4f5c\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u7cfb\u7edf\u73af\u5883<\/strong><\/div>\n
    \n
  • \u7cfb\u7edf\uff1aWindows Server 2012 R2 Std<\/li>\n
  • \u57df\u540d\uff1aexample.com<\/li>\n<\/ul>\n

    \u73af\u5883\u4e2d\u6709\u4e24\u53f0\u7cfb\u7edf\u3002DC\u548cDC2\uff0c\u672c\u6587\u5c06DC\u4e2d\u7684\u4e94\u5927\u89d2\u8272\u8f6c\u79fb\u5230DC2\u3002<\/p>\n

    \u5728cmd\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528ntdsutil\u547d\u4ee4<\/strong><\/div>\n

    \u9996\u5148\u67e5\u770b\u4e94\u4e2a\u89d2\u8272\u5728\u54ea\u53f0\u670d\u52a1\u5668\u4e0a\u9762\uff1a<\/p>\n

    \r\n> netdom query fsmo\r\n<\/pre>\n

    \"\"
    \n\u5728\u4e3b\u57df\u63a7\u548c\u8f85\u52a9\u57df\u63a7\u90fd\u6b63\u5e38\u8fd0\u884c\u7684\u65f6\u5019 \u89d2\u8272\u8fc1\u79fb\uff0c\u4f7f\u7528Transfer\uff1a<\/p>\n

    \r\n>ntdsutil\r\nntdsutil: roles\r\nfsmo maintenance: connections\r\nserver connections: connect to server DC2 \/\/\u8fde\u63a5\u5230\u8f85\u52a9\u57df\u63a7\u5236\u5668\r\nserver connections: q \/\/quit to up level \u8fd4\u56de\u5230\u4e0a\u4e00\u7ea7\r\nfsmo maintence: transfer naming master\r\nfsmo maintence: transfer PDC\r\nfsmo maintence: transfer RID master\r\nfsmo maintence: transfer schema master\r\nfsmo maintence: transfer infrastructure master\r\n<\/pre>\n

    \"\"
    \n\u540e\u9762\u56db\u4e2a\u89d2\u8272\u540c\u6837\u9009\u62e9Yes\uff0c\u786e\u8ba4\u8f6c\u79fb\u3002<\/p>\n

    \u5b8c\u6210\u8f6c\u79fb\u4e4b\u540e\uff0c\u518d\u6765\u4f7f\u7528netdom<\/code>\u67e5\u770b\u4e00\u4e0b\u4e94\u4e2a\u89d2\u8272\u6240\u5728\u7684\u670d\u52a1\u5668\u3002<\/p>\n

    \r\n> netdom query fsmo\r\n<\/pre>\n

    \"\"
    \nTips: \u5982\u679c\u4e3b\u57df\u63a7Down\u4e86\u3002\u5728\u8f85\u52a9\u57df\u63a7\u5236\u5668\u4e2d\u5f3a\u5360\u4e94\u4e2a\u89d2\u8272\uff0c\u540c\u6837\u4f7f\u7528\u4e0a\u9762\u7684\u547d\u4ee4\u8fdb\u884c\u8f6c\u79fb\uff0c\u53ea\u662f\u5c06Transfer<\/code>\u547d\u4ee4\u66ff\u6362\u4e3aSeize<\/code>\u3002<\/p>\n

    \u5728PS\u4e2d\u4f7f\u7528Move-ADDirectoryServerOperationMasterRole\u547d\u4ee4<\/strong><\/div>\n

    \u8981\u5c065\u4e2a\u89d2\u8272\u8f6c\u79fb\u5230\u53e6\u4e00\u4e2a\u57df\u63a7\u5236\u5668\uff0c\u53ef\u4ee5\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002\u5176\u4e2d-Identity<\/code>\u6307\u5b9a\u8f85\u52a9\u57df\u63a7\u5236\u5668\uff0c-OperationMasterRole<\/code>\u6307\u5b9a\u9700\u8981\u8f6c\u79fb\u7684\u89d2\u8272\u3002-force<\/code>\u5f3a\u5236\u6267\u884c\uff0c\u5f53\u4e3b\u57df\u63a7\u5236\u5668Down\u6389\uff0c-force<\/code>\u9009\u9879\u5728\u8f85\u52a9\u57df\u63a7\u5236\u5668\u4e2d\u5c31\u6d3e\u4e0a\u7528\u573a\u4e86\u3002<\/p>\n

    \r\n> Move-ADDirectoryServerOperationMasterRole -Identity DC2 -OperationMasterRole 0,1,2,3,4 -force\r\n<\/pre>\n

    \"\"
    \n\u6267\u884cntdsutil\u547d\u4ee4\uff0c\u53ef\u4ee5\u770b\u5230\u4e94\u4e2a\u89d2\u8272\u5df2\u7ecf\u8f6c\u79fb\u5230DC2\u4e86\u3002
    \n\"\"
    \n\u4e0b\u9762\u8be6\u7ec6\u5217\u51fa\u4e86\u4e94\u4e2aFSMO\u89d2\u8272\u5bf9\u5e94\u76840,1,2,3,4\u4e94\u4e2a\u5e8f\u53f7\u3002<\/p>\n

      \n
    • PDC Emulator \u2013 0<\/li>\n
    • RID Master \u2013 1<\/li>\n
    • Infrastructure Master \u2013 2<\/li>\n
    • Schema Master \u2013 3<\/li>\n
    • Domain Naming Master \u2013 4<\/li>\n<\/ul>\n
      \u603b\u7ed3<\/strong><\/div>\n

      \u672c\u6587\u4e2d\u5c06\u63a2\u8ba8\u5982\u4f55\u5c06FSMO\u89d2\u8272\u4ece\u4e00\u53f0\u670d\u52a1\u5668\u8f6c\u79fb\u5230\u53e6\u4e00\u53f0\u670d\u52a1\u5668\u3002\u6211\u5c06\u5728cmd\u547d\u4ee4\u884c\u548cPowerShell\u547d\u4ee4\u884c\u4e2d\u8fdb\u884c\u6b64\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

      \u7cfb\u7edf\uff1aWindows Server 2012 R2 Std \u57df\u540d\uff1aexample.com \u73af\u5883\u4e2d\u6709\u4e24\u53f0\u7cfb\u7edf\u3002D […]<\/p>\n","protected":false},"author":309,"featured_media":209614,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-209613","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/209613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=209613"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/209613\/revisions"}],"predecessor-version":[{"id":209621,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/209613\/revisions\/209621"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/209614"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=209613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=209613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=209613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}