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

[WIP] Support direct connectivity to cluster nodes and simplify SSH configuration #397

Closed
wants to merge 8 commits into from

Conversation

@snh
Copy link
Member

@snh snh commented Apr 27, 2018

Parent feature
github/ghes-infrastructure#376

This is a work in progress. Further details and tests to come...

/cc @github/backup-utils

@snh snh changed the title [WIP] Support direct connectivity to cluster nodes [WIP] Support direct connectivity to cluster nodes and simplify SSH configuration Apr 30, 2018
snh added 7 commits Apr 30, 2018
Unifies the approach taken by the backup scripts (which doesn't get the
hostname from the command-line), and restore (which do).
@snh snh force-pushed the snh/cluster-direct branch from 84d4eed to 99cf06d Apr 30, 2018
@@ -75,7 +60,7 @@ for hostname in $hostnames; do

# Transfer all data from the user data directory using rsync.
ghe-rsync -avz \
-e "ssh -q $opts -p $port $ssh_config_file_opt -l $user" \
-e "ghe-ssh" \

This comment has been minimized.

@buckelij

buckelij Jun 11, 2018
Member

This is great . $port is currently derived from ssh_port_part, which returns port 22 by default. Switching this to ghe-ssh will prevent some cases where ghe-backup-pages (and some other scripts) try to connect to the wrong port.

@chefsaroar

This comment was marked as spam.

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

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.