Hello,
Within my heartbeat (2.0.8) configuration I defined a resource for setting
up an IP Alias onto one of my interfaces. But I have a problem: sshd listens
on that address. So there are two cases, I have to restart sshd:
1) at boot time when starting up heartbeat, because sshd comes up before
heartbeat (and should be come up before)
2) at time the node running the IP Alias failes and another node in the ha
cluster takeover the IP Alias.

So I want to restart sshd within heartbeat. What is the best way to do that?
Within a self written resource script? Or is there the possibility to use
lsb script sshd with parameter "restart"? Or is there another possibility to
restart the sshd - maybe directly within resource of type Ipaddr from ocf
class I use to define the IP Alias?
I didnt found a hint in docs or archives.
Annette
I 


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to