Tuesday, December 17, 2013

Virtual Servers - 3

Intro

This blog has a lot of information.  Please note that it is not "All inclusive" but rather a guideline.  If you feel I have left something out and would like me to modify it to reflect "more accurate" information please leave me a comment and I will update as needed.  I am working through this process for the first time so I hope we can all learn together!     

Setting up PowerConnect 6224 Switches

Console setup

Connect your console cable and use putty or some other terminal program to console in using the same configuration ans the EqualLogic putty settings below.

Once you have setup the ip address on the switch you need to decide how you would like to stack them. You can use LAG port aggregation or the stacking module on the back of the switch if its available.

I chose Link aggregation and rather than re-inventing the wheel here is a great document on dell on how to do that

Commands

enable
configure
ip address 192.168.0.xxx 255.255.255.0
username somenamehere password somepasswordhere

Setting up EqualLogic

Remote Setup Tools

 The EqualLogic SAN comes with a remote install configuration utility on a disk provided by Dell.  You don't need this but it can make the process of setting up the switch easier if you choose not to use console with putty or some other terminal program.  In order to run this you must install the .net framework or you will get an error during setup.  This can be done in the "Add / Remove features" inside of the server.  To quickly get there just select it as an option in the top right of server manager.

NOTE:  You should download this tool from Dell directly as the disk may be outdated as was in my case.  I kept getting an error when installing and found that the version I was trying to install off the disk was not supported in Server 2012.

Config via Serial using Putty

First you will need to connect your Dell provided serial plug (DB9) to the active controller.  The PS4100E has two controllers on board and they run in an "Active/Passive" state.  The active controller will have a green light on the "AC1" LED on the back of  the SAN.  You will need to make sure your DB9 plug is put into that serial port and not the passive one.

I use putty to establish serial, ssh, and telnet sessions because it rocks!  Just set it up exactly like the following screenshots from my config:



Once you are in you will need the default username and password:
LOGIN: grpadmin
PASSWORD: grpadmin

Here are some example settings you will need to configure, you may change the IP address to anything you need.  Keep in mind the 10.x.x.x addresses below represent my primary LAN and the 192.168.x.x addresses are the VM only network managed off my dell switches.
Group Name: SAN0
Group IP and mask (iSCSI): 192.168.0.100/24
Management Network IP and mask: 10.x.x.x/24

1st Member Name: PS4100E0
iSCSI traffic (Eth0): 192.168.0.101/24
iSCSI traffic (Eth1): 192.168.0.102/24
Management Port IP (Eth2): 10.x.x.x/24
2nd Member... (reserved for future)
iSCSI traffic (Eth0): 192.168.0.111/24
iSCSI traffic (Eth1): 192.168.0.112/24
Management Port IP (Eth1): 10.x.x.x/24

Manage SAN Array

Once you have  your SAN configured and connected to your switches and your switches configured and stacked then you should be able to access the management interface on the SAN from any computer on your network.  Keep in mind that the management interface (Eth2) on the SAN is going to your primary network, so based of the schema above it will be pulling a 10.x.x.x address.

You will need to make sure that the java version you have is supported by EqualLogic.  At the time of this blog Java 7.x was released but EqualLogic only supports java 6.x build 25.  To make sure you have the correct java version and build you should uninstall java on the machine you will be accessing any EqualLogic tools and then in your browser access the management network IP address ie, http://10.x.x.x this will prompt you to install the correct java version.

Once you have the correct java version you will be prompted for a username and password.  This will be whatever username and password you created via command line or the remote setup on the Dell Disk.  When you gain access to the SAN you will see this page:
I won't be going over all the details of all the options at this time (maybe a future blog) but essentially you can create new volumes here (under the volumes tab).  To my understanding it is better to have many smaller volumes than one bit volume.   I started my build with 4 250 gb volumes and have roome for 12 mor of the same size.
NOTE:  Never let your available volume space drop below 10% or you will have a huge performance hit.


After clicking on the volumes option within the SAN you will see something like the image below (if you have created volumes.


Double clicking on one of the volumes brings up information about that volume
Clicking on the access tab will show what servers have an active connection to this volume.  These connections are added manually with the following process.
  •  First go to the control panel on your server
  • Select the iscsi Initiator
  • Next click on the configuration tab and copy the Initiator Name.  This is your iqn and needs to be added to each volume you want to be accessible on the server.
  • Under the "Access" tab on the EqualLogic you will see a screen like the following.  You can click "Add" in the top right and add your iqn to this volume here.
  • Once this is added you will be able to go into your server and the volume should be available as a mountable drive in Disk Management.  If not you may need to check your iSCSI initiator settings to make sure its connecting correctly.  You should use "Quick Format" and you are ready to go.

Other Conisderations

install latest 4.5 HIT (*tool kit) so you can enable MPIO

Make sure you set all the NIC addresses correctly on the windows server for you VM Lan

If on EqualLogic make sure MPOI is installed on every server you are clustering and make sure each host has a static IP address in the  SAN network for ISCSI