Challenge and concern related to documentation for Upgrades

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

Challenge and concern related to documentation for Upgrades

L4 Transporter

The documentation for upgrade of a primary-DR environment outlines a method very different from previous methods, plus is different from the "organize the upgrade" recommendation.

 

Links to the pages:

Upgrade Preparations (section Organize the upgrade)

https://docs.cyberark.com/pam-self-hosted/latest/en/Content/PAS%20INST/UpgradePreparations.htm?tocpa...

 

Upgrade a Primary-DR environment

https://docs.cyberark.com/pam-self-hosted/latest/en/Content/PAS%20INST/Upgrade-Active-Passive-Vault....

 

 

Discrepancies:

  1. In the upgrade between major versions, it presumes there is multiple DRs, and recommends first doing the DR. (No references to if you only have one DR)
  2. In the upgrade a Primary-DR environment it states: In general, upgrade tasks should be done in the following order; first upgrade the primary (active) Vault, and then upgrade the DR (passive) Vault. Lastly, perform the necessary post-upgrade tasks. It does not mention when you are doing all the components, although further down in the doc it shows components after post-upgrade tasks
  3. In the workflow section, it does put the exception in regarding point 1 that it is a recommendation if you have multiple DRs. It though, then seems to indicate that with single-node, you want to do DR first. Unclear if this is someone saying "hey, this could take a long time, if you do DR first, your downtime is less"
  4. Components are listed as pvwa, cpm , PSM, then other utilities. The order is "interesting", and differs from the "organize the upgrade" slide

 

 

We know that there isn't a one-size fits all for upgrade plans due to the variety of customer needs, architecture, skillsets and governance requirements.

  •  Outages: Some customers cannot take any outage. Others can work with a vault admin being able to get at the vault via private ark during the outage
  • Compliance requirements:
  • Architecture. Some customers have test environments that mirror, other's done. Some have clustered, high availability, other's don't. Some have only one CPM, others have low risk/low volume ones. Ditto re pvwa's, and shucks, even the ability to block users from connecting via loadbalancers and firewalls.
  • Resources: Some have lots of skills and depth in their teams, other's dont.

 

 

Here is an example of previous upgrade plans, and a bit of the "why" re order of operations

 

  • One of the common old style methods was stop the vaults, upgrrade primary, then pvwa, PSM, CPM in that order.
  • System/unit tests done throughout and UAT occurring as sitems were brought up.
  • By the time CPM was done, you were committed, as the passwords were starting to rotate, and you had activities in the vault.
  • Finally, you would do DR. If the upgrade went south, you could live on DR until rebuilt. If primary failed while DR was being upgraded, you were in a pretty low probability scenario. Typically did not bring up DR as an alternative due to challenges of changes in DR. Just easier to take the outage in orgs that could.

 

Now the questions/wondering:

If I could sit and chat with the individuals who wrote this item, I would focus my questions on two main areas: what is the backout plan, when are you doing UAT?

 

Backout plan (ITIL or ITSM)

If DR is upgraded, you are not going to bring it up as your solution. A restore is going to be expensive. Although one would hope that you aren't going to be doing a backout, it cannot be ignored, and needs to be thought through.

This isn't a question of just replacing a safe or two., or a component. in a major upgrade, as noted by the backups recommended.

 

Testing

Given CyberArks role in the org, most agencies require assurance after a major change that all governance /functionality is working as expected, including negative testing.

Presumption again is that if an error is found you can decide to roll-back/restore (catastrophic), remediate (minimal) or do partial restore (maybe restore component to previous version)

  

As soon as the primary & DR are upgraded, your recovery costs increase dramatically.

As soon as CPM Is in, you aren't backing it out. Passwords are rotating and you are committed

With users in, especially if UAT only, you could still do recovery after pulling logs and knowing what creds needed to be repaired.

 

********************************

We did some dialogue on how people do upgrades in the Discord group. There were definitely differences of opinion, but, i feel it was rather universally, do DR last (unless you have multiple or are HA).

 

*******************

Questions:

What drove CyberArk to go to this method / upgrade path?

What are the recommended offsets or procedural mindshifts that are required by those who have similair concerns to mine.

 

 

18 REPLIES 18

L7 Applicator

Hey @Jayne Little​ 

I've sent your questions to our Docs team to see if someone can provide a response here.

 

-Matt

L4 Transporter

ps, I am curious about this message as well "If the upgrade process fails on the DR Vault, the server cannot be reverted back to its original state. If this happens, contact CyberArk Support."

I can imagine the response of a change management on a request for change that said , "if the upgrade fails, we're calling cyberArk" with no implications or expectations/

This seems like a tech writer was writing this up, and asked someone, "what happens if it goes wrong" and they said "they call support"

Thank-you

This is a great question since Support is not setup to handle/assist with upgrades or upgrade failures outside of getting the customer back into a usable state - which is usually rolling back to their previous version.

 

To fix something like this/roll back: From my experience the process would be to wipe the machine and install a clean OS along with a fresh Vault installation.

 

-Matt

M - yes; hence the concerns re the current documentation re upgrade activities.

 

With new features, CyberArk is ever evolving the capabilities and providing newer & more efficient methodologies.

We know that individuals read the upgrade documentation and say "CyberArk says to do it this way"

Sometimes we can read them, and say "aaah, interesting, that makes sense." Challenges are encountered when those documents or new methods are inconsistent within the documentation set and even more importantly, do not address risk mitigation which previous methods implemented. We burn hours for the customer, the partner, and our own time..

 

In most of my change controls, I've actually said escalating to cyberark for assistance is part of the back out plans. Have never been challenged really.

L7 Applicator

Thanks @Jayne Little​ for sharing your thoughts. I do have one more point to add here @Matt Jennison​ 

 

Each upgrade brings certain security enhancements, and after the upgrade we perform the hardening again. However, its not clear that what exact changes that version upgrade brings to the system and what modifications are going to be changed at OS layer.

 

It would be great to include security changes being made with each upgrade and to help analyzing beforehand how each parameter is going to impact the environment.

 

Thanks @Malhar Vora​ !

I'm still working to get our docs team to reply here, but I am providing them this feedback!

 

-Matt

L2 Linker

Hi Jayne,

As you know DR with CyberArk vaults is always interesting as its both a process of replication and a vault that would sit in a DR environment.

Downtime is a luxury so having extra on prem vaults that run the DR process in a production datacentre are essential to having a recovery option that doesn't involve instigating the use of the DR datacentre. So doing DR first and failing to it (taken literally isn't an option) As for self-hosted cloud this would translate to roles of Vault, DR and DR (if you elect for the 3rd vault) does open the option to upgrade DR first and fail over to it as one of them would be for high availability and the other for DR, that way you still have a DR to fall back to if needed. I can’t imagine not having something to fail over to or fall back to in the event that something has gone wrong with the upgrade.

Its always good to follow vendor guidelines but as ever it need to be translated to the operating environment. 

Any update?

I'm still actively requesting someone respond every few days. I'm sorry it's taking a bit of time!

 

-Matt

L0 Member

Hi Jayne,

 

I am writing from the documentation team. This is the answer we received from R&D:

 

In version 14.0, we added a new feature that enables customers to remove the full replication step ( DR/Satellite) after the upgrade.

This significantly reduces the upgrade time and increases the availability of DR.

The condition to ‘earn’ this feature is to upgrade the Primary first and then the DR.

 

Customers can work with the old procedure, but full replication will be required for each DR.

I presume you are referring to background feature?

 

What the response doesn't do is answer the questions

 

what is the backout plan, when are you doing UAT?

 

hey @Jayne Little​ 

I'm still working on getting an answer from PM on this. I'm very sorry for the delay.

 

-Matt

  • 826 Views
  • 18 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!