Hostsvc/storage/multipath info

From VI-Toolkit
Revision as of 03:06, 5 January 2009 by Wila (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

vimsh hostsvc/storage/multipath_info

Usage: multipath_info

Get storage multipath information.

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/storage/multipath_info
(vim.host.MultipathInfo) {
   dynamicType = <unset>,
   lun = (vim.host.MultipathInfo.LogicalUnit) [
      (vim.host.MultipathInfo.LogicalUnit) {
         dynamicType = <unset>,
         key = "key-vim.host.MultipathInfo.LogicalUnit-vmhba32:0:0",
         id = "vmhba32:0:0",
         lun = <vim.host.ScsiDisk:key-vim.host.ScsiDisk-vmhba32:0:0>,
         path = (vim.host.MultipathInfo.Path) [
            (vim.host.MultipathInfo.Path) {
               dynamicType = <unset>,
               key = "key-vim.host.MultipathInfo.Path-vmhba32:0:0",
                name = "vmhba32:0:0",
               pathState = "active",
               adapter = <vim.host.InternetScsiHba:key-vim.host.InternetScsiHba-vmhba32>,
               lun = <vim.host.MultipathInfo.LogicalUnit:key-vim.host.MultipathInfo.LogicalUnit-vmhba32:0:0>,
               transport = (vim.host.InternetScsiTargetTransport) {
                  dynamicType = <unset>,
                   iScsiName = "iqn.2009-01.com.example:storage.disk2.sys1.xyz",
                  iScsiAlias = "",
                  address = (string) [
                      "10.10.0.10:3260"
                  ],
               },
            }
         ],
         policy = (vim.host.MultipathInfo.FixedLogicalUnitPolicy) {
             dynamicType = <unset>,
            policy = "fixed",
            prefer = "vmhba32:0:0",
         },
      },
      (vim.host.MultipathInfo.LogicalUnit) {
         dynamicType = <unset>,
         key = "key-vim.host.MultipathInfo.LogicalUnit-vmhba0:0:0",
         id = "vmhba0:0:0",
         lun = <vim.host.ScsiLun:key-vim.host.ScsiLun-vmhba0:0:0>,
         path = (vim.host.MultipathInfo.Path) [
            (vim.host.MultipathInfo.Path) {
               dynamicType = <unset>,
               key = "key-vim.host.MultipathInfo.Path-vmhba0:0:0",
               name = "vmhba0:0:0",
               pathState = "active",
               adapter = <vim.host.BlockHba:key-vim.host.BlockHba-vmhba0>,
                lun = <vim.host.MultipathInfo.LogicalUnit:key-vim.host.MultipathInfo.LogicalUnit-vmhba0:0:0>,
               transport = (vim.host.BlockAdapterTargetTransport) {
                  dynamicType = <unset>,
               },
            }
         ],
          policy = (vim.host.MultipathInfo.FixedLogicalUnitPolicy) {
            dynamicType = <unset>,
            policy = "fixed",
            prefer = "vmhba0:0:0",
         },
      },
      (vim.host.MultipathInfo.LogicalUnit) {
         dynamicType = <unset>,
         key = "key-vim.host.MultipathInfo.LogicalUnit-vmhba1:0:0",
         id = "vmhba1:0:0",
         lun = <vim.host.ScsiDisk:key-vim.host.ScsiDisk-vmhba1:0:0>,
         path = (vim.host.MultipathInfo.Path) [
            (vim.host.MultipathInfo.Path) {
                dynamicType = <unset>,
               key = "key-vim.host.MultipathInfo.Path-vmhba1:0:0",
               name = "vmhba1:0:0",
               pathState = "active",
               adapter = <vim.host.ParallelScsiHba:key-vim.host.ParallelScsiHba-vmhba1>,
               lun = <vim.host.MultipathInfo.LogicalUnit:key-vim.host.MultipathInfo.LogicalUnit-vmhba1:0:0>,
               transport = (vim.host.ParallelScsiTargetTransport) {
                   dynamicType = <unset>,
               },
            }
         ],
         policy = (vim.host.MultipathInfo.FixedLogicalUnitPolicy) {
            dynamicType = <unset>,
            policy = "fixed",
            prefer = "vmhba1:0:0",
         },
      }
   ],
}