Make sure to also create the "fence_scsi.dev" file doing the same:
# node01
create a file /etc/fence_scsi.dev containing: /dev/disk/by-path/acpi-VMBUS:01-scsi-0:0:0:0
# node02
# node03
Note: of course do change contents of the file to your shared disk device "by-path" path.
Then, in all 3 nodes, add a 2nd line to /etc/tmpfiles.d/fence_scsi.conf file:
L /var/run/cluster/fence_scsi.key - - - - /etc/fence_scsi.key L /var/run/cluster/fence_scsi.dev - - - - /etc/fence_scsi.dev
And reboot the node to check if the file gets created after boot:
rafaeldtinoco@clubionic01:~$ sudo ls /var/run/cluster fence_scsi.dev fence_scsi.key
rafaeldtinoco@clubionic02:~$ sudo ls /var/run/cluster fence_scsi.dev fence_scsi.key
rafaeldtinoco@clubionic03:~$ sudo ls /var/run/cluster fence_scsi.dev fence_scsi.key
Make sure to also create the "fence_scsi.dev" file doing the same:
# node01
create a file /etc/fence_scsi.dev containing: /dev/disk/ by-path/ acpi-VMBUS: 01-scsi- 0:0:0:0
# node02
create a file /etc/fence_scsi.dev containing: /dev/disk/ by-path/ acpi-VMBUS: 01-scsi- 0:0:0:0
# node03
create a file /etc/fence_scsi.dev containing: /dev/disk/ by-path/ acpi-VMBUS: 01-scsi- 0:0:0:0
Note: of course do change contents of the file to your shared disk device "by-path" path.
Then, in all 3 nodes, add a 2nd line to /etc/tmpfiles. d/fence_ scsi.conf file:
L /var/run/ cluster/ fence_scsi. key - - - - /etc/fence_scsi.key cluster/ fence_scsi. dev - - - - /etc/fence_scsi.dev
L /var/run/
And reboot the node to check if the file gets created after boot:
rafaeldtinoco@ clubionic01: ~$ sudo ls /var/run/cluster
fence_scsi.dev fence_scsi.key
rafaeldtinoco@ clubionic02: ~$ sudo ls /var/run/cluster
fence_scsi.dev fence_scsi.key
rafaeldtinoco@ clubionic03: ~$ sudo ls /var/run/cluster
fence_scsi.dev fence_scsi.key