From 28702c086b4b01b30384681b86495da0387275a4 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 8 Dec 2020 14:20:24 -0800 Subject: [PATCH] Updated Production Setup (markdown) --- Production-Setup.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Production-Setup.md b/Production-Setup.md index e1d0f15..9c5cfd4 100644 --- a/Production-Setup.md +++ b/Production-Setup.md @@ -125,9 +125,14 @@ Additional notes: ## Setup multiple filers -If using shared filer store, the filer itself is stateless. You can create multiple peer filers. The metadata and data are all shared. +If using shared filer store, the filer itself is stateless. You can create multiple peer filers. The metadata and data are all shared. This is recommended for production. -If using default embedded filer store, the metadata is not shared. The filers are unaware of each other, but they share the same SeaweedFS object store. So even the file data sits on the same cluster, one filer's data are not addressable by other filers. +If you are also using `weed mount`, you would also need to add `-peers` so that all meta data updates can be sent to the `weed mount`. +``` +weed filer -ip=xxx.xxx.xxx.xxx -master=ip1:9333,ip2:9333,ip3:9333 -peers=filer1:8888,filer2:8888 +``` + +If using default embedded filer store, the metadata is not shared. The filer will use the `-peers` information to asynchronously replicate the meta data changes. # Additional components