Home » VTL Open Source sobre FC

VTL Open Source sobre FC

Se ha realizado en nuestro entorno de pruebas una VTL Open Source sobre FC. Su implementación está basada en los trabajos previos sobre mhVTL y SCST .

 

Partiendo del escenario descrito en los post  SCST 2 y SCST 3, donde se compiló un kernel vanilla y se le añadió el software SCST junto con los drivers de QLogic en modo target, configurado para que ofreciera a la SAN un disco virtual (VDISK). Se añade al servidor el proyecto mhVTL emulando una librería de cintas modelo Sun Storagetek L700 con un drive SDLT600 de QUANTUM, encargándose el módulo SCST de ofrecerlas a través de la HBA operando en modo Target.

El procedimiento de su implementación es:

1.- Crear entorno previo SCST descrito en el  post SCST 2.

2.- Instalar proyecto mhVTL

3.- Configurar mhVTL

4.- Configurar SCST para dar visibilidad a los elementos de mhVTL por fibra.

2.- Instalar proyecto mhVTL

La instalación es idéntica a la descrita en el artículo VTL Open Source sobre iSCSI. Brevemente,  descarga de las fuentes mhvtl en formato tar.gz desde la web del proyecto y realiza el siguiente procedimiento de instalación:

# useradd vtl
# passwd vtl
# mkdir /opt/mhvtl
# chown -Rf vtl:vtl /opt/mhvtl
# mkdir /etc/mhvtl
# chown -Rf vtl:vtl /etc/mhvtl
# cd /root/mhvtl-0.18-4
# make distclean
# cd kernel
# make
# make install
# cd ../
# make
# make install

3.- Configurar mhVTL

Edición del fichero /etc/mhvtl/device.conf  para definir  la librería y el drive:

# cat /etc/mhvtl/device.conf
VERSION: 4

# VPD page format:
# <page #> <Length> <x> <x+1>… <x+n>

# NOTE: The order of records is IMPORTANT…
# The 'Unit serial number:' should be last (except for VPD data)
# i.e.
# Order is : Vendor ID, Product ID, Product Rev and serial number finally
# Zero, one or more VPD entries.
#
# Each 'record' is sperated by one (or more) blank lines.
# Each 'record' starts at column 1

Library: 2 CHANNEL: 0 TARGET: 0 LUN: 0
Vendor identification: STK
Product identification: L700
Product revision level: 5500
Unit serial number: XYZZY

Drive: 1 CHANNEL: 0 TARGET: 1 LUN: 0
Library ID: 2 Slot: 1
Vendor identification: QUANTUM
Product identification: SDLT600
Product revision level: 5500
Unit serial number: ZF7584364
Max density: 0x46
VPD: b0 04 00 02 01 00

Definir el contenido de la librería en el fichero /etc/mhvtl/library_contents:

# cat /etc/mhvtl/library_contents
# Define how many tape drives you want in the vtl..
# The 'XYZZY_...' is the serial number assigned to
# this tape device.

Drive 1: ZF7584364

# Place holder for the robotic arm. Not really used.
Picker 1:

# Media Access Port
# (mailslots, Cartridge Access Port, <insert your favourate name here>)
# Again, define how many MAPs this vtl will contain.
MAP 1:
MAP 2:
MAP 3:
MAP 4:

# And the 'big' on, define your media and in which slot contains media.
# When the rc script is started, all media listed here will be created
# using the default media capacity.
Slot 1:    800843S3
Slot 2: 800844S3
Slot 3: 800845S3
Slot 4: 800846S3
Slot 5: 800847S3
Slot 6: 800848S3
Slot 7: 800849S3
Slot 8: 800850S3
Slot 9: 800851S3
Slot 10: 800852S3
Slot 11: 800853S3
Slot 12: 800854S3
Slot 13: 800855S3
Slot 14: 800856S3
Slot 15: 800857S3
Slot 16: 800858S3
Slot 17: 800859S3
Slot 18: 800860S3
Slot 19: 800861S3
Slot 20: 800862S3
Slot 21:
Slot 22:
Slot 23:
Slot 24:
Slot 25:
Slot 26:
Slot 27:
Slot 28:
Slot 29:
Slot 30:
Slot 31: CLN001L1
Slot 32: CLN002L1

4.- Configurar SCST para dar visibilidad a los elementos de mhVTL por fibra.

Levantar  servicio mhVTL:

/etc/init.d/mhvtl start

Comprobación:

# lsscsi
[2:0:0:0]    disk    ATA      WDC WD7500AACS-0 01.0  /dev/sda
[8:0:0:0]    mediumx STK      L700             5500  –
[8:0:1:0]    tape    QUANTUM  SDLT600          5500  –

Se observan el VDISK (procedente de prueba anterior) y la librería STK L700 junto con el drive QUANTUM SDLT600 creados por mhVTL.

Se configura para que los dispositivos sean visibles por la HBA:

# echo "add 8:0:1:0 1" > /proc/scsi_tgt/groups/Default/devices

# echo "add 8:0:0:0 2" > /proc/scsi_tgt/groups/Default/devices

Y se pone en modo target el host asociado como interfaz en sysfs:

# echo “1″ >/sys/class/scsi_host/host7/target_mode_enabled

Comprobación:

# cat /sys/class/scsi_host/host7/active_mode

Target

# cat /proc/scsi_tgt/scsi_tgt
Device (host:ch:id:lun or name)                             Device handler
2:0:0:0                                                     dev_disk
vm_disk                                                     vdisk_fileio
8:0:1:0                                                     dev_tape
8:0:0:0                                                     dev_changer

Desde el Host con W2K8 que opera en modo initiator se observan desde el administrador de dispositivos de la siguiente forma:

Se ha instalado la Utilidad OneCommand manager de Emulex con propósito de diagnóstico, la librería y el drive emulados se observan de la siguiente forma:

Para comprobar la conectividad del host con la VTL por FC  se han usado las utilidades mtx en su versión para Windows:

  • Estado de la librería:

c:\mtx>mtx.exe -f 3:0:0:2 status
Storage Changer 3:0:0:2:1 Drives, 36 Slots ( 4 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = 800843S3

Storage Element 1:Empty
Storage Element 2:Full :VolumeTag=800844S3
Storage Element 3:Full :VolumeTag=800845S3
Storage Element 4:Full :VolumeTag=800846S3
Storage Element 5:Full :VolumeTag=800847S3
Storage Element 6:Full :VolumeTag=800848S3
Storage Element 7:Full :VolumeTag=800849S3
Storage Element 8:Full :VolumeTag=800850S3
Storage Element 9:Full :VolumeTag=800851S3
Storage Element 10:Full :VolumeTag=800852S3
Storage Element 11:Full :VolumeTag=800853S3
Storage Element 12:Full :VolumeTag=800854S3
Storage Element 13:Full :VolumeTag=800855S3
Storage Element 14:Full :VolumeTag=800856S3
Storage Element 15:Full :VolumeTag=800857S3
Storage Element 16:Full :VolumeTag=800858S3
Storage Element 17:Full :VolumeTag=800859S3
Storage Element 18:Full :VolumeTag=800860S3
Storage Element 19:Full :VolumeTag=800861S3
Storage Element 20:Full :VolumeTag=800862S3
Storage Element 21:Empty
Storage Element 22:Empty
Storage Element 23:Empty
Storage Element 24:Empty
Storage Element 25:Empty
Storage Element 26:Empty
Storage Element 27:Empty
Storage Element 28:Empty
Storage Element 29:Empty
Storage Element 30:Empty
Storage Element 31:Full :VolumeTag=CLN001L1
Storage Element 32:Full :VolumeTag=CLN002L1
Storage Element 33 IMPORT/EXPORT:Empty
Storage Element 34 IMPORT/EXPORT:Empty
Storage Element 35 IMPORT/EXPORT:Empty
Storage Element 36 IMPORT/EXPORT:Empty

  • Información de la librería:

c:\mtx>tapeinfo.exe -f 3:0:0:2
Product Type: Medium Changer
Vendor ID: 'STK     '
Product ID: 'L700            '
Revision: '5500'
Attached Changer API: No
SerialNumber: 'XYZZY     '
Ready: yes

  • Información del drive:

c:\mtx>tapeinfo.exe -f Tape0
Product Type: Tape Drive
Vendor ID: 'QUANTUM '
Product ID: 'SDLT600         '
Revision: '5500'
Attached Changer API: No
SerialNumber: 'ZF7584364 '
MinBlock: 4
MaxBlock: 1048576
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x49
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x10
DeCompType: 0x10
BOP: yes
Block Position: 0
Partition 0 Remaining Kbytes: 499
Partition 0 Size in Kbytes: 500
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 0

  • Carga de cinta de Slot 1 a drive 0:

c:\mtx>mtx.exe -f 3:0:0:2 load 1 0
Loading media from Storage Element 1 into drive 0…done

  • Descarga de drive 0 a slot 1:

c:\mtx>mtx.exe -f 3:0:0:2 unload 1 0
Unloading drive 0 into Storage Element 1…done

Como se puede observar la librería virtual opera correctamente a las peticiones descritas a través de FC.

Fuentes:

Proyecto mhvtl

Proyecto SCST

Foros de nimsa

Blog nsrd.info

1.104 Responses to “VTL Open Source sobre FC”

  1. 4 people today matched 4 white balls andd the
    powerball to claim $50,000.

    my page: Go to this website

  2. You can also live stream thhe drawig on the web at Powerball-MegaMillions.com.

    Look into my page … Go to this website

  3. Two tickets sold in California and Wisconsin have been the luckyy winners
    of the Powerball jackpot on Wednessday night.

    my homepage Visit this website

  4. 1 PA player won $one hundred,000 on a Energy Play ticket
    by matching 4 of thhe first 5 numbers and tthe Powerball.

    Feel free to surf to myy homepage – Visit this website

  5. It was worth over $211 million in annuity payments iit was sold in Morris Plains.

    Also visit my blog … Additional hints

  6. It’s the best time to make a few plans for the long run and it is
    time to be happy. I have learn this publish and if I could I
    desire to recommend you some attention-grabbing things or tips.
    Maybe you could write subsequent articles
    regarding this article. I wish to read more issues
    about it!

  7. The cash choice will be $434.two million, according to thhe lottery web site.

    Also visit my webpage … Visit the website

  8. Present drawing results are posted to the prime of the USA Mega Millions and Powefball site.

    Also visit my web page; More helpful hints

  9. Prime Choice Nutrition CBD

    blog topic

  10. Hello to every , as I am really eager of reading this weblog’s post to be updated
    on a regular basis. It includes nice stuff.

  11. The young boys ended up stimulated to read through them and now have
    unquestionably been having fun with these things.

  12. What a stuff of un-ambiguity and preserveness
    of valuable familiarity on the topic of unexpected feelings.

    Here is my blog post :: เครื่องย่อยขยะ

  13. I read this post your post so nice and very informative post thanks
    for sharing this post.

  14. www.vuhh.de dice:

    Quit flying by the seat of your pants and land your dream job faster with the Function From Household Career Planner!

    my blog; http://www.vuhh.de

  15. 1642 dice:

    Hello! I know this is kind of off-topic however I needed to ask.

    Does operating a well-established blog such as yours require a lot of work?

    I’m brand new to writing a blog but I do write in my journal daily.
    I’d like to start a blog so I will be able to share my personal experience and views online.
    Please let me know if you have any suggestions or tips for new aspiring bloggers.
    Thankyou!1642http://aforhagback.phorum.pl/viewtopic.php?p=730http://arthist.phorum.pl/viewtopic.php?p=19526

  16. The $1,000,000 prize becomes $2,000,000 with Energy Play.

    My web-site … Article source

  17. I am often seeking for brand spanking new details about this kind of
    important topic, and was especially ecstatic when ever I
    actually locate sites that are well-written and well-researched.
    I want to thank you for featuring this kind of excellent information, and I look onward to
    read more right from your weblog in the long term future. https://njmassages.com/40days

  18. Pretty! This has been an extremely wonderful post. Thanks for providing
    this information.

    my web site; Food Composter

  19. Hello, I think your website might be having browser compatibility issues.
    When I look at your blog in Safari, it looks fine but when opening in Internet Explorer, it has some
    overlapping. I just wanted to give you a quick heads up!
    Other then that, wonderful blog!

    my blog post Abcessed tooth

  20. It’s really a great and helpful piece of information. I am glad
    that you shared this useful info with us. Please keep us informed like this.
    Thanks for sharing.

    Also visit my page; เครื่องกำจัดขยะเศษอาหาร

  21. Pearl dice:

    We’ll inform you which deals are the ideal, and which offers you need to pass on.

    My blog: Pearl

  22. If some one wishes expert view regarding blogging then i suggest
    him/her to pay a visit this web site, Keep up the pleasant
    job.

  23. comment rencontrer une femme mature lyon

    VTL Open Source sobre FC | Almacenamiento Abierto

  24. 유흥구인 dice:

    Therefore, the quantity of obtainable freelance jobs –
    from grocery shoppers to net developers – is now bigger
    than ever.

  25. Casino Site dice:

    Payout Reliability & Speed – When you play for real cash and win, you
    want to really feel confident cashing out.

    My web blog – Casino Site

  26. It’s very trouble-free to find out any topic on web as compared
    to books, as I found this paragraph at this web site.

  27. Hello, I think your website might be having browser compatibility issues.
    When I look at your blog in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads
    up! Other then that, superb blog!Pit Viper double wide vs regularhttp://aforhagback.phorum.pl/viewtopic.php?p=725http://aforhagback.phorum.pl/viewtopic.php?p=723

  28. Cure A Toothache

    blog topic

  29. In truth, a good number of themes are a great deal more involved than some typical observer
    might decide on, in accordance with their position. I’m
    not thinking that I happen to be a pro on this unique idea at-hand, for that reason I guess it’s for different discussion board
    members to think about. I am not attempting to start problem or be frustrating.
    Instead, I understand from working experience that this could be the circumstance.

    I am trained in Postpartum Massage Therapy, and in my own targeted concentration, I witness it a lot.
    Just-graduated Perinatal Massage Practitioners are prone to overpromise; which can be, these people don’t yet really comprehend the constraints of their «scope of practice,» and thus they might possibly come up with statements
    that are overbroad when engaging with clients. It’s the equivalent occurrence; they have been introduced to a subject,
    don’t know the extensive level of it all, and finally presume they are the Masters. http://lakesrpc.com/__media__/js/netsoltrademark.php?d=feng.ku.angn.i.ub.i…u.k37%2540c.h.ee.rl.ess.q.ene%2540leanna.langton%40at-home-massage-nj.njmassage.info%2Fnode%2F1602%2Ftrack

  30. c section massage therapy

    Fallo al enviar el comentario

  31. Hello, i think that i saw you visited my web site thus i
    came to “return the favor”.I am attempting to find things to improve my
    website!I suppose its ok to use some of your ideas!!

  32. slot dice:

    Does your site have a contact page? I’m having a tough time locating it but, I’d like to send you an e-mail.

    I’ve got some recommendations for your blog you might be interested in hearing.
    Either way, great site and I look forward to seeing it grow
    over time.

  33. slot dice:

    Aw, this was an extremely good post. Taking a few minutes and actual effort to
    create a very good article… but what can I say… I put things off
    a lot and don’t manage to get nearly anything done.

  34. Ask HR the appropriate questions in a job interview and you’ll begin operate on Monday.

  35. 여자알바 dice:

    That mentioned, if I am seeking to make a modify in the future, I will certainly be in touch.

  36. What’s up, constantly i used to check webpage posts here in the early hours in the morning,
    for the reason that i love to gain knowledge of more and more.

  37. Everyone loves what you guys tend to be up too.
    This sort of clever work and reporting! Keep up the amazing works guys I’ve included you guys to our blogroll.

    My site: เครื่องย่อยสลายเศษขยะ

  38. Hello Dear, are you really visiting this web page regularly,
    if so afterward you will definitely get good experience.

    Also visit my page: เครื่องย่อยขยะ

  39. 유흥알바 dice:

    To get access to all of these features, AngelList Recruit offers 3 plans such as Starter, Pro, and Team.

  40. Amazing issues here. I am very satisfied to look your post.
    Thanks a lot and I am looking ahead to contact you. Will you please drop me a mail?

  41. bot dice:

    It’s really a nice and helpful piece of info. I’m glad
    that you just shared this useful information with us.

    Please stay us informed like this. Thank you for sharing.

  42. hello there and thank you for your information – I have
    definitely picked up something new from right here. I did however expertise a few
    technical points using this web site, as I experienced to reload the site many times previous to I could get
    it to load properly. I had been wondering if your hosting is OK?
    Not that I am complaining, but slow loading instances times will often affect your placement in google and can damage your high quality
    score if advertising and marketing with Adwords. Well I’m adding this RSS to my email and
    can look out for much more of your respective
    fascinating content. Ensure that you update this again very soon.
    try before you buy

  43. Greetings, There’s no doubt that your website may be having web browser compatibility problems.

    Whenever I look at your site in Safari, it looks fine however, if
    opening in Internet Explorer, it has some overlapping issues.
    I simply wanted to give you a quick heads up! Aside from that, fantastic site!

  44. I’m really enjoying the design and layout of your
    website. It’s a very easy on the eyes which makes it much more
    enjoyable for me to come here and visit more often. Did you hire out
    a developer to create your theme? Outstanding work!

    Also visit my web page; เครื่องย่อยเศษอาหาร

  45. slot 88 dice:

    Do you have a spam problem on this website; I also am
    a blogger, and I was wanting to know your situation; many of us have created some nice practices and we
    are looking to trade techniques with other folks, please shoot me an email if interested.

  46. Its uch as you read my mind! You sedm to know soo much approximately this, such as you wrote the
    e book in it or something. I believe that you simply could do
    with some % to poser the message home a bit, but other than that, this is wonderful blog.
    An excellent read. I will certainly be back.

    Feel free to surf too my web site :: plus Size Clothing

  47. 유흥구직 dice:

    It is doable to earn a six-figure salary operating from dwelling.

  48. Aw, this was an incredibly good post. Spending some time and actual effort to generate a top notch article…
    but what can I say… I procrastinate a lot and never
    manage to get nearly anything done.

    my website; Implant Procedure

  49. click the up coming internet site

    blog topic

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *