Can anyone tell me in the course, it is possible to override the parameters of individual box.cfg on a running instance. For example, add a replica, for several days I have been trying to deploy three replicas on three hosts via the docker service stack. When I raise my hands on each server, everything works, through deploy they do not see each other and fall. I've tried all sorts of ways. hung up the endpoint on the target nodes, when requested, it gives the ip of the machine on which the container rises, if the ip matches one of those indicated in SEED, then substitutes the internal ip of the container instead (otherwise it cannot connect to itself). In theory, it all works as I described, but there are suspicions that everything is not much different, I suppose that the problem is that before the declaration of box.cfg the instance does not reserve the address. Alas, I can not go inside the container because it cannot rise. I got the idea that if all three nodes are declared at the minimum settings and as soon as they rise to listen to the subnet, as soon as the node finds another, it will write it to replication and override box.cfg. Correct me please who had experience.
overriding configuration on a running tarantool instance
157 Views Asked by павел гоцалюк At
1
There are 1 best solutions below
Related Questions in LUA
- lua udp not working between computers
- Guitar Hero-like Timing Mechanic
- Call download lua script in app
- Erlang spawning large amounts of C processes
- does redis cluster support transactions ?
- I am writing an IVR using Lua and want to run xml script in between
- How to read a Bunch of files in a directory in lua
- How to pause a Lua script?
- lua 5.2.3 source lstring.c function luaS_resize
- Torch Lua: Why is my gradient descent not optimizing the error?
- How can I convert a character code to a string character in Lua?
- LuaInterface issue with vs 2015 RC project
- Storing Lua callback functions
- Compile Lua Code and store the bytecode in a new file
- Is there something wrong with my onRelease call?
Related Questions in DATABASE-REPLICATION
- RavenDB - null reference exception after resolving conflict?
- How to handle sequences in Bucardo Postgresql multi master
- Replication Data Issue
- How to do sharding and replication of Orient DB database
- Cassandra Table needs a lot of Storage space
- Remove replication from an MS Access Database?
- Can't start postgresql replication
- Looking for a substitute to access replication
- Create replica set for MongoDB in Linux
- Replication Issues for client machines connecting to Master in mysql
- How to get time offset between SQL Server master and replica?
- Switch MySQL slave to master - BINLOG_FORMAT
- MongoDB how to become master
- multimaster mysql replication position
- Sql Server Replication Errror: Login failed for user 'NT AUTHORITY\ANONYMOUS
Related Questions in REPLICASET
- mongodb : could not find member to sync from
- How to start a replica set without using localhost?
- How to setup a MongoDB replica set in EC2 US-WEST with only two availability zones
- Mongodb replica set questions
- Mongodb created replica set string showing exception
- Create replica set for MongoDB in Linux
- MongoDB secondary replica does not have collections as in primary
- Can't connect to secondary members in a replica Set
- Mongoose with ReplicaSet on Atlas
- mongo replica set between local server and public server
- Can MongoDB instance be a member of multiple replica sets?
- Are there any way to check that master/primary not available in pymongo
- How can I connect a mongodb replicaset using mongoengine?
- ReplicaSet Info in MongoDB ConnectionString
- Mongoose - Get replica set primary
Related Questions in TARANTOOL
- Why I cannot type assert empty interface?
- Connection refused [Tarantool + java client]
- Can I use Tarantool instead of Redis?
- Tarantool Data Modelling Relationships
- tarantool queue attempt to index global 'queue'
- overriding configuration on a running tarantool instance
- How to create sharded-queue tube the right way?
- How to implement default config section for a custom Tarantool Cartridge role?
- delete() from the script and the interpretator gives a different result. Why?
- How to implement pagination for multikey indexes in Tarantool?
- Sending messages to handler function fibers in TCP server
- Can I yield during an transaction in Tarantool?
- How to make a fault tolerant Tarantool cluster
- How to remove a field in Tarantool space?
- Tarantool does not start due to disk write error
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Some of the
box.cfgparameters are dynamic. For example, thebox.cfg{listen=}. You can set this one from the Lua code as you wish. In your case, if the container gets its IP address later, you need to specify only the port inlisten. This way, Tarantool will listen on all possible interfaces.The
replication_sourceis a bit trickier. You can set it dynamically, but your first (initializing) call tobox.cfgshould be with thereplication_source. This is because all instances that are initialized without this parameter will create their own replicaset, and it will make it impossible to join them to another replicaset.You can read more about Tarantool replication architecture here: https://www.tarantool.io/en/doc/latest/book/replication/repl_architecture/