Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 



Configuring SAN Volumes for Windows Virtual Server


RSS
Subscribe to Windows IT Pro | See More Windows OSs Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Bringing iSCSI SAN and Virtualization Together

You can either use tools provided by your SAN vendor to provision SAN volumes or use Microsoft Storage Manager for SANs. SMfS simplifies and standardizes the process of performing storage subsystem operations, but it doesn’t entirely replace functionality available in the vendor’s tools, such as configuring replication, snapshots, and thin provisioning. As I discuss in the main article, you need to ensure that the appropriate Virtual Disk Service (VDS) provider for your hardware is installed.
 
Open SMfS from the Control Panel Administrative Tools applet, and click the Subsystems icon in the left pane. If you see your hardware under the Subsystems node in SMfS, your VDS hardware provider is loaded. You can then create iSCSI targets, configure security for those targets, create Logical Unit Numbers (LUNs), and start using your SAN storage. (In an iSCSI SAN environment, a target is an IP address that hosts can use to connect to a storage system and a LUN is an identifier for a particular chunk of storage. A portal is a combination of the IP address and TCP port—typically, port 3260 by default.)
 
To create a target on the iSCSI subsystem, select LUN Management and click Manage iSCSI targets. In the Manage iSCSI Targets dialog box, select the subsystem for which you’ll create the target, then click Add. In the Add Target dialog box, type a descriptive name for the target that will help you to distinguish it from other targets in the in Target Friendly Name field. In the Select portals to enable for this target field, select the check box next to the appropriate IP address for your storage subsystem, then click OK. You can repeat this process for as many targets as you want to add.
 
You should apply one of the several available iSCSI security options—one-way CHAP, mutual CHAP, or IPsec. To do so, click the LUN Management node and choose the ManageiSCSI Security option in the Actions pane. I won’t get into the specifics of choosing an appropriate security level for your environment, but to prevent unauthorized and potentially damaging access to your SAN, you need to at least employ one-way CHAP. To configure one-way CHAP for one or more targets in SMS, click Manage iSCSI Security in the Actions pane and click Set Secret. Type and confirm the target CHAP secret. If you’ll be connecting to the targets from the system you’re working on, selecting the Remember secret on local initiator option will configure your local iSCSI initiator with the CHAP secret. After setting up one or more targets, you can use SMfS to create a LUN and assign it to a target. To do so, simply select Create LUN to launch the Create a LUN Wizard in SMfS.
 
After you’ve configured targets and logged on to them, each target will show up in the Disk Management utility. Each volume must first be initialized, just as if you added new disks to your system. Microsoft doesn’t support dynamic disk volumes on iSCSI-connected storage, so be sure to initialize all SAN volumes as basic disks. You can then create and format partitions. After completing these steps, you should have some fresh volumes that are partitioned and formatted, and you can begin migrating data or creating VMs on those stores. However, before you get carried away, you need to perform a few more steps so that your volumes don’t disappear the next time your server reboots and so that any file shares you create that rely on those volumes also survive the reboot. After you follow these steps, the SAN volumes on the Windows server will be ready for production.
 
1. Make the Server service dependent on the iSCSI Initiator service so that all volumes are online when they’re needed by one or more components of the OS. To do this, use the Service Control (SC) utility from a command prompt. The command

sc config LanManServer depend= MSiSCSI

tells the system not to start the Server service until the iSCSI service has successfully started. You can verify that your command succeeded by viewing the properties of the Server service. On the Dependencies tab, you should see the new dependency you just configured.
 
2. Make the logged on targets persistent in the iSCSI initiator. To do so, open the Microsoft iSCSI Initiator from the Start menu and go to the Persistent Targets tab. Your goal is to make sure all SAN targets that you want to be reconnected after a reboot appear in the window on that tab. You can set the persistent flag only while logging on to a target. So, if you’re already logged onto a target, you must log off, then specify the persistent flag when logging back on by selecting the Automatically restore this connection when the system boots check box. Logging off from a target can be a bit difficult depending on what the system or applications are doing with the LUN assigned to the target. You can try logging off via the iSCSI Initiator tool or SMfS, and you might need to try the logoff a few times before you succeed. If all else fails, a reboot will release the target.
 
3. Bind your persistent targets in the iSCSI Initiator to their appropriate drive letter or mount point. To do so, go to the iSCSI Initiator’s Bound Volumes/Devices tab and, after verifying that all your SAN volumes are listed, click Bind All.

End of Article



Reader Comments
wheres the end of the article!!!!!!!!!!!???????!!!!!!!!!!!!???????????!!!!!!!!!!!!

d5omino714 September 29, 2008 (Article Rating: )


cannot see the rest either and I am logged on

mpellerin May 07, 2009 (Article Rating: )


They fixed my logon problem. Thanks

mpellerin May 07, 2009 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Virtualization Whitepapers A Business Case for Backup & Recovery for The Virtualized Environment

Related Events VirtualizationPro 2010 Summit & Expo

Deep Dive into VMware vSphere

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement