Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [bastida@yd-ucpappl201 ~]$ cat /etc/tarantool/instances.available/app-4301.lua
- #!/usr/bin/env tarantool
- -- Frontend tarantool configuration
- local cfg = {
- servers = {
- { uri = [[yd-ucpdb201:4301]]; zone = [[0]]; };
- { uri = [[yd-ucpdb201:4302]]; zone = [[0]]; };
- { uri = [[yd-ucpdb201:4303]]; zone = [[0]]; };
- { uri = [[yd-ucpdb201:4304]]; zone = [[0]]; };
- { uri = [[yd-ucpdb201:4305]]; zone = [[0]]; };
- { uri = [[yd-ucpdb201:4306]]; zone = [[0]]; };
- { uri = [[yd-ucpdb201:4307]]; zone = [[0]]; };
- { uri = [[yd-mtdb201:4301]]; zone = [[1]]; };
- { uri = [[yd-mtdb201:4302]]; zone = [[1]]; };
- { uri = [[yd-mtdb201:4303]]; zone = [[1]]; };
- { uri = [[yd-mtdb201:4304]]; zone = [[1]]; };
- { uri = [[yd-mtdb201:4305]]; zone = [[1]]; };
- { uri = [[yd-mtdb201:4306]]; zone = [[1]]; };
- { uri = [[yd-mtdb201:4307]]; zone = [[1]]; };
- };
- login = 'tester';
- password = 'pass';
- redundancy = 2;
- binary = '127.0.0.1:4301';
- monitor = false;
- replication = true;
- EXPIRE_TTL = 3600;
- slab_alloc_arena = 0.45;
- slab_alloc_factor = 1.06;
- slab_alloc_minimal = 16;
- wal_mode = "none";
- username = 'www-data';
- expire_tuple_per_item = 50;
- expire_full_scan_time = 3600;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement