Document how to get ssh access into CD testnets

This commit is contained in:
Michael Vines
2018-09-07 12:48:06 -07:00
parent b1b03ec13b
commit db825788fa
3 changed files with 27 additions and 5 deletions

View File

@ -116,7 +116,16 @@ build() {
startCommon() {
declare ipAddress=$1
test -d "$SOLANA_ROOT"
ssh "${sshOptions[@]}" "$ipAddress" "mkdir -p ~/solana ~/.cargo/bin"
ssh "${sshOptions[@]}" "$ipAddress" "
mkdir -p ~/solana ~/.cargo/bin
# Help other users of the machine locate network logs
[[ -d /tmp/solana/ ]] || {
mkdir /tmp/solana/
chmod go+w /tmp/solana/
}
ln -sfT ~/solana /tmp/solana/=
"
rsync -vPrc -e "ssh ${sshOptions[*]}" \
"$SOLANA_ROOT"/{fetch-perf-libs.sh,scripts,net,multinode-demo} \
"$ipAddress":~/solana/
@ -290,7 +299,7 @@ start() {
echo "Leader deployment took $leaderDeployTime seconds"
echo "Validator deployment (${#validatorIpList[@]} instances) took $validatorDeployTime seconds"
echo "Client deployment (${#clientIpList[@]} instances) took $clientDeployTime seconds"
echo "Logs in $netLogDir:"
echo "Network start logs in $netLogDir:"
ls -l "$netLogDir"
}