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. Ставки на спорт , Ставки на
    киберспорт/Sports betting, online casino deposit bonuses 100%
    Registration+500% Bonus First deposit

  2. This paragraph is in fact a nice one it assists new the web visitors,
    who are wishing in favor of blogging.

    Here is my site biaya Pembuatan Pt 2020

  3. bonus slot dice:

    bonus slot

    blog topic

  4. Thanks a lot for sharing this with all people you really recognise what you are talking approximately!
    Bookmarked. Please additionally visit my site =).

    We may have a link change arrangement among us!

    Look at my web-site … Teething chart

  5. Thank you a bunch for sharing this with all people you really recognise what
    you are speaking approximately! Bookmarked. Please also talk over with my website =).
    We could have a link alternate agreement between us

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

  7. Thank you for sharing with us, I conceive this website genuinely stands out :D.

    My web page … Abcessed Tooth

  8. This design is incredible! You definitely know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved to start my own blog
    (well, almost…HaHa!) Wonderful job. I really loved what
    you had to say, and more than that, how you presented it.
    Too cool! https://Www.Provenexpert.com/en-gb/publissoft8/

  9. I have been exploring for a little bit for any high quality articles or blog
    posts on this sort of area . Exploring in Yahoo I eventually stumbled upon this
    site. Studying this info So i am glad to convey
    that I have an incredibly just right uncanny feeling I came upon exactly what I needed.
    I such a lot without a doubt will make sure to
    don?t forget this site and give it a look regularly.

    Here is my site :: factoring vs Bank

  10. Hello There. I found your blog using msn. This is a very well written article.
    I’ll be sure to bookmark it and come back to read more of your
    useful info. Thanks for the post. I will definitely comeback.

    Here is my web page … Teeth removed Experience

  11. Hurrah, that’s what I was seeking for, what a stuff! existing here at this
    webpage, thanks admin of this web site.

    my webpage :: เครื่องกำจัดขยะเศษอาหาร

  12. Hey! Would you mind if I share your blog with my
    facebook group? There’s a lot of folks that I think would really enjoy your content.
    Please let me know. Thanks

    my webpage … https://avis-de.com

  13. dora Crocs dice:

    Fantastic items from you, man. I’ve be mindful your stuff prior to
    and you are simply too great. I really like what you’ve acquired right here, really
    like what you are saying and the best way in which you say it.
    You are making it entertaining and you continue to care for
    to keep it wise. I can not wait to read much more from you.
    That is actually a terrific web site.dora Crocshttps://pitviperlover.yooco.org/forum/pit_viper_miami_nights-5756744-t.htmlhttps://fnetchat.com/read-blog/91090

  14. Actual winnings will be distinct from the fixed prizes shown on thhe
    Powerball internet site.

    Also visit my homepage; Check out here

  15. Hello there, I discovered your website by the use of Google even as searching for
    a comparable matter, your web site came up, it
    seems to be good. I have bookmarked it in my google bookmarks.

    Hi there, simply was aware of your blog thru Google, and located that it’s truly informative.
    I’m gonna be careful for brussels. I will be grateful if you continue this in future.
    Numerous other people will probably be benefited out of your writing.
    Cheers!

  16. Asya Bahis Siteleri. Rockstar sonunda Grand Theft Auto Online Diamond canlı casino Oyunları; Tci2013-com.cdn.ampproject.org,
    Heist’e gercek Elmaslari eklemeyi uygun gordu.

    Bu isiltili taslar nakitten, sanat eserlerinden ve hatta o parlak altin tuglalardan daha degerli.

    Rockstar’a gore, elmaslar «ortalama nakit cekisinizden %50’ye kadar daha fazla»
    ile cekip gitmenize neden olabilir.

  17. Powerball Florida lottery is very well-known in City of Florida.

    My bpog get more info

  18. This is the fourth time a North Carolina tickett has claimed a
    Powerball jacipot win, and was the largest lottery jackpot
    in North Carolina history.

    my web page … Browse this site

  19. Hey I am so happy I found your blog page, I really found you by
    error, while I was browsing on Bing for something else, Anyhow I am
    here now and would just like to say cheers for
    a incredible post and a all round thrilling blog
    (I also love the theme/design), I don’t have time
    to look over it all at the moment but I have bookmarked it and also added your RSS feeds, so when I
    have time I will be back to read a great deal more,
    Please do keep up the superb job.

    Here is my page หวยออนไลน์

  20. You have brought up a very wonderful points, thanks for the post.

    Check out my web page dental implant Costs

  21. I will right away grab your rss as I can not find
    your email subscription link or e-newsletter
    service. Do you have any? Please allow me know in order that I may just subscribe.
    Thanks.

    Here is my blog post: bridging loans

  22. This information is worth everyone’s attention. When can I find out
    more?

  23. مشخصا دره حال رایگان، خزینه ای را جلا نمی
    کنید وصی داخل سرویس پرمیوم خرید اکانت اسپاتیفای باید مقرری منزلت مشخصی را
    بپردازید.

  24. Wonderful blog! I found it while browsing on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!

    Thank you

  25. cheats dice:

    Normally I don’t read post on blogs, but I would like to say that this write-up
    very compelled me to try and do so! Your writing style has been surprised me.
    Thank you, very great post.

  26. Have you ever thought about creating an e-book or guest authoring on other blogs?
    I have a blog based on the same topics you discuss
    and would really like to have you share some stories/information. I know
    my viewers would value your work. If you are even remotely interested,
    feel free to shoot me an email.

  27. Hey would you mind letting me know which hosting company you’re working with?
    I’ve loaded your blog in 3 completely different internet browsers and I must say this
    blog loads a lot faster then most. Can you recommend
    a good hosting provider at a honest price? Many thanks, I appreciate it!

    Feel free to surf to my blog post :: Senior Dental Care

  28. My spouse and I stumbled over here by a different website and thought
    I might as well check things out. I like what I see so i am just following you.

    Look forward to going over your web page again.

    Here is my homepage … minecraftathome.Com

  29. Hello! I know this is kinda off topic however I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest writing a
    blog article or vice-versa? My site covers a lot of the same subjects as yours and I believe we could greatly benefit from each other.
    If you might be interested feel free to send me an email.
    I look forward to hearing from you! Awesome blog by
    the way!

  30. Hi mates, nice post and good arguments commented
    at this place, I am really enjoying by these.

    Feel free to surf to my website; Grand Rapids Dentists

  31. Hi there mates, pleasant article and fastidious arguments commented at this place, I
    am in fact enjoying by these.

    Review my website; Dental Hygiene schools

  32. Hi, I do think this is an excellent site. I stumbledupon it 😉 I will come back
    once again since i have book-marked it. Money and freedom is the best way to change, may you be rich and continue to
    help others.

    Feel free to visit my homepage … Emergency dental care nyc

  33. Website link dice:

    India News is not associated with any Governmental website or portal.

    My blog post … Website link

  34. Waylon dice:

    Good day I am so excited I found your webpage,
    I really found you by accident, while I was browsing on Digg for something else, Regardless I am here
    now and would just like to say kudos for a fantastic post
    and a all round thrilling blog (I also love
    the theme/design), I don?t have time to read it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time I will be back to read more, Please do keep
    up the awesome jo.

    My site Waylon

  35. Hello friends, fastidious article and fastidious arguments commented at this place, I am genuinely enjoying by these.

    Also visit my website – discount Dental

  36. asia gaming dice:

    You actually make it seem so easy together with your presentation but I in finding this topic to be really something which I
    feel I’d by no means understand. It sort of feels too complicated and extremely large
    for me. I’m having a look forward on your
    subsequent submit, I will try to get the dangle of it!

  37. Kisha dice:

    Wonderful post however I was wanting western michigan things to do (Kisha) know if you could write a
    litte more on this topic? I’d be very thankful if you could elaborate a little bit further.
    Kudos!

  38. What a data of un-ambiguity and preserveness of valuable know-how on the topic of unexpected
    emotions. http://www.circumstances.sbm.pw/News/cuisines-denis-couture-12/

  39. Mydea.Earth dice:

    I was studying some of your content on this website and I think this web site
    is rattling informative! Keep on putting up.

    Feel free to surf to my web page … Mydea.Earth

  40. Hans dice:

    You can certainly see your expertise in the paintings you write.
    The world hopes for more passionate writers such as you who are not afraid
    to mention how they believe. At all times follow your heart.

    my web-site :: Hans

  41. It’s very simple to find out any matter on net as compared to textbooks, as
    I found this piece of writing at this site.

    my blog post: เครื่องกำจัดเศษอาหาร

  42. This is great Blog here my friend! Very informative

  43. Paige dice:

    I have learn several excellent stuff here. Definitely worth bookmarking
    for revisiting. I surprise how so much effort you place to
    create this kind of magnificent informative web site.

    Stop by my web-site must do in st louis missouri – Paige

  44. Howdy very nice website!! Guy .. Beautiful .. Amazing
    .. I will bookmark your web site and take the feeds also?I am satisfied to find so many
    useful info right here within the publish, we
    need work out more strategies on this regard, thanks
    for sharing.

    Feel free to visit my page – natural skincare ingredients

  45. 7liker.com dice:

    Hello, after reading this remarkable post i am
    as well delighted to share my knowledge here with colleagues.

  46. Thanks a lot very much for the high quality and results-oriented help.
    I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.

  47. You have brought up a very excellent points, appreciate it for the
    post.

    Check out my site: dental Veneers procedure

  48. Hello there! Would you mind if I share your blog with my zynga group?

    There’s a lot of people that I think would really enjoy your content.
    Please let me know. Cheers

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

  49. Hiya! Quick question that’s completely off topic. Do you
    know how to make your site mobile friendly? My weblog looks weird when viewing from my iphone4.
    I’m trying to find a template or plugin that might be able to fix
    this issue. If you have any recommendations, please share.
    Many thanks!

    Here is my webpage: http://Www.Forumcanavar.net

Deja una respuesta

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