0% encontró este documento útil (0 votos)
172 vistas

Lab 07 - Implementación de iSCSI y BranchCache Pt.2

Este laboratorio tiene como objetivo implementar iSCSI y BranchCache. Se configura un almacenamiento iSCSI para proporcionar una opción de almacenamiento de grandes cantidades de datos. Luego, se configura BranchCache en los servidores principales y clientes para optimizar el acceso a archivos compartidos entre sucursales a través de una conexión lenta simulada. Finalmente, se habilitan reglas de firewall para permitir que BranchCache funcione correctamente.
Derechos de autor
© © All Rights Reserved
Nos tomamos en serio los derechos de los contenidos. Si sospechas que se trata de tu contenido, reclámalo aquí.
Formatos disponibles
Descarga como PDF, TXT o lee en línea desde Scribd
0% encontró este documento útil (0 votos)
172 vistas

Lab 07 - Implementación de iSCSI y BranchCache Pt.2

Este laboratorio tiene como objetivo implementar iSCSI y BranchCache. Se configura un almacenamiento iSCSI para proporcionar una opción de almacenamiento de grandes cantidades de datos. Luego, se configura BranchCache en los servidores principales y clientes para optimizar el acceso a archivos compartidos entre sucursales a través de una conexión lenta simulada. Finalmente, se habilitan reglas de firewall para permitir que BranchCache funcione correctamente.
Derechos de autor
© © All Rights Reserved
Nos tomamos en serio los derechos de los contenidos. Si sospechas que se trata de tu contenido, reclámalo aquí.
Formatos disponibles
Descarga como PDF, TXT o lee en línea desde Scribd
Está en la página 1/ 18

ADMINISTRACIÓN DE SISTEMAS OPERATIVOS

AVANZADO

LABORATORIO N° 07

Implementación de iSCSI y BranchCache

CODIGO DEL CURSO: C33366

Alumno(s): CRISTHIAN GUSTAVO JARITA APAZA Nota

Grupo: B Ciclo: IV
Requiere No
Excelente Bueno Puntaje
Criterios de Evaluación (4pts) (3pts)
Mejora Acept.
Logrado
(2pts) (0pts)
Identifica correctamente el procedimiento de
implementación de iSCSI y BranchCache
Instala y configura correctamente el servicio de
iSCSI
Configura correctamente la tecnología de
BranchCache.
Redacta correctamente los pasos principales de la
implementación y conclusiones.
Se comunica de manera efectiva, trabaja con orden,
limpieza y puntualidad.

ADMINISTRACIÓN DE REDES Y COMUNICACIONES


PROGRAMA DE FORMACIÓN REGULAR
Administración de Sistemas Operativos Avanzado

Laboratorio 7: Implementación de iSCSI y BranchCache

Objetivos:
Al finalizar el laboratorio el estudiante será capaz de:
 Configurar un almacenamiento iSCSI
 Configurar un. Infraestructura de clasificación de archivos
 Instalar y configurar BranchCache

Seguridad:

 Ubicar maletines y/o mochilas en el gabinete al final de aula de Laboratorio o en los casilleros
asignados al estudiante.
 No ingresar con líquidos, ni comida al aula de Laboratorio.
 Al culminar la sesión de laboratorio apagar correctamente la computadora y la pantalla, y ordenar
las sillas utilizadas.

Equipos y Materiales:

 Una computadora con:


 Windows 7 o superior
 VMware Workstation 10+ o VMware Player 7+
 Conexión a la red del laboratorio

 Máquinas virtuales:

 DVD:
 De Windows Server 2012

Guía de Laboratorio Pág. 2


Administración de Sistemas Operativos Avanzado

Procedimiento:
Escenario A

Debido a que A. Datum se ha expandido, los requerimientos para la administración de almacenamiento


y el acceso a los archivos compartidos también se han expandido. A pesar que el costo de
almacenamiento ha disminuido significativamente en los últimos años, la cantidad de datos producidos
por la empresa se ha incrementado muy rápido. La empresa está considerando alternativas para
disminuir el costo de almacenar los datos en la red, y está considerando opciones para optimizar el
acceso a los datos en las nuevas sucursales. La empresa desea que los datos almacenados en las
carpetas compartidas sean datos de la empresa y no archivos que no han sido aprobados.

Como administrador de los servidores de la empresa, usted es responsable de implementar las nuevas
tecnologías de almacenamiento para la empresa. Implementará un almacenamiento iSCSI para
proporcionar una opción menos complicada para el almacenamiento de grandes cantidades de datos.
.

Lab Setup

1. Abrir VMware Workstation y crear un “snapshot” de las máquinas virtuales: LON-DC1, LON-SVR1,
LON-SVR2, LON-CL1 y LON-CL2.

2. Encender las máquinas virtuales: LON-DC1 y asegurarse que las dos tarjetas de red estén
habilitadas.

3. Repetir el paso 2 para LON-SVR1 y LON-SVR2.

4. No encender LON-CL1 y LON-CL2, hasta que el laboratorio lo indique.

Guía de Laboratorio Pág. 3


Administración de Sistemas Operativos Avanzado

PARTE B: Implementación de BrandCache

La empresa A. Datum ha implementado una nueva sucursal, la cual tiene un solo servidor. Para
optimizar el acceso a los archivos en las sucursales, debe configurar BranchCache. Para reducir el uso
de la conexión WAN en las sucursales, debe configurar BranchCache para extraer datos desde la
oficina principal. También implementará FSRM para ayudar en la optimización del almacenamiento de
archivos.
.
1. Encender las máquinas virtuales: LON-DC1 y asegurarse que las dos tarjetas de red estén
habilitadas.

2. Repetir el paso 2 para LON-SVR1 y LON-SVR2.

3. No encender LON-CL1 y LON-CL2, hasta que en la guía de laboratorio se indique.

EJERCICIO 3: Configurando los servidores de la oficina principal para BranchCache

Escenario

Antes de configurar la característica BranchCahe debe configurar los componentes de red.

Las principales tareas para este ejercicio son las siguientes:


 Configurar LON-DC1 para usar BranchCache
 Simular un enlace lento para el BranchCache
 Habilitar una carpeta compartida para BranchCache
 Configurar el firewall del cliente

► Task 1: Configure LON-DC1 to use Windows BranchCache


1. On LON-DC1, on the taskbar, click the Server Manager icon.
2. In the Server Manager, click Add roles and features.
3. In the Add Roles and Features Wizard, on the Before You Begin page, click Next.
4. On the Select installation type page, click Next.
5. On the Select destination server page, ensure that Select server from the sewer pool is
selected, and then click Next.
6. On the Select sewer roles page, expand File And Storage Services (3 of 12 installed),
expand File and iSCSI Services (2 of 11 installed), select the BranchCache for Network Files
check box, and then click Next.
7. On the Select features page, click Next.
8. On the Confirm installation selections page^ click Install.
9. Click Close, and close Server Manager.
10. Right-click the Start charm and click Run, in the Run text box, type gpedit.msc, and then press

Enter.
11. In the Local Group Policy Editor console, in the navigation pane, under Computer

Configuration, expand Administrative Templates, expand Network, and then click Lanman
Server.
12. On the Lanman Server result pane, in the Setting list right-click Hash Publication for

BranchCache, and then click Edit.


13. In the Hash Publication for BranchCache dialog box, click Enabled, in the Hash publication

Guía de Laboratorio Pág. 4


Administración de Sistemas Operativos Avanzado

actions list, select the Allow hash publication only for shared folders on which
BranchCache is enabled, and then dick OK.

► Task 2: Simulate a slow link to the branch office


1. In the LocaI Group Policy Editor console, in the navigation pane, under Computer
Configuration, expand Windows Settings right-click Policy-based QoS, and then click Create
new policy.
2. In the Policy-based QoS Wizard, on the Create a QoS policy page, in the Policy name text box,
type Limit to 100 Kbps, and then select the Specify Outbound Throttle Rate check box In the
Specify Outbound Throttle Rate text box, type 100, and then click Next.
3. On the This QoS polity applies to page, click Next.
4. On the Specify the source and destination IP addresses page, click Next.
5. On the Specify the protocol and port numbers page, click Finish.
6. Close the Local Group Policy Editor console.

► Task 3: Enable a file share for BranchCache


1. On LON-DC1, on the taskbar, click the File Explorer icon.
2. In the File Explorer window, browse to Local Disk (C:).
3. In the Local Disk (C:) window, on the menu, dick the Home tab, and then click New Folder.
4. Type Share, and press Enter.
5. Right-click Share, and click Properties.
6. In the Share Properties dialog box, on the Sharing tab, click Advanced Sharing.
7. Select the Share this folder check box, and click Caching.
8. In the Offline Settings dialog box select the Enable BranchCache check box, and then click
OK.
9. In the Advanced Sharing dialog box click OK.
10. In the Share Properties dialog box, click Close.

11. Right-click the Start charm and click Search, and in the Search text box type cmd, and then

press Enter.
12. At the command prompt, type the following command, and then press Enter:

Copy C:\windows\system32\mspaint.exe c:\share


13. Close the command prompt

14. Close File Explorer.

► Task4: Configure client firewall rules for BranchCache

1. On LON-DC1, in the Server Manager, click Tools* and then click Group Policy Management.
2. In the Group Policy Management console, expand Forest: Adatum.com, expand Domains
expand Adatum.com, right-click Default Domain Policy, and then click Edit.

Guía de Laboratorio Pág. 5


Administración de Sistemas Operativos Avanzado

3. In the Group Policy Management Editor, in the navigation pane, under Computer Configuration,
expand Policies, expand Windows Settings, expand Security Settings and then expand
Windows Firewall with Advanced Security.
4. In Windows Firewall with Advanced Security, in the navigation pane, expand Windows Firewall
with Advanced Security, and then click Inbound Rules.
5. In the Group Policy Management Editor, right-click Inbound Rules and then click New Rule.
6. In the New Inbound Rule Wizard, on the Rule Type page, click Predefined, click BranchCache -
Content Retrieval (Uses HTTP), and then dick Next.
7. On the Predefined Rules page, click Next.
8. On the Action page, click Finish to create the firewall inbound rule.
9. In the Group Policy Management Editor, in the navigation pane, click Inbound Rules, and then in
the Group Policy Management Editor, on the Action menu, click New Rule.
10. On the Rule Type page, click Predefined click BranchCache - Peer Discovery (Uses WSD),

and then click Next.


11. On the Predefined Rules page, click Next.

12. On the Action page, click Finish.

13. Close the Group Policy Management Editor and Group Policy Management Console.

14. Right-click the Start charm and click Run. Type CMD in the Run box, and then click Enter.

15. At the command prompt type gpupdate /force and press Enter.

Entregable 1. Capture la pantalla que muestre la directiva aplicada ejecutando “gpresult /r”.

Guía de Laboratorio Pág. 6


Administración de Sistemas Operativos Avanzado

Results: At the end of this exercise, you will have deployed BranchCache, configured a slow
link, and enabled BranchCache on a file share.

EJERCICIO 4: Configurando los servidores de las sucursales

Escenario

El siguiente paso es configurar un servidor de archivos para la característica BranchCahe.

Las principales tareas para este ejercicio son las siguientes:


 Instalar el BranchCache en LON-SVR2
 Iniciar el BranchCache

► Task 1: Install the BranchCache for Network Files role and the BranchCache feature on LON-SVR2

1. On LON-SVR2, in Server Manager, click Add roles and features.


2. In the Add Roles and Features Wizard, on the Before You Begin page, click Next.
3. On the Select installation type page, click Next.
4. On the Select destination server page, ensure that Select server from the server pool is
selected, and then click Next.
5. On the Select server roles page, expand File And Storage Services (1 of 12 Installed),
expand File and iSCSI Services, and then select the BranchCache for Network Files check
box
6. In the Add Roles and Features Wizard dialog box click Add Features.
7. On the Select server roles page, click Next.
8. On the Select features page, click BranchCache and then click Next.
9. On the Confirm installation selections page, click Install, and then click Close.

► Task 2: Start the BranchCache host server

1. On LON-SVR2, on the taskbar, click the Windows PowerShell icon.


2. In the Windows PowerShell window, type the following cmdlet and then press Enter:
Enable-BCHostedServer -RegisterSCP
3. In the Windows PowerShell window, type the following cmdlet and then press Enter:
Get-BCStatus
4. Ensure that BranchCache is enabled and running. Note in the DataCache section, the current
active cache size is zero.

Entregable 2. Capture la pantalla que muestre el estado de BranchCache

Guía de Laboratorio Pág. 7


Administración de Sistemas Operativos Avanzado

5. At the prompt type gpupdate /force and press Enter.

Results: At the end of this exercise, you will have enabled the BranchCache server in the
branch office.

Guía de Laboratorio Pág. 8


Administración de Sistemas Operativos Avanzado

EJERCICIO 5: Configurando los clientes de BranchCache

Escenario

Después de configurar los componentes de red, debe asegurarse que las computadoras cliente están
configuradas correctamente.

Las principales tareas para este ejercicio son las siguientes:


 Configurar los clientes para BranchCache

Task 1: Configure client computers to use BranchCache in hosted cache mode

1. On LON-DC1, on the taskbar, dick the Server Manager icon.


2. In Server Manager, on the menu bar, click Tools, and then in the Tools drop-down list box,
select Group Policy Management.
3. In the Group Policy Management console, expand Forest: Adatum.com, expand Domains,
expand Adatum.com, right-click Adatum.com and then click New Organizational Unit
4. In the New Organizational Unit dialog box type Branch in the Name field, and then click OK.
5. Right-click the Branch OU and dick Create a GPO in this domain, and link it here.
6. In the New GPO dialog box, type BranchCache, and then dick OK.
7. Expand the Branch OU and right-click the BranchCache GPO and click Edit.
8. In the Group Policy Management Editor, in the navigation pane, under Computer Configuration,
expand Policies, expand Administrative Templates expand Network, and then click
BranchCache.
9. In the BranchCache results pane, in the Setting list, right-click Turn on BranchCache, and then
dick Edit.
10. In the Turn on BranchCache dialog box, click Enabled, and then click OK.

11. In the BranchCache results pane, in the Setting list right-click Enable Automatic Hosted Cache

Discovery by Service Connection Point, and then dick Edit.


12. In the Enable Automatic Hosted Cache Discovery by Service Connection Point dialog box,

click Enabled, and then click OK.


13. In the BranchCache results pane, in the Setting list right-click Configure BranchCache for

network files, and then click Edit


14. In the Configure BranchCache for network files dialog box, click Enabled, in the Type the

maximum round trip network latency (miliseconds) after which caching begins text box,
type 0, and then click OK. This setting is required to simulate access from a branch office and is
not typically required.
15. Close the Group Policy Management Editor.

16. Close the Group Policy Management Console.

17. In Server Manager, on the menu bar, click Tools, and then in the Tools drop-down list box,

select Active Directory Users and Computers.


18. Expand Adatum.com and click the Computers container.

Guía de Laboratorio Pág. 9


Administración de Sistemas Operativos Avanzado

19. While pressing the Ctrl key, select both LON-CL1 and LON-CL2. Right-click the selection and

click Move.
20. Click the Branch OU and then dick OK.

21. Close Active Directory Users and Computers.

22. Start 20412D-LON-CL1, and sign in as Adatum\Administrator with the password Pa$$w0rd.

23. On the Start screen, in the lower-right corner of the screen, click Search, in the Search text box,

type cmd, and then press Enter.


24. At the command prompt, type the following command, and then press Enter:

netsh branchcache show status all


25. Verify that the BranchCache Current Status is Running. If the status is Stopped, restart the

client machines.

Entregable 3. Capture la pantalla que muestre el resultado del comando ejecutado.

26. Start 20412D-LON-CL2, and sign in as Adatum\Administrator with the password Pa$$w0rd.

27. On the Start screen, in the lower-right corner of the screen, click Search, in the Search text box,

type power, and then press Enter.

Guía de Laboratorio Pág. 10


Administración de Sistemas Operativos Avanzado

28. In the Windows PowerShell window, type the following command, and then press Enter

netsh branchcache show status all


29. Verify that BranchCache Current Status is Running. If the status is Stopped, restart the client

Entregable 4. Capture la pantalla que muestre el resultado del comando ejecutado.

Results: At the end of this exercise, you will have configured the client computers for
BranchCache.

Guía de Laboratorio Pág. 11


Administración de Sistemas Operativos Avanzado

EJERCICIO 6: Monitoreando BranchCache

Escenario

Finalmente, debe probar y verificar que BranchCache está trabajando como se espera.

Las principales tareas para este ejercicio son las siguientes:


 Configurar el monitor de rendimiento en LON-SVR2
 Configurar las estadísticas de rendimiento en LON-CL1
 Configurar las estadísticas de rendimiento en LON-CL2
 Probar BranchCache

► Task 1: Configure Performance Monitor on LON-SVR2

1. Switch to LON-SVR2.
2. In Server Manager, on the menu bar, click Tool* and then from the Tools drop-down list box,
click Performance Monitor.
3. In the Performance Monitor console, in the navigation pane, under Monitoring Tools, click
Performance Monitor.
4. In the Performance Monitor results pane, click the Delete icon.
5. In the Performance Monitor results pane, click the Add (Ctrl+N) icon.
6. In the Add Counters dialog box, under Select counters from computer, click BranchCache,
click Add, and then click OK.
7. On the Change Graph type button, select Report.

Entregable 5. Capture la pantalla que muestre el resultado del monitoreo realizado

Guía de Laboratorio Pág. 12


Administración de Sistemas Operativos Avanzado

► Task 2: Configure performance statistics on LON-CL1

1. Switch to LON-CL1.
2. Point to the lower-right corner of the screen, click Search, in the Search text box, type perfmon,
and then press Enter.
3. In the Performance Monitor console, in the navigation pane, under Monitoring Tools, click
Performance Monitor.
4. In the Performance Monitor results pane, click the Delete icon.
5. In the Performance Monitor results pane, click the Add (Ctrl+N) icon.
6. In the Add Counters dialog box, under Select counters from computer, click BranchCache,
click Add, and then click OK.
7. Change graph type to Report. Notice that the value of aII performance statistics is zero.

Entregable 6. Capture la pantalla que muestre el resultado del monitoreo.

► Task 3: Configure performance statistics on LON-CL2

1. Switch to LON-CL2.

Guía de Laboratorio Pág. 13


Administración de Sistemas Operativos Avanzado

2. Point to the lower-right corner of the screen, click Search, in the Search text box, type perfmon,
and then press Enter.
3. In the Performance Monitor console, in the navigation pane, under Monitoring Tools, click
Performance Monitor.
4. In the Performance Monitor results pane, click the Delete icon.
5. In the Performance Monitor results pane, click the Add (Ctrl+N) icon.
6. In the Add Counters dialog box, under Select counters from computer, click BranchCache,
click Add, and then click OK.
7. Change graph type to Report. Notice that the value for all performance statistics is zero.

Entregable 7. Capture la pantalla que muestre el resultado del monitoreo.

► Task4: Test BranchCache in the hosted cache mode

1. Switch to LON-CL1.
2. On the taskbar, click the File Explorer icon.
3. In File Explorer address bar, type \\LON-DC1.adatum.com\Share, and then press Enter.

Guía de Laboratorio Pág. 14


Administración de Sistemas Operativos Avanzado

4. In the Share window, in the Name list, right-click mspaint.exe, and then click Copy.
5. In the Share window, click Minimize.
6. On the desktop, right-click anywhere, and then click Paste.
7. Read the performance statistics on LON-CL1. This file was retrieved from LON-DC1 (Retrieval:
Bytes from Server). After the file was cached locally, it was passed up to the hosted cache.
(Retrieval: Bytes Served)

Entregable 8. Capture la pantalla que muestre el resultado del monitoreo realizado.

8. Switch to LON-CL2.
9. On the taskbar, click the File Explorer icon.
10. In the File Explorer address bar, type \\LON-DC1.adatum.com\Share, and then press Enter.

11. In the Share window, in the Name list, right-click mspaint.exe, and then click Copy.

12. In the Share window, click Minimize.

13. On the desktop, right-click anywhere, and then click Paste.

14. Read the performance statistics on LON-CL2. This file was obtained from the hosted cache

(Retrieval: Bytes from Cache).

Guía de Laboratorio Pág. 15


Administración de Sistemas Operativos Avanzado

Entregable 9. Capture la pantalla que muestre el resultado del monitoreo en LON-CL2

15. Read the performance statistics on LON-SVR2. This server has offered cached data to clients

(Hosted Cache: Client file segment offers made).

Entregable 10. Capture la pantalla que muestre el resultado del monitoreo en LON-SVR2

Guía de Laboratorio Pág. 16


Administración de Sistemas Operativos Avanzado

16. On LON-SVR2, on the taskbar, click the Windows PowerShell icon.

17. In the Windows PowerShell window, type the following cmdlet, and then press Enter:

Get-BCStatus

Entregable 11. Capture las pantallas que muestre el resultado del comando.

Guía de Laboratorio Pág. 17


Administración de Sistemas Operativos Avanzado

Note: In the DataCache section, the current active cache size is no longer zero, it is 6560896.

► Task 5: To Prepare for the Next Module

1. Volver el estado de las máquinas virtuales al “snapshot” creado antes de iniciar el laboratorio.

Conclusiones:
Indicar las conclusiones que llegó después de los temas tratados de manera práctica en este
laboratorio.

 Con BranchCache es recomendable utilizar si tenemos una oficina remota sin tener un
servidor SCCM. En el cual esto nos ayudará a reducir la utilización del ancho de banda
del enlace WAN existente en la red y la infraestructura de seguridad.
 Con BranchCache estaremos seguros que no serán alterados los procesos de
autenticación o autorización de Windows. El modelo de seguridad de BranchCache
está basado en la creación de metadatos, que toman la forma de una serie de hash.
 En definitiva, BranchCache aumenta la productividad del usuario final, mejora tanto el
tiempo de respuesta de las consultas de contenido en los clientes y servidores de las
sucursales como el rendimiento de la red, ya que reduce el tráfico en los vínculos WAN.

Guía de Laboratorio Pág. 18

También podría gustarte