Configuring resource dependencies
I've read about service group dependencies and think I have a good understanding of parent/child dependency relationships. However I am wondering if it's possible to configure dependencies amongst resources within a service group. Here's my setup.
I have service group: service_prod
In the service group I have four resources:
- Application - app1
- Mount - mount1
- IP - IP1
- NIC - NIC1
I need to make sure that at start time the mount resource is brought online first before the application and then on stop the application is completely down before the mount is unmounted. Can I set this dependency from a VCS configuration standpoint or would I need to write start/stop/clean scripts that use hares online or hares offline?
Hi,
Yes, use hares -link to link the various resources. What application are you clustering? The most common applications have agents which already link the resources based on pre-defined logic.
R