Windows 7

Internet Storage Name Service

Internet Storage Name Service (iSNS) allows for central registration of an iSCSI environment because it automatically discovers available targets on the network. The purpose of iSNS is to help find available targets on a large iSCSI network.

The Microsoft iSCSI initiator includes an iSNS client that is used to register with the iSNS. The iSNS feature maintains a database of clients that it has registered either through DCHP discovery or through manual registration. iSNS DHCP is available after the installation of the service and is used to allow iSNS clients to discover the location of the iSNS. However, if iSNS DHCP is not configured, iSNS clients must be registered manually with the iscsicli command.

To execute the command, launch a command prompt on a computer hosting the Microsoft iSCSI and type the following: iscsicli addisnsserver <servername>, where <servername> is the name of the computer hosting iSNS. Below the steps required to install the iSNS feature on Windows Server 2012, and then it explains the different tabs in iSNS.

Installing the iSNS Feature on Windows Server 2012

  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 featured-based installation and click Next.
  4. Choose your server and click Next.
  5. Click Next at the Roles screen.
  6. At the Select Features screen, choose the iSNS Server Service check box. Click Next.
  7. At the Confirmation screen, click the Install button.
  8. Click the Close button. Close Server Manager and reboot.
  9. Log in and open the iSNS server under Administrative Tools.
  10. Click the General tab. This tab displays the list of registered initiators and targets. In addition to their iSCSI Qualified Name (iqn), it lists storage node type (Target or Initiator), alias string, and entity identifier (the Fully Qualified Domain Name (FQDN) of the machine hosting the iSNS client).
  11. Click the Discovery Domains tab. The purpose of Discovery Domains is to provide a way to separate and group nodes. This is very similar to zoning in Fibre Channel. The following options are available on the Discovery Domains tab:
    • Create is used to create a new discovery domain.
    • Refresh is used to repopulate the Discovery Domain drop-down list.
    • Delete is used to delete the currently selected discovery domain.
    • Add is used to add nodes that are already registered in iSNS to the currently selected discovery domain.
    • Add New is used to add nodes by entering the iSCSI Qualified Name (iqn) of the node. These nodes do not have to be currently registered.
    • Remove Used to remove selected nodes from the discovery domain.
  12. Click the Discovery Domain Sets tab. The purpose of discovery domain sets is to further separate discovery domains. Discovery domains can be enabled or disabled, giving administrators the ability to further restrict the visibility of all initiators and targets. The options on the Discovery Domain Sets tab are as follows:
    • The Enable check box is used to indicate the status of the discovery domain sets and to turn them off and on.
    • Create is used to create new discovery domain sets.
    • Refresh is used to repopulate the Discovery Domain Sets drop-down list.
    • Delete is used to delete the currently selected discovery domain set.
    • Add is used to add discovery domains to the currently selected discovery domain set.
    • Remove is used to remove selected nodes from the discovery domain sets.
  13. Close the iSNS Server.

Fibre Channel

Fibre Channel storage devices are similar to iSCSI storage devices in that they both allow block-level access to their data sets and can provide MPIO policies with the proper hardware configurations. However, Fibre Channel requires a Fibre Channel HBA, fiber-optic cables, and Fibre Channel switches to connect to a storage device.

A World Wide Name (WWN) from the Fibre Channel HBA is used from the host and device so that they can communicate directly with each other, similar to using a NIC's MAC address. In other words, a logical unit number (LUN) is presented from a Fibre Channel storage device to the WWN of the host's HBA. Fibre Channel has been the preferred method of storage because of the available connection bandwidth between the storage and the host.

Fibre Channel devices supports 1 Gb/s, 2 Gb/s, and 4 Gb/s connections and soon will support 8 Gb/s connections, but now that 10 Gb/s Ethernet networks are becoming more prevalent in many datacenters, iSCSI can be a suitable alternative. It is important to consider that 10 Gb/s network switches can be more expensive than comparable Fibre Channel switches.

N-Port Identification Virtualization (NPIV) is a Fibre Channel facility allowing multiple N-Port IDs to share a single physical N-Port. This allows multiple Fibre Channel initiators to occupy a single physical port. By using a single port, this eases hardware requirements in Storage Area Network (SAN) design.

Network Attached Storage

The concept of a network attached storage (NAS) solution is that it is a low-cost device for storing data and serving files through the use of an Ethernet LAN connection. A NAS device accesses data at the file level via a communication protocol such as NFS, CIFS, or even HTTP, which is very different from iSCSI or FC Fibre Channel storage devices that access the data at the block level. NAS devices are best used in file-storing applications, and they do not require a storage expert to install and maintain the device. In most cases, the only setup that is required is an IP address and an Ethernet connection.

Virtual Disk Service

Virtual Disk Service (VDS) was created to ease the administrative efforts involved in managing all of the various types of storage devices. Many storage hardware providers used their own applications for installation and management, and this made administering all of these various devices very cumbersome.

VDS is a set of application programming interfaces (APIs) that provides a centralized interface for managing all of the various storage devices. The native VDS API enables the management of disks and volumes at an OS level, and hardware vendor-supplied APIs manage the storage devices at a RAID level. These are known as software and hardware providers.

A software provider is host based, and it interacts with Plug and Play Manager because each disk is discovered and operates on volumes, disks, and disk partitions. VDS includes two software providers: basic and dynamic. The basic software provider manages basic disks with no fault tolerance, whereas the dynamic software providers manage dynamic disks with fault management. A hardware provider translates the VDS APIs into instructions specific to the storage hardware. This is how storage management applications are able to communicate with the storage hardware to create LUNs or Fibre Channel HBAs to view the WWN. The following are Windows Server 2012 storage management applications that use VDS:

  • The Disk Management snap-in is an application that allows you to configure and manage the disk drives on the host computer. You have already seen this application in use when you initialized disks and created volume sets.
  • DiskPart is a command-line utility that configures and manages disks, volumes, and partitions on the host computer. It can also be used to script many of the storage management commands. DiskPart is a very robust tool. The various commands and their function in the DiskPart utility.
  • DiskRAID is also a scriptable command-line utility that configures and manages hardware RAID storage systems. However, at least one VDS hardware provider must be installed for DiskRAID to be functional.

Booting from a VHD

Once you have installed each operating system, you can choose the operating system that you will boot to during the boot process. You will see a boot selection screen that asks you to choose which operating system you want to boot.

The Boot Configuration Data (BCD) store contains boot information parameters that were previously found in boot.ini in older versions of Windows. To edit the boot options in the BCD store, use the bcdedit utility, which can only be launched from a command prompt. To open a command prompt window, do the following:

  1. Launch \Windows\system32\cmd.exe.
  2. Open the Run command by pressing the Windows key plus the R key and then entering cmd.
  3. Type cmd.exe in the Search Programs And Files box and press Enter.

After the command prompt window is open, type bcdedit to launch the bcdedit utility. You can also type bcdedit /? to see all of the different bcdedit commands.

[Previous] [Contents] [Next]