Re: [ClusterLabs] how does the VirtualDomain RA know with which options it's called ?

2022-05-12 Thread Andrei Borzenkov
On 12.05.2022 21:03, Lentes, Bernd wrote: > Hi, > > from my understanding the resource agents in > /usr/lib/ocf/resource.d/heartbeat are quite similar > to the old scripts in /etc/init.d started by init. > Init starts these scripts with "script [start|stop|reload|restart|status]". > Inside the

[ClusterLabs] how does the VirtualDomain RA know with which options it's called ?

2022-05-12 Thread Lentes, Bernd
Hi, from my understanding the resource agents in /usr/lib/ocf/resource.d/heartbeat are quite similar to the old scripts in /etc/init.d started by init. Init starts these scripts with "script [start|stop|reload|restart|status]". Inside the script there is a case construct which checks the options