?
Solved

CLI Command to add a SCSI device to a VM??

Posted on 2009-04-04
5
Medium Priority
?
516 Views
Last Modified: 2012-05-06
I am having problems adding a SCSI tape library to one of my VMs thru VC. Can some one pls tell me if there is a Service Concole command to add a SCSI device (tape librery in my case) to one of my VMs on this host. I played around a bit with esxcfg-vmhabadevs, but had no luck.

An early response would be greatly appreciated as I have to add this device to my back up server which will run back ups in abt couple of hrs now.


Thanks
0
Comment
Question by:yaseen82
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:markzz
ID: 24068111
I know you won't find this terribly helpful but rather than you spend more time on this I would advise to look at other alternatives.
The idea of attaching a guest session to a host attached device like a SCSI tape library is difficult and can offers no more reliably useage than you will get from a standalone server.
I guess more to the point is it's so easy and neat to have a standalone server which is your VC, attach to it the SCSI tape library and perform VCB's onto it's local disk then back it up to the locally attached tape drive...
Somethings that are technically possible with VMWare are so trouble some it's better to keep it simple.
The old KISS system applies here.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 24069690
I agree with markzz, the resources required to do a passthough for a tape drive can be complex and you lose a lot of throughput especially since your I/O is going through your host compared to a standalone backup server that allows you to split your read/write.
0
 

Author Comment

by:yaseen82
ID: 24070232
Thanks Mark and Paul. I totally agree with u guys and put this forward as a sugestion to change the situation i have now. But un-fortunately I cant make the decision coz I am no IT manager to take a call on this.  Luckily for me, VC started working and I was able to attach this device to get this back device working.

But I am still curious to know if this is possible to do thru service concole. Pls advice.

Thanks
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 2000 total points
ID: 24070256
I am not sure since the setting is in the VMX file.  should be able to go intot the vmx file in the CLI via VI or nano and do the following.

scsi2.present = "TRUE"
scsi2:1.present = "TRUE"
scsi2:1.deviceType = "scsi-passthru"
scsi2:1.fileName = "/dev/sdc1"

Shut down VM to do this.
0
 

Author Closing Comment

by:yaseen82
ID: 31566609
Thanks Paul for your help. I will try that out :)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question