VMware vCO – cloning VM, using cluster name instead of host and getting less used datastore of chosen host. – Part 2.

In the Part1 I have created a vCO workflow to get an ESX host from provided ESX Cluster name to pass it to the cloneVM action in vCO.
So now is time to get less used datastore of this host as another parameter for the cloneVM action. My workflow looks like this
Continue reading

VMware vCO – cloning VM, using cluster name instead of host and getting less used datastore of chosen host. – Part 1.

Like I wrote in one of my previous host I’m currently playing with VMware Orchestrator. We’re working on full automated VM deployment, where one of the actions is cloneVM task.Some of the input values for this action are host and datastore. One can define this values as fixed ones in vCO, but what going on when in ones environment there is more than one cluster in vCenter. What I did, I created few simple workflows to find the ESX host of provided vCenter cluster name and then a workflow which finds less used datastore of this cluster. I was lucky, because I had an Orchestrator product consultant who showed me how to do this properly (according to the best practices). Continue reading

How to downlaod files from the web (through proxy) using powershell

Today I had to download around 900 files from ftp server, however firewall was blocking almost everything, however I was able to access the FTP server via web browser (I used one and only IE :)). So a colleague advised me to use wget to download the files, but I’m a kind of MS guy and I’m not get used to using wget, so I decided to use powershell. So I’d like to present you how easy it is to download the files using powershell (I’m  using v.2). Continue reading

Configuring Infoblox plugin in vCenter Orchestrator – java.net.ssl.SSLProtocolException caught when processing request: handshake alert: unrecognized name

Nowadays I’m playing with VMware vCenter Orchestrator. I have installed the plugin for Infoblox and while trying to connect from orchestrator plugin to Infoblox device I was getting message :
“Make sure you are using proper config settings and/or proper SSL certificate of your IPAM server”

Continue reading

Windows netsh commands for required ports for vCenter Server 5.5 in Windows

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.

Continue reading

Script generating report for DAG replication queues and status on Exchange 2010

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

COMException (0x8007200A): The specified directory service attribute or value does not exist.

Last few days I spent on investigation, why an “application” we use does not work properly trying to access Active Directory. Long story short, we’re using application which … . The application can use internal users (similar to SQL “sa” account) or Active Directory users and we wanted to use AD users. Our AD is hardened and some default rights are removed. So … application didn’t work and it’s returning error window with message

The specified directory service attribute or value does not exist. Continue reading

SCCM 2012 R2 installation + separate SQL 2012 instance – Firewall issue – “Network path was not found”

In this post, I’d like to share with you problems I faced during the System Center Configuration Manager 2012 R2 installation, while using separate SQL server for SCCM database. Basically it was a firewall configuration problem. There are many guides how to install install SCCM 2012 R2, here are example links : Gerry Hampson ConfigMgrSCCM 2012 R2 STEP BY STEP INSTALLATION GUIDE – UPDATE or this one. Everywhere installation goes very smooth. But not in my case … Continue reading

HOWTO : Create a Windows Server + SQL Server template

We live in virtualization era, so in this post I’d like to show how to prepare a a Windows template with pre-intalled SQL Server. I will use a Windows Server 2012 R2 as operating system and MS SQL 2012 server. This will be a sceenshot based quick manual.

To install SQL 2012, I need to install .NET 3.5 framework on Windows 2012 R2 and while trying to do that with ServerManager, I faced following error Continue reading