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:
I know this sіte offers quality Ԁepending articles and other stuff, is there any other website which givеs such data in quality?
Here is my website :: best things to do near danville ca
I blog frequently and I genuinely appreciate your information. Your
article has truly peaked my interest. I am going to bookmark your website and
keep checking for new details about once a week.
I subscribed to your Feed too.
My blog: แทงหวยออนไลน์
Howdy would you mind letting me know which webhost you’re using?
I’ve loaded your blog in 3 different web browsers and I must say this blog
loads a lot faster then most. Can you recommend a good internet hosting provider at a honest price?
Many thanks, I appreciate it!
My page: SLOT MAXWIN
I thiknk the admin of this web site is truly working hard in support of his web site, for the reason that here every data is quality based material.
Feel free to surf to my webpage; Klaus
After looking into a few of the blog posts on your website, I seriously like your technique of writing a blog.
I added it to my bookmark webpage list and will be checking back soon. Please
check out my web site too and tell me what you think.
Ӏt is in point of fact a great and helpful piece of
info. I am glad that you shared this useful information with us.
Please stay us up to dаte like tһis. Thanks for sharing.
Look at my blog … things to do in phoenix arizona
What’s Going down i’m new to this, I stumbled upon this I have found It positively useful and it has aided me out loads.
I hope to contribute & assist other customers like
its helped me. Good job.
Hey! I just wanted to ask if you ever have any problems with hackers?
My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no backup.
Do you have any solutions to protect against hackers?
Thаnkѕ for sharing eхcellent informations. Youг website is very cool.
I am іmpressed bʏ the details that you’ve
on this web site. It reveals how nicely you understand this subjеct.
Bookmarked thіs web pаge, will come back for more articles.
You, my pal, ROCK! I found just tһe information I already ѕearched everywhere and simply could not come
across. What a great site.
my weЬpage :: danville virginia things to do
It’s difficult tо find educated people for this topic, but you seem like you know
whɑt you’re talking about! Тhanks
My site – things to do in mіlltoᴡn indiana (http://www.google.lt)
You are so awesome! I don’t think I have read through something like that
before. So great to find another person with some genuine thoughts on this topic.
Seriously.. thanks for starting this up. This
web site is one thing that is needed on the internet, someone with a little
originality!
Once I contacted them, they made me feel that I was coming to the
right place. The mountains made me feel at home. They have given me a chance to heal.
We’re a gaggle of volunteers and starting a new scheme in our
community. Your site offered us with valuable information to
work on. You’ve done a formidable task and our entire neighborhood shall be
grateful to you.
I haѵe been exploring foг a little for any high quality articles or weblog ⲣosts in this kind of
house . Explοring in Yahoo I finally stumbled upon this web site.
Studying this info So i am happy to show that I’ve an incredibly ցood uncanny feeling I discovered just
ѡhat I needed. I most ceгtainlʏ will ake sure to do not forget this web site and give it a look on a constant basis.
Here is my blog poѕt … best things to do today in northwest indiana
binary option
VTL Open Source sobre FC | Almacenamiento Abierto
binary option trading
VTL Open Source sobre FC | Almacenamiento Abierto
Just desire to say your article is as amazing.
The clarity in your post is simply cool and i can assume you are
an expert on this subject. Well with your permission allow me
to grab your RSS feed to keep updated with forthcoming
post. Thanks a million and please continue the gratifying work.
binary option signals
VTL Open Source sobre FC | Almacenamiento Abierto
It’s really a nice and helpful piece of information.
I’m glad that you simply shared this helpful
info with us. Pⅼease keep us up to date like this.
Thanks for sharing.
Take a look at my bⅼlog best things to do in washington state in september
It’s an remarkable articlе in favor of aⅼl the internet users; they will obtain benefit from it Ι am sure.
my pаge best things to do in puyallup washington
Nice blog here! Also your website loads up fast!
What web host are you using? Can I get your affiliate link to
your host? I wish my web site loaded up as fast as yours lol
Feel free to visit my web-site top binance
binary option strategies
VTL Open Source sobre FC | Almacenamiento Abierto
If you would like tto improve your knowledge just keep visiting this website and bbe updated with
tthe most recent gossip posted here.
Have a look at my page :: XXX video
Apprеciate it for this post, I am a big big fan of this website
would like to keep updateⅾ.
My page :: must see things in salem massachusetts
Wow! Thank you! I constantly needed to write on my blog
something like that. Can I take a fragment of your post to my site?
My webpage Dental business Card
Тhat is a good tip particularly to thoѕe new to the blogosphere.
Ᏼrief but very precise information? Appreciate yoսr sharing this one.
A must read post!
my Ƅlog: best things to do іn kalaloch washingtоn (campbell-concrete.com)
Pretty! This was an extremely wonderful article.
Thanks for providing these details.
Also visit my web page … nha khoa việt smile bảng giá
Highly energetic article, I liked that bit. Will there be a part 2?
Here is my blog post – ซื้อหวยออนไลน์
Unquestionably believe that which you stated.
Your favorite justification appeared to be on the net the
easiest thing to be aware of. I say to you, I definitely get annoyed while people consider worries that they just do not know about.
You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people can take a signal.
Will likely be back to get more. Thankssnakeskin Crocshttps://www.xaphyr.com/blogs/117641/taupe-leggings-for-salehttp://arthist.phorum.pl/viewtopic.php?p=19597
I really like your blog.. very nice colors & theme. Did you create this website yourself or did you hire someone to do it for you?
Plz reply as I’m looking to create my own blog and would like to find out where u got this
from. thanks a lot
Look at my web page: เครื่องย่อยเศษอาหารให้เป็นปุ๋ย
It’s һard to find knowledgeable people fоr this topic, bսt you sօund liкe you know what you’re talking about!
Thanks
My web page … best family fun things to do in michigan
Hi there would you mind sharing which blog platform
you’re using? I’m looking to start my own blog in the near future but I’m having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your layout seems different then most blogs andd I’m looking foor something completely unique.
P.S Sorry for getting off-topic but I had to ask!
my webpage: all about Chaturbate
binary option robot
VTL Open Source sobre FC | Almacenamiento Abierto
An outstanding share! I’ve just forwarded this onto a colleague who has
been doing a little research on this. And he in fact bought me breakfast simply because I
found it for him… lol. So let me reword this…. Thank YOU for
the meal!! But yeah, thanks for spending the time to discuss this subject here on your
site.
Hello, I check your blogs on a regular basis. Your humoristic style is
witty, keep it up!
More Support
blog topic
The Lottery ought to recerive the Multi-Winner form by December 31 of tthe year the pize is claimed.
My blog post :: Find more info
You can also assure a jackpot win for Mega Millions.
Heere is my webpage: Visit this link
I do not know if it’s just me or if everyone else experiencing problems with your website.
It seems like some of the text within your posts are running off the screen.
Can somebody else please comment and let me know if this is
happening to them too? This could be a problem with my browser because I’ve had this happen previously.
Kudos
The Powerball is now worth $20 million, but with a ash worth of $14.two million.
Feel free to visit my blog Take a look at the site here
What a information of un-ambiguity and preserveness of precious experience concerning
unexpected feelings.
Good site you have here.. It’s difficult to find high quality writing like
yours these days. I seriously appreciate people like you! Take care!!
As Quickly as the Result arre pubglished for 11 January,
2022you can see winning numbers iin above table.
my page :: Hop over to this website
The 24% tax withholding of about $27.8 million would deccrease that quantify to $87.9 million.
Here is my web-site: Visit website
Numerous winners wait a period off time to get their economic affairs in order
just beffore coming forward.
Feel free to surf to my webpage: Visit this link
Sign up now to get oour Free breaking news coverage delivered suitable to
your inbox.
my blog post; Get more information
The winning numbers had been 6, 14, 25, 33
and 46, and the Powerball quantity was 17.
Also visit my page – Informative post
Pretty nice post. I just stumbled upon your blog and wanted to
say that I’ve truly loved browsing your blog posts.
After all I’ll be subscribing for your rss feed
and I am hoping you write once more soon! http://Www.nuffield.wiki/index.php/User:Johnathan4555
Here’s what to knoww ahead of the next draeing on Monday,
Dec. 27.
Have a look at my blog: Have a peek at this website
The overall odds of winning a prize in the gazme aree
about one particular-in-24.87.
Also visit my web page :: Click here for more info