CPM- How to upgrade plugins and associated platforms.
Objective
This article outlines the steps required to download and implement the newest versions of Idira plugins and platforms. Plugins downloaded from the marketplace require manual update by downloading the latest version and replacing the appropriate files.
Environment
14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
Procedure
Backup the Bin Folder
- Log into the CPM...
- Navigate to the Password Manager folder (Disk: Program Files(x86)/CyberArk/Password Manager)
- Right-click the 'bin' folder and select 'Send to compressed bin folder' and name it 'bin-backup'
- Place the 'bin-backup' zip folder within the directory of your choice
Review the plugin that needs to be updated
- Navigate to the CyberArk Marketplace
- Search the intended plugin
- Review 'Version' tab and make note of any changes between the version of the plugin you are currently using and the most recent generation of the plugin.
- Within the 'Overview' tab, make note of any listed prerequisites. (These will need to be updated while updating in parallel with the intended plugin.)
- Click "Download" in the top right-hand corner of the screen. (This will download a .zip file with the contents of the plugin)
- Open File Explorer and click into the downloaded .zip file.
- Review the contents of the .zip file.
- If the contents of the .zip file contains a Policy-...ini file and a Policy-...xml file, it has an associated platform.
- If the contents of the .zip file does not contain a Policy...ini file and a Policy-...xml file, it DOES NOT have an associated platform.
For the plugins that do not have an associated platform:
- Extract the downloaded .zip file and then copy the files to the bin folder (Disk: Program Files(x86)/CyberArk/Password Manager/ bin))
***If you receive a prompt stating 'The destination has x files with the same names' click the option to 'Replace the files in the destination' - Open PowerShell as administrator and navigate to the bin folder.
Run the following command to unblock any file on the bin folder: Get-ChildItem -Recurse | Unblock-File
For plugins WITH an associated platform...
(***Follow the steps below only if you are currently using duplicates of the base platform. Do not use these steps if accounts are associated to the base platforms themselves***)
- Navigate to the PVWA > Administration (bottom left corner) > Platform Management.
- Identify the base platform used by the plugin that you are in the process of updating.
- Delete the old base platform.
- Duplicate the active platform that is being used, but is based on the old version of the base platform, and append "_old" to the end of the name.
- Delete the original active platform that are based on the old versions of the base platform (the versions WITHOUT "_old" appended to the end)
- Import the platform .ZIP file, using either the Marketplace button or 'Import Platform' button using the previously downloaded .ZIP file (this will also import the appropriate .exe(s) and DLL(s) into the bin folder)
- Duplicate the base version of the new platform, name this new version with the exact name previously used with the old active versions of the platform. (Be sure the name matches EXACTLY. This is how accounts are associated to the proper platform)
- Deactivate the base platform (This is to be used as a template, which can be duplicated. Duplicates with different names can/should be used to associate accounts to. Base platforms SHOULD NOT have accounts associated to them)
- Match any configuration changes in the new versions that you have made with the old versions.
- Click "..." and select "edit" for the "_old" platform.
- Right-click the browser tab for the "_old" platform.
- Within the duplicated tab, click "..." and click "Administration" > "Platform Management" > select "edit" for the for the new version of the platform.
- Review each section within the "_old" platform, matching any/all configuration changes/customizations into the new version of the platform. (Be sure to click "Apply" whenever a change is made)
- Once all configuration changes/customizations have been made to the new version of the platform, deactivate the "_old" platforms and delete if desired.
Final Result:
At the end of this process you should only see the new version of the base platform (deactivated) and the newly duplicated platform (active) that matches all the customizations/configurations set on the "_old" version. All accounts that were associated to the previous platform, are now associated to this new version of the platform.
*Following these steps will ensure you have the same configuration as previously configured, while still accessing the new features found in the new versions of the platforms.
**Additionally, the steps for switching names will associate any account associated with the "_old" versions of the platforms with the new versions of the platforms.
Once the necessary files have been imported and/or the platforms have been updated...
- Within the CPM, navigate to the services applet and restart the 'CyberArk Password Manager' service.
- Review CyberArk documentation for the updated plugins to identify any configuration changes that need to be made between the previous and current generation of plugin.
CPM plugins | CyberArk Docs - Once you have confirmed that all accounts involved are configured correctly, navigate to the PVWA and test a change, reconcile and/or verify as necessary