<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">PFE LatinAmerica &amp;amp; ISS</title><subtitle type="html">Este Blog está dedicado a todo aquel interesado en tecnología Microsoft, y con deseos de aprender de la experiencia y vivencias de los PFES de Latinoamerica y del grupo de Incubation Support &amp;amp; Services (ISS)</subtitle><id>http://blogs.technet.com/b/pfelatam/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/" /><link rel="self" type="application/atom+xml" href="http://blogs.technet.com/b/pfelatam/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2013-04-09T23:31:03Z</updated><entry><title>Obtendo Pastas Utilizando o WebService Lists.ASMX do SharePoint 2010</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/05/24/obtendo-pastas-utilizando-o-webservice-lists-asmx-do-sharepoint-2010.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/05/24/obtendo-pastas-utilizando-o-webservice-lists-asmx-do-sharepoint-2010.aspx</id><published>2013-05-24T02:01:53Z</published><updated>2013-05-24T02:01:53Z</updated><content type="html">&lt;p style="text-align: justify;" align="justify"&gt;Lendo um post no f&amp;oacute;rum do MSDN com o t&amp;iacute;tulo &lt;a href="http://social.msdn.microsoft.com/Forums/pt-BR/sharepointpt/thread/b5d622a1-96d7-4f4b-9e17-05fc365c15d4"&gt;Recuperar ID de pasta na Biblioteca usando Web Services&lt;/a&gt; fiquei curioso com o problema reportado, que era conseguir consultar uma pasta do SharePoint passando o nome dela e retornando o ID, utilizando o webservice Lists.ASMX.&lt;/p&gt;
&lt;p style="text-align: justify;" align="justify"&gt;Este post tem um exemplo de como implementar esta necessidade.&lt;/p&gt;
&lt;p&gt;&lt;a class="more-link" href="http://fabiangehrke.com.br/2013/05/19/obtendo-pastas-utilizando-o-webservice-lists-asmx-do-sharepoint-2010/#more-1640"&gt;Leia o resto deste post &amp;raquo;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3574560" width="1" height="1"&gt;</content><author><name>Fabian André Gehrke</name><uri>http://blogs.technet.com/f_5F00_gehrke_4000_ig.com.br/ProfileUrlRedirect.ashx</uri></author><category term="Portuguese" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Portuguese/" /><category term="SharePoint" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SharePoint/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /><category term="Development" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Development/" /></entry><entry><title>Editando o E-mail da Tarefa Atribuída do Processo de Aprovação do Workflow do SharePoint 2010</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/05/24/editando-o-e-mail-da-tarefa-atribu-237-da-do-processo-de-aprova-231-227-o-do-workflow-do-sharepoint-2010.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/05/24/editando-o-e-mail-da-tarefa-atribu-237-da-do-processo-de-aprova-231-227-o-do-workflow-do-sharepoint-2010.aspx</id><published>2013-05-24T01:56:00Z</published><updated>2013-05-24T01:56:00Z</updated><content type="html">&lt;p align="justify"&gt;O workflow do SharePoint 2010 &amp;eacute; muito rico em detalhes que muitas vezes s&amp;atilde;o inexplorados. Um deles &amp;eacute; o processo de aprova&amp;ccedil;&amp;atilde;o, que nos permite customizar a intera&amp;ccedil;&amp;atilde;o do usu&amp;aacute;rio com as tarefas de workflow de uma forma mais rica.&lt;/p&gt;
&lt;p align="justify"&gt;Neste post vou mostrar como editar o e-mail de tarefa atribu&amp;iacute;da que o workflow envia, mas o conte&amp;uacute;do deste post pode ser utilizado em outras customiza&amp;ccedil;&amp;otilde;es desta atividade.&lt;/p&gt;
&lt;p&gt;&lt;a class="more-link" href="http://fabiangehrke.com.br/2013/05/19/editando-o-email-da-tarefa-atribuda-do-processo-de-aprovao-do-workflow-do-sharepoint-2010/#more-1662"&gt;Leia o resto deste post &amp;raquo;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3574553" width="1" height="1"&gt;</content><author><name>Fabian André Gehrke</name><uri>http://blogs.technet.com/f_5F00_gehrke_4000_ig.com.br/ProfileUrlRedirect.ashx</uri></author><category term="Portuguese" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Portuguese/" /><category term="SharePoint" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SharePoint/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /><category term="SharePoint 2013" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SharePoint+2013/" /><category term="Workflow" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Workflow/" /></entry><entry><title>Crear una Topología de Búsqueda en SharePoint 2013</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/05/10/crear-una-topolog-237-a-de-b-250-squeda-en-sharepoint-2013.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/05/10/crear-una-topolog-237-a-de-b-250-squeda-en-sharepoint-2013.aspx</id><published>2013-05-10T18:33:00Z</published><updated>2013-05-10T18:33:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Como ustedes deben recordar en SharePoint 2010 usted pod&amp;iacute;a utilizar la interfaz gr&amp;aacute;fica para crear o&amp;nbsp; re configurar su topolog&amp;iacute;a de B&amp;uacute;squeda empresarial, utilizando la administraci&amp;oacute;n de la aplicaci&amp;oacute;n de servicio de B&amp;uacute;squeda.&amp;nbsp; En dicha interfaz gr&amp;aacute;fica usted puede crear, editar o remover cualquiera de los siguientes componentes:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Componente de Administraci&amp;oacute;n&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Componente de Rastreo (Crawl)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Bases de datos de rastreo&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Componente de Consultas (Query)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Particiones del &amp;iacute;ndice.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Y era muy f&amp;aacute;cil para los administradores utilizar cualquiera de los servidores de la graja y de esta forma configurar la mejor topolog&amp;iacute;a de B&amp;uacute;squeda empresarial basados en sus requerimientos de negocio.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Una de las cosas que las personas m&amp;aacute;s me comentan es que utilizar la interfaz gr&amp;aacute;fica para configurar la topolog&amp;iacute;a es realmente f&amp;aacute;cil, pero si uno comete alg&amp;uacute;n error configurando alg&amp;uacute;n par&amp;aacute;metro o tiene alg&amp;uacute;n otro problema en la granja, y al finalizar de configurar la topolog&amp;iacute;a empresarial de B&amp;uacute;squeda, y hacer clic en el bot&amp;oacute;n de aplicar los cambios, luego de un buen rato aparece un error y las mayor&amp;iacute;a de los cambios realizados no se mantienen.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;El anterior problema es una buena raz&amp;oacute;n para configurar su topolog&amp;iacute;a empresarial de B&amp;uacute;squeda con Power Shell, porque usted tiene toda la flexibilidad de crear y re configurar los componentes,&amp;nbsp; y esto puede ayudar a identificar problemas en su granja o topolog&amp;iacute;a antes de que finalice de configurar en su totalidad esta.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Tambi&amp;eacute;n es importante mencionar que algunos administradores de SharePoint le temen administrar SharePoint con Power Shell, por qu&amp;eacute; piensas que est&amp;aacute;n pas&amp;aacute;ndose al lado de desarrollo y ellos solo quieren ser profesionales de infraestructura.&amp;nbsp; Pero lo que deben saber es que Microsoft est&amp;aacute; invirtiendo en utilizar Power Shell en la mayor&amp;iacute;a de sus productos con el fin de ofrecer una sola forma de administrarlos a todos y facilitar y flexibilizar las tareas de infraestructura.&amp;nbsp; Yo espero que este blog ayude a aquellos administradores a quitarse ese concepto de la mente.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Es de saber para las personas que ya est&amp;aacute;n trabajando con SharePoint 2013, que la &amp;uacute;nica v&amp;iacute;a para configurar la topolog&amp;iacute;a de b&amp;uacute;squeda es atreves de Power Shell y sus cmdlets disponibles para crear los nuevo y poderosos componentes del nuevo servicio empresarial de B&amp;uacute;squeda de SharePoint 2013. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;El prop&amp;oacute;sito de esta entrada de blog es mostrar algunos ejemplos de c&amp;oacute;mo crear una topolog&amp;iacute;a de B&amp;uacute;squeda empresarial en SharePoint 2013, obviamente utilizando Power Shell, pero no solo mencionando que cmdlets utilizar, sino tambi&amp;eacute;n como podr&amp;iacute;an automatizar esta labor y as&amp;iacute; poder repetir estos pasos las veces que sean necesarias y utilizarlos en otras implementaciones de SharePoint 2013, y adicionalmente ayudar a los administradores de SharePoint a perder ese miedo en utilizar Power Shell para administrar SharePoint.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Todos los cmdlets utilizados en esta entrada de blog est&amp;aacute;n basados en el siguiente documento de TechNet:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Manage search components in SharePoint Server 2013&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/jj862354.aspx" target="_blank"&gt;&lt;span style="color: #0563c1; font-size: small;"&gt;http://technet.microsoft.com/en-us/library/jj862354.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Si usted no ha le&amp;iacute;do el anterior documento, yo recomiendo que lo haga o lo tome como referencia para la lectura de esta entrada.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;A continuaci&amp;oacute;n voy a resumir los pasos para crea una nueva topolog&amp;iacute;a de B&amp;uacute;squeda en SharePoint 2013, y los cuales son mencionados en el anterior documento:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Iniciar la instancia de servicio de b&amp;uacute;squeda&lt;/strong&gt;: Recuerde que si quiere habilitar un servidor para que sea utilizado en la topolog&amp;iacute;a de B&amp;uacute;squeda debe antes iniciar el servicio de b&amp;uacute;squeda en dicho servidor.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Obtener la referencia de la topolog&amp;iacute;a de b&amp;uacute;squeda activa&lt;/strong&gt;: Existen 2 opciones, la primera es crear una topolog&amp;iacute;a de b&amp;uacute;squeda vac&amp;iacute;a, o la segunda es clonar la actual topolog&amp;iacute;a de b&amp;uacute;squeda y modificarla, en este caso vamos a asumir que vamos a utilizar la actual topolog&amp;iacute;a para modificarla.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Clonar la topolog&amp;iacute;a de b&amp;uacute;squeda activa&lt;/strong&gt;: Como se mencion&amp;oacute; anteriormente vamos a clonar la topolog&amp;iacute;a para despu&amp;eacute;s modificarla. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Adicionar o remover componentes de b&amp;uacute;squeda&lt;/strong&gt;: Cuando clonamos la topolog&amp;iacute;a podemos modificarla adicion&amp;aacute;ndole o removi&amp;eacute;ndole componentes de tal forma que creemos la nueva deseada.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Activar la nueva topolog&amp;iacute;a de b&amp;uacute;squeda&lt;/strong&gt;: Finalmente despu&amp;eacute;s de terminar de modificar la topolog&amp;iacute;a debemos definir esta como activa.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Como se puede ver existen varios pasos a realizar y por lo tanto varios comandos de Power Shell deben ser ejecutados, por esta raz&amp;oacute;n he creado las siguientes funciones que nos permitir&amp;aacute;n facilitar la creaci&amp;oacute;n de la topolog&amp;iacute;a de b&amp;uacute;squeda.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;GetOrStartSearchServiceInstance&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;La siguiente funci&amp;oacute;n permite identificar si un servidor tiene el servicio de b&amp;uacute;squeda indicado, si no es as&amp;iacute; lo inicia.&lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: darkblue;"&gt;function&lt;/span&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: blueviolet;"&gt;GetOrStartSearchServiceInstance&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$Server&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$startInstance&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: orangered;"&gt;$false&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchServiceInstance&lt;/span&gt; &lt;span style="color: navy;"&gt;-Identity&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Server&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;if&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt; &lt;span style="color: darkgray;"&gt;-ne&lt;/span&gt; &lt;span style="color: orangered;"&gt;$null&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;if&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Status &lt;span style="color: darkgray;"&gt;-ne&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Online"&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$startInstance&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: orangered;"&gt;$true&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$startInstance&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: orangered;"&gt;$true&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;if&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$startInstance&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Start-SPEnterpriseSearchServiceInstance&lt;/span&gt; &lt;span style="color: navy;"&gt;-Identity&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;return&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;En este caso la forma de llamar esta funci&amp;oacute;n ser&amp;aacute;:&lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: blue;"&gt;GetOrStartSearchServiceInstance&lt;/span&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: navy;"&gt;-Server&lt;/span&gt; &lt;span style="color: orangered;"&gt;&amp;ldquo;&amp;lt;server name&amp;gt;&amp;rdquo;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Como pudo ver en el documento de TechNet, para adicionar y remover un componente de b&amp;uacute;squeda se utilizan los siguientes cmdlets:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Remove-SPEnterpriseSearchComponent&lt;/strong&gt;: Remueve un componente especifico de la topolog&amp;iacute;a de b&amp;uacute;squeda.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;New-SPEnterpriseSearch&amp;lt;SearchComponent&amp;gt;Component&lt;/strong&gt;: Donde &amp;lt;SerachComponente&amp;gt; puede ser Admin, AnalyticsProcessing, ContentProcessing, Crawl and QueryProcessing.&amp;nbsp; Y sirven para crear un componente de la topolog&amp;iacute;a de b&amp;uacute;squeda.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;En el caso de &lt;strong&gt;New-SPEnterpriseSearch&amp;lt;SearchComponent&amp;gt;Component&lt;/strong&gt;, si usted entra en detalle a ver que par&amp;aacute;metros acepta, es posible para todos los cmdlets proveer 2 par&amp;aacute;metros b&amp;aacute;sicos los cuales son la topolog&amp;iacute;a y la instancia de servicio (es decir el servidor), es por esto que he creado la siguiente funci&amp;oacute;n la cual permite crear cualquiera de los componentes anteriormente mencionados en la cantidad de servidores necesarios.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Set-SPSearchComponents&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Esta funci&amp;oacute;n necesita los siguientes par&amp;aacute;metros:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;ServerType&lt;/strong&gt;: Es una cadena de caracteres que define el tipo de componente a crear, el cual puede ser: Admin, AnalyticsProcessing, ContentProcessing, Crawl or QueryProcessing.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;ServersStringArray&lt;/strong&gt;: Es una cadena de caracteres que contenga el nombre de los servidores donde se desea habilitar el tipo de componente de b&amp;uacute;squeda, estos deben estar separados por coma.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Topology&lt;/strong&gt;: Debe ser una variable de referencia a la topolog&amp;iacute;a de b&amp;uacute;squeda que se quiera modificar.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: darkblue;"&gt;function&lt;/span&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: blueviolet;"&gt;Set-SPSearchComponents&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ServersStringArray&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Topology&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Check if is a valid type of search component&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$validTypes&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; (&lt;span style="color: darkred;"&gt;"Admin"&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: darkred;"&gt;"AnalyticsProcessing"&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: darkred;"&gt;"ContentProcessing"&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Crawl"&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: darkred;"&gt;"QueryProcessing"&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;if&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$validTypes&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Contains(&lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt;) &lt;span style="color: darkgray;"&gt;-ne&lt;/span&gt; &lt;span style="color: orangered;"&gt;$true&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;throw&lt;/span&gt; &lt;span style="color: darkred;"&gt;"ServerType is not valid."&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Check server by server is need to Remove or Add&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+=&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Component"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$currentServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Topology&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;?&lt;/span&gt;{&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;GetType()&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Name &lt;span style="color: darkgray;"&gt;-eq&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Remove components&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;foreach&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$component&lt;/span&gt; &lt;span style="color: darkblue;"&gt;in&lt;/span&gt; &lt;span style="color: orangered;"&gt;$currentServers&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Remove-SPEnterpriseSearchComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-Identity&lt;/span&gt; &lt;span style="color: orangered;"&gt;$component&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Topology&lt;/span&gt; &lt;span style="color: darkgreen;"&gt;#-Confirm $true&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Add Components&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;foreach&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$server&lt;/span&gt; &lt;span style="color: darkblue;"&gt;in&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ServersStringArray&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Split(&lt;span style="color: darkred;"&gt;","&lt;/span&gt;))&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Check in search service instance is started, otherwise start it&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;GetOrStartSearchServiceInstance&lt;/span&gt; &lt;span style="color: navy;"&gt;-Server&lt;/span&gt; &lt;span style="color: orangered;"&gt;$server&lt;/span&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;switch&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"AdminComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchAdminComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"AnalyticsProcessingComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchAnalyticsProcessingComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"ContentProcessingComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchContentProcessingComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"CrawlComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchCrawlComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"QueryProcessingComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchQueryProcessingComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Show in the output the search components of the topology to see the modificatios made on.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Topology&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Un ejemplo para invocar esta funci&amp;oacute;n podria ser el siguiente: &lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"AnalyticsProcessing"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;&amp;ldquo;server1,server3&amp;rdquo;&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Finalmente para dar un gran ejemplo de c&amp;oacute;mo crear totalmente una topolog&amp;iacute;a empresarial de B&amp;uacute;squeda en SharePoint 2013, he creado la siguiente funci&amp;oacute;n, la cual hace uso de las anteriores.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;New-SPSearchTopology&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Para usar esta funci&amp;oacute;n se deben proveer los siguientes par&amp;aacute;metros:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;AdminServers&lt;/strong&gt;: Los servidores que desea utilizar que provean el componente de Admin.&amp;nbsp; Estos servidores deben estar en una cadena de caracteres separados por coma: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;AnalyticsServers&lt;/strong&gt;: Los servidores que desea utilizar que provean el componente de AnalyticsServers.&amp;nbsp; Estos servidores deben estar en una cadena de caracteres separados por coma: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;ContentServers&lt;/strong&gt;: Los servidores que desea utilizar que provean el componente de ContentServers.&amp;nbsp; Estos servidores deben estar en una cadena de caracteres separados por coma: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;CrawlServers&lt;/strong&gt;: Los servidores que desea utilizar que provean el componente de CrawlServers.&amp;nbsp; Estos servidores deben estar en una cadena de caracteres separados por coma: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;QueryServers&lt;/strong&gt;: Los servidores que desea utilizar que provean el componente de QueryServers.&amp;nbsp; Estos servidores deben estar en una cadena de caracteres separados por coma: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: darkblue;"&gt;function&lt;/span&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: blueviolet;"&gt;New-SPSearchTopology&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$AdminServers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ContentServers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$CrawlServers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$QueryServers&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$servers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AdminServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: darkred;"&gt;","&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: darkred;"&gt;","&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ContentServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: darkred;"&gt;","&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: orangered;"&gt;$CrawlServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: darkred;"&gt;","&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: orangered;"&gt;$QueryServers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Check the existence of the servers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;foreach&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$server&lt;/span&gt; &lt;span style="color: darkblue;"&gt;in&lt;/span&gt; &lt;span style="color: orangered;"&gt;$servers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Split(&lt;span style="color: darkred;"&gt;","&lt;/span&gt;))&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Get-SPServer&lt;/span&gt; &lt;span style="color: orangered;"&gt;$server&lt;/span&gt; &lt;span style="color: navy;"&gt;-ErrorAction&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Stop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Initialize variables&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$ssa&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchServiceApplication&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Clone search topology&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$activeTop&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchTopology&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchApplication&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ssa&lt;/span&gt; &lt;span style="color: navy;"&gt;-Active&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;New-SPEnterpriseSearchTopology&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchApplication&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ssa&lt;/span&gt; &lt;span style="color: navy;"&gt;-Clone&lt;/span&gt; &lt;span style="color: navy;"&gt;&amp;ndash;SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$activeTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Admin component&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Admin"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AdminServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Analytics servers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"AnalyticsProcessing"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Content&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"ContentProcessing"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Crawl&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Crawl"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Query&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"QueryProcessing"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Active Topology&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPEnterpriseSearchTopology&lt;/span&gt; &lt;span style="color: navy;"&gt;-Identity&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Un ejemplo para invocar esta funci&amp;oacute;n podria ser el siguiente:&lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: blueviolet;"&gt;New-SPSearchTopology&lt;/span&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: navy;"&gt;&amp;ndash;AdminServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server1,server2&amp;rdquo;&lt;/span&gt;&lt;span style="color: navy;"&gt; &amp;ndash;AnalyticsServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server1,server3&amp;rdquo;&lt;/span&gt;&lt;span style="color: navy;"&gt; &amp;ndash;ContentServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server2,server4&amp;rdquo;&lt;/span&gt;&lt;span style="color: navy;"&gt; &amp;ndash;CrawlServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server5,server6&amp;rdquo;&lt;/span&gt;&lt;span style="color: navy;"&gt; &amp;ndash;QueryServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server7,server8,server9&amp;rdquo;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Espero que esta entrada haya sido de ayuda para crear su nueva topolog&amp;iacute;a empresarial de B&amp;uacute;squeda en SharePoint 2013, y recuerde que no todas las consideraciones acerca del servicio empresarial de B&amp;uacute;squeda de SharePoint 2013 han sido tomadas en cuenta en este art&amp;iacute;culo, en el futuro espero escribirles acerca de:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Como detener el servicio de b&amp;uacute;squeda en los servidores no requeridos.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Mover la ubicaci&amp;oacute;n de los archivos de &amp;iacute;ndice.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Particiones del &amp;iacute;ndice.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Bases de datos de b&amp;uacute;squeda.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572000" width="1" height="1"&gt;</content><author><name>Julian DotNet</name><uri>http://blogs.technet.com/ranasoft_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Spanish" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Spanish/" /><category term="SharePoint" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SharePoint/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /><category term="Servicio de Busqueda" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Servicio+de+Busqueda/" /><category term="SharePoint 2013" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SharePoint+2013/" /><category term="Busqueda" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Busqueda/" /><category term="Topologia de Busqueda" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Topologia+de+Busqueda/" /></entry><entry><title>Create a Search Topology in SharePoint 2013</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/05/10/create-a-search-topology-in-sharepoint-2013.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/05/10/create-a-search-topology-in-sharepoint-2013.aspx</id><published>2013-05-10T15:28:00Z</published><updated>2013-05-10T15:28:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;As you may remember in SharePoint 2010 you had a specific user interface to create and reconfigure your enterprise Search topology, in the Search Service applications management.&amp;nbsp; There you can create, edit and remove the following components:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Admin component&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Crawl components&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Crawl databases&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Query components&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Partitions&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;And it was very easy by the administrator to use any server in their farm to configure the best enterprise Search topology for their business requirements.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;One thing than many people said to me was that the configuration was very easy with the UI, but if you put something wrong or your farm have any issue, when you finished to reconfigure your enterprise search topology, and you click in the button to apply all the changes, it takes a while and gives you an error and also you lose the majority of the changes that you made before. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;The above problem was a good reason to configure your enterprise search topology with Power Shell, because you have the flexibility to create and reconfigure the components one by one, it help you to identify issues in your farm regarding the search service before finish to define your enterprise search topology.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Also some Share Points administrators have afraid to manage SharePoint with Power Shell, because are thinking that are writing scripts so are developing things, and they may be don&amp;rsquo;t want to be a developers, only IT infrastructure guys.&amp;nbsp; But you must to know that the reason that Microsoft are integrating Power Shell in all our products is to try to standardize the way that you can manage the different services.&amp;nbsp; I hope this blog could help to those SharePoint administrators that have this concept in mind.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Now, for the people that are working with SharePoint 2013, knows that the only way to create or reconfigure your enterprise Search Topology is using the Power Shell cmdlets created for the new and powerful components of the SharePoint 2013 Enterprise Search Service Application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;The propose of this blog entry is to show you some examples to create an enterprise Search topology in SharePoint 2013, also with Power Shell, but not only to tell you the specific cmdlets that you must or can use to do this job, my objective is to try to automatize this work creating scripts that you can use in your different implementations of SharePoint 2013, also this can help the SharePoint administrators to lose their afraid when are using Power Shell to manage SharePoint.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;All the cmdlets that I use in this entry are based in the following TechNet document:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Manage search components in SharePoint Server 2013&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/jj862354.aspx" target="_blank"&gt;&lt;span style="color: #0563c1; font-size: small;"&gt;http://technet.microsoft.com/en-us/library/jj862354.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;If you didn&amp;rsquo;t read the above document, I recommend to you to do it or take as a reference for the cmdlets that you are going to see here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;I&amp;rsquo;m going to start to summarize the basics steps that you must to do when you want to create a new Enterprise search topology:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Start the search server instance&lt;/strong&gt;: Remember that you must to start the server instance in all servers that you want to use for a specific service application, in this case to create a new Search topology you must to start the service instance in the servers than you want to use in your topology.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Retrieve the active Search topology&lt;/strong&gt;: You have 2 options, first to create a new empty search topology or second to clone the active topology and modify them, in this case I assuming that we are creating a Search topology using some of the same components that the current topology have, so for this reason we are going to clone the active topology instead to create a new one, to do this you must to retrieve the current active Search topology.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Clone the active Search topology&lt;/strong&gt;: As I explained in the above step, we are going to clone the active Search topology.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Add or remove search components&lt;/strong&gt;: When we have a cloned Search topology we can remove or add components without affecting the active Search topology.&amp;nbsp; In this steps we are going to redistribute and use all the servers we defined in the first step.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Active the new Search topology&lt;/strong&gt;: Finally we need to set the modified Search topology as the active topology to begin to work whit it.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;As&amp;nbsp; you can see there are some steps that you must to do and in some cases you must to repeat them, for this reason I created the following power shell functions to help to create our Search topology.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;GetOrStartSearchServiceInstance&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;The following function help us to check if the search service instance is started in a specific sever and retrieve the reference to it, or start the service instances in the case that is wasn&amp;rsquo;t started.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: darkblue;"&gt;function&lt;/span&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: blueviolet;"&gt;GetOrStartSearchServiceInstance&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$Server&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$startInstance&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: orangered;"&gt;$false&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchServiceInstance&lt;/span&gt; &lt;span style="color: navy;"&gt;-Identity&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Server&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;if&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt; &lt;span style="color: darkgray;"&gt;-ne&lt;/span&gt; &lt;span style="color: orangered;"&gt;$null&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;if&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Status &lt;span style="color: darkgray;"&gt;-ne&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Online"&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$startInstance&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: orangered;"&gt;$true&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$startInstance&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: orangered;"&gt;$true&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;if&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$startInstance&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Start-SPEnterpriseSearchServiceInstance&lt;/span&gt; &lt;span style="color: navy;"&gt;-Identity&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;return&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serverIns&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;In this case you provide to the function a server name and the function retrieve a search service instance, you must to call it in the following way:&lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: blue;"&gt;GetOrStartSearchServiceInstance&lt;/span&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: navy;"&gt;-Server&lt;/span&gt; &lt;span style="color: orangered;"&gt;&amp;ldquo;&amp;lt;server name&amp;gt;&amp;rdquo;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;As you can saw in the TechNet document, to add and remove the search component we use the following functions:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Remove-SPEnterpriseSearchComponent&lt;/strong&gt;: To remove a specific Search topology component.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;New-SPEnterpriseSearch&amp;lt;SearchComponent&amp;gt;Component&lt;/strong&gt;: Where &amp;lt;SearchComponent&amp;gt; could be Admin, AnalyticsProcessing, ContentProcessing, Crawl and QueryProcessing.&amp;nbsp; To create a new Search topology component.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;In the case of &lt;strong&gt;New-SPEnterpriseSearch&amp;lt;SearchComponent&amp;gt;Component&lt;/strong&gt;, you can dig in deep and see that you can use the same basic parameters: the Search topology and the search service instance, for that reason I created the following function to help create and remove the specific components on a the specific servers.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Set-SPSearchComponents&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;This functions needs the following parameters:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;ServerType&lt;/strong&gt;: Is a string that define the component to add or remove, can be: Admin, AnalyticsProcessing, ContentProcessing, Crawl or QueryProcessing.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;ServersStringArray&lt;/strong&gt;: The servers that you want to use to host the specific search component.&amp;nbsp; This servers must be separated by coma, for example: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Topology&lt;/strong&gt;: The reference to the Search topology that you want to modify to add or remove the componets.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: darkblue;"&gt;function&lt;/span&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: blueviolet;"&gt;Set-SPSearchComponents&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ServersStringArray&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Topology&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Check if is a valid type of search component&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$validTypes&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; (&lt;span style="color: darkred;"&gt;"Admin"&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: darkred;"&gt;"AnalyticsProcessing"&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: darkred;"&gt;"ContentProcessing"&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Crawl"&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: darkred;"&gt;"QueryProcessing"&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;if&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$validTypes&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Contains(&lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt;) &lt;span style="color: darkgray;"&gt;-ne&lt;/span&gt; &lt;span style="color: orangered;"&gt;$true&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;throw&lt;/span&gt; &lt;span style="color: darkred;"&gt;"ServerType is not valid."&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Check server by server is need to Remove or Add&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+=&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Component"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$currentServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Topology&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;?&lt;/span&gt;{&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;GetType()&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Name &lt;span style="color: darkgray;"&gt;-eq&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Remove components&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;foreach&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$component&lt;/span&gt; &lt;span style="color: darkblue;"&gt;in&lt;/span&gt; &lt;span style="color: orangered;"&gt;$currentServers&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Remove-SPEnterpriseSearchComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-Identity&lt;/span&gt; &lt;span style="color: orangered;"&gt;$component&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Topology&lt;/span&gt; &lt;span style="color: darkgreen;"&gt;#-Confirm $true&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Add Components&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;foreach&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$server&lt;/span&gt; &lt;span style="color: darkblue;"&gt;in&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ServersStringArray&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Split(&lt;span style="color: darkred;"&gt;","&lt;/span&gt;))&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Check in search service instance is started, otherwise start it&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;GetOrStartSearchServiceInstance&lt;/span&gt; &lt;span style="color: navy;"&gt;-Server&lt;/span&gt; &lt;span style="color: orangered;"&gt;$server&lt;/span&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;switch&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$ServerType&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"AdminComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchAdminComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"AnalyticsProcessingComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchAnalyticsProcessingComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"ContentProcessingComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchContentProcessingComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"CrawlComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchCrawlComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkred;"&gt;"QueryProcessingComponent"&lt;/span&gt; {&lt;span style="color: blue;"&gt;New-SPEnterpriseSearchQueryProcessingComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchServiceInstance&lt;/span&gt; &lt;span style="color: orangered;"&gt;$serIns&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Show in the output the search components of the topology to see the modificatios made on.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchComponent&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$Topology&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;An example to use this function could be:&lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"AnalyticsProcessing"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;&amp;ldquo;server1,server3&amp;rdquo;&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Finally to give you a mainly example to create a SharePoint 2013 Enterprise Search Topology, I written the following function using the functions mentioned above.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;New-SPSearchTopology&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;To use this function must to pass the following parameters:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;AdminServers&lt;/strong&gt;: The servers that you want to use to host the Admin search component.&amp;nbsp; This servers must be separated by coma, for example: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;AnalyticsServers&lt;/strong&gt;: The servers that you want to use to host the Analytics Processing search component.&amp;nbsp; This servers must be separated by coma, for example: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;ContentServers&lt;/strong&gt;: The servers that you want to use to host the Content Processing search component.&amp;nbsp; This servers must be separated by coma, for example: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;CrawlServers&lt;/strong&gt;: The servers that you want to use to host the Crawl search component.&amp;nbsp; This servers must be separated by coma, for example: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;QueryServers&lt;/strong&gt;: The servers that you want to use to host the Query search component.&amp;nbsp; This servers must be separated by coma, for example: &amp;ldquo;server1,server2,server3&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: darkblue;"&gt;function&lt;/span&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: blueviolet;"&gt;New-SPSearchTopology&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$AdminServers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ContentServers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$CrawlServers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; &lt;span style="color: orangered;"&gt;$QueryServers&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$servers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AdminServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: darkred;"&gt;","&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: darkred;"&gt;","&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ContentServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: darkred;"&gt;","&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: orangered;"&gt;$CrawlServers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: darkred;"&gt;","&lt;/span&gt; &lt;span style="color: darkgray;"&gt;+&lt;/span&gt; &lt;span style="color: orangered;"&gt;$QueryServers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Check the existence of the servers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkblue;"&gt;foreach&lt;/span&gt;(&lt;span style="color: orangered;"&gt;$server&lt;/span&gt; &lt;span style="color: darkblue;"&gt;in&lt;/span&gt; &lt;span style="color: orangered;"&gt;$servers&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Split(&lt;span style="color: darkred;"&gt;","&lt;/span&gt;))&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Get-SPServer&lt;/span&gt; &lt;span style="color: orangered;"&gt;$server&lt;/span&gt; &lt;span style="color: navy;"&gt;-ErrorAction&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Stop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Initialize variables&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$ssa&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchServiceApplication&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Clone search topology&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$activeTop&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;Get-SPEnterpriseSearchTopology&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchApplication&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ssa&lt;/span&gt; &lt;span style="color: navy;"&gt;-Active&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt; &lt;span style="color: darkgray;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;New-SPEnterpriseSearchTopology&lt;/span&gt; &lt;span style="color: navy;"&gt;-SearchApplication&lt;/span&gt; &lt;span style="color: orangered;"&gt;$ssa&lt;/span&gt; &lt;span style="color: navy;"&gt;-Clone&lt;/span&gt; &lt;span style="color: navy;"&gt;&amp;ndash;SearchTopology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$activeTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Admin component&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Admin"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AdminServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Analytics servers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"AnalyticsProcessing"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Content&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"ContentProcessing"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Crawl&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"Crawl"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Query&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPSearchComponents&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServerType&lt;/span&gt; &lt;span style="color: darkred;"&gt;"QueryProcessing"&lt;/span&gt; &lt;span style="color: navy;"&gt;-ServersStringArray&lt;/span&gt; &lt;span style="color: orangered;"&gt;$AnalyticsServers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Topology&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: darkgreen;"&gt;#Active Topology&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; background: white; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set-SPEnterpriseSearchTopology&lt;/span&gt; &lt;span style="color: navy;"&gt;-Identity&lt;/span&gt; &lt;span style="color: orangered;"&gt;$newTop&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;An example to use this function could be:&lt;/span&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; color: blueviolet;"&gt;New-SPSearchTopology&lt;/span&gt;&lt;span style="font-size: 9.0pt; line-height: 107%; font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console';"&gt; &lt;span style="color: navy;"&gt;&amp;ndash;AdminServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server1,server2&amp;rdquo;&lt;/span&gt;&lt;span style="color: navy;"&gt; &amp;ndash;AnalyticsServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server1,server3&amp;rdquo;&lt;/span&gt;&lt;span style="color: navy;"&gt; &amp;ndash;ContentServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server2,server4&amp;rdquo;&lt;/span&gt;&lt;span style="color: navy;"&gt; &amp;ndash;CrawlServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server5,server6&amp;rdquo;&lt;/span&gt;&lt;span style="color: navy;"&gt; &amp;ndash;QueryServers &lt;/span&gt;&lt;span style="color: orangered;"&gt;&amp;ldquo;server7,server8,server9&amp;rdquo;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;I hope this post could help you to create your new SharePoint 2013 Enterprise Search Topology, and remember that not all the Enterprise Search considerations are taken on this scripts, in the future I going to write about how to change the following characteristics:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Stop the search service instance.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Move the index location.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Move the search component.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Index partitions.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Search databases.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3571963" width="1" height="1"&gt;</content><author><name>Julian DotNet</name><uri>http://blogs.technet.com/ranasoft_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="SharePoint" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SharePoint/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /><category term="SharePoint 2013" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SharePoint+2013/" /><category term="Search Topology" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Search+Topology/" /><category term="Search" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Search/" /><category term="Search Service" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Search+Service/" /></entry><entry><title>Windows Aware updating and SQL Server 2012 (Part II) – Step by Step</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/04/10/windows-aware-updating-and-sql-server-2012-part-ii-step-by-step.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/04/10/windows-aware-updating-and-sql-server-2012-part-ii-step-by-step.aspx</id><published>2013-04-11T00:46:00Z</published><updated>2013-04-11T00:46:00Z</updated><content type="html">&lt;p style="tab-stops: .5in;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;&lt;span style="font-weight: normal; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Segoe UI'; mso-ansi-language: EN-US; mso-bidi-font-weight: bold;"&gt;At this point we already know the concepts for Windows Aware Updating (CAU), on this post we will check how to use the plug-in Windows.HotfixPlugin to install LDR updates, cumulative updates and Service Packs, and the options that provides to obtain a better control of the process. NOTE: CAU can only be used from SQL Server 2012 Service Pack 1 and up.&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="tab-stops: .5in;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;&lt;span style="font-weight: normal; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Segoe UI'; mso-ansi-language: EN-US; mso-bidi-font-weight: bold;"&gt;As an example we will install the Service Pack 1 of SQL Server 2012 o the nodes Win20121 and Win20122 (This process is pretty similar with any other cumulative update or service pack), using the graphic tool, this will allow a better and simpler visualization of the process. We are using a 3 nodes Windows Server 2012 Cluster with 2 SQL 2012 RTM instances, that can only start on Win20121 and Win20122, and we will use the self-updating mode.&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="tab-stops: .5in;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;&lt;span style="font-weight: normal; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US; mso-bidi-font-weight: bold;"&gt;To avoid a very long post some print screens that show the previous and later versions of SQL and the cluster configuration are omitted. The intent is to see the CAU process.&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="tab-stops: .5in;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="tab-stops: .5in;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;&lt;span style="font-weight: normal; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US; mso-bidi-font-weight: bold;"&gt;Because the update will be installed in 2 of the 3 nodes, we&amp;rsquo;ll use the following folder structure:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;\\WIN-0M99J4ILA2E\UpdatesDemo\Root5&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultHotfixConfig.xml&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;nodo 2 name&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;\&amp;lt;nodo 4 name&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;As described on the first post, we start the Cluster-Aware updating tool.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;lt;root&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;lt;DefaultRules&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;hellip;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;lt;/DefaultRules&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp; &amp;lt;FolderRules&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Folder name="&lt;strong&gt;SQL2012SP1&lt;/strong&gt;"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Template path="$update$" parameters="&lt;strong&gt;/ACTION=PATCH /allinstances&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /QUIET /IAcceptSQLServerLicenseTerms&lt;/strong&gt;"/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitConditions&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Success&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;0&lt;/strong&gt;"/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Success&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Success_RebootRequired&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ExitCode code="&lt;strong&gt;3010&lt;/strong&gt;"/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Success_RebootRequired&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;NotApplicable&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;-2068578302&lt;/strong&gt;"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ERROR_PATCH_TARGET_NOT_FOUND --&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/NotApplicable&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AlreadyInstalled&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;-2068643838&lt;/strong&gt;"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ERROR_PATCH_ALREADY_APPLIED --&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ AlreadyInstalled &amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ExitConditions&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Folder&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp; &amp;lt;/FolderRules&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;lt;/root&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;And click on &amp;ldquo;Configure cluster self-updating options&amp;rdquo;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/4087.Post2Image1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/4087.Post2Image1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;And click on &amp;ldquo;Configure cluster self-updating options&amp;rdquo;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/8816.Post2Image2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/8816.Post2Image2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Then click on next.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7585.Post2Image3.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7585.Post2Image3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Enable the self-updating mode, and click next.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5584.Post2Image4.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5584.Post2Image4.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Now we configure the automatic update execution frequency. This is particularly useful with the &lt;strong&gt;Microsoft.WindowsUpdatePlugin&lt;/strong&gt; plug-in, to install the security updates. The &lt;strong&gt;Microsoft.HotfixPlugin&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Plug-in, when used for the installation of non-security updates, requires the configuration of the folder structure and downloading the installers, that&amp;rsquo;s why might be more practical a manual and supervised. execution, although a schedule can be useful on some cases like the update of non-production environment. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Then click next.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5315.Post2Image5.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5315.Post2Image5.png" alt="" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Configure aspects of execution like:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Max execution time in minutes (StopAfter), after this all the update process is stopped.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Warnning time in minutes (WarmAfter), after this a warning messages is generated, this can be used, for example, to warm that the finalization of the maintainance windows is near.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Order on which the nodes have to be updated (NodeOrder).&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The plug-in to use (CaaPluginName), on this case &lt;strong&gt;Microsoft.HotfixPlugin&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Additional parameters for the plug-in &lt;strong&gt;Microsoft.HotfixPlugin.&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Other values, that can be consulted in &lt;a href="http://technet.microsoft.com/en-us/library/jj134224.aspx"&gt;&lt;span style="font-family: Calibri;"&gt;http://technet.microsoft.com/en-us/library/jj134224.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Then we click next.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7635.Post2Image6.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7635.Post2Image6.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Establish the options for the &lt;strong&gt;Microsoft.HotfixPlugin&lt;/strong&gt; like the file share root, that host the folder structure and the updates to install&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: for more information on the options for the &lt;strong&gt;Microsoft.HotfixPlugin&lt;/strong&gt; see &lt;a href="http://technet.microsoft.com/en-us/library/jj134213.aspx"&gt;&lt;span style="color: #0563c1;"&gt;http://technet.microsoft.com/en-us/library/jj134213.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5187.Post2Image7.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5187.Post2Image7.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;We can see a summary of the configured options (we can use this on the option describe don the first part of the post to check the updates that will be installed during the execution), now we click on &amp;ldquo;Apply&amp;rdquo; to finish the configuration of CAU&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/6283.Post2Image8.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/6283.Post2Image8.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Click Close.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/6232.Post2Image9.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/6232.Post2Image9.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Once we have configures the CUA, we can start its execution clicking on &amp;ldquo;Apply updates to this cluster&amp;rdquo;, this will start the wizard.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5187.Post2Image10.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5187.Post2Image10.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Click Next.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/2022.Post2Image11.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/2022.Post2Image11.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Here we can visualize the PowerShell command that you can use to start the update. We can also see the updates that will be installed clicking on &amp;ldquo;Preview the updates that will be applied to the cluster nodes&amp;rdquo;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Before we start, and to validate the Service Pack will only be installed on the specified nodes on the folder structure let&amp;rsquo;s click on &amp;ldquo;Preview the updates that will be applied to the cluster nodes&amp;rdquo;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/3603.Post2Image12.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/3603.Post2Image12.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;You can see that the Service Pack 1 will only be installed on the node Win20121 and Win20122, as you establish on the folder structure. Click Close.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/8623.Post2Image13.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/8623.Post2Image13.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;To start the update process click on &amp;ldquo;Update&amp;rdquo;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Once the process is started click in Close.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7610.Post2Image15.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7610.Post2Image15.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;This allows us to see the progress of the updates until it ends.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/4336.Post2Image16.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/4336.Post2Image16.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The services failover are not log on this window, however, they are executed after putting a node on maintenance mode. After the process ends, the instances will be put in its original state.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;We need to take into consideration that this process is different to the recommended on the document &lt;strong&gt;SQL Server failover cluster rolling patch and service pack process &lt;/strong&gt;available on &lt;a href="http://support.microsoft.com/kb/958734"&gt;http://support.microsoft.com/kb/958734&lt;/a&gt;, in that the half on the nodes been updated are not automatically removed as possible owners of the SQL Server resources, as also the moment on which the failover of the instances to the updated nodes is done. This is a functionality that can help us to facilitate the process and if configured correctly, using the options of the Microsoft.HotfixPlugin plug-in we can get a similar behavior to the recommendations on the document on many aspects, so we invite you to try it and find the configuration that better suit your needs.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;There are a few considerations to take into consideration when using CAU on Always ON Environments with High Availability Groups, and also many other updates scenarios, that&amp;rsquo;s why we recommend to read the document &lt;strong&gt;Patching SQL Server Failover Cluster Instances with Cluster-Aware Updating (CAU)&lt;/strong&gt; available on &lt;a href="http://www.youtube.com/watch?v=XhVbLgf3rqE"&gt;http://www.youtube.com/watch?v=XhVbLgf3rqE&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;a&gt;I&lt;/a&gt; hope this two post son this series help you to understand how to use this new functionality on Windows Server 2012.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Other Recommended Readings:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Cluster-Aware Updating Overview&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/hh831694.aspx"&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;http://technet.microsoft.com/en-us/library/hh831694.aspx&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Requirements and Best Practices for Cluster-Aware Updating&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/jj134234.aspx"&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;http://technet.microsoft.com/en-us/library/jj134234.aspx&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3565200" width="1" height="1"&gt;</content><author><name>SQL PFE LATAM</name><uri>http://blogs.technet.com/em2g_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="English" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/English/" /><category term="SQL Server" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SQL+Server/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /></entry><entry><title>Windows Aware updating y SQL Server 2012 (Parte II) – Paso a Paso</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/04/10/windows-aware-updating-y-sql-server-2012-parte-ii-paso-a-paso.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/04/10/windows-aware-updating-y-sql-server-2012-parte-ii-paso-a-paso.aspx</id><published>2013-04-11T00:29:00Z</published><updated>2013-04-11T00:29:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Ya que en este punto tenemos claros los conceptos de Windows Aware Updating (CAU), en esta segunda parte revisaremos como podemos utilizar el plug-in Window.HotfixPlugin para instalar actualizaciones LDR, actualizaciones acumulativas y Service Packs, as&amp;iacute; como las opciones que provee para tener un mayor control del proceso. NOTA: CAU puede s&amp;oacute;lo puede ser utilizado a partir del Service Pack 1 de SQL Server 2012.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Como ejemplo instalaremos el Service Pack 1 de SQL Server 2012 en los nodos Win20121 y Win20122. (Este proceso es similar para cualquier acumulativa Update y Service Pack), utilizando la herramienta gr&amp;aacute;fica ya que permite una visualizaci&amp;oacute;n m&amp;aacute;s sencilla del proceso. Se us&amp;oacute; un Cl&amp;uacute;ster Windows Server 2012 de tres nodos con dos instancias SQL Server 2012 RTM que s&amp;oacute;lo ejecutan en los nodos win20121 y Win20122, y ejecutamos el modo self-updating.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Para evitar que el post sea muy largo se omiten capturas de pantalla para mostrar las versiones iniciales y finales de SQL, as&amp;iacute; como la configuraci&amp;oacute;n del Cluster. La idea principal es ver el proceso de CAU.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Ya que la actualizaci&amp;oacute;n ser&amp;aacute; instalada en dos de los tres nodos del cl&amp;uacute;ster, utilizamos la siguiente estructura de directorios:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;\\WIN-0M99J4ILA2E\UpdatesDemo\Root5&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultHotfixConfig.xml&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;nodo 2 name&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;\&amp;lt;nodo 4 name&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;As&amp;iacute; mismo, el archivo de configuraci&amp;oacute;n le agregu&amp;eacute; la siguiente secci&amp;oacute;n en rojo.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;lt;root&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;lt;DefaultRules&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;hellip;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;lt;/DefaultRules&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp; &amp;lt;FolderRules&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Folder name="&lt;strong&gt;SQL2012SP1&lt;/strong&gt;"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Template path="$update$" parameters="&lt;strong&gt;/ACTION=PATCH /allinstances&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /QUIET /IAcceptSQLServerLicenseTerms&lt;/strong&gt;"/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitConditions&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Success&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;0&lt;/strong&gt;"/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Success&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Success_RebootRequired&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ExitCode code="&lt;strong&gt;3010&lt;/strong&gt;"/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Success_RebootRequired&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;NotApplicable&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;-2068578302&lt;/strong&gt;"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ERROR_PATCH_TARGET_NOT_FOUND --&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/NotApplicable&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AlreadyInstalled&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;-2068643838&lt;/strong&gt;"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ERROR_PATCH_ALREADY_APPLIED --&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ AlreadyInstalled &amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ExitConditions&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Folder&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #ff0000;"&gt;&amp;nbsp; &amp;lt;/FolderRules&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;lt;/root&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Como se describi&amp;oacute; en la primera parte del post, iniciamos la herramienta de Cluster-Aware updating.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/4087.Post2Image1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/4087.Post2Image1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Y hacemos click en &amp;ldquo;Configure cluster self-updating options&amp;rdquo;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/8816.Post2Image2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/8816.Post2Image2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Hacemos click en Next.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7585.Post2Image3.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7585.Post2Image3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Habilitamos el modo self-updating, y hacemos click en siguiente.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5584.Post2Image4.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5584.Post2Image4.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Luego configuramos la frecuencia de ejecuci&amp;oacute;n autom&amp;aacute;tica. Esto es &amp;uacute;til especialmente con el plug-in &lt;strong&gt;Microsoft.WindowsUpdatePlugin &lt;/strong&gt;para la instalaci&amp;oacute;n de actualizaciones de seguridad. El plug-in &lt;strong&gt;Microsoft.HotfixPlugin&lt;/strong&gt;, al ser utilizado para la instalaci&amp;oacute;n de actualizaciones de no seguridad, requiere la configuraci&amp;oacute;n de la estructura de directorios y la descarga de instaladores por lo cual puede resultar m&amp;aacute;s pr&amp;aacute;ctico su ejecuci&amp;oacute;n manual y supervisada, aunque una programaci&amp;oacute;n podr&amp;iacute;a ser &amp;uacute;til en algunos casos tales como la actualizaci&amp;oacute;n de ambientes no productivos. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Hacemos click en Next.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5315.Post2Image5.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5315.Post2Image5.png" alt="" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Configuramos aspectos de la ejecuci&amp;oacute;n tales como:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Tiempo m&amp;aacute;ximo de ejecuci&amp;oacute;n en minutos (StopAfter), tras el cual se detiene todo el proceso de actualizaci&amp;oacute;n.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Tiempo de advertencia en minutos (WarmAfter), tras el cual se genera un mensaje de advertencia, el cual pueder ser utilizdao, por ejemplo, para advertir que la ventana de mantenimiento definida para la actividad est&amp;aacute; cercano.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;El orden en el que los nodos deben actualizados (NodeOrder,)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;El plug-in a utilizar (CaaPluginName), en este caso &lt;strong&gt;Microsoft.HotfixPlugin&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Par&amp;aacute;metros adicionales requeridos por el plug-in&lt;strong&gt; Microsoft.HotfixPlugin&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Otros valores, los cuales pueden ser consultados en &lt;a href="http://technet.microsoft.com/en-us/library/jj134224.aspx"&gt;&lt;span style="color: #0563c1;"&gt;http://technet.microsoft.com/en-us/library/jj134224.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Hacemos click en Next.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7635.Post2Image6.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7635.Post2Image6.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Establecemos las opciones para el Microsoft.HotfixPlugin tales como la ra&amp;iacute;z del fileshare que contiene la estructura de directorios y las actualizaciones a instalar.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;NOTA: Para mayor informaci&amp;oacute;n de las opciones de Microsoft.HotfixPlugin ver &lt;a href="http://technet.microsoft.com/en-us/library/jj134213.aspx"&gt;&lt;span style="color: #0563c1;"&gt;http://technet.microsoft.com/en-us/library/jj134213.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5187.Post2Image7.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5187.Post2Image7.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Podemos ver un resumen de las opciones configuradas (que podemos utilizar en la opci&amp;oacute;n descrita en la primera parte del post para pre visualizar las actualizaciones que ser&amp;aacute;n instaladas durante la ejecuci&amp;oacute;n) y al hacer click en &amp;ldquo;Apply&amp;rdquo; finalizaremos la configuraci&amp;oacute;n de CAU.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/6283.Post2Image8.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/6283.Post2Image8.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Hacemos click en Close.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/6232.Post2Image9.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/6232.Post2Image9.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Una vez configurado el CAU, podemos iniciar la ejecuci&amp;oacute;n&amp;nbsp; haciendo click en &amp;ldquo;Apply updates to this cluster&amp;rdquo;, lo que iniciar&amp;aacute; el wizard de ejecuci&amp;oacute;n.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5187.Post2Image10.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/5187.Post2Image10.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Hacemos click en Next.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/2022.Post2Image11.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/2022.Post2Image11.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Aqu&amp;iacute; podemos visualizar el comando PowerShell que puede ser utilizado para iniciar la actualizaci&amp;oacute;n. As&amp;iacute; mismo podemos visualizar las actualizaciones que ser&amp;aacute;n instaladas&amp;nbsp; haciendo click en &amp;ldquo;Preview the updates that will be applied to the cluster nodes&amp;rdquo;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Antes de iniciar, y para validar que el Service Pack s&amp;oacute;lo ser&amp;aacute; instalado en los nodos especificados en la estructura de directorio hacemos click&amp;nbsp; en &amp;ldquo;Preview the updates that will be applied to the cluster nodes&amp;rdquo;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/3603.Post2Image12.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/3603.Post2Image12.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Se observa que el Service Pack 1 ser&amp;aacute; instalado s&amp;oacute;lo en los nodos Win20121 y Win120122, tal y como se estableci&amp;oacute; en la estructura de directorios. Para salir hacemos click en Close.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/8623.Post2Image13.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/8623.Post2Image13.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Para iniciar el proceso de actualizaci&amp;oacute;n hacemos click en &amp;ldquo;Update&amp;rdquo;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/2727.Post2Image14.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/2727.Post2Image14.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Una vez iniciado el proceso hacemos click en Close.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7610.Post2Image15.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/7610.Post2Image15.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Lo que permite ver el avance del proceso hasta que este finalice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/4336.Post2Image16.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-31/4336.Post2Image16.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Los failover de servicios no se registran en esta ventana, sin embargo, se realizan luego de colocar cada nodo en modo de mantenimiento. Al finalizar el proceso, las instancias se encuentran en el nodo original.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Debemos tomar en cuenta que este proceso es diferente a lo recomendado en el documento &lt;strong&gt;SQL Server failover cluster rolling patch and service pack process disponible&lt;/strong&gt; en &lt;a href="http://support.microsoft.com/kb/958734"&gt;&lt;span style="color: #0563c1;"&gt;http://support.microsoft.com/kb/958734&lt;/span&gt;&lt;/a&gt;, en cuanto a que la mitad de los nodos que se actualizan no se eliminan como posibles due&amp;ntilde;o de los recursos de SQL Server, as&amp;iacute; como el momento en que se hace el failover de las instancias a los nodos actualizados. Este es una funcionalidad que nos puede ayudar a facilitar el proceso y configurando correctamente las opciones del plug-in Microsoft.HotfixPlugin podemos tener un comportamiento similar en varios aspectos al recomendado en este documento, por lo que los invito a probarlo y encontrar la configuraci&amp;oacute;n que mejor se adapte a sus necesidades.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Existen algunas consideraciones a tomar en cuenta cuando usamos CAU en ambientes Always On con Grupos de Disponibilidad, as&amp;iacute; como diferentes escenarios de actualizaci&amp;oacute;n, por lo que &amp;nbsp;recomiendo leer el documento &lt;strong&gt;Patching SQL Server Failover Cluster Instances with Cluster-Aware Updating (CAU)&lt;/strong&gt; disponible en &lt;a href="http://www.youtube.com/watch?v=XhVbLgf3rqE"&gt;http://www.youtube.com/watch?v=XhVbLgf3rqE&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a&gt;Espero&lt;/a&gt; que los dos post de esta serie les hayan ayudado a entender c&amp;oacute;mo podemos utilizar esta nueva funcionalidad de Windows Server 2012 para facilitarnos un poco la vida. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Otras lecturas recomendadas:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Cluster-Aware Updating Overview&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/hh831694.aspx"&gt;&lt;span style="color: #0563c1;"&gt;http://technet.microsoft.com/en-us/library/hh831694.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Requirements and Best Practices for Cluster-Aware Updating&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/jj134234.aspx"&gt;&lt;span style="color: #0563c1;"&gt;http://technet.microsoft.com/en-us/library/jj134234.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3565197" width="1" height="1"&gt;</content><author><name>SQL PFE LATAM</name><uri>http://blogs.technet.com/em2g_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Spanish" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Spanish/" /><category term="SQL Server" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SQL+Server/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /></entry><entry><title>Windows Aware Updating and SQL Server 2012 (Part I) – Introduction to Windows Aware Updating</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/04/10/windows-aware-updating-and-sql-server-2012-part-i-introduction-to-windows-aware-updating.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/04/10/windows-aware-updating-and-sql-server-2012-part-i-introduction-to-windows-aware-updating.aspx</id><published>2013-04-10T05:14:00Z</published><updated>2013-04-10T05:14:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Windows Server 2012 has incorporated a new functionality called Windows-Aware Updating (CAU) that allows the automatic orchestration of the installation of updates for the operating system and other applications that are executed on the Cluster nodes. This functionality is really well integrated with applications like Hyper-V, however, can be used to update any Microsoft Application or third party applications.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;This functionality, that can only be used on Windows Server 2012 Clusters, eases the task of updating environments, especially when we consider that is possible to create a 64 nodes cluster, Windows will take charge to coordinate (orchestrate) all the actions related with the updates, like the services failover, updates installation and node restart. This allows the administrator to concentrate exclusively in monitoring the process of update and in this manner updating many environments simultaneously using time more efficiently.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Once configured, CUA functions as follow:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Puts the first node on maintenance mode&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Move the roles (Previously know as applications and services or Groups) from the node&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Install the updates&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Restart the server if necessary&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Puts the node out of the maintenance mode&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Move to the update node the roles previously on execution at the beginning of the process&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Repeats the steps on all the remaining nodes, un a sequential mode&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;There are 2 modes for the execution of the process: from a machine (Windows 8 or Windows Server 2012) outside of the cluster (remote updating mode) or from one of the nodes in the cluster (self-updating mode)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;NOTE: to enable this tool on Windows 8 is necessary to download &lt;span style="font-family: Calibri;"&gt;Remote Server Administration Tools (RSAT) for Windows 8 from &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=28972"&gt;http://www.microsoft.com/en-us/download/details.aspx?id=28972&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Regardless the mode you are using, we can specify the plug-in that allows to define the origin of the updates to install: &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Microsoft.WindowsUpdatePlugin&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;This plug-in install by default the GDR security important and critical updates, directly from Windows Update, Microsoft Update, and approve updates from the Windows Server Update Services (WSUS) Server, although is possible to install additional GDR Updates configuring additional parameters in the plug-in &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Microsoft.HotfixPlugin&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;This plug-in install LDR Updates (previously QFE) from a folder on a file share SMB, and can be configured to install non-Microsoft updates, like updates for firmware or BIOS.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;On both modes and indifferently of the plug-in you are going to use, CAU can be invoke using a graphic tool or using Power Shell (&lt;a href="http://technet.microsoft.com/en-us/library/hh847221.aspx"&gt;&lt;span style="font-family: Calibri;"&gt;http://technet.microsoft.com/en-us/library/hh847221.aspx&lt;/span&gt;&lt;/a&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Note: for this post I will use the graphic tool, this allows a simpler visualization of the process. This example will use a Windows Server 2012 Cluster with 3 nodes and execute the Self-updating mode.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;To start the graphic tool, right click on the cluster name -&amp;gt; More Actions -&amp;gt; Cluster-Aware updating, like you can see on the figure&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/8623.Post1Image1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/8623.Post1Image1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/4237.Post1Image2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/4237.Post1Image2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;To visualize the updates that will be install on each node, we can click on &amp;ldquo;Preview updates for this cluster&amp;rdquo;, select the desired plug-in and click on &amp;ldquo;Generate Preview update list&amp;rdquo;. In this example, we used the Microsoft.WindowsUpdatePlugin plug-in to obtain the list of updates not installed from Windows Update.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;In this case, is not possible to select which updates to install, or in which nodes. If you&amp;rsquo;ll like to apply updates on a specific node or specific SQL Instances, is necessary to use the Microsoft.HotfixPlugin.&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;To use the Microsoft.HotfixPlugin, the first action to execute is create the structure of directories that indicates which updates are installed on each node. For this you&amp;rsquo;ll create a file share with the following structure.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;\\&amp;lt;networkshare&amp;gt;\hotfixroot&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultHotfixConfig.xml&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \CAUHotfix_All&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Update1.msu&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Update2.msi&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Update3.msp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/pre&gt;
&lt;p&gt;\&amp;lt;nodo 1 name&amp;gt;&lt;/p&gt;
&lt;p&gt;Update4.exe&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;nodo 2 name&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Update 5&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;hellip;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;nodo x name&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateY.exe&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Where:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;The folder CAUHotfix_All will contain all the updates that fill be installed on all nodes of the cluster&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;The folder &amp;lt;node 1 name&amp;gt; will contain all that updates to install on that specific node with that name, and this will be the same process for the other nodes &amp;lt;node X name&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;If the folder CAUHotfix_All doesn&amp;rsquo;t exist only the specific updates for each node will be installed.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;If the folder for each specific node doesn&amp;rsquo;t exist, only the updates on CAUHotfix_all will be installed, if this folder exist &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;NOTE: the file &lt;span style="font-family: Calibri;"&gt;DefaultHotfixConfig.xml can be copied from the path C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ClusterAwareUpdating from any node. This file, without any change, allows the installation of most of the non-SQL Server updates. For more information &lt;a href="http://technet.microsoft.com/en-us/library/jj134213.aspx"&gt;http://technet.microsoft.com/en-us/library/jj134213.aspx&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;If you are installing updates to SQL Server, is necessary to define a different folder structure, and modify the configuration file, with the objective to specify the parameters of execution, like the SQL Instance where the updates it&amp;rsquo;s going to be applied. Let&amp;rsquo;s suppose we will like to install the Service Pack on one or all the instances, in all the nodes, the structure should be similar to:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;\\&amp;lt;networkshare&amp;gt;\hotfixroot&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultHotfixConfig.xml&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \CAUHotfix_All&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;If we&amp;rsquo;ll like to install the Service Pack on one instance that only executes on the nodes 2 and 4 of the cluster, the structur should be similar to:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;\\&amp;lt;networkshare&amp;gt;\hotfixroot&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultHotfixConfig.xml&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;nodo 2 name&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/pre&gt;
&lt;p&gt;\&amp;lt;nodo 4 name&amp;gt;&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Where SQL2012SP1 is the name of the rule that will be used to define the parameters of execution for the update and is defined by the user.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;NOTE: the directory \CAUHotfix_All can exist and be empty, but in this case was erase to avoid the installation of any update on all the nodes by mistake.&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;In both cases, you need to modify the file DefaultHotfixConfig.xml to add the rule (Red section of the example) that allows the specification of the execution parameters of the update package. It also allows to specify the success conditions of the update.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;root&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;DefaultRules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;p&gt;&amp;lt;/DefaultRules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;FolderRules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Folder name="&lt;strong&gt;SQL2012SP1&lt;/strong&gt;"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Template path="$update$" parameters="&lt;strong&gt;/ACTION=PATCH &amp;lt;INSTANCIA A ACTUALIZAR&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /QUIET /IAcceptSQLServerLicenseTerms&lt;/strong&gt;"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitConditions&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Success&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;0&lt;/strong&gt;"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Success&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Success_RebootRequired&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;3010&lt;/strong&gt;"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Success_RebootRequired&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;NotApplicable&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;-2068578302&lt;/strong&gt;"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ERROR_PATCH_TARGET_NOT_FOUND --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/NotApplicable&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AlreadyInstalled&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;-2068643838&lt;/strong&gt;"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ERROR_PATCH_ALREADY_APPLIED --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ AlreadyInstalled &amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ExitConditions&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Folder&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;/FolderRules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/root&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Where &lt;strong&gt;&amp;lt;INSTANCIA A ACTUALIZAR&amp;gt; &lt;/strong&gt;can:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Specify the name of the instance in the form &lt;strong&gt;/INSTANCENAME=Inst1 &lt;/strong&gt;to update the SQL Instance of name Inst1.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;/allinstances&lt;/strong&gt; to update all the instances install on the node.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: the parameters to specify match the parameters of a SQL Server installation form the command prompt (&lt;a href="http://msdn.microsoft.com/en-us/library/ms144259.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms144259.aspx&lt;/a&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;On the success condition for CAU, there are only 4 for SQL Server:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Success, output code 0&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Success_RebootRequired, output code 3010&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;NotApplicable, output code -2068578302, when the specify instance doesn&amp;rsquo;t exist on the node.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;AlreadyInstalled, output code -2068643838, when the update is already installed on the specified Instance.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;On some scenarios you can omit the last 2 codes from the configuration file, with the objective of determine not valid executions, result of a bad folder structure, and incorrect name of the SQL Instances to update or the intent to apply an update that doesn&amp;rsquo;t apply to the environment. The CUA will return a failed state for the misconfigured nodes.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: When specifying on the folder structure and /or the name of the instances on the configuration file, you should be really careful to avoid that one of the SQL instance been outdated on a node where it can be stated, because this will cause a downgrade of the instance.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Once you have created the folder structure, and to validate that CUA will install the desired updates on all the indicated nodes, we can click on &amp;ldquo;Preview updates for this cluster&amp;rdquo;, select the plug-in Microsoft.Hotfix, establish the plug-in parameters (this is described on the second part of this post) and click on &amp;ldquo;Generate Preview update list&amp;rdquo;. Let&amp;rsquo;s see a particular example of 2 Windows Updates with the following folder structure:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;\\WIN-0M99J4ILA2E\UpdatesDemo\Root3&lt;/p&gt;
&lt;p&gt;DefaultHotfixConfig.xml&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \CAUHotfix_All&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;\windows8-RT-KB2792100-x64.msu&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;\Win20121&amp;gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;\windows8-RT-KB2737084-x64.msu&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;\Win20122 &lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;\windows8-RT-KB2737084-x64.msu&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;\Win20123&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/1212.Post1Image4.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/1212.Post1Image4.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;As you can see the windows8-RT-KB2792100-x64.msu will be installed on all the nodes, while the windows8-RT-KB2737084-x64.msu will be installed on Win20121 and Win20122 only, as specified on the folder structure.&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;On the second part of the post &lt;strong&gt;(&lt;span style="font-family: Calibri;"&gt;Windows Aware updating and SQL Server 2021 (Part II) &amp;ndash; Step by Step&lt;/span&gt;)&lt;/strong&gt; we will explain how to configure and execute CAU to install a Service Pack for SQL Server 2012.&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3564531" width="1" height="1"&gt;</content><author><name>SQL PFE LATAM</name><uri>http://blogs.technet.com/em2g_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="English" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/English/" /><category term="SQL Server" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SQL+Server/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /></entry><entry><title>Windows Aware updating y SQL Server 2012 (Parte I) – Introducción a Windows Aware Updating</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/04/10/windows-aware-updating-y-sql-server-2012-parte-i-introducci-243-n-a-windows-aware-updating.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/04/10/windows-aware-updating-y-sql-server-2012-parte-i-introducci-243-n-a-windows-aware-updating.aspx</id><published>2013-04-10T05:09:20Z</published><updated>2013-04-10T05:09:20Z</updated><content type="html">&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Windows Server 2012 incorpora una nueva funcionalidad llamada Windows-Aware Updating (CAU) que permite la orquestaci&amp;oacute;n autom&amp;aacute;tica de la instalaci&amp;oacute;n de actualizaciones para el sistema operativo y otras aplicaciones que ejecuten sobre los nodos de un Cl&amp;uacute;ster. Esta funcionalidad est&amp;aacute; muy bien integrada con aplicaciones como Hyper-V, sin embargo, puede ser utilizado para actualizar cualquier aplicaci&amp;oacute;n Microsoft e incluso aplicaciones de terceros.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Est&amp;aacute; funcionalidad, que s&amp;oacute;lo puede ser utilizada en cl&amp;uacute;ster Windows Server 2012, facilita la tareas de actualizaci&amp;oacute;n de ambientes, especialmente al tomar en cuenta que es posible crear cl&amp;uacute;ster de hasta 64 nodos, ya que Windows se encarga de coordinar (orquestar) todas las acciones relacionadas con la actualizaci&amp;oacute;n, tales como el failover de los servicios, la instalaci&amp;oacute;n de actualizaciones y reinicio de nodos. Esto permite al administrador concentrase exclusivamente en monitorear el proceso de actualizaci&amp;oacute;n y de esa forma poder actualizar varios ambientes simult&amp;aacute;neamente haciendo un uso m&amp;aacute;s eficiente de su tiempo.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Una vez configurado, CAU funciona de la siguiente manera:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Coloca el primer nodo en modo de mantenimiento&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Mueve los roles (anteriormente llamado &amp;ldquo;applications and services&amp;rdquo;) del nodo &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Instala las actualizaciones &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Reinicia el nodo si es necesario &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Saca al nodo del modo de mantenimiento &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Mueve al nodo actualizado los roles que estaban en ejecuci&amp;oacute;n en dicho nodo al inicio del proceso. &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Repite el proceso en los nodos restantes, uno por uno de forma secuencial.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: small;"&gt;Existen dos modos para la ejecuci&amp;oacute;n del proceso: desde una m&amp;aacute;quina (Windows 8 o Windows Server 2012) diferente a los nodos del cl&amp;uacute;ster (remote updating mode) o desde uno de los nodos del cl&amp;uacute;ster (self-updating mode).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Nota: para habilitar esta herramienta en Windows 8 es necesario descargar &lt;span style="font-family: Calibri;"&gt;Remote Server Administration Tools (RSAT) for Windows 8 desde &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=28972"&gt;&lt;span style="color: #0563c1;"&gt;http://www.microsoft.com/en-us/download/details.aspx?id=28972&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Independientemente del modo utilizado, podemos especificar el plug-in que permitir&amp;aacute; definir el origen de las actualizaciones a instalar:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Microsoft.WindowsUpdatePlugin&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Este plug-in instala por defecto las actualizaciones GDR&amp;nbsp; de seguridad importantes y criticas directamente desde Windows Update, Microsoft Update,y las actualizaciones aprobadas desde el servidor Windows Server Update Services (WSUS), aunque es posible instalar actualizaciones GDR adicionales configurando par&amp;aacute;metros adicionales del plug-in.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Microsoft.HotfixPlugin&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Este plug-in instala actualizaciones &lt;span style="font-family: Calibri;"&gt;LDR (antiguamente QFE) desde una carpeta en un file share SMB, y puede ser configurado para instalar actualizaciones no Microsoft, tales como actualizaciones de firmware o de BIOS.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;En ambos modos e independientemente del plug-in a utilizar, CAU puede ser invocado usando una herramienta gr&amp;aacute;fica o a trav&amp;eacute;s de comandos PowerShell (&lt;a href="http://technet.microsoft.com/en-us/library/hh847221.aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri;"&gt;http://technet.microsoft.com/en-us/library/hh847221.aspx&lt;/span&gt;&lt;/a&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;NOTA: Para esta explicaci&amp;oacute;n utilizar&amp;eacute; la herramienta gr&amp;aacute;fica que permite una visualizaci&amp;oacute;n m&amp;aacute;s sencilla del proceso. Para este ejemplo usaremos un Cl&amp;uacute;ster Windows Server 2012 de tres nodos y ejecutaremos el modo self-updating.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Para iniciar la herramienta gr&amp;aacute;fica, hacemos click derecho sobre el nombre del cl&amp;uacute;ster -&amp;gt; More Actions -&amp;gt; Cluster-Aware updating, tal y como se observa en la siguiente imagen.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/0044.Post1Image1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/0044.Post1Image1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/8814.Post1Image2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/8814.Post1Image2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Para visualizar las actualizaciones que ser&amp;aacute;n instaladas en cada uno de los nodos, podemos hacer click sobre &amp;ldquo;Preview updates for this cluster&amp;rdquo;, seleccionar el plug-in deseado y&amp;nbsp; hacer click sobre &amp;ldquo;Generate Preview update list&amp;rdquo;. En el siguiente ejemplo, se utiliz&amp;oacute; &amp;nbsp;plug-in Microsoft.WindowsUpdatePlugin para obtener la lista de actualizaciones no instaladas desde Windows Update.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/3652.Post1Image3.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/3652.Post1Image3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: small;"&gt;En este caso, no es posible seleccionar cuales actualizaciones se desea instalar, ni en cuales nodos. Si se desea aplicar actualizaciones sobre nodos puntuales o sobre instancias espec&amp;iacute;ficas, es necesario utilizar el Microsoft.HotfixPlugin.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Para utilizar Microsoft.HotfixPlugin, la primera acci&amp;oacute;n a ejecutar es crear una estructura de directorios que indicar&amp;aacute; cuales actualizaciones ser&amp;aacute;n instaladas en cada nodo. Para esto se crea un fileshare con la siguiente estructura&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;\\&amp;lt;networkshare&amp;gt;\hotfixroot&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultHotfixConfig.xml&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \CAUHotfix_All&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Update1.msu&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Update2.msi&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Update3.msp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/pre&gt;
&lt;p&gt;\&amp;lt;nodo 1 name&amp;gt;&lt;/p&gt;
&lt;p&gt;Update4.exe&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;nodo 2 name&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Update 5&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;hellip;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;nodo x name&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateY.exe&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Donde:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;El directorio CAUHotfix_All contendr&amp;aacute; las actualizaciones que ser&amp;aacute;n instaladas en todos los nodos del cl&amp;uacute;ster&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;El directorio &amp;lt;nodo 1 name&amp;gt; contendr&amp;aacute; las actualizaciones a instalar en el nodo con dicho nombre, y as&amp;iacute; sucesivamente hasta el nodo &amp;lt;nodo x name&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Si no existe la carpeta CAUHotfix_All s&amp;oacute;lo se instalar&amp;aacute;n las actualizaciones especificadas para cada nodo.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Si no existe una carpeta con el nombre de un nodo s&amp;oacute;lo se instalar&amp;aacute;n las actualizaciones en CAUHotfix_All, si es que es este &amp;uacute;ltimo directorio existe.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;NOTA: el archivo &lt;span style="font-family: Calibri;"&gt;DefaultHotfixConfig.xml puede ser copiado desde la ruta C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ClusterAwareUpdating desde cualquiera de los nodos. Este archivo, sin modificaciones, permite la instalaci&amp;oacute;n de la mayor&amp;iacute;a de las actualizaciones no SQL Server. Para mayor informaci&amp;oacute;n ver &lt;a href="http://technet.microsoft.com/en-us/library/jj134213.aspx"&gt;&lt;span style="color: #0563c1;"&gt;http://technet.microsoft.com/en-us/library/jj134213.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Cuando estamos instalando actualizaciones para SQL Server, es necesario definir una estructura diferente y modificar el archivo de configuraci&amp;oacute;n, con el objetivo de especificar los par&amp;aacute;metros de ejecuci&amp;oacute;n, tales como la instancia sobre la que se instalar&amp;aacute; la actualizaci&amp;oacute;n. Supongamos que deseamos instalar el Service Pack en una o todas las instancias y en todos los nodos la estructura debe ser similar a la siguiente: &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;\\&amp;lt;networkshare&amp;gt;\hotfixroot&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultHotfixConfig.xml&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \CAUHotfix_All&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Si quisi&amp;eacute;ramos instalar el Service Pack en una instancia que ejecuta s&amp;oacute;lo sobre los nodos 2 y 4 del cl&amp;uacute;ster, la estructura ser&amp;iacute;a similar a la siguiente&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;\\&amp;lt;networkshare&amp;gt;\hotfixroot&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultHotfixConfig.xml&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;nodo 2 name&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/pre&gt;
&lt;p&gt;\&amp;lt;nodo 4 name&amp;gt;&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \SQL2012SP1&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&amp;lt;SQLServer2012SP1Package&amp;gt;.exe&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Donde SQL2012SP1 es el nombre de la regla que ser&amp;aacute; utilizada para definir los par&amp;aacute;metros de ejecuci&amp;oacute;n de la actualizaci&amp;oacute;n y es definida por el usuario.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;NOTA: El directorio \CAUHotfix_All puede existir y estar vac&amp;iacute;o, pero en este caso se elimina para evitar instalar por error alguna actualizaci&amp;oacute;n en todos los nodos.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;En ambos casos, se debe modificar el archivo DefaultHotfixConfig.xml para agregar la regla (la secci&amp;oacute;n en rojo del ejemplo) que permite especificar los par&amp;aacute;metros de ejecuci&amp;oacute;n del paquete de actualizaci&amp;oacute;n. Adicionalmente permite especificar las condiciones de &amp;eacute;xito de instalaci&amp;oacute;n de la actualizaci&amp;oacute;n.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;root&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;DefaultRules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;hellip;&lt;/p&gt;
&lt;p&gt;&amp;lt;/DefaultRules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;FolderRules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Folder name="&lt;strong&gt;SQL2012SP1&lt;/strong&gt;"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Template path="$update$" parameters="&lt;strong&gt;/ACTION=PATCH &amp;lt;INSTANCIA A ACTUALIZAR&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /QUIET /IAcceptSQLServerLicenseTerms&lt;/strong&gt;"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitConditions&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Success&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;0&lt;/strong&gt;"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Success&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Success_RebootRequired&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;3010&lt;/strong&gt;"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Success_RebootRequired&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;NotApplicable&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;-2068578302&lt;/strong&gt;"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ERROR_PATCH_TARGET_NOT_FOUND --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/NotApplicable&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AlreadyInstalled&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExitCode code="&lt;strong&gt;-2068643838&lt;/strong&gt;"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ERROR_PATCH_ALREADY_APPLIED --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ AlreadyInstalled &amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ExitConditions&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Folder&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;/FolderRules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/root&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Donde &lt;strong&gt;&amp;lt;INSTANCIA A ACTUALIZAR&amp;gt; &lt;/strong&gt;puede:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Especificar el nombre la instancia a actualizar en la forma &lt;strong&gt;/INSTANCENAME=Inst1 &lt;/strong&gt;&amp;nbsp;para actualizar la instancia de nombre Inst1.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;/allinstances &lt;/strong&gt;para actualizar todas las instancias instaladas en el nodo.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;NOTA: los par&amp;aacute;metros a especificar corresponden a los par&amp;aacute;metros de instalaci&amp;oacute;n de SQL Server desde el command prompt (&lt;a href="http://msdn.microsoft.com/en-us/library/ms144259.aspx"&gt;&lt;span style="color: #0563c1;"&gt;http://msdn.microsoft.com/en-us/library/ms144259.aspx&lt;/span&gt;&lt;/a&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;En cuanto a las condiciones de &amp;eacute;xito para el CAU, existen s&amp;oacute;lo cuatro para SQL Server:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Success, c&amp;oacute;digo de salida 0&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Success_RebootRequired, c&amp;oacute;digo de salida 3010&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;NotApplicable, c&amp;oacute;digo de salida &lt;strong&gt;-2068578302&lt;/strong&gt;, cuando la instancia especificada no existe en el nodo.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;AlreadyInstalled, c&amp;oacute;digo de salida &lt;strong&gt;2068643838&lt;/strong&gt;, cuando la actualizaci&amp;oacute;n ya estaba instalada en la instancia indicada.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;En algunos escenarios se omiten los &amp;uacute;ltimos dos c&amp;oacute;digos del archivo de configuraci&amp;oacute;n con el objetivo de determinar ejecuciones no v&amp;aacute;lidas resultado de una estructura de directorios errada, la configuraci&amp;oacute;n incorrecta del nombre de la(s) instancia(s) a actualizar o el intento de instalar una actualizaci&amp;oacute;n que no aplica al ambiente, ya que la ejecuci&amp;oacute;n de CAU retorna un estado fallido para los nodos configurados incorrectamente.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;NOTA: Cuando la estructura de directorios especifica nombres de nodos y/o se especifiquen instancias en el archivo de configuraci&amp;oacute;n, se debe tener especial cuidado para evitar que alguna instancia quede sin actualizar en alguno de los nodos sobre el que ella pueda ejecutar, ya que un failover a dicho nodo generar&amp;aacute; un downgrade de la instancia.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Una vez creada la estructura de directorios, y para validar que CAU instalar&amp;aacute; las actualizaciones deseadas en los nodos indicados, podemos hacer click sobre &amp;ldquo;Preview updates for this cluster&amp;rdquo;, seleccionar el plug-in Microsoft.Hotfix, establecer los par&amp;aacute;metros del plug-in (lo cual se describe en la segunda parte de post) y hacer click sobre &amp;ldquo;Generate Preview update list&amp;rdquo;. Veremos el ejemplo particular de dos actualizaciones de Windows con la siguiente estructura de directorios:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;\\WIN-0M99J4ILA2E\UpdatesDemo\Root3&lt;/p&gt;
&lt;p&gt;DefaultHotfixConfig.xml&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;strong&gt;\CAUHotfix_All&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;\windows8-RT-KB2792100-x64.msu&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;\Win20121&amp;gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;\windows8-RT-KB2737084-x64.msu&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;\Win20122 &lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;\windows8-RT-KB2737084-x64.msu&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;\Win20123&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/4784.Post1Image4.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/4784.Post1Image4.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Se observa que windows8-RT-KB2792100-x64.msu ser&amp;aacute; instalado en todos los nodos, mientras que windows8-RT-KB2737084-x64.msu s&amp;oacute;lo ser&amp;aacute; instalado en Win20121 y win20122 de acuerdo a lo especificado en la estructura de directorios.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;En la segunda parte del post (&lt;/strong&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;Windows Aware updating y SQL Server (Parte II) &amp;ndash; Paso a Paso) &lt;/strong&gt;se explicar&amp;aacute; c&amp;oacute;mo configurar y ejecutar CAU para instalar un Service Pack de SQL Server 2012.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3564526" width="1" height="1"&gt;</content><author><name>SQL PFE LATAM</name><uri>http://blogs.technet.com/em2g_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Spanish" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Spanish/" /><category term="SQL Server" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SQL+Server/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /></entry><entry><title>¿Privileges on the Service SID or on the SQL Service Account?</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/04/09/191-privileges-on-the-service-sid-or-on-the-sql-service-account.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/04/09/191-privileges-on-the-service-sid-or-on-the-sql-service-account.aspx</id><published>2013-04-10T04:07:18Z</published><updated>2013-04-10T04:07:18Z</updated><content type="html">&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;On SQL Server 2008 the concept of Service SID was introduced to be used when installing on Windows 2008 or later.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The concept of Service SID (also known as Virtual Account) allows assigning the required permission needed for the correct functioning of the SQL Instance without using Local Groups or Domain Groups (in a cluster scenario). Instead, the permission will be assigned to the Service SID.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Just to be clear, the concept of Service SID is no from SQL Server, but form Windows Server 2008 or later, and SQL Server 2008 or later can take advantage of this feature.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The interesting part when configuring permissions or rights like &amp;ldquo;Lock Pages in Memory&amp;rdquo; or &amp;ldquo;Perform Volume Maintenance Tasks&amp;rdquo;, historically they were assigned to the SQL Service account. But now that the Service SID come into play, whom should I assign the rights? Similarly, if I want to do a backup on a network share, whom should I assign the permission on the share, so SQL Server can write the backup.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The same questions apply to any other privilege that before should be assigned to the Service account.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The answer is, that you can assign the privilege or permission to any and SQL Server will work fine. However, because the Service SID have the scope of only the computer where you installed SQL, to assign permission outside the computer you have to use the computer account, the name format is&amp;nbsp; &amp;ldquo;DomainName\ComputerName$&amp;rdquo;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;In conclusion the privileges for SQL Service is the union of the privileges from the Service SID plus the privileges from the Service account.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Now that you know you can assign the privileges to both accounts, the service account or the Service SID, Which one should we use?, because the service account can be changed, the best practice is to assign the privilege to the service SID whenever possible. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;To be clear on the concept of Service SID, for those who don&amp;rsquo;t have experience with it, check the following images. The account &amp;ldquo;NT Service\MSSQLServer&amp;rdquo; is the Service SID. The name of the service SID will include the instance name as part of the name, for example &amp;ldquo;NT Service\MSSQL$Denali&amp;rdquo;. In the images is shown how to add a Service SID to the privilege Lock Pages in Memory and the permissions for a folder.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/4760.Image1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/4760.Image1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/8540.Image2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/8540.Image2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The use of the service SID are extended on SQL Server 2012 and also exists the concept of Managed Service Account starting on Windows 2008, but those are concepts for other post.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri Light;"&gt;References&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/2620201/en-us"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://support.microsoft.com/kb/2620201/en-us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms143504.aspx#MSA"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://msdn.microsoft.com/en-us/library/ms143504.aspx#MSA&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/b/sqlpfeil/archive/2012/02/16/sql-amp-sids-why-we-need-it-and-what-the-hell-it-is.aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://blogs.technet.com/b/sqlpfeil/archive/2012/02/16/sql-amp-sids-why-we-need-it-and-what-the-hell-it-is.aspx&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3564518" width="1" height="1"&gt;</content><author><name>SQL PFE LATAM</name><uri>http://blogs.technet.com/em2g_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="English" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/English/" /><category term="SQL Server" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SQL+Server/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /></entry><entry><title> ¿Privilegios al Service SID o a la cuenta de Service?</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/pfelatam/archive/2013/04/09/191-privilegios-al-service-sid-o-a-la-cuenta-de-service.aspx" /><id>http://blogs.technet.com/b/pfelatam/archive/2013/04/09/191-privilegios-al-service-sid-o-a-la-cuenta-de-service.aspx</id><published>2013-04-10T04:01:03Z</published><updated>2013-04-10T04:01:03Z</updated><content type="html">&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;A partir de SQL Server 2008 se introdujo el concepto de utilizar Service SID cuando se instala en Windows 2008 o posterior.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;El concepto de Service SID (o virtual account) permite que ya no necesitemos un grupo local o de dominio (en el caso de clusters) para asignar los permisos que requiere la instancia para poder trabajar correctamente. En su lugar, los permisos se le asignan al Service SID.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Solo para que quede m&amp;aacute;s claro, el concepto de Service SID no es creado por SQL Server, sino por Windows Server 2008 o posterior y SQL 2008 o posterior puede tomar ventaja de &amp;eacute;sta caracter&amp;iacute;stica.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Lo interesante viene a la hora de configurar permisos o derechos como &amp;ldquo;Lock Pages In Memory&amp;rdquo; o &amp;ldquo;Perform Volume Maintenance Tasks&amp;rdquo;, hist&amp;oacute;ricamente le asign&amp;aacute;bamos &amp;eacute;stos privilegios a la cuenta de servicio de SQL Server, pero ahora que existen los Service SID, &amp;iquest;A qui&amp;eacute;n se lo debo asignar?. Similarmente, si necesito hacer un Backup a un network share, &amp;iquest;A qui&amp;eacute;n le doy permisos sobre el share para que SQL Server pueda escribir el backup?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;La misma pregunta aplica para cualquier otro privilegio que antes se le necesitaba dar a la cuenta de servicio.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;La respuesta es que se le puede dar el privilegio o permiso a cualquiera de los 2 y SQL va a funcionar correctamente. Sin embargo, debido a que el Service SID solo vive dentro del equipo donde se instal&amp;oacute; la instancia, para asignarle permisos fuera de ese equipo se puede hacer a trav&amp;eacute;s del computer account, la cual se llama &amp;ldquo;DomainName\ComputerName$&amp;rdquo;. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;En resumen los privilegios del servicio de SQL son la uni&amp;oacute;n de lo que tenga el Service SID m&amp;aacute;s lo que tenga la cuenta de servicio.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Si bien, es posible dar el privilegio a ambas cuentas, la cuenta con la que corre el servicio y la cuenta Service SID, &amp;iquest;Cu&amp;aacute;l debi&amp;eacute;ramos usar?, debido a que la que cuenta de servicio puede cambiar, el best practice es asignarle el privilegio al Service SID siempre que sea posible.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Para que el concepto de Service SID quede m&amp;aacute;s claro para quienes no tengan experiencia con ellos, observen las siguientes im&amp;aacute;genes. La cuenta &amp;ldquo;NT Service\MSSQLServer&amp;rdquo; es el Service SID. El nombre del service SID va a incluir la instancia como parte del nombre como en el ejemplo &amp;ldquo;NT Service\MSSQL$Denali&amp;rdquo;. En las im&amp;aacute;genes se muestra como agregar el Service SID al privilegio Lock Pages In Memory y a los permisos de un folder. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/3426.Image1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/3426.Image1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/3632.Image2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-08/3632.Image2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;El uso de Service SID se extendi&amp;oacute; a&amp;uacute;n m&amp;aacute;s en SQL Server 2012 y tambi&amp;eacute;n existen los Managed Service Account, pero esos son tema para otro post.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: #2e74b5;"&gt;&lt;span style="font-family: Calibri Light;"&gt;Referencias&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/2620201/en-us"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://support.microsoft.com/kb/2620201/en-us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms143504.aspx#MSA"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://msdn.microsoft.com/en-us/library/ms143504.aspx#MSA&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/b/sqlpfeil/archive/2012/02/16/sql-amp-sids-why-we-need-it-and-what-the-hell-it-is.aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://blogs.technet.com/b/sqlpfeil/archive/2012/02/16/sql-amp-sids-why-we-need-it-and-what-the-hell-it-is.aspx&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3564517" width="1" height="1"&gt;</content><author><name>SQL PFE LATAM</name><uri>http://blogs.technet.com/em2g_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Spanish" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Spanish/" /><category term="SQL Server" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/SQL+Server/" /><category term="Technical" scheme="http://blogs.technet.com/b/pfelatam/archive/tags/Technical/" /></entry></feed>