[DEFAULT]
cluster = foobar
domain = foobar.local
-chroot_parent = /var/lib/gpfs-nas-chroot
+chroot_parent = /var/lib/nas-chroot
scp_chroot = %(chroot_parent)s/scp
-gpfs_default_mountpoint = /gpfs-nas/gpfs0
+clusterfs_default_mountpoint = /clusterfs
[filesystem:0]
type = gpfs
-mountpoint = %(gpfs_default_mountpoint)s
+mountpoint = %(clusterfs_default_mountpoint)s
[share:data]
-directory = %(gpfs_default_mountpoint)s/data
-filesystem = %(gpfs_default_mountpoint)s
+directory = %(clusterfs_default_mountpoint)s/data
+filesystem = %(clusterfs_default_mountpoint)s
permissions = 0777
comment = An example share
# Core
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
-CTDB_RECOVERY_LOCK=@@GPFS_DEFAULT_MOUNTPOINT@@/.ctdb/recovery.lock
+CTDB_RECOVERY_LOCK=@@CLUSTERFS_DEFAULT_MOUNTPOINT@@/.ctdb/recovery.lock
# Services managed
CTDB_MANAGES_SAMBA=yes
# enable clustering
clustering=yes
ctdb:registry.tdb=yes
- private dir=!!gpfs_default_mountpoint!!/.ctdb/
+ private dir=!!clusterfs_default_mountpoint!!/.ctdb/
ctdbd socket = !!|ctdb_socket()!!
security = !!|"ADS" if self.config.get("package:samba", "auth_method") == "winbind" else "USER"!!
domain = @@DOMAIN@@
workgroup = @@WORKGROUP@@
kdc = @@KDC_NAME@@
-chroot_parent = /var/lib/gpfs-nas-chroot
+chroot_parent = /var/lib/nas-chroot
scp_chroot = %(chroot_parent)s/scp
-gpfs_default_mountpoint = @@GPFS_DEFAULT_MOUNTPOINT@@
+clusterfs_default_mountpoint = @@CLUSTERFS_DEFAULT_MOUNTPOINT@@
auth_method = @@AUTH_METHOD@@
[filesystem:0]
-type = gpfs
-mountpoint = %(gpfs_default_mountpoint)s
+type = @@CLUSTERFS_TYPE@@
+mountpoint = %(clusterfs_default_mountpoint)s
[share:data]
-directory = %(gpfs_default_mountpoint)s/data
-filesystem = %(gpfs_default_mountpoint)s
+directory = %(clusterfs_default_mountpoint)s/data
+filesystem = %(clusterfs_default_mountpoint)s
permissions = 0777
comment = An example share
gpfs_num_nsds="@@GPFS_DEFAULT_NSDS@@"
cluster_name="@@CLUSTER@@"
-mountpoint="@@GPFS_DEFAULT_MOUNTPOINT@@"
+mountpoint="@@CLUSTERFS_DEFAULT_MOUNTPOINT@@"
opts="gpfs-num-nsds:,cluster-name:,mountpoint:"
getopt_output=$(getopt -n autocluster -o h -l "$opts" -- "$@")
defconf CLUSTER_TYPE "samba" \
"samba|ad|build" "Type of cluster, for configuration stage"
+defconf CLUSTERFS_TYPE "gpfs" \
+ "<gpfs|?>" "type of cluster filesystem to use"
+
+defconf CLUSTERFS_DEFAULT_MOUNTPOINT "/clusterfs" \
+ "<directory>" "mountpoint for default cluster filesystem"
+
defconf NODES "sofs_front:0-3 rhel_base:4" \
"<nodes>" "list of node types to create, with associated IP offsets"
defconf GPFS_DEFAULT_NSDS "" \
"<n>" "number of NSDs used by default GPFS filesystem, empty => all"
-defconf GPFS_DEFAULT_MOUNTPOINT "/gpfs" \
- "<directory>" "mountpoint for default GPFS filesystem"