HP StorageWorks 2000s, StorageWorks 1500s, StorageWorks 1200s, StorageWorks 500s User Manual

User Guide
hp StorageWorks
iSCSI Feature Pack
Product Version: Version 1.5
First Edition (September 2004)
Part Number: T3662-90901
HP StorageWorks iSCSI Feature Pack for HP NAS products provides virtualization, allocation of disk storage, and centralized management for iSCSI host applications.
© Copyright 2004 FalconStor Software and Hewlett-Packard Development Company, L.P. Hewlett-Packard Company makes no warranty of any kind with regard to this material, including, but not limited to, the implied
warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
This document contains proprietary information, which is protected by copyright. No part of this document may be photocopied, reproduced, or translated into another language without the prior written consent of Hewlett-Packard. The information contained in this document is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The information is provided “as is” without warranty of any kind and is subject to change without notice. The warranties for Hewlett-Packard Company products are set forth in the express limited warranty statements for such products. Nothing herein should be construed as constituting an additional warranty.
FalconStor is a registered trademark of FalconStor Software. Microsoft®, MS-DOS®, MS Windows®, Windows®, and Windows NT® are U.S. registered trademarks of Microsoft
Corporation.
hp StorageWorks iSCSI Feature Pack User Guide First Edition (September 2004) Part Number: T3662-90901
Contents
1 Introduction
HP StorageWorks iSCSI Feature Pack. . . . . . . . . . . . . . . . . . . . . 3
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Getting Help
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Configuring Your iSCSI System
iSNS Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Default Portal Template
License and Version Information
Server Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Server Diagnostic File
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
. . . . . . . . . . . . . . . . . . . . . . . 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 Logical Units
Creating a New Logical Unit . . . . . . . . . . . . . . . . . . . . . . . . . 14
Importing a Logical Unit
Viewing Layout
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Expanding a Logical Unit
Assigning/Unassigning a Host to a Logical Unit
Viewing Logical Unit Properties
Deleting Logical Units
4Hosts
Creating a New Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
. . . . . . . . . . . . . . . . . . . . . . . . . . . 17
. . . . . . . . . . . . . . . . 17
. . . . . . . . . . . . . . . . . . . . . . . 18
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
HP StorageWorks iSCSI Feature Pack User Guide 1
Managing Host Initiators . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Managing the LUs Assigned to a Host
. . . . . . . . . . . . . . . . . . . . . 21
Managing Portals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Viewing Host
Deleting Hosts
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5 Command Line Interface
Command Line Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Global Options
Device Commands
File Storage Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Storage Pool Commands
Host Commands
Logical Unit Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Configuration Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
. . . . . . . . . . . . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
. . . . . . . . . . . . . . . . . . . . . . . . . . . 40
iSNS Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
iSCSI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6 Glossary
2 HP StorageWorks iSCSI Feature Pack User Guide
Introduction
With an ever-expanding need for storage, it has become increasingly desirable for small and medium-sized businesses to consolidate and centralize all of their data.
While Windows-powered HP StorageWorks NAS products have addressed some of their file-level needs, consolidation/centralization of block-level storage for applications such as databases and messaging servers has been difficult for these businesses because of a lack of resources to address the costs and complexity of supporting a Storage Area Network. As a result, the majority of small and medium business databases and messaging servers are still using direct attached storage and storage administrators are facing increasing manageability problems.
The advent of a standard iSCSI protocol holds the promise of allowing these businesses to have their applications access centralized storage using their existing, familiar IP network infrastructure.
What is iSCSI?
You are probably already familiar with the Small Computer Systems Interface (SCSI) which enables host computers to perform block-level data I/O to a variety of peripheral devices (such as disk and tape devices and printers). The Internet SCSI (iSCSI) protocol adds dimension to SCSI and eliminates the distance limitation associated with it by enabling block-level I/O over the IP network.
With its ability to simply attach servers and storage devices into your existing network infrastructure, iSCSI enables your organization to cost-effectively build and manage a storage area network based on technologies (SCSI, IP) you already understand and use.
HP StorageWorks iSCSI Feature Pack
HP StorageWorks iSCSI Feature Pack for HP StorageWorks NAS products provides virtualization, allocation of disk storage, and centralized management for iSCSI host applications.
HP iSCSI Feature Pack is comprised of a Windows-compatible iSCSI target driver and an iSNS (Internet Storage Name Service) server. All software management has been integrated under a tabular “iSCSI” window in the Windows Server 2003
HP StorageWorks iSCSI Feature Pack User Guide 3
Web Administration
screen.
The following figure illustrates how your NAS system provides file-level storage for your workstations, and how your iSCSI Feature Pack provides block-level storage for your application and file servers.
HP StorageWorks iSCSI Feature Pack User Guide 4
Getting Started
The following steps provide an overview of the tasks you must complete to configure your system. To install the iSCSI Feature Pack software:
1. For systems with a DVD/CD-ROM drive:
a. Insert the iSCSI Feature Pack installation CD into your CD-ROM.
b. Click
For systems without a DVD/CD-ROM drive
2.
setup.exe
.
another system, or copy the CD across the network.
a. To share the CD from another system:
Insert the CD into another system and share out that system’s DVD/CD-ROM drive.
From the NAS storage server, map a drive to the CD share and install from it. You can map to the DVD/CD share from your iSCSI storage server via Windows Terminal Services client,or via Remote Desktop if you do not have a monitor on your NAS storage server.
b. To copy the CD across the network:
Create a directory on the C: drive of the NAS system (e.g. C:\iSCSI), and make it a share with Full Control (read/write permission).
Connect to the share from a remote system that has a CD-ROM drive using the Microsoft File Explorer.
From the remote system, copy the contents of the CD-ROM to the share on the NAS system.
On the NAS system, use My Computer or the File Explorer to browse the directory that was created (e.g. C:\iSCSI). The contents of the iSCSI Feature Pack CD will now be in the directory. Click
setup.exe
, you can either share the CD from
to start the installation.
If your system does not have a monitor, you can use the Windows 2000 Terminal Services client or
Remote Desktop
Administration console) to install the software.
NOTICE: The name of your iSCSI Feature Pack system cannot exceed 15 characters. This is a
NetBIOS restriction. If your server name is longer, you must rename it before installing the iSCSI Feature Pack software.
NOTICE: You must use the ANSI machine name for the iSCSI Feature Pack system if you are
running the system on a non-English language machine.
NOTE: Your system will be rebooted after the installation.
(available from the
HP StorageWorks iSCSI Feature Pack User Guide 5
Maintenance
tab in the Web
3. Start your Web Administration console (consult your HP StorageWorks NAS server documentation for instructions). An
iSCSI
tab appears on the Web Administration
console. All features related to the iSCSI Feature Pack can be found under this tab.
4. Click on the
Status: Information
message that appears at the top of the console. You will see an alert that your iSCSI Feature Pack system has not been configured. Click to configure the following:
Enter key codes to activate the iSCSI Feature Pack.
Specify an Internet Storage Name Service (iSNS) server. iSNS facilitates device discovery in storage networks. For the iSCSI Feature Pack, iSNS facilitates the naming, registration, and discovery of iSCSI Logical Units (LU) by host initiators. By default, iSNS is disabled. If you have an external iSNS server, you can set the system to use it. If you do not have an external iSNS server, you can use the local one that is provided by the iSCSI Feature Pack (and runs as an independent Windows service when enabled).
The HP NAS 500s, 1200s, and 1500s systems have a single pre-allocated LUN and single file system. To allocate storage to the iSCSI target, create a virtual file-based device using NTFS (NT File System) volume space. You will need to specify how large it should be.
5. Install an iSCSI initiator on each of your host systems.
iSCSI initiator software/hardware is available from many sources and needs to be installed and configured on all servers that will access shared storage.
For Windows hosts, you can download a software initiator from Microsoft’s website: http://www.microsoft.com/windowsserversystem/storage/iscsi.mspx
For Linux hosts, you can download a software initiator from SourceForge.net: http://sourceforge.net/projects/unh-iscsi
For NetWare hosts, you can download a software initiator from Novell’s website: http://download.novell.com/pages/PublicSearch.jsp
6. Create your LUs. Refer to the Logical Units section for more details.
7. Add all of your hosts and assign them to your LUs. Refer to the Hosts section for more details.
This document provides all of the information you need to get started with your iSCSI Feature Pack.
HP StorageWorks iSCSI Feature Pack User Guide 6
Getting Help
If you still have a question after reading this guide, contact an HP authorized service provider or access our web site: http://www.hp.com.
HP Technical Support
Telephone numbers for worldwide technical support are listed on the following HP web site: http://www.hp.com/support. From this web site, select the country of origin.
NOTE: For continuous quality improvement, calls may be recorded or monitored.
Be sure to have the following information available before calling:
Technical support registration number (if applicable)
Product serial numbers
Product model names and numbers
Applicable error messages
Operating system type and revision level
Detailed, specific questions
HP Storage Web Site
The HP web site has the latest information on this product, as well as the latest drivers. Access the storage site at: http://www.hp.com/country/us/eng/prodserv/storage.html. From this web site, select the appropriate product or solution.
HP Authorized Reseller
For the name of your nearest HP authorized reseller:
In the United States, call 1-800-345-1518
In Canada, call 1-800-263-5868
Elsewhere, see the HP web site for locations and telephone numbers: http://www.hp.com.
HP StorageWorks iSCSI Feature Pack User Guide 7
Configuring Your iSCSI System
When you select available:
iSNS Configuration
Storage
Default Portal Template
License and Version Information
Server Configuration Files
Server Diagnostic File
Configuration
- Specify which iSNS Server to use.
- Manage iSCSI storage devices and pools.
from the main iSCSI screen, the following functions are
- Add/delete portals that will be assigned to hosts.
- Enter key codes for licensed components.
- Back up and restore the server configuration.
- Capture an X-ray for technical supprort.
iSNS Configuration
iSNS facilitates device discovery in storage networks. For the iSCSI Feature Pack, iSNS facilitates the naming, registration, and discovery of iSCSI Logical Units (LU) by host initiators.
By default, iSNS is disabled. If you have an external iSNS server, you can set the system to use it. If you do not have an external iSNS server, you can use the local one that is provided by the iSCSI Feature Pack. When enabled, it runs as an independent Windows service.
1. Select
2. Select
3. To use the local iSNS server, select select
NOTE: If you do not enable iSNS, you will need to register client initiators with your iSCSI
Configuration
iSNS Configuration
Use remote iSNS at
Feature Pack. This enables the server to see the available initiators. Since this procedure can vary by vendor, you should refer to the documentation provided by the vendor.
from the main iSCSI screen.
.
Use local iSNS
and enter the server’s IP address.
or to use an external iSNS server,
HP iSCSI Feature Pack User Guide 8
Storage
Storage includes both disk devices as well as storage pools:
Pools can be created from raw device hardware RAID sets. Each storage pool can be a group of one or more physical devices. Any disk known to your Windows system that does not have valid partition information is a candidate for a storage pool.
File-based devices can be created from files on a software volume.
Once created, LUs can be created from the pools/file-based device and assigned to hosts.
When you select
Storage
from the
Configuration
screen, you will see a list of all of your
existing iSCSI storage (except imported disks).
Creating a Storage Pool
1. Select
2. Select
3. Click
Configuration
Storage
New Pool
.
.
from the main iSCSI screen.
4. Enter a name for the pool.
5. Select one or more available devices to include in the pool.
Adding/Removing Devices From a Storage Pool
1. Click the checkbox to the left of the pool you want to modify.
2. Click
View Devices.
You will see a list of all iSCSI storage. Information about each device, including size, type, and usage is included here. You can click on the device name to see how the segments of the device are being used.
3. Select the devices that should be in this pool.
Merging Storage Pools
1. Click the checkbox(es) to the left of the pool(s) you want to merge.
You can select to merge two or more pools.
2. Click
Merge Pools.
3. Specify a name for the new pool.
Deleting a Storage Pool
NOTE: You can only delete a pool if it is empty or if all of the devices in the pool have zero usage.
HP iSCSI Feature Pack User Guide 9
1. Click the checkbox(es) to the left of the pool(s) you want to delete.
2. Click
Delete Pool.
3. Click OK to confirm the deletion.
Creating a File-Based Device
1. Click
Create File Device.
2. Select the volume and specify how much space should be used from this volume.
Expanding a File-Based Device
If you did not use the entire volume to create your file-based device, you can expand it as more storage is needed.
To expand a file-based device:
1. Click the checkbox to the left of the file-based device.
2. Click
Expand File Device
3. Indicate how much space to add and click
.
OK
.
Deleting a File-Based Device
NOTE: You can only disable a file-based device if it is not being used.
1. Click the checkbox to the left of the file-based device.
2. Click
Delete File Device.
3. Click OK to confirm.
Viewing Device Layout
You can see how the segments of a device are being used, including whether it contains LUs.
To view device layout for an iSCSI storage device that is not in a pool:
1. Click the checkbox to the left of the device you want to view.
2. Click
View Device Layout.
HP iSCSI Feature Pack User Guide 10
To view device layout for a storage pool:
1. Click the checkbox to the left of the pool you want to view.
2. Click
View Devices.
3. Click on the device name.
Adopting a Device
You can adopt a foreign iSCSI Feature Pack disk for the purposes of disaster recovery.
A foreign disk is a physical device containing iSCSI LUs previously set up on a different iSCSI Feature Pack system. You might need to adopt a disk if an iSCSI Feature Pack system is damaged and you want to import the server’s disks to a new system.
NOTICE: We highly recommend that you adopt a device into a new, clean iSCSI Feature Pack
system that does not have any LUs created.
1. Click
Adopt Devices
.
2. Select the device you would like to import.
3. Click
OK
.
You click the
Rescan
link to refresh the list of available devices.
Default Portal Template
Portals are access points used by hosts to communicate with the iSCSI Feature Pack. Each portal is a combination of an IP address, port number, and port group number.
By default, the iSCSI Feature Pack assigns each new host one portal for each network interface card (NIC) IP address used by the iSCSI Feature Pack, with the default iSCSI port number 3260 and group 0.
The Default Portal Template screen lets you set the template that will be used when new hosts are created. In other words, the portals listed on this screen will be offered to each new host. You may then want to customize the portals for a specific host so that, for example, each host uses a separate NIC or port.
To add/remove portals:
1. Select
2. Select
Configuration
Default Portal Template
3. To add a new portal, click
from the main iSCSI screen.
.
Add
, select an IP address, and enter a port number and port
group.
To delete a portal, click the checkbox to the left of it and click
HP iSCSI Feature Pack User Guide 11
Remove
.
License and Version Information
To enter key codes for iSCSI Feature Pack components in order to activate the components:
1. Select
2. Select
Configuration
License and Version Information
from the main iSCSI screen.
.
A list of all licensed components is displayed.
3. Click
Add
.
4. Enter the key code for the component.
Server Configuration Files
Your iSCSI Feature Pack provides a convenient way to protect your configuration, including host assignments and storage pools. You should save the configuration any time you change it.
save the configuration
To
1. Select
2. Select
3. Click
Configuration
Server Configuration Files
Backup
to back up data to a local system.
4. Specify a location for the file.
perform the following steps:
from the main iSCSI screen.
.
You can restore your iSCSI Feature Pack configuration from a file that was created using
Backup
. Changes made since the configuration was last saved will not be included in the restored configuration. In addition, actual LUs that may have been deleted after the configuration was saved will not be re-created.
NOTE: Restoring a configuration will overwrite existing configuration files and you will lose your current
connection. The restoration function is for disaster recovery purposes and should not be used in the day-to-day operation of the server.
To
restore the configuration
1. Select
2. Select
Configuration
Server Configuration Files
3. Locate the saved file and click
By default, the name of backed up file is:
perform the following steps:
from the main iSCSI screen.
.
Restore
.
iscsicfg.tgz
The iSCSI Feature Pack will be restarted once the restoration is complete.
HP iSCSI Feature Pack User Guide 12
Server Diagnostic File
The iSCSI Feature Pack has a built-in diagnostic feature that captures information about your server into a file that can be sent to HP’s technical support team.
To create a diagnostic File:
1. Select
2. Select
3. Select
Configuration
Server Diagnostic File
Create Diagnostic File
from the main iSCSI screen.
4. Specify a path for the file.
.
.
HP iSCSI Feature Pack User Guide 13
Loading...
+ 34 hidden pages