VMware
Aus MeinWiki
Configuring a persistent scratch location using the vSphere Client
You can configure persistent scratch space for ESXi using the vSphere Client:
- Connect to vCenter Server or the ESXi host using the vSphere Client.
- Select the ESXi host in the inventory.
- Click the Configuration tab.
- Click Storage.
- Right-click a datastore and select Browse.
- Create a uniquely-named directory for this ESX host (for example, .locker-ESXHostname)
- Close the Datastore Browser.
- Click Advanced Settings under Software.
- Select the ScratchConfig section.
- Change the ScratchConfig.ConfiguredScratchLocation configuration option, specifying the full path to the directory.
- 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)
- esxcfg-mpath –l
- Load the iso9660 module with this command: vmkload_mod iso9660
- 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] /