one_copyset_two_replicas.tibdg

# Data grid where each copyset has 2 replicas
grid create copyset_size=2

table create t1 key long
column create t1 col2 string col3 opaque

copyset create set1
node create --copyset set1 --dir ./s1_data s1
node create --copyset set1 --dir ./s2_data s2
statekeeper create --dir ./k1_data k1
proxy create p1

# Show results
status
table list
copyset list

Related concepts