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

Does LSC support high availability? #309

Open
sht33 opened this issue Nov 13, 2024 · 8 comments
Open

Does LSC support high availability? #309

sht33 opened this issue Nov 13, 2024 · 8 comments
Labels

Comments

@sht33
Copy link

sht33 commented Nov 13, 2024

Does LSC support high availability, such as master-master mode or master-slave mode?

@coudot
Copy link
Member

coudot commented Nov 13, 2024

You can install a connector on two nodes and have a cron that runs it on both nodes (but not at the same time)

@sht33
Copy link
Author

sht33 commented Nov 13, 2024

You can install a connector on two nodes and have a cron that runs it on both nodes (but not at the same time)

I have two nodes, Node 1 and Node 2, both of which have LDAP installed and are set up as master and slave. Node 1 also has LSC installed to synchronize LDAP data to the AD domain. Now I want to make LSC highly available. Do I just need to install an LSC on Node 2?

@coudot
Copy link
Member

coudot commented Nov 13, 2024

Yes, but if your master is not available, LSC will not be able to write in the slave, unless you promote slave into master.

@sht33
Copy link
Author

sht33 commented Nov 13, 2024

Yes, but if your master is not available, LSC will not be able to write in the slave, unless you promote slave into master.

How to avoid synchronizing duplicate data from ldap to ad domain

@coudot
Copy link
Member

coudot commented Nov 13, 2024

LSC will always compare data before modifying them.

Just run LSC at different hours on each node, depending on the frequency you desire

@sht33
Copy link
Author

sht33 commented Nov 13, 2024

LSC 在修改数据之前总是会进行比较。

只需在每个节点上根据所需的频率在不同的时间运行 LSC

Thank you so much

@sht33
Copy link
Author

sht33 commented Nov 13, 2024

LSC will always compare data before modifying them.

Just run LSC at different hours on each node, depending on the frequency you desire

How to set different running frequencies on different nodes?Is it set in the lsc.xml configuration file? Or is it set using crontab -e?

@soisik
Copy link
Contributor

soisik commented Nov 19, 2024

Hello @sht33,

The frequencies of you task is indeed usually set using crontab -e -u lsc, so you just have to pick a different time for the second node.

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

No branches or pull requests

3 participants