search for: lvs

Displaying 20 results from an estimated 807 matches for "lvs".

Did you mean: lds
2008 Jan 03
3
anyone care to point me in the right direction? LVS
i'm trying to setup LVS, and tried both the lvs-dr and the lvs-nat, but can't get any to work. I'm hoping people here can answer a few questions that might help and shed light onto the situation? #1 with regards to the Real Servers, is there anything that needs to be configured other that the http service? I ask...
2008 Jan 08
8
Shorewall and LVS-NAT (via fwmark) nat'd machines can't access the outside world directly
Hi guys, I''m not sure where to post for help on this one, shorewall or lvs, I''ll start with shorewall (only cause Tom is a gun at this stuff, and is polite enough to tell me to bugger off to the LVS list if I''m posting in the wrong one ;) I have a single box that is my router/firewall/LVS. Internet -- eth0 - router/firewall - eth1 --- internal lan...
2004 Nov 05
8
Using Shorewall + Linux Virtual Server LVS/DR
I''m havign a HUGE amount of difficulty getting shoreline to work with LVS. We use it here constantly so we know it works. The problem is packets come in, get directed to a webserver, webserver returns the packet to firewall, and then it goes into a black hole. rp_filter is off globally on all interfaces. LVS seems to be working right.... I use shorewall tcrules t...
2015 Jan 28
1
Re: [PATCH 3/3] sparsify: Ignore read-only LVs (RHBZ#1185561).
...rror ?exit_code fs = error ~prog ?exit_code fs > let warning fs = warning ~prog fs > let info fs = info ~prog fs > > let quote = Filename.quote > + > +(* Return true if the filesystem is a read-only LV (RHBZ#1185561). *) > +let is_read_only_lv (g : G.guestfs) = > + let lvs = Array.to_list (g#lvs_full ()) in > + let romap = List.map ( > + fun { G.lv_uuid = lv_uuid; lv_attr = lv_attr } -> > + lv_uuid, lv_attr.[1] = 'r' > + ) lvs in > + fun fs -> > + if g#is_lv fs then ( > + let uuid = g#lvuuid fs in > + asso...
2013 Jul 22
2
FreeBSD LVS replacement
Hello, I'm looking for a functional FreeBSD replacement of the Linux LVS software? There is an LVS port for FreeBSD but it looks deat since 2005. Is there anything comparable or better? All best, mjb
2009 Nov 09
1
File "lvs.ml", line 11... : Error: Unbound value Guestfs.create
On F12, I'm getting this build failure: ocamlfind ocamlopt -ccopt '-L ../../src/.libs' \ -warn-error A -I .. mlguestfs.cmxa lvs.ml -o lvs File "lvs.ml", line 11, characters 10-24: Error: Unbound value Guestfs.create make[2]: *** [lvs] Error 2 Admittedly with STREQ-related changes, but they seem unrelated...
2016 Jan 27
4
[PATCH] lvm: support lvm2 older than 2.02.107
lvm2 2.02.107 adds the -S/--select option used in lvs to filter out only public LVs (see RHBZ#1278878). To make this work again with versions of lvm2 older than that, only on old versions filter out thin layouts and compose the resulting device strings ourselves. The filtering done is much simplier than what "-S lv_role=public" will do, bu...
2007 Jan 29
2
How to access the internet from load-balanced nodes?
Hello! I have set-up four nodes system: two LVS load balancers (CentOS) and two working nodes (openSUSE). LVS nodes have global IPs, so they able to access the internet and working nodes have only private IPs, so they cannot access internet directly. I use NAT-base load balancing. Now I need to know how give working nodes ability to access the...
2015 Nov 10
2
[PATCH] daemon: lvm: Only return public LVs from guestfs_lvs API (RHBZ#1278878).
When a disk image uses LVM thinp (thin provisioning), the guestfs_lvs API would return the thinp pools. This confused other APIs because thinp pools don't have corresponding /dev/VG/LV device nodes. Filter the LVs that are returned using "lv_role=public". Thanks: Fabian Deutsch --- daemon/lvm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-...
2011 Mar 08
2
keepalived+LVS
hello, all! if i want to use lvs function of keepalived , i must install ipvsadm ? tks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110308/b8e27203/attachment-0002.html>
2009 Oct 04
1
FYI, lvs.ml: Unbound value Guestfs.create
...ot; succeeded in this directory on Friday, I ran "make clean" today from the top, then "make" and got this: Making all in examples make[3]: Entering directory `/home/j/w/co/libguestfs/ocaml/examples' ocamlfind ocamlopt \ -warn-error A -I .. mlguestfs.cmxa lvs.ml -o lvs File "lvs.ml", line 11, characters 10-24: Error: Unbound value Guestfs.create make[3]: *** [lvs] Error 2 make[3]: Leaving directory `/home/j/w/co/libguestfs/ocaml/examples' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/j/w/co/libguestfs/o...
2012 Oct 23
1
masq rules for LVS
Hi, I need some special masq rules to allow internal servers to resolve public IP''s which are loadbalanced by LVS - the rule are: iptables -t nat -A POSTROUTING -m ipvs --vaddr <LVS PUBLIC IP>/32 --vport 80 -j SNAT --to-source <LVS INTERNAL IP> Also I need to enable: echo 1 > /proc/sys/net/ipv4/vs/conntrack Currently I do all this from /etc/shorewall/started - but is there a nice way to con...
2017 Jul 14
0
[PATCH 14/27] daemon: Reimplement ‘lvs’ API in OCaml.
...arted.ml \ realpath.ml \ diff --git a/daemon/lvm.c b/daemon/lvm.c index 5d12b009f..072bf53b4 100644 --- a/daemon/lvm.c +++ b/daemon/lvm.c @@ -103,89 +103,6 @@ convert_lvm_output (char *out, const char *prefix) return take_stringsbuf (&ret); } -/* Filter a colon-separated output of - * lvs -o lv_attr,vg_name,lv_name - * removing thin layouts, and building the device path as we expect it. - * - * This is used only when lvm has no -S. - */ -static char ** -filter_convert_old_lvs_output (char *out) -{ - char *p, *pend; - CLEANUP_FREE_STRINGSBUF DECLARE_STRINGSBUF (ret); - - p = out;...
2011 Dec 08
1
Selecting raw logical volumes during guest VM creation
...ogical volume (if it is possible). Here are the details... I have setup my hardware with a single volume group (vg_mei) encompassing my entire raid array. With this I set up my base OS (CentOS 6) for the purpose of managing the hardware and the few VMs that will be created (using KVM). Three LVs were created for the base OS (lv_hostroot, lv_hostswap, and lv_hostvar) to contain the appropriate parts of the base OS file system. As expected, /boot was located outside the volume group. In preparation for installing my testing VM, I created two more LVs (lv_testroot and lv_testvar) to con...
2008 Sep 25
1
Implementing LVS changes made in Piranha GUI
Every time I touch something, pieces fall off! It's a good thing this stuff isn't in production yet (for me I mean). So I had an LVS, configured with Piranha, directing http test transactions across two servers. I used Piranha to add another realserver. It appeared in the lvs.cf file, but didn't appear in the ipvsadm output. So I stopped and restarted Pulse. And now *none* of the servers appear in the ipvsadm output. Pu...
2008 Apr 04
2
simple load balancing/failover for OWA
...look Web Access servers. We would like to at least have some sort of failover, and prefereably load balancing for them. The MS recommended way is to use NLB, but for various reasons that's not working with our set up. We are looking to set up a single linux server and use something like LVS to load balance/fail over the connections. Looking at LVS, it looks like it hasn't been updated in a while. Is it stable? Is it still the preferred solution? Since OWA has sessions, but no session replication, we would need something that can keep directing the same client to the same s...
2010 Apr 27
0
Transparent proxy with LVS
I've managed to configure a LVS Cluster to act as a transparent proxy squid farm, with a virtual server as load balancer, and three real servers. Because redirecting packets going to port 80 to port 3128 of squid in the load balancer doesn't works, the solution has a mix of ip route and iptables. Here is the script I wrote t...
2013 Aug 23
1
Setting Up LVS to Load Balance DNS
...ptable rules on the real servers and added the virtual ip to the bond0 interface on the real servers, but I'm still having no luck in getting things going. A dig against the virtual ip address simply times out and ipvsadm shows no servers under the UDP connection for the virtual IP I defined in lvs.cf. Nanny also complains in /var/log/messages like so: READ to x.x.x.x timed out I've attached my lvs.cf and sysctl.conf files for the lvs server and real dns servers. Any help or nudges in the right direction would be greatly appreciated! Thanks. --
2001 Nov 06
2
2.2.14 integration with lvs
Hi, I had to modify 2 files to integrate ext3 patch with lvs patch.. (ext3-2.4-0.9.14-2414p8.gz and ipvs 0.8.2) --- drivers/block/loop.c.orig Tue Nov 6 10:13:48 2001 +++ drivers/block/loop.c Tue Nov 6 10:17:55 2001 @@ -218,14 +218,16 @@ static int lo_send(struct loop_device *l index++; pos += size;...
2015 Jan 28
4
[PATCH 0/3] sparsify: Ignore read-only LVs (RHBZ#1185561).
virt-sparsify shouldn't die if sparsifying a filesystem that contains read-only LVs. https://bugzilla.redhat.com/show_bug.cgi?id=1185561 I thought about trying to make the LV writable temporarily, but I suspect that if the sysadmin has made the LV read-only, then they probably did it for a reason, so we shouldn't touch it. Rich.