go to post Alexander Pettitt · Jan 18, 2024 There are some clear warningssugestions in the documentation but very reasonable.Customizing Start and Stop Behavior with ^%ZSTART and ^%ZSTOP Routines - Design ConsiderationsUsing the ^ZMIRROR RoutineOne 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.
go to post Alexander Pettitt · Dec 26, 2023 I don't have the linux version running now but the docs say systemctl status ISCAgent.serviceor if you have ISCAgentCtrlISCAgentCtrl statusUsage: ./ISCAgentCtrl start|stop|restart|status|usage
go to post Alexander Pettitt · Dec 21, 2023 The irisstat command with the -u option allows you to look at this without going into iris. You can also look at locks in the portal - Monitoring Locks
go to post Alexander Pettitt · Dec 18, 2023 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...
go to post Alexander Pettitt · Dec 14, 2023 I had to debug an application LDAP issue and I used to Apache Directory Studio. It turned out that the user had been copied from one OU to another and not moved.
go to post Alexander Pettitt · Nov 28, 2023 Can you login with iris session [instance] -U %sys? From there you can use ^SECURITY to change the password. One thing to check is use a text editor to make sure your keyboard is working by typing the password.
go to post Alexander Pettitt · Nov 27, 2023 Not sure that you have seen that Intersystems deprecated SAM November 13th.
go to post Alexander Pettitt · Nov 20, 2023 Log level is not always a good indicator of how big a deal what is being logged is.For example:2 [Generic.Event] Unable to allocate shared memory minimum - this error prevents startup so critical1 [Generic.Event] MirrorServer: Lost ReadDmn (ACK) connection to async - loss of connection connection to a mirror doesn't rate as even a warning?
go to post Alexander Pettitt · Oct 30, 2023 Any maximum you set less than free space on the filesystem will just hit the limit sooner.The instance could use more RAM in the global buffer and maybe more filesystem space.You should look at this and this.
go to post Alexander Pettitt · Oct 26, 2023 I would expect the WIJ to close to force it to the disk about every 80 seconds ie every write cycle. my quick testing: $while true; do > ls -l IRIS.WIJ | cut -f 10-13 -d ' ' > sleep 40 > done Oct 26 12:26 IRIS.WIJ Oct 26 12:27 IRIS.WIJ Oct 26 12:27 IRIS.WIJ Oct 26 12:28 IRIS.WIJ Oct 26 12:28 IRIS.WIJ Oct 26 12:30 IRIS.WIJ Oct 26 12:30 IRIS.WIJ Oct 26 12:31 IRIS.WIJ Oct 26 12:31 IRIS.WIJ Oct 26 12:32 IRIS.WIJ Oct 26 12:32 IRIS.WIJ Oct 26 12:34 IRIS.WIJ Oct 26 12:34 IRIS.WIJ Oct 26 12:35 IRIS.WIJ Oct 26 12:35 IRIS.WIJ Oct 26 12:36 IRIS.WIJ
go to post Alexander Pettitt · Oct 26, 2023 You should look at this - Write Image Journaling and Recovery The WIJ can live in other places.
go to post Alexander Pettitt · Oct 16, 2023 As a guess the the web page is not getting data updates.What does ^MIRROR say is happening? Have you checked if there are firewalls interfering?
go to post Alexander Pettitt · Oct 12, 2023 Cache 2018.1.8 is supported on Redhat 8This should get you started - Installing Caché on UNIX®, Linux, and macOS
go to post Alexander Pettitt · Oct 5, 2023 So testing shows the old way was better in this case. Failure iris session ${INST} -U %sys << EOF w "stopping the mirror 1 is sucess: " zw ##class(SYS.Mirror).StopMirror("MIRROR") h EOF %SYS> %SYS> stopping the mirror 1 is sucess: "0 "_$lb($lb(2050,,,,,,,,,$lb(,"%SYS",$lb("e^Shutdown+7^MIRRORMGR^2","e^zStopMirror+4^SYS.Mirror.1^1","e^^^0"))))/* ERROR #2050: Mirror configuration not loaded */ %SYS> Sucess $ iris session ${INST} -U %sys << EOF > > zw ##class(SYS.Mirror).StopMirror("MIRROR") < > h > EOF %SYS> %SYS> stopping the mirror 1 is sucess: 1 %SYS> Same either way :( iris session ${INST} -U %sys '##class(SYS.Mirror).StopMirror("MIRROR")' ;echo $? 0
go to post Alexander Pettitt · Oct 5, 2023 Thanks for this example.I had used: iris session ${INST} -U %sys << EOF w "stopping the mirror 1 is sucess: " zw ##class(SYS.Mirror).StopMirror("PMIR") h EOF
go to post Alexander Pettitt · Oct 4, 2023 An easy way is setup Operating System–Based Authenticationin %sys^SECURITY12) System parameter setup2) Edit authentication optionsAllow O/S authentication? Yes This allows scripts like this iris session ${INST} -U %sys << EOF w "stopping the mirror 1 is sucess: " zw ##class(SYS.Mirror).StopMirror("MIRROR") hEOFOnce an IRIS LDAP account exists it does not appear to be different local account. You can do this too:iris session [instance] -U [namespace] tag^routine
go to post Alexander Pettitt · Sep 26, 2023 The only way to get an estimate I can think of is running the compact against a SAN snapshot on similar hardware.The free blocks could be anywhere in the file and that plays a big role. Here are some numbers:Current Size: 2332950 MBFreespace at end of file: 300 MBTotal freespace: 8957 MBBlocks Scanned: 10850564It took 1 hour 44 minutes The truncation was almost instant.
go to post Alexander Pettitt · Sep 11, 2023 There appears to be this Using Log Monitor. I use external tools to examine logs like cconsole.log though.