Output of storage for vSphere (devices + paths) adapters

Hello

I have a little problem ;(

theire where many changes for vSphere.

http://www.VMware.com/support/developer/VC-SDK/visdk400pubs/vsdk400behaviorchanges.html

normally for 3.5, we saw a device like this: (raw + nonrawdisk)

ESX 3.x: vmhba1:0:1

While it was possible for me to make an exit for all LUNs in decimal, Ids which where zoned by the Admins of storage. (storage administrators have the Hex Code).

We have a DR Solution including 2 warehouses where synchronized together.

So I made a documentary to describe which 2 decimal Id which if synchronized

but now I don't know how to handle the HostMultipathInfoLogicalUnit.id and HostMultipathInfoPath.name.

It is not 100% clear to me ;(

with 3.5, it was well arranged.

I tried now make a new script and I am searching for rare items that I can't find in the SDK ;(

theire has 2 tabs on the gui of storage adapters

Paths:

The Runtime name: vmhbaN:Cx:Tx:Lx

Target: San identifier

LUN: Decimal ID

Status

So what are entered in the GUI, multi-channel (paths) so I looked in [HostMultipathInfoPath].

but I can't find this titles. only

adapter

dynamicProperty

dynamicType

isWorkingPath

me?

LUN

name

pathState

State

transport

H

for devices:

(Name of drive Fibre Channel)

The Runtime name: vmhbaN:Cx:Tx:Lx

LUN: Decimal Lun Id

Type: Disc Type

Transport:

Capacity:

Owner:

-


Can someone knows how to query the "Runtime name, LUN ID dec.

THX

Max

The key in ESX 4 object that shows the disposition of all LUNS, adapters, paths... is the object of HostPlugStoreTopology .

With the keys that you will find in there, it is relatively easy to find other properties of the lun, devices, roads...

As far as I know, the name of Runtime, you see in the vSphere client is not available in the format displayed in each of the objects.

But it's pretty easy to dial in a script.

In the following example script I list ID (or canonical name) and the name of Runtime for all 'disc' lun.

$esxName = 

$esx = Get-VMHost $esxName | Get-View
$esx.Config.StorageDevice.ScsiLun | where {$_.LunType -eq "disk"} | %{
     $ScsiLun = $_
     $CanonicalName = $SCSIlun.CanonicalName
     $esx.Config.StorageDevice.PlugStoreTopology.Device | where{$_.Lun -eq $ScsiLun.Key} | %{
          $PSTdevice = $_
          $esx.Config.StorageDevice.PlugStoreTopology.Path | where {$_.Device -eq $PSTdevice.Key} | %{
               $PSTpath = $_
               $PSTadapter = $esx.Config.StorageDevice.PlugStoreTopology.Adapter | where{$_.Key -eq $PSTpath.Adapter}
               $adapter = $esx.Config.StorageDevice.HostBusAdapter | where {$_.Key -eq $PSTadapter.adapter}
               $hba = $adapter.Device
               $channel = $PSTpath.ChannelNumber
               $target = $PSTpath.TargetNumber
               $lun = $PSTpath.LunNumber
               $RuntimeName = $hba + ":C" + $channel + ":T" + $target + ":L" + $lun
               Write-Host $CanonicalName $RuntimeName
          }
     }
}

It produces something like this

Note that the decimal LUN id is in the name of runtime.

____________

Blog: LucD notes

Twitter: lucd22

Tags: VMware

Similar Questions

  • output voltage DAQ for external device control

    Hi all

    I have been using LabView 8.5 to acquire data from an acquisition of data USB Multifunction (1608FS of MCC DAQ) module.  However, I now want to use this device even for controlling an optical shutter, but also to detect the position of the shutter sensor.  Is it possible using this device in LabView?

    I had no problems on the side of the acquisition but I was not able to generate any output voltages can any body in this case help.

    Concerning

    Steven

    According to my quick google search, this device is listed as

    DAQ module with eight 16-bit analog inputs and eight e/s digital

    So there are no outputs only digital outputs.

  • Help to configure storage for vSphere 4

    Hi all

    I am designing the datstores for our new vSphere installation.  The virtual machine will be Windows servers with a default configuration of a logical drive C and D.  Some servers will have additional logical drives.  Some of the team think that it will be better to place the virtual disks for the C drive in a single VMFS volume, while placing the D virtual disk drive in another.

    Are there performance problems or advantages with this configuration, or is it better to store all of the virtual disks associated with a virtual machine in the same data store?

    If we divided the VMDK in different datstores could this affect pagaing if the pagefile is stored on the logical drive that D?

    Storage is a HP EVA 4400 with SAN disks (which is currently proposed to store the virtual disks of drive C) and a 1500 (SATA) MSA (currently proposed to store the virtual disks for drive D).

    Thanks for your help

    Yes there is check this post that hold Andre.

    http://communities.VMware.com/docs/doc-10990

    http://blog.laspina.ca/

    vExpert 2009

  • Remove the inactive storage for vSphere

    Hi all

    I need to delete some idle of my installation of vSphere storage. I removed before storage, right-click on the storage and choosing Delete but I don't have this option either available, I guess because the storage is inactive.

    There is no chance of this more active storage yet, but for administrative reasons, I want to remove it.

    For the registration of all hosts are the ESXi.

    Thanks for the pointers,

    Dan

    Hello

    Usually, it is a model or an iso image on the store preventing his abduction.

    Kind regards

    Mike

    http://blog.laspina.ca/

    vExpert 2009

  • "Windows cannot access the specified device, path or file" for each X 86 application on a Windows 2003 x 64 server

    Hello

    I have a Windows 2003 X 64 server and since a week ago everything works fine.

    For a week or two when I try to run an X 86 application, I always get this error:
    "Windows cannot access the specified device, path or file.
    If I run a x 64 apps everything works fine.
    What made a mistake?
    Thank you

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Server on TechNet. Please post your question in the TechNet forums. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • Cannot find the specified device, path, or file. May not be the appropriate permissions for access you.

    Hey everybody,

    I was running Windows vista professional for more than 2 years yesterday, I formatted my hard drive and reinstalled vista prof. (entirely new, different CD key). Everything works very well excenp for one thing - I had saved some of the programs and files on my external hardrive before formatting my laptop. Now, when I try to access these files I get the following msg-"cannot find the specified device, path, or file." You don't have permission to access them. ".
    I am logged in as administrator.

    Help, please. I reallly need the files.

    Any help would be appreciated.
             

    Hey Jihirshu,

    It looks like permissions.

    Try this on one of the files on the disk to see if it allows you to copy the files.

    1 right click on the file, then select Properties
    2. click on the Security tab
    3. click on change, in the name box, type "Everyone".
    4. in the boxes next to the permissions below, put 'Total control' for everyone
    5. click OK, and then close the dialog boxes
    6. try to copy the file that you just modified.

    If the works above, you must change the permissions on all the files you want to copy.  Normally, you can just highlight all the and follow the steps above to change the permissions on all files at the same time.

    I hope this helps if you find my answer was what you are looking for, please do not forget to click on the box "mark as answer" below!

  • On my user account on my labtop when I click on a program, such as mozilla firefox, it happens 'windows cannot access the specified device, path or file. May not be the appropriate permissions for access you point. "Please help

    On my user account on my labtop when I click on a program, such as mozilla firefox, it happens 'windows cannot access the specified device, path or file. May not be the appropriate permissions for access you point. "This message appears for firefox, AVG, Windows live messenger, windows MediaPlayer etc.

    I can access my documents, Panel etc. and everything is there, but it won't let me not get access to the programs.

    Also when I go to click on itunes and open office it happens "this file has no program associated with it for performing this action. Create an association in the set associations Control Panel.

    Given that I was able to access control panel, I was able to create a new user and use it for now to send this message and all programs have worked on it and I was able to check for the presence of viruses on the Avg on this and everything was clear.

    Could you please explain whats wrong and tell me how to fix this please: D thanks

    Hello
     
    1. don't you make changes before the show?
    2. is the computer is joined to the domain controller?
     
    You can not start any application on a client computer that is joined to the domain controller. When you try to start this type of application, you receive an error message similar to the following:
    "Windows cannot access the specified device, path or file. You can not have the appropriate permissions to access the item.

    This can also occur if the user account is damaged. If the computer is not connected to a domain controller, try the following steps.
    1. connect to another user account and create a new user account to fix the damaged user account.
    For more information about creating a new user account and the fixing corrupt user account, visit this link: http://windows.microsoft.com/en-US/windows-vista/Fix-a-corrupted-user-profile
     
    Previous post the results in more detail, so that we can help you further.
     
    I hope this helps.
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.

  • Writing files apps get the "Windows cannot access the specified device, path or file. May not be the appropriate permissions for access you the items"error

    It only occurs with certain applications. Firefox and steam (the game application), for example.

    He regularly happening when trying to download a file with Firefox, regardless of the folder I tried to save the item to. Helped Disabling UAC. Sometimes, even when from time to time, however. I usually just download the file again in the same place, and it works fine.

    With steam, it happens 100% of the time when he tries to update. I am trying to troubleshoot with them, but I strongly suspect that there is an underlying problem related to Windows. I am running Windows 7 Home Premium 64-bit.

    It may be relevant that all my files have the blob (not checked) in the box 'read only '.

    There has been no recent changes to my computer.

    I tried:

    Creating a user profile. The question persists while the user as well.
    Using the attrib command from the command prompt to reset the properties of the folder.
    Run the checker system (no errors found) files.
    Taking possession of the records.
    Make sure that I have all the permissions with folders.
    Right click to run applications as an administrator.
    Check if the requests are blocked.
    Try start mode selective (Microsoft, no startup application services).
    Re-registration of Windows install.

    My antivirus software is Microsoft Security Essentials. I did full scans. It prompted me without warning.

    Hello

    Are you having the same problem during the download of Internet Explorer?
     
    Method 1:
    I suggest you try the procedure described in the article and see if it helps.
    Error "Windows cannot access the specified device, path or file" when you try to install, update or launch a program or file
    http://support.Microsoft.com/kb/2669244
    Note: There is a risk of data loss if all the files are infected and which can be removed in the cleaning process.
     
    Method 2:
    If the problem is not resolved I suggest you to save the files and run an upgrade on the spot to repair permissions.
     
    How to perform an upgrade on the spot on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
    http://support.Microsoft.com/kb/2255099
     

    Warning: An upgrade on the spot is the final solution before you have to reinstall the operating system. Note that it takes as much time to do the upgrade as to reinstall the operating system. In addition, some of your custom Windows settings may be lost through this process.

    Hope this helps and keep us posted.
     
     
  • Add crash function storage for wizzard in vSphere Client 4.1

    Hello

    I separatelly that install ESX 4.1 on HP DL380 G6 with 2 logical drives on SmartArray P410i, first storage was created during the installation process.

    And when I try to add (second storage) storage in vSphere Client wizzard breaks down with configuration of host error, please what I m doing wrong?

    Thanks for any help

    Jerome Kovac

    I saw another post there, someone had a similar problem because they had a few other partitions on the disk.  They have manually deleted these partitions with FDISK and then managed to format the volume normally using the wizard so could be a potential cause of this?   Deletion and recreation of the second virtual disk must also remove all partiions.

    http://www.eversity.nl/blog/?p=93

  • Differences between the ISCSI connections to the storage in vSphere 4.1 and 5.0.

    I'm in trouble of setting up the connections of storage in a new VSphere 5.0 test environment. In our environment VSphere 4.1, it was possible to create a virtual switch add two Broadcom NetXtreme II 5709 NIC. Set assets. IP Hash value as load balancing. (LACP Etherchannel on physical switches) This configuration uses a grain port and a single IP address. Then add our NetApp NFS storage and ISCSI Equillogic storage. In VSphere 5.0, I can't create this same configuration. I have to create separate with separate IP addresses vmkernal ports? The idea was to have redundant connections to the storage and flow of these two NETWORK cards. Possibly adding additional if necessary to the futuer NETWORK cards. Any help with this would be greatly appreciated.

    How can I work around this:

    "VMkernel network adapter must have an active link exactly and no waiting rising to be eligible for the iSCSI HBA connection."

    I can certainly say that the way which allows you to configure the iSCSI Multipathing is incorrect.

    The main idea is to let Native Multipathing Plugin to decide what network path to choose, not the vSwitch.

    At the level of the network layer, you must have 1 VMK by a physical NIC.

    This technique applies as well for vSphere 4.1 and 5.0, but with the 5.0 it is configured easier and more quickly.

    Here's a very brief consequence of steps

    1. get 2 VMK interfaces and assign an IP by each VMK.

    2. set each VMK to use only one physical NETWORK adapter

    3 GB with storage iSCSI software adapter, turn it on and bind your VMKs 2.

    4 connect to your iSCSI storage space

    5 rescan devices, create the VMFS datastore

    6. set the desired load balancing VMFS method or just set up a prior default create new VMFS

    and it is strongly recommended to read this guide - http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-storage-guide.pdf

  • Storage Array Type Config path: ATAS VMW_SATP_SVC does not support the configuration of the path on ESXi 5.0 u1

    Hello

    Below for the output of my blade IBM HS22., are there any problems with the configuration of the path.

    List of paths esxcli storage nmp
    SAS.5005076b08b7aaa4 - sas.a9501097faba7a - naa.600508e0000000007abafa971050a900
    The Runtime name: vmhba0:C1:T1:L0
    Feature: naa.600508e0000000007abafa971050a900
    Full device name: FREE Serial Attached SCSI (naa.600508e0000000007abafa971050a900) drive
    Group status: Active
    Table priority: 0
    Storage Array Type Config path: ATAS VMW_SATP_LOCAL does not support the configuration of the path.
    Path selection policy path Config: {current: Yes; favorite: Yes}

    FC.2fff0000c900009f:2ffd0000c900009f - fc.500507680100 b b 680 680:500507680130 - naa.60050768018105afc000000000000df0
    The Runtime name: vmhba2:C0:T3:L2
    Feature: naa.60050768018105afc000000000000df0
    Full device name: disk of IBM Fibre Channel (naa.60050768018105afc000000000000df0)
    Group status: Active
    Table priority: 0
    Storage Array Type Config path: ATAS VMW_SATP_SVC does not support the configuration of the path.
    Path selection policy path Config: {current: Yes; favorite: Yes}

    Kind regards

    Surya

    Hi Surya,

    No, it's not any problem with the configuration of your path.

    It only means that this policy does not allow additional configuration.

    I.e. with fixed NMP, you would be able to configure a preferred path allowing you to manually distribute the i/o load.

    Your current configuration does not offer this option.

    Kind regards

    Ralf

  • Storage for Lab Manager

    My client needs storage for Lab Manager running on 100 servers. Is it recommended to use the NAS or SAN for Lab Manager running and what type of e/s that you wait for the same thing?

    I did a little bit with storage of LM in recent years.

    I have a development/test environment on LM 600 machine, using 2 Sun 7210 storage devices (is no longer available) on NFS shares. We have 2 links 1 G servile vmKernel traffc as well as links to more vmnetwork, management, etc.  The devices are related to links of 4 x 1 G each.

    I don't know what are the current constraints of LM/ESX, but whenever we revisit the decision 'block vs NAS' we end up selecting NFS (our Sun boxes can present the iSCSI as easily).

    As Jon says, what storage you need certainly depend on your VMS and load.  NOTE: my experience is * NOT * in a production environment, where I am squeezing virtual machines performance.  It's more about the functionality and "adequate" performance (where "adequate" is a measure based on the user experience topic).

    Some things we have learned over the years:

    • IOPS / s are kings, and most of them are entries.  (Written at the moment, I have a few heavy ready operations push me down to about 65 percent.)  I saw > 80% of entries maintained for days.)
    • Latency does not seem as important - VMs run about the same at 10ms latency and latency 250ms NFS NFS.  When latencies above 750ms grows, they will be noticiable users and if they go more than a second over 1000 ms you will begin to see the impact on the guest OSes, especially Solaris x 86.
    • Normal operations don't care about bandwidth - just current execution machines don't even fill a link 1 G
    • Deployment operations * could * start filling to the top of the bandwidth, maybe
    • Betware storm IO.  Often people think the storm IO deployment/boot, but 400 RedHat machines all the kickoff of their 'updatedb' cron job at 04:00 can produce any IO storm as well.  NOTE: IMHO if you buy storage to handle this kind of thing, you're overpaying storage.  I've spread my cron through the night and now can not see on the graphs of storage performance.
    • There is * NOT * a good correlation between guest OS IOPS / s as shown, for example, iostat and PAHO are / s NFS presented to the storage system.  I'm guessing that ESX made a lot of caching.

    Most storage vendors I spoke last year does not seem to find it.  They think in terms of bandwdith and it accelerates with read cache, so unimportant in my environment - I had to push really hard to get sellers to think in the right conditions and some of them really seem out of their depth there.

    I think that this state of mind is important: consider the IOPS / s as you consider CPU: how much should I give to each machine?  How much should I oversubsubscribe?

    Like CPU, a physical machine which IO a lot more available that he needs and you can consolidate - but don't know how.  A physical machine with a pair of 15 k drives RAID1 has about 200 IOPS / s available and readers spend most of time inactive (a bit like the CPU).

    That will boost the machines and when?  Right now I'm on average 9 inputs/outputs by VM, which in my opinion is quite small.  My storage system can go higher under request, but I have enough machines that it is fairly constant.

    In my quest for the perfect storage of LM, I found the usual: good, not expensive or fast, you can choose any two.  How we use LM (lots and lots of shared models) we would really like a unique namespace shared (i.e. 1 data store). I have yet to find the 'perfect' - storage, the Suns are very profitable for the performance and space, but their management takes too much of my time and my 72XX are not expandable - the 74 might be a different experience.  I am currently looking to add some SSD storage, but the ideal configuration would be automated migratino between levels (for example, EMC QUICKLY) and if I bought only from EMC I would triple my cost per VM.

    I talked to people who have a pattern of use of different models that are quite happy on several data stores.  If you can move your load through many warehouses of data then Isilon looks like interesting storage.

    So, in summary:

    • Watch IOPS / s 1st, 2nd and 3rd, then the latency time, then (maybe) bandwidth
    • Manage the budget or the ability of the IOPS / s as you CPU
    • You may not use comments IOPS / s to provide shared storage IOPS / s

    I'm hoping to have a better storage solution in the next 6 months or more.

    --

    Dewey

  • I try to use my Time Capsule as external hard drive. But when I look in the Finder, nothing is available for shared devices.

    I have a Macbook air running OS X El Capitan. I try to use my Time Capsule as external hard drive. But when I look in the Finder, nothing is available for shared devices. I don't know if I need to restart the time Capsule or change the wireless setting, etc. ?

    Please advise...

    The TC appears in airport utility? If not then it is probably not part of your network or is lost... upgrade installed you El Capo because there a lot of questions.

    What is the TC plugged into the network by ethernet? And configured properly? Are you to internet via the TC... but can not see his drive... that would be typical?

    Have you set Finder preferences to display the network drives? Apple keeps making it difficult for some unknown reason.

    You actually have to mount the drive TC if it appears under shared... it still may not appear if you double click on it. Under the search box on the top of the right hand you see Connect (As) box, type the name or IP address of the TC in there... Make sure that you save the password from your keychain.

    I try to use my Time Capsule as external hard drive

    For the storage of the files it is fine.

    For the execution of direct files for an application in the Mac, you are very likely to damage or corrupt the file at some point.

    And how do you do backups? Time Machine can't help you... it won't work.

    Backup is crucial, especially if you do things apple say not to do... That is to say move your photos or the iphoto library to the TC and try to use direct from there... expect any day to need a resumption of the library.

  • Do you have an iCloud account or an account for each device purchased iCloud?

    I am trying to understand my situation to iCloud.  I have an iPhone 6s +, an iPad 2 Air and a new Mac.  I would expect to have an iCloud account with 5 GB of free storage for each of these three devices for a total of 15 GB of free storage space, or make only an account with 5 GB of free storage iCloud?

    Can someone tell me the exact answer?

    Thank you!

    Al

    If they use all the same ID, then 5 GB. If you use a different iCloud for each device ID, 5 GB each.

  • How to manage the parameters of storage for my iPad?

    I get an error message that my iPad storage is almost full; Yet, I still have 177GB available in iCloudl

    What should do?

    Thank you, Kay

    iCloud-storage is not the physical storage that is ACTUALLY on your iDevice.

    If your iPad is almost full, if you have something important that you want to keep on the device, you must back up these data with iTunes on a computer, or the value up/backup these data iCloud or some other "cloud" off site server storage service or something like DropBox.

    OR buy a local, mobile, storage devices as WiFi enabled portable hard drives for mobile devices or active Wifi USB flash drives store your iPad data locally.

    Then you can selectively decide what you need to delete out of your iPad to gain, to free up space for data storage.

    Good luck!

Maybe you are looking for