For our test environment we need to rollback to a snapshot(default) every evening. I don’t like to do that by hand so lets create a script.The second point it has to be run as a scheduled task and I don’t want to parse my credentials within the script as plain text. First of allOn the [...]
By default a param minus 30 days. Save it to a *.ps1 file and it ready to use. param ($Age = 30) Connect-VIServer localhost$vm = Get-VM$snapshots = Get-Snapshot -VM $vmWrite-Host -ForegroundColor Red “Old snapshots found:”foreach ($snap in $snapshots) { if ( $snap.Created -lt (Get-Date).AddDays( -$Age )){ Write-Host “MachineName:” $snap.VM “Name: ” $snap.Name ” Size: ” [...]
I use this tool for exporting VM’s to ESX4 server. Also I do use it for backup my VM’s, due to the compression technique it save’s a lot of space. (Before using it write down your network adapter settings as IP address and so on). Before you can start using it you have to download [...]
To commit and remove snapshots you need to have enough freespace (vmdk + “-delta”.vmdk) First create a snapshot after the latest changes. After that has been done you can delete the other one’s using the gui or commandline. To commit the latest one to the original you have to use the commandline. vmware-cmd -l this [...]
After struggling with this error “e0009558 – Cannot find the VMware Converter. Please install the VMware Converter. For additional information regarding this error refer to link V-79-57344-38232” This while version “VMware-converter-4.0.0-146302″ is up and running on vcb proxy server and backupexec server. After searching a lot of google options I found the solution. It seems [...]
After a default installation you will probably receive a 503 Error. Check if the service is running “service vmware-webAccess status”If not “service vmware-webAccess start“.To start it automatic after a reboot “chkconfig –level 345 vmware-webAccess on“
Expand the CLARiiON LUN on the ClaRiiON storage system to the desired LUN size, issue a rescan at the ESX level. Sometimes you have to rescan again before your metalun will be shown.(I have to find out why) Your old disk will disappear from storage adapter view and the new metalun wil be shown. [...]
After installing ESX4, we see that the HBA is not recognized. Put the server in maintenance mode. To get it working you have to modify your qla2xxx.xml file. So login to your ESX4 server using putty and change to /etc/vmware/pciid the mentioned file will be there. copy this part <device id=”5432″> <vmware label=”fc”> [...]
Just starting to update a esx4 server using the commandline. I downloaded from VMWare the update I needed. Started putty and did a copy of the downloaded zip file to the local storage. Then run: esxupdate check –bundle ESX400-200906001.zip esxupdate update –bundle ESX400-200906001.zip
1. Press ALT-F1 to access the main console. 2. Type the word: unsupported. You will get the nice message: You have activated Tech Support Mode. The time and date of this activation have been sent to the system logs. Tech Support Mode is not supported unless used in consultation with VMware Tech Support. VMware offers [...]