VMware

Aus MeinWiki
Version vom 26. August 2014, 18:06 Uhr von Admwiki (Diskussion | Beiträge) (Mount CDRom (ESXi))
Wechseln zu: Navigation, Suche

Configuring a persistent scratch location using the vSphere Client

You can configure persistent scratch space for ESXi using the vSphere Client:

  1. Connect to vCenter Server or the ESXi host using the vSphere Client.
  2. Select the ESXi host in the inventory.
  3. Click the Configuration tab.
  4. Click Storage.
  5. Right-click a datastore and select Browse.
  6. Create a uniquely-named directory for this ESX host (for example, .locker-ESXHostname)
  7. Close the Datastore Browser.
  8. Click Advanced Settings under Software.
  9. Select the ScratchConfig section.
  10. Change the ScratchConfig.ConfiguredScratchLocation configuration option, specifying the full path to the directory.
  11. Click OK.

Put the ESXi host in maintenance mode and reboot for the configuration change to take effect.

   For example:
   /vmfs/volumes/DatastoreName(uid)/.locker-ESXHostname

Mount CDROM (ESXi)

  1. esxcfg-mpath –l
  2. Load the iso9660 module with this command: vmkload_mod iso9660
  3. Mount the CDROM using the device determined earlier with
   esxcfg-mpath -l:/sbin/vsish -e set /vmkModules/iso9660/mount mpx.vmhba32:C0:T0:L0

The CDROM will be mounted under /vmfs/volumes/ [CDROM Label] /