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: ” [...]
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”> [...]