Background info on myself and the environment which drives this thread.
I am a contractor working in Cloud Computing with mainly Microsoft based technology. I have always ran some form of SuSE linux (starting with 7.x 32bit) for my home needs where I have virtualized or used WINE to cover my Windows needs. My home lab has been where I have been able to explore and expand my IT skills. Now all these years later, I have a son (starting college) who is following in my foot steps, I find myself rebuilding my lab environment to meet todays Enterprise needs.
The physical hardware at our home includes the following
Main Household Infra
2 Dell R710 2U (XEN)
dual proc quad core 2.4Ghz
16Gb RAM
3 SAS 15k 300GB drives
1 SAS 800GB SSD
4 1G ethernet
2 10Gb SFP network
1 Dell R610 1U (firewall/Router)
dual proc quad core 2.2Ghz
16Gb RAM
2 SAS 10k 300GB drives
4 1G ethernet
1 Dell T610 5U (storage)
single proc quad core 2.2Ghz
12Gb RAM
2 SATA 250GB os drives
4 SATA 2TB data drives
2 1G ethernet
2 10GB SFP network
1 Layer 3 Netgear 48port 1G with 4 SFP
My sons setup in his room
1 Dell R300 1U (firewall)
single proc dual core 2.4Ghz
8GB RAM
2 SATA 250GB drives
2 1G ethernet
1 MicroSystem 5U (XEN and Storage)
dual proc dual core 1.8Ghz
32Gb RAM
8 SATA 2TB drives
2 1G ethernet
1 Layer 3 Cisco 48port 1G with 4 SFP
1G Fiber between Household and Son’s switches
The VM network services include
LDAP (I had this working back in SLES 10 days, but never could set it up since. Need to figure this out again)
DNS
DHCP
PXE
NFS
Proxy
Nagios
Plex Media Server (this is the performance taxing vm)
I plan for my son’s environment to be a bit more volatile as he goes thru the learning process, breaking things and rebuilding. Thus this thread is about getting my environment setup and reliable for him to see as an example as well as make use of when his is down.
Though I know its not necessary, I create single purpose VMs. Mainly so that if I am performing some form of update and/or change, I only risk 1 service (ex: DNS) and not the entire home environment. Again this is way overkill, I know. But its about concepts and not practical. My firewall alone could host this entire environment with out VMs, but that looses the essence of what I am trying to setup. As I go thru setting up LDAP again and try integrating DNS in LDAP, if I make an error and need to rebuild, I am only touching the LDAP vm and maybe the the DNS vm. Or more likely, applying the last good snap shot and trying again.
What I am looking for is failover between xen servers and trying to remove single point of failure. So as my son (or myself) are learning new skill sets which could harm the physical XEN server stability, we can migrate all the VMs to the other XEN server and rebuild the physical node. Then redistribute the VMs back between the 2 nodes. Not only do these 2 XEN servers host the house hold Infrastructure (including DNS, DHCP, PXE, Proxy, and Nagios), it also will be used for my son’s home school lab environment where he can continue his school studies at home.
-
What is the Need?
I am in need of a Virtualization environment which has failover ability. Live vm migration is needed. Automatic failover would be nice, but not needed. -
What situation am I trying to protect from? Disk failure, node failure, both?
I am looking to protect my self from both Disk and Node Failure. (more on this later) -
a. How much resources can you spend?
As far as financial resources, I am tapped out. As much as I would love to buy 2 small SAS storage arrays, that’s not in the budget. Regarding my Server Resources, I can afford to spend a lot as what I have is 100 times over kill for my needs.
b. Would it be possible to split up storage and compute?
The only way I see it possible to break up the storage and compute needs is with 2 SAS storage arrays, and as said above that’s not in the budget at this time.
c. Will you need to expand to three or more Xen nodes in the foreseeable future?
There is no need to add a 3rd XEN server as 2 is way overkill for my computational needs. But 2 servers meet the needs of uptime. -
How do you want to distribute your compute load?
I would like to run the “Xen part” in active/active mode (that is running VMs on both nodes simultaneously). -
Plans for fail over? Manually or automatically?
In most cases, I have no need for automatic fail over. Not that it wouldn’t be a nice addition, but not needed. -
What I am looking for in this thread?
I am starting this thread to start a discussion on how this technology can or should be utilized as well as discussing the difference between how it “Should” be done versus how it “Can” be done to meet non mission critical needs.
When I was running SLES 11 SP2, I had DRBD setup between 2 servers which allowed me to manually migrate a VM between the nodes with no problems. DRBD was setup in Active/Active mode. This works great and for the most part was reliable. I only had to recover from a split brain situation once or twice which went pretty smoothly. The difference now is I want to make use of LVM. In the past the VMs hd’s were RAW file format. This time with LVM I want to give the VG to XEN (I believe thats the correct term), and create partitions for each VM to use as HD’s. When I made the move to SLES 12 SP3, I tried this in stand alone and really liked the performance gain on the VMs showed. Which is why I am trying to run my media server needs as VMs.
Some of the documentation I am trying to follow includes…
https://docs.linbit.com/docs/users-guide-8.4/#ch-lvm
One of the issues I get into is that when I try to work with these services alone, SLES 12 gets upset and tries to tell me how I am missing cluster roles so it can handle the DRBD environment. Example, enable DRBD in Services. SLES 12 gets cranky and tells you that you need to install another service to manage DRBD. SLES 11 didnt care, you could setup DRBD and turn it on. It worked. As it did in the past.
Like I said, its way overkill for our computational needs. But serves a purpose in teaching tech skills to my son and myself. And this is just the start, lets see where this thread goes.
I know this is a novel
Thanks for your interest and help
John