Hi Chris,

Seems like you could use FarmGuardian to control which servers are active in 
the Farm.  You could use the traditional checking of a port  via 
check_http/check_smtp/check_tcp – or you create your own script to control each 
system’s membership.

http://www.zenloadbalancer.com/farmguardian-quick-start/

-Justin

From: Christopher Young [mailto:mexigaba...@gmail.com]
Sent: Monday, May 11, 2015 11:49 AM
To: zenloadbalancer-support@lists.sourceforge.net
Subject: Re: [Zenloadbalancer-support] Cluster Setup and a Question

I just wanted to follow-up so that it is documented on how to get this working 
on oVirt/RHEV.  I had to install a VDSM hook to allow mac-spoofing as a VM 
custom property like so (on each node):

yum install vdsm-hook-macspoof

That requires a restart of vdsmd on the node as well as a process on the 
oVirt/RHEV engine:

engine-config -s "UserDefinedVMProperties=macspoof=(true|false)"

Which then requires a restart of the oVirt/RHEV engine.

After that, there will be an available custom properly on the VM called 
'macspoof' that can be set to 'true'.  Once I did this and shutdown/powered on 
the VMs, the cluster setup now completes successfully.  You learn something 
every day.

Thanks for pointing me in the right direction.  The one thing I wish I had on 
these VMs is the ovirt-guest-agent which would likely work except that Debian 6 
doesn't seem to have python-ethtool package/deps.  If there are any plans to 
update the version of Debian that ZLB is based on, let me know.

---
RE: command-line tools.
Not to keep pushing :)  But, I was curious about performing basic actions via 
command line to take systems/IPs down/up (in or out) of farms/pools.  Is there 
a method one could use to be able to do that.  My thinking is that when 
upgrading components, I'd like my config management (Ansible in my case) to be 
able to run something that would take a system out of the pool and then put it 
back in after (maybe even with some level of confirmation).  It would also be 
helpful to be able to view the number of connections to a host via the command 
line to control the process (don't proceed until there are no more connections 
to this host/IP).  Let me know if there is any direction for that for me to 
head into...


Thanks again!

Chris

On Mon, May 11, 2015 at 2:02 PM, Christopher Young 
<mexigaba...@gmail.com<mailto:mexigaba...@gmail.com>> wrote:
I'm using oVirt/RHEV (KVM-based).  I will see if I can find a similar 
procedure.  I think I understand where the issue is now that you mention MAC 
spoofing.  Thanks for the tip!

On Mon, May 11, 2015 at 1:56 PM, Justin Bennett 
<jbenn...@msjc.edu<mailto:jbenn...@msjc.edu>> wrote:
If you are trying to setup a cluster in a virtual environment, be sure to allow 
MAC address spoofing.

Hyper-V - Enable spoofing of MAC addresses
https://technet.microsoft.com/en-us/library/cc917873.aspx

VMware – Allow Forged Transmissions and MAC Address Changes
https://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.vsphere.security.doc/GUID-7DC6486F-5400-44DF-8A62-6273798A2F80.html
https://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.vsphere.security.doc/GUID-942BD3AA-731B-4A05-8196-66F2B4BF1ACB.html
-Justin

From: Christopher Young 
[mailto:mexigaba...@gmail.com<mailto:mexigaba...@gmail.com>]
Sent: Monday, May 11, 2015 8:23 AM
To: 
zenloadbalancer-support@lists.sourceforge.net<mailto:zenloadbalancer-support@lists.sourceforge.net>
Subject: [Zenloadbalancer-support] Cluster Setup and a Question

So, I have begun testing ZLB for use at my company in both a virtual and 
eventually physical environment.  We are interested in the enterprise version, 
but are currently testing using the latest community edition.

In any case,  I'm having difficultly getting my cluster to work, though I 
believe I originally caused the issue in that I noticed that somehow I had 
assigned the same IP to the hosts.  I corrected this in the zen configuration 
and all interfaces seem to function fine now, however I can not get the cluster 
to give a positive global status even though all communication tests that I've 
done indicate that there shouldn't be an issue.

Is there a good procedure that I could use to wipe out the configuration 
completely and start from scratch without having to force an OS reinstallation 
(I'm trying to keep my farms configuration if possible)?

Also, I'm interested in managing the system via something like Ansible if 
possible.  In particular, I'd like to be able to enable/disable hosts/IPs in a 
farm/pool as part of maintenance plans.  I was wondering if there exists (or 
planned) a command line API or otherwise that could be used to perform common 
functions like that.  If not, I'd love to see that functionality even if it is 
rather raw via a command-line tool that I could execute on the system.

Thanks for all of your work!

Chris


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net<mailto:Zenloadbalancer-support@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to