Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fence_scsi howto #5

Open
csb1582 opened this issue Jul 8, 2020 · 1 comment
Open

fence_scsi howto #5

csb1582 opened this issue Jul 8, 2020 · 1 comment

Comments

@csb1582
Copy link

csb1582 commented Jul 8, 2020

Hi, cool project, thanks!

I have developed a FlexVolume plugin that manages clustered shared disks. The plugin fences the SCSI disks with persistent reservations via sg_persist while the volume is in use. When volume dismounted the SCSI lock is released. Seems to work well, except in case of node failure, when lock is never released (because proper teardown didn't happen.)

Do you know if it's possible to use this project to STONITH a failed node, and then remove the SCSI reservation on shared disk from another node?

@kvaps
Copy link
Owner

kvaps commented Jul 15, 2020

Hey, sorry for long answer, try to create new pod template with script for find and removing SCSI reservation. And specify it in fencing/after-hook annotation for your fencing pod template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants