I spent my morning setting up Windows 2008 Failover Clustering in an internet cafe, and it worked!
My eeepc has only a 32-bit processor, but the internet cafe computers, whilst running Windows XP, have 64-bit Athlon processors, and 2gigabytes of ram.
They work quite nicely.
There are guides all over the internet on how to install Windows 2008 Server (dead easy in fact), and the clustering (pretty self-explanatory too).
Some points that were not obvious to me from the available guides:
- whilst the minimum spec for Windows 2008 Enterprise R2 is 40gigabytes ( :-O ) for the hard-drive, in fact the vmware disk-images created only take up about 8gigabytes per vm, even less for standard edition.
– if the vm harddrive files are stored on FAT, then VMWare Player is preferable over VirtualBox, since VirtualBox doesn’t seem to handle spanning over multiple disk files
- freenas really does work really well as an iscsi target for Windows 2008 Failover Clusters (see link in previous post).
– it also only takes up about 50meg of hard-drive space :-O
- I installed the following virtual machines:
– 1 freenas, to be used as an iscsi target
– 1 x Windows 2008 Standard, Server Core, configured to be a dc, and a dns
– 2 x Windows 2008 Server Enterprise R2, Full Installation (free download from Microsoft, no license key required, at least for testing, lab use)
- on a 2 gigabyte memory machine, installations with 512megabytes of ram assigned to each vm ran fluidly
- to run all machines at the same time, after installation, I assigned:
– 200meg to freenas (it crashes on shutdown, but who cares?)
– 256meg to the domain controller (really slow to start up, but didn’t slow down the host, and left more memory to the more important machines)
– 400meg for each cluster node (a little tight, but better than causing excessive paging of the host I felt)
- iSCSI targets can’t contain underscores
I played around with creating a clustered file server, creating a share, and doing things like disconnecting the network for a cluster node, or suspending the node, and seeing what happened.
What happened was:
- failover seemed pretty solid and reliable, very self-healing I felt
- failover seemed for me to take more than seconds but less than 10 seconds
- on client machines, as soon as the failover was complete, files were immediately available, no issues with caching of the underlying node address or anything like that
- on client machines, doing ‘dir’ from a commandprompt whose currentdirectory was a drive mapped to the cluster share caused a hang for 30 seconds or so whilst it figured out the drive wasnt available
– and then an error message, rather than the now-available drive
Other things…
Windows Server 2008 seems really easy to use. Everything seems to be doable from a single console called ‘Server Manager’, by and large. There is a concept of ‘Roles’ and ‘Features’. A ‘Role’ is something like being a file server ,and a feature is somethign like failover-clustering. I guess a role is somethign that is published for client machines to use, and a feature is something that enhances the provision of said roles.
The server manager console is structured by roles and features, and installation of roles and features is from the same console, and trivially easy.
When you install Windows Server 2008, you have the choice between ‘Server Core’ and ‘Full Installation’. Server Core still provides a gui, but containing a single command-prompt, and no possibility of doing ‘explorer’ or ‘mmc’ or anything like that, although taskmgr works ok. Server Core cannot be upgraded to use the full normal gui, and a full installation cannot be downgraded to server core.
I kindof think that full installation probably makes more sense generally, but time might prove me wrong…
I used a Server Core installation for the domain controller to save disk space, and I used Full Installation for the clustering, because I felt that is probably the more normal way of managing clustering. The last thing one needs in an outage is to be looking up command-line arguments!
There does I feel seem to be increasing provision for scripting admin functions from the commandline. For example, on the server core dc, I could use ‘dnsadm’ to add an A record for the freenas box.
I quite enjoyed by Windows Server 2008 experience. Also, I quite liked that it is downloadable for free and needs no license key, at least for transient testing.