MCSA Windows Server 2012 R2 Complete Study Guide. Panek William

Чтение книги онлайн.

Читать онлайн книгу MCSA Windows Server 2012 R2 Complete Study Guide - Panek William страница 27

MCSA Windows Server 2012 R2 Complete Study Guide - Panek William

Скачать книгу

MPIO to provide this functionality is the new native Microsoft Device Specific Module (Microsoft DSM). The Microsoft DSM is a driver that communicates with storage devices – iSCSI, Fibre Channel, or SAS – and it provides the chosen load-balancing policies. Windows Server 2012 R2 supports the following load-balancing policies:

      Failover In a failover configuration, there is no load balancing. There is a primary path that is established for all requests and subsequent standby paths. If the primary path fails, one of the standby paths will be used.

      Failback This is similar to failover in that it has primary and standby paths. However, with failback you designate a preferred path that will handle all process requests until it fails, after which the standby path will become active until the primary reestablishes a connection and automatically regains control.

      Round Robin In a round-robin configuration, all available paths will be active and will be used to distribute I/O in a balanced round-robin fashion.

      Round Robin with a Subset of Paths In this configuration, a specific set of paths will be designated as a primary set and another as standby paths. All I/O will use the primary set of paths in a round-robin fashion until all of the sets fail. Only at this time will the standby paths become active.

      Dynamic Least Queue Depth In a dynamic least queue depth configuration, I/O will route to the path with the least number of outstanding requests.

      Weighted Path In a weighted path configuration, paths are assigned a numbered weight. I/O requests will use the path with the least weight – the higher the number, the lower the priority.

Exercise 1.7 demonstrates the process of installing the Microsoft MPIO feature for Windows Server 2012 R2.

EXERCISE 1.7: Installing Microsoft MPIO

      1. Choose Server Manager by clicking the Server Manager icon on the Taskbar.

      2. Click number 2, Add Roles And Features.

      3. Choose role-based or feature-based installation and click Next.

      4. Choose your server and click Next.

      5. Click Next on the Roles screen.

      6. On the Select Features screen, choose the Multipath I/O check box. Click Next.

      7. On the Confirm Installation Selections page, verify that Multipath I/O is the feature that will be installed. Click Install.

      8. After the installation completes, the Installation Results page appears stating that the server must be rebooted to finish the installation process.

      9. Click Close.

      10. Restart the system.

      Typically, most storage arrays work with the Microsoft DSM. However, some hardware vendors require DSM software that is specific to their products. Third-party DSM software is installed through the MPIO utility as follows:

      1. Open Administrative Tools ➢ MPIO.

2. Select the DSM Install tab (see Figure 1.7).

image

FIGURE 1.7 The DSM Install tab in the MPIO Properties dialog box

      3. Add the path of the INF file and click Install.

      iSCSI

      Internet Small Computer System Interface (iSCSI) is an interconnect protocol used to establish and manage a connection between a computer (initiator) and a storage device (target). It does this by using a connection through TCP port 3260, which allows it to be used over a LAN, a WAN, or the Internet. Each initiator is identified by its iSCSI Qualified Name (iqn), and it is used to establish its connection to an iSCSI target.

      iSCSI was developed to allow block-level access to a storage device over a network. This is different from using a network attached storage (NAS) device that connects through the use of Common Internet File System (CIFS) or Network File System (NFS).

      Block-level access is important to many applications that require direct access to storage. Microsoft Exchange and Microsoft SQL are examples of applications that require direct access to storage.

      By being able to leverage the existing network infrastructure, iSCSI was also developed as an alternative to Fibre Channel storage by alleviating the additional hardware costs associated with a Fibre Channel storage solution.

      iSCSI also has another advantage over Fibre Channel in that it can provide security for the storage devices. iSCSI can use Challenge Handshake Authentication Protocol (CHAP or MS-CHAP) for authentication and Internet Protocol Security (IPsec) for encryption. Windows Server 2012 R2 is able to connect an iSCSI storage device out of the box with no additional software needing to be installed. This is because the Microsoft iSCSI initiator is built into the operating system.

      Windows Server 2012 R2 supports two different ways to initiate an iSCSI session.

      ■ Through the native Microsoft iSCSI software initiator that resides on Windows Server 2012 R2

      ■ Using a hardware iSCSI host bus adapter (HBA) that is installed in the computer

      Both the Microsoft iSCSI software initiator and iSCSI HBA present an iSCSI qualified name that identifies the host initiator. When the Microsoft iSCSI software initiator is used, the CPU utilization may be as much as 30 percent higher than on a computer with a hardware iSCSI HBA. This is because all of the iSCSI process requests are handled within the operating system. Using a hardware iSCSI HBA, process requests can be offloaded to the adapter, thus freeing the CPU overhead associated with the Microsoft iSCSI software initiator. However, iSCSI HBAs can be expensive, whereas the Microsoft iSCSI software initiator is free.

It is worthwhile to install the Microsoft iSCSI software initiator and perform load testing to see how much overhead the computer will have prior to purchasing an iSCSI HBA or HBAs, depending on the redundancy level. Exercise 1.8 explains how to install and configure an iSCSI connection.

EXERCISE 1.8: Configuring iSCSI Storage Connection

      1. Click the Windows key or Start button in the left-hand corner ➢ Administrative Tools ➢ iSCSI Initiator.

      2. If a dialog box appears, click Yes to start the service.

      3. Click the Discovery tab.

image

      4. In the Target Portals portion of the page, click Discover Portal.

      5. Enter the IP address of the target portal and click OK.

image

      6. The IP address of the target portal appears in the Target Portals box.

      7. Click OK.

      To use the storage that has now been presented to the server, you must create a volume on it and format the space. Refer to Exercise 1.3 to review this process.

Скачать книгу