go to post Alexander Pettitt · Jun 12, 2023 Can you give an example? Do you mean something like this? iris session ${INST} -U %sys << EOF w "stopping the mirror 1 is sucess: " zw ##class(SYS.Mirror).StopMirror("MIRROR") h EOF
go to post Alexander Pettitt · Jun 7, 2023 If you don't know Mac/Linux you would have to deal with learning both.If you are doing code development connecting from a Windows workstation it might be easier to connect to a locally installed instance and takes less hardware.
go to post Alexander Pettitt · Jun 7, 2023 Have you tried using the console version of task manager? I would do that first. If you have another Ensemble instance you could figure out where the in the system tasks are stored using journalling and making a change to a task. Once you know where the task is stored to just kill or change the associated global.
go to post Alexander Pettitt · Jun 7, 2023 You wouldn't import it like a SQL dump. It is the IRIS native database file. You could just mount it and then use it directly.Look at this documentation.
go to post Alexander Pettitt · Jun 5, 2023 There are several major steps:Mount the LUN or LUNs as a filesystemHave the required namespaceMount the CACHE.DAT in Cache. Look at ^DATABASEHave the required global mappings. My suggestion is to install another instance of Cache on the server.That way you might be able to update the cache.cpf using the one from the old server as a template. This is a pretty complex task.
go to post Alexander Pettitt · Jun 5, 2023 AIX 7.3 TL 1 and later has OpenSSL 3.X From the linked IBM page AIX 7.3 TL1 was released six months ago.$oslevel -s7300-01-02-2320$openssl versionOpenSSL 3.0.8 7 Feb 2023 (Library: OpenSSL 3.0.8 7 Feb 2023)
go to post Alexander Pettitt · May 26, 2023 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, 2023 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, 2023 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, 2023 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, 2023 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, 2023 There are OS tools that allow you disconnect from a running session like screen.
go to post Alexander Pettitt · Jan 23, 2023 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, 2023 There are five expansions in less than a single second. Maybe you ran into a race condition.
go to post Alexander Pettitt · Jan 23, 2023 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
go to post Alexander Pettitt · Jan 17, 2023 The role is subject to a company's idea of what the role is and their definition is the only one that matters.Will you support the underlying OS for example?The person who can give you the best ideas is the person who had the role before or their manager if they are not available.The application vendor can give you ideas if there is one.Understanding the what, how and why of the existing install is critical. Sign up for product alerts from Intersystems hereConsider getting your own instance hereHere is link for IRIS administration documentation
go to post Alexander Pettitt · Dec 5, 2022 Yes there is a way since I have seen it. The ZLOAD and ZREMOVE commands are combined. Here is a sample I was sent. zr zl showAdmins() n rs1,rs2,rc1,rc2,$NAMESPACE,user,adminrole,roles s $NAMESPACE="%SYS" s rs1=##class(%ResultSet).%New("Security.Roles:List") d rs1.Execute("*","%Admin_Manage:U,%Admin_Operate:U,%Admin_Secure:U") f s rc1=rs1.Next() q:rc1=0 d . s adminrole=rs1.Data("Name") . s rs2=##class(%ResultSet).%New("Security.Users:List") . d rs2.Execute("*",adminrole) . f s rc2=rs2.Next() q:rc2=0 w rs2.Data("Name"),"|",rs2.Data("Roles"),! q d showAdmins
go to post Alexander Pettitt · Oct 26, 2022 Been a long time since I did this but when I did the performance impact was huge with a massive increase (+20%) in CPU. There is still a warning on the app developer site to never do that.
go to post Alexander Pettitt · Oct 7, 2022 This is a pretty severe issue with storage. I would examine why the journals are not getting written.Are you seeing OS errors?