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 1Library: 2 CHANNEL: 0 TARGET: 0 LUN: 0
Vendor identification: STK
Product identification: L700
Product revision level: 5500
Unit serial number: XYZZYDrive: 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 = 800843S3Storage 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:
Hi my family member! I want to say that this post is amazing, nice written and include approximately all significant infos.
I would like to see extra posts like this . https://www.Stripchat-top100.cam/index.php?a=stats&u=mattieconklin
What i don’t realize is in reality how you are
not really much more well-liked than you might be now.
You are so intelligent. You recognize therefore significantly relating to this subject, made
me individually consider it from a lot of numerous angles.
Its like men and women don’t seem to be fascinated unless it’s
something to accomplish with Woman gaga! Your own stuffs great.
Always maintain it up! https://disabilitywiki.univ-st-etienne.fr/wiki/7_Niveaux_Par_La_Pose_De_Plancher
I seriously love your site.. Great colors & theme.
Did you build this web site yourself? Please reply back
as I’m hoping to create my own website and want to know where you got
this from or exactly what the theme is called. Appreciate it!
Hi! I’m at work browsing your blog from my new apple iphone!
Just wanted to say I love reading your blog
and look forward to all your posts! Carry on the great work!
What’s up all, here every person is sharing such experience, therefore it’s pleasant to read this weblog, and I used to pay a quick visit this website daily. https://mi-terminologia.Dsd.sztaki.hu/index.php/Szerkeszt%C5%91:GiuseppeDortch6
Ready to associate with Good Commerce and enhance your website SEO?
dayz Dedicated server
VTL Open Source sobre FC | Almacenamiento Abierto
Perinatal Massage by Mountainside Massage
Fallo al enviar el comentario
Hey there just wanted to give you a quick heads up and let you know a few of
the images aren’t loading properly. I’m not sure why but I think its a linking issue.
I’ve tried it in two different browsers and both show the same outcome. http://www.harddisks.ipt.pw/out/les-entreprises-jose-melo-2/
It’s always so sweet and also full of a lot of fun for me
personally and my office colleagues to search your blog a minimum of thrice in a week to
see the new guidance you have got.
Hey there! I understand this is somewhat off-topic however I
had to ask. Does managing a well-established blog such as yours require a massive
amount work? I am brand new to operating 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 own experience and thoughts online. Please let me
know if you have any kind of suggestions or tips for new aspiring blog owners.
Appreciate it! https://Universidade.Backupgarantido.com.br/doku.php?id=blue_o_ganic_co_n_flou_900_g
It is just as entertaining and thrilling, if not extra so.
Feel free to surf to my web blog: Marylin
Thanks for the post and keep sharing.
Way cool! Some very valid points! I appreciate you writing
this
write-up and also the rest of the site is really good. https://hermine.ca/produit/sauce-aux-canneberges-erable-et-agrumes-atocas-110-ml/
It is played with randomly selected cards in a range of variations.
my homepage :: baccarat rouge 540
I hope to give something back and help others like
you aided me. https://www.pgilbert.ca/product/le-jeu-de-la-vie-destins/
I merely wanted to provide
you with a quick heads up! Aside from that, wonderful website! https://reseaufisconseils.com/services/services-de-litige-avec-les-autorites-fiscales/
With the Buffer Engage tool, you’ll have the ability to reply to feedback out
of your desktop.
I just wanted to give you a quick heads up! Apart from
that, wonderful site! https://www.acupuncturerive-sud.com/lacupuncture-pas-seulement-quune-affaire-daiguilles/
Somebody essentially help to make critically articles I’d state.
That is the first time I frequented your web page and up
to now? I amazed with the research you made to make this particular put up incredible.
Great task!
Masses of manufacturers implement this technique with a
whole lot of success. Your followers can use that hashtag on their very own related posts-providing you with the chance to simply discover their posts (simply by clicking
your branded hashtag!) and interact with them.
Plus, when different individuals embody your hashtag on their very own photographs,
you organically unfold the phrase about your model-growing your probabilities that extra folks will give your account a comply with and interact together with
your content material. Having bother preserving your hashtags organized?
Our hashtag supervisor helps you to retailer, group, and add hashtags to
posts within the caption or first remark with simply a few clicks.
Try it right now and see how a lot simpler it’s to handle your hashtags.
If you’d like extra likes in your posts, you clearly want individuals
to see them. Instagram’s algorithm makes that troublesome at occasions.
But, posting your content material on the optimum occasions
(i.e. the occasions your followers are most energetic and engaged) will help to get your content material seen.
I could not refrain from commenting. Well written!
My web blog :: เว็บเศรษฐีออนไลน์
Definitely imagine that which you said. Your favorite justification appeared to be on the net the
simplest factor to consider of. I say to you, I certainly get annoyed at the same time as folks
think about worries that they just do not realize about.
You managed to hit the nail upon the top as neatly as defined out the
entire thing without having side effect , other folks
can take a signal. Will likely be back to get more. Thank you
I couldn?t resist commenting. Perfectly written! https://www.entreprisesrealberube.ca/
Running a Dedicated Server
VTL Open Source sobre FC | Almacenamiento Abierto
Hi there, simply turned into alert
to your blog through Google, and located that it?s
truly informative. I?m
gonna watch out for brussels. https://www.cliniquedelenfant.ca/anxiete/
This blog is great check it out
Some us know all relating to the compelling medium you present powerful steps on this blog and therefore strongly encourage contribution from other ones on this subject while our own child is truly discovering a great deal.
Have fun with the remaining portion of the year.
Great article. Couldn’t write much better!
I read this article fully regarding the resemblance of hottest and preceding technologies, it’s remarkable article.
Have you ever thought about adding a little
bit more than just your articles? I mean, what you say is valuable and everything.
But imagine if you added some great visuals or video clips to give your posts more, «pop»!
Your content is excellent but with pics and video clips, this blog could
definitely be one of the very best in its field. Superb blog!
Hello, after reading this remarkable article i am also glad to share my knowledge
here with friends. https://Sleepbegone.com/index.php/R%C3%83_paration_Toiture_R%C3%83_sidentielle_Et_Toit_Plat_Ville_De_Qu%C3%83_bec
Good day I am so glad I found your blog page, I really found you by error, while I was looking on Bing for something else, Nonetheless I am here now and would just like
to say thanks for a tremendous post and a all round exciting blog (I also love the theme/design),
I don’t have time to read it all at the minute but I have saved it and
also included your RSS feeds, so when I have time I will be back to read
a great deal more, Please do keep up the fantastic b.
We appreciate your providing this information for people seeking to get more
information on topics like this. Your blog was well-written and very well researched, and that is greatly valued.
I actually am usually looking for new sites to follow
and browse on a regular basis. https://njmassage.info/40days
I got this website from my friend who informed me regarding this site and now
this time I am browsing this site and reading very informative posts at
this time. https://demo.socialmedia.socialapps.tech/blog/21819/costumes-de-luxueux-italien-pour-homme
I loved as much as you’ll receive carried out right here.
The sketch is attractive, your authored material stylish.
nonetheless, you command get bought an edginess over that you wish be
delivering the following. unwell unquestionably come further
formerly again as exactly the same nearly very often inside case you shield this
hike. เว็บ สล็อต ทดลอง
http://reininghorsearenas.com
Fallo al enviar el comentario
I actually felt this article is and not keeping your head stuck in the phone the whole while,
either) and living free, living life with appreciation for the randomness and patterns of nature, keeps people feeling grounded.
Thinking about important subjects is likewise an experience that can assist us to make the discovery of self
understanding. https://njmassages.com/40days
This paragraph gives clear idea designed for the new visitors of blogging, that really how to do blogging and site-building. http://Www.Visualchemy.gallery/forum/profile.php?id=920642
This extraordinary and rare pair of centerpieces beautifully showcase the artistry of Baccarat Rouge crystal.
Great beat ! I wish to apprentice while you amend your
web site, how can i subscribe for a blog website?
The account helped me a acceptable deal. I had been tiny bit acquainted of
this your broadcast provided bright clear concept
my blog … judi Slot terbesar
situs slot online terbaik
VTL Open Source sobre FC | Almacenamiento Abierto
stampedeconcertsinc.ca
Fallo al enviar el comentario
I just could not depart your site before suggesting that I really loved the standard info a person provide to your guests?
Is going to be back regularly in order to check up on new posts
I beⅼіeve this internet sіte ϲontains very superb composed written content blog posts.
Have a look at my webpage :: fun things to do bethany beach
As you start to like people’s pictures, they will certainly follow
you back to increase the involvement rate even more.
Wow, awesome weblog format! How lengthy have you ever been blogging for?
you make running a blog glance easy. The total look of your site
is excellent, let alone the content!
Feel free to surf to my blog: Dental Di
postpartum massage therapy in-home
Fallo al enviar el comentario
If yoս desire things to do in maine tonight get much from
this paragraph then you have to apply such methods to your won webpage.
Facebook Live, and businesses must use it to reach their niche goal audiences.