This post is for a lazy administrators. Recently I had to install vCenter and its components. Part of it is opening the proper firewall ports in Windows firewall. The list of required ports for vCenter Server 5.5 can be found on this VMWare site. However it’s just a table containing all the ports required for the specific vCenter Server component. I run a quick google search for windows netsh commands to create the firewall rules for the specific vCenter role/component, but I didn’t find it, so I decided, to save any other lazy admin some time. Below you can find them in the vCenter Server role/component installation order.
When I was working as mail engineer I had to write the script for monitoring CCR queues on Exchange 2007, then my friend had rewritten the script to monitor DAG replication queues on Exchange 2010. So what script does, it generates a html report about the DAG replication queues and sends it via email to defined recipients. There were some tricky parts we’ve had to face, for example there was no possibility to use any open-relay receive connector to send mail, so solution was to create an “eml” file and put it to Exchange “Pickup” folder and it’s a bit tricky to create eml file containing html attachment :). Continue reading