Programmatical access to "System Mode"
Hi,
Please, advise how to programmatically set "System Mode" value.
Manually this value can be set via Management Portal > System > Configuration > Memory and Startup > System Mode dropdown.
Value can be programmatically obtained via $SYSTEM.Version.SystemMode() , but I couldn't find a programmatical way to set it.
Thank you.
A quick and dirty way:
Any value could be displayed, TEST and so on are just presets.
Rather than setting the global, could just Do $SYSTEM.Version.SystemMode(newMode) where newMode is LIVE, TEST, FAILOVER, or DEVELOPMENT (case-insensitive).
@Timothy Leavitt
Am I missing something?
==================================
%SYS 6d0>Do $SYSTEM.Version.SystemMode("LIVE")
<PARAMETER>zSystemMode+1^%SYSTEM.Version.1
==================================
Ahh... looks like that's just in IRIS (2018.1+)