Solution…
Advanced Settings
Memory
Mem.MemZip
0
Posts Tagged ‘vsphere’
vSphere Disabling Memory Compression
Upgrading ESXi 4.0 to 4.1 via CLI
Download 4.0 to 4.1 zip file from VMware Updates vim-cmd /hostsvc/maintenance_mode_enter vim-cmd /hostsvc/runtimeinfo | grep inMaintenanceMode vihostupdate --server IP_ADDRESS --query vihostupdate --server IP_ADDRESS --metadata=http://WEB_SERVER/bundle/metadata.zip --list vihostupdate --server IP_ADDRESS --metadata=http://WEB_SERVER/bundle/metadata.zip --install vihostupdate --server IP_ADDRESS --query reboot vim-cmd /hostsvc/runtimeinfo | grep inMaintenanceMode vim-cmd /hostsvc/maintenance_mode_exit
Posted: April 4th, 2011
Categories: esx-esxi, virtualization, vmware
Tags: esxi, vsphere
Comments: No Comments.
Categories: esx-esxi, virtualization, vmware
Tags: esxi, vsphere
Comments: No Comments.
Updating ESXi with the vSphere CLI
Performed from a Linux host.
- Download patch from http://vmware.com/patch/download on a webserver
- Extract the contents of the patch
- Check the bundles currently applied to the host
- List the bundles available from the patch
- Install the patch to include all the bundles or for a specific bundle use -B
- Verify the bundles have been applied to the host
vihostupdate --server IP_ADDRESS --query vihostupdate --server IP_ADDRESS --metadata=http://WEB_SERVER/bundle/metadata.zip --list vihostupdate --server IP_ADDRESS --metadata=http://WEB_SERVER/bundle/metadata.zip --install vihostupdate --server IP_ADDRESS --query
VMware ESXi Virtual Machine Datastore Migration via Command Line
* Assumes the source and target datastores are present.
* Assumes VMs are powered off.
vim-cmd vmsvc/getallvms | grep -i <vm> vim-cmd vmsvc/unregister <vmid> mv /vmfs/volumes/<datastore-source>/<vm-folder> /vmfs/volumes/<datastore-target>/. vim-cmd solo/registervm /vmfs/vol/<datastore-target>/<vm-folder>/<vm>.vmx # shows vmid upon success vim-cmd vmsvc/power.on <vmid> vim-cmd vmsvc/message <vmid> vim-cmd vmsvc/message <vmid> 0 1 vim-cmd vmsvc/power.getstate <vmid>
Posted: March 9th, 2011
Categories: esx-esxi, virtualization, vmware
Tags: datastore, esxi, migrate, vim-cmd, vmware, vsphere
Comments: No Comments.
Categories: esx-esxi, virtualization, vmware
Tags: datastore, esxi, migrate, vim-cmd, vmware, vsphere
Comments: No Comments.
