in

Thycotic Secret Server Upgrade Methods


Thycotic SS upgrade could be very simple, but also could be complicated if you are having multiple clustering servers, Database Mirroring configuration and remote DR clustering. 

In this post, all common situations have been summarized to show the steps how to upgrade. 

Pre-requisite


1.  .NET Framework 4.8 Requirement

https://ift.tt/3gYq50U

  • You can run the following command at a Windows PowerShell prompt to view currently installed .NET Framework version  number: 
(Get-ItemProperty "HKLM:SOFTWAREMicrosoftNET Framework SetupNDPv4Full").version

  • SS on-premises (not SSC) displays the .NET framework version on the Admin > Diagnostics page. The version displayed is for the Web server being accessed. It does not include information about the .NET Framework version installed on any other server.

Download .NET Framework 4.8.

2. SS Version Check at all SS Cluster members and DR SS

3. Connection Manager upgraded to 1.6.2 version

Main Method to Upgrade Secret Server

https://ift.tt/3DLauLN

1. From a computer that has outbound network access, click on the upgrade link to go to: http://<yourinstance>/Setup/Home.

2. Enable Maintenance Mode on all SS servers including DR servers


3. Backup your all your SS’s application folders.

Important: All your data is encrypted the encryption.config file in your SS application folder. Your data cannot be decrypted without it. Thus, it is critical that you make a backup of the application folder and its contents before proceeding.

4. Since your SS might not have outbound connection, check following link to get offline installation files:

https://ift.tt/3DLRzk1

  • https://ift.tt/3DLLggs
  • https://ift.tt/3jImZQb
  • https://ift.tt/3zXTBvf

SS Clustering Upgrade

https://ift.tt/3BAHggA

Before Beginning

  1. Ensure that you have account credentials information and access for the server hosting SS and the SQL Server instance hosting your SS database.

  2. Have a recent backup of the application files and database available.

  3. If you use clustering, stop the application pools on all of the servers.

Upgrading a Clustered Environment

  1. Follow the instructions in Upgrading Secret Server or Upgrading Secret Server Without Outbound Access as applicable to upgrade one server.

  2. Once upgraded and working, copy the Web application folder (without the database.config or the encryption.config files) to all secondary servers, and replace the content of the existing Web application folder with the new.

  3. If Thycotic Management Server (TMS) is installed and clustered, you need to copy the TMS directory to the secondary servers as well. The TMS directory is included by default for new installs of SS 10.2 and above. TMS is used by advanced session recording and Privilege Manager. If the TMS folder and site does not exist in IIS, then no additional actions are needed beyond copying the SS directory.

  4. Start secondary servers and confirm they still work.

Notes:

1. EFS and DPAPI Encryption. (Not enabled by default)

When upgrading, after the initial cluster configuration, you do not need to copy the database.config or encryption.config files to the other servers. If you need to copy those files because the database configuration changed and are using DPAPI, disable DPAPI encryption in SS by going to Admin > Configuration and click Decrypt Key to not use DPAPI on the Security tab before copying those files to secondary servers.

Database Mirroring and Remote DR Upgrade

https://ift.tt/3BAHggA

Upgrading Database Mirroring

  1. If there is more than one Web server running SS, ensure all instances are pointing to the same database. (How to ensure?)

  2. Stop all but one of the web servers.

  3. Perform the upgrade on that single instance.

  4. Once upgraded and working, copy the Web application folder to all secondary servers.

  5. Start the secondary servers, and confirm they work.

  6. Ensure all instances are properly activated.

  7. Ensure that the database changes have been replicated to the mirror database.

  8. If the secondary Web server was pointing originally to the secondary database, adjust it to point back to the secondary database.

Upgrading Remote DR Instances


  1. Perform the upgrade on one instance. (on one of main SS cluster members)

  2. Backup that instance.

  3. Copy the database backup to the remote DR instance.

  4. Restore the database.

  5. Once the instance (one of main SS cluster members) is upgraded and working, copy the Web application folder (but not the database.config or encryption.config files) to the remote DR instance (overwriting the existing files).

  6. Restart IIS or recycle the application pool running SS on the remote DR instance.

  7. Confirm that the remote DR instance is working correctly.

Manual Upgrade process for Secret Server

Manual Upgrade process for Secret Server

1. Before starting the process of upgrading Secret Server create backups of both your application files and your database. Backups of the database and the encryption.config file in the application folder are especially important, if you lose your encryption.config file there is nothing at all that we can do in support to help you fix it. You will have to re-build Secret Server from scratch. You can do this in whatever way your organization performs backups however, we do have some documentation on how to setup backups through Secret Server that can be found here:

  • a. https://ift.tt/3tcpnlz
  • b. https://ift.tt/3yGqU4h
  • c. https://ift.tt/2WVOFIT

2. Confirm the version of Secret Server in use on both your database and within your application directory and ensure that they are both the same.

  • a. https://ift.tt/2VfPn2T
  • b. https://ift.tt/3DIRXzI

3. Use the following link to download the latest Secret Server application files:

  • a. https://ift.tt/3zXTBvf

4. Upgrading the Secret Server database

  • a. Stop the Secret Server Application Pool in IIS.
  • b. Open SQL Management Studio and connect to the SQL Server database engine that hosts the Secret Server database
  • c. Expand Databases on the right
  • d. Right-click on the Secret Server database and select New Query
  • e. When the upgrade script is available, copy the contents of the upgrade script query into the New Query screen.
  • f. Click the Execute button, Ctrl+E, or hit F5

5. Upgrading the application files

  • a. In IIS Manager, verify that the Secret Server application pool is still Stopped
  • b. Download the Secret Server Application files for the latest version from the Thycotic Customer Support Portal. You can log in and go to Downloads | Secret Server and download the zip file for the application files.
    • i. You can also download the zip file directly from here:
      • 1. https://ift.tt/3zXTBvf
  • c. Extract the downloaded zip file to a temporary location.
    • i. You must actually extract this file, I have encountered issues where the zip file contained within didn’t work because it had been copied out of the zip rather than extracted.
  • d. Extract the ss_update.zip file. 
  • e. Create a zip file of the existing Secret Server application folder and send it to the desktop, another backup in case things go haywire.
  • f. Copy and paste the contents contained in the newly extracted ss_update folder to Secret Server’s application folder over the top of the existing application files.
  • g. Once completed Start the Secret Server application pool.
  • h. Open an administrative command prompt and perform an iisreset command.
  • i. If you run into issues after restarting the application try the following:
    • i. Stop the application pool again.
    • ii. Remove all files from the Secret Server application folder (default location: C:inetpubwwwrootSecretServer) except database.config and encryption.config.
    • iii. Copy and paste the contents contained in the extracted ss_update folder.
    • iv. Once completed Start the Secret Server application pool.
    • v. Open an administrative command prompt and perform an iisreset command.

6. Check the version of Secret Server in the application files and database as shown in step two.

7. Just as a final note/warning (I know that I said this above but it is very important) always protect the encryption.config file within the application folder, there is no way to recover this file if it is lost.

Post Upgrade

Protocol Handler

Products

  • Secret Server
  • Secret Server Cloud

Required Action

  • New installations of the protocol handler on Windows systems after the December release will require .NET Framework 4.8 installed.

  • Fully patched Windows 10 systems should already have the framework in place.

  • Customers with existing deployments of protocol handler have two options:

  • SS is compatible with older versions of protocol handler. Older versions will continue to function when used with the SS December release.

Distributed Engine

References

  • https://ift.tt/3BAHggA
  • https://ift.tt/3DLRzk1
  • https://ift.tt/3DLauLN
  • https://ift.tt/3gWLcAD
  • https://ift.tt/3gYq50U

from Blogger http://blog.51sec.org/2021/09/thycotic-secret-server-upgrade-methods.html



Source: https://www.51sec.org/2021/09/21/thycotic-secret-server-upgrade-methods/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

Little India Lyrics — Enemy | Arivu | Sarath Santosh

Record keyboard and mouse input with python