Hi everyone! Can someone explain me how to correctly set up IO suspend policy for my resources? I executed the commands below:
linstor rg sp DrbdOptions/auto-quorum suspend-io cloudstack
linstor rg opt --on-no-data-accessible suspend-io cloudstack
first command executed with an error, so I made corrections like this:
linstor rg sp cloudstack DrbdOptions/auto-quorum suspend-io
This worked but displayed a warning:
WARNING: DrbdOptions/auto-quorum is deprecated, please use DrbdOptions/Resource/quorum.
So, I decided to execute:
linstor rg opt --on-no-quorum suspend-io cloudstack
second command executed without any problems.
Now I have:
linstor rg lp cloudstack
╭─────────────────────────────────────────────────────────╮
│ Key │ Value │
├─────────────────────────────────────────────────────────┤
│ DrbdOptions/Resource/on-no-data-accessible │ suspend-io │
│ DrbdOptions/Resource/on-no-quorum │ suspend-io │
│ DrbdOptions/auto-quorum │ suspend-io │
╰─────────────────────────────────────────────────────────╯
In the command output, it says that all resources were adjusted and all definitions were updated. But when I checked my resource definition, I saw:
linstor rd lp cs-90713c19-e8c6-4883-beaf-dc10f9860baf
╭─────────────────────────────────────────────────────────────────────────────╮
│ Key │ Value │
├─────────────────────────────────────────────────────────────────────────────┤
│ Aux/cs-name │ ROOT-658 │
│ Aux/cs-vm-name │ i-61-658-VM │
│ DrbdOptions/Resource/on-no-quorum │ io-error │
│ DrbdOptions/Resource/quorum │ majority │
│ DrbdOptions/auto-verify-alg │ crct10dif │
│ DrbdPrimarySetOn │ NODE4 │
│ cloned-from │ cs-2f3eb050-a213-40a8-a828-3a34a283d0d2 │
╰─────────────────────────────────────────────────────────────────────────────╯
Okay, I thought that maybe the settings aren’t applied to already created resources, so I decided to create a new one, and again:
linstor rd lp cs-f021d147-8ba9-4f65-8718-76b5470371c2
╭─────────────────────────────────────────────────────────────────────────────╮
│ Key │ Value │
├─────────────────────────────────────────────────────────────────────────────┤
│ Aux/cs-name │ ROOT-1003 │
│ Aux/cs-vm-name │ i-2-1003-VM │
│ DrbdOptions/Resource/on-no-quorum │ io-error │
│ DrbdOptions/Resource/quorum │ majority │
│ DrbdOptions/auto-verify-alg │ crct10dif │
│ DrbdPrimarySetOn │ NODE3 │
│ cloned-from │ cs-8b51f712-da5f-4abb-9a43-1b4faad214a3 │
╰─────────────────────────────────────────────────────────────────────────────╯
So, what am I doing wrong? Or maybe I don’t understand something? How can I correctly set up these properties, and apply it to all my old and new resources?
Any assistance would be greatly appreciated.