Codes running on IRIS for Remote Activity Monitor. Version IRIS-2019.1.0.510.0-win_x64 (Dev Type, Mini Security)
-
Create a new local database called
RAM
. -
Create a new namespace called
RAM
. SelectRAM
database for globals and routines. Enable namespace for business production. -
Open a terminal. Switch to
%SYS
namespace. TypeDO ^BACKUP
. -
Choose 3:
Restore Selected or Renamed Directories
. Input cbk file location, e.g.C:\FullDBList_20190918_002.cbk
. Use default options for following steps, but make sure the directory for database is correct. -
Configure firewall to allow IRIS ports.
-
Create a web application. Name:
/v1/ram/
, Namespace:RAM
, EnableREST
Dispatch class:zsys.Map.RestResourceMap
. -
Configure SSL/TLS for email account in system configuration. Enter the password of email account at private key password. Open class file
zsys.Request.EmailAlertRequest
and replaceInitialExpression
ofDestination
with your own email address. -
Go to business production. Click
Recover
if necessary. ClickEmailAlertOperation
and configure email in basic settings and connection settings. Start the business production. -
Configure Home Server IP Address and Port number in class file
zsys.RAM.Attribute.HomeServerPort
. -
Enable data collection on system start-up. Create a
ZSTART
routine in%SYS
namespace. The code can be found in%ZSTART.mac
. -
Enable data collection periodically. Import a task in Task Manager. Use the file called
DataCollection.xml
. ClickRun
. -
Use
DO ##class(zsys.RAM.Instance).Cycle()
to trigger data collection and sending manually.