- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MC/Serviceguard & Apache Web Server
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
тАО11-02-2000 05:40 AM
тАО11-02-2000 05:40 AM
MC/Serviceguard & Apache Web Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2000 07:05 AM
тАО11-02-2000 07:05 AM
Re: MC/Serviceguard & Apache Web Server
1. Make sure it's part of a clustered vg.
2. Create the package configuration.
3. Modify it to your needs (ie, nodes to run it on, package name).
3. Create the package control script.
4. Modify it for starting and stopping apache.
5. Be sure to include *at least* one additional network card for each server for standby purposes (the card shouldn't be used for anything else if you want adequate failover).
L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2000 07:05 AM
тАО11-02-2000 07:05 AM
Re: MC/Serviceguard & Apache Web Server
1. Make sure it's part of a clustered vg.
2. Create the package configuration.
3. Modify it to your needs (ie, nodes to run it on, package name).
3. Create the package control script.
4. Modify it for starting and stopping apache.
5. Be sure to include *at least* one additional network card for each server for standby purposes (the card shouldn't be used for anything else if you want adequate failover).
L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2000 04:15 PM
тАО11-02-2000 04:15 PM
Re: MC/Serviceguard & Apache Web Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2000 04:15 PM
тАО11-02-2000 04:15 PM
Re: MC/Serviceguard & Apache Web Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2000 04:16 PM
тАО11-02-2000 04:16 PM
Re: MC/Serviceguard & Apache Web Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2000 11:29 PM
тАО11-02-2000 11:29 PM
Re: MC/Serviceguard & Apache Web Server
Yes, I am running Apache under ServiceGuard. There's nothing to it, just start the daemon in control.sh like so:
function customer_defined_run_cmds
{
/apache/bin/apachectl startssl
test_return 51
}
You might want to use the packet address in httpd.conf/BindAddress instead of the default "*" so that users don't connect to the machine's permanent address by mistake and get confused at failover.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2000 01:48 PM
тАО12-05-2000 01:48 PM
Re: MC/Serviceguard & Apache Web Server
We are now doing it in our MC/ServiceGuard II course.
The standard script handles the IP Address, VG, logical volumes. You need a service that
monitors the Web processes and start and stop the web processes. Good luck. I enclosed some
code from a sample run/halt script.
SERVICE_NAME[0]="web_stk.mon"
SERVICE_CMD[0]="/etc/cmcluster/web_stk/web_stk.mon"
SERVICE_RESTART[0]=""
function customer_defined_run_cmds
{
/usr/local/bin/httpd
test_return 51
}
function customer_defined_halt_cmds
{
if
[ -f /usr/local/etc/httpd/logs/httpd.pid ]
then
kill $(cat /usr/local/etc/httpd/logs/httpd.pid)
fi
print "web is killed"
test_return 52
}