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. The subsequent Powerball drawing is Saturday evenikng with an estimated $79 million jackpot.

    My web blog Have a peek here

  2. Hey I know this is off topic but I was wondering if you
    knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.

    I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading
    your blog and I look forward to your new updates.

    Also visit my web site – Craigslist Reno

  3. website dice:

    The advertised prize amounts are based onn the winner taking their loot as
    30 payments over 29 years.

    Here is my website: website

  4. Website link dice:

    Meanwhile, a total oof eight players won the third prize,
    which is $50,000, while fohr ppayers with a Energy
    Play buy won $500,000.

    Here is mmy page; Website link

  5. My family all the time say that I am wasting my time here at
    web, but I know I am getting familiarity everyday by reading such pleasant articles or reviews.

    Stop by my blog :: เครื่องย่อยเศษอาหาร

  6. 광주출장 dice:

    Hello, the whole thing is going fine here and ofcourse
    every one is sharing data, that’s actually fine, keep up writing.

  7. 울산출장 dice:

    Pretty section of content. I just stumbled upon your web site and in accession capital to assert
    that I get actually enjoyed account your blog posts.
    Anyway I will be subscribing to your feeds and even I achievement you access consistently fast.

  8. 출장추천 dice:

    Very rapidly this web page will be famous among all blogging and site-building people, due to it’s nice articles

  9. Thewiki.site dice:

    It’s a pity you don’t have a donate button! I’d without a doubt donate to this brilliant blog!

    I guess for now i’ll settle for bookmarking and
    adding your RSS feed to my Google account. I look forward to new updates and will share this
    blog with my Facebook group. Talk soon! http://Thewiki.site/LorargBristoldy

  10. The Winning Numbers drawn aree 1, 2, 3, 10, 11and 12
    and the two Supplementary Numbers are 6 and 7.

    my homepage; Browse around this site

  11. By now you have likely heard that the Powerball jacpot of over half a billion dollars
    was hit in the final drawing.

    my page; Visit this link

  12. ottenere indirizzo bitcoin value

    VTL Open Source sobre FC | Almacenamiento Abierto

  13. In fact, a good number of questions are considerably more complicated than an ordinary amateur observer will probably decide
    on, depending on their position. I’m not stating that am a pro on this specific question being discussed, consequently I think
    it’s for alternative discussion board participants to think of.
    I am not necessarily trying to start difficulties or be bothersome.
    Alternatively, I know from working experience
    that the aforementioned could be the situation. I
    put into practice Postpartum Massage, and in my own chosen discipline, I observe it very much.
    New Postnatal Massage Practitioners are likely
    to exaggerate claims; which can be, they don’t
    at this point definitely recognise the limits of their own «scope of practice,» and thereby they would probably come up with remarks that
    are overbroad when communicating with clients.
    It’s the corresponding occurrence; they have been introduced to a subject, don’t understand the entire breadth of it, and finally believe they
    are the Specialists. http://www.squaredancecaller.com/__media__/js/netsoltrademark.php?d=www.invex.cn%2Fhome.php%3Fmod%3Dspace%26uid%3D695370%26do%3Dprofile

  14. Hey there, You have done a fantastic job. I will certainly digg it and personally
    recommend to my friends. I am confident they will be benefited from this website. https://Www.vesti24.eu/user/profile/dominic433/

  15. Paragraph writing is also a fun, if you be acquainted
    with afterward you can write or else it is complicated to write.

    My website :: http://www.Kerob.xyz

  16. Chaturbate dice:

    What’s up, tis weekendd is good for me, for the reason that this time
    i am reading thus fantastic informative paragraph here at my
    residence.

    Also visit my page – Chaturbate

  17. winkler-sandrini.it

    blog topic

  18. QN dice:

    Wow! This blog looks exactly like my old one! It’s on a totally different
    subject but it has pretty much the same layout and design. Wonderful choice of colors! https://www.Betboy.vip/home.php?mod=space&uid=5514498&do=profile&from=space

  19. 인천출장 dice:

    Thanks for some other great article. The place else may anybody get that type of
    info in such a perfect means of writing? I’ve a presentation next week, and I am on the search for such information.

  20. Good day! I could have sworn I’ve ben to your blog
    before but after going through many of the posts I realized it’s new to me.
    Anyways, I’m certainly delighted I came across it annd I’ll be bookmarking it and checking back regularly!

    My page :: Live Sex Chat – Free Adult Chat with Naked Girls

  21. feral humans dice:

    Thanks for your marvelous posting! I truly enjoyed reading it, you might
    be a great author. I will be sure to bookmark your blog and may come back in the future.

    I want to encourage continue your great job, have a nice weekend!

  22. I savor, lead to I found exactly what I used to be taking a look
    for. You have ended my 4 day lengthy hunt! God Bless you
    man. Have a great day. Bye

  23. This is my first time pay a quick visit at here and i am truly impressed to read everthing
    at single place.

    My web blog dental veneer specialist

  24. more info dice:

    Choose 3 winners get $500 for a $1 straight bet and
    the odds of winning are 1-in-1,000.

    my site more info

  25. It’s nearly impossible to find educated people about this topic, but you seem like
    you know what you’re talking about! Thanks

    Feel free to surf to my page …best newport tennessee things to do (the-challenger.ru)

  26. Hi, I do believe this is an excellent web site.
    I stumbledupon it 😉 I am going to come back once again since i have book marked it.
    Money and freedom is the greatest way to change, may you be rich and continue to guide other people.

    Here is my blog: dentist In Bartlett

  27. Desiree dice:

    I rarely comment, however I looked at a few of the remarks on this page VTL Open Source sobre FC
    | Almacenamiento Abierto. I do have some questions for you if you do not mind.
    Is it only me or do some of these responses appear like they are coming from brain dead visitors?

    😛 And, if you are writing on other social
    sites, I would like to keep up with anything fresh you have to post.

    Would you post a list of every one of your social sites like your Facebook page, twitter feed, or
    linkedin profile?

    My webpage :: Desiree

  28. 안마24 dice:

    Good day! Do you know if they make any plugins to
    help with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing
    very good gains. If you know of any please share.
    Thanks!

  29. Hellko There. I found your weblog the usage of
    msn. That is a very neatly written article. I’ll make sure nashville things to do with teenager
    bookmark it and come back to learn more of your
    helpful information. Thanks for the post. I’ll definitely return.

  30. Georgianna dice:

    I want studying and I conceive this website got some genuinely useful stuff on it!

    My web blog; Georgianna

  31. Wow, amazing blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of
    your website is excellent, as well as the content!

  32. 김해출장 dice:

    My coder is trying to convince me to move to .net from
    PHP. I have always disliked the idea because of the expenses.

    But he’s tryiong none the less. I’ve been using Movable-type on several websites
    for about a year and am anxious about switching to another platform.
    I have heard great things about blogengine.net. Is
    there a way I can transfer all my wordpress content into it?
    Any kind of help would be really appreciated!

  33. Hello, i think that i saw you visited my weblog so i came to
    “return the favor”.I’m attempting to find
    things to enhance my site!I suppose its ok to use a few of your ideas!!

    my blog post :: แทงหวยออนไลน์

  34. I’m gone to tell my little brother, that he should also visit
    this blog on regular basis to get updated from most up-to-date news update.

  35. If yoou match all five numbers on a Power Play ticket, your prize will be fixed
    at $2,000,000 regardless of tthe Power Play
    quantity drawn.

    my webpage – Find more information

  36. My rather long internet look up has at the end of the
    day been compensated with pleasant insight to talk
    about with my family and friends.

  37. Click here dice:

    Person limits cannot exceed the limits sset by the Rhode Island Lottery.

    my web bllog … Click here

  38. Jacqueline Donahue of Hazleton, right, buys la Mega Millions lottery ticket at the Anthracite Newsstand on Public Square, Monday,
    Jan. 18, 2021, in Wilkes-Barre, Pa.

    Feel free to surf tto my homepage; Click for source

  39. Dental dog dice:

    I enjoy examining and I think this website got some genuinely utilitarian stuff on it!

    Here is my blog post: Dental dog

  40. Have you ever thought about creating an ebook or guest authoring on other blogs?
    I have a blog based on the same ideas you discuss and would love to have you share some stories/information. I know my viewers would value your work.

    If you are even remotely interested, feel free to send
    me an e-mail.

    Visit my website; porcelain veneer

  41. Have you ever considered publishing an ebook
    or guest authoring on other websites? I have a blog
    centered on the same ideas you discuss and would love to have you share some stories/information.
    I know my subscribers would value your work. If you are even remotely interested,
    feel free to send me an e-mail.

    Also visit my homepage; Dental Procedures

  42. Hello would you mind letting me know which webhost you’re working
    with? I’ve loaded your blog in 3 completely different internet browsers and I must say this
    blog loads a lot quicker then most. Can you suggest a good web
    hosting provider at a honest price? Cheers, I
    appreciate it!

    my website :: columbia Cosmetic Dentistr

  43. Isaac dice:

    Thank you a bunch for sharing this with all folks you actually understand what you are speaking approximately!
    Bookmarked. Please additionally consult with my web site =).

    We can have a link alternate agreement between us!

    Feel free to visit my page; Isaac

  44. I rarely drop comments, but I read a few of the comments here VTL Open Source sobre FC | Almacenamiento Abierto.
    I do have a couple of questions for you if it’s allright.

    Is it simply me or does it look as if like a few of these
    remarks look like they are coming from brain dead people?
    😛 And, if you are posting at additional online social sites, I would like to keep
    up with everything new you have to post.
    Would you list of all of your shared pages
    like your twitter feed, Facebook page or linkedin profile?

    My website … getting dental crowns

  45. I usually do not comment, but I browsed a ton of
    comments here VTL Open Source sobre FC | Almacenamiento Abierto.
    I actually do have a couple of questions for you
    if you tend not to mind. Is it just me or does it give the impression like some of the remarks appear like
    they are coming from brain dead people? 😛 And, if you are posting on other places, I would like to follow anything new you have to post.
    Would you list of all of all your social networking sites like your linkedin profile, Facebook page
    or twitter feed?

    Feel free to visit my blog post pediatric Dentistry

  46. Thanks for sharing your thoughts on Emulex. Regards

  47. slot pg dice:

    Wonderful website you have here but I was wondering if you knew of
    any user discussion forums that cover the same
    topics discussed here? I’d really love to be a part of group where I can get opinions from other knowledgeable individuals that share the same interest.
    If you have any suggestions, please let me know.

    Many thanks!

  48. The jackpot could bbe worth far more if ticket salss exceed expectations.

    my web site Article source

  49. Aw, this was an incredibly good post. Taking the time and actual effort
    to produce a superb article… but what can I say…
    I procrastinate a lot and never manage to get anything done.

    my website :: orem family dentist

  50. Before you buy a second hand Minions

Deja una respuesta

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