# Demonstration of fence_scsi agent working in Bionic:

(k)rafaeldtinoco@clubionic01:~/.../upstream$ sudo dpkg -i ./*.deb
dpkg: warning: downgrading fence-agents from 4.4.0-2 to 4.0.25-2ubuntu1
(Reading database ... 85434 files and directories currently installed.)
Preparing to unpack .../fence-agents_4.0.25-2ubuntu1_amd64.deb ...
Unpacking fence-agents (4.0.25-2ubuntu1) over (4.4.0-2) ...
Preparing to unpack .../fence-agents_4.4.0-2_amd64.deb ...
Unpacking fence-agents (4.4.0-2) over (4.0.25-2ubuntu1) ...
Setting up fence-agents (4.4.0-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

(k)rafaeldtinoco@clubionic01:~/.../upstream$ sudo sg_persist --in --read-keys 
--device=/dev/sda
  LIO-ORG   cluster.bionic.   4.0
  Peripheral device type: disk
  PR generation=0x0, there are NO registered reservation keys

(k)rafaeldtinoco@clubionic01:~/.../upstream$ systemctl restart pacemaker

(k)rafaeldtinoco@clubionic02:~/.../upstream$ crm_mon -1
Stack: corosync
Current DC: clubionic03.private (version 1.1.19-1.1.19) - partition with quorum
Last updated: Tue Mar  3 21:16:04 2020
Last change: Tue Mar  3 20:25:56 2020 by root via cibadmin on 
clubionic01.private

3 nodes configured
1 resource configured

Online: [ clubionic01.private clubionic02.private clubionic03.private ]

Active resources:

 fence_clubionic        (stonith:fence_scsi):   Started
clubionic01.private

(k)rafaeldtinoco@clubionic01:~/.../upstream$ sudo sg_persist --in --read-keys 
--device=/dev/sda
  LIO-ORG   cluster.bionic.   4.0
  Peripheral device type: disk
  PR generation=0x3, 3 registered reservation keys follow:
    0x3abe0000
    0x3abe0001
    0x3abe0002

(k)rafaeldtinoco@clubionic01:~/.../upstream$ sudo sg_persist -r /dev/sda
  LIO-ORG   cluster.bionic.   4.0
  Peripheral device type: disk
  PR generation=0x3, Reservation follows:
    Key=0x3abe0001
    scope: LU_SCOPE,  type: Write Exclusive, registrants only

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1865523

Title:
  [bionic] fence_scsi not working properly with 1.1.18-2ubuntu1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fence-agents/+bug/1865523/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to