wenxueliu/autodeploy-swift
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
this is a shell script for deploying swift automatable, current it's a proxy node and several storage nodes.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published