COMSTAR setup

This post outlines my setup of an open fibre-channel storage server.

My FC card is a Qlogic card that is compatible with COMSTAR and can be configured as a FC target. After a bit of research I realised that COMSTAR is a bit fussy about Fibre HBA cards…

Will work…
QLogic 4gb/s cards in the 24*** series
‘Enterprise’ emulex HBAs i.e. LPe12002, LPe12000, LP11002, LP11000, LPe11004, LPe11002, LPe11000,
LP10000ExDC, LP10000DC, LP10000, LP9802, LP9002DC, LP9002L and LP9002S.

Will NOT work (as a target at least)…
qlogic 2gb/s cards
the qlogic ‘lite’ cards in the 200 series (like the often dell supplied qlogic 220)
Lower end emulex cards e.g., LP982, LP1050, LP1050-EX, PL1150 or LPe1150.
ANYTHING by LSI

The cards in the ‘not working list’ may well work as FC initiators although I have an LSI card that I can’t get to work at all (even though I’ve tried the driver supplied for us in Solaris 10 – ‘itmptfc’).

It seems from a scan of the forums that a qlogic 24** card is the best bet since that is the chipset used by a lot of SUN supplied HBAs.

Setting up…

The COMSTAR wiki gives pretty much a walkthrough on setting up a FC storage server (including the vital step needed to get the qlogic card to work in target mode. The relevant bit is here (http://wikis.sun.com/display/OpenSolarisInfo/Configuring+a+Fibre+Channel+Storage+Array+With+COMSTAR+(Task+Map).

For my setup the disk storage pool is called ‘tank’. I’ve already created a parent pool called tank/fc_luns/ to hold all the target LUNs. I followed the step through guide and created a LUN and tested that a host machine (the existing windows 2008 server) and it all works just fine.

Documented here is a recipe to setup a new ZFS based LUN for use by the FC server…

1. Create a volume (here's the LUN is called 'disk1' and is 100 Gbyte in size)
# zfs create -V 100G tank/fc_luns/disk1
2. Create the LUN based on the ZFS volume above.
# sbdadm create-lu /dev/zvol/rdsk/tank/fc_luns/disk1
Created the following LU:

              GUID                    DATA SIZE           SOURCE
--------------------------------  -------------------  ----------------
6000ae40980000000000486a6f930002      107374116864     /dev/zvol/rdsk/tank/fc_luns/disk1
3. Verify the creation of the LUN
# sbdadm list-lu
4. Make the LUN available to hosts (in this example all hosts can access all LUNS)
# stmfadm add-view GUID_number

Reference material…

Vital reference material on the COMSTAR wiki  – http://wikis.sun.com/display/OpenSolarisInfo/Configuring+a+Fibre+Channel+Storage+Array+With+COMSTAR+(Task+Map)
Nice blog post with relevant info – http://thegreyblog.blogspot.com/2010/02/setting-up-solaris-comstar-and.html

198 Comments

  1. herman Said,

    December 20, 2014 @ 6:49 am

    .

    thanks….

  2. andy Said,

    December 21, 2014 @ 5:18 am

    .

    ñýíêñ çà èíôó….

  3. Donnie Said,

    December 23, 2014 @ 1:23 pm

    .

    tnx for info!!…

  4. Dave Said,

    January 14, 2015 @ 8:30 am

    .

    thank you….

  5. allen Said,

    January 17, 2015 @ 3:05 am

    .

    tnx for info!…

  6. todd Said,

    January 17, 2015 @ 3:36 am

    .

    áëàãîäàðñòâóþ!!…

  7. rick Said,

    January 17, 2015 @ 4:06 am

    .

    ñïñ!!…

  8. Stephen Said,

    January 17, 2015 @ 4:35 am

    .

    thanks….

  9. Alfonso Said,

    January 17, 2015 @ 5:03 am

    .

    tnx for info….

  10. Adam Said,

    January 17, 2015 @ 8:50 am

    .

    ñïñ….

  11. louis Said,

    January 17, 2015 @ 9:21 am

    .

    ñïñ çà èíôó….

  12. Patrick Said,

    January 17, 2015 @ 9:52 am

    .

    ñýíêñ çà èíôó!…

  13. Darryl Said,

    January 17, 2015 @ 11:45 am

    .

    ñïñ!!…

  14. Robert Said,

    January 17, 2015 @ 12:19 pm

    .

    áëàãîäàðþ!…

  15. oliver Said,

    January 17, 2015 @ 12:51 pm

    .

    ñïñ çà èíôó!…

  16. Bruce Said,

    January 18, 2015 @ 11:12 pm

    .

    thank you….

  17. Hugh Said,

    January 21, 2015 @ 1:02 pm

    .

    ñýíêñ çà èíôó….

  18. Morris Said,

    January 22, 2015 @ 2:37 am

    .

    ñïàñèáî çà èíôó….

  19. alex Said,

    January 22, 2015 @ 3:06 am

    .

    ñýíêñ çà èíôó!!…

  20. tim Said,

    January 22, 2015 @ 3:34 am

    .

    thank you!!…

  21. dale Said,

    January 23, 2015 @ 12:40 pm

    .

    ñïàñèáî çà èíôó!…

  22. Brett Said,

    January 23, 2015 @ 2:23 pm

    .

    ñïñ çà èíôó!…

  23. Jimmie Said,

    January 24, 2015 @ 2:35 am

    .

    tnx for info!…

  24. Angelo Said,

    January 24, 2015 @ 3:09 am

    .

    ñïñ çà èíôó!…

  25. Mario Said,

    January 24, 2015 @ 3:07 pm

    .

    ñïàñèáî!!…

  26. otis Said,

    January 27, 2015 @ 2:10 pm

    .

    ñïñ!…

  27. George Said,

    January 28, 2015 @ 5:50 am

    .

    thanks for information!!…

  28. richard Said,

    January 31, 2015 @ 3:14 pm

    .

    ñïàñèáî çà èíôó….

  29. Oscar Said,

    January 31, 2015 @ 5:58 pm

    .

    ñïñ çà èíôó!…

  30. Perry Said,

    February 1, 2015 @ 2:49 am

    .

    hello!…

  31. jeremy Said,

    February 1, 2015 @ 9:22 am

    .

    ñïàñèáî!!…

  32. Harvey Said,

    February 1, 2015 @ 9:55 am

    .

    ñýíêñ çà èíôó!!…

  33. billy Said,

    February 1, 2015 @ 10:27 am

    .

    ñýíêñ çà èíôó!!…

  34. mathew Said,

    February 1, 2015 @ 11:00 am

    .

    ñïñ!!…

  35. sergio Said,

    February 1, 2015 @ 11:34 am

    .

    ñýíêñ çà èíôó!…

  36. doug Said,

    February 1, 2015 @ 12:08 pm

    .

    áëàãîäàðñòâóþ!…

  37. oscar Said,

    February 1, 2015 @ 12:41 pm

    .

    ñïñ!…

  38. wendell Said,

    February 1, 2015 @ 1:13 pm

    .

    hello!…

  39. wendell Said,

    February 4, 2015 @ 5:40 pm

    .

    thanks for information….

  40. kent Said,

    February 6, 2015 @ 11:38 pm

    .

    ñïàñèáî çà èíôó….

  41. otis Said,

    February 7, 2015 @ 5:58 pm

    .

    ñïñ çà èíôó….

  42. kevin Said,

    February 7, 2015 @ 9:24 pm

    .

    áëàãîäàðþ….

  43. Ian Said,

    February 7, 2015 @ 9:56 pm

    .

    ñïñ!!…

  44. adrian Said,

    February 7, 2015 @ 10:28 pm

    .

    ñïñ çà èíôó!…

  45. Keith Said,

    February 8, 2015 @ 12:44 pm

    .

    hello!…

  46. Jimmie Said,

    February 9, 2015 @ 1:56 am

    .

    thank you!…

  47. Leonard Said,

    February 10, 2015 @ 8:57 am

    .

    tnx….

  48. Richard Said,

    February 12, 2015 @ 7:28 am

    .

    tnx for info!!…