wenxueliu / autodeploy-swift Goto Github PK
View Code? Open in Web Editor NEWthis is a shell script for deploying swift automatable, current it's a proxy node and several storage nodes.
this is a shell script for deploying swift automatable, current it's a proxy node and several storage nodes.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.