• No se han encontrado resultados

Matriz de consistencia

CAPÍTULO IV: DISCUSIÓN Y CONCLUSIONES

Anexo 1. Matriz de consistencia

Scenario

Your manager has asked you to add disk space to a file server that is running on a virtual machine. This virtual machine will potentially grow significantly in size in the upcoming months and you might need flexibility in your storage options. Your manager has asked you to optimize the cluster and sector size for virtual machines usage to accommodate large file sizes for storage on virtual machines. You need to assess the best options for storage and ease of expansion for potential future use.

Objectives

After completing this lab, you should be able to:

• Create and manage virtual hard disks.

• Resize volumes.

Lab Setup

Estimated Time: 40 minutes

Virtual machines: 20740B-LON-DC1, 20740B-LON-SVR1, and 20740B-LON-HOST1 User name: Adatum\Administrator

Password: Pa55w.rd

For this lab, you will use the available virtual machine environment. Before beginning the lab, you must complete the following steps:

1. On the host computer, start Hyper-V Manager.

2. In Hyper-V Manager, click 20740B-LON-DC1, and then in the Actions pane, click Start.

3. In the Actions pane, click Connect. Wait until the virtual machine starts.

4. Sign in by using the following credentials:

o User name: Administrator o Password: Pa55w.rd o Domain: Adatum

5. Repeat steps 2 through 4 for 20740B-LON-SVR1.

Exercise 1: Creating and managing volumes

Scenario

In the test lab, you start by creating a number of volumes on the installed hard disks.

The main tasks for this exercise are as follows:

1. Create a hard disk volume and format for ReFS.

2. Create a mirrored volume.

MCT USE ONL Y. STUDENT USE PROHIBITED

2-24 Configuring local storage

 Task 1: Create a hard disk volume and format for ReFS 1. On LON-SVR1, open Windows PowerShell (Admin).

2. Create a new volume formatted for ReFS by using all the available disk space on Disk 1. Use the following Windows PowerShell cmdlets to complete this process:

a. List all the available disks that have yet to be initialized:

Get-Disk | Where-Object PartitionStyle –Eq "RAW"

b. Initialize disk 2:

Initialize-disk 2

c. Review the partition table type:

Get-disk

d. Create an ReFS volume by using all the available space on disk 1:

New-Partition -DiskNumber 2 -UseMaximumSize -AssignDriveLetter | Format-Volume -NewFileSystemLabel "Simple" -FileSystem ReFS

3. Open File Explorer, and verify that the new drive is created and formatted. What is the drive letter?

 Task 2: Create a mirrored volume

1. Open Disk Management, and initialize all remaining disks.

2. Create a new volume on Disk 3 and Disk 4 with the following properties:

o Disks: Disk 3 and Disk 4 o File system: NTFS o Quick format: Yes o Drive letter: M o Volume label: Mirror

Results: After completing this exercise, you should have successfully created several volumes.

Exercise 2: Resizing volumes

Scenario

You create a new volume, and then realize that you must resize it. You decide to use Diskpart.exe to complete this process.

The main tasks for this exercise are as follows:

1. Create a simple volume and resize it.

2. Shrink a volume.

3. Prepare for the next exercise.

MCT USE ONL Y. STUDENT USE PROHIBITED

Installation, Storage, and Compute with Windows Server 2016 2-25

 Task 1: Create a simple volume and resize it

1. Switch to Windows PowerShell (Admin) and create a new drive by running the following commands:

o Initialize disk 5: Initialize-disk 5 o Open diskpart: diskpart.

o List available disks: List disk

o Select the appropriate disk: Select disk 5 o Make the disk dynamic: Convert dynamic

o Create a simple volume on Disk 5: Create volume simple size=10000 disk=5 o Assign the drive letter Z: Assign letter=z

o Format the volume for NTFS: Format

2. In Disk Management, verify the presence of an NTFS volume on Disk 5 of size approximately 10 GB.

3. In the Windows PowerShell (Admin) window, run the following command:

Extend size 10000

4. In Disk Management, verify the presence of an NTFS volume on Disk 5 of size approximately 20 GB.

 Task 2: Shrink a volume

1. In the Windows PowerShell (Admin) window, run the following command:

Shrink desired=15000

2. Switch to Disk Management.

3. Verify the presence of an NTFS volume on Disk 5 of size approximately 5 GB.

4. Close the Windows PowerShell (Admin) window.

 Task 3: Prepare for the next exercise 1. On the host computer, start Hyper-V Manager.

2. In the Virtual Machines list, right-click 20740B-LON-DC1, and then click Revert.

3. In the Revert Virtual Machine dialog box, click Revert.

4. Repeat steps 2 and 3 for 20740B-LON-SVR1.

5. Restart your computer and select 20740B-LON-HOST1 when prompted.

6. Sign in as Administrator with the password Pa55w.rd.

Results: After completing this exercise, you should have successfully resized a volume.

MCT USE ONL Y. STUDENT USE PROHIBITED

2-26 Configuring local storage

Exercise 3: Managing virtual hard disks

Scenario

You are required to create and configure virtual hard disks for use in a Windows Server 2016 server computer. The virtual hard disk is for the Sales department. You decide to use Windows PowerShell to achieve these objectives. First, you must install the Windows PowerShell Hyper-V module.

The main tasks for this exercise are as follows:

1. Install the Hyper-V module.

2. Create a virtual hard disk.

3. Reconfigure the virtual hard disk.

4. Prepare for the next module.

 Task 1: Install the Hyper-V module

1. On your host computer, open Server Manager and install the Hyper-V server role and management tools.

2. Restart your computer and select 20740B-LON-HOST1 when prompted.

Note: Your computer might restart several times following installation of the Hyper-V components.

3. Sign in as Administrator with the password Pa55w.rd.

 Task 2: Create a virtual hard disk

1. On your host computer, open Windows PowerShell (Admin).

2. At the Windows PowerShell command prompt, type the following command, and then press Enter:

New-VHD -Path c:\sales.vhd -Dynamic -SizeBytes 10Gb | Mount-VHD -Passthru

|Initialize-Disk -Passthru |New-Partition -AssignDriveLetter -UseMaximumSize |Format-Volume -FileSystem NTFS -Confirm:$false -Force

Note: If you receive a Microsoft Windows pop-up dialog box prompting you to format the disk, close it and continue.

 Task 3: Reconfigure the virtual hard disk

Note: These steps are a duplicate of the detailed steps due to the complexity of the Windows PowerShell commands.

1. To dismount the virtual hard disk, at the Windows PowerShell command prompt, type the following command, and then press Enter:

Dismount-vhd C:\Sales.vhd

MCT USE ONL Y. STUDENT USE PROHIBITED

Installation, Storage, and Compute with Windows Server 2016 2-27

2. To check the properties of the virtual hard disk, at the Windows PowerShell command prompt, type the following command, and then press Enter:

Get-vhd C:\Sales.vhd

Question: What is the physical sector size?

3. To convert to a .vhdx file, at the Windows PowerShell command prompt, type the following command, and then press Enter:

Convert-VHD –Path C:\Sales.vhd –DestinationPath c:\Sales.vhdx

4. To change the sector size, at the Windows PowerShell command prompt, type the following command, and then press Enter:

Set-VHD –Path c:\Sales.vhdx –PhysicalSectorSizeBytes 4096

5. To check the properties of the .vhdx file, at the Windows PowerShell command prompt, type the following command, and then press Enter:

Get-vhd C:\Sales.vhdx

Question: What is the physical sector size?

6. To optimize the .vhdx file, at the Windows PowerShell command prompt, type the following command, and then press Enter:

Optimize-VHD –Path c:\Sales.vhdx –Mode Full

 Task 4: Prepare for the next module

• Restart your computer, and when prompted, choose Windows Server 2016.

Question: In the lab, you used the Diskpart.exe command-line tool to create and resize volumes. What alternate Windows PowerShell cmdlets could you have used?

Question: Your current volume runs out of disk space. You have another disk available in the same server. What actions in the Windows operating system can you perform to help you add disk space?

Results: After completing this exercise, you should have successfully created and managed virtual hard disks by using Windows PowerShell.

MCT USE ONL Y. STUDENT USE PROHIBITED

2-28 Configuring local storage

Module Review and Takeaways

Review Questions

Question: What are the two disk types in Disk Management?

Question: What are the most important implementations of RAID?