Commit 8e4fe6f1 authored by Kirk Webb's avatar Kirk Webb
Browse files

Enforce one sysvol local blockstore placement per node.

parent d746f6ca
......@@ -250,6 +250,14 @@ Blockstore instproc finalize {} {
incr sofullplacements($nodeplace) 1
}
# Check that there is only one sysvol placement per node
set systotal [expr $sopartialplacements($nodeplace) + \
$sofullplacements($nodeplace)]
if { $myplace == "SYSVOL" && $systotal > 1 } {
perror "Only one sysvol placement allowed per node!"
return
}
# Sanity check for full placements. There can be only one per node
# per placement type.
if { $sofullplacements($nodeplace) > 1 ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment