Production Environment server hard disk partition solution, environment hard disk partition Solution

Source: Internet
Author: User

Production Environment server hard disk partition solution, environment hard disk partition Solution

Server role

Partition recommendations

Advantages

 

RAID Solution

Single Server

Such as 8 GB memory, GB hard disk

 

 

/Boot 100-200 M

Swap 16 GB, memory size 8 GB x 2

/80G

/Var 20G (or not)

/Data 180 GB (storing web and db data)

 

Data disks and system disks are separated to facilitate maintenance in case of problems.

Depending on data and performance requirements, the RAID 5 compromise is generally adopted.

Server Load balancer (such as LVS)

/Boot 100-200 M

1-2 times of swap memory

/

Simple and Convenient. Only a small amount of data is forwarded.

The data size is small and the importance is high. RAID1 can be used.

RS server under server Load balancer

/Boot 100-200 M

1-2 times of swap memory

/

It is simple and convenient, because there are multiple machines and there are low data requirements.

Large data volume, low importance, performance requirements, low data requirements, RAID0 can be used

Database Server

Mysql and oracle

For example, 16/32 GB memory

 

 

/Boot 100-200 M

Swap 16 GB, 1 time of memory

/100 GB

/Data surplus (store db data)

Data disks and system disks are separated to facilitate maintenance when problems occur and to maintain data integrity.

The master database can adopt raid10/raid5 Based on Data and performance requirements, and the slave database can adopt raid0 to Improve the Performance (when read/write splitting is enabled .)

Storage Server

/Boot 100-200 M

1-2 times of swap memory

/100 GB

/Data (store data)

This server should not have too many partitions. Backup only, with low performance requirements. Large capacity.

Available sata disks, RAID 5

Shared storage servers (such as NFS)

/Boot 100-200 M

1-2 times of swap memory

/100 GB

/Data (store data)

This server should not have too many partitions. NFS sharing requires more performance than storage.

You can use raid5, raid10, or even raid0 based on performance and access requirements (there must be a high-availability or dual-write solution)

Monitoring Server

Cacti, nagios

/Boot 100-200 M

1-2 times of swap memory

/

 

Average importance and data requirements.

Single disk or dual disk RAID 1. Three disks are RAID 5. You only need to add disks to check the capacity.

The basic information can be divided into three parts, and then you can determine whether to add/data partitions as needed.

This article refer to from "Li Dao's blog", the original address http://lidao.blog.51cto.com/3388056/1913264

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.