summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.d/00base.defconf6
-rw-r--r--config.d/50sofs.defconf6
2 files changed, 6 insertions, 6 deletions
diff --git a/config.d/00base.defconf b/config.d/00base.defconf
index d58ee03..7511e8a 100644
--- a/config.d/00base.defconf
+++ b/config.d/00base.defconf
@@ -532,7 +532,8 @@ hack_nodes_rhel_base ()
rhel_base)
node_count_rhel_base=$(($node_count_rhel_base + 1))
name="${CLUSTER}base${node_count_rhel_base}"
- ctdb_node=1
+ # rhel_base nodes are not part of CTDB cluster
+ ctdb_node=0
esac
}
hack_all_nodes_with hack_filter
@@ -544,6 +545,9 @@ create_node_rhel_base ()
local name="$2"
local ctdb_node="$3"
+ # rhel_base nodes do not have shared disks
+ local SHAREDDISK_TEMPLATE=""
+
echo "Creating RHEL base node $name"
create_node_COMMON "$name" "$ip_offset" "$type"
}
diff --git a/config.d/50sofs.defconf b/config.d/50sofs.defconf
index 053775a..c83e558 100644
--- a/config.d/50sofs.defconf
+++ b/config.d/50sofs.defconf
@@ -7,8 +7,7 @@ NSD_SERVERS=
hack_nodes_sofs ()
{
if [ "${NODES/sofs_*:/}" != "$NODES" ] ; then
- # We have sofs_* nodes so name and tag them. Also untag any
- # rhel_base nodes.
+ # We have sofs_* nodes so name and tag them.
local node_count_sofs_front=0
local node_count_sofs_storage=0
hack_filter ()
@@ -22,9 +21,6 @@ hack_nodes_sofs ()
}
case "$node_type" in
- rhel_base)
- ctdb_node=0
- ;;
sofs_front)
node_count_sofs_front=$(($node_count_sofs_front + 1))
name="${CLUSTER}front${node_count_sofs_front}"