github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/confgen/sample-proxyfs-configuration/proxyfs.conf (about) 1 # Default .conf file 2 3 # All ProxyFS nodes in cluster (by uuid) 4 5 [Peer:c63edaae-cb88-11e9-b49f-020e05f0ad07] 6 PublicIPAddr: 192.168.17.234 7 PrivateIPAddr: 192.168.17.234 8 ReadCacheQuotaFraction: 0.20 9 10 [Peer:c67631b5-cb88-11e9-99da-0248604d6797] 11 PublicIPAddr: 192.168.17.177 12 PrivateIPAddr: 192.168.17.177 13 ReadCacheQuotaFraction: 0.20 14 15 [Peer:c6e8e18f-cb88-11e9-92db-02a727b377d1] 16 PublicIPAddr: 192.168.18.222 17 PrivateIPAddr: 192.168.18.222 18 ReadCacheQuotaFraction: 0.20 19 20 # Identifies what "peers" make up the cluster and which one "we" are 21 [Cluster] 22 WhoAmI: c67631b5-cb88-11e9-99da-0248604d6797 23 Peers: c63edaae-cb88-11e9-b49f-020e05f0ad07 c67631b5-cb88-11e9-99da-0248604d6797 c6e8e18f-cb88-11e9-92db-02a727b377d1 24 Arbiters: c63edaae-cb88-11e9-b49f-020e05f0ad07 c67631b5-cb88-11e9-99da-0248604d6797 c6e8e18f-cb88-11e9-92db-02a727b377d1 25 ServerGuid: c67631b5-cb88-11e9-99da-0248604d6797 26 AcctHash: de374096638e77912ff8ebf617b98fc7 27 PrivateClusterUDPPort: 8123 28 UDPPacketSendSize: 1400 29 UDPPacketRecvSize: 1500 30 UDPPacketCapPerMessage: 5 31 HeartBeatDuration: 1s 32 HeartBeatMissLimit: 3 33 MessageQueueDepthPerPeer: 4 34 MaxRequestDuration: 1s 35 LivenessCheckRedundancy: 2 36 LogLevel: 0 37 ConfigVersion: 1570666863 38 39 # Specifies the path particulars to the "NoAuth" WSGI pipeline 40 [SwiftClient] 41 NoAuthIPAddr: 127.0.0.1 42 NoAuthTCPPort: 8090 43 44 RetryDelay: 1s 45 RetryExpBackoff: 1.5 46 RetryLimit: 11 47 48 RetryDelayObject: 1s 49 RetryExpBackoffObject: 1.95 50 RetryLimitObject: 8 51 52 ChunkedConnectionPoolSize: 512 53 NonChunkedConnectionPoolSize: 128 54 55 SwiftReconNoWriteThreshold: 80 56 SwiftReconNoWriteErrno: ENOSPC 57 SwiftReconReadOnlyThreshold: 90 58 SwiftReconReadOnlyErrno: EROFS 59 SwiftConfDir: /etc/swift 60 SwiftReconChecksPerConfCheck: 10 61 62 63 # A set of storage policies into which the chunks of files and directories will go 64 65 [PhysicalContainerLayout:back-policy1] 66 # Index is maintained both compat with 0.54.1.2 and so we can track policy through name changes 67 ContainerStoragePolicyIndex: 0 68 ContainerStoragePolicy: Standard-Replica 69 ContainerNamePrefix: Standard-Replica_ 70 ContainersPerPeer: 1000 71 MaxObjectsPerContainer: 1000000 72 73 # RPC path from file system clients (both Samba and "normal" WSGI stack)... needs to be shared with them 74 [JSONRPCServer] 75 TCPPort: 12345 76 FastTCPPort: 32345 77 DataPathLogging: false 78 Debug: false 79 RetryRPCPort: 32356 80 RetryRPCTTLCompleted: 10m 81 RetryRPCAckTrim: 100ms 82 RetryRPCDeadlineIO: 60s 83 RetryRPCKeepAlivePeriod: 60s 84 MinLeaseDuration: 250ms 85 LeaseInterruptInterval: 250ms 86 LeaseInterruptLimit: 20 87 88 [RPC] # Note: This is very soon to be deprecated... so just hard-code these values until then 89 NoAuthTCPSocket=true 90 # To use MockSwift instead of real swift, comment out the above line and uncomment the one below. 91 #MockSocket=true 92 93 # Log reporting parameters 94 [Logging] 95 LogFilePath: /opt/ss/var/log/proxyfsd.log 96 TraceLevelLogging: none 97 DebugLevelLogging: none 98 # when true, lot to stderr even when LogFilePath is set- 99 LogToConsole: false 100 101 [Stats] 102 UDPPort: 8133 103 BufferLength: 100 104 MaxLatency: 1000ms 105 106 [StatsLogger] 107 Period: 600s 108 109 [HTTPServer] 110 TCPPort: 15346 111 112 [FSGlobals] 113 InodeRecCacheEvictLowLimit: 100000 114 InodeRecCacheEvictHighLimit: 100010 115 LogSegmentRecCacheEvictLowLimit: 100000 116 LogSegmentRecCacheEvictHighLimit: 100010 117 BPlusTreeObjectCacheEvictLowLimit: 100000 118 BPlusTreeObjectCacheEvictHighLimit: 100010 119 DirEntryCacheEvictLowLimit: 100000 120 DirEntryCacheEvictHighLimit: 100010 121 FileExtentMapEvictLowLimit: 100000 122 FileExtentMapEvictHighLimit: 100010 123 CreatedDeletedObjectsCacheEvictLowLimit: 100000 124 CreatedDeletedObjectsCacheEvictHighLimit: 100010 125 HAMode: on 126 127 EtcdEnabled: true 128 EtcdAutoSyncInterval: 60000ms 129 EtcdCertDir: /etc/ssl/etcd/ssl/ 130 EtcdDialTimeout: 10000ms 131 EtcdOpTimeout: 20000ms 132 133 .include ./proxyfs-etcd-endpoints.conf 134 .include ./proxyfs-shares.conf