DS
Size: a a a
DS
DS
VG
DS
IB
VG
IB
VG
VG
IB
VG
MA
SZ
VG
MA
NV
NV
IB
NV
ЕР
box.cfg {
listen = 3301,
log = '/var/log/project/tarantool.log',
replication = {'replicator:password@111.111.111.1:3301', 'replicator:password@111.111.111.2:3301'},
read_only = false
}
box.schema.user.create('replicator', { password = 'password', if_not_exists = true })
box.schema.user.grant('replicator', 'replication', nil, nil, { if_not_exists = true })
box.schema.user.create('project', { password = 'password', if_not_exists = true })
box.schema.user.grant('project', 'create,alter,drop,execute,read,write', 'universe', nil, { if_not_exists = true })