Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%ZAPM] >  [ext] >  [Production]
Private  Storage   

abstract class %ZAPM.ext.Production

Utilities for group work with Ensemble or Interoperability products of different Namespaces do ##class(%ZAPM.ext.Production).SaveAndStop() do ##class(%ZAPM.ext.Production).StartAll()

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 10


Summary

Methods
EnsAction IsPreparedNS ListNS SaveAndStop SaveStat
StartAll StopAll exportXMLprod getEnsProd init


Parameters

• parameter SettingsGN = "^%ZAPM.ext.Productions";
• parameter TIMEOUTSTOP = 60;
How long to wait for the product to stop before being stopped again by force (seconds)

Methods

• classmethod EnsAction(ex="", nsOnly="", out) as %Status
Change products status in Namespaces d ##class(%ZAPM.ext.Production).EnsAction("restart") ex= "auto0" - clean all Namespaces of auto start products ex= "auto1" - enable auto start products, restore from #SettingsGN(ns) ex= "stop" - stop all products ex= "restart" - reload all products ex= "start" - run the ones that were started, restore from #SettingsGN(ns) ex= "status" - output statuses ex= "info" - output of additional information about products and services with parameters d ##class(%ZAPM.ext.Production).EnsAction("info",,.out) out - result ;d ##class(%ZAPM.ext.Production).EnsAction("status",$Namespace,.out)
• classmethod IsPreparedNS(name)
Check whether the namespace is prepared w ##class(apptools.core.sys).IsPreparedNS("%SYS")
• classmethod ListNS(info, Flag="")
Get a list of domain namespaces separated by commas w ##class(apptools.core.sys).ListNS(.info,"NotPre,Ens") Flag = "Ens" - only where the ensemble is installed Flag = "NotPre" - exclude prepared
• classmethod SaveAndStop() as %Status
Save settings and status of products in all Namespaces; Stop all productions d ##class(%ZAPM.ext.Production).SaveAndStop()
• classmethod SaveStat(resave=0) as %Status
Check and save settings and status of products in all Namespaces d ##class(%ZAPM.ext.Production).SaveStat(1)
• classmethod StartAll() as %Status
Check and restore autorun products in Namespaces, run all products that were launched d ##class(%ZAPM.ext.Production).StartAll()
• classmethod StopAll() as %Status
Remove autostart from all products; stop all products in Namespaces before restarting the OS d ##class(%ZAPM.ext.Production).StopAll()
• classmethod exportXMLprod(dir="")
do ##class(%ZAPM.ext.Production).exportXMLprod("d:\_proj\_zapp\zpm-addition+\zapm-addcmd\addcmd\zapm\_zapmprod.xml")
• classmethod getEnsProd(name, info)
Get a list of products in namespace w ##class(apptools.core.sys).getEnsProd("ENSDEMO",.info)
• classmethod init() as %Status
do ##class(%ZAPM.ext.Production).init()


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.