Installing/config of EMC ScaleIO on Windows using the Python script

In previous posts I have discussed installing and configuring EMC ScaleIO on Windows using manual methods. In VMware or pure Linux environments I have used the provided Python script/wizard to help automate the installation and configuration of ScaleIO. Mostly due to the fact that using this script is much simpler and less-error prone than using the manual methods. And in my opinion, at least, should be the preferred method of installation when possible.


So how does one use the Python script for Windows? Essentially no differently than one would use it on Linux but there are a few extra steps that are needed to get it working properly. Since Windows, unlike many Linux distributions, does not come with Python installed, Python needs to be installed beforehand as well as a few tweaks.

Before I get into it, a few notes. First the Python script does not support configuring Linux and Windows hosts at the same time. It must be a homogeneous environment, otherwise only one OS type can can be installed and configured at first in this manner and the remaining OS type must be added manually afterwards. Secondly, EMC does have a packaged install for the changes and Python modules that are required. This package includes all of the stuff that otherwise would have be done step-by-step like I am going to describe below. Contact your EMC account team for more information on how to get it. Or just do the following!

So obviously the first thing to do is install Python. Pretty straight forward. It is possible to use the standard distributions but the simplest thing to do (which will save you some steps) is to install Active Python from here:

Download this, run it, and a few “nexts” and you are good. This includes most of the modules that the script will need. Note that this must be installed on all of the Windows servers involved.

There is one extra module that is not in Active Python that is also required. When installing ScaleIO on Windows, the Python script uses WMI (Windows Management Instrumentation) for interactions between nodes, such as copying install files and starting services remotely. Therefore, a special module needs to be installed that allows Python to leverage WMI functionality. Download it here:

Before you install the WMI module, you need to make a quick registry addition to allow the module to “see” the Active Python installation. A registry key needs to be added in the 64-bit directory to indicate that Python is installed. This ONLY needs to be done on the server initiating the script–the rest do not need the registry change or the WMI module.┬áCopy/paste the below text into a plain text file and save it as <some name>.reg and run it on the server.

[HKEY_LOCAL_MACHINESOFTWAREWow6432NodePythonPythonCore2.7InstallPath] @=”C:\Python27\”

[HKEY_LOCAL_MACHINESOFTWAREWow6432NodePythonPythonCore2.7InstallPathInstallGroup]@=”Python 2.7″

This will create the appropriate keys and allow the WMI module to be installed. If the installation of the WMI module doesn’t pick up the installation path, go into regedit and make sure the keys were created properly.


Once this is complete you are ready to use the Python script! Launch the from the Windows command prompt and start installing your environment. Use either the wizard to configure the environment or have it reference a pre-created CSV file.



One Reply to “Installing/config of EMC ScaleIO on Windows using the Python script”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.