PVWA Load Balancing Configuration and API Connectivity Issues (through the load balancer)

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PVWA Load Balancing Configuration and API Connectivity Issues (through the load balancer)

L4 Transporter

Hi,

We have multiple PVWA instances in our environment. Currently, they are configured in a round-robin setup, but only one instance is active at a time due to priority settings.

Our goal is to have traffic balanced across all PVWA instances (for example, using a least-connections method, without prioritizing a single instance, similar to how PSMP (PSM for SSH is configured)).

After reviewing the documentation, it seems there are no specific guidelines for PVWA load balancing. Is this because there is no recommended method for PVWA, unlike PSM/PSMP?

 

https://community.cyberark.com/s/article/Load-Balancer-Implementation-with-PVWA-General-Guidelines

 

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pas%20inst/pvwa-install-multiple-pvwa-env.htm

 

https://community.cyberark.com/s/article/00003551

 

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pas%20cloud/aws-loadbalancer-for-pvwa.htm

 

 

Additionally, our users cannot access CyberArk PVWA directly, they must go through the load balancer. However, API calls fail because the load balancer returns a simple HTML response.

 

In this case, would it be better to reconfigure the load balancer so it accepts API calls, or to create a certificate that includes all PVWA instances and their IPs as FQDNs/SANs, so that API calls can be properly handled when redirected to a specific PVWA instance?

 

https://community.cyberark.com/s/article/RESTAPI-call-is-not-working-load-balancer

 

 

Thank you

1 REPLY 1

L4 Transporter

Hello,

You should have a single certificate that includes the load balancer address and the PVWA servers in the pool. I would use the FQDN vs IP addresses for subject alternative names. There might be a need to review the load balancer configuration to ensure you have sticky sessions or session persistence set.

Worst case you could setup a separate PVWA with its own load balancer and use it only for API calls, however that requires a new server, LB, and certificate so might not be reasonable.

 

What errors are you seeing in the logs? Are you sure the initial PVWA is being used during redirection activities? Is the API token generated on one PVWA and then actions attempted to perform on a different PVWA?

  • 70 Views
  • 1 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!