简体   繁体   English

创建带有区域openstack swift的戒指

[英]creating rings with regions openstack swift

I installed swift on a multi-node cluster by following instructions from http://docs.openstack.org/developer/swift/howto_installmultinode.html . 我按照http://docs.openstack.org/developer/swift/howto_installmultinode.html中的说明在multi-node cluster上安装了swift I wanted to add two regions to my swift installation. 我想在我的swift安装中添加两个regions I tried to build the ring with the command 我试图用命令建立戒指

swift-ring-builder account.builder add r1z1-$STORAGE_LOCAL_NET_IP:6002/$DEVICE $WEIGHT

but, this is not a valid command and in the man page of swift-ring-builder, I can find only swift-ring-builder account.builder add z1-$STORAGE_LOCAL_NET_IP:6002/$DEVICE $WEIGHT . 但是,这不是有效的命令,在swift-ring-builder的手册页中,我只能找到swift-ring-builder account.builder add z1-$STORAGE_LOCAL_NET_IP:6002/$DEVICE $WEIGHT How do I add the feature of regions (implemented since version 1.9 of swift)? 如何添加区域功能(从Swift 1.9版本开始实施)?

I solved the problem. 我解决了问题。 I actually had installed swift from ubuntu repositories on Ubuntu 12.04 . 我实际上已经从Ubuntu 12.04上的ubuntu存储库安装了swift The problem is that only swift 1.4.8 is supported from ubuntu repositories. 问题是ubuntu存储库仅支持swift 1.4.8 To upgrade to the latest version, run the commands sudo add-apt-repository cloud-archive:icehouse and then, sudo apt-get dist-upgrade && sudo apt-get update 要升级到最新版本,请运行命令sudo add-apt-repository cloud-archive:icehouse ,然后执行sudo apt-get dist-upgrade && sudo apt-get update

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM