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

Start to document the saio setup a bit #310

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions saio/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
You need to have cloned ProxyFS into your GOPATH (i.e. $GOPATH/src/github.com/swiftstack/ProxyFS) for this to work

vagrant up

Then `vagrant ssh` and you can start services:

`start_and_mount_pfs` - starts Swift (including NoAuth Proxy), ProxyFS, Samba, and NFS... and performs an SMB and NFS mount of CommonVolume
`start_proxyfs_and_swift` - starts Swift (including NoAuth Proxy) and ProxyFS
`start_swift_only` - starts Swift (including NoAuth Proxy)
`unmount_and_stop_pfs` - stops any of the above

The swift source is installed from a git clone in /home/swift/swift

The vagrant user has some env setup to help you
... but expect most things to require "sudo -E"
1 change: 1 addition & 0 deletions saio/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# will collide in the contents of the $GOPATH/bin (only executables, not libraries)

Vagrant.configure(2) do |config|
config.ssh.forward_agent = true
config.vm.box = "centos-74-minimal-20171228"
config.vm.box_url = "https://o.swiftstack.org/v1/AUTH_misc/vagrant_boxes/centos-74-minimal-20171228.box"
config.vm.provider :virtualbox do |vb|
Expand Down
2 changes: 2 additions & 0 deletions saio/bin/start_and_mount_pfs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -x
Copy link
Collaborator

Choose a reason for hiding this comment

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

Still do not prefer this in there to be honest...


# A simple script to start the services and mount the sample mount point
# The PATH, etc should already be setup by systemctl environment

Expand Down