github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/saio/container/proxyfs.conf (about)

     1  # Single peer .conf file customized for ProxyFS in a container
     2  
     3  [Peer:Peer0]
     4  PublicIPAddr:                   # To be set by docker_startup.sh
     5  PrivateIPAddr:          0.0.0.0 # So that docker run -p can expose ports on PrivateIPAddr
     6  ReadCacheQuotaFraction: 0.20
     7  
     8  [Cluster]
     9  WhoAmI:                   Peer0
    10  Peers:                    Peer0
    11  ServerGuid:               0bb51164-258f-4e04-a417-e16d736ca41c
    12  PrivateClusterUDPPort:    8123
    13  UDPPacketSendSize:        1400
    14  UDPPacketRecvSize:        1500
    15  UDPPacketCapPerMessage:   5
    16  HeartBeatDuration:        1s
    17  HeartBeatMissLimit:       3
    18  MessageQueueDepthPerPeer: 4
    19  MaxRequestDuration:       1s
    20  LivenessCheckRedundancy:  2
    21  LogLevel:                 0
    22  
    23  [SwiftClient]
    24  NoAuthIPAddr:                 127.0.0.1
    25  NoAuthTCPPort:                8090
    26  
    27  RetryDelay:                   1s
    28  RetryExpBackoff:              1.5
    29  RetryLimit:                   1
    30  
    31  RetryDelayObject:             1s
    32  RetryExpBackoffObject:        1.95
    33  RetryLimitObject:             8
    34  
    35  ChunkedConnectionPoolSize:    512
    36  NonChunkedConnectionPoolSize: 128
    37  
    38  SwiftReconNoWriteThreshold:   80
    39  SwiftReconNoWriteErrno:       ENOSPC
    40  SwiftReconReadOnlyThreshold:  90
    41  SwiftReconReadOnlyErrno:      EROFS
    42  SwiftConfDir:                 /etc/swift
    43  SwiftReconChecksPerConfCheck: 10
    44  
    45  [PhysicalContainerLayout:CommonVolumePhysicalContainerLayoutReplicated3Way]
    46  ContainerStoragePolicy:                   silver          # bronze
    47  ContainerNamePrefix:                      Replicated3Way_ # ErasureCoded_
    48  ContainersPerPeer:                        10
    49  MaxObjectsPerContainer:                   1000000
    50  
    51  [SnapShotSchedule:MinutelySnapShotSchedule]
    52  CronTab:                                  * * * * * # Every minute
    53  Keep:                                     59
    54  
    55  [SnapShotSchedule:HourlySnapShotSchedule]
    56  CronTab:                                  0 * * * * # At the top of every hour
    57  Keep:                                     23
    58  
    59  [SnapShotSchedule:DailySnapShotSchedule]
    60  CronTab:                                  0 0 * * * # At midnight every day
    61  Keep:                                     6
    62  
    63  [SnapShotSchedule:WeeklySnapShotSchedule]
    64  CronTab:                                  0 0 * * 0 # At midnight every Sunday
    65  Keep:                                     8
    66  
    67  [SnapShotSchedule:MonthlySnapShotSchedule]
    68  CronTab:                                  0 0 1 * * # At midnight on the first of every month
    69  Keep:                                     11
    70  
    71  [SnapShotSchedule:YearlySnapShotSchedule]
    72  CronTab:                                  0 0 1 1 * # At midnight on the January 1st of every year
    73  Keep:                                     4
    74  
    75  [SnapShotPolicy:CommonSnapShotPolicy]
    76  ScheduleList:                             MinutelySnapShotSchedule,HourlySnapShotSchedule,DailySnapShotSchedule,WeeklySnapShotSchedule,MonthlySnapShotSchedule,YearlySnapShotSchedule
    77  TimeZone:                                 America/Los_Angeles
    78  
    79  [SnapShotSchedule:TestSnapShotSchedule]
    80  CronTab:                                  * * * * * # Every minute
    81  Keep:                                     3
    82  
    83  [SnapShotPolicy:TestSnapShotPolicy]
    84  ScheduleList:                             TestSnapShotSchedule
    85  TimeZone:                                 America/Los_Angeles
    86  
    87  [Volume:CommonVolume]
    88  FSID:                                     1
    89  FUSEMountPointName:                       CommonMountPoint
    90  NFSExportClientMapList:                   CommonVolumeNFSClient0
    91  SMBShareName:                             CommonShare
    92  AccountName:                              AUTH_test
    93  AutoFormat:                               true
    94  NonceValuesToReserve:                     100
    95  MaxEntriesPerDirNode:                     32
    96  MaxExtentsPerFileNode:                    32
    97  MaxInodesPerMetadataNode:                 32
    98  MaxLogSegmentsPerMetadataNode:            64
    99  MaxDirFileNodesPerMetadataNode:           16
   100  MaxCreatedDeletedObjectsPerMetadataNode:  256
   101  CheckpointEtcdKeyName:                    ProxyFS:Volume:CommonVolume:Checkpoint
   102  CheckpointContainerName:                  .__checkpoint__
   103  CheckpointContainerStoragePolicy:         gold
   104  CheckpointInterval:                       10s
   105  #ReplayLogFileName:                        CommonVolume.rlog
   106  DefaultPhysicalContainerLayout:           CommonVolumePhysicalContainerLayoutReplicated3Way
   107  MaxFlushSize:                             10485760
   108  MaxFlushTime:                             10s
   109  FileDefragmentChunkSize:                  10485760
   110  FileDefragmentChunkDelay:                 10ms
   111  ReportedBlockSize:                        65536
   112  ReportedFragmentSize:                     65536
   113  ReportedNumBlocks:                        1677721600
   114  ReportedNumInodes:                        107374182400
   115  SnapShotIDNumBits:                        10
   116  MaxBytesInodeCache:                       10485760
   117  InodeCacheEvictInterval:                  1s
   118  #SnapShotPolicy:                           CommonSnapShotPolicy # Optional
   119  #SnapShotPolicy:                           TestSnapShotPolicy
   120  SMBValidUserList:                         swift
   121  SMBBrowseable:                            true
   122  SMBStrictSync:                            yes
   123  SMBAuditLogging:                          false
   124  SMBEncryptionRequired:                    false
   125  ActiveLeaseEvictLowLimit:                 5000
   126  ActiveLeaseEvictHighLimit:                5010
   127  
   128  [NFSClientMap:CommonVolumeNFSClient0]
   129  ClientPattern:                            *
   130  AccessMode:                               rw
   131  RootSquash:                               no_root_squash
   132  Secure:                                   insecure
   133  
   134  [VolumeGroup:CommonVolumeGroup]
   135  VolumeList:                               CommonVolume
   136  VirtualIPAddr:
   137  PrimaryPeer:                              Peer0
   138  ReadCacheLineSize:                        1048576
   139  ReadCacheWeight:                          100
   140  SMBWorkgroup:                             # If missing or blank, defaults to WORKGROUP
   141  SMBActiveDirectoryEnabled:                false # If true, all other SMBActiveDirectory* Key:Values are required (defaults to false)
   142  SMBActiveDirectoryRealm:
   143  SMBActiveDirectoryIDMapDefaultMin:
   144  SMBActiveDirectoryIDMapDefaultMax:
   145  SMBActiveDirectoryIDMapWorkgroupMin:
   146  SMBActiveDirectoryIDMapWorkgroupMax:
   147  
   148  [FSGlobals]
   149  VolumeGroupList:                          CommonVolumeGroup
   150  CheckpointHeaderConsensusAttempts:        5
   151  MountRetryLimit:                          6
   152  MountRetryDelay:                          1s
   153  MountRetryExpBackoff:                     2
   154  LogCheckpointHeaderPosts:                 true
   155  TryLockBackoffMin:                        10ms
   156  TryLockBackoffMax:                        50ms
   157  TryLockSerializationThreshhold:           5
   158  SymlinkMax:                               32
   159  CoalesceElementChunkSize:                 16
   160  InodeRecCacheEvictLowLimit:               10000
   161  InodeRecCacheEvictHighLimit:              10010
   162  LogSegmentRecCacheEvictLowLimit:          10000
   163  LogSegmentRecCacheEvictHighLimit:         10010
   164  BPlusTreeObjectCacheEvictLowLimit:        10000
   165  BPlusTreeObjectCacheEvictHighLimit:       10010
   166  CreatedDeletedObjectsCacheEvictLowLimit:  10000
   167  CreatedDeletedObjectsCacheEvictHighLimit: 10010
   168  DirEntryCacheEvictLowLimit:               10000
   169  DirEntryCacheEvictHighLimit:              10010
   170  FileExtentMapEvictLowLimit:               10000
   171  FileExtentMapEvictHighLimit:              10010
   172  EtcdEnabled:                              false
   173  EtcdEndpoints:                            127.0.0.1:2379
   174  EtcdAutoSyncInterval:                     1m
   175  EtcdCertDir:                              /etc/ssl/etcd/ssl/
   176  EtcdDialTimeout:                          10s
   177  EtcdOpTimeout:                            20s
   178  MetadataRecycleBin:                       false
   179  SMBUserList:                              swift
   180  SMBMapToGuest:                            # One of Never, Bad User, Bad Password, or Bad Uid (case insensitive)... defaults to Never
   181  SMBNetBiosName:                           # Defaults to `hostname -s` (i.e. short host name)
   182  
   183  [SMBUsers]
   184  swift:                                    c3dpZnQ= # base64.standard_b64encode("swift")
   185  
   186  [JSONRPCServer]
   187  TCPPort:                 12345
   188  FastTCPPort:             32345
   189  DataPathLogging:         false
   190  Debug:                   false
   191  RetryRPCPort:            32356
   192  RetryRPCTTLCompleted:      10m
   193  RetryRPCAckTrim:         100ms
   194  RetryRPCDeadlineIO:        60s
   195  RetryRPCKeepAlivePeriod:   60s
   196  MinLeaseDuration:        250ms
   197  LeaseInterruptInterval:  250ms
   198  LeaseInterruptLimit:        20
   199  
   200  [Logging]
   201  LogFilePath:       proxyfsd.log
   202  TraceLevelLogging: none
   203  DebugLevelLogging: none
   204  LogToConsole:      false
   205  
   206  [EventLog]
   207  Enabled:          false
   208  BufferKey:        1234
   209  BufferLength:     1048576 # 1MiB
   210  MinBackoff:       1us
   211  MaxBackoff:       2us
   212  DaemonPollDelay:  10ms
   213  DaemonOutputPath:         # If blank, os.Stdout is used
   214  
   215  [Stats]
   216  UDPPort:      48125 # To use nc to test, use "TCPPort" rather than UDPPort.
   217  BufferLength: 1000
   218  MaxLatency:   1s
   219  
   220  [StatsLogger]
   221  Period:  10m
   222  Verbose: true
   223  
   224  [HTTPServer]
   225  TCPPort:           15346
   226  JobHistoryMaxSize:     5
   227  
   228  [ProxyfsDebug]
   229  ProfileType:     None
   230  DebugServerPort: 6060