Got a lot of ESX hosts and hate having to rescan HBAs every time you add storage? Try this simple 1 liner in powershell. Get-Cluster | get-vmhost | Get-VMHostStorage -RescanAllHBA This command is courtasy of a post at http://communities.vmware.com/docs/DOC-7400.
We have a fairly large VMware environment with a large number of LUNs. I did some performance reviews the other day and found that most of my FC traffic was passing through only 2 of the 4 ports in my Brocade switches.This causes 2 problems: 1) I could potentially run into a bottleneck by being […]
In prior versions of windows, if you wanted the admin tools to manage remote systems, you simply installed the adminpack.msi from the OS CD. In windows 7 however, its a download that you need to run. Now called the Remote Server Administration Tools (RSAT), they can be downloaded from microsoft at http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d
There has been a lot of chatter regarding performing and SVmotion via powershell, but I couldnt ever get them to work. I decided to update to the latest powershell tools and try the simple move-vm command. get-vm <systemname> | move-vm -datastore <dsname>
If you ever have to do backend maintenenance on the disks hosting your VMware datastores, then you need to know what systems are on them (in case you have to move or recover them). A quick 1 liner in Powershell will list this out for you:get-vm -datastore <datstore name> If you have multiple datastores that […]
OK, now that Windows 7 is out on MSDN, do I really have to waste a DVD to install it? Turns out it can run right from a USB drive. I found the below post that details how to configure a USB stick to install Windows, and its much faster than normal. http://dotnetwizard.net/vista-stuff/tips-how-to-bootinstall-windows-7vista-from-usb-flashhard-drive/
One of my DBAs simply asked for a virtual machine with 350GB disk space. Since he stated this was a “jump box” for accessing the other Oracle DB servers, I didnt think anything of it and simply built out a linux system with the appropriate space. It wasnt until a few days later that they […]
I love regex, but I dont get a chance to use it enough to remember which special character does what. Thankfully, there is a nice cheat sheet available at http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/ to make this easier to use