Re: Load share http servers using clusterip with failover

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/1/8 Brett Delle Grazie <Brett.Dellegrazie@xxxxxxxxxxxxx>:
> Hi,
>
> I have a configured two-node cluster with some GFS file systems on them.
>
> Those servers also run http servers and I'd like to load-share the HTTP
> servers without
> putting a hardware load balancer in front of them.
>
> I read about clusterIP: http://www.linux-ha.org/ClusterIP
>
> and was wondering if anyone has managed to use this iptables capability
> to get a service running in load-shared fashion across multiple nodes with
> the
> failover of a node handled by rgmanager?
>
> Is there an example of this anywhere that someone could point me to?
> Has anyone got a resource script of this type they would be willing to
> share?
>
> Thanks in advance,
>
> Best regards,
>
> Brett
>

You will want to create X number of ip address where X is the number
of http servers.  Then setup a failover domain inside the cluster for
each ip address that includes all of the http servers with the servers
weighted in such a way that every http server would have an ip address
assuming the server is up. Then create an ip address resource for each
of the ip addresses you created earlier.  Finally create a service
that contains an ip address resource and is associated with a failover
domain.  You will create one server for each ip address. Alternately
it might be possible to skip the setting up of the resource and just
setup the resource in side of the service.

- Adam

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux