23 Apr 2009 @ 9:09 AM 
 

iSCSI SAN for evaluation purposes

 

When evaluating VMWare ESX or Microsoft Cluster Solutions the first question that arises is how do I get some shared storage very cheap (i.e nothing!). Well firstly you need to be looking for iSCSI. If you’re familiar with TCP/IP then iSCSI won’t be a big jump. It just takes the SCSI data and sticks it on a standard TCP/IP network.

There are some fantastic open source offerings out there such as Openfiler. Openfiler does iSCSI SANs but is in my opinion very complex to setup even for someone with alot of Linux experience, and as for making it redundant well good luck if you work it out let me know.

A commerical product that is in a different league to Openfiler is the HP/LeftHand SAN. Based on propriety HP Hardware they also do a Virtualised SAN for use with VMWare ESX and as a “laptop” demo. For the purposes of this article I’m going to use the VSA for laptop demo. It works for 30 days which should be long enough to evaluate the technology and see if its the right product for you.

What you will end up with : A simulated 3 node redundant iSCSI SAN running on one PC suitable for evaluation of VMWare ESX/Microsoft Cluster Services. Also a great demonstration of what the HP/Lefthand product can do.

    What you need to begin

1/ VMWare Player. For this demo I’m using VMWare Player running on Windows Vista x64. Install it.
2/ Go here : https://h20392.www2.hp.com/portal/swdepot/searchProducts.do

Search for : HP LeftHand P4000 Virtual SAN Appliance Software
Click Recieve for trial
Download the AT004-10004.exe CMC and theVSA_SAN_iQ_8.1_Laptop_Demo_Tool_for_Vmware_AT004_10006.zip

3/ If you’re not running Vista go get the Microsoft iSCSI Initiator.

    Setting Up The VSA’s Within VMPlayer

1/ Where ever you store your Virtual Machines create 3 directories called VSA1, VSA2 and VSA3.
2/ Extract the vsa_demo.zip to your recently created VSA1, then to VSA2 and to VSA3 directory.
3/ Open VMWare Player.
4/ Open -> Navigate to VSA1 directory -> Select VSA.vmx
5/ Once it’s booted up from VMWare Player Select Devices -> Network Adaptor -> Bridged.
6/ Type Start at the login -> Press Enter Twice -> Use the Arrow Keys to select Network TCP/IP Settings -> Select eth0
7/ Set hostname to VSA1. I recommend you fix the IP Address to something that works on your LAN. My LAN is 172.16.1.0/24 so I picked 172.16.1.31. Click Ok a few times. Then go back to the login. You can now minimise this you won’t be needing it again.
8/ Open another instance of VMWare player and open the VSA.vmx from the VSA2 directory. Repeat setting the hostname/IP as above to VSA2/172.16.1.32 (or whatever you choose).
9/ Open another instance of VMWare player and open the VSA.vmx from the VSA3 directory. Repeat setting the hostname/IP as above to VSA3/172.16.1.33 (or whatever you choose).
10/ It’s worth checking connectivity to all the machines at this point,check your host machine can ping the 3 VSA’s.

    Setting Up the CMC

1/ On your client machine install the CMC as downloaded in step 2.It’s a Next next next installer.
2/ Ok lets make a SAN. The CMC should start into the Find Nodes Wizard, click Next, select By Subnet and Mask and hit next. Click Add, put your subnet in and press Finish. If you got it right you should see your 3 VSA’s as newly found. Press Close. If you can’t see the nodes check you set the VMPlayer network to Bridged and you can ping the nodes.
3/ From the Getting Started Launch Pad Select Management Groups, Clusters and Volume Wizards.
Click Next.

  • Select New Management Group then Next.
  • Give your management group a name, e.g EVALCOMPANYSAN. All the nodes should be high lighed below. Press Next.
  • Fill in some login details, for test purposes use admin/password. Click next.
  • On the time server page Add pool.ntp.org. Next
  • On the Create Cluster Page select Standard Cluster. Next
  • Give your Cluster a name e.g. DEMOCLUSTER. Next
  • On the next page you need to give the cluster a Virtual IP. I would recommend one up from the last cluster, in my demo 172.16.1.34.This is the IP the iSCSI Initiators will connect too
  • On the create Volume page select Skip Volume Creation and press Next. Click Finish. Go make a coffee whilst it does the magic.
    • Lets Make a Volume

    1/ Expand DEMOCLUSTER then Select Volumes(0) and Snapshots. Under Tasks select New Volume.
    2/ Give it a name and select a size (Suggest 1Gb). Select the Advanced Tab. Here you can select the Replication level, I suggest 2-way for this demo. The VSA’s ship with 5Gb per node of space.
    Note : Thin Provisioning is interesting. If you set the node size to 2Tb and select Thin provisioning it will present a 2Tb volume. You won’t be able to use 2Tb but it means less time consuming O/S reconfiguration later you can just add additional nodes to make up the space at a later date. For this example select Full Provisioning. Click Ok.

      Lets Connect It!

    1/ On your host machine open up the iSCSI Initiator in the control panel. On the General Tab you will see the initiator name e.g iqn.1991-05.com.microsoft:pc.mylan.local. Copy this to the clip board and go back to the CMC.
    2/ Under EVALCOMPANYSAN click Servers(0). Under Server Tasks click New Server. Give it a name and a description. Paste your initiate node name in and select CHAP Not required. Deselect load balancing. Click Ok.
    3/ It should Switch to the Volumes and Snapshots Tab under your new server. Click Tasks -> Assign and Unassign Volumes and Snapshots. You should now see the Volume you created earlier. Check the Assigned box.
    4/ Switch back to your host PC iSCSI Initiator Properties. Select the discovery tab and Add Portal. Type in the cluster IP address you selected when setting up the cluster. I chose 172.16.1.34.Click Ok. Select the target tab you should see your volume listed as inactive. Press Log on. Click Ok.

      Lets Use It!

    1/ Right click My Computer -> Manage -> Disk Management.
    2/ You should see a new disk. Initialise it and make a new simple volume. Perform a quick format, don’t do a full format - ever! If you full format with thin provisioning you’re in trouble :)

    There you go a full enterprise iSCSI SAN for free in about 45 mins. In my next article I’ll demonstrate the redundancy and fail over. If you decide you like the Lefthand SAN my company are an authorised UK Reseller for the Lefthand equipment please don’t hesitate to give us a call.

    Tags Categories: HOWTO Posted By: Anthony
    Last Edit: 23 Jun 2009 @ 07 54 PM

    EmailPermalink
     

    Responses to this post » (6 Total)

     
    1. Jonas says:

      I have just downloaded the HP VSA, extracted to the directories though there is no vmx files included in the zip. When I try to make a new VM using the vmdk files, VMware is marking the drive as ‘not valid’.

      All the same, starting the invalid drive results in a login prompt to which I enter ’start’. Linux thinks for a second and returns -> /etc/lefthand/system/console: error while loading presared libraries: liblhnsys.so: cannot open shared object file: No such file.

      I’m then left at the login prompt again.

      Any suggestions?

    2. Anthony says:

      Hey Jonas,

      Just grabbed the file again from HP and it does have a VSA.vmx in there. Sure you didn’t get the ESX version ? The file you’re after is :
      VSA_SAN_iQ_8.1_Laptop_Demo_Tool_for_Vmware_AT004_10006.zip
      File size: 239.28 MB
      MD5 checksum: 1a8eafa608afcd99ca57fd624998ce06

      Cheers,

      Anthony

    3. GREG says:


      PillSpot.org. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. High quality drugs. Order pills online

      Buy:Synthroid.Mega Hoodia.Actos.Lumigan.Arimidex.Zovirax.Prednisolone.Retin-A.Zyban.Petcam (Metacam) Oral Suspension.Valtrex.100% Pure Okinawan Coral Calcium.Human Growth Hormone.Prevacid.Nexium.Accutane….

    4. BILL says:


      Pillspot.org. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. High quality drugs. Order pills online

      Buy:Amoxicillin.Lipitor.Buspar.Nymphomax.Zetia.Female Cialis.Aricept.Cozaar.Ventolin.Seroquel.Wellbutrin SR.Lasix.Benicar.Female Pink Viagra.Acomplia.Zocor.SleepWell.Lipothin.Advair.Prozac….

    5. DAN says:


      MedicamentSpot.com. Canadian Health&Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. No prescription drugs. Buy drugs online

      Buy:Cialis.Viagra Professional.Cialis Soft Tabs.Tramadol.VPXL.Viagra Super Force.Zithromax.Viagra Soft Tabs.Cialis Professional.Cialis Super Active+.Soma.Maxaman.Levitra.Super Active ED Pack.Propecia.Viagra.Viagra Super Active+….

    Post a Comment

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    \/ More Options ...
    Change Theme...
    • Users » 1
    • Posts/Pages » 5
    • Comments » 9
    Change Theme...
    • VoidVoid « Default
    • LifeLife
    • EarthEarth
    • WindWind
    • WaterWater
    • FireFire
    • LightLight

    About



      No Child Pages.