summaryrefslogtreecommitdiffstats
path: root/base/all/root
diff options
context:
space:
mode:
Diffstat (limited to 'base/all/root')
-rw-r--r--base/all/root/scripts/cluster_configure/example.conf10
-rw-r--r--base/all/root/scripts/cluster_configure/templates/rhel/00.ctdb/1.2.4#/files/etc/sysconfig/ctdb2
-rw-r--r--base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf2
-rw-r--r--base/all/root/scripts/gpfs-nas.conf12
-rwxr-xr-xbase/all/root/scripts/setup_gpfs.sh2
5 files changed, 14 insertions, 14 deletions
diff --git a/base/all/root/scripts/cluster_configure/example.conf b/base/all/root/scripts/cluster_configure/example.conf
index 782ff36..3bb461e 100644
--- a/base/all/root/scripts/cluster_configure/example.conf
+++ b/base/all/root/scripts/cluster_configure/example.conf
@@ -1,17 +1,17 @@
[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
diff --git a/base/all/root/scripts/cluster_configure/templates/rhel/00.ctdb/1.2.4#/files/etc/sysconfig/ctdb b/base/all/root/scripts/cluster_configure/templates/rhel/00.ctdb/1.2.4#/files/etc/sysconfig/ctdb
index 4a20819..6287f4d 100644
--- a/base/all/root/scripts/cluster_configure/templates/rhel/00.ctdb/1.2.4#/files/etc/sysconfig/ctdb
+++ b/base/all/root/scripts/cluster_configure/templates/rhel/00.ctdb/1.2.4#/files/etc/sysconfig/ctdb
@@ -1,6 +1,6 @@
# 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
diff --git a/base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf b/base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf
index dc57bfc..86fc21d 100644
--- a/base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf
+++ b/base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf
@@ -2,7 +2,7 @@
# 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"!!
diff --git a/base/all/root/scripts/gpfs-nas.conf b/base/all/root/scripts/gpfs-nas.conf
index 987aeaf..812e74c 100644
--- a/base/all/root/scripts/gpfs-nas.conf
+++ b/base/all/root/scripts/gpfs-nas.conf
@@ -3,18 +3,18 @@ cluster = @@CLUSTER@@
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
diff --git a/base/all/root/scripts/setup_gpfs.sh b/base/all/root/scripts/setup_gpfs.sh
index 920fe38..ff79d12 100755
--- a/base/all/root/scripts/setup_gpfs.sh
+++ b/base/all/root/scripts/setup_gpfs.sh
@@ -39,7 +39,7 @@ EOF
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" -- "$@")