Skip to contentSkip to conversation

rhcs_fence

Drbd-dev Digimer 2 participants 7 messages Sep 9, 2015 DRBD driver

lore
Share & tools
lore

Digimer

author
#0 lore raw

Is rhcs_fence not shipped with drbd 8.4?

Signature · 4 lines
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
author
#1 lore raw
Quoted 1 line · Digimer

Is rhcs_fence not shipped with drbd 8.4?

If not (it appears not), and if there is interest in adding it, I've moved it's development into the main striker repo:

https://github.com/digimer/striker/blob/master/tools/rhcs_fence

Signature · 4 lines
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
#3 lore raw
Quoted 4 lines · Roland Kammerer
Quoted 3 lines · Digimer
Quoted 1 line · Digimer

Is rhcs_fence not shipped with drbd 8.4?

Quoted 8 lines
Quoted 5 lines

If not (it appears not), and if there is interest in adding it, I've moved it's development into the main striker repo:

https://github.com/digimer/striker/blob/master/tools/rhcs_fence

Mind the repo-split... There is one in drbd-utils/scripts

Oh, ours is the bash version Lars wrote, yours is the one in perl.

It's neither my expertise nor my decision, but FWIW: My (evil) plan is to get rid of the existing perl code (AFAIK drbd-overview.pl), so personally I am not a fan of merging perl code. I would like to drop the perl dependency. For example RHEL7 does not ship perl in its minimal setup configuration if I remember correctly.

Regards, rck

author
#4 lore raw
Quoted 16 lines · Roland Kammerer
Quoted 4 lines · Roland Kammerer
Quoted 3 lines · Digimer
Quoted 1 line · Digimer

Is rhcs_fence not shipped with drbd 8.4?

Quoted 8 lines
Quoted 5 lines

If not (it appears not), and if there is interest in adding it, I've moved it's development into the main striker repo:

https://github.com/digimer/striker/blob/master/tools/rhcs_fence

Mind the repo-split... There is one in drbd-utils/scripts

Oh, ours is the bash version Lars wrote, yours is the one in perl.

Quoted 7 lines

It's neither my expertise nor my decision, but FWIW: My (evil) plan is to get rid of the existing perl code (AFAIK drbd-overview.pl), so personally I am not a fan of merging perl code. I would like to drop the perl dependency. For example RHEL7 does not ship perl in its minimal setup configuration if I remember correctly.

Regards, rck

Well, cman+rgmanager is gone entirely in EL7, so this is really for EL6 users.

What is the bash version called? The only other one I knew of the cman was obliterate-peer.sh, which Lon wrote ages ago. I created rhcs_fence to improve on his agent.

Signature · 4 lines
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
#5 lore raw
Quoted 23 lines · Digimer
Quoted 22 lines · Roland Kammerer
Quoted 4 lines · Roland Kammerer
Quoted 3 lines · Digimer
Quoted 1 line · Digimer

Is rhcs_fence not shipped with drbd 8.4?

Quoted 8 lines
Quoted 5 lines

If not (it appears not), and if there is interest in adding it, I've moved it's development into the main striker repo:

https://github.com/digimer/striker/blob/master/tools/rhcs_fence

Mind the repo-split... There is one in drbd-utils/scripts

Oh, ours is the bash version Lars wrote, yours is the one in perl.

It's neither my expertise nor my decision, but FWIW: My (evil) plan is to get rid of the existing perl code (AFAIK drbd-overview.pl), so personally I am not a fan of merging perl code. I would like to drop the perl dependency. For example RHEL7 does not ship perl in its minimal setup configuration if I remember correctly.

Quoted 6 lines
Quoted 1 line

Regards, rck

What is the bash version called? The only other one I knew of the cman was obliterate-peer.sh, which Lon wrote ages ago. I created rhcs_fence to improve on his agent.

It has the same name...

$ file drbd-utils/scripts/rhcs_fence
drbd-utils/scripts/rhcs_fence: Bourne-Again shell script, ASCII text
executable

Regards, rck

author
#6 lore raw
Quoted 31 lines · Roland Kammerer
Quoted 23 lines · Digimer
Quoted 22 lines · Roland Kammerer
Quoted 4 lines · Roland Kammerer
Quoted 3 lines · Digimer
Quoted 1 line · Digimer

Is rhcs_fence not shipped with drbd 8.4?

Quoted 8 lines
Quoted 5 lines

If not (it appears not), and if there is interest in adding it, I've moved it's development into the main striker repo:

https://github.com/digimer/striker/blob/master/tools/rhcs_fence

Mind the repo-split... There is one in drbd-utils/scripts

Oh, ours is the bash version Lars wrote, yours is the one in perl.

It's neither my expertise nor my decision, but FWIW: My (evil) plan is to get rid of the existing perl code (AFAIK drbd-overview.pl), so personally I am not a fan of merging perl code. I would like to drop the perl dependency. For example RHEL7 does not ship perl in its minimal setup configuration if I remember correctly.

Quoted 6 lines
Quoted 1 line

Regards, rck

What is the bash version called? The only other one I knew of the cman was obliterate-peer.sh, which Lon wrote ages ago. I created rhcs_fence to improve on his agent.

Quoted 7 lines

It has the same name...

$ file drbd-utils/scripts/rhcs_fence
drbd-utils/scripts/rhcs_fence: Bourne-Again shell script, ASCII text
executable

Regards, rck

I'll have to test it. If it works well, I'm happy. :)

Signature · 4 lines
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?