{"id":19,"date":"2011-09-27T12:27:39","date_gmt":"2011-09-27T11:27:39","guid":{"rendered":"http:\/\/blogs.oucs.ox.ac.uk\/nexus\/?p=19"},"modified":"2011-09-27T12:27:39","modified_gmt":"2011-09-27T11:27:39","slug":"schema-update","status":"publish","type":"post","link":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/2011\/09\/27\/schema-update\/","title":{"rendered":"Schema update"},"content":{"rendered":"<p>It is a prerequisite for Exchange 2010 that we upgrade the Active Directory schema. Quite simply, without a schema update we can&#8217;t install the product. But other maintenance work we&#8217;ve done in recent months, such as that taken to resolve hidden PDFs sent from a Mac, necessitated a schema update too.<\/p>\n<p>In an ideal world this would have meant we were saved a task &#8211; being fully up-to-date on Exchange 2007 \u00a0should save us from further updating tasks. But no, it has actually painted us into a corner.<a href=\"http:\/\/blogs-new.it.ox.ac.uk\/nexus\/files\/2011\/09\/painted-into-corner2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29 alignright\" src=\"http:\/\/blogs-new.it.ox.ac.uk\/nexus\/files\/2011\/09\/painted-into-corner2.jpg\" alt=\"\" width=\"140\" height=\"182\" srcset=\"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/files\/2011\/09\/painted-into-corner2.jpg 250w, https:\/\/blogs-new.it.ox.ac.uk\/nexus\/files\/2011\/09\/painted-into-corner2-230x300.jpg 230w\" sizes=\"auto, (max-width: 140px) 100vw, 140px\" \/><\/a> The original release of Exchange 2010 used a schema version that is now below the level we&#8217;re operating on. So the original &#8216;release to manufacturing&#8217; version of Exchange 2010 can no longer be installed here because of the service packs we&#8217;ve applied. Here&#8217;s how it has worked out:<\/p>\n<blockquote><p><strong>Schema versions<\/strong><\/p><\/blockquote>\n<blockquote><p>2007 SP3 14625 11222 11221<br \/>\n2010 RTM 14622 12640 12639<br \/>\n2010 SP1 14726 13214 13040<\/p><\/blockquote>\n<p>It&#8217;s only the &#8216;rangeupper&#8217; value that we&#8217;re interested in right now. This is the first of the three number strings shown for each version above \u2013 our current \u2018range upper\u2019 value is 14625 \u00a0&#8211; and as you can see it&#8217;s higher than the un-updated version on Exchange 2010.<br \/>\nSo we&#8217;ll actually be deploying straight to the most current version of Exchange 2010. Currently it&#8217;s Service Pack 1\u00a0 Update Rollup 5 but it&#8217;s probable that <a href=\"http:\/\/blogs.technet.com\/b\/exchange\/archive\/2011\/08\/30\/exchange-server-2010-sp2-and-support-for-hosting-exchange.aspx\" target=\"_blank\">Service Pack 2<\/a> will be released before we get too far.<\/p>\n<p>Meanwhile, back to the task at hand. Fortunately it&#8217;s pretty easy to update the schema:<\/p>\n<ol>\n<li>From a command prompt, check the current rangeupper value is what you&#8217;d expect. You can check with <strong>adsiedit<\/strong> but I just used <strong>dsquery<\/strong> as it&#8217;s faster:<br \/>\n<h6><span style=\"color: #008000\">dsquery * CN=ms-Exch-Schema-Version-Pt,cn=schema,cn=configuration,dc=<span style=\"color: #ff0000\">domainname<\/span>,dc=ox,dc=ac,dc=uk -scope base -attr rangeUpper<\/span><\/h6>\n<\/li>\n<li>From the Exchange 2010 SP1 media, run <strong>setup.com<\/strong> with the \u2018prepareschema\u2019 (or \u2018ps\u2019) switch. The command has a stop-me-if-you-want-to-cancel mode:\u00a0 just wait and it&#8217;ll proceed by itself:\n<p><a href=\"http:\/\/blogs-new.it.ox.ac.uk\/nexus\/files\/2011\/09\/ps1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30 alignnone\" src=\"http:\/\/blogs-new.it.ox.ac.uk\/nexus\/files\/2011\/09\/ps1.jpg\" alt=\"\" width=\"450\" height=\"252\" srcset=\"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/files\/2011\/09\/ps1.jpg 500w, https:\/\/blogs-new.it.ox.ac.uk\/nexus\/files\/2011\/09\/ps1-300x168.jpg 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/li>\n<li><\/li>\n<li>Run dsquery again \u2013 the rangeupper value should now be 14726.<\/li>\n<li>Er, that\u2019s it.<\/li>\n<\/ol>\n<p>This is one of those jobs that <em>should<\/em> be uneventful &#8211; but one with mammoth repercussions if it broke Active Directory&#8230;<br \/>\nBy getting it out of the way early it&#8217;s one less issue that could cause a loss of service when the big rollout starts.<\/p>\n<ol><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>It is a prerequisite for Exchange 2010 that we upgrade the Active Directory schema. Quite simply, without a schema update we can&#8217;t install the product. But other maintenance work we&#8217;ve done in recent months, such as that taken to resolve &hellip; <a href=\"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/2011\/09\/27\/schema-update\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":107,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/users\/107"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":14,"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/posts\/19\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs-new.it.ox.ac.uk\/nexus\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}