After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 141 of 317

Chapter 6 131 4. Once this has finished, we need to copy account.ring.gz, container.ring.gz, and object.ring.gz over to our new storage node and all other storage nodes: scp *.ring.gz $STORAGE_LOCAL_NET_IP:/tmp # And scp to other storage nodes Storage Node 1. We first move the copied account.ring.gz, container.ring.gz, and object. ring.gz files to the /etc/swift directory and ensure they're owned by swift: sudo mv /tmp/*.ring.gz /etc/swift sudo chown swift:swift /etc/swift/*.ring.gz 2. We can now prepare the storage on this node, as described in the first recipe of this chapter, Preparing drives for OpenStack Storage. 3. Edit the /etc/swift/swift.conf file, so that the [swift-hash] section matches that of all other nodes, as follows: [swift-hash] # Random unique string used on all nodes swift_hash_path_suffix = QAxxUPkzb7lP29OJ 4. We now need to create the appropriate /etc/rsyncd.conf file with the following contents: uid = swift gid = swift log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid address = 172.16.0.4 [account] max connections = 2 path = /srv/node/ read only = false lock file = /var/lock/account.lock [container] max connections = 2 path = /srv/node/ read only = false lock file = /var/lock/container.lock [object] max connections = 2 path = /srv/node/ read only = false lock file = /var/lock/object.lock www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook