Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the needed ifconfig.txt? #3

Open
tsukifq opened this issue Aug 26, 2023 · 1 comment
Open

What is the needed ifconfig.txt? #3

tsukifq opened this issue Aug 26, 2023 · 1 comment

Comments

@tsukifq
Copy link

tsukifq commented Aug 26, 2023

I have builed rundb and rundl using makefile. When I try to run rundb, an assert cnt == g_total_node_cnt failed because cnt is the number of lines of ifconfig.txt file, but I don't know what is the content of the needed ifconfig.txt. I assume it isn't the output of ifconfig command.

@smog1995
Copy link

I have builed rundb and rundl using makefile. When I try to run rundb, an assert cnt == g_total_node_cnt failed because cnt is the number of lines of ifconfig.txt file, but I don't know what is the content of the needed ifconfig.txt. I assume it isn't the output of ifconfig command.

The host address you own for each action in ifconfig.txt
Suppose you enter three lines representing three hosts,
You can set the first two as servers (databases) and the last as clients (load query generation).
First you have to set NODE_CNT to 2 and CLIENT_NODE_CNT to 1 in config.h
Then at runtime, the first host needs to run the command: ./rundb-nid0
The second host is ./rundb-nid1
The third host is ./runcl-nid2 (The client must be opened last).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants