- Right- click the Start button ➢ Control Panel ➢ Administrative Tools ➢ iSCSI Initiator.
- If a dialog box appears, click Yes to start the service.
- Click the Discovery tab.
- In the Target Portals portion of the page, click Discover Portal.
- Enter the IP address of the target portal and click OK.
- The IP address of the target portal appears in the Target Portals box.
- Click OK.
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 it 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 iscsicli addisnsserver server_name, where server_name is the name of the computer hosting iSNS. Exercise 11.8 walks you through the steps required to install the iSNS feature on Windows Server 2022, and then it explains the different tabs in iSNS.
EXERCISE 11.8
Installing the iSNS Feature
- Choose Server Manager by clicking the Server Manager icon on the Taskbar.
- Click number 2 ➢ Add Roles And Features.
- Choose role- based or featured- based installation and click Next.
- Choose your server and click Next.
- Click Next on the Roles screen.
- On the Select Features screen, choose the iSNS Server Service check box. Click Next.
- On the Confirmation screen, click the Install button.
- Click the Close button. Close Server Manager and reboot.
- Log in and open the iSNS server under Administrative Tools.
- Click the General tab. This tab displays the list of registered initiators and targets. In addition to their iSCSI qualified name, 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).
- Click the Discovery Domains tab. The purpose of Discovery Domains is to provide a way to separate and group nodes. This is 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 is used to remove selected nodes from the discovery domain.
12. Click the Discovery Domain Sets tab (see Figure 11.7). The purpose of discovery domain sets is to separate further discovery domains. Discovery domains can be enabled or disabled, giving administrators the ability to restrict further 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.
EXERCISE 11.8 (continued)
■ 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.
FIGURE 11.7 Discovery Domain Tab
13. Close the iSNS server.
Implement Thin Provisioning and Trim
Thin provisioning and trim can be useful features that allow organizations to get the most out of their storage arrays. These solutions apply directly to a virtualized environment using virtual disks that are thin provisioned.
Thin provisioning is a way of providing what is known as just- in- time allocations. Blocks of data are written to disk only as they are used instead of zeroing out all of the blocks of data that have been allocated to the virtual disk configuration. Thin provisioning is tricky to manage properly because you could easily find yourself in a position where you have an over- provisioned environment because of over- allocation.
For example, you have 100 VMs that are all provisioned with 40 GB thin- provisioned virtual disks. Each VM is currently utilizing only 20 GB of the total 40 GB that has been allocated. The problem is that you have only 2 TB worth of storage. Without realizing it, you’ve over- provisioned your environment by 200 percent because of thin provisioning.
This is where trim comes in to help us manage thin provisioning. Trim automatically reclaims free space that is not being used. In addition to trim, Windows Server 2022 provides standardized notifications that will alert administrators when certain storage thresholds are crossed.
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 support 1Gb/s, 2Gb/s, and 4Gb/s connections, and they soon will support 8Gb/s connections, but now that 10Gb/s Ethernet networks are becoming more prevalent in many datacenters, iSCSI can be a suitable alternative. It is important to consider that 10Gb/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.