Question
Chip Gore · Apr 15, 2021

Renaming and installed Instance of IRIS

Is there any way (on a Window machine) to rename an installed instance?  I installed my instance as 20201 and now I've upgraded in place to 2020.4 and I would like to change the instance name to be 20204, but I'm not sure how/where/or-even-if-possible to rename the instance.

 

Am I out of luck, or is this possible?

Thanks

Product version: IRIS 2020.1
$ZV: IRIS for Windows (x86-64) 2020.1 (Build 217_1U) Tue May 26 2020 20:41:06 EDT
10
1 0 4 93
Log in or sign up to continue

Replies

Sorry Chip, I'm afraid you're out of luck. On Unix there's "iris rename" but this doesn't work on Windows because of registry stuff.

To rename an instance on Windows you'll have to migrate.

Hi @Chip Gore !
extrapolating Vic's very valid comment:
- if you have to take the sour apple of migration, let it be the last time.
- why not install WSL2 and migrate into a Linux environment. Or even into a docker scenario

my private view: a good trigger to let the dead horse behind
[ I was told red Indians don't saddle a dead horse wink]

You can easily do this by replacing two values in the registry.
Just checked on Caché & IRIS: SMP and Terminal (##class(%SYS.System).GetInstanceName()) displays the new instance name.
Upgrade/Deinstall work fine too.

If desired, you can also replace the service names (private Apache, etc.).