Beruflich Dokumente
Kultur Dokumente
Notices
The information in this document is subject to change without notice. While every effort has been made to ensure that all information in this document is accurate, the Authors accept no liability for any errors that may arise. No part of this document may be transmitted or copied in any form, or by any means, for any purpose, without the written permission of the Authors. Issue 1.4 January 30, 2009 Part No. 0086372-05A
Acknowledgments Microsoft is a registered trademark of Microsoft Corporation. All other names, brands, products or services are trademarks or registered trademarks of their respective companies.
ii
Table of Contents
Contents
1 Introduction ..................................................................................................................................... 1.1 Overview ..................................................................................................................................... 1.2 System Requirements ................................................................................................................. 1.2.1 Enclosures .......................................................................................................................... 1.2.2 Host System ....................................................................................................................... 1.2.3 Software ............................................................................................................................. 1.3 Installation ................................................................................................................................... 1.3.1 Uninstallation ...................................................................................................................... 1 1 1 1 2 2 2 3
Using VDS ........................................................................................................................................ 5 2.1 Overview ..................................................................................................................................... 5 2.2 Official VDS Documentation ........................................................................................................ 6 2.3 Supported LUN Types ................................................................................................................. 7 2.3.1 Simple LUN ........................................................................................................................ 7 2.3.2 Stripe LUN .......................................................................................................................... 7 2.3.3 Span LUN ........................................................................................................................... 7 2.3.4 Mirror LUN .......................................................................................................................... 7 2.3.5 Parity/RAID LUN ................................................................................................................ 7 2.4 Supported VDS Functions ........................................................................................................... 8 2.5 Unsupported VDS Functions ..................................................................................................... 11 2.6 Drive Sizes ................................................................................................................................ 12 2.7 VDS Tools ................................................................................................................................. 12 2.7.1 DiskRAID .......................................................................................................................... 12 2.7.2 Storage Manager for SANs .............................................................................................. 13 2.8 Mapping of LUNs to Host .......................................................................................................... 13 Known Issues and Limitations .................................................................................................... 15 Event Codes .................................................................................................................................. 4.1 Events ....................................................................................................................................... 4.2 List of Event Messages ............................................................................................................. A.1 VDS and StorView Terminology ................................................................................................ 17 17 17 19
3 4
iii
iv
Preface
Preface
What is in this guide This user guide gives you an overview of how to use the Hardware Provider for Microsoft Virtual Disk Service (VDS), which functions are supported, and any issues to be aware of when using the provider. Who should use this guide Storage managers and software testers who need to use compatible Xyratex enclosures via Microsoft Virtual Disk Services (VDS). About this guide This user guide provides the following information: Chapter 1, Introduction, on page 1 gives an overview, system requirements and installation instructions. Chapter 2, Using VDS, on page 5 lists the standard VDS functions that are supported and not supported by the hardware providers. Chapter 3, Known Issues and Limitations, on page 15 lists any issues which may affect use of the software.
Related Documentation
The following documentation is essential for the understanding and use of this software: Official Microsoft documentation for VDS: http://www.microsoft.com/windowsserversystem/storage/storservices.mspx The Microsoft VDS Technical Reference: http://technet2.microsoft.com/WindowsServer/en/Library/1dbc6c24-1477-4f73-a0ae57b4e90808d81033.mspx
Revision History
Version 1.0 1.1 1.2 Date Description of Change November 27, 2007 Initial Release. April 2, 2007 June 20, 2008 Updates. Support for RS-1220-F4-6412E enclosures and Windows Server 2008.
Description of Change Minor updates. Added support for F6500E controller. Added mapping license information.
vi
Introduction
Chapter 1
Introduction
1.1 Overview
VDS (Virtual Disk Service) is a feature of Microsoft Windows (from Windows Server 2003 onwards). It provides a consistent interface for managing storage devices and creating volumes. Each vendor of a storage solution can write their own provider that enables the standard set of VDS commands to be used with their storage device. The advantage of this approach is that multiple storage systems by different vendors can be controlled using the same set of commands provided by VDS. The Xyratex Hardware Provider for VDS enables Microsoft Volume Shadow Copy Services to be used with the RAID controller enclosures listed in 1.2.1 on page 1.
1.2.1 Enclosures
The following enclosures and RAID Controllers are supported: RS-1220-F4-5402E (F5402E) RS-1220-E3-5402E (E5402E) RS-4835-F4-5404E (F5404E) RS-1220-F4-5412E (F5412E) RS-1220-E3-5412E (E5412E) RS-1220-F4-6412E (F6412E)
1.2.3 Software
Microsoft VDS 1.1. A VDS client (optional). The Microsoft utility programs Storage Manager for SANs and DiskRAID (both optional).
1.3 Installation
Use the following procedure to install the Hardware Provider for VDS: Double-click the installer executable. Read the license agreement and click I Agree to accept to the terms and conditions. Choose a destination folder for the application (or accept the default) and click Install. You will be informed once the installation is finished. Click Close to dismiss the installation window. Note If the VDS service is running, it will be stopped automatically while the provider is installed. The VDS service will start automatically when a client attempts to access it. However, under some circumstances you may need to manually start the VDS service using the following procedure: Click Start -> Control Panel -> Administrative Tools -> Services. Select Virtual Disk Services from the list. Click the Start hyperlink.
Introduction
Note
The Hardware Provider for VDS can be installed on a system that already has VDS providers from other vendors. Likewise, other VDS providers can be installed after this one without any conflict.
1.3.1 Uninstallation
An uninstall executable is provided in the Program Files\VDS Hardware Provider - Xyratex folder. To remove the software, run the uninstall program and follow the on-screen instructions.
Using VDS
Chapter 2
Using VDS
2.1 Overview
The VDS (Virtual Disk Service) provider is a dynamic link library (DLL) that works as a translation layer between Microsoft VDS and compatible Xyratex storage solutions. VDS is a Microsoft-specific technology that is able to manage a variety of storage configurations, from single-disk desktops to large external storage arrays. It requires the installation of a client application (or VDS management tool) in order to be fully utilized. Any third party vendor can write a VDS compliant client application. The Hardware Provider for VDS has no direct interface with which a user can interact. However, Microsoft Windows Server 2003 and later, ships with two VDS management tools that can be used to test the provider: 1 Command Line See 2.7.1, DiskRAID, on page 12. 2 Graphical Interface See 2.7.2, Storage Manager for SANs, on page 13.
The following diagram illustrates, in a simplified manner, how all these components fit together. VDS Client - CLI or GUI (for example, DiskRAID, Storage Manager for SANs, third party application)
Storage System (for example, F5402E) Table 21 High Level VDS Component Overview
The VDS provider therefore acts as a bridge between the Microsoft VDS software and Xyratex hardware, enabling any third party vendor to create a client tool that can monitor and manage enclosures. Note that multiple providers, from different vendors, can be installed on the same system. VDS has no concept of arrays, it only considers LUNs. Since Xyratex controllers uses both arrays and LUNs, all array based operations take place behind the scenes as part of the internal workings of the provider and are not reported in any form to the user.
Using VDS
Using VDS
Table 22 Object
Supported VDS Functions Method Name GetProviderType GetProperties GetSubsystem Initialize (internal) QueryHints QueryMaxLunExtendSize QueryPlexes Delete Extend SetStatus (offline and online only) SetMask GetIdentificationData
IvdsHwProviderType IVdsLun
IVdsLunControllerPorts
AssociateControllerPorts QueryActiveControllerPorts
IVdsLunNaming IVdsLunPlex
IVdsMaintenance (controller)
IVdsMaintenance (c-port)
IVdsMaintenance (drive)
Table 22 Object
IVdsMaintenance (lun)
IVdsMaintenance (subsystem)
IVdsProvider IVdsProviderPrivate
IVdsProviderSupport IVdsSubSystem
GetVersionSupport GetDrive GetProperties GetProvider QueryControllers QueryDrives QueryLuns QueryMaxLunCreateSize Reenumerate SetControllerStatus Initialize (internal) CreateLun
IVdsSubSystemNaming
SetFriendlyName
10
Using VDS
11
IVdsLunPlex IVdsSubSystem
2.7.1 DiskRAID
DiskRAID is a command line tool that can be used to interface with VDS. It is included with the VDS SDK and can also be downloaded from Microsoft or found in the Resource Kit Tools.
12
Using VDS
It is very important that you use the correct version of DiskRaid for VDS 1.1. Check your version of DiskRaid by right clicking the file and selecting the Version tab. The version should show: 5.2.3790.2567 or higher. DiskRaid commands can be scripted for configuration or testing of a subsystem. DiskRaid is part of the Windows Server operating system, and should be located in the WINDOWS\SYSTEM32 folder as a file named diskraid.exe.
13
14
Chapter 3
15
There are minimum allowable chunk sizes for RAID 0 and RAID 1 arrays (RAID 5 arrays have no restrictions): Table 31Minimum Chunk Sizes RAID 0: Number of Drives Minimum Chunk Size RAID 1: Number of Drives Minimum Chunk Size 2 or 4 256K 6 128K 8 or more 64K 1 or 2 256K 3 128K 4 or more 64K
Note: Stripe size = (chunk size) x (number of non-parity drives in the array). Passing in an incorrect number of drives will result in an E_INVALIDARG error.
16
Event Codes
Chapter 4
Event Codes
4.1 Events
Xyratex StorView Path Manager for Windows uses the standard Windows Application event log to record any information or errors that may be of interest. To view events: 1 2 In the Windows Control Panel, select Administrative Tools -> Event Viewer. Click on the Application log to view system-level events.
17
Table 41
List of Event Messages Additional Information Occurs when the hardware provider for VDS has been stopped.
Error Message Stopping provider and unloading from memory SES Page 1 was not returned successfully. Number of slots were be set to default (12) LUN created successfully (<GUID>) LUN deleted successfully (<GUID>) A problem occured whilst loading the configuration from the RAID controller. Data may be incorrect VDS is unable to create the array(s) needed for Span LUN
A LUN has been created, the GUID of which is contained in the brackets. A LUN has been deleted, the GUID of which is contained in the brackets.
18
Appendix A
Appendix A
Terminology
A.1 VDS and StorView Terminology
VDS and StorView sometimes use different terms to describe the same concepts. The following table illustrates the differences: Table A1 VDS Term Failed Not Ready Online Comparison of VDS and StorView terms StorView Term Critical Rebuilding Available
19
20