Swift/Server layout
ArielGlenn (Talk | contribs) m (→ms-be) |
ArielGlenn (Talk | contribs) (→ms-be) |
||
| Line 18: | Line 18: | ||
The back end storage nodes are running on [[Hardware_Disambiguation|Dell R720xd]] machines with: | The back end storage nodes are running on [[Hardware_Disambiguation|Dell R720xd]] machines with: | ||
* twelve 2TB disks | * twelve 2TB disks | ||
| − | * two ssds | + | * two ssds 150GB each (on some hosts) |
* 48GB RAM | * 48GB RAM | ||
For hosts with ssds, the disks are partitioned such that | For hosts with ssds, the disks are partitioned such that | ||
| − | * the last two disks have a | + | * the last two disks have a 55GB partition for /, set up with software RAID 1, ext3 |
| − | * the last two disks have a small ( | + | * the last two disks have a small (1GB) partition for swap |
| − | * the last two disks have a small ( | + | * the last two disks have a small (93GB) partition formatted for account and container storage |
* all other disks are formatted with one large XFS partition for swift object storage. | * all other disks are formatted with one large XFS partition for swift object storage. | ||
| Line 32: | Line 32: | ||
* the first two disks have a 60GB partition for /, set up with software RAID 1, ext3 | * the first two disks have a 60GB partition for /, set up with software RAID 1, ext3 | ||
* the first two disks have a small (1G) partition for swap | * the first two disks have a small (1G) partition for swap | ||
| − | * the first two disks have a large (the rest, or ~1. | + | * the first two disks have a large (the rest, or ~1.95T) partition formatted for object storage |
* all other disks are formatted with one large XFS partition for swift object storage. | * all other disks are formatted with one large XFS partition for swift object storage. | ||
Latest revision as of 14:21, 22 November 2012
[edit] Swift Server Hardware, Partitioning, and OS information
There are two types of servers involved in a Swift cluster - the front end proxy (ms-fe, standing for media store front end) and the back end storage node (ms-be).
[edit] ms-fe
The front end proxies are running on high performance misc servers built with:
- two 250GB disks
- 16GB RAM
The disks are partitioned using the raid1-250G-1partition.cfg partman recipe:
- 200GB partition on each disk software RAID 1 for /, ext3
- the rest for two swap partitions (one on each disk)
[edit] ms-be
The back end storage nodes are running on Dell R720xd machines with:
- twelve 2TB disks
- two ssds 150GB each (on some hosts)
- 48GB RAM
For hosts with ssds, the disks are partitioned such that
- the last two disks have a 55GB partition for /, set up with software RAID 1, ext3
- the last two disks have a small (1GB) partition for swap
- the last two disks have a small (93GB) partition formatted for account and container storage
- all other disks are formatted with one large XFS partition for swift object storage.
The reason for this is that the ssds show up as /dev/sdm and /dev/sdn instead of /dev/sda and /dev/sdb, because of where they can be cabled up in the box.
Hosts without ssds are partitioned such that
- the first two disks have a 60GB partition for /, set up with software RAID 1, ext3
- the first two disks have a small (1G) partition for swap
- the first two disks have a large (the rest, or ~1.95T) partition formatted for object storage
- all other disks are formatted with one large XFS partition for swift object storage.
The partman recipe (ms-be-ssd.cfg or ms-be.cfg) only partitions the first or last two disks and doesn't create the XFS partition. Puppet partitions the rest.
The below applies only to previously installed hosts; these will soon be replaced.
The back end storage nodes are running on Dell C2100 machines with:
- twelve 2TB disks
- 48GB RAM
The disks are partitioned such that
- the first two disks have a small (1MB) partition for grub
- the first two disks have a 250GB partition for /, set up with software RAID 1, ext3
- the first two disks have a small (4G) partition for swap
- the first two disks have a large (the rest, or ~1.75T) partition formatted for object storage
- all other disks are formatted with one large XFS partition for swift object storage.
The partman recipe (raid1-2TB-1partition.cfg) only partitions the first two disks and doesn't create the XFS partition. Puppet partitions the rest.