An instance name is not guarantied to be unique.
hostname/ip + instance is.
For example the instance name of our failover primary and backup is the same they are just on different hosts.
We use DNS name not IP addresses though so we have DNS/instance for SystemName.

Mirroring Configurations within a Single Data Center, Computer Room, or Campus

Guessing the upgrade did iris start [instance] nostu to not run any user code on startup.
iris help start
                            **** iris usage ****
Syntax:
        iris start <instance name> [parameters]
Description:
        Run the instance's irisstart procedure to bring InterSystems IRIS up.
Optional parameters:
        quietly -> non-interactive, with minimal dialog
        nostu   -> don't run startup routine (^STU)
        help    -> list supported parameters
        EmergencyId=username,password -> start up in emergency mode
        Any other value is taken as a configuration file name with '.cpf' appended.
        If a configuration file is not specified, the file 'iris.cpf' is used.
Example:
        iris start mystuff quietly      <- uses file 'mystuff.cpf'
Notes:
        Some instances might not have support for a particular parameter,
        or a new parameter could have been added.  For a list of supported
        parameters for a specific instance, type:
                iris start <instance name> help

There are some clear warningssugestions in the documentation but very reasonable.
Customizing Start and Stop Behavior with ^%ZSTART and ^%ZSTOP Routines - Design Considerations
Using the ^ZMIRROR Routine
One issue to consider is on Failover or DR mirrors the code might need to be in ZMIRROR not ZSTART.

I don't think you need more than normal production code awareness.

This looks like what you want.

https://cedocs.intersystems.com/ens20171/csp/documatic/%25CSP.Documatic....

I would consider upgrading to the latest Cache before using compact and truncate.
Run an integrity check after to validate it didn't cause corruption.

Read this to see if applies

https://www.intersystems.com/product-alerts-advisories/alert-possible-da...