{"id":3894,"date":"2019-01-25T10:58:00","date_gmt":"2019-01-25T13:58:00","guid":{"rendered":"http:\/\/www.radians.com.ar\/blog\/?p=3894"},"modified":"2019-02-04T10:59:16","modified_gmt":"2019-02-04T13:59:16","slug":"instalar-y-configurar-el-sistema-de-archivos-distribuido-dfs-en-windows-server-2012-r2-parte1-2","status":"publish","type":"post","link":"https:\/\/www.radians.com.ar\/blog\/?p=3894","title":{"rendered":"Instalar y configurar el sistema de archivos distribuido (DFS) en Windows Server 2012 R2 {Parte1}"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; margin-right: 0px; margin-left: 0px; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/DFS2012R2_thumb.png\" width=\"384\" align=\"left\" height=\"149\" \/>Hoy vamos a ver c\u00f3mo implementar sistema de archivos distribuido (DFS) en Wndows Server 2012 R2, ya hemos visto en varias oportunidades que es un DFS y que beneficios podemos obtener de ellos.     <\/p>\n<p>Igualmente de forma rapida si queremos definir que es un DFS podriamos decir que es la forma en que los usuarios del dominio pueden acceder a un recurso compartido de archivos utilizando UNC (<b>Universal Naming Convention<\/b>) para acceder a su contenido de la carpeta compartida; sobre todo pensando en grandes organizaciones que tienen multiples servidores en varios estados, provincias o paises. <\/p>\n<p>Entonces utilizando un espacio de nombres, DFS puede simplificar la estructura de carpetas UNC. Adem\u00e1s, DFS puede replicar el espacio de nombres virtual y las carpetas compartidas en varios servidores dentro de la organizaci\u00f3n. Esto puede asegurar que las acciones est\u00e9n ubicadas lo m\u00e1s cerca posible de los usuarios, proporcionando as\u00ed un beneficio adicional de tolerancia a fallos para los recursos compartidos de red. <\/p>\n<p align=\"justify\">Debemos tener en cuenta que para probar la configuraci\u00f3n de DFS, al menos debemos tener dos Windows Server 2012 R2 instalados en nuestro laboratorio. Nuestro primer servidor es nuestro Controlador de Dominio (DC) que tiene el rol de DNS, DHCP y se instalar\u00e1 el servidor de archivos con DFS-N y DFS-R. El segundo servidor ser\u00e1 el miembro de DFS Server. LA recomendaci\u00f3n es que nuestro DC no tenga ning\u00fan rol extra solo el AD DS y el DNS. El resto deber\u00eda estar configurado en otros equipos, aqu\u00ed por un tema que es un laboratorio en mi notebook lo pondremos todo junto. <\/p>\n<p align=\"justify\">As\u00ed que vamos a iniciar la instalaci\u00f3n y configuraci\u00f3n de espacios de nombres DFS y funciones de replicaci\u00f3n en primer Server (DC). <\/p>\n<ul>\n<li>\n<div align=\"justify\">Vamos al Server Manager Dashboard<\/div>\n<\/li>\n<li>\n<div align=\"justify\">Hacemos clic en Manage y luego clic en Add roles and Features. En la pagina add roles and features seleccionamos Rule-based or feature-based installation y hacemos clic en Next.<\/div>\n<\/li>\n<li>\n<div align=\"justify\">En la seleccion del server, solo hacemos clic en Next.<\/div>\n<\/li>\n<li>\n<div align=\"justify\"><b>En la pagina Server Roles<\/b> expandimos <b>Files and Storage Services<\/b> y luego expandimos <b>File and iSCSI Services<\/b>. Seleccionamos <b>DFS Namespace<\/b>, <b>DFS Replication<\/b> and <b>File Server Resources Manager<\/b>. Aceptamos los features por defecto y hacemos clic en <b>Next<\/b>.<\/div>\n<\/li>\n<\/ul>\n<p align=\"justify\"><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/a1.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/a1_thumb.jpg\" width=\"544\" height=\"386\" \/><\/a> <\/p>\n<ul>\n<li>En <strong>Features<\/strong> dejamos la configuracion por defecto y hacemos clic en <strong>Next<\/strong>.<\/li>\n<li>Hacemos clic en <strong>Install<\/strong> la pagina de confirmaci\u00f3n y llevara unos minutos la instalaci\u00f3n.<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/a2.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/a2_thumb.jpg\" width=\"544\" height=\"389\" \/><\/a> <\/p>\n<p>Cuando el proceso de instalaci\u00f3n haya terminado, hacemos clic en <strong>Cerrar<\/strong> y salimos de la configuraci\u00f3n.<\/p>\n<h4>Instal\u00e1ndo DFS Powershell<\/h4>\n<p align=\"justify\">Intente instalar el servidor de archivos, DFS-N y DFS-R en el servidor miembro. Es mejor hacerlo con la l\u00ednea de comandos de PowerShell. Nos ayudar\u00e1 a comprender el proceso de instalaci\u00f3n de DFS con PowerShell.<\/p>\n<p align=\"justify\">El segundo servidor debe unirse al dominio, cambiar el nombre predeterminado y establecer la direcci\u00f3n IP est\u00e1tica. Ejecutamos el Powershel con elevacion de permisos y luego debemos ingresar para ver los componentes de DFS:<\/p>\n<p align=\"center\"><strong><font color=\"#ff0000\" face=\"OCR A Extended\">Get-WindowsFeatures -name FS*<\/font><\/strong><\/p>\n<p><strong><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/a3.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/a3_thumb.jpg\" width=\"544\" height=\"157\" \/><\/a> <\/strong><\/p>\n<p align=\"center\"><strong><font color=\"#ff0000\" face=\"OCR A Extended\">Install-WindowsFeature -Name FS-DFS-Namespace,FS-DFS-Replication -IncludeManagementTools<\/font>&#160;<\/strong><\/p>\n<p><strong><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/a4.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/a4_thumb.jpg\" width=\"544\" height=\"256\" \/><\/a> <\/strong><\/p>\n<p>Si queremos verificarlo debemos ejecutar nuevamente el primer comando.<\/p>\n<p>Para habilitar el \u201cauto recovery\u201ddebemos modificar la siguiente registry:<\/p>\n<p><font color=\"#ff0000\" face=\"OCR A Extended\">Key: HKLM\\System\\CurrentControlSet\\Services\\DFSR\\Parameters      <br \/>Value: StopReplicationOnAutoRecovery       <br \/>Type: Dword       <br \/>Data: 0 <\/font><\/p>\n<p>o jecutando desde la linea de comando:<\/p>\n<p><font color=\"#ff0000\" face=\"OCR A Extended\">REG.EXE ADD HKLM\\SYSTEM\\CurrentControlSet\\Services\\DFSR\\Parameters \/v StopReplicationOnAutoRecovery \/t REG_DWORD \/d 0 \/f<\/font><\/p>\n<h4>Crear un espacio de nombres de DFS<\/h4>\n<p><strong>1.<\/strong> En el servidor DC abrimos la consola <strong>DFS Management<\/strong> dentro del <strong>Server Manager Dashboard<\/strong> y en el menu <strong>Tools<\/strong><\/p>\n<p><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b1.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b1_thumb.jpg\" width=\"544\" height=\"350\" \/><\/a> <\/p>\n<p><strong>2.<\/strong> En la consola de <strong>Administraci\u00f3n<\/strong> de <strong>DFS,<\/strong> hacemos clic en <strong>nuevo espacio de nombres<\/strong> en el men\u00fa de <strong>acciones<\/strong> para abrir el Asistente para el nuevo espacio de nombres.<\/p>\n<p align=\"justify\"><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b2.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b2_thumb.jpg\" width=\"544\" height=\"188\" \/><\/a> <\/p>\n<p align=\"justify\"><strong>3.<\/strong> Escribimos el nombre del servidor que desea utilizar como espacio de nombres de host y hacemos clic en <strong>Siguiente.<\/strong> En nuestro caso es el servidor <strong>DC1.<\/strong><\/p>\n<p align=\"justify\"><strong>4.<\/strong> En la p\u00e1gina de <strong>configuraci\u00f3n de espacio de nombres,<\/strong> escribimos un nombre \u201cpublic\u201d para nuestro ejemplo y luego hacemos clic en <strong>Editar configuraci\u00f3n.<\/strong><\/p>\n<p align=\"justify\">5. Seleccionamos que <strong>los<\/strong> <strong>administradores tengan acceso total: los dem\u00e1s usuarios tienen permiso de lectura y escritura<\/strong> y luego hacemos clic en <strong>OK<\/strong> para aplicar los cambios.<\/p>\n<p align=\"justify\"><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b5.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b5_thumb.jpg\" width=\"544\" height=\"434\" \/><\/a> <\/p>\n<p align=\"justify\"><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b4.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b4_thumb.jpg\" width=\"444\" height=\"548\" \/><\/a>&#160;<\/p>\n<p><strong>6.<\/strong> Seleccionamos el espacio de nombres basado en el dominio en la p\u00e1gina <strong>Tipo de espacio de nombres<\/strong> a continuaci\u00f3n, hacemos clic en <strong>Siguiente.<\/strong><\/p>\n<p><strong><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b5_3.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b5_thumb_3.jpg\" width=\"544\" height=\"434\" \/><\/a> <\/strong><\/p>\n<p align=\"justify\"><strong>7.<\/strong> Una vez hicimos todos estos pasos nos aparecera un breve resumen, el cual es muy recomendable revisarlo y luego hacemos clic en <strong>Crear<\/strong> para crear el espacio de nombres <\/p>\n<p><strong><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b6.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b6_thumb.jpg\" width=\"544\" height=\"438\" \/><\/a> <\/strong><\/p>\n<p><strong><a href=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b7.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"www.radians.com.ar\" style=\"border: 0px currentcolor; display: inline;\" border=\"0\" alt=\"www.radians.com.ar\" src=\"http:\/\/www.radians.com.ar\/Articulos\/Images2016\/Instalaryconfigurarelsistemadearchivosdi_119FD\/b7_thumb.jpg\" width=\"544\" height=\"434\" \/><\/a> <\/strong><\/p>\n<p>Este proceso debe terminar bien, sin errores, sino no podremos continuar. La pr\u00f3xima nota agregaremos otro servidor a este espacio de nombres para que repliquen entre s\u00ed.<\/p>\n<p align=\"justify\">Espero les sea de inter\u00e9s y utilidad. Saludos. Roberto Di Lello<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hoy vamos a ver c\u00f3mo implementar sistema de archivos distribuido (DFS) en Wndows Server 2012&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4291,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[281],"tags":[324,290],"class_list":["post-3894","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-281","tag-dfs","tag-windows-server-2016"],"_links":{"self":[{"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3894"}],"version-history":[{"count":1,"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3894\/revisions"}],"predecessor-version":[{"id":3895,"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3894\/revisions\/3895"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=\/wp\/v2\/media\/4291"}],"wp:attachment":[{"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.radians.com.ar\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}