Git Product home page Git Product logo

autodeploy-swift's Introduction

TEST : Linux proxy1 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux

Note:exec as root

1)you create ring, the ip is only storage ip.
   sudo ./ring 
2)you should scp the ring files to all node under /etc/swift directory. wether storage node or proxy node.
   scp  account.ring.gz container.ring.gz object.ring.gz  <username>@<IP>:/etc/swift

1. if you want a node run storage only 
   Start:
   sudo ./storage
   #username and ip is the every node in the cluster
   
   sudo ./start_storage

   Stop:
   sudo ./stop_storage

   Remove:
   sudo ./rm_storage

2. if you want a node run only proxy
   Start:
   #as some bugs about cffi, you have to install proxy two times
   sudo ./proxy
   sudo ./start_proxy
   #username and ip is the every node in the cluster

   Stop:
   sudo ./stop_proxy

   Remove:
   sudo ./rm_proxy

3. if you want a node run both proxy and storage service # haven't test
   Start:
   sudo ./proxy
   sudo ./storage
   #username and ip is the every node in the cluster

   sudo ./start_proxy
   sudo ./start_storage

   Stop:
   sudo ./stop_all

   Remove:
   sudo ./rm_all


super admin: admin admin admin
admin : test test tset
user1 : test1 test1 test1
user2 : test2 test2 test2

network : you must set first
eth0  external network
eth1  internal network

if you reboot:
    proxy node: sevice memcached start  sudo ./start_proxy
	storage node: sudo ./start_storage

after install is ok. refer to http://www.cnblogs.com/fczjuever/p/3224022.html 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.