You have two ways to do this:
1)Do a "graceful shutdown" (it is a restart indeed)
/usr/sbin/apachectl -k graceful
In Apache2 there's this way to restart apache, where each process stop serving new request and are terminated,
and new request are server by new, fresh httpd process (with new configuration).
I use this method to restart apache after rotating the logs.
2)- put the resource in heartbeat "unmanaged state"
crm_resource -S is_managed -v false -r -t primitive
- restart/reload/do anything with apache. Heartbeat won't do anything with it, even if you kill apache (amazingly... it's unmanaged!! ;-) )
- finally re-put apache under heartbeats's control:
crm_resource -S is_managed -v true -r -t primitive
REFERENCES
http://lists.linux-ha.org/pipermail/linux-ha/2007-February/023123.html