Created
March 5, 2015 17:18
-
-
Save ninnemana/f2a969ae86b44a54280e to your computer and use it in GitHub Desktop.
FoundationDB Cluster Startup Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Get Packages | |
echo Get Packages | |
gsutil cp gs://fdb/foundationdb-clients_3.0.7-1_amd64.deb . | |
gsutil cp gs://fdb/foundationdb-server_3.0.7-1_amd64.deb . | |
# Install FoundationDB | |
echo Install FoundationDB | |
sudo dpkg -i foundationdb-server_3.0.7-1_amd64.deb foundationdb-clients_3.0.7-1_amd64.deb | |
# Copy Cluster file from Cloud Storage | |
echo Copy cluster file from Cloud Storage | |
gsutil cp gs://fdb/fdb.cluster /etc/foundationdb/fdb.cluster | |
# Restart FoundationDB | |
echo Restart foundationdb | |
sudo service foundationdb restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Client
Server