-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from gluster-deploy/master
Fix xfs options
- Loading branch information
Showing
8 changed files
with
108 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,4 @@ action=smb-setup | |
volname=samba1 | ||
force=yes | ||
smb_username=smbuser | ||
smb_password=smbuser | ||
smb_mountpoint=/mnt/smb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[hosts] | ||
10.70.37.47 | ||
10.70.37.147 | ||
|
||
# when slice_setup=yes is set for service glusterd, the following | ||
# additional changes are done. | ||
# | ||
# Creates a file /etc/systemd/system/glusterd.service.d/99-cpu.conf with | ||
# [Service] | ||
# CPUAccounting=yes | ||
# Slice=glusterfs.slice | ||
# | ||
# Creates a file /etc/systemd/system/glusterfs.slice with contents | ||
# [Slice] | ||
# CPUQuota=400% | ||
# | ||
# And runs: | ||
# systemctl daemon-reload | ||
|
||
[service] | ||
action=start | ||
service=glusterd | ||
slice_setup=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[hosts] | ||
10.70.37.147 | ||
10.70.37.47 | ||
|
||
# This is important. Clients have to be unmounted before setting up SSL | ||
[clients1] | ||
action=unmount | ||
hosts=10.70.37.173,10.70.37.107 | ||
client_mount_points=/mnt/data | ||
|
||
[volume] | ||
action=enable-ssl | ||
volname=ssl | ||
ssl_clients=10.70.37.107,10.70.37.173 | ||
|
||
[clients2] | ||
action=mount | ||
hosts=10.70.37.173,10.70.37.107 | ||
volname=ssl | ||
fstype=glusterfs | ||
client_mount_points=/mnt/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[hosts] | ||
10.70.37.147 | ||
10.70.37.47 | ||
|
||
[backend-setup] | ||
devices=/dev/vdb | ||
vgs=vg1 | ||
pools=pool1 | ||
lvs=lv1 | ||
mountpoints=/mnt/brick | ||
|
||
[volume] | ||
action=create | ||
volname=ssl | ||
transport=tcp | ||
replica_count=2 | ||
force=yes | ||
enable_ssl=yes | ||
ssl_clients=10.70.37.107,10.70.37.173 | ||
brick_dirs=/data/1 | ||
|
||
[clients] | ||
action=mount | ||
hosts=10.70.37.173,10.70.37.107 | ||
volname=ssl | ||
fstype=glusterfs | ||
client_mount_points=/mnt/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters