Advertisement
Guest User

Untitled

a guest
Oct 16th, 2011
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. For every storage device in /srv/node on each node add entries to each ring:
  2.  
  3. export ZONE= # set the zone number for that storage device
  4. export STORAGE_LOCAL_NET_IP= # and the IP address
  5. export WEIGHT=100 # relative weight (higher for bigger/faster disks)
  6. export DEVICE=sdb1
  7. swift-ring-builder account.builder add z$ZONE-$STORAGE_LOCAL_NET_IP:6002/$DEVICE $WEIGHT
  8. swift-ring-builder container.builder add z$ZONE-$STORAGE_LOCAL_NET_IP:6001/$DEVICE $WEIGHT
  9. swift-ring-builder object.builder add z$ZONE-$STORAGE_LOCAL_NET_IP:6000/$DEVICE $WEIGHT
  10.  
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement