mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Update ft.md
This commit is contained in:
parent
87ee72ba05
commit
5d986fe955
@ -2,7 +2,7 @@
|
||||
|
||||
To minimize the single point of failure, NATS Streaming server can be run in Fault Tolerance mode. It works by having a group of servers with one acting as the active server (accessing the store) and handling all communication with clients, and all others acting as standby servers.
|
||||
|
||||
It is important to note that is not possible to run Nats Stream as Fault Tolerance mode and Clustering mode at the same time.
|
||||
It is important to note that is not possible to run Nats Streaming as Fault Tolerance mode and Clustering mode at the same time.
|
||||
|
||||
To start a server in Fault Tolerance (FT) mode, you specify an FT group name.
|
||||
|
||||
@ -12,4 +12,4 @@ Here is an example on how starting 2 servers in FT mode running on the same host
|
||||
nats-streaming-server -store file -dir datastore -ft_group "ft" -cluster nats://localhost:6222 -routes nats://localhost:6223 -p 4222
|
||||
|
||||
nats-streaming-server -store file -dir datastore -ft_group "ft" -cluster nats://localhost:6223 -routes nats://localhost:6222 -p 4223
|
||||
```
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user