Expected PTA partition setup?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Expected PTA partition setup?

L2 Linker

We've recently run a RUN_DIAGNOSTICS on a customer's PTA server. The output included this:

 

[P004] Analyzing PTA Server disk space...   [ WARN ] ( Unexpected partition setup found )

 

What is the expected partition setup for a clean PTA 13.0 installation? When such an error is shown, I would expect there to be an actual template or recommendation for partitioning.

 

I can't find any documentation regarding how to partition your Linux-server for a PTA installation. Many organizations with a established Linux operations environment have a predefined setup for Linux-partitioning, and without guidelines/requirements from CyberArk it's pretty difficult to know where the required 500GB disk space is supposed to be made available when provisioning a server.

 

 

5 REPLIES 5

L7 Applicator

I was curious about how that check actually works, so dug into the code. This is the interesting part:

partitionCount=$( df | grep -cvE "^tmpfs") if [ $partitionCount -ne 4 ]; then errMsg+="( Unexpected partition setup found ) "; result=1 fi

This means that the RUN_DIAGNOSTICS command lists all file-systems on the machine, excluding all filesystems whose name starts with "tmpfs", and unless there are exactly 3 entry (the header of the "df" command always appears), throw an error.

 

On my lab machine with RHEL 8 and the default non-encrypted partition setup there are 5 such filesystems (and the header of the "df" command), so the partitionCount variable would be 6. I think CyberArk just needs to modify this diagnostic check to better validate if the partition setup is *actually* a potential problem.

Thanks for your answer, BernhardB!

 

That check seems a bit too simple for real world situations by me. At least now after v13.0 where the RHEL8 server is expected to a part of customers' regular operations for patching and monitoring. Most customers I work with have multiple partitions on multiple mount points. This also requires a bit more specific information regarding where the required 500GB of disk place should be partitioned/mounted. No use have 500GB free on "/", if the customer mounts "/var/", "/var/log" and/or "/var/opt" on small partitions without access to the 500GB.

L1 Bithead

Hello,

I am kind of new to linux and currently installing the pta 13.2 version manually on RHEL 8.7, documentation states 500GB is required but to what folder should it be assigned?

If you don't want to do any other changes to mountpoints or symlinks, assign the biggest space to "/".

Hello BernardB,

Thanks for your answer.

Because I did not install the linux servers myself. We have another team who provides linux servers. I am in need of knowing the folder to which the pta stores its data potentially growing to 500GB. If I know the folder, I would to able to assign extra disk space to it. Do you perhaps know what (pta) folder it is?

  • 703 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!