Skip to content

Instantly share code, notes, and snippets.

@bloodeagle40234
Last active January 29, 2019 06:22
Show Gist options
  • Save bloodeagle40234/fc3fdabfb41156cc841980c1a195c24d to your computer and use it in GitHub Desktop.
Save bloodeagle40234/fc3fdabfb41156cc841980c1a195c24d to your computer and use it in GitHub Desktop.
ProxyFS config file example
diff --git a/etc/proxyfsd.conf b/proxyfsd/default.conf
index 5e04845..736fd39 100644
--- a/etc/proxyfsd.conf
+++ b/proxyfsd/default.conf
@@ -2,8 +2,8 @@
# Each "peer" in the cluster is listed here... but, for now, there should only be one (for a given node)
[Peer:Peer0]
-PublicIPAddr: 127.0.0.1
-PrivateIPAddr: 127.0.0.1
+PublicIPAddr: 192.168.22.40
+PrivateIPAddr: 192.168.23.40
ReadCacheQuotaFraction: 0.20
# Identifies what "peers" make up the cluster (there should only be one for now) and which one "we" are
@@ -44,7 +44,7 @@ ReadCacheWeight: 100
# A set of storage policies into which the chunks of files and directories will go
[PhysicalContainerLayout:CommonVolumePhysicalContainerLayoutReplicated3Way]
-ContainerStoragePolicy: default
+ContainerStoragePolicy: silver
ContainerNamePrefix: Replicated3Way_
ContainersPerPeer: 1000
MaxObjectsPerContainer: 1000000
@@ -55,12 +55,12 @@ MaxObjectsPerContainer: 1000000
# StandbyPeerList can be left blank for now until such time as failover is supported
[Volume:CommonVolume]
FSID: 1
-FUSEMountPointName: /mnt/CommonMountPoint
+FUSEMountPointName: CommonMountPoint
NFSExportName: CommonExport
SMBShareName: CommonShare
PrimaryPeer: Peer0
StandbyPeerList:
-AccountName: AUTH_proxyfs
+AccountName: AUTH_test
NonceValuesToReserve: 100
MaxEntriesPerDirNode: 32
MaxExtentsPerFileNode: 32
@@ -69,7 +69,7 @@ MaxLogSegmentsPerMetadataNode: 64
MaxDirFileNodesPerMetadataNode: 16
MaxCreatedDeletedObjectsPerMetadataNode: 256
CheckpointContainerName: .__checkpoint__
-CheckpointContainerStoragePolicy: default
+CheckpointContainerStoragePolicy: gold
CheckpointInterval: 10s
#ReplayLogFileName: CommonVolume.rlog
DefaultPhysicalContainerLayout: CommonVolumePhysicalContainerLayoutReplicated3Way
@@ -105,13 +105,13 @@ Debug: false
# Log reporting parameters
[Logging]
LogFilePath: proxyfsd.log
-LogToConsole: true # when true, log to stderr even when LogFilePath is set
+LogToConsole: false # when true, log to stderr even when LogFilePath is set
TraceLevelLogging: none # Enable trace logging on a per-package basis. Supported values: jrpcfs, inode, none (default)
DebugLevelLogging: none # Enable debug logging on a per-package basis. Supported values: ldlm, fs, jrpcfs, inode, none (default)
# NOTE: Log levels other than Trace and Debug are always on.
[EventLog]
-Enabled: true
+Enabled: false
BufferKey: 1234
BufferLength: 1048576 # 1MiB
MinBackoff: 1us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment