go to post Alexander Pettitt · May 26 Easiest way would be look in the cconsole.log in the instance directory. ccontrol qlist has information about the current mirror state on that server but you need a before and after to know if there was a failover.
go to post Alexander Pettitt · Apr 6 Set file=##class(%File).%New("[path/filename]") Write file.Size Do file.Open("AWS") Do file.WriteLine("This is a second line of text") Write file.Size do file.%Save() set file = "" // Close file This works for me
go to post Alexander Pettitt · Apr 6 You could hard link the file as a way to detect the delete. Would open the file append work? https://docs.intersystems.com/iris20223/csp/documatic/%25CSP.Documatic.c...
go to post Alexander Pettitt · Apr 6 Are you sure this is not a umask issue? https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8...
go to post Alexander Pettitt · Mar 21 Not sure how critical the notifications are in your use case but there have been some massive SMS gateways outages. An on premise SMS device would also send messages when the connection to the internet down.
go to post Alexander Pettitt · Jan 27 There are OS tools that allow you disconnect from a running session like screen.
go to post Alexander Pettitt · Jan 23 As a guess you have more mirrored datasets then expected. I have seen User get mirrored for example.What does this show on the primary?d ^MIRROR -> 1) Mirror Status -> 1) List mirrored databases If both TESTTC01 and TESTTC02 existed before starting, your refresh process is also overly complicated.You should be able to shutdown TESTTC01 & TESTTC02, copy the file from TESTTC01 to TESTTC02, start TESTTC02 and do a Activating and Catching Up Mirrored Databases. If you have a backup or snap of the file you don't even need to shutdown TESTTC01.
go to post Alexander Pettitt · Jan 23 There are five expansions in less than a single second. Maybe you ran into a race condition.
go to post Alexander Pettitt · Jan 23 d ^MIRROR on the primary shows the data of the target mirrors so the data is available. The documentation topic is here. %SYSTEM.Mirror can give you information but only about the instance you run it on. w $SYSTEM.Mirror.GetMemberStatus() Primary