How to patch physical vault servers without triggering DR when rebooting the primary vault.

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

How to patch physical vault servers without triggering DR when rebooting the primary vault.

L3 Networker

I have 3 vault servers, all 3 are physical servers. the primary vault and vault 2 are in the same location, vault 3 is in DR site. I need to patch all 3 physical vault servers. for the non primary ones, it is ok when i reboot after patching. But what about the primary one?

1 accepted solution

Accepted Solutions

L4 Transporter

There are different ways of doing this and it's worth practicing with settings on a couple of vm vaults in a non prod setting and seeing how each setting makes a difference to the failover experience. There are different approaches at how long the vault you failed over will stay up and this will partly be to do with location of the vaults and what kind of infrastructure you have. For example, we have three vaults and when we do windows patching we change which one is the active vault and that stays active until the next patching cycle.

 

Assuming you want to the limit the loss of service (this will vary a lot with different environments and how long an environment can be 'down'), you'll need to do a failover to the already patched DR vault.

 

One way is to:

  • stop cpm services
  • do a full backup/replicate from your server that you use PAReplicate on.
  • patch just one of the dr vaults first, reboot it and ensure it comes back online and padr replication is working as expected.
  • From the link that Mal provided, the quickest way to do a failover is to add this setting: 'ActivateManualFailover=Yes' and setting this setting 'EnableFailover=No' on the server that you are failing over to.
  • On the active vault, stop vault services
  • on the DR/failover vault restart the padr service.
    • This should come back up as the active vault
    • do some tests and ensure everything is working as expected to ensure this would actually work in a failover scenerio
  • Then you can patch the other two vaults
  • Depending on how long you want the now active vault to be active will depend on what you do now, eg. cpm services, repoint cpm, repoint backup server and such
  • then make sure you padr.ini settings are setup as you want them on the two DR vaults so that one is an active standby and the other is a cold standby.

 

There are a few articles on how to do the failover process here on the cyberark forum but you'll need to figure out what is best for your environment and how often you patch.

View solution in original post

5 REPLIES 5

L7 Applicator

I assume they're all stand alone vaults, not cluster or satellite. Either of those would require different steps.

 

You'd need to stop PrivateArk Disaster recovery (padr) on the Dr servers. They would then not be checking for the primary vault being down or take any action when it is down.

 

You can also change padr.ini settings to not auto fail over or check

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasref/disaster%20recovery%20vault%20parameter%20file.htm

Thank you for your reply. When I patch and reboot the primary vault, all users will be disconnected. So I do need to do a failover before rebooting? Automatic failover will lead to temporary loss of access till the DR vaults become primary?

L4 Transporter

There are different ways of doing this and it's worth practicing with settings on a couple of vm vaults in a non prod setting and seeing how each setting makes a difference to the failover experience. There are different approaches at how long the vault you failed over will stay up and this will partly be to do with location of the vaults and what kind of infrastructure you have. For example, we have three vaults and when we do windows patching we change which one is the active vault and that stays active until the next patching cycle.

 

Assuming you want to the limit the loss of service (this will vary a lot with different environments and how long an environment can be 'down'), you'll need to do a failover to the already patched DR vault.

 

One way is to:

  • stop cpm services
  • do a full backup/replicate from your server that you use PAReplicate on.
  • patch just one of the dr vaults first, reboot it and ensure it comes back online and padr replication is working as expected.
  • From the link that Mal provided, the quickest way to do a failover is to add this setting: 'ActivateManualFailover=Yes' and setting this setting 'EnableFailover=No' on the server that you are failing over to.
  • On the active vault, stop vault services
  • on the DR/failover vault restart the padr service.
    • This should come back up as the active vault
    • do some tests and ensure everything is working as expected to ensure this would actually work in a failover scenerio
  • Then you can patch the other two vaults
  • Depending on how long you want the now active vault to be active will depend on what you do now, eg. cpm services, repoint cpm, repoint backup server and such
  • then make sure you padr.ini settings are setup as you want them on the two DR vaults so that one is an active standby and the other is a cold standby.

 

There are a few articles on how to do the failover process here on the cyberark forum but you'll need to figure out what is best for your environment and how often you patch.

L4 Transporter

Hi @Avinash Pattnaik​ 

 

Since several community members answered your question, please let us know if these solutions addressed your query.

If so, it would be great if you could mark the most helpful response as 'Select as Best' to assist other community members with similar questions.

 

Thank you, Liad.

done, thanks for notifying.

  • 1 accepted solution
  • 141 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!