Vmsvc/get.config: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
New page: ==== vimsh vmsvc/get.config ==== Usage: get.config vmid Retrieves and displays the configuration object for the vm. Category: Vimsh
 
No edit summary
 
Line 3: Line 3:


Retrieves and displays the configuration object for the vm.
Retrieves and displays the configuration object for the vm.
==== Example output ====
[root@himalaya scripts]# vmware-vim-cmd vmsvc/get.config 31168
Configuration:
(vim.vm.ConfigInfo) {
  dynamicType = <unset>,
  changeVersion = "2009-01-01T01:13:08.765224Z",
  modified = "1970-01-01T00:00:00Z",
  name = "VIMA",
  guestFullName = "Red Hat Enterprise Linux 3 (64-bit)",
  version = "vmx-04",
  uuid = "5034d5e6-3add-6386-7d1e-01449596f169",
  npivWorldWideNameType = "",
  locationId = "564ded5c-9488-f275-fbd5-cecb5e9a482f",
  template = false,
  guestId = "rhel3_64Guest",
  alternateGuestName = "Red Hat Enterprise Linux 3 (64-bit)",
  annotation = "This OVF file contains the VMware Infrastructure Management Assistant (VIMA) virtual machine.",
  files = (vim.vm.FileInfo) {
      dynamicType = <unset>,
      vmPathName = "[himalaya-local-SAS.VMStorage] VIMA/VIMA.vmx",
      snapshotDirectory = "[himalaya-local-SAS.VMStorage] VIMA",
      suspendDirectory = "[himalaya-local-SAS.VMStorage] VIMA",
      logDirectory = "[himalaya-local-SAS.VMStorage] VIMA",
  },
  tools = (vim.vm.ToolsConfigInfo) {
      dynamicType = <unset>,
      toolsVersion = 119584,
      afterPowerOn = true,
      afterResume = true,
      beforeGuestStandby = true,
      beforeGuestShutdown = true,
      beforeGuestReboot = <unset>,
      toolsUpgradePolicy = "manual",
      pendingCustomization = <unset>,
      syncTimeWithHost = false,
  },
  flags = (vim.vm.FlagInfo) {
      dynamicType = <unset>,
      disableAcceleration = false,
      enableLogging = true,
      useToe = false,
      runWithDebugInfo = false,
      monitorType = "release",
      htSharing = "any",
      snapshotDisabled = <unset>,
      snapshotLocked = <unset>,
      diskUuidEnabled = false,
      virtualMmuUsage = "automatic",
      snapshotPowerOffBehavior = "powerOff",
  },
  consolePreferences = (vim.vm.ConsolePreferences) null,
  defaultPowerOps = (vim.vm.DefaultPowerOpInfo) {
      dynamicType = <unset>,
      powerOffType = "preset",
      suspendType = "preset",
      resetType = "preset",
      defaultPowerOffType = "hard",
      defaultSuspendType = "hard",
      defaultResetType = "hard",
      standbyAction = "checkpoint",
  },
  hardware = (vim.vm.VirtualHardware) {
      dynamicType = <unset>,
      numCPU = -1257091211,
      memoryMB = 286660,
  },
  cpuAllocation = (vim.ResourceAllocationInfo) {
      dynamicType = <unset>,
      reservation = 0,
      expandableReservation = false,
      limit = 18080,
      shares = (vim.SharesInfo) {
        dynamicType = <unset>,
        shares = 1000,
        level = "normal",
      },
      overheadLimit = <unset>,
  },
  memoryAllocation = (vim.ResourceAllocationInfo) {
      dynamicType = <unset>,
      reservation = 0,
      expandableReservation = false,
      limit = -1,
      shares = (vim.SharesInfo) {
        dynamicType = <unset>,
        shares = 5120,
        level = "normal",
      },
      overheadLimit = <unset>,
  },
  cpuAffinity = (vim.vm.AffinityInfo) null,
  memoryAffinity = (vim.vm.AffinityInfo) null,
  networkShaper = (vim.vm.NetworkShaperInfo) null,
  extraConfig = (vim.option.OptionValue) [
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "deploymentPlatform",
        value = "windows",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "ethernet1.features",
        value = "15",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "evcCompatibilityMode",
        value = "false",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "guestCPUID.0",
        value = "0000000a756e65476c65746e49656e69",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "guestCPUID.1",
        value = "0001067800010800000822010febfbff",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "guestCPUID.80000001",
        value = "00000000000000000000000120100000",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "hostCPUID.0",
        value = "0000000a756e65476c65746e49656e69",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "hostCPUID.1",
        value = "0001067600040800000ce3bdbfebfbff",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "hostCPUID.80000001",
        value = "00000000000000000000000120100000",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "nvram",
        value = "VIMA.nvram",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "sched.swap.derivedName",
        value = "/vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/VIMA/VIMA-6561511b.vswp",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "scsi0:0.redo",
        value = "",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "userCPUID.0",
        value = "0000000a756e65476c65746e49656e69",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "userCPUID.1",
        value = "0001067600040800000822010febfbff",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "userCPUID.80000001",
        value = "00000000000000000000000120100000",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "virtualHW.productCompatibility",
        value = "hosted",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "vmware.tools.internalversion",
        value = "7302",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "vmware.tools.requiredversion",
        value = "7302",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "vmware.tools.installstate",
        value = "none",
      },
      (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "vmware.tools.lastInstallStatus.result",
        value = "unknown",
      }
  ],
  datastoreUrl = (vim.vm.ConfigInfo.DatastoreUrlPair) [
      (vim.vm.ConfigInfo.DatastoreUrlPair) {
        dynamicType = <unset>,
        name = "himalaya-local-SAS.VMStorage",
        url = "/vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/",
      }
  ],
  swapPlacement = "inherit",
  bootOptions = (vim.vm.BootOptions) {
      dynamicType = <unset>,
      bootDelay = 0,
      enterBIOSSetup = false,
  },
}


[[Category: Vimsh]]
[[Category: Vimsh]]

Latest revision as of 00:34, 6 January 2009

vimsh vmsvc/get.config

Usage: get.config vmid

Retrieves and displays the configuration object for the vm.

Example output

[root@himalaya scripts]# vmware-vim-cmd vmsvc/get.config 31168
Configuration:
(vim.vm.ConfigInfo) {
  dynamicType = <unset>,
  changeVersion = "2009-01-01T01:13:08.765224Z",
  modified = "1970-01-01T00:00:00Z",
  name = "VIMA",
  guestFullName = "Red Hat Enterprise Linux 3 (64-bit)",
  version = "vmx-04",
  uuid = "5034d5e6-3add-6386-7d1e-01449596f169",
  npivWorldWideNameType = "",
  locationId = "564ded5c-9488-f275-fbd5-cecb5e9a482f",
  template = false,
  guestId = "rhel3_64Guest",
  alternateGuestName = "Red Hat Enterprise Linux 3 (64-bit)",
  annotation = "This OVF file contains the VMware Infrastructure Management Assistant (VIMA) virtual machine.",
  files = (vim.vm.FileInfo) {
     dynamicType = <unset>,
     vmPathName = "[himalaya-local-SAS.VMStorage] VIMA/VIMA.vmx",
     snapshotDirectory = "[himalaya-local-SAS.VMStorage] VIMA",
     suspendDirectory = "[himalaya-local-SAS.VMStorage] VIMA",
     logDirectory = "[himalaya-local-SAS.VMStorage] VIMA",
  },
  tools = (vim.vm.ToolsConfigInfo) {
     dynamicType = <unset>,
     toolsVersion = 119584,
     afterPowerOn = true,
     afterResume = true,
     beforeGuestStandby = true,
     beforeGuestShutdown = true,
     beforeGuestReboot = <unset>,
     toolsUpgradePolicy = "manual",
     pendingCustomization = <unset>,
     syncTimeWithHost = false,
  },
  flags = (vim.vm.FlagInfo) {
     dynamicType = <unset>,
     disableAcceleration = false,
     enableLogging = true,
     useToe = false,
     runWithDebugInfo = false,
     monitorType = "release",
     htSharing = "any",
     snapshotDisabled = <unset>,
     snapshotLocked = <unset>,
     diskUuidEnabled = false,
     virtualMmuUsage = "automatic",
     snapshotPowerOffBehavior = "powerOff",
  },
  consolePreferences = (vim.vm.ConsolePreferences) null,
  defaultPowerOps = (vim.vm.DefaultPowerOpInfo) {
     dynamicType = <unset>,
     powerOffType = "preset",
     suspendType = "preset",
     resetType = "preset",
     defaultPowerOffType = "hard",
     defaultSuspendType = "hard",
     defaultResetType = "hard",
     standbyAction = "checkpoint",
  },
  hardware = (vim.vm.VirtualHardware) {
     dynamicType = <unset>,
     numCPU = -1257091211,
     memoryMB = 286660,
  },
  cpuAllocation = (vim.ResourceAllocationInfo) {
     dynamicType = <unset>,
     reservation = 0,
     expandableReservation = false,
     limit = 18080,
     shares = (vim.SharesInfo) {
        dynamicType = <unset>,
        shares = 1000,
        level = "normal",
     },
     overheadLimit = <unset>,
  },
  memoryAllocation = (vim.ResourceAllocationInfo) {
     dynamicType = <unset>,
     reservation = 0,
     expandableReservation = false,
     limit = -1,
     shares = (vim.SharesInfo) {
        dynamicType = <unset>,
        shares = 5120,
        level = "normal",
     },
     overheadLimit = <unset>,
  },
  cpuAffinity = (vim.vm.AffinityInfo) null,
  memoryAffinity = (vim.vm.AffinityInfo) null,
  networkShaper = (vim.vm.NetworkShaperInfo) null,
  extraConfig = (vim.option.OptionValue) [
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "deploymentPlatform",
        value = "windows",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "ethernet1.features",
        value = "15",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "evcCompatibilityMode",
        value = "false",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "guestCPUID.0",
        value = "0000000a756e65476c65746e49656e69",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "guestCPUID.1",
        value = "0001067800010800000822010febfbff",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "guestCPUID.80000001",
        value = "00000000000000000000000120100000",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "hostCPUID.0",
        value = "0000000a756e65476c65746e49656e69",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "hostCPUID.1",
        value = "0001067600040800000ce3bdbfebfbff",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "hostCPUID.80000001",
        value = "00000000000000000000000120100000",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "nvram",
        value = "VIMA.nvram",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "sched.swap.derivedName",
        value = "/vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/VIMA/VIMA-6561511b.vswp",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "scsi0:0.redo",
        value = "",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "userCPUID.0",
        value = "0000000a756e65476c65746e49656e69",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "userCPUID.1",
        value = "0001067600040800000822010febfbff",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "userCPUID.80000001",
        value = "00000000000000000000000120100000",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "virtualHW.productCompatibility",
        value = "hosted",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "vmware.tools.internalversion",
        value = "7302",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "vmware.tools.requiredversion",
        value = "7302",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "vmware.tools.installstate",
        value = "none",
     },
     (vim.option.OptionValue) {
        dynamicType = <unset>,
        key = "vmware.tools.lastInstallStatus.result",
        value = "unknown",
     }
  ],
  datastoreUrl = (vim.vm.ConfigInfo.DatastoreUrlPair) [
     (vim.vm.ConfigInfo.DatastoreUrlPair) {
        dynamicType = <unset>,
        name = "himalaya-local-SAS.VMStorage",
        url = "/vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/",
     }
  ],
  swapPlacement = "inherit",
  bootOptions = (vim.vm.BootOptions) {
     dynamicType = <unset>,
     bootDelay = 0,
     enterBIOSSetup = false,
  },
}