[ClusterLabs] Antw: Antw: Re: Antw: [EXT] Re: crm resource stop VirtualDomain ‑ but VirtualDomain shutdown start some minutes later
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Thu Feb 17 04:26:54 EST 2022
>>> "Ulrich Windl" <Ulrich.Windl at rz.uni-regensburg.de> schrieb am 17.02.2022
um
10:18 in Nachricht <620E12E1020000A100047DE1 at gwsmtp.uni-regensburg.de>:
...
> Yes, as "stop" just sets the role of the resource; processing happens in the
> background.
> The crm syntax does not have a "‑‑wait", but you can list all names in one
> command!
To correct myself: crm was a "-w" (wait) option that will wait until the DC is
idle. In most cases it just waits until the operation requeszted has completed
(or failed).
Question to the CRM developers: does the exit status of "crm resource
start|stop blabla..." reflect the outcome of the operation? It seems rather
handy for scripting...
> That'll be more efficient in general.
>
> Regards,
> Ulrich
>
>
>>
>> Bernd
>
>
>
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/
More information about the Users
mailing list