Difference between revisions of "Solo/environment"

From VI-Toolkit
Jump to: navigation, search
(New page: ==== vimsh solo/environment ==== Usage: environment Display the default vm environment on this host. Category: Vimsh)
 
(added example output)
 
Line 3: Line 3:
  
 
Display the default vm environment on this host.
 
Display the default vm environment on this host.
 +
====example output====
 +
# vmware-vim-cmd -H 10.10.10.10 -U root -P password solo/environment
 +
(vim.vm.ConfigTarget) {
 +
  dynamicType = <unset>,
 +
  numCpus = 2,
 +
  numCpuCores = 2,
 +
  numNumaNodes = 1,
 +
  datastore = (vim.vm.DatastoreInfo) [
 +
      (vim.vm.DatastoreInfo) {
 +
        dynamicType = <unset>,
 +
        name = "store",
 +
        datastore = (vim.Datastore.Summary) {
 +
            dynamicType = <unset>,
 +
            datastore = 'vim.Datastore:24b27cd4-228f5304-5b3a-00a1c2a09550',
 +
            name = "store",
 +
            url = "/vmfs/volumes/24b27cd4-228f5304-5b3a-00a1c2a09550",
 +
            capacity = 639681691648,
 +
            freeSpace = 62658707456,
 +
            accessible = true,
 +
            multipleHostAccess = <unset>,
 +
            type = "VMFS",
 +
        },
 +
        capability = (vim.Datastore.Capability) {
 +
            dynamicType = <unset>,
 +
            directoryHierarchySupported = true,
 +
            rawDiskMappingsSupported = true,
 +
            perFileThinProvisioningSupported = true,
 +
        },
 +
        maxFileSize = 0,
 +
        mode = "readWrite",
 +
      },
 +
      (vim.vm.DatastoreInfo) {
 +
        dynamicType = <unset>,
 +
        name = "datastore2",
 +
        datastore = (vim.Datastore.Summary) {
 +
            dynamicType = <unset>,
 +
            datastore = 'vim.Datastore:381b025b-1f339a0d-c14d-000d191cdef8',
 +
            name = "datastore2",
 +
            url = "/vmfs/volumes/381b025b-1f339a0d-c14d-000d191cdef8",
 +
            capacity = 3489660928,
 +
            freeSpace = 3178233856,
 +
            accessible = true,
 +
            multipleHostAccess = <unset>,
 +
            type = "VMFS",
 +
        },
 +
        capability = (vim.Datastore.Capability) {
 +
            dynamicType = <unset>,
 +
            directoryHierarchySupported = true,
 +
            rawDiskMappingsSupported = true,
 +
            perFileThinProvisioningSupported = true,
 +
        },
 +
        maxFileSize = 0,
 +
        mode = "readWrite",
 +
      }
 +
  ],
 +
  network = (vim.vm.NetworkInfo) [
 +
      (vim.vm.NetworkInfo) {
 +
        dynamicType = <unset>,
 +
        name = "VM Network",
 +
        network = (vim.Network.Summary) {
 +
            dynamicType = <unset>,
 +
            network = 'vim.Network:HaNetwork-VM Network',
 +
            name = "VM Network",
 +
            accessible = true,
 +
        },
 +
      }
 +
  ],
 +
  cdRom = (vim.vm.CdromInfo) [
 +
      (vim.vm.CdromInfo) {
 +
        dynamicType = <unset>,
 +
        name = "/vmfs/devices/genide/vmhba0:0:0",
 +
      }
 +
  ],
 +
  usb = (vim.vm.UsbInfo) [
 +
      (vim.vm.UsbInfo) {
 +
        dynamicType = <unset>,
 +
        name = "435890192344555",
 +
        description = "My funky USB dongle",
 +
        vendor = 0,
 +
        product = 0,
 +
        physicalPath = "",
 +
        summary = (vim.vm.Summary) null,
 +
      },
 +
      (vim.vm.UsbInfo) {
 +
        dynamicType = <unset>,
 +
        name = "43589324325534",
 +
        description = "Digital SEC FVRW Doohickey",
 +
        vendor = 0,
 +
        product = 0,
 +
        physicalPath = "",
 +
        summary = (vim.vm.Summary) null,
 +
      }
 +
  ],
 +
  maxMemMBOptimalPerf = 1689,
 +
  resourcePool = (vim.ResourcePool.RuntimeInfo) null,
 +
  autoVmotion = <unset>,
 +
}
 +
  
 
[[Category: Vimsh]]
 
[[Category: Vimsh]]

Latest revision as of 06:07, 29 December 2008

vimsh solo/environment

Usage: environment

Display the default vm environment on this host.

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password solo/environment
(vim.vm.ConfigTarget) {
  dynamicType = <unset>,
  numCpus = 2,
  numCpuCores = 2,
  numNumaNodes = 1,
  datastore = (vim.vm.DatastoreInfo) [
     (vim.vm.DatastoreInfo) {
        dynamicType = <unset>,
        name = "store",
        datastore = (vim.Datastore.Summary) {
           dynamicType = <unset>,
           datastore = 'vim.Datastore:24b27cd4-228f5304-5b3a-00a1c2a09550',
           name = "store",
           url = "/vmfs/volumes/24b27cd4-228f5304-5b3a-00a1c2a09550",
           capacity = 639681691648,
           freeSpace = 62658707456,
           accessible = true,
           multipleHostAccess = <unset>,
           type = "VMFS",
        },
        capability = (vim.Datastore.Capability) {
           dynamicType = <unset>,
           directoryHierarchySupported = true,
           rawDiskMappingsSupported = true,
           perFileThinProvisioningSupported = true,
        },
        maxFileSize = 0,
        mode = "readWrite",
     },
     (vim.vm.DatastoreInfo) {
        dynamicType = <unset>,
        name = "datastore2",
        datastore = (vim.Datastore.Summary) {
           dynamicType = <unset>,
           datastore = 'vim.Datastore:381b025b-1f339a0d-c14d-000d191cdef8',
           name = "datastore2",
           url = "/vmfs/volumes/381b025b-1f339a0d-c14d-000d191cdef8",
           capacity = 3489660928,
           freeSpace = 3178233856,
           accessible = true,
           multipleHostAccess = <unset>,
           type = "VMFS",
        },
        capability = (vim.Datastore.Capability) {
           dynamicType = <unset>,
           directoryHierarchySupported = true,
           rawDiskMappingsSupported = true,
           perFileThinProvisioningSupported = true,
        },
        maxFileSize = 0,
        mode = "readWrite",
     }
  ],
  network = (vim.vm.NetworkInfo) [
     (vim.vm.NetworkInfo) {
        dynamicType = <unset>,
        name = "VM Network",
        network = (vim.Network.Summary) {
           dynamicType = <unset>,
           network = 'vim.Network:HaNetwork-VM Network',
           name = "VM Network",
           accessible = true,
        },
     }
  ],
  cdRom = (vim.vm.CdromInfo) [
     (vim.vm.CdromInfo) {
        dynamicType = <unset>,
        name = "/vmfs/devices/genide/vmhba0:0:0",
     }
  ],
  usb = (vim.vm.UsbInfo) [
     (vim.vm.UsbInfo) {
        dynamicType = <unset>,
        name = "435890192344555",
        description = "My funky USB dongle",
        vendor = 0,
        product = 0,
        physicalPath = "",
        summary = (vim.vm.Summary) null,
     },
     (vim.vm.UsbInfo) {
        dynamicType = <unset>,
        name = "43589324325534",
        description = "Digital SEC FVRW Doohickey",
        vendor = 0,
        product = 0,
        physicalPath = "",
        summary = (vim.vm.Summary) null,
     }
  ],
  maxMemMBOptimalPerf = 1689,
  resourcePool = (vim.ResourcePool.RuntimeInfo) null,
  autoVmotion = <unset>,
}