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

[dualtor][active-active] Add doc for show command #1304

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

lolyu
Copy link
Contributor

@lolyu lolyu commented Mar 27, 2023

Add show mux status and show mux config section to dualtor active-active hld.

Signed-off-by: Longxiang Lyu lolv@microsoft.com

@lolyu lolyu requested review from zjswhhh and yxieca March 27, 2023 11:30
@lolyu lolyu force-pushed the dualtor_aa_hld_show_mux branch from f8248f0 to 1b82e82 Compare March 27, 2023 11:31
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
@lolyu lolyu force-pushed the dualtor_aa_hld_show_mux branch from 1b82e82 to 530f618 Compare March 28, 2023 00:22
* `state`: mux mode configuration
* `auto`: enable failover logics for both self and peer
* `manual`: disable failover logics for both self and peer
* `active`: if current mux status is not `active`, toggle the mux to `active` once, then work in `manual` mode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"then work in manual mode"

-- is this accurate? If periodical gRPC querying find server state == standby, wouldn't we toggle again to active?

Copy link
Contributor Author

@lolyu lolyu Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"then work in manual mode"

-- is this accurate? If periodical gRPC querying find server state == standby, wouldn't we toggle again to active?

Yes, thr ToR will toggle to active in your case, this is the reaction to the mux hardware. But after config mux active or standby, the ToR will not react to any of the failover scenarios, so it will behave like it is in manual mode.

@lolyu lolyu requested a review from zjswhhh March 30, 2023 00:35
@yxieca yxieca merged commit 931a1ed into sonic-net:master Mar 30, 2023
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

Successfully merging this pull request may close these issues.

3 participants