Thanks to everyone's reply.
I was actually trying to run this example [right triangle example class] on an IRIS in the cloud
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
- Log in to post comments
Thanks to everyone's reply.
I was actually trying to run this example [right triangle example class] on an IRIS in the cloud
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
Hi,
When I try that url:
http://base01:52773//api/atelier/
I get this error message:
The requested URL //api/atelier/ was not found on this server.
Any idea how to fix this?
Thanks to everybody's suggestions.
I fixed it this way:
I removed TEST_NODE2 as a failover member
I removed TEST_NODE1 mirror configuration
I stopped IRIS on TEST_NODE2 & TEST_NODE1
I removed all the journals as DB files IRIS.DAT are identical
I started IRIS on TEST_NODE1 then TEST_NODE2
I configured the mirror on TEST_NODE1
I configured TEST_NODE2 as a failover member
Now Mirror Monitor in SMP[System Management Portal] GUI is showing no errors
Thanks for the advice - I'll give it a try
Thanks for the suggestion.
Let me try it out!
Thanks to all who replied
Thanks to everyone for their great feedback!!
I think I used the wrong term - by "gateway" I should have used "productions"
[In System Management Portal (SMP) , GUI menu "Interoperability"-> "Configure" -> "Production"]
By "interfaces" - In IRIS command line you can run do ^SSADMIN, which has "6. Interfacing" which when selected gives me a list of "interfaces".
What is the difference between "productions" that connect systems and "interfaces" which also appear to connect systems?
That's a great reference with lots of details.
Would you happen to know what the difference between an 'interface' and an 'gateway'
I based my view on the logs I got from Node 1, Node 2 & arbiter and the timestamps.
These are some samples:
Arbiter:
2023-01-17T15:54:56.773722+11:00 LIVEARB ISCAgent[16131]: Arbiter client error: Message read failed.
Node 1:
01/17/23-15:56:22:875 (18886) 2 [Utility.Event] Arbiter connection lost
01/17/23-15:56:23:663 (24774) 0 [Generic.Event] MirrorServer: Received new failover mode (Agent Controlled) from backup...(repeated 1 times)
Node 2:
01/17/23-15:56:23:407 (9272) 0 [Generic.Event] MirrorClient: Switched from Arbiter Controlled to Agent Controlled failover on request from primary
Yes you need a virtual IP for the mirror [set of nodes].
I recently set up a mirror using the System Management portal with:
Primary
Backup
Async member [DR]
Async member [Reporting]
Thanks.
The reason I would like to get the status of the IRIS arbiter process is that I had IRIS DB "freeze" recently.
On checking the logs on Primary and Backup nodes both were indicating that it lost connection to the artibiter. Both Primary and Backup nodes went into a "waiting" state so freezing the application running on IRIS.
Thanks.
I'm getting 'timed out'.
Can I get the reason why?
irissqlcli -h TRAK-BASE01 -u superuser -W -p 51773
Password for superuser:
timed out
I got the SuperServer port as follows
BASE01:~ # iris list
Configuration 'BASETC' (default)
directory: /trak/base/tc/iris/basetc
versionid: 2021.1.0.215.0.21669
datadir: /trak/base/tc/iris/basetc
conf file: iris.cpf (SuperServer port = 51773, WebServer = 52773)
status: running, since Thu Feb 2 11:29:56 2023
state: alert
product: InterSystems IRISHealth
Thanks.
I have installed it on my OpenSUSE test server but when it tries to connect to the trakCare server, I get "Connection Refused".
There is no firewall running on my OpenSUSE test server nor the trakCare server.
I've tested this with firewall-cmd --stat.
The trakCare server is SUSE Linux
The main comms firewall is not blocking the transmssion either.
Do you know what ports are being used between OpenSUSE test server and the trakCare server?
My python version is 3.6.5 so it looks like it is too old.
I do have an a test OpenSUSE server on Python 3.11.
Would this be allowed to connect remotely to my IRIS/trakCare DB?
If so is there anything special I would need to do this?
Sorry, what is 'db sfn'?
Super. Thanks for that great tip!!
Yes both TESTTC01 and TESTTC02 existed.
Yes the process seems overly complicated but these were from some notes left by my predecessor
Thanks for your advice
Thanks
Thanks
Thanks for the advice
I was running this from terminal - understood.
Thanks again.
set status=##Class(SYS.Mirror).AddDatabase("/db/iknow")
I get a syntax error when I do:
IF $$$ISOK(status) {w "OK"} else {w "not OK"}
Although this works OK:
IF status {w "OK"} else {w "not OK"}
Any idea why this is so?
Thanks for the fast reply
Thanks for the suggestion.
You mentioned "InterSystems internal interactive tools. So, most such tools have non-interactive endpoints".
Could you please provide an example?
Is there a listing of all such "tools"?
Fantastic - worked!!
Thanks
Thanks
Super...Thanks
Thanks.
Works good!
Thanks.
I cannot get this to work.
I have a Linux server which has IRIS database.
This file exists - /trak/base/tc/db/ct/IRIS.DAT
However:
BASETC:%SYS>set db=##Class(SYS.Database).%OpenID("/trak/base/tc/db/ct",,.sc)
SET db=##CLASS(SYS.Database).%OpenID("/trak/base/tc/db/ct",,.sc)
^
<METHOD DOES NOT EXIST> *%OpenID,SYS.Database
Do you have any idea why I'm getting this as %OpenID method is documented here:
https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic…
Thanks to ALL for your great suggestions - helped a great deal