Ask Your Question
0

partition size guidelines for different nodes

asked 2020-01-23 20:00:26 -0600

happy75 gravatar image

Just wondering if there are any partition size guidelines for the different file systems for different nodes?

I have a 300GB disk for each of the node.

  1. for controller node, would giving 50Gb for / file system and 50Gb /var be enough?

I presume it's better to have different filesystems for / and /var because all the openstack logs go under /var/log/....

  1. for compute node (where all the vm will reside), which filesystem do all the vm (i.e. the vm created by the users) go?

  2. partition size for network and storage node?

I couldn't seem to find any guideline doco on the openstack website (i know it depends very much on the environment but there should be some guideline)....

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-01-24 00:32:18 -0600

updated 2020-01-24 00:35:21 -0600

I guess there are no guidelines because everybody needs something different. To understand what storage (and CPUs, and RAM, and networking, ....) you need, you have to ask yourself a number of questions that only you can answer, because only you know your precise requirements. The architecture guide makes recommendations what questions you should ask.

Here are my feeble attempts at commenting what you want to know. However, the architecture guide is much more thorough:

By default, /var contains the database and, more importantly, ephemeral instance storage. Either make this partition very large, or store the database and instance disks somewhere else (you will have to configure your database and Nova accordingly). Think of the space required by 100 VMs.

Of course, you could opt for running VMs on volumes rather than ephemeral storage, in which case you only need to think of the database and 50GB should be plenty. To ensure the logs don't fill /var, use logrotate.

A separate storage node is only needed if you use Cinder's LVM volume driver. In this case, / and /var don't require much, but you need to have space available for the volume groups that contain the volumes.

If you want to create a separate network node at all, a small disk should be sufficient. No need to separate /var in my opinion.

edit flag offensive delete link more

Comments

thanks :-) I will read the architecture guide.

happy75 gravatar imagehappy75 ( 2020-02-04 19:00:06 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-01-23 20:00:26 -0600

Seen: 40 times

Last updated: Jan 24