EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: β2020-07-05 07:43 PM . Last Modified: β2024-04-03 02:33 AM
Hi Team!
I need your advice about disk partitioning when we need to install DCO on Red Hat.
As per manual disk space should be parted like this:
Total size is 100 Gb.
How I need to change this disk space in case I have 400 Gb disk?
Should I expand all disks propotionally or I need expand only /var/lib/pgsql for example?
What is the best practice? Please advice.
(CID:144312273)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: β2020-07-05 07:43 PM . Last Modified: β2024-04-03 02:33 AM
Hello Valentin.
Did you use logical volume manager when the above partition layout was created? This decision is made when the CentOS or Redhat host is installed.
If yes, then expanding filesystems at a later time is possible. If not, then its less likely you'll be able to expand the filesystems without having to re-install DCO on a server with the modified partition layout.
Regards
Greg Sterling
(CID:144312345)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: β2020-07-05 07:43 PM . Last Modified: β2024-04-03 02:33 AM
Hello Valentin.
Did you use logical volume manager when the above partition layout was created? This decision is made when the CentOS or Redhat host is installed.
If yes, then expanding filesystems at a later time is possible. If not, then its less likely you'll be able to expand the filesystems without having to re-install DCO on a server with the modified partition layout.
Regards
Greg Sterling
(CID:144312345)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: β2020-07-05 07:43 PM . Last Modified: β2024-04-03 02:33 AM
Hi Greg!
Thanks for your answer!
My question is about initial DCO installation from scratch.
What I should say to customer's Linux administrator about disk size?
I'm worry about useful resource usage and afraid situations when we have too much space for ETL and not enough space for DB, for example.
Playing with filesystem on production server is not best option I guess. As well as re-install because of initial mistake.
(CID:144312416)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: β2020-07-05 07:43 PM . Last Modified: β2024-04-03 02:33 AM
I don't think there is an official "best practice" here as the requirements are sometimes dictated by the customers operating systems policies.
You are correct the user guide makes the following recommendations:
That being said, if I run a default installation of DCO on CentOS using our iso you'll end up with something like this:
In the above default layout the customer is not defining specific partitions for /opt/jboss-as, and /var/lib/pgsql and so on. In this case if you define a 400GB disk, most of the disk space would remain on the / filesystem and would be available to all of the directories mentioned in the user guide.
There are a couple of reasons to consider defining specific partitions.
If deployed as one disk with the above directories all under the / filesystem, then DCO, Postgres, and the operating system are all sharing/accessing the same disk.
I have worked with customers which require the partitions be split out, others not.
I can tell you the /var/lib/pgsql directory has the postgres database on it so it will grow as your customers configuration grows. /data/backup is the default location for DCO backup files, so if the solution is large this directory could consume a lot of disk space, so make sure if needed you define a cleanup policy in the backups settings in the web client. /var/log contains OS log files and some postgres/dco logs, but most of the dco logs are under /opt/jboss-as
Hope this helps
GregS
(CID:144312427)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: β2020-07-05 07:44 PM . Last Modified: β2024-04-03 02:33 AM
Thank you very much!
(CID:144312438)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: β2020-07-05 07:44 PM . Last Modified: β2023-10-22 01:54 AM
This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.