SHARE
TWEET

Untitled

a guest Dec 23rd, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [bastida@yd-ucpappl201 ~]$ cat /etc/tarantool/instances.available/app-4301.lua
  2. #!/usr/bin/env tarantool
  3.  
  4. -- Frontend tarantool configuration
  5. local cfg = {
  6.     servers = {
  7.         { uri = [[yd-ucpdb201:4301]]; zone = [[0]]; };
  8.         { uri = [[yd-ucpdb201:4302]]; zone = [[0]]; };
  9.         { uri = [[yd-ucpdb201:4303]]; zone = [[0]]; };
  10.         { uri = [[yd-ucpdb201:4304]]; zone = [[0]]; };
  11.         { uri = [[yd-ucpdb201:4305]]; zone = [[0]]; };
  12.         { uri = [[yd-ucpdb201:4306]]; zone = [[0]]; };
  13.         { uri = [[yd-ucpdb201:4307]]; zone = [[0]]; };
  14.         { uri = [[yd-mtdb201:4301]]; zone = [[1]]; };
  15.         { uri = [[yd-mtdb201:4302]]; zone = [[1]]; };
  16.         { uri = [[yd-mtdb201:4303]]; zone = [[1]]; };
  17.         { uri = [[yd-mtdb201:4304]]; zone = [[1]]; };
  18.         { uri = [[yd-mtdb201:4305]]; zone = [[1]]; };
  19.         { uri = [[yd-mtdb201:4306]]; zone = [[1]]; };
  20.         { uri = [[yd-mtdb201:4307]]; zone = [[1]]; };
  21.     };
  22.     login = 'tester';
  23.     password = 'pass';
  24.     redundancy = 2;
  25.     binary = '127.0.0.1:4301';
  26.     monitor = false;
  27.     replication = true;
  28.     EXPIRE_TTL = 3600;
  29.     slab_alloc_arena = 0.45;
  30.     slab_alloc_factor = 1.06;
  31.     slab_alloc_minimal = 16;
  32.     wal_mode = "none";
  33.     username = 'www-data';
  34.     expire_tuple_per_item = 50;
  35.     expire_full_scan_time = 3600;
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top