mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Add SRV to documentation
parent
960bcacb21
commit
ce69a55fd6
10
SRV-Service-Discovery.md
Normal file
10
SRV-Service-Discovery.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
## Filer server
|
||||
|
||||
The Filer server also accepts SRV records (prepended with `dnssrv+`) to discover the master server:
|
||||
|
||||
```bash
|
||||
weed filer -master=dnssrv+_http._tcp.seaweedfs-master.consul
|
||||
```
|
||||
where `_http._tcp.seaweedfs-master.consul` is a DNS SRV record that returns the HTTP port of the master (or, alternatively, the gRPC port minus 10000).
|
||||
|
||||
The SRV record may return several master instances in order to join a HA setup. A comma-separated list of SRV records pointing to several master instances **is not valid**.
|
Loading…
Reference in a new issue