The following is taken from Gevaertw's Blog:

http://gevaertw.wordpress.com/2010/01/23/dell-equallogic-hit-kit-auto-install-script/

Dell Equallogic Hit Kit auto installscript

Host Integration Tools install script


Since I need to update about 20 servers with the latest host integration tools from Dell and the fact that in the near future I need to install a lot of servers that need the same tool, I decided to find a way to auto install this software. Using a script also has the advantage that the same options are selected in the entire environment. As a final advantage it is more fun to find new ways than to repeat the same task over and over.

Test this script in your test environments first, and take proper action when deploying in production. Loosing your disks is not a funny thing.

The environment:


• 2008 x64
• 2008 R2
• HIT-KIT version 3.3.1

• Firewall enabled on all servers
• Powershell available on all servers (not a requirement here)

Needless to say that the all command prompts used are elevated

Create a setup script


Setup64.exe /a /r /f1c:\HITKIT\hitkit.iss

Follow the installer and make the choices you would typically make, in my case I removed the java and preferred not to reboot, nor to start the config tool after the reboot. Keep in mind you will actually install the software on that server!

The .iss file is a plain text file with the installation instructions in the c: \HITKIT folder.

The auto install script

Install MPIO feature


Normally installed by the installer, but in order to avoid questions you can already install it

Servermanagercmd -install Multipath-IO

(poweshell equivalent)

Import-Module servermanager
Add-WindowsFeature Multipath-IO


Configure iSCSI


Allow iSCSI trough the firewall automatically start the service and start it for the first time

netsh advfirewall firewall set rule group="iSCSI Service" new enable=Yes
sc config MSiSCSI start= auto
net start msiSCSI


Install the HIT KIT


start /wait setup64.exe /s /a /s /sms /f1c:\HITKIT\hitkit.iss

Now you need to reboot the server, you can schedule this of course

Configure the Hit Kit


After you rebooted the server you can configure the tools. Normally the default settings are fine, but you might want to exclude some subnets or change the MPIO policy. You can do this by modifying the registry. For each subnet you want to exclude create an entry in the registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\EqualLogic\EHCM\HostPortal\192.168.1.0]
"Mask"="255.255.255.0"


[HKEY_LOCAL_MACHINE\SOFTWARE\EqualLogic\EHCM\HostPortal\192.168.2.0]
"Mask"="255.255.255.0"


References


http://www.equallogic.com/
http://unattended.sourceforge.net/installers.php