- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Serviceguard for linux multi-node package
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 03:17 PM
тАО01-14-2009 03:17 PM
I am looking for information about serviceguard for linux multi-node packages. I would like to know when you configure (for example apache) as a multi-node package what ip address to listen for since we can not use a relocatable IP. If for example we are running on a 2-node cluster with the apache package running on both nodes how do we load-balance it?
I've googled a lot and read the serviceguard documentation but did not find anything informative
thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 12:05 AM
тАО01-15-2009 12:05 AM
SolutionServiceGuard's "multi-node package" does not offer load balancing between nodes. It's for situations when there is an application or a cluster filesystem that can allow a disk to be accessed by multiple nodes at the same time, if (and only if) the communication between the nodes is working.
In those cases, the nodes must typically keep in sync with each other; if one node loses network connectivity with the rest of the cluster, it must *immediately* stop accessing the shared disks, as it has no idea of what the other nodes might be doing. ServiceGuard can act as a well-tested system of interlocks for this.
For load balancing, there are several solutions.
The cheapest way is to use DNS round-robin: just define two IP addresses for the DNS name of your service. This has two major disadvantages, though:
- if one of the nodes fails, you must immediately make a DNS update that removes the failed node from the round-robin, or about 50% of incoming requests will still be directed to the failing node. You must at all times keep the TTL values of the DNS round-robin entries short enough, so that the update can propagate quickly to the caches of the DNS servers around the world.
- DNS round robin makes no guarantees that the second request from one client will go to the same node as the first one. If your web service holds any session information that is not stored in a database shared between the nodes or maintained by the client in URL strings or cookies, this technique will cause problems. For stateless services, this is not an issue.
There may be some solutions that are based on quickly switching the IP address between nodes using gratuitous ARPing. These solve the first problem of the DNS round-robin, but not the second. Furthermore, if your network switch has security features, they may restrict the use of this technique.
The most robust way to load-balance Web services is to use a separate device that forwards the requests coming in to its public service address to the various nodes. This can be e.g. a Linux machine or a dedicated box of network hardware.
There are also several "large enterprise" load balancing solutions for situations when your nodes are geographically widely separated and may be in different networks, but they're a massive overkill for your two-node cluster.
Google for "Linux Virtual Server" for a good example.
Also read the Wikipedia article about load balancing for a nice overview of the issue.
http://en.wikipedia.org/wiki/Load_balancing_(computing)
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 12:25 AM
тАО01-15-2009 12:25 AM
Re: Serviceguard for linux multi-node package
For the loadbalancing part we generally use loadbalancers but I was wondering if ServiceGuard is providing (in multi-node mode) loadbalancing feature so that for small scale web apps I could bypass the loadbalancer and use ServiceGuard. It's clear in my head now. Thank you once more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 04:23 AM
тАО01-15-2009 04:23 AM
Re: Serviceguard for linux multi-node package
serviceguard is a high availability environment, not a load balancing environment.
If you team it up however with a round robin DNS system, allocating half the web traffic to one IP address and half to the secondary, you can achieve load balancing.
Actually you can probably do it without serviceguard, but that is a good tool for maintaining the integrity on shared storage.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 03:33 PM
тАО01-15-2009 03:33 PM
Re: Serviceguard for linux multi-node package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 03:35 PM
тАО01-15-2009 03:35 PM